/* =========================================================
   SEVAN HOME CARE — HEADER STYLES
   Extracted from style.css. Load style.css before this file,
   because this file uses its theme variables.
   ========================================================= */

/* =========================================================
   TOP BAR
   ========================================================= */

.top-bar {
    background: var(--navy-dark);
    color: rgba(255, 255, 255, 0.92);
    font-size: 13px;
}

.top-bar-inner {
    min-height: 38px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.top-bar-left {
    white-space: nowrap;
}

.top-bar-right a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    transition: color var(--transition);
}

.top-bar-right a:hover {
    color: #9fc5ff;
}

.top-bar-divider {
    opacity: 0.35;
}

.top-home-icon,
.top-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.top-home-icon svg {
    width: 17px;
    height: 17px;
}

.top-icon svg {
    width: 16px;
    height: 16px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--white);
}

.main-header {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 18px rgba(7, 29, 52, 0.05);
}

/* Keep the main header content inside the site container. */
.main-header > .header-inner {
    width: min(calc(100% - 40px), var(--container));
    margin: 0 auto;
}

/* =========================================================
   DESKTOP HEADER LAYOUT
   Logo | Center navigation/search/city | Cart/account
   ========================================================= */

.header-inner {
    min-height: 82px;
    width: 100%;
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr) auto;
    align-items: center;
    gap: 28px;
}

/* =========================================================
   LOGO
   ========================================================= */

.site-logo {
    display: inline-flex;
    align-items: center;
    width: 230px;
    min-width: 230px;
    flex-shrink: 0;
    text-decoration: none;
}

.logo-img {
    width: auto;
    height: 58px;
    max-width: 210px;
    object-fit: contain;
    display: block;
}

/* =========================================================
   CENTER HEADER AREA
   ========================================================= */

.header-center {
    min-width: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

/* If the center wrapper is not present, keep the original
   header elements aligned cleanly as well. */

.main-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin: 0;
    flex: 0 0 auto;
}

.main-navigation > a,
.nav-dropdown-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 82px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: color var(--transition);
}

.main-navigation > a::after,
.main-navigation a::after,
.nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 19px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--royal-blue);
    transition: width var(--transition);
}

.main-navigation > a:hover,
.main-navigation > a.active,
.main-navigation a:hover,
.main-navigation a.active,
.nav-dropdown:hover .nav-dropdown-toggle {
    color: var(--royal-blue);
}

.main-navigation > a:hover::after,
.main-navigation > a.active::after,
.main-navigation a:hover::after,
.main-navigation a.active::after,
.nav-dropdown:hover .nav-dropdown-toggle::after {
    width: 100%;
}

/* =========================================================
   SERVICES DROPDOWN
   ========================================================= */

