/* ==========================================================================
   Fullerton Product Showcase - Day/Night Theme System
   ========================================================================== */

/* Daytime Theme (Vapor Apparel - default) */
:root {
    --bg-dark: #FDF8F0;
    --bg-card: rgba(0, 0, 0, 0.03);
    --bg-glass: rgba(0, 0, 0, 0.04);
    --text-primary: #1C1917;
    --text-secondary: rgba(28, 25, 23, 0.6);
    --text-muted: rgba(28, 25, 23, 0.4);
    --accent-primary: #D97706;
    --accent-secondary: #0284C7;
    --accent-tertiary: #EA580C;
    --glow-primary: rgba(217, 119, 6, 0.3);
    --glow-secondary: rgba(2, 132, 199, 0.3);
    --border-subtle: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Nighttime Theme (Zuni Sportswear section) */
.brand-section[data-brand="zuni"] {
    --bg-dark: #0A0E1A;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-primary: #818CF8;
    --accent-secondary: #F59E0B;
    --accent-tertiary: #A78BFA;
    --glow-primary: rgba(129, 140, 248, 0.3);
    --glow-secondary: rgba(245, 158, 11, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    background: #0A0E1A;
}

/* Dark theme for footer area (follows Zuni section) */
.footer-cta,
.footer {
    --bg-dark: #0A0E1A;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-glass: rgba(255, 255, 255, 0.05);
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --accent-primary: #818CF8;
    --accent-secondary: #F59E0B;
    --accent-tertiary: #A78BFA;
    --glow-primary: rgba(129, 140, 248, 0.3);
    --glow-secondary: rgba(245, 158, 11, 0.3);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    background: #0A0E1A;
}

/* Nav dark mode (when scrolled into Zuni section) */
.nav.nav-dark {
    background: linear-gradient(180deg, rgba(10, 14, 26, 0.95) 0%, rgba(10, 14, 26, 0) 100%);
}

/* Logo swap handled by .nav-logo-vapor / .nav-logo-zuni display toggle */

.nav.nav-dark .nav-cart {
    color: #FFFFFF;
}

.nav.nav-dark .nav-cta {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
}

.nav.nav-dark .nav-cta:hover {
    background: #818CF8 !important;
    border-color: #818CF8 !important;
    color: white !important;
}

.nav.nav-dark .nav-category-pill {
    color: rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
}

.nav.nav-dark .nav-category-pill:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav.nav-dark .nav-category-pill.active {
    background: #818CF8;
    border-color: #818CF8;
    color: white;
}

.nav.nav-dark .nav-sub-pill {
    color: rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.08);
}

.nav.nav-dark .nav-sub-pill:hover {
    color: #FFFFFF;
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
}

.nav.nav-dark .nav-sub-pill.active {
    background: #818CF8;
    border-color: #818CF8;
    color: white;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) var(--bg-dark);
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: var(--accent-primary);
    color: white;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 4px;
}

/* ==========================================================================
   Progress Bar
   ========================================================================== */

.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    width: 0%;
    z-index: 9999;
    transition: width 0.1s linear;
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4rem;
    background: linear-gradient(180deg, rgba(253, 248, 240, 0.95) 0%, rgba(253, 248, 240, 0) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: background 0.3s ease;
}

.nav-logo-img {
    height: 32px;
    width: auto;
    transition: opacity 0.3s ease;
}

.nav-logo-zuni {
    display: none;
}

.nav.nav-dark .nav-logo-vapor {
    display: none;
}

.nav.nav-dark .nav-logo-zuni {
    display: block;
}

.nav-logo:hover .nav-logo-img {
    opacity: 0.8;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-cta {
    padding: 0.75rem 1.5rem !important;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out-quart) !important;
}

.nav-cta:hover {
    background: var(--accent-primary) !important;
    border-color: var(--accent-primary) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 40px var(--glow-primary);
}

/* Category pills in header */
.nav-categories {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease-out-quart);
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.nav.scrolled .nav-categories {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.nav-categories-brands {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-category-pill {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s var(--ease-out-quart);
}

.nav-category-pill:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.nav-category-pill.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* Nav subcategory pills */
.nav-subcategories {
    display: none;
    align-items: center;
    gap: 0.35rem;
}

.nav-subcategories.active {
    display: flex;
}

.nav-sub-pill {
    padding: 0.3rem 0.7rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.7rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s var(--ease-out-quart);
}

.nav-sub-pill:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.nav-sub-pill.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    top: -200px;
    left: -100px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-tertiary);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(-50px, -30px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s var(--ease-out-expo) 0.2s forwards;
    color: var(--text-secondary);
}

.eyebrow-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 10px var(--glow-primary));
}

.eyebrow-text {
    color: var(--accent-primary);
}

.hero-title {
    font-size: clamp(4rem, 15vw, 12rem);
    font-weight: 700;
    line-height: 0.9;
    letter-spacing: -0.03em;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(60px);
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

.title-line:first-child {
    animation-delay: 0.3s;
}

.title-accent {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-tertiary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.5s;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s var(--ease-out-expo) 0.7s forwards;
}

.hero-subtitle a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--accent-primary);
    transition: all 0.3s ease;
}

.hero-subtitle a:hover {
    color: var(--accent-primary);
    border-bottom-color: transparent;
}

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

/* ==========================================================================
   Category Navigation
   ========================================================================== */

.category-nav {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: opacity 0.4s var(--ease-out-quart);
}

.category-nav-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0 2rem;
}

.category-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s var(--ease-out-quart);
}

.pill-icon {
    font-size: 1.1rem;
}

.category-pill:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.category-pill.active {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 20px var(--glow-primary);
}

.category-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 1.4rem;
    height: 1.4rem;
    padding: 0 0.4rem;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
}

.category-pill.active .category-count {
    background: rgba(255, 255, 255, 0.25);
}

/* Subcategory dividers in product list */
.subcategory-divider {
    scroll-margin-top: 120px;
    text-align: center;
    padding: 3rem 2rem 1rem;
}

.subcategory-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-primary);
    padding: 0.5rem 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
}

/* Mobile Side Navigation */
.side-nav {
    display: none;
    position: fixed;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    flex-direction: column;
    gap: 1rem;
}

.side-nav-dot {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    padding: 0.5rem;
}

.side-nav-dot .dot {
    width: 10px;
    height: 10px;
    background: var(--text-muted);
    border-radius: 50%;
    transition: all 0.3s var(--ease-out-quart);
}

.side-nav-dot .dot-label {
    position: absolute;
    right: 2rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s var(--ease-out-quart);
    pointer-events: none;
}

.side-nav-dot:hover .dot-label {
    opacity: 1;
    transform: translateX(0);
}

.side-nav-dot:hover .dot {
    background: var(--accent-primary);
    transform: scale(1.3);
}

.side-nav-dot.active .dot {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    transform: scale(1.5);
    box-shadow: 0 0 15px var(--glow-primary);
}

/* ==========================================================================
   Brand Sections
   ========================================================================== */

.products-container {
    position: relative;
}

.brand-section {
    scroll-margin-top: 70px;
}

.brand-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 6rem 4rem 3rem;
    text-align: center;
}

.brand-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.brand-tagline {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.brand-product-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 0.4rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
}

/* Brand Resources */
.brand-resources {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 2rem 2rem 3rem;
    text-align: center;
}

.brand-resources h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.resource-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

.resource-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: all 0.3s var(--ease-out-quart);
}

.resource-link:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px var(--glow-primary);
}

/* ==========================================================================
   Transition Zone (Day → Night)
   ========================================================================== */

.transition-zone {
    position: relative;
    height: 30vh;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(180deg,
        #FDF8F0 0%,
        #F97316 20%,
        #EA580C 35%,
        #9333EA 50%,
        #4338CA 65%,
        #1E1B4B 80%,
        #0A0E1A 100%
    );
}

.transition-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    z-index: 10;
}

.sun-icon {
    font-size: 3rem;
    color: #FCD34D;
    filter: drop-shadow(0 0 20px rgba(252, 211, 77, 0.5));
    animation: sunPulse 3s ease-in-out infinite;
}

.moon-icon {
    font-size: 3rem;
    color: #C4B5FD;
    filter: drop-shadow(0 0 20px rgba(196, 181, 253, 0.5));
    animation: moonPulse 3s ease-in-out infinite;
    animation-delay: 1.5s;
}

@keyframes sunPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes moonPulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.1); opacity: 1; }
}

.transition-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(180deg, #FCD34D, #C4B5FD);
    opacity: 0.5;
}

/* ==========================================================================
   Product Sections
   ========================================================================== */

.product-section {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
}

.product-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--glow-primary) 0%, transparent 70%);
    opacity: 0.03;
    pointer-events: none;
}

.product-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.product-inner.layout-right {
    direction: rtl;
}

.product-inner.layout-right > * {
    direction: ltr;
}

/* Product Visual */
.product-visual {
    position: relative;
}

.product-image-wrapper {
    position: relative;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    transition: all 1s var(--ease-out-expo);
}

.product-section.is-visible .product-image-wrapper {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.product-image-frame {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    aspect-ratio: 1;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(circle at center, var(--glow-primary) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.product-image-wrapper:hover .image-glow {
    opacity: 0.5;
}

/* Product Info */
.product-info {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s var(--ease-out-expo) 0.2s;
}

.product-section.is-visible .product-info {
    opacity: 1;
    transform: translateY(0);
}

.product-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.product-number {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--accent-primary);
    padding: 0.5rem 1rem;
    background: rgba(217, 119, 6, 0.08);
    border-radius: 100px;
    border: 1px solid rgba(217, 119, 6, 0.2);
}

.product-style {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0.4rem 0.8rem;
    background: var(--bg-glass);
    border-radius: 100px;
    border: 1px solid var(--border-subtle);
}

.badge {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.8rem;
    border-radius: 100px;
}

.badge-eco {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.badge-usa {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.product-name {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.product-price {
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.price-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.price-value {
    font-size: 2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Product Actions */
.product-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.product-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.4s var(--ease-out-quart);
    position: relative;
    overflow: hidden;
}

.product-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product-cta span,
.product-cta svg {
    position: relative;
    z-index: 1;
}

.product-cta svg {
    transition: transform 0.4s var(--ease-out-quart);
}

.product-cta:hover {
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 20px 60px var(--glow-primary);
}

.product-cta:hover::before {
    opacity: 1;
}

.product-cta:hover svg {
    transform: translate(4px, -4px);
}

.product-add-bag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: rgba(217, 119, 6, 0.06);
    border: 1px solid rgba(217, 119, 6, 0.3);
    color: var(--accent-primary);
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 100px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
}

.product-add-bag:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.product-add-bag.added {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-color: transparent;
    color: white;
}

.product-add-bag.added span {
    display: none;
}

.product-add-bag.added::after {
    content: 'Added!';
}

/* Product Decoration */
.product-decoration {
    position: absolute;
    bottom: 4rem;
    left: 50%;
    transform: translateX(-50%);
}

.deco-line {
    display: block;
    width: 1px;
    height: 80px;
    background: linear-gradient(180deg, var(--border-subtle) 0%, transparent 100%);
}

/* ==========================================================================
   Stagger Animations
   ========================================================================== */

.product-section .product-image-wrapper,
.product-section .product-info {
    will-change: transform, opacity;
}

.product-meta > * {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s var(--ease-out-expo);
}

.product-section.is-visible .product-meta > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.3s; }
.product-section.is-visible .product-meta > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.4s; }
.product-section.is-visible .product-meta > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.5s; }
.product-section.is-visible .product-meta > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.6s; }

/* ==========================================================================
   Footer CTA
   ========================================================================== */

.footer-cta {
    position: relative;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem;
    overflow: hidden;
}

.footer-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, var(--glow-primary) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 50%, var(--glow-secondary) 0%, transparent 50%);
    opacity: 0.15;
    pointer-events: none;
}

.footer-cta-content {
    position: relative;
    z-index: 10;
}

.footer-cta h2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.footer-cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 100px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s var(--ease-out-quart);
}

.cta-button svg {
    transition: transform 0.4s var(--ease-out-quart);
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 30px 80px var(--glow-primary);
}

.cta-button:hover svg {
    transform: translateX(6px);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    padding: 2rem;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
    margin-top: 0;
}

.products-container {
    padding-bottom: 0;
}

.footer p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Special Effects
   ========================================================================== */

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 9998;
}

/* Mouse follower glow */
.cursor-glow {
    position: fixed;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--glow-primary) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
}

/* ==========================================================================
   Shopping Bag / Cart
   ========================================================================== */

.nav-cart {
    position: relative;
    background: transparent;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s var(--ease-out-quart);
}

.nav-cart:hover {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.cart-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s var(--ease-out-quart);
}

.cart-badge.visible {
    opacity: 1;
    transform: scale(1);
}

/* Cart Overlay */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out-quart);
    z-index: 1998;
}

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

/* Cart Drawer */
.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 420px;
    max-width: 100%;
    height: 100vh;
    background: var(--bg-dark);
    border-left: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out-quart);
    z-index: 1999;
}

.cart-drawer.open {
    transform: translateX(0);
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
}

.cart-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.cart-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--text-muted);
    text-align: center;
    gap: 1rem;
}

.cart-empty svg { opacity: 0.3; }
.cart-empty p { font-size: 1.1rem; color: var(--text-secondary); }
.cart-empty span { font-size: 0.85rem; }

/* Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    animation: slideIn 0.3s var(--ease-out-quart);
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.cart-item-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-card);
}

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

.cart-item-details {
    flex: 1;
    min-width: 0;
}

.cart-item-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cart-item-price {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    transition: all 0.2s ease;
    align-self: flex-start;
}

.cart-item-remove:hover {
    color: #ef4444;
}

/* Cart Footer */
.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-glass);
}

.cart-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-align: center;
}

.cart-actions {
    display: flex;
    gap: 0.75rem;
}

.cart-share,
.cart-checkout {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: 100px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
}

.cart-share {
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.cart-share:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

.cart-share.copied {
    border-color: #22c55e;
    color: #22c55e;
}

.cart-checkout {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    color: white;
}

.cart-checkout:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow-primary);
}

/* Checkout Modal */
.checkout-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease-out-quart);
    z-index: 2000;
}

.checkout-modal.open {
    opacity: 1;
    visibility: visible;
}

.checkout-content {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-dark);
    border: 1px solid var(--border-subtle);
    border-radius: 24px;
    padding: 2rem;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-out-quart);
}

.checkout-modal.open .checkout-content {
    transform: scale(1) translateY(0);
}

.checkout-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.2s ease;
}

.checkout-close:hover { color: var(--text-primary); }

.checkout-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.checkout-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.checkout-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-glass);
    border-radius: 12px;
}

.checkout-preview-item {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--bg-card);
}

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

.checkout-preview-more {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
}

#checkoutForm {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px var(--glow-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    padding: 1.25rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: 100px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
}

.checkout-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--glow-primary);
}

.checkout-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Success State */
.checkout-success {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0;
}

.checkout-success.visible { display: flex; }
.checkout-success svg { color: #22c55e; margin-bottom: 1.5rem; }
.checkout-success h3 { font-size: 1.5rem; color: var(--text-primary); margin-bottom: 0.75rem; }
.checkout-success p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 2rem; }

.checkout-done {
    padding: 1rem 2rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-subtle);
    border-radius: 100px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s var(--ease-out-quart);
}

.checkout-done:hover {
    background: var(--text-primary);
    color: var(--bg-dark);
}

#checkoutForm.hidden { display: none; }

/* ==========================================================================
   Responsive Design
   ========================================================================== */

@media (max-width: 1024px) {
    .nav {
        padding: 1rem 2rem;
    }

    .product-section {
        padding: 6rem 2rem;
    }

    .product-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-inner.layout-right {
        direction: ltr;
    }

    .product-visual {
        max-width: 500px;
        margin: 0 auto;
    }

    .product-info {
        text-align: center;
    }

    .product-meta {
        justify-content: center;
    }

    .product-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 1rem 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-links a:not(.nav-cta) {
        display: none;
    }

    .nav-categories {
        display: none !important;
    }

    .category-nav {
        display: none;
    }

    .subcategory-divider {
        padding: 2rem 1.5rem 0.5rem;
    }

    .side-nav {
        display: flex;
    }

    .hero-title {
        font-size: clamp(5rem, 25vw, 100px);
    }

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

    .product-image-frame {
        overflow: hidden;
        min-width: 300px;
    }

    /* Force visibility on mobile */
    .product-image-wrapper {
        opacity: 1 !important;
        transform: none !important;
    }

    .product-info {
        opacity: 1 !important;
        transform: none !important;
    }

    .product-image {
        opacity: 1 !important;
    }

    .product-section {
        padding: 4rem 1.5rem;
        min-height: auto;
    }

    .product-name {
        font-size: 1.75rem;
    }

    .price-value {
        font-size: 1.5rem;
    }

    .product-cta {
        width: 100%;
        justify-content: center;
    }

    .product-add-bag {
        width: 100%;
        justify-content: center;
    }

    .product-decoration {
        display: none;
    }

    .footer-cta {
        min-height: auto;
        padding: 4rem 1.5rem;
    }

    .brand-header {
        padding: 4rem 1.5rem 2rem;
    }

    .brand-logo {
        height: 40px;
    }

    .cart-drawer {
        width: 100%;
    }

    .checkout-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .transition-zone {
        height: 25vh;
        min-height: 200px;
    }
}
