/* Mobile navigation drawer — phones only; desktop unchanged */
@media (max-width: 768px) {
    .ht-mobile-nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        padding: 0.45rem 0.65rem;
        border: 1px solid rgba(255, 255, 255, 0.28);
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.08);
        color: #fff;
        font-family: inherit;
        font-size: 0.8125rem;
        font-weight: 600;
        cursor: pointer;
        flex-shrink: 0;
    }

    .ht-mobile-nav-toggle i {
        font-size: 1.05rem;
    }

    .ht-mobile-nav-toggle:hover,
    .ht-mobile-nav-toggle:focus-visible {
        background: rgba(255, 255, 255, 0.16);
        outline: none;
    }

    .ht-mobile-nav-toggle[aria-expanded="true"] {
        background: rgba(255, 255, 255, 0.2);
    }

    /* Hide crowded inline nav; keep book + menu toggle */
    .hair-transplant-landing .ht-nav-right > *:not(.ht-btn-appointment):not(.ht-mobile-nav-toggle) {
        display: none !important;
    }

    .hair-transplant-landing .ht-nav-right {
        flex: 1;
        flex-wrap: nowrap;
        gap: 0.5rem;
        overflow: visible;
        justify-content: flex-end;
    }

    .hair-transplant-landing .ht-nav-right > .ht-btn-appointment {
        margin-left: 0;
        padding: 0.45rem 0.7rem;
        font-size: 0;
        min-height: 44px;
        min-width: 3.25rem;
    }

    .hair-transplant-landing .ht-nav-right > .ht-btn-appointment::after {
        content: 'Book';
        font-size: 0.8125rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    html[lang^="it"] .hair-transplant-landing .ht-nav-right > .ht-btn-appointment::after {
        content: 'Prenota';
    }

    /* Drawer shell */
    .ht-mobile-nav {
        position: fixed;
        inset: 0;
        z-index: 10050;
        pointer-events: none;
        visibility: hidden;
    }

    .ht-mobile-nav.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .ht-mobile-nav__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(6, 10, 18, 0.62);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        transition: opacity 0.28s ease;
    }

    .ht-mobile-nav.is-open .ht-mobile-nav__backdrop {
        opacity: 1;
    }

    .ht-mobile-nav__panel {
        position: absolute;
        top: 0;
        right: 0;
        width: min(100vw, 340px);
        height: 100%;
        max-height: 100dvh;
        background: #0c121c;
        color: #fff;
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.35);
        transform: translateX(100%);
        transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .ht-mobile-nav.is-open .ht-mobile-nav__panel {
        transform: translateX(0);
    }

    .ht-mobile-nav__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 1rem 0.75rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        flex-shrink: 0;
    }

    .ht-mobile-nav__title {
        font-size: 1rem;
        font-weight: 700;
        margin: 0;
    }

    .ht-mobile-nav__close {
        width: 2.25rem;
        height: 2.25rem;
        border: none;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.1);
        color: #fff;
        font-size: 1.35rem;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .ht-mobile-nav__body {
        flex: 1;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0.75rem 1rem max(1.25rem, env(safe-area-inset-bottom));
    }

    .ht-mobile-nav__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .ht-mobile-nav__action {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
        padding: 0.65rem 0.5rem;
        border-radius: 8px;
        font-size: 0.8125rem;
        font-weight: 600;
        text-decoration: none;
        color: #fff;
        min-height: 44px;
    }

    .ht-mobile-nav__action--phone {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
    }

    .ht-mobile-nav__action--wa {
        background: #25d366;
    }

    .ht-mobile-nav__links {
        list-style: none;
        margin: 0 0 1rem;
        padding: 0;
    }

    .ht-mobile-nav__link {
        display: flex;
        align-items: center;
        min-height: 48px;
        padding: 0.6rem 0.25rem;
        color: rgba(255, 255, 255, 0.92);
        text-decoration: none;
        font-size: 0.9375rem;
        font-weight: 500;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .ht-mobile-nav__link--active {
        color: #f0b88a;
        font-weight: 600;
    }

    .ht-mobile-nav__link--offers {
        color: #f0b88a;
        font-weight: 700;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        font-size: 0.8125rem;
    }

    .ht-mobile-nav__section-title {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.45);
        margin: 0.75rem 0 0.35rem;
    }

    .ht-mobile-nav__accordion {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        margin-top: 0.25rem;
    }

    .ht-mobile-nav__acc-btn {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        padding: 0.75rem 0.25rem;
        border: none;
        background: none;
        color: #fff;
        font-family: inherit;
        font-size: 0.9375rem;
        font-weight: 600;
        cursor: pointer;
        min-height: 44px;
        text-align: left;
    }

    .ht-mobile-nav__acc-btn i {
        transition: transform 0.2s ease;
        opacity: 0.7;
    }

    .ht-mobile-nav__acc-btn[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

    .ht-mobile-nav__acc-panel {
        display: none;
        padding: 0 0 0.5rem 0.5rem;
    }

    .ht-mobile-nav__acc-panel.is-open {
        display: block;
    }

    .ht-mobile-nav__subgroup {
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.4);
        margin: 0.65rem 0 0.25rem;
    }

    .ht-mobile-nav__service-link {
        display: block;
        padding: 0.5rem 0;
        color: rgba(255, 255, 255, 0.85);
        text-decoration: none;
        font-size: 0.875rem;
        min-height: 44px;
        line-height: 1.35;
    }

    .ht-mobile-nav__service-link--hub {
        color: #7ac3f0;
        font-weight: 600;
        margin-bottom: 0.25rem;
    }

    .ht-mobile-nav__lang {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ht-mobile-nav__lang a,
    .ht-mobile-nav__lang span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        font-size: 18px;
        text-decoration: none;
    }

    .ht-mobile-nav__lang span {
        background: rgba(255, 255, 255, 0.18);
        box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.35);
    }

    .ht-mobile-nav__book {
        display: flex;
        margin-top: 0.75rem;
    }

    .ht-mobile-nav__book .ht-btn-appointment {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 0.9375rem;
    }

    body.ht-mobile-nav-open {
        overflow: hidden;
    }
}

@media (min-width: 769px) {
    .ht-mobile-nav-toggle,
    .ht-mobile-nav {
        display: none !important;
    }
}