.nav-dropdown {
    position: relative;
    height: 82px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.dropdown-arrow {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.nav-dropdown:hover .dropdown-arrow,
.nav-dropdown:focus-within .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    min-width: 240px;
    max-height: 420px;
    overflow-y: auto;
    padding: 8px;
    border: 1px solid rgba(7, 29, 52, 0.08);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(7, 29, 52, 0.13);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 8px);
    transition:
        opacity var(--transition),
        visibility var(--transition),
        transform var(--transition);
    z-index: 1200;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, 0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    min-height: 42px;
    padding: 9px 13px;
    border-radius: 7px;
    color: #475467;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition:
        background var(--transition),
        color var(--transition);
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active {
    background: var(--soft-blue);
    color: var(--royal-blue);
}

.nav-dropdown-empty {
    display: block;
    padding: 12px 13px;
    color: var(--muted);
    font-size: 14px;
}

/* =========================================================
   HEADER SEARCH
   ========================================================= */

.header-search {
    position: relative;
    width: 238px;
    min-width: 238px;
    flex: 0 0 238px;
}

.header-search-form {
    position: relative;
    width: 100%;
    height: 42px;
    display: flex;
    align-items: center;
}

.header-search-icon {
    position: absolute;
    left: 13px;
    top: 50%;
    width: 17px;
    height: 17px;
    transform: translateY(-50%);
    color: #667085;
    pointer-events: none;
    flex-shrink: 0;
}

.header-search-input {
    width: 100%;
    height: 42px;
    padding: 0 12px 0 39px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #f8fafc;
    color: var(--navy);
    font-family: inherit;
    font-size: 13px;
    font-weight: 500;
    outline: none;
    transition:
        border-color var(--transition),
        background var(--transition),
        box-shadow var(--transition);
}

.header-search-input::placeholder {
    color: #98a2b3;
}

.header-search-input:hover,
.header-search-input:focus {
    background: var(--white);
}

.header-search-input:focus {
    border-color: var(--royal-blue);
    box-shadow: 0 0 0 3px rgba(21, 87, 184, 0.08);
}

/* =========================================================
   HEADER LOCATION
   ========================================================= */

.header-location {
    position: relative;
    width: 158px;
    min-width: 158px;
    flex: 0 0 158px;
}

.header-location-toggle {
    width: 100%;
    min-width: 0;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition:
        border-color var(--transition),
        background var(--transition),
        color var(--transition);
}

.header-location-toggle:hover,
.header-location-toggle[aria-expanded="true"] {
    border-color: rgba(21, 87, 184, 0.35);
    background: var(--soft-blue);
    color: var(--royal-blue);
}

.location-pin-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-pin-icon svg {
    width: 17px;
    height: 17px;
    display: block;
}

.selected-city-name {
    max-width: 82px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.location-arrow {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    transition: transform var(--transition);
}

.header-location-toggle[aria-expanded="true"] .location-arrow {
    transform: rotate(180deg);
}

/* =========================================================
   LOCATION DROPDOWN
   ========================================================= */

.header-location-dropdown {
    position: absolute;
    top: calc(100% + 9px);
    right: 0;
    width: 280px;
    max-height: 420px;
    overflow-y: auto;
    padding: 10px;
    border: 1px solid rgba(7, 29, 52, 0.08);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 0 18px 40px rgba(7, 29, 52, 0.14);
    z-index: 1100;
}

.header-location-dropdown[hidden] {
    display: none;
}

.use-current-location {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border: 0;
    border-radius: 9px;
    background: var(--soft-blue);
    color: var(--navy);
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    transition:
        background var(--transition),
        color var(--transition);
}

.use-current-location:hover {
    background: #e3efff;
    color: var(--royal-blue);
}

.use-current-location > svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--royal-blue);
}

.use-current-location span {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.use-current-location strong {
    font-size: 13px;
    font-weight: 700;
}

.use-current-location small {
    font-size: 11px;
    color: var(--muted);
}

.location-dropdown-divider {
    height: 1px;
    margin: 10px 0;
    background: var(--border);
}

.location-dropdown-title {
    padding: 3px 10px 7px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.city-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.city-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 40px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #475467;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition:
        background var(--transition),
        color var(--transition);
}

.city-option:hover,
.city-option.active {
    background: var(--soft-blue);
    color: var(--royal-blue);
}

.city-option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.city-option-icon svg {
    width: 16px;
    height: 16px;
}

.location-empty {
    display: block;
    padding: 12px 10px;
    color: var(--muted);
    font-size: 13px;
}

/* =========================================================
   CITY REQUIRED NOTICE
   ========================================================= */

.city-required-notice {
    width: 100%;
    margin: 0 0 10px;
    padding: 11px 12px;
    border: 1px solid rgba(21, 87, 184, 0.15);
    border-radius: 9px;
    background: var(--soft-blue);
    color: var(--navy);
}

.city-required-notice strong {
    display: block;
    margin-bottom: 3px;
    color: var(--royal-blue);
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.city-required-notice span {
    display: block;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.5;
}

.mobile-city-list .city-required-notice {
    margin: 0 0 8px;
    padding: 10px 11px;
}

.mobile-city-list .city-required-notice strong {
    font-size: 12px;
}

.mobile-city-list .city-required-notice span {
    font-size: 11px;
}

/* =========================================================
   HEADER ACTIONS
   Cart icon + count + Login / Account
   ========================================================= */

.header-actions {
    min-width: max-content;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
    flex-shrink: 0;
}

/* Cart: icon only */

.header-cart-link,
.header-cart,
.cart-link,
.header-actions a[href$="/cart"] {
    position: relative;
    width: 38px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--navy);
    text-decoration: none;
}

.header-cart-link:hover,
.header-cart:hover,
.cart-link:hover,
.header-actions a[href$="/cart"]:hover {
    color: var(--royal-blue);
}

.header-cart-link svg,
.header-cart svg,
.cart-link svg,
.header-actions a[href$="/cart"] svg {
    width: 29px;
    height: 29px;
    display: block;
}

/* Cart count badge. Supports both class names used during development. */

.header-cart-count,
.cart-count {
    position: absolute;
    top: -4px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border-radius: 999px;
    background: var(--royal-blue);
    color: #ffffff;
    border: 2px solid #ffffff;
    font-size: 9px;
    line-height: 1;
    font-weight: 800;
    z-index: 2;
}

/* Hide text labels beside cart icon if present. */

.header-cart-link .cart-label,
.header-cart .cart-label,
.cart-link .cart-label,
.header-actions a[href$="/cart"] .cart-label {
    display: none;
}

/* Login */

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
    transition: color var(--transition);
}

