/* Fonts are loaded via <link rel="stylesheet"> in each HTML page —
   a blocking @import inside CSS waterfalls the request and hurts LCP. */

:root {
    --bg-color: #FFFFFF;
    /* Changed from #F3F1EC to White */
    --text-color: #2D2D2D;
    /* Dark grey */
    --accent-color: #ffffff;
    --font-main: 'Space Mono', monospace;
    /* Updated to Space Mono for body text */
    --font-header: 'Space Mono', monospace;
    /* Standardized to Space Mono for headers too */
    --font-logo: 'Syncopate', sans-serif;
    /* Wide, futuristic for logo */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
    -webkit-text-size-adjust: 100%;
}

html,
body {
    overflow-x: hidden;
}

body,
button,
input,
textarea,
select,
a {
    color: var(--text-color);
}

button,
a,
input,
textarea,
select {
    -webkit-tap-highlight-color: transparent;
    -moz-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline: none;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    /* padding-top removed to allow hero to be behind nav */
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1400px;
    /* Wide container */
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-header);
    font-weight: 700;
    /* Ensure bold headers */
    letter-spacing: -0.02em;
    /* Tighter tracking for display */
}

/* Header */
.header {
    position: fixed;
    /* Changed back to fixed for sticky behavior */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* High z-index to stay above content */
    padding: 1.5rem 0;
    color: var(--text-color);
    /* Dark text */
    background-color: transparent;
    /* Transparent background */
    /* border-bottom removed */
    /* box-shadow removed for clean look */
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    /* Smooth transition */
}

.header.header-transparent {
    color: #fff;
}

.header.scrolled {
    background-color: #fff;
    color: var(--text-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    /* Shadow appears on scroll */
}


.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-left,
.nav-right {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.nav-link {
    opacity: 0.8;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) skewX(-10deg);
    font-family: var(--font-logo);
    font-weight: 900;
    font-size: 2rem;
    letter-spacing: -0.08em;
    text-transform: uppercase;
    font-style: italic;
    margin-right: -5px;
    /* visual correction */
}

.icon-link {
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    position: relative;
    cursor: pointer;
}

/* Inline Search Styles */
.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
}

.search-input-inline {
    width: 0;
    opacity: 0;
    border: none;
    border-bottom: 1px solid currentColor;
    background: transparent;
    color: inherit;
    font-family: var(--font-main);
    font-size: 0.85rem;
    padding: 2px 0;
    outline: none;
    transition: width 0.4s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.search-input-inline.active {
    width: 180px;
    opacity: 1;
    margin-right: 15px;
    padding-left: 5px;
}

@media (max-width: 768px) {
    .search-input-inline.active {
        width: 120px;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-direction: column;
    gap: 5px;
    z-index: 1502;
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease;
    transform-origin: center;
}

/* Cross state */
.mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* White color when menu open */
.mobile-menu-btn.active {
    color: #fff;
}

/* Lift header above drawer when menu is open */
.header.menu-open {
    z-index: 1502;
    background: transparent !important;
    box-shadow: none !important;
}

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

/* Ensure mobile menu button inherits color change */
.header.scrolled .mobile-menu-btn:not(.active) {
    color: var(--text-color);
}

/* ===== Mobile Menu Drawer ===== */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #0d0d0d;
    color: #fff;
    z-index: 1501;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.08);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
}

.mobile-menu-drawer.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.mobile-menu-link {
    font-family: var(--font-logo);
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    padding: 0.8rem 1rem;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease,
                opacity 0.4s ease,
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    font-style: italic;
    transform: translateY(20px) skewX(-10deg);
    opacity: 0;
}

.mobile-menu-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-link:nth-child(3) { transition-delay: 0.25s; }
.mobile-menu-link:nth-child(4) { transition-delay: 0.3s; }
.mobile-menu-link:nth-child(5) { transition-delay: 0.35s; }
.mobile-menu-link:nth-child(6) { transition-delay: 0.4s; }

