/* ============================================================
   Subservice filter — Dermatology & Cosmetic clinic page
   Scope: .filter-service / .groub-button / .btn-qty / .service-item
   Does not touch any other component's styling.
============================================================ */

.filter-service {
    width: 100%;
    margin-bottom: 24px;
    text-align: center;
}

.filter-service .filter-title {
    display: block;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 14px;
    color: #242424;
}

.groub-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.btn-qty {
    background: #fff;
    color: #00c19a;
    border: 2px solid #00c19a;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 18px;
    border-radius: 30px;
    margin: 0;
    transition: background .25s ease, color .25s ease, transform .15s ease;
    cursor: pointer;
}

.btn-qty:hover {
    background: #e8fbf6;
}

.btn-qty.active {
    background: #00c19a;
    color: #fff;
    border-color: #00c19a;
}

.btn-qty:active {
    transform: scale(.96);
}

/* Action row: "book now" + "details" side by side */
.package-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.package-actions .btn-green {
    margin: 0;
}

/* "Service details" secondary link inside each subservice card */
.service-details-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    color: #00997e;
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 50px;
    border: 1px solid #b8e9dd;
    transition: background .2s ease, border-color .2s ease;
}

.service-details-link:hover {
    background: #e8fbf6;
    border-color: #00c19a;
    color: #00997e;
}

/* Filtered subservice cards fade out instead of just snapping away */
.service-item {
    transition: opacity .2s ease;
}

.service-item.is-hidden {
    display: none !important;
}

@media (max-width: 576px) {
    .groub-button {
        gap: 8px;
    }

    .btn-qty {
        font-size: 13px;
        padding: 7px 14px;
    }
}