.login-link svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.login-link:hover {
    color: var(--royal-blue);
}

/* Logged-in account */

.header-account {
    position: relative;
    flex-shrink: 0;
}

.header-account-toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--navy);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
}

.header-account-toggle > svg:first-child {
    width: 20px;
    height: 20px;
}

.header-account-arrow {
    width: 14px;
    height: 14px;
}

.header-account-dropdown {
    position: absolute;
    top: calc(100% + 14px);
    right: 0;
    width: 235px;
    padding: 10px;
    box-sizing: border-box;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 45px rgba(20, 40, 65, 0.15);
    z-index: 9999;
}

.header-account-dropdown[hidden] {
    display: none;
}

.header-account-user {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.header-account-avatar {
    width: 38px;
    height: 38px;
    min-width: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf5ff;
    color: var(--royal-blue);
    font-size: 14px;
    font-weight: 800;
}

.header-account-user strong {
    display: block;
    color: var(--navy);
    font-size: 12px;
}

.header-account-user small {
    display: block;
    margin-top: 3px;
    color: #8995a4;
    font-size: 10px;
}

.header-account-divider {
    height: 1px;
    margin: 7px 0;
    background: #edf1f5;
}

.header-account-dropdown > a {
    display: block;
    padding: 10px;
    border-radius: 8px;
    color: #35445a;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.header-account-dropdown > a:hover {
    background: #f4f8fc;
    color: var(--royal-blue);
}

.header-account-dropdown form {
    margin: 0;
}

.header-account-logout {
    width: 100%;
    padding: 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #d34b4b;
    text-align: left;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
}

.header-account-logout:hover {
    background: #fff4f4;
}

/* =========================================================
   HEADER BOOK BUTTON
   Kept for pages/components that still use it.
   ========================================================= */

.header-book-btn {
    min-height: 48px;
    padding: 0 19px;
    border-radius: 9px;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.header-book-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* =========================================================
   MOBILE MENU BUTTON
   ========================================================= */

.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-radius: 2px;
    background: var(--navy);
    transition:
        transform var(--transition),
        opacity var(--transition);
}

/* =========================================================
   MOBILE HEADER SEARCH
   ========================================================= */

.mobile-header-search {
    padding: 14px 0 4px;
}

.mobile-search-form {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
}

.mobile-search-form > svg {
    width: 18px;
    height: 18px;
    margin-left: 12px;
    color: #667085;
    flex-shrink: 0;
}

.mobile-search-form input {
    flex: 1;
    min-width: 0;
    height: 42px;
    padding: 0 8px 0 9px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--navy);
    font-family: inherit;
    font-size: 14px;
}

