/* =========================================================
   SPAVERSE
   SPAS LISTING PAGE
   File: public/assets/css/frontend/spas.css
========================================================= */


/* =========================================================
   PAGE
========================================================= */

.spaverse-spas-page {
    margin: 0;
    padding: 0;

    overflow-x: hidden;

    background: #f8f4ec;
}

.spas-page {
    position: relative;
    isolation: isolate;

    width: 100%;
    min-height: 70vh;

    margin: 0;
    padding: 0 24px 72px;

    background:
        radial-gradient(
            circle at 8% 24%,
            rgba(201, 166, 107, 0.07),
            transparent 24%
        ),
        radial-gradient(
            circle at 92% 40%,
            rgba(46, 94, 78, 0.05),
            transparent 24%
        ),
        linear-gradient(
            180deg,
            #fbf8f2 0%,
            #f8f4ec 65%,
            #f5f0e7 100%
        );
}


/* =========================================================
   HERO
========================================================= */

.spas-hero {
    position: relative;
    z-index: 1;

    width: 100vw;
    min-height: 470px;

    margin-left: calc(50% - 50vw);

    overflow: hidden;

    background: #12382e;
}

.spas-hero-background {
    position: absolute;
    inset: 0;

    z-index: 0;

    background-image:
        url('../../images/spas/spas-hero-bg.png');

    background-size: cover;
    background-position: center 48%;
    background-repeat: no-repeat;

    transform: scale(1.02);
}


/* =========================================================
   HERO DARK OVERLAY
========================================================= */

.spas-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(11, 42, 34, 0.97) 0%,
            rgba(15, 52, 42, 0.94) 28%,
            rgba(17, 56, 45, 0.80) 52%,
            rgba(20, 60, 48, 0.48) 76%,
            rgba(20, 60, 48, 0.20) 100%
        ),
        linear-gradient(
            180deg,
            rgba(8, 30, 24, 0.14) 0%,
            rgba(8, 30, 24, 0.04) 45%,
            rgba(8, 30, 24, 0.30) 100%
        );
}


/* =========================================================
   HERO BOTTOM FADE
========================================================= */

.spas-hero::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: -1px;

    z-index: 3;

    height: 76px;

    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            rgba(248, 244, 236, 0) 0%,
            rgba(248, 244, 236, 0.10) 28%,
            rgba(248, 244, 236, 0.52) 70%,
            #f8f4ec 100%
        );
}


/* =========================================================
   HERO INNER
========================================================= */

.spas-hero-inner {
    position: relative;
    z-index: 2;

    width: min(calc(100% - 48px), 1180px);
    min-height: 470px;

    margin: 0 auto;

    display: flex;
    align-items: center;

    padding: 58px 0 92px;
}

.spas-hero-content {
    width: min(100%, 625px);
}


/* =========================================================
   HERO KICKER
========================================================= */

.spas-hero-kicker {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 15px;
}

.spas-hero-kicker > span {
    width: 36px;
    height: 1px;

    flex-shrink: 0;

    background:
        linear-gradient(
            90deg,
            #d9b777,
            rgba(234, 215, 177, 0.52)
        );
}

.spas-hero-kicker strong {
    color: #f0d69b;

    font-size: 9px;
    font-weight: 900;

    line-height: 1.4;

    letter-spacing: 2px;
    text-transform: uppercase;

    text-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.28);
}


/* =========================================================
   HERO TITLE
========================================================= */

.spas-hero-content h1 {
    max-width: 570px;

    margin: 0;

    color: #ffffff;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(48px, 5vw, 68px);
    font-weight: 700;

    line-height: 0.97;

    letter-spacing: -1px;

    text-shadow:
        0 3px 20px
        rgba(0, 0, 0, 0.34);
}

.spas-hero-content h1 em {
    display: block;

    margin-top: 4px;

    color: #e5c181;

    font-style: normal;

    text-shadow:
        0 3px 18px
        rgba(0, 0, 0, 0.28);
}

.spas-hero-content > p {
    max-width: 515px;

    margin: 19px 0 0;

    color: rgba(255, 255, 255, 0.90);

    font-size: 13px;
    font-weight: 600;

    line-height: 1.75;

    text-shadow:
        0 2px 10px
        rgba(0, 0, 0, 0.32);
}


/* =========================================================
   HERO BENEFITS DESKTOP
========================================================= */

