/* --- DESKTOP HEADER (INITIAL STATE - HERO) --- */
.desktop-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent;
    border-bottom: none;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* HIDDEN STATE (When scrolled past Hero) */
.desktop-header.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
}

.desktop-header .logo img {
    height: 72px;
    width: auto;
    display: block;
}

.desktop-nav {
    display: flex;
    gap: 2.6rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.desktop-nav a {
    position: relative;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: all 0.3s;
    transform: translateX(-50%);
}

.desktop-nav a:hover::after {
    width: 100%;
}

.desktop-controls {
    display: flex;
    align-items: center;
    gap: 1.2rem;
}

.account-pill {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.55rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50px;
    backdrop-filter: blur(4px);
    transition: all 0.4s;
}

.account-pill:hover {
    border-color: rgba(255, 255, 255, 0.9);
}

.action-link {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 600;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

.separator {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.45);
}

.lang-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    opacity: 0.9;
    margin-left: 0.6rem;
    letter-spacing: 0.16em;
    text-shadow: 0 8px 18px rgba(0, 0, 0, 0.45);
}

/* HEADER LIGHT THEME (Desktop) */
.desktop-header.nav-light {
    color: var(--indigo);
}

.desktop-header.nav-light .desktop-nav a,
.desktop-header.nav-light .action-link,
.desktop-header.nav-light .lang-text {
    color: var(--indigo);
    text-shadow: 0 6px 14px rgba(255, 255, 255, 0.6);
}

.desktop-header.nav-light .account-pill {
    border-color: rgba(15, 23, 42, 0.25);
}

.desktop-header.nav-light .separator {
    background: rgba(15, 23, 42, 0.25);
}

/* --- VARIATION 1: MINIMAL TOGGLE (Appears on Scroll) --- */
.desktop-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 150;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.4s ease;
    background: transparent;
    border: none;
}

/* Show toggle only when 'show' class is added (on scroll) */
.desktop-toggle.show {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
}

.desktop-toggle .bar {
    width: 30px;
    height: 1px;
    background: var(--accent);
    margin: 6px 0;
    transition: 0.3s;
}

.desktop-toggle:hover .bar {
    margin: 8px 0;
    background: var(--text-color);
}

/* Theme awareness for Toggle */
.desktop-toggle.light .bar {
    background: var(--indigo);
}

/* --- MINIMAL SIDEBAR (Right Drawer) --- */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 400px;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    z-index: 140;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.7, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

body.desktop-menu-open .sidebar {
    transform: translateX(0);
}

.sidebar-nav a {
    display: block;
    font-family: var(--font-head);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--text-color);
    opacity: 0.6;
    transition: 0.3s;
    text-transform: uppercase;
}

.sidebar-nav a:hover {
    opacity: 1;
    transform: translateX(10px);
    color: var(--accent);
}

/* --- MOBILE HEADER --- */
.mobile-header {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 68px;
    padding: 0 1.2rem;
    justify-content: space-between;
    align-items: center;
    z-index: 200;
    background: transparent;
    border-bottom: none;
    transition: all 0.4s ease;
}

.mobile-header.scrolled {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-logo img {
    height: 46px;
    width: auto;
    display: block;
}

.hamburger-btn {
    appearance: none;
    padding: 0;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.menu-lines {
    display: grid;
    gap: 6px;
}

.bar-mobile {
    width: 22px;
    height: 2px;
    background: #F6F2EA;
}

.mobile-header.nav-light .hamburger-btn {
    border-color: rgba(15, 23, 42, 0.3);
    background: rgba(246, 242, 234, 0.6);
}

.mobile-header.nav-light .bar-mobile {
    background: var(--indigo);
}

/* Mobile Overlay Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: var(--bg-color);
    z-index: 260;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 2rem;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

/* When the overlay menu is open, keep the UI clean (no header/hamburger above). */
body.mobile-menu-open {
    overflow: hidden;
}

body.mobile-menu-open .mobile-header {
    opacity: 0;
    pointer-events: none;
}

.overlay-close {
    appearance: none;
    padding: 0;
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    cursor: pointer;
}

.overlay-close::before,
.overlay-close::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 2px;
    background: #F6F2EA;
    transform-origin: center;
}

.overlay-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.overlay-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.mobile-nav-links a {
    font-family: var(--font-head);
    font-size: 2rem;
    color: var(--text-color);
    text-transform: uppercase;
}

.mobile-secondary-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    width: 100%;
}

.mobile-action-link {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--accent);
}

/* --- Cookie Banner (template) --- */
.cookie-banner {
    position: fixed;
    left: 1.2rem;
    right: 1.2rem;
    bottom: 1.2rem;
    z-index: 999;
}

.cookie-banner__inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    padding: 1rem 1.2rem;
    border-radius: 18px;
    border: 1px solid rgba(176, 141, 87, 0.35);
    background: rgba(15, 23, 42, 0.92);
    backdrop-filter: blur(14px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
}

.cookie-banner__text {
    font-size: 0.95rem;
    line-height: 1.55;
    opacity: 0.92;
    max-width: 72ch;
}

.cookie-banner__text a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-banner__actions {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
}

.cookie-btn {
    appearance: none;
    border: 1px solid rgba(246, 242, 234, 0.35);
    background: transparent;
    color: var(--text-color);
    padding: 0.7rem 1rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cookie-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(246, 242, 234, 0.7);
}