.mobile-search-form button {
    min-height: 34px;
    margin-right: 5px;
    padding: 0 12px;
    border: 0;
    border-radius: 7px;
    background: var(--royal-blue);
    color: var(--white);
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

/* =========================================================
   MOBILE LOCATION
   ========================================================= */

.mobile-location-selector {
    position: relative;
    margin: 10px 0 5px;
}

.mobile-location-toggle {
    width: 100%;
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    color: var(--navy);
    font-family: inherit;
    cursor: pointer;
}

.mobile-location-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mobile-location-left > svg {
    width: 20px;
    height: 20px;
    color: var(--royal-blue);
    flex-shrink: 0;
}

.mobile-location-left > span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.mobile-location-left small {
    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
}

.mobile-location-left strong {
    font-size: 14px;
    font-weight: 700;
}

.mobile-location-arrow {
    width: 16px;
    height: 16px;
    transition: transform var(--transition);
}

.mobile-location-toggle[aria-expanded="true"] .mobile-location-arrow {
    transform: rotate(180deg);
}

.mobile-city-list {
    margin-top: 6px;
    padding: 7px;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: var(--white);
    box-shadow: 0 12px 30px rgba(7, 29, 52, 0.10);
}

.mobile-city-list[hidden] {
    display: none;
}

.mobile-use-current-location {
    width: 100%;
    min-height: 42px;
    padding: 8px 10px;
    border: 0;
    border-radius: 7px;
    background: var(--soft-blue);
    color: var(--royal-blue);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.mobile-city-option {
    min-height: 40px;
}

/* =========================================================
   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;
}

/* =========================================================
   HEADER RESPONSIVE
   ========================================================= */

@media (max-width: 1200px) {

    .header-inner {
        grid-template-columns: 205px minmax(0, 1fr) auto;
        gap: 18px;
    }

    .site-logo {
        width: 205px;
        min-width: 205px;
    }

    .logo-img {
        max-width: 180px;
    }

    .header-center {
        gap: 14px;
    }

    .main-navigation {
        gap: 18px;
    }

    .header-search {
        width: 175px;
        min-width: 175px;
        flex-basis: 175px;
    }

    .header-location {
        width: 140px;
        min-width: 140px;
        flex-basis: 140px;
    }

    .header-actions {
        gap: 14px;
    }
}

@media (max-width: 1050px) {

    .header-inner {
        grid-template-columns: 190px minmax(0, 1fr) auto;
        gap: 12px;
    }

    .site-logo {
        width: 190px;
        min-width: 190px;
    }

    .logo-img {
        max-width: 170px;
    }

    .header-center {
        gap: 10px;
    }

    .main-navigation {
        gap: 12px;
    }

    .main-navigation > a,
    .nav-dropdown-toggle {
        font-size: 13px;
    }

    .header-search {
        width: 150px;
        min-width: 150px;
        flex-basis: 150px;
    }

    .header-location {
        width: 125px;
        min-width: 125px;
        flex-basis: 125px;
    }

    .header-actions {
        gap: 10px;
    }
}

@media (max-width: 900px) {

    .main-navigation,
    .header-center,
    .header-actions {
        display: none;
    }

    .header-inner {
        min-height: 72px;
        display: flex;
        justify-content: space-between;
        gap: 15px;
    }

    .site-logo {
        width: auto;
        min-width: 0;
    }

    .logo-img {
        height: 52px;
        max-width: 190px;
    }

    .mobile-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .mobile-navigation.is-open {
        display: block;
    }
}

@media (max-width: 600px) {

    .top-bar {
        font-size: 11px;
    }

    .top-bar-left {
        display: none;
    }

    .top-bar-inner {
        min-height: 34px;
        justify-content: center;
    }

    .top-bar-right {
        justify-content: center;
    }

    .header-inner {
        min-height: 70px;
    }

    .logo-img {
        height: 40px;
        max-width: 175px;
    }

    .mobile-menu-toggle {
        width: 42px;
        height: 42px;
    }
}

/* =========================================================
   MOBILE NAVIGATION
   ========================================================= */

.mobile-navigation {
    display: none;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 12px 25px rgba(7, 29, 52, 0.08);
}

.mobile-navigation nav {
    display: flex;
    flex-direction: column;
}

.mobile-navigation > nav > a,
.mobile-navigation a {
    padding: 15px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
}

.mobile-navigation > nav > a:hover,
.mobile-navigation a:hover {
    background: var(--soft-blue);
    color: var(--royal-blue);
}

.mobile-services {
    border-bottom: 1px solid var(--border);
}

.mobile-services-toggle {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border: 0;
    background: var(--white);
    color: var(--navy);
    font-size: 15px;
    font-weight: 600;
    text-align: left;
}

.mobile-services-toggle svg {
    width: 17px;
    height: 17px;
    transition: transform var(--transition);
}

.mobile-services.is-open .mobile-services-toggle svg {
    transform: rotate(180deg);
}

.mobile-services-menu {
    display: none;
    padding: 5px 0 10px;
    background: var(--light);
}

.mobile-services.is-open .mobile-services-menu {
    display: block;
}

.mobile-services-menu a {
    display: block;
    padding: 11px 35px;
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.mobile-services-menu a:hover {
    background: var(--soft-blue);
    color: var(--royal-blue);
}

.mobile-login-btn {
    display: flex !important;
    align-items: center;
    gap: 8px;
}

.mobile-navigation .mobile-book-btn {
    margin: 15px 20px 20px;
    padding: 14px 20px;
    border: 0;
    border-radius: 9px;
    background: var(--royal-blue);
    color: var(--white);
    text-align: center;
    font-weight: 700;
}

.mobile-navigation .mobile-book-btn:hover {
    background: var(--navy);
}

.mobile-navigation.is-open {
    display: block;
}



/* =========================================================
   MOBILE HEADER ROW
   Logo | City selector | Account icon | Hamburger
   ========================================================= */

@media (max-width: 900px) {
    .header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto auto;
        align-items: center;
        column-gap: 10px;
        row-gap: 0;
        min-height: 72px;
    }

    .site-logo {
        grid-column: 1;
        grid-row: 1;
        min-width: 0;
        max-width: 100%;
    }

    .header-center { display: contents; }

    .main-navigation,
    .header-search { display: none !important; }

    .header-location {
        display: block;
        grid-column: 2;
        grid-row: 1;
        width: auto;
        min-width: 0;
        flex: initial;
        margin: 0;
    }

    .header-location-toggle {
        width: auto;
        max-width: 130px;
        min-width: 0;
        height: 40px;
        gap: 5px;
        padding: 0 8px;
        font-size: 12px;
    }

    .selected-city-name { max-width: 72px; }

    .location-pin-icon svg { width: 16px; height: 16px; }
    .location-arrow { width: 12px; height: 12px; }

    .header-actions {
        display: flex;
        grid-column: 3;
        grid-row: 1;
        align-items: center;
        justify-content: center;
        min-width: 0;
        gap: 0;
        margin: 0;
    }

    /* Cart remains available inside the mobile navigation. */
    .header-actions .header-cart-link,
    .header-actions .header-cart,
    .header-actions .cart-link,
    .header-actions a[href$="/cart"] {
        display: none !important;
    }

    .header-actions .header-account-toggle,
    .header-actions .login-link {
        width: 38px;
        height: 42px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        gap: 0;
    }

    .header-actions .header-account-toggle > span,
    .header-actions .header-account-toggle .header-account-arrow,
    .header-actions .login-link > span {
        display: none !important;
    }

    .header-actions .header-account-toggle > svg:first-child,
    .header-actions .login-link svg {
        width: 23px;
        height: 23px;
    }

    .header-account-dropdown {
        right: -48px;
        top: calc(100% + 8px);
    }

    .mobile-menu-toggle {
        grid-column: 4;
        grid-row: 1;
        display: block;
        margin: 0;
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 600px) {
    .header-inner {
        min-height: 66px;
        column-gap: 6px;
    }

    .logo-img {
        height: 38px;
        max-width: 100%;
    }

    .header-location-toggle {
        max-width: 112px;
        height: 38px;
        gap: 4px;
        padding: 0 6px;
        font-size: 11px;
    }

    .selected-city-name { max-width: 58px; }

    .header-actions .header-account-toggle,
    .header-actions .login-link {
        width: 34px;
        height: 40px;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 40px;
        padding: 7px;
    }
}

@media (max-width: 360px) {
    .header-inner { column-gap: 4px; }
    .logo-img { max-width: 105px; }
    .header-location-toggle { max-width: 100px; }
    .selected-city-name { max-width: 48px; }
    .mobile-menu-toggle { width: 36px; }
}