.spas-hero-benefits {
    width: fit-content;

    display: flex;
    align-items: center;

    gap: 18px;

    margin-top: 28px;

    padding: 13px 16px;

    border:
        1px solid
        rgba(234, 215, 177, 0.15);

    border-radius: 14px;

    background:
        rgba(16, 53, 43, 0.76);

    box-shadow:
        0 10px 24px
        rgba(0, 0, 0, 0.12);
}

.spas-hero-benefit {
    display: flex;
    align-items: center;

    min-width: 0;

    gap: 9px;
}

.spas-benefit-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: grid;
    place-items: center;

    border:
        1px solid
        rgba(234, 215, 177, 0.44);

    border-radius: 50%;

    background: transparent;

    color: #f1d79d;

    font-size: 13px;

    text-shadow:
        0 2px 6px
        rgba(0, 0, 0, 0.25);
}

.spas-hero-benefit > div {
    min-width: 0;
}

.spas-hero-benefit strong {
    display: block;

    margin-bottom: 3px;

    color: #ffffff;

    font-size: 10px;
    font-weight: 900;

    line-height: 1.25;

    white-space: nowrap;

    text-shadow:
        0 2px 6px
        rgba(0, 0, 0, 0.30);
}

.spas-hero-benefit small {
    display: block;

    color:
        rgba(255, 255, 255, 0.73);

    font-size: 8px;
    font-weight: 600;

    line-height: 1.3;

    white-space: nowrap;
}

.spas-benefit-divider {
    width: 1px;
    height: 33px;

    flex-shrink: 0;

    background:
        linear-gradient(
            180deg,
            transparent,
            rgba(234, 215, 177, 0.36),
            transparent
        );
}


/* =========================================================
   FILTER PANEL
========================================================= */

.spas-discovery {
    position: relative;
    z-index: 20;

    width: min(100%, 1180px);

    margin: -56px auto 0;

    padding: 17px 18px 14px;

    border:
        1px solid
        rgba(201, 166, 107, 0.18);

    border-radius: 24px;

    background: #fffdf9;

    box-shadow:
        0 20px 50px
        rgba(36, 78, 64, 0.13);
}

.spas-discovery::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 110px;
    height: 2px;

    border-radius: 999px;

    transform: translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201, 166, 107, 0.75),
            transparent
        );
}


/* =========================================================
   FILTER GRID
========================================================= */

.spas-filter-form {
    display: grid;

    grid-template-columns:
        minmax(235px, 1.65fr)
        minmax(135px, 0.92fr)
        minmax(130px, 0.85fr)
        minmax(130px, 0.85fr)
        minmax(130px, 0.85fr)
        auto
        auto;

    align-items: center;

    gap: 8px;
}


/* =========================================================
   SEARCH FIELD
========================================================= */

.spas-search-field {
    position: relative;

    min-width: 0;

    display: flex;
    align-items: center;
}

.spas-search-icon {
    position: absolute;

    left: 15px;

    z-index: 2;

    color: #b78d4f;

    font-size: 18px;

    pointer-events: none;
}