.mobile-menu-drawer.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0) skewX(-10deg);
}

.mobile-menu-link-logo {
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.mobile-menu-link:hover,
.mobile-menu-link:active {
    color: #fff;
}

/* Reset delays on close for instant hide */
.mobile-menu-drawer:not(.active) .mobile-menu-link {
    transition-delay: 0s;
}


.mobile-menu-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
}

.mobile-menu-socials {
    display: flex;
    gap: 2rem;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease 0.45s, transform 0.4s ease 0.45s;
}

.mobile-menu-drawer.active .mobile-menu-socials {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-drawer:not(.active) .mobile-menu-socials {
    transition-delay: 0s;
}

.mobile-menu-socials a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 1.4rem;
    transition: color 0.3s ease;
}

.mobile-menu-socials a:hover {
    color: #fff;
}

/* Hero Section */
/* Hero Section */
/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    /* Let image dictate height to prevent cropping */
    min-height: auto;
    display: block;
    color: var(--text-color);
    overflow: hidden;
}

.hero-bg {
    position: relative;
    /* Relative so it takes up space */
    width: 100%;
    height: auto;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: auto;
    object-fit: contain;
    /* Ensure full image is visible */
    display: block;
    image-rendering: auto;
    /* Forces smooth edge interpolation, not pixelated */
    image-rendering: smooth;
    /* Legacy / broader support */
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    will-change: transform;
}



.hero-content {
    position: absolute;
    /* Overlay covers the image area exactly */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center content */
    align-items: center;
    /* Horizontally center content */
    text-align: center;
    /* Flexbox handles centering, so standard fadeInUp (translateY) is safe */
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-title {
    font-size: 12vw;
    font-weight: 700;
    line-height: 0.8;
    text-transform: uppercase;
    margin-bottom: 2rem;
    font-family: var(--font-header);
}

.hero-logo-large {
    font-family: var(--font-logo);
    font-size: 9rem;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    font-style: italic;
    letter-spacing: -0.1em;
    transform: skewX(-10deg);
    margin-left: -15px;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-transform: lowercase;
    opacity: 0.9;
    letter-spacing: 0.1em;
}

.hero-btn {
    background: #000;
    color: #fff;
    padding: 1rem 3.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    text-transform: lowercase;
    font-weight: 500;
    transition: transform 0.3s ease;
}

.hero-btn:hover {
    transform: scale(1.05);
}

/* Info Bar */
.info-bar {
    padding: 4rem 0;
}

.info-bar-inner {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.info-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.5);
    /* subtle border */
    transition: transform 0.3s ease;
}

.info-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-item:hover .info-circle {
    transform: scale(1.05);
}

.info-item span {
    font-size: 0.75rem;
    text-transform: lowercase;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

/* New Drop Section */
.new-drop {
    padding: 2rem 0 6rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-family: var(--font-logo);
    /* Using the same style for headers */
    font-size: 2.5rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #3e3e3e;
    /* Slightly softer than black */
    font-style: italic;
    transform: skewX(-10deg);
    letter-spacing: -0.05em;
}

.section-header p {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    opacity: 0.6;
    margin-top: 0.5rem;
}

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

.category-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    /* Vertical card shape */
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover img {
    transform: scale(1.03);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent);
}

.card-content h3 {
    color: #fff;
    font-weight: 400;
    /* Made thinner as requested */
    text-transform: uppercase;
    font-size: 1rem;
    line-height: 1.2;
    line-height: 1.2;
    letter-spacing: 0.05em;
    /* Uses inherited font (now Space Mono) */
}

.card-arrow {
    background: #fff;
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1rem;
    transition: background 0.3s;
}

.card-arrow:hover {
    background: #eee;
}

/* Category Card — "Смотреть всё" (mobile only) */
.category-card-all {
    background: #0d0d0d;
    display: none;
    align-items: center;
    justify-content: center;
}

@media (max-width: 768px) {
    .category-card-all {
        display: flex;
    }
}