.cookie-btn--primary {
    background: rgba(176, 141, 87, 0.95);
    border-color: rgba(176, 141, 87, 0.95);
    color: var(--indigo);
}

.cookie-btn--primary:hover {
    background: rgba(176, 141, 87, 1);
    border-color: rgba(176, 141, 87, 1);
}

.cookie-btn--ghost {
    border-color: rgba(176, 141, 87, 0.45);
    color: var(--accent);
}

@media (max-width: 768px) {
    .cookie-banner__inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-banner__actions {
        width: 100%;
        justify-content: flex-start;
    }
}

/* HERO */
.hero-sec {
    align-items: center;
    text-align: center;
    padding: 4rem;
}

.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    opacity: 0.45;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(15, 23, 42, 0.2) 0%, rgba(15, 23, 42, 0.65) 65%);
}

.hero-title {
    font-family: var(--font-head);
    font-weight: 400;
    font-size: clamp(3.4rem, 9.2vw, 10.8rem);
    line-height: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    opacity: 0;
    animation: titleReveal 1.6s cubic-bezier(0.22, 1, 0.36, 1) forwards 0.4s;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.hero-sub {
    margin-top: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.32em;
    font-size: 0.85rem;
    opacity: 0;
    animation: subReveal 1.1s ease forwards 1.05s;
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

@keyframes titleReveal {
    0% {
        transform: translateY(28px) scale(1.02);
        opacity: 0;
        letter-spacing: 0.12em;
        filter: blur(6px);
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
        letter-spacing: 0.04em;
        filter: blur(0);
    }
}

@keyframes subReveal {
    from {
        transform: translateY(16px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* INTRO */
.intro-sec {
    background: var(--ivory);
    color: var(--indigo);
    padding: 8rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 6rem;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.marquee-container {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    opacity: 0.05;
    font-family: var(--font-head);
    font-size: 12rem;
    line-height: 1;
    pointer-events: none;
    color: var(--indigo);
}

.marquee-content {
    display: inline-block;
    animation: marquee 40s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.intro-text h2 {
    font-family: var(--font-head);
    font-size: clamp(2.2rem, 4.2vw, 3.6rem);
    margin-bottom: 2rem;
    color: var(--accent);
    line-height: 1.1;
}

.intro-text p {
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.9;
    max-width: 520px;
}

.intro-visual img {
    width: 100%;
    box-shadow: 2rem 2rem 0px rgba(15, 23, 42, 0.05);
}

/* COLLECTION */
.collection-sec {
    background: var(--bg-color);
    z-index: 2;
    padding: 8rem 4rem;
}

.collection-header {
    margin-bottom: 4rem;
    text-align: left;
}

.collection-title {
    font-family: var(--font-head);
    font-size: clamp(2.4rem, 4vw, 3.6rem);
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.fit-card {
    aspect-ratio: 9/15;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: border 0.3s ease;
}

.fit-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.82;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.fit-card:hover {
    border-color: var(--accent);
}

.fit-card:hover .fit-img {
    transform: scale(1.05);
    opacity: 1;
}

.fit-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82), transparent);
}

.fit-name {
    font-family: var(--font-head);
    font-size: 1.55rem;
    display: block;
    letter-spacing: 0.02em;
}

.fit-desc {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 0.14em;
}

/* SHORTS */
.shorts-sec {
    background: var(--ivory);
    color: var(--indigo);
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    z-index: 2;
}

.shorts-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shorts-content {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 640px) {
    .shorts-sec {
        grid-template-columns: 1fr;
    }

    .shorts-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
        padding: clamp(1.25rem, 7vw, 2rem) 1rem;
    }

    .shorts-content .btn-main {
        width: 100%;
        min-height: 44px;
        padding-inline: 1rem;
    }
}

.shorts-content h2 {
    font-family: var(--font-head);
    font-size: clamp(2.6rem, 4.2vw, 4rem);
    margin-bottom: 2rem;
    color: var(--indigo);
}

.btn-main {
    padding: 1.1rem 2.4rem;
    border: 1px solid var(--indigo);
    background: transparent;
    color: var(--indigo);
    font-family: var(--font-body);
    font-size: 0.8rem;
    margin-top: 2rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.18em;
}

.btn-main:hover {
    background: var(--indigo);
    color: var(--ivory);
}

/* FOOTER */
.footer-sec {
    background: #0B1120;
    z-index: 2;
    padding: 6rem 4rem 3rem 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    min-height: auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 5rem;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-brand h2 {
    font-family: var(--font-head);
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.footer-brand p {
    max-width: 320px;
    font-size: 0.9rem;
    opacity: 0.6;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 6rem;
    flex-wrap: wrap;
}

.col h4 {
    font-family: var(--font-head);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--accent);
}

.col ul {
    list-style: none;
}

.col a {
    color: inherit;
    text-decoration: none;
}

.col li {
    margin-bottom: 0.8rem;
    font-size: 0.9rem;
    opacity: 0.7;
    cursor: pointer;
    transition: 0.2s;
}

.col li:hover {
    opacity: 1;
    color: var(--accent);
}

.col li:hover a {
    color: var(--accent);
}

.newsletter h4 {
    font-family: var(--font-head);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.news-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 0;
    width: 100%;
    color: white;
    margin-bottom: 1rem;
}

.news-input:focus {
    outline: none;
    border-color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.75rem;
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom a {
    color: inherit;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: var(--accent);
    opacity: 1;
}