.spas-search-field input {
    width: 100%;
    height: 52px;

    padding: 0 14px 0 42px;

    border:
        1px solid
        rgba(46, 94, 78, 0.11);

    border-radius: 14px;

    outline: none;

    background: #ffffff;

    color: #243d35;

    font-family: inherit;

    font-size: 11px;
    font-weight: 700;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.spas-search-field input::placeholder {
    color:
        rgba(107, 120, 137, 0.70);
}

.spas-search-field input:focus {
    border-color:
        rgba(201, 166, 107, 0.72);

    box-shadow:
        0 0 0 3px
        rgba(201, 166, 107, 0.09);
}


/* =========================================================
   CUSTOM DROPDOWN
========================================================= */

.spas-custom-dropdown {
    position: relative;

    min-width: 0;
}

.spas-dropdown-trigger {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 10px;

    cursor: pointer;

    border:
        1px solid
        rgba(46, 94, 78, 0.11);

    border-radius: 14px;

    outline: none;

    background: #ffffff;

    color: #2e5e4e;

    font-family: inherit;
    text-align: left;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.spas-dropdown-trigger:hover {
    border-color:
        rgba(201, 166, 107, 0.40);
}

.spas-custom-dropdown.is-open
.spas-dropdown-trigger {
    border-color:
        rgba(201, 166, 107, 0.72);

    box-shadow:
        0 0 0 3px
        rgba(201, 166, 107, 0.09);
}

.spas-dropdown-icon {
    width: 23px;

    flex: 0 0 23px;

    color: #2e5e4e;

    font-size: 14px;
    font-weight: 900;

    text-align: center;
}

.spas-dropdown-text {
    min-width: 0;

    flex: 1;
}

.spas-dropdown-text small {
    display: block;

    margin-bottom: 2px;

    color: #7f8e88;

    font-size: 7px;
    font-weight: 900;

    line-height: 1;

    letter-spacing: 0.65px;
    text-transform: uppercase;
}

.spas-dropdown-text strong {
    display: block;

    overflow: hidden;

    color: #2e5e4e;

    font-size: 9.5px;
    font-weight: 850;

    line-height: 1.3;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.spas-dropdown-chevron {
    flex-shrink: 0;

    color: #2e5e4e;

    font-size: 12px;

    transition:
        transform 0.2s ease;
}

.spas-custom-dropdown.is-open
.spas-dropdown-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   DROPDOWN MENU
========================================================= */

.spas-dropdown-menu {
    position: absolute;

    top: calc(100% + 7px);
    left: 0;

    z-index: 999;

    width: max(100%, 188px);
    max-height: 260px;

    padding: 7px;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    overflow-y: auto;
    overflow-x: hidden;

    border:
        1px solid
        rgba(46, 94, 78, 0.10);

    border-radius: 14px;

    background: #ffffff;

    box-shadow:
        0 18px 42px
        rgba(30, 67, 56, 0.17);

    transform: translateY(-5px);

    transition:
        visibility 0.18s ease,
        opacity 0.18s ease,
        transform 0.18s ease;
}

.spas-custom-dropdown.is-open
.spas-dropdown-menu {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;

    transform: translateY(0);
}

.spas-dropdown-option {
    width: 100%;
    min-height: 38px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 8px 10px;

    cursor: pointer;

    border: 0;
    border-radius: 9px;

    background: transparent;

    color: #243d35;

    font-family: inherit;

    text-align: left;
}

.spas-dropdown-option + .spas-dropdown-option {
    margin-top: 2px;
}

.spas-dropdown-option span {
    min-width: 0;

    overflow: hidden;

    font-size: 9.5px;
    font-weight: 700;

    white-space: nowrap;
    text-overflow: ellipsis;
}

.spas-dropdown-option b {
    flex-shrink: 0;

    visibility: hidden;
    opacity: 0;

    color: #2e5e4e;

    font-size: 10px;
}

.spas-dropdown-option:hover {
    background:
        rgba(234, 215, 177, 0.28);
}

.spas-dropdown-option.is-selected {
    background:
        rgba(46, 94, 78, 0.08);

    color: #1e4338;
}

.spas-dropdown-option.is-selected span {
    font-weight: 900;
}

.spas-dropdown-option.is-selected b {
    visibility: visible;
    opacity: 1;
}


/* =========================================================
   OPEN NOW
========================================================= */

.spas-open-now {
    position: relative;

    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 11px;

    cursor: pointer;

    border:
        1px solid
        rgba(46, 94, 78, 0.11);

    border-radius: 14px;

    background: #ffffff;

    color: #2e5e4e;

    white-space: nowrap;
}

.spas-open-now input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.spas-open-now-switch {
    position: relative;

    width: 33px;
    height: 19px;

    flex: 0 0 33px;

    border-radius: 999px;

    background:
        rgba(127, 142, 136, 0.30);

    transition:
        background 0.2s ease;
}

.spas-open-now-switch::after {
    content: "";

    position: absolute;

    top: 3px;
    left: 3px;

    width: 13px;
    height: 13px;

    border-radius: 50%;

    background: #ffffff;

    box-shadow:
        0 2px 5px
        rgba(0, 0, 0, 0.14);

    transition:
        transform 0.2s ease;
}

.spas-open-now input:checked
+
.spas-open-now-switch {
    background: #2e5e4e;
}

.spas-open-now input:checked
+
.spas-open-now-switch::after {
    transform: translateX(14px);
}

.spas-open-now strong {
    font-size: 8.5px;
    font-weight: 900;
}


/* =========================================================
   SEARCH BUTTON
========================================================= */

.spas-search-button {
    min-height: 52px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 17px;

    cursor: pointer;

    border: 0;
    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #2e5e4e,
            #1e4338
        );

    color: #ffffff;

    font-family: inherit;

    box-shadow:
        0 10px 22px
        rgba(46, 94, 78, 0.21);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.spas-search-button:hover {
    transform: translateY(-1px);

    box-shadow:
        0 14px 29px
        rgba(46, 94, 78, 0.27);
}

.spas-search-button span {
    font-size: 9.5px;
    font-weight: 900;
}

.spas-search-button b {
    font-size: 14px;
}


/* =========================================================
   POPULAR SEARCH
========================================================= */

.spas-popular-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 8px;

    margin-top: 12px;

    padding: 0 2px;
}

.spas-popular-row > strong {
    color: #a87d45;

    font-size: 7.5px;
    font-weight: 900;

    letter-spacing: 0.55px;

    text-transform: uppercase;
}

.spas-popular-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;

    gap: 6px;
}

.spas-popular-list a {
    min-height: 27px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 10px;

    border:
        1px solid
        rgba(46, 94, 78, 0.09);

    border-radius: 999px;

    background: #ffffff;

    color: #2e5e4e;

    font-size: 8px;
    font-weight: 800;

    text-decoration: none;
}


/* =========================================================
   RESULTS INTRO
========================================================= */

.spas-results-intro {
    width: min(100%, 1180px);

    margin: 38px auto 20px;
}

.spas-results-heading {
    text-align: center;
}

.spas-results-heading > span {
    color: #b38a50;

    font-size: 7.5px;
    font-weight: 900;

    letter-spacing: 2px;

    text-transform: uppercase;
}

.spas-results-heading h2 {
    margin: 8px 0 0;

    color: #2e5e4e;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: clamp(31px, 4vw, 43px);
    font-weight: 700;

    line-height: 1;
}

.spas-results-heading h2 em {
    color: #c09a5d;

    font-style: normal;
}

.spas-results-divider {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 10px;

    margin: 12px 0 9px;

    color: #b88e51;
}

.spas-results-divider span {
    width: 52px;
    height: 1px;
}

.spas-results-divider span:first-child {
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(201, 166, 107, 0.65)
        );
}