.card-all-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.card-all-text {
    color: #fff;
    font-family: var(--font-header);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}

.category-card-all .card-arrow {
    background: #fff;
    color: #0d0d0d;
}

.category-card-all:hover .card-arrow {
    background: #ccc;
}


/* Responsiveness */
@media (max-width: 1024px) {
    .hero-logo-large {
        font-size: 6rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-left {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        order: 4;
    }

    .header-inner {
        position: relative;
    }

    .logo {
        position: static;
        transform: skewX(-10deg);
        order: 1;
        font-size: 1.5rem;
    }

    .nav-right {
        display: flex !important;
        order: 3;
        margin-left: auto;
        gap: 1rem;
        font-size: 1.2rem;
    }

    .hero-logo-large {
        font-size: 3.5rem;
        /* Smaller on mobile */
    }

    .info-bar-inner {
        gap: 1.5rem;
        padding: 0 1rem;
        overflow-x: auto;
        /* Allow scrolling if items are too wide? Or grid */
        justify-content: space-around;
    }

    .info-circle {
        width: 80px;
        height: 80px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .category-card {
        aspect-ratio: 3/4;
    }

    .card-content {
        padding: 1rem;
    }

    .card-content h3 {
        font-size: 0.8rem;
    }

    .card-all-text {
        font-size: 0.85rem;
    }

    .card-arrow {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .container {
        padding: 0 1rem;
    }

    .new-drop {
        padding: 1rem 0 3rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-header p {
        font-size: 0.75rem;
    }

    .info-bar {
        padding: 2rem 0;
    }

    .info-bar-inner {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .info-bar-inner::-webkit-scrollbar {
        display: none;
    }

    .info-item span {
        font-size: 0.65rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-btn {
        padding: 0.8rem 2.5rem;
        font-size: 0.85rem;
    }

    .bestsellers-marquee {
        padding: 0 0 3rem;
    }

    .about-text-center h2 {
        font-size: 2rem;
    }

    .about-text-center p {
        font-size: 0.9rem;
    }

    .footer-bottom {
        margin-top: 2rem;
        font-size: 0.75rem;
    }
}

/* ===== Small Phone Breakpoint ===== */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero-logo-large {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
    }

    .hero-btn {
        padding: 0.7rem 2rem;
        font-size: 0.8rem;
    }

    .section-header h2 {
        font-size: 1.5rem;
    }

    .section-header p {
        font-size: 0.7rem;
    }

    .info-circle {
        width: 65px;
        height: 65px;
    }

    .info-item span {
        font-size: 0.6rem;
    }

    .about-text-center h2 {
        font-size: 1.75rem;
    }

    .about-text-center p {
        font-size: 0.85rem;
    }

    .footer {
        padding: 2rem 1rem 1rem;
    }

    .footer-col a {
        font-size: 0.85rem;
    }

    .footer-col h4 {
        font-size: 0.8rem;
    }

    .footer-bottom {
        font-size: 0.7rem;
    }
}

/* About Brand Images Section - Edge to Edge, slightly reduced */
.about-brand-images {
    padding: 0;
    width: 100%;
    margin-bottom: 2rem;
    overflow: hidden;
}

.about-brand-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.side-img {
    width: 28%;
    /* Reduced from 35% */
    height: auto;
    object-fit: cover;
    max-height: 65vh;
    /* Reduced from 80vh */
    border-radius: 0;
}

.about-text-center {
    flex: 1;
    text-align: center;
    padding: 0 1rem;
    max-width: 600px;
}

.about-text-center h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.about-text-center p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .about-brand-inner {
        flex-direction: column;
        gap: 2rem;
    }

    .side-img {
        width: 100%;
        max-height: 400px;
    }
}

/* Bestsellers Manual Slider */
.bestsellers-marquee {
    padding: 0 0 6rem;
    overflow: hidden;
    width: 100%;
}

.marquee-wrapper {
    width: 100%;
    overflow: hidden;
    /* Let Swiper handle the containment */
}

.marquee-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}



.marquee-img {
    height: 50vh;
    max-height: 400px;
    /* Reduced from 500px so it fits fully on screen */
    width: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
    /* margin-right and snap align moved to card */
}

.product-card {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.bestsellers-marquee .product-card {
    width: max-content;
    box-sizing: border-box;
}

/* Remove margin from last card if needed, or let it be */


.product-details {
    padding-top: 1rem;
    text-align: center;
}

.product-details h3 {
    font-size: 0.9rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: var(--font-header);
}

.product-details span {
    font-size: 0.85rem;
    opacity: 0.7;
    font-family: var(--font-main);
}

.product-status-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    padding: 4px 8px;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    font-weight: 600;
    color: #2e7d32;
    /* Green for stock */
    backdrop-filter: blur(4px);
    z-index: 2;
}

.availability-status {
    font-size: 0.8rem;
    margin-top: -0.5rem;
    color: #2e7d32;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.availability-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background-color: #2e7d32;
    border-radius: 50%;
}

.marquee-wrapper:active {
    cursor: grabbing;
}

/* Adjust for mobile */
/* Adjust for mobile */
@media (max-width: 768px) {
    .marquee-img {
        height: 40vh;
        max-height: 300px;
    }

    .product-card {
        margin-right: 1rem;
    }
}


/* Hero Grid Section */
.hero-grid {
    display: flex;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    /* Needed for absolute positioning of overlay */
}

/* Dark overlay for images */
.hero-grid-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Darken images by 40% */
    pointer-events: none;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    max-width: 800px;
    text-align: center;
    color: #fff;
    pointer-events: none;
    padding: 0 20px;
}

.overlay-content h2 {
    font-family: var(--font-logo);
    font-size: 2.5rem;
    /* Match .section-header h2 */
    font-weight: 700;
    margin-bottom: 1rem;
    /* Adjusted spacing */
    letter-spacing: -0.05em;
    text-transform: uppercase;
    font-style: italic;
    transform: skewX(-10deg);
    color: #fff;
    text-shadow: none;
}

.overlay-content p {
    font-family: inherit;
    font-size: 1rem;
    /* Standard readable size */
    line-height: 1.6;
    text-transform: none;
    /* Sentence case for readability */
    letter-spacing: 0.05em;
    opacity: 0.9;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: none;
}

.overlay-btn {
    display: inline-block;
    margin-top: 2rem;
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 1rem 3rem;
    font-family: inherit;
    text-transform: lowercase;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    pointer-events: auto;
    /* Enable clicking */
}

.overlay-btn:hover {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.hero-overlay img {
    display: none;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal.fade-in {
    transform: translateY(0);
    /* No slide for pure fade */
}

/* Stagger delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

.delay-400 {
    transition-delay: 0.4s;
}

.delay-500 {
    transition-delay: 0.5s;
}

/* Enhanced Hover Effects */
.hover-zoom {
    overflow: hidden;
    /* Ensure image doesn't overflow container */
    display: block;
}

.hover-zoom img {
    transition: transform 0.6s ease;
}

.hover-zoom:hover img {
    transform: scale(1.05);
}

/* Specific component tweaks for animations */
.hero-content {
    /* Initial state handled by .reveal if applied, 
       or use animation for load */
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.product-card {
    transition: transform 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    /* Lift effect */
}

.hero-grid-item {
    width: 50%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero-grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .hero-grid {
        flex-direction: column;
    }

    .hero-grid-item {
        width: 100%;
        height: 50vh;
    }

    .hero-overlay {
        padding: 0 1rem;
    }

    .overlay-content h2 {
        font-size: 1.75rem;
    }

    .overlay-content p {
        font-size: 0.85rem;
    }

    .overlay-btn {
        padding: 0.8rem 2rem;
        font-size: 0.8rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .hero-grid-item {
        height: 40vh;
    }

    .overlay-content h2 {
        font-size: 1.25rem;
    }

    .overlay-content p {
        font-size: 0.75rem;
    }
}

/* ==========================================================================
   Footer Base Styles (Restored)
   ========================================================================== */
.footer {
    background-color: #0d0d0d;
    color: #fff;
    padding: 4rem 2rem 2rem;
    font-family: var(--font-header);
    position: relative;
    z-index: 10;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.footer-links {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-width: 200px;
    flex: 1;
}

.footer-col h4 {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #888;
    margin-bottom: 0.5rem;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    opacity: 0.9;
}

.footer-col a:hover {
    opacity: 1;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.social-icons a {
    color: #fff;
    font-size: 1.5rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.8rem;
    color: #666;
    letter-spacing: 0.05em;
}

/* Footer Media Queries */
@media (max-width: 768px) {
    .footer {
        padding: 3rem 1.5rem 1.5rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2.5rem;
    }

    .footer-col {
        min-width: 100%;
        text-align: center;
        align-items: center;
    }
}

/* Story Modal Styles */
.story-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    visibility: hidden;
    pointer-events: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.story-modal.active {
    visibility: visible;
    pointer-events: all;
    opacity: 1;
}

.story-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.story-container {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 90vh;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transform: translateY(40px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.story-modal.active .story-container {
    transform: translateY(0) scale(1);
}

.story-progress-container {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
    z-index: 10;
}

.story-progress-bar {
    height: 2px;
    flex: 1;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
}

.story-progress-fill {
    height: 100%;
    width: 0%;
    background: #fff;
    transition: width linear;
}

.story-header {
    position: absolute;
    top: 25px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10;
    color: #fff;
}

.story-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.story-author-img {
    width: 32px;
    height: 32px;
    background: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.story-author-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.story-author-name {
    font-size: 0.85rem;
    font-weight: 600;
}

.story-time {
    font-size: 0.85rem;
    opacity: 0.6;
}

.story-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.story-close:hover {
    opacity: 1;
}

.story-content {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.story-content img,
.story-content video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 100px 20px 40px;
    color: #fff;
    text-align: left;
    z-index: 6;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    pointer-events: none;
    /* Allow clicks to pass through to navigation areas */
}

.story-text-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    font-family: 'Syncopate', sans-serif;
    transform: skewX(-5deg);
}

.story-text-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    opacity: 0.9;
}

.story-text-content.has-link {
    padding-bottom: 80px;
}

.story-link-btn {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.92);
    color: #111;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    backdrop-filter: blur(6px);
    z-index: 10;
    transition: background 0.2s, transform 0.2s;
}
.story-link-btn:hover {
    background: #fff;
    transform: translateX(-50%) scale(1.04);
}
.story-link-btn ion-icon {
    font-size: 1rem;
}

.story-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    z-index: 5;
}

.story-nav-prev,
.story-nav-next {
    flex: 1;
    cursor: pointer;
}

.story-instagram-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin-left: 8px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    transition: background 0.2s ease;
    flex-shrink: 0;
}
.story-instagram-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}
.story-instagram-btn ion-icon {
    font-size: 1rem;
    color: #fff;
}

@media (max-width: 480px) {
    .story-container {
        max-width: 100%;
        height: 100vh;
        border-radius: 0;
    }
}

/* --- Product Modal --- */
.product-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.product-modal-wrapper.active {
    opacity: 1;
    visibility: visible;
}

.product-modal-content {
    background: #fff;
    width: 90%;
    max-width: 1000px;
    height: 90vh;
    max-height: 700px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    /* Hide outer overflow to keep corners sharp */
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.product-modal-inner {
    height: 100%;
    width: 100%;
    overflow-y: auto;
    padding: 40px;
}

/* Custom Webkit Scrollbar for Inner Wrapper */
.product-modal-inner::-webkit-scrollbar {
    width: 8px;
}

.product-modal-inner::-webkit-scrollbar-track {
    background: transparent;
}

.product-modal-inner::-webkit-scrollbar-thumb {
    background-color: #E5E5E5;
    border-radius: 4px;
}

.product-modal-inner::-webkit-scrollbar-thumb:hover {
    background-color: #ccc;
}

.product-modal-wrapper.active .product-modal-content {
    transform: translateY(0);
}

.product-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #333;
    z-index: 10;
}

.product-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    height: 100%;
}

/* Left: Gallery */
.product-modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.product-main-img-container {
    background: transparent;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    aspect-ratio: 4/5;
    max-height: 60vh;
    overflow: hidden;
    cursor: zoom-in;
}

.product-main-img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform-origin: center center;
}

.product-main-img-container:hover img {
    transform: scale(2);
}

.product-thumbnails {
    display: flex;
    gap: 12px;
}

.product-thumbnail {
    width: 80px;
    height: 100px;
    background: transparent;
    border-radius: 6px;
    border: 1px solid transparent;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    transition: border-color 0.2s;
}

.product-thumbnail.active {
    border-color: #000;
}

.product-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Right: Details */
.product-modal-details {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 10px;
}

.modal-brand {
    font-family: 'Syncopate', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #000;
}

.modal-title {
    font-size: 28px;
    font-weight: 500;
    margin: 0;
    line-height: 1.2;
}

.modal-reviews {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.stars {
    color: #E2C044;
    display: flex;
    gap: 2px;
    font-size: 14px;
}

.review-count {
    font-size: 12px;
    color: #888;
}

.modal-price {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 12px;
}

.modal-section {
    margin-bottom: 20px;
}

.modal-label {
    display: block;
    font-size: 14px;
    color: #333;
    font-weight: 600;
    margin-bottom: 10px;
}

.color-value {
    font-weight: 400;
    color: #777;
    margin-left: 8px;
}

.modal-colors {
    display: flex;
    gap: 10px;
}

.color-swatch {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    border: 1px solid #E5E5E5;
    background: #F2F2F2;
    padding: 4px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: border-color 0.2s;
}

.color-swatch.active {
    border-color: #000;
}

.color-swatch img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.modal-size-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 10px;
}

.size-region {
    font-weight: 400;
    color: #777;
    margin-left: 8px;
}

.size-guide-link {
    font-size: 12px;
    color: #888;
    text-decoration: underline;
}

.modal-sizes {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.size-btn {
    padding: 12px 0;
    border: 1px solid #E5E5E5;
    background: #fff;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    color: #333;
}

.size-btn:hover {
    border-color: #000;
}

.size-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 10px;
    margin-bottom: 16px;
}

.add-to-cart-btn {
    flex-grow: 1;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.add-to-cart-btn:hover {
    background: #333;
}

.favorite-btn {
    width: 56px;
    background: #F2F2F2;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    transition: background 0.2s;
}

.favorite-btn:hover {
    background: #e6e5df;
}

.modal-delivery-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
    margin-top: 5px;
}

.modal-delivery-info ion-icon {
    font-size: 18px;
}

/* Responsive Product Modal */
@media (max-width: 768px) {
    .product-modal-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .product-modal-inner {
        padding: 24px;
    }

    .product-main-img-container {
        min-height: 300px;
        padding: 10px;
    }

    .modal-actions {
        margin-top: 20px;
    }

    .modal-sizes {
        grid-template-columns: repeat(4, 1fr);
    }

    .modal-price {
        font-size: 28px;
    }

    .modal-title {
        font-size: 24px;
    }
}

/* --- Cart Drawer --- */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cart-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 400px;
    height: 100vh;
    background: #fff;
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.cart-header h2 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    letter-spacing: 0.05em;
}

.close-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.close-cart:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-items::-webkit-scrollbar {
    width: 6px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

.cart-item {
    display: flex;
    gap: 15px;
    align-items: center;
}

.cart-item-img {
    width: 80px;
    height: 100px;
    background: #f9f9f9;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.cart-item-info h4 {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
    text-transform: uppercase;
}

.cart-item-info p {
    font-size: 0.85rem;
    color: #666;
    margin: 0;
}

.remove-item {
    background: none;
    border: none;
    color: #999;
    font-size: 0.8rem;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    text-align: left;
    margin-top: 5px;
    transition: color 0.3s;
}

.remove-item:hover {
    color: #000;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #fff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.cart-footer .checkout-btn {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: background 0.3s;
}

.cart-footer .checkout-btn:hover {
    background: #333;
}

/* --- Cart Quantity Controls --- */
.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 0;
}

.qty-btn {
    width: 28px;
    height: 28px;
    background: transparent;
    border: 1px solid #ddd;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s;
    padding: 0;
    line-height: 1;
}

.qty-btn:hover {
    border-color: #000;
}

.qty-value {
    font-size: 0.85rem;
    font-weight: 500;
    min-width: 20px;
    text-align: center;
}

.cart-item-price {
    font-weight: 500;
    color: #000 !important;
}

/* --- Promo Code Section --- */
.promo-section {
    margin-bottom: 15px;
}

.promo-input-row {
    display: flex;
    gap: 8px;
}

.promo-input {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px 12px;
    font-family: inherit;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    outline: none;
    transition: border-color 0.2s;
}

.promo-input:focus {
    border-color: #000;
}

.promo-apply-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 16px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    letter-spacing: 0.05em;
    transition: background 0.2s;
}

.promo-apply-btn:hover {
    background: #333;
}

.promo-message {
    font-size: 0.75rem;
    margin-top: 6px;
    min-height: 16px;
}

.promo-message.success {
    color: #2a7d2a;
}

.promo-message.error {
    color: #c00;
}

/* --- Cart Totals Block --- */
.cart-totals-block {
    margin-bottom: 15px;
}

.cart-subtotal,
.cart-discount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 6px;
}

.cart-discount span:last-child {
    color: #2a7d2a;
}

/* ===== Cart Drawer Mobile ===== */
@media (max-width: 480px) {
    .cart-drawer {
        max-width: 100%;
    }

    .cart-header h2 {
        font-size: 1rem;
    }

    .cart-item-img {
        width: 65px;
        height: 80px;
    }

    .cart-item-info h4 {
        font-size: 0.8rem;
    }

    .cart-item-info p {
        font-size: 0.8rem;
    }

    .cart-total {
        font-size: 1rem;
    }

    .cart-footer .checkout-btn {
        min-height: 48px;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
    }
}

/* ===== Product Modal Mobile (480px) ===== */
@media (max-width: 480px) {
    .product-modal-content {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        border-radius: 0;
    }

    .product-modal-inner {
        padding: 16px;
    }

    .product-modal-close {
        top: 10px;
        right: 10px;
    }

    .modal-sizes {
        grid-template-columns: repeat(3, 1fr);
    }

    .modal-title {
        font-size: 20px;
    }

    .modal-price {
        font-size: 24px;
    }

    .size-btn {
        min-height: 44px;
    }

    .add-to-cart-btn {
        min-height: 48px;
    }
}

/* ===== Hero Mobile Override (must be last) ===== */
@media (max-width: 768px) {
    .hero-video {
        left: -172px;
        width: calc(100% + 172px);
        object-position: 0% 20%;
    }

    .page-home .hero-content {
        justify-content: flex-end !important;
        padding-bottom: 35vh;
        background: radial-gradient(ellipse at center 55%, rgba(255,255,255,0.25) 0%, rgba(255,255,255,0) 50%);
    }

    .page-home .hero-logo-large {
        margin-bottom: 0.1rem;
    }

    .page-home .hero-subtitle {
        margin-bottom: 0.8rem;
    }

    .page-home .hero-btn {
        margin-top: 0.5rem;
        padding: 0.9rem 2.5rem;
        font-size: 0.8rem;
    }
}