/* ============================================================
   MOBILE-MENU.CSS — MV Moda Femenina
   Mobile menu + Desktop nav overrides
   ============================================================ */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--cream);
    display: flex;
    flex-direction: column;
    padding: 0 28px 40px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(.2,.7,.2,1);
    pointer-events: none;
}

.mobile-menu.open {
    transform: translateX(0);
    pointer-events: auto;
}

/* backdrop not needed for fullscreen — kept as no-op */
.mm-backdrop {
    display: none;
}
.mm-panel {
    display: contents;
}

.mm-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    border-bottom: 1px solid var(--border);
    flex-shrink: 0;
}

.mm-logo-img {
    height: 26px;
    width: auto;
    filter: invert(1) sepia(1) saturate(0.3) brightness(0.35);
}

.mm-close {
    display: flex;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--warm-gray);
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: flex-end;
    transition: color 0.2s;
}

/* Slogan in the upper area */
.mm-slogan {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 16px;
    background: radial-gradient(ellipse 70% 55% at 50% 50%, rgba(184,153,104,0.07) 0%, transparent 100%);
}

.mm-slogan p {
    font-family: var(--f-italic);
    font-style: italic;
    font-size: 26px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--warm-gray);
    letter-spacing: 0.3px;
}

.mm-slogan-line {
    width: 36px;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--gold), transparent);
    opacity: 0.55;
    margin: 18px 0;
}

/* Nav pushes to bottom */
.mm-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0;
    overflow: visible;
}

.mm-link {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    gap: 4px 12px;
    flex-wrap: wrap;
    background: none;
    border-left: none;
    border-right: none;
    border-bottom: none;
    cursor: pointer;
    color: var(--ink);
    font-family: var(--f-body);
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.mm-link:last-child {
    border-bottom: 1px solid var(--border-light);
}

.mm-link-label {
    font-family: var(--f-display);
    font-size: 26px;
    font-weight: 400;
    letter-spacing: 0.3px;
    flex: 1;
}

.mm-link.active .mm-link-label {
    font-style: italic;
    color: var(--gold);
}

.mm-link-sub {
    font-size: 10px;
    color: var(--warm-gray);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    width: 100%;
    order: 2;
}

.mm-link-arrow {
    color: var(--warm-gray);
    font-size: 14px;
}

.mm-foot {
    padding-top: 24px;
    padding-bottom: 16px;
    border-top: 1px solid var(--border);
    margin-top: 24px;
    flex-shrink: 0;
    transition: padding-bottom 0.3s ease;
}

/* Push mm-foot up when cart bar is visible */
body.has-cart-bar .mm-foot {
    padding-bottom: 84px;
}

.mm-foot-title {
    font-family: var(--f-display);
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    margin-bottom: 6px;
    color: var(--warm-gray);
}

.mm-foot-text {
    font-size: 12px;
    color: var(--warm-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

.mm-foot-link {
    display: inline-block;
    margin-right: 20px;
    padding: 6px 0;
    font-size: 11px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    transition: color 0.2s, border-color 0.2s;
}

.mm-foot-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

/* ── Desktop nav (≥ 768px) ── */

@media (min-width: 1024px) {
    .mv-header {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 18px 48px;
    }

        .mv-header.scrolled {
        padding: 12px 48px;
    }

        .hdr-menu {
        display: none;
    }

    /* Left: nav links pushed toward center (inward) */
    .hdr-left {
        justify-content: flex-end;
        padding-right: 36px;
    }

    .hdr-nav-left {
        display: flex;
        gap: 28px;
    }

    /* Logo: centered in its 1fr column */
        .hdr-logo {
        justify-self: center;
    }

        .hdr-logo-img {
        height: 26px;
    }

    /* Right: nav close to logo, icons pushed to far right edge */
    .hdr-right {
        padding-left: 36px;
        justify-content: flex-start;
    }

    .hdr-nav-right {
        display: flex;
        gap: 28px;
    }

        .hdr-icons {
        margin-left: auto;
    }

    /* Desktop: text label, no icon/badge */
        .cart-label {
        display: inline;
    }
        .cart-num {
        display: inline;
        font-feature-settings: 'tnum';
    }
        .cart-icon {
        display: none;
    }
        .cart-badge {
        display: none !important;
    }

        #searchBtn {
        display: flex;
    }
        .hdr-search-mobile {
        display: none;
    }
}

/* ── Wishlist: Side-Panel auf Desktop ── */

@media (min-width: 768px) {
    .wl-overlay {
        top: 0;
        right: 0;
        bottom: 0;
        left: auto;
        width: 440px;
        box-shadow: -8px 0 32px rgba(0,0,0,0.12);
        transform: translateX(110%);
    }

    .wl-overlay.open {
        transform: translateX(0);
    }
}