.spas-results-divider span:last-child {
    background:
        linear-gradient(
            90deg,
            rgba(201, 166, 107, 0.65),
            transparent
        );
}

.spas-results-divider b {
    font-size: 10px;
}

.spas-results-heading p {
    margin: 0;

    color: #7f8e88;

    font-size: 10.5px;
    font-weight: 600;

    line-height: 1.65;
}


/* =========================================================
   RESULTS TOOLBAR
========================================================= */

.spas-results-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    margin-top: 19px;

    padding-top: 13px;

    border-top:
        1px solid
        rgba(46, 94, 78, 0.07);
}

.spas-results-count {
    display: flex;
    align-items: baseline;

    gap: 7px;

    flex-shrink: 0;
}

.spas-results-count strong {
    color: #2e5e4e;

    font-size: 22px;
    font-weight: 900;
}

.spas-results-count span {
    color: #7f8e88;

    font-size: 9px;
    font-weight: 700;
}

.spas-active-filters {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 6px;
}

.spas-active-chip {
    min-height: 29px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 7px;

    padding: 0 10px;

    border:
        1px solid
        rgba(46, 94, 78, 0.10);

    border-radius: 999px;

    background: #ffffff;

    color: #2e5e4e;

    font-size: 8.5px;
    font-weight: 800;

    text-decoration: none;
}

.spas-clear-filters {
    color: #9f713d;

    font-size: 8.5px;
    font-weight: 900;

    text-decoration: underline;

    text-underline-offset: 3px;
}


/* =========================================================
   SPA GRID
========================================================= */

.spas-listing {
    position: relative;

    width: 100%;
}

.spas-page .spv-spa-grid {
    position: relative;
    z-index: 2;

    width: min(100%, 1180px);

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 21px;
}

.spas-page .spv-spa-card {
    width: 100%;
    min-width: 0;
}

.spas-page .spv-spa-card-premium {
    height: 100%;
}


/* =========================================================
   EMPTY STATE
========================================================= */

.spa-empty,
.spv-no-spa {
    grid-column: 1 / -1;

    width: 100%;

    padding: 42px 22px;

    border:
        1px solid
        rgba(46, 94, 78, 0.08);

    border-radius: 20px;

    background: #fffdf9;

    text-align: center;

    box-shadow:
        0 14px 34px
        rgba(46, 94, 78, 0.06);
}

.spa-empty-icon {
    margin-bottom: 8px;

    color: #c09a5d;

    font-size: 29px;
}

.spa-empty h2 {
    margin: 0 0 7px;

    color: #2e5e4e;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 28px;
    font-weight: 700;
}

.spa-empty p {
    max-width: 470px;

    margin: 0 auto;

    color: #7f8e88;

    font-size: 11px;

    line-height: 1.7;
}


/* =========================================================
   PAGINATION
========================================================= */

.spas-pagination {
    width: min(100%, 1180px);

    margin: 36px auto 0;
}


/* =========================================================
   PAGE BOTTOM
========================================================= */

.spas-page::after {
    content: "";

    position: absolute;

    left: 50%;
    bottom: 0;

    width: 100vw;
    height: 84px;

    z-index: -1;

    pointer-events: none;

    transform: translateX(-50%);

    background:
        radial-gradient(
            ellipse at center bottom,
            rgba(201, 166, 107, 0.12),
            transparent 60%
        ),
        linear-gradient(
            180deg,
            rgba(245, 240, 231, 0),
            rgba(239, 232, 220, 0.68)
        );
}


/* =========================================================
   FOOTER BORDER
========================================================= */

.spaverse-spas-page footer,
.spaverse-spas-page .site-footer,
.spaverse-spas-page .main-footer,
.spaverse-spas-page .frontend-footer,
.spaverse-spas-page #footer {
    border-top: 0 !important;
}


/* =========================================================
   FAVORITE LOGIN
========================================================= */

.favorite-login-overlay {
    position: fixed;
    inset: 0;

    z-index: 99980;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    background:
        rgba(8, 25, 20, 0.58);

    transition:
        visibility 0.25s ease,
        opacity 0.25s ease;
}

.favorite-login-overlay.show,
.favorite-login-overlay.is-open {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;
}

.favorite-login-popup {
    position: fixed;

    top: 50%;
    left: 50%;

    z-index: 99981;

    width:
        min(
            390px,
            calc(100% - 28px)
        );

    padding: 27px 22px 22px;

    visibility: hidden;
    opacity: 0;

    pointer-events: none;

    border:
        1px solid
        rgba(201, 166, 107, 0.22);

    border-radius: 20px;

    background: #ffffff;

    text-align: center;

    box-shadow:
        0 25px 70px
        rgba(0, 0, 0, 0.24);

    transform:
        translate(-50%, -46%)
        scale(0.94);

    transition:
        visibility 0.25s ease,
        opacity 0.25s ease,
        transform 0.25s ease;
}

.favorite-login-popup.show,
.favorite-login-popup.is-open {
    visibility: visible;
    opacity: 1;

    pointer-events: auto;

    transform:
        translate(-50%, -50%)
        scale(1);
}

.favorite-login-close {
    position: absolute;

    top: 12px;
    right: 12px;

    width: 34px;
    height: 34px;

    display: grid;
    place-items: center;

    cursor: pointer;

    border: 0;
    border-radius: 50%;

    background: #fff1f3;

    color: #b42318;

    font-size: 22px;
}

.favorite-login-icon {
    width: 62px;
    height: 62px;

    display: grid;
    place-items: center;

    margin: 0 auto 14px;

    border-radius: 50%;

    background: #fff1f3;

    color: #d93025;

    font-size: 34px;
}

.favorite-login-popup h3 {
    margin: 0;

    color: #2e5e4e;

    font-family:
        "Cormorant Garamond",
        Georgia,
        serif;

    font-size: 28px;
}

.favorite-login-popup p {
    margin: 10px auto 18px;

    color: #7f8e88;

    font-size: 12px;

    line-height: 1.65;
}

body.favorite-login-open {
    overflow: hidden;
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

.sr-only {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


/* =========================================================
   LAPTOP
========================================================= */

@media (max-width: 1180px) {

    .spas-page {
        padding-right: 22px;
        padding-left: 22px;
    }

    .spas-hero-inner {
        width: calc(100% - 44px);
    }

    .spas-filter-form {
        grid-template-columns:
            minmax(220px, 1.5fr)
            repeat(
                4,
                minmax(118px, 0.8fr)
            );
    }

    .spas-open-now {
        grid-column: 1 / span 2;

        justify-content: flex-start;
    }

    .spas-search-button {
        grid-column: 3 / -1;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 992px) {

    .spas-hero {
        min-height: 440px;
    }

    .spas-hero-inner {
        min-height: 440px;

        padding: 52px 0 88px;
    }

    .spas-hero-content h1 {
        font-size: 52px;
    }

    .spas-filter-form {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 9px;
    }

    .spas-search-field {
        grid-column: 1 / -1;
    }

    .spas-open-now {
        grid-column: auto;

        justify-content: center;
    }

    .spas-search-button {
        grid-column: auto;
    }

    .spas-page .spv-spa-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 18px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 640px) {

    /* =====================================================
       PAGE
    ====================================================== */

    .spas-page {
        padding: 0 13px 52px;
    }


    /* =====================================================
       HERO
    ====================================================== */

    .spas-hero {
        min-height: 430px;
    }

    .spas-hero-background {
        background-position: 63% center;

        transform: scale(1.035);
    }


    /* Stronger mobile overlay */

    .spas-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(10, 39, 32, 0.97) 0%,
                rgba(12, 44, 36, 0.93) 45%,
                rgba(14, 48, 39, 0.72) 72%,
                rgba(14, 48, 39, 0.48) 100%
            ),
            linear-gradient(
                180deg,
                rgba(5, 24, 19, 0.12),
                rgba(5, 24, 19, 0.24)
            );
    }

    .spas-hero::after {
        height: 62px;
    }

    .spas-hero-inner {
        width:
            calc(
                100% - 28px
            );

        min-height: 430px;

        align-items: flex-start;

        padding: 38px 0 77px;
    }

    .spas-hero-content {
        width: 100%;
    }


    /* =====================================================
       KICKER
    ====================================================== */

    .spas-hero-kicker {
        gap: 8px;

        margin-bottom: 11px;
    }

    .spas-hero-kicker > span {
        width: 24px;
    }

    .spas-hero-kicker strong {
        color: #f3dca7;

        font-size: 7px;

        letter-spacing: 1.35px;
    }


    /* =====================================================
       TITLE
    ====================================================== */

    .spas-hero-content h1 {
        max-width: 340px;

        color: #ffffff;

        font-size: 40px;

        line-height: 0.98;

        text-shadow:
            0 3px 15px
            rgba(0, 0, 0, 0.42);
    }

    .spas-hero-content h1 em {
        color: #edcc8b;
    }

    .spas-hero-content > p {
        max-width: 330px;

        margin-top: 13px;

        color:
            rgba(255, 255, 255, 0.91);

        font-size: 10.5px;

        line-height: 1.65;

        text-shadow:
            0 2px 8px
            rgba(0, 0, 0, 0.32);
    }


    /* =====================================================
       MOBILE BENEFITS
       SINGLE DARK STRIP
       NO GLASS
       NO INDIVIDUAL CARDS
    ====================================================== */

    .spas-hero-benefits {
        position: relative;

        width: 100%;

        display: grid;

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        align-items: stretch;

        gap: 0;

        margin-top: 21px;

        padding: 12px 5px;

        border:
            1px solid
            rgba(234, 215, 177, 0.18);

        border-radius: 11px;

        background:
            rgba(13, 46, 37, 0.86);

        box-shadow:
            0 7px 18px
            rgba(0, 0, 0, 0.13);
    }


    .spas-benefit-divider {
        display: none;
    }


    .spas-hero-benefit {
        position: relative;

        min-width: 0;

        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;

        gap: 6px;

        padding: 0 6px;

        border: 0;

        border-radius: 0;

        background: transparent !important;

        box-shadow: none !important;

        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;

        text-align: center;
    }


    /* divider */

    .spas-hero-benefit::after {
        content: "";

        position: absolute;

        top: 2px;
        right: 0;

        width: 1px;
        height: calc(100% - 4px);

        background:
            linear-gradient(
                180deg,
                transparent,
                rgba(234, 215, 177, 0.26),
                transparent
            );
    }

    .spas-hero-benefit:last-child::after {
        display: none;
    }


    /* icon */

    .spas-benefit-icon {
        width: 28px;
        height: 28px;

        flex: 0 0 28px;

        display: grid;
        place-items: center;

        margin: 0;

        border:
            1px solid
            rgba(241, 215, 157, 0.44);

        border-radius: 50%;

        background: transparent !important;

        color: #f3d99e;

        font-size: 10px;
        font-weight: 900;

        text-shadow:
            0 2px 6px
            rgba(0, 0, 0, 0.25);
    }


    /* text wrapper */

    .spas-hero-benefit > div {
        width: 100%;
        min-width: 0;
    }


    /* main label */

    .spas-hero-benefit strong {
        display: block;

        width: 100%;

        margin: 0 0 4px;

        overflow: visible;

        color: #ffffff !important;

        font-size: 8px;
        font-weight: 900;

        line-height: 1.25;

        white-space: normal;

        text-overflow: initial;

        text-shadow:
            0 2px 6px
            rgba(0, 0, 0, 0.34);
    }


    /* description */

    .spas-hero-benefit small {
        display: block;

        width: 100%;

        margin: 0;

        overflow: visible;

        color:
            rgba(
                255,
                255,
                255,
                0.76
            ) !important;

        font-size: 6.1px;
        font-weight: 600;

        line-height: 1.4;

        white-space: normal;

        text-overflow: initial;

        text-shadow:
            0 1px 4px
            rgba(0, 0, 0, 0.22);
    }


    /* =====================================================
       FILTER PANEL MOBILE
    ====================================================== */

    .spas-discovery {
        margin-top: -39px;

        padding: 11px 10px 10px;

        border:
            1px solid
            rgba(201, 166, 107, 0.20);

        border-radius: 16px;

        background: #fffdf9;

        box-shadow:
            0 15px 35px
            rgba(30, 67, 56, 0.14);

        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .spas-discovery::before {
        width: 76px;
    }


    /* =====================================================
       FILTER GRID
    ====================================================== */

    .spas-filter-form {
        display: grid;

        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );

        gap: 7px;
    }

    .spas-search-field {
        grid-column: 1 / -1;
    }

    .spas-custom-dropdown {
        grid-column: auto;

        min-width: 0;
    }

    .spas-open-now,
    .spas-search-button {
        grid-column: auto;
    }


    /* =====================================================
       SEARCH
    ====================================================== */

    .spas-search-field input {
        height: 45px;

        padding:
            0 12px
            0 38px;

        border-radius: 11px;

        background: #ffffff;

        font-size: 9px;
    }

    .spas-search-icon {
        left: 12px;

        font-size: 15px;
    }


    /* =====================================================
       DROPDOWN
    ====================================================== */

    .spas-dropdown-trigger {
        height: 45px;

        gap: 5px;

        padding: 0 7px;

        border-radius: 11px;

        background: #ffffff;
    }

    .spas-dropdown-icon {
        width: 17px;

        flex: 0 0 17px;

        font-size: 10px;
    }

    .spas-dropdown-text small {
        margin-bottom: 2px;

        font-size: 5.6px;

        letter-spacing: 0.5px;
    }

    .spas-dropdown-text strong {
        font-size: 7.3px;
    }

    .spas-dropdown-chevron {
        font-size: 9px;
    }

    .spas-dropdown-menu {
        position: absolute;

        top: calc(100% + 5px);
        left: 0;

        width: 100%;
        min-width: 150px;
        max-height: 205px;

        padding: 5px;

        border-radius: 11px;

        background: #ffffff;

        box-shadow:
            0 13px 30px
            rgba(30, 67, 56, 0.17);
    }

    .spas-dropdown-option {
        min-height: 34px;

        padding: 6px 7px;

        border-radius: 7px;
    }

    .spas-dropdown-option span {
        font-size: 7.8px;
    }

    .spas-dropdown-option b {
        font-size: 8px;
    }


    /* =====================================================
       OPEN NOW
    ====================================================== */

    .spas-open-now {
        min-height: 43px;

        justify-content: center;

        gap: 5px;

        padding: 0 6px;

        border-radius: 11px;

        background: #ffffff;
    }

    .spas-open-now-switch {
        width: 29px;
        height: 17px;

        flex: 0 0 29px;
    }

    .spas-open-now-switch::after {
        top: 3px;
        left: 3px;

        width: 11px;
        height: 11px;
    }

    .spas-open-now input:checked
    +
    .spas-open-now-switch::after {
        transform: translateX(12px);
    }

    .spas-open-now strong {
        font-size: 6.8px;
    }


    /* =====================================================
       SEARCH BUTTON
    ====================================================== */

    .spas-search-button {
        min-height: 43px;

        gap: 5px;

        padding: 0 9px;

        border-radius: 11px;

        box-shadow:
            0 8px 18px
            rgba(46, 94, 78, 0.19);
    }

    .spas-search-button span {
        font-size: 7.7px;
    }

    .spas-search-button b {
        font-size: 12px;
    }


    /* =====================================================
       POPULAR SEARCH
    ====================================================== */

    .spas-popular-row {
        display: block;

        margin-top: 10px;
    }

    .spas-popular-row > strong {
        display: block;

        margin-bottom: 6px;

        font-size: 6px;
    }

    .spas-popular-list {
        width: 100%;

        flex-wrap: nowrap;

        gap: 5px;

        overflow-x: auto;

        padding-bottom: 2px;

        scrollbar-width: none;
    }

    .spas-popular-list::-webkit-scrollbar {
        display: none;
    }

    .spas-popular-list a {
        min-height: 24px;

        flex: 0 0 auto;

        padding: 0 8px;

        font-size: 6.5px;
    }


    /* =====================================================
       RESULTS
    ====================================================== */

    .spas-results-intro {
        margin: 27px auto 15px;
    }

    .spas-results-heading > span {
        font-size: 6px;

        letter-spacing: 1.4px;
    }

    .spas-results-heading h2 {
        margin-top: 6px;

        font-size: 29px;
    }

    .spas-results-divider {
        margin: 9px 0 7px;
    }

    .spas-results-divider span {
        width: 36px;
    }

    .spas-results-heading p {
        padding: 0 8px;

        font-size: 8.5px;
    }

    .spas-results-toolbar {
        flex-direction: column;
        align-items: stretch;

        gap: 8px;

        margin-top: 14px;

        padding-top: 10px;
    }

    .spas-results-count strong {
        font-size: 19px;
    }

    .spas-results-count span {
        font-size: 7.5px;
    }

    .spas-active-filters {
        justify-content: flex-start;

        gap: 5px;
    }

    .spas-active-chip {
        min-height: 25px;

        padding: 0 8px;

        font-size: 7px;
    }

    .spas-clear-filters {
        font-size: 7px;
    }


    /* =====================================================
       GRID
    ====================================================== */

    .spas-page .spv-spa-grid {
        grid-template-columns: 1fr;

        gap: 16px;
    }


    /* =====================================================
       EMPTY
    ====================================================== */

    .spa-empty,
    .spv-no-spa {
        padding: 31px 17px;

        border-radius: 16px;
    }

    .spa-empty-icon {
        font-size: 26px;
    }

    .spa-empty h2 {
        font-size: 24px;
    }

    .spa-empty p {
        font-size: 9.5px;
    }


    /* =====================================================
       PAGINATION
    ====================================================== */

    .spas-pagination {
        margin-top: 28px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 390px) {

    .spas-page {
        padding: 0 10px 50px;
    }

    .spas-hero {
        min-height: 425px;
    }

    .spas-hero-inner {
        width:
            calc(
                100% - 20px
            );

        min-height: 425px;

        padding-top: 35px;
    }

    .spas-hero-content h1 {
        font-size: 37px;
    }

    .spas-hero-content > p {
        max-width: 305px;

        font-size: 9.8px;
    }


    /* =====================================================
       BENEFITS
    ====================================================== */

    .spas-hero-benefits {
        margin-top: 18px;

        padding:
            11px 3px;

        border-radius: 10px;
    }

    .spas-hero-benefit {
        padding: 0 4px;
    }

    .spas-benefit-icon {
        width: 25px;
        height: 25px;

        flex: 0 0 25px;

        font-size: 8px;
    }

    .spas-hero-benefit strong {
        font-size: 7px;
    }

    .spas-hero-benefit small {
        font-size: 5.4px;

        line-height: 1.35;
    }


    /* =====================================================
       FILTER
    ====================================================== */

    .spas-discovery {
        padding: 9px 8px;

        border-radius: 14px;
    }

    .spas-filter-form {
        gap: 6px;
    }

    .spas-dropdown-trigger {
        padding: 0 6px;
    }

    .spas-dropdown-icon {
        width: 15px;

        flex: 0 0 15px;

        font-size: 9px;
    }

    .spas-dropdown-text strong {
        font-size: 6.8px;
    }

    .spas-open-now strong {
        font-size: 6.2px;
    }

    .spas-results-heading h2 {
        font-size: 27px;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .spas-search-field input,
    .spas-dropdown-trigger,
    .spas-dropdown-menu,
    .spas-dropdown-chevron,
    .spas-open-now-switch,
    .spas-open-now-switch::after,
    .spas-search-button,
    .favorite-login-overlay,
    .favorite-login-popup {
        transition: none !important;
    }
}