/* ==================== NOURIÁ - PREMIUM NORDIC SKINCARE ==================== */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;300;400;500;600&family=Inter:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

:root {
    /* New Premium Purple & Gold Palette */
    --primary: #6B46C1;           /* Deep royal purple */
    --primary-light: #9370DB;     /* Medium purple for hovers */
    --primary-dark: #4C2A85;      /* Dark purple */
    --accent: #E8B4B8;            /* Dusty rose */
    --gold: #D4AF37;              /* Premium gold accents */
    --warm-white: #FAF9F6;        /* Softer than pure white */
    --text-dark: #1a1a1a;         /* Richer black */
    --text-light: #5a5a5a;        /* Medium gray */
    --text-muted: #6B6B6B;
    --success: #4a5f4a;           /* Forest green for Add to Cart */
    --bg-pure: #FFFFFF;
    --bg-light: #F8F7F9;
    --bg-charcoal: #1A1A1A;
    --bg-dark: #0F0F0F;
    --bg-card: #FFFFFF;
    --shadow-premium: 0 2px 8px rgba(15, 15, 15, 0.04);
    --shadow-intense: 0 8px 24px rgba(15, 15, 15, 0.08);
    --shadow-deep: 0 12px 32px rgba(15, 15, 15, 0.10);
    --border-radius: 0;
    --transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    --nav-mobile-height: 64px;
    
    /* Spacing scale - 8px base grid */
    --space-xs: 0.5rem;   /* 8px */
    --space-sm: 1rem;     /* 16px */
    --space-md: 1.5rem;   /* 24px */
    --space-lg: 2rem;     /* 32px */
    --space-xl: 3rem;     /* 48px */
    --space-2xl: 4rem;    /* 64px */
    --space-3xl: 6rem;    /* 96px */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: #FFFFFF;
    color: #0F0F0F;
    line-height: 1.6;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

body.menu-open {
    overflow: hidden;
}

.logo {
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.4em;
    color: #FFFFFF;
    transition: var(--transition);
}

.logo-text {
    font-family: 'Montserrat', -apple-system, sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    font-size: 1.5rem;
    color: #FFFFFF !important;
    text-shadow:
        0 0 25px rgba(107, 70, 193, 0.4),
        0 0 55px rgba(107, 70, 193, 0.2),
        0 2px 6px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
    position: relative;
    z-index: 10000;
    visibility: visible !important;
    opacity: 1 !important;
}

.logo-underline {
    display: none;
}

.logo-underline-line {
    display: none;
}

.logo-underline-line--short {
    display: none;
}

.logo-underline-line--long {
    display: none;
}

.nav-overlay {
    display: none;
}

@keyframes doubleUnderlinePulse {
    0%, 100% {
        opacity: 0.8;
        transform: scaleX(0.92);
        box-shadow:
            0 0 12px rgba(109, 40, 217, 0.6),
            0 0 24px rgba(109, 40, 217, 0.3);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.05);
        box-shadow:
            0 0 22px rgba(109, 40, 217, 0.85),
            0 0 44px rgba(109, 40, 217, 0.4);
    }
}

/* Remove all tap highlights and default touches */
button, a, input, textarea, select {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

input, textarea, select {
    -webkit-user-select: text;
    -moz-user-select: text;
    user-select: text;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Particles removed - cleaner aesthetic */

/* ==================== LEFT SIDEBAR NAVIGATION (DESKTOP) ==================== */
@media (min-width: 969px) {
    .nav-container {
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        width: 280px;
        background: linear-gradient(180deg, #0F0F0F 0%, #1A1A1A 100%);
        z-index: 1000;
        display: flex;
        flex-direction: column;
        padding: 3.5rem 0;
        box-shadow: 12px 0 48px rgba(0, 0, 0, 0.35);
        backdrop-filter: blur(20px);
        transition: var(--transition);
    }
    
    .nav-container::before {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        width: 1px;
        height: 100%;
        background: linear-gradient(180deg, transparent, rgba(201, 160, 220, 0.3), transparent);
    }

    body {
        margin-left: 280px;
        background: #FFFFFF;
    }

    .nav-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        padding: 0 2rem;
    }

    .logo {
        margin-bottom: 4rem;
        text-align: center;
    }

    .logo-text {
        font-size: 2.8rem;
        letter-spacing: 0.2em;
        color: #FFFFFF;
        animation: logoFloat 3s ease-in-out infinite;
    }

    .logo-underline-line--short {
        width: 110px;
    }

    .logo-underline-line--long {
        width: 220px;
    }

    @keyframes logoFloat {
        0%, 100% {
            text-shadow: 
                0 0 40px rgba(107, 70, 193, 0.4),
                0 0 80px rgba(107, 70, 193, 0.25),
                0 2px 4px rgba(0, 0, 0, 0.3);
        }
        50% {
            text-shadow: 
                0 0 50px rgba(107, 70, 193, 0.55),
                0 0 100px rgba(107, 70, 193, 0.35),
                0 2px 4px rgba(0, 0, 0, 0.3);
        }
    }
    
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        flex: 1;
    }

    .nav-link {
        position: relative;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 400;
        font-size: 0.95rem;
        padding: 1.2rem 2rem;
        transition: all 0.3s ease;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: transparent;
        overflow: hidden;
    }
    
    .nav-link::after {
        content: '';
        position: absolute;
        top: var(--mouse-y, 50%);
        left: var(--mouse-x, 50%);
        width: 0;
        height: 0;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(107, 70, 193, 0.3), transparent 70%);
        transform: translate(-50%, -50%);
        transition: width 0.6s ease, height 0.6s ease;
        pointer-events: none;
    }
    
    .nav-link:hover::after {
        width: 300px;
        height: 300px;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 3px;
        height: 0;
        background: linear-gradient(180deg, #6B46C1, #4C2A85);
        transition: all 0.3s ease;
        z-index: 1;
    }

    .nav-link:hover,
    .nav-link.active {
        color: #FFFFFF;
        padding-left: 2rem;
        background: rgba(107, 70, 193, 0.06);
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        height: 100%;
        background: linear-gradient(180deg, #6B46C1, #4C2A85);
    }

    .link-hover {
        display: none;
    }

    .cart-icon {
        position: relative;
        cursor: pointer;
        padding: 0.4rem 0.9rem;
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 999px; /* pill button */
        background: rgba(255, 255, 255, 0.03);
        transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.4rem;
    }

    .cart-icon:hover {
        background: rgba(255, 255, 255, 0.06);
        border-color: rgba(255, 255, 255, 0.28);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
        transform: translateY(-2px);
    }

    .cart-icon:focus-visible {
        outline: none;
        box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.5), 0 0 30px rgba(107, 70, 193, 0.2);
    }

    .cart-icon svg {
        stroke: rgba(255, 255, 255, 0.8);
        transition: all 0.35s ease;
    }
    
    .cart-icon:hover svg {
        stroke: #FFFFFF;
        transform: scale(1.06);
    }

    .cart-badge {
        position: absolute;
        top: 4px;
        right: 4px;
        background: linear-gradient(135deg, #6B46C1, #4C2A85);
        color: white;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(107, 70, 193, 0.35);
        animation: badgePop 0.3s ease;
    }

    @keyframes badgePop {
        0% {
            transform: scale(0);
        }
        50% {
            transform: scale(1.2);
        }
        100% {
            transform: scale(1);
        }
    }

    .nav-menu-toggle {
        display: none;
    }
}

/* ==================== MOBILE NAVIGATION ==================== */
@media (max-width: 968px) {
    body {
        margin-left: 0;
        padding-top: calc(var(--nav-mobile-height) + 14px);
        scroll-padding-top: calc(var(--nav-mobile-height) + 24px);
    }

    .nav-container {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 5000;
        padding: 0.75rem 0;
        background: rgba(26, 11, 46, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(107, 70, 193, 0.15);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        overflow: visible;
        transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .nav-content {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 1rem;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 0.75rem;
        position: relative;
    }

    /* Center logo in the bar */
    .logo {
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        z-index: 100000;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    /* Cart + hamburger on the right, same vertical alignment */
    .cart-icon {
        position: static;
        z-index: 100000;
    }

    .nav-menu-toggle {
        position: static !important;
        z-index: 100000 !important;
    }

    .nav-links {
        order: 4;
    }

    /* Logo already positioned above, no need for duplicate */

    .logo-text {
        font-size: 1.1rem;
        letter-spacing: 0.35em;
        color: #ffffff;
        font-weight: 300;
        text-transform: uppercase;
        font-family: 'Montserrat', sans-serif;
        transition: letter-spacing 0.4s cubic-bezier(0.22, 1, 0.36, 1), font-size 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .logo-underline-line--short {
        display: none;
    }

    .logo-underline-line--long {
        display: none;
    }

    .nav-container.scrolled .logo-text {
        letter-spacing: 0.15em;
        font-size: 1rem;
        color: #ffffff;
    }

    .nav-container.scrolled .logo-underline-line--short {
        display: none;
    }

    .nav-container.scrolled .logo-underline-line--long {
        display: none;
    }

    .nav-container.scrolled {
        background: rgba(15, 10, 30, 0.95);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
        padding: 0.5rem 0;
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(15, 8, 32, 0.98);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        flex-direction: column;
        padding-top: 5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        padding-bottom: 2rem;
        gap: 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0.4s;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999999;
        overflow-y: auto;
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0s;
    }
    
    /* Close button for mobile nav */
    .nav-close {
        display: none;
    }
    
    @media (max-width: 968px) {
        /* nav-close is mobile-only, but element has been removed; keep block empty to avoid desktop impact */
    }

    .nav-link {
        position: relative;
        text-decoration: none;
        color: rgba(255, 255, 255, 0.7);
        font-weight: 300;
        font-size: 1.8rem;
        padding: 1rem 2rem;
        margin: 0.5rem 0;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        letter-spacing: 0.02em;
        text-transform: uppercase;
        background: transparent;
        border: none;
        border-radius: 0;
        text-align: center;
        font-family: 'Montserrat', sans-serif;
        overflow: visible;
        opacity: 0;
        transform: translateY(20px);
    }
    
    .nav-links.active .nav-link {
        opacity: 1;
        transform: translateY(0);
    }
    
    .nav-links.active .nav-link:nth-child(2) { transition-delay: 0.05s; }
    .nav-links.active .nav-link:nth-child(3) { transition-delay: 0.1s; }
    .nav-links.active .nav-link:nth-child(4) { transition-delay: 0.15s; }
    .nav-links.active .nav-link:nth-child(5) { transition-delay: 0.2s; }
    
    .nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 40px;
        height: 1px;
        background: rgba(107, 70, 193, 0.8);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .nav-link:hover::after,
    .nav-link.active::after {
        transform: translateX(-50%) scaleX(1);
    }

    .nav-link:hover,
    .nav-link.active {
        color: #ffffff;
        background: transparent;
    }

    .link-hover {
        display: none;
    }

    .nav-menu-toggle {
        display: inline-flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        cursor: pointer !important;
        padding: 0 !important;
        position: relative !important;
        z-index: 100000 !important;
        border-radius: 8px !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        user-select: none !important;
    }
    
    .nav-menu-toggle:hover {
        background: rgba(255, 255, 255, 0.15) !important;
        border-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .nav-menu-toggle.active {
        background: rgba(255, 255, 255, 0.2) !important;
        border-color: rgba(255, 255, 255, 0.35) !important;
        z-index: 1000000 !important;
    }

    .nav-menu-toggle span {
        width: 24px;
        height: 2.5px;
        background: #ffffff;
        border-radius: 3px;
        transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        transform-origin: center;
        display: block;
    }

    /* Transform to X when active */
    .nav-menu-toggle.active span:nth-child(1) {
        transform: translateY(8.5px) rotate(45deg);
        background: #ffffff !important;
        opacity: 1 !important;
    }

    .nav-menu-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scale(0);
    }

    .nav-menu-toggle.active span:nth-child(3) {
        transform: translateY(-8.5px) rotate(-45deg);
        background: #ffffff !important;
        opacity: 1 !important;
    }

    .cart-icon {
        background: transparent;
        padding: 0;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        border: none;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cart-icon svg {
        stroke: #ffffff;
        width: 20px;
        height: 20px;
    }

    .cart-badge {
        position: absolute;
        top: 4px;
        right: 4px;
        background: linear-gradient(135deg, #6B46C1, #9370DB);
        color: white;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 600;
        box-shadow: 0 2px 8px rgba(107, 70, 193, 0.4);
    }

    .nav-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0.4s;
        z-index: 99998;
    }

    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    visibility 0s linear 0s;
    }

}

.eyebrow-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.eyebrow-label::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: linear-gradient(90deg, transparent, currentColor);
    opacity: 0.6;
}

.eyebrow-label--light {
    color: rgba(255, 255, 255, 0.8);
}

/* ==================== COLLECTION BANNER ==================== */
.collection-banner {
    padding: 4rem 0 5rem;
    background: #FFFFFF;
}

.collection-banner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    align-items: center;
}

.collection-banner-media {
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 35px 60px rgba(15, 15, 15, 0.12);
    background: var(--bg-card);
}

.collection-banner-media img {
    width: 100%;
    height: auto;
    max-height: 550px;
    display: block;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
    transform: scale(1.05);
    transition: transform 0.6s ease;
    box-shadow: 0 16px 48px rgba(107, 70, 193, 0.1), 0 8px 16px rgba(15, 15, 15, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.collection-banner-media img:hover {
    transform: scale(1.08);
}

.collection-banner-copy {
    max-width: 520px;
    margin: 0 auto;
}

.collection-banner-copy h2 {
    font-size: 2.6rem;
    margin-bottom: 1rem;
    letter-spacing: -0.01em;
}

.collection-banner-copy p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.collection-banner-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 140px 3rem 100px;
    overflow: hidden;
    background: #FFFFFF;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 160, 220, 0.15), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrbPulse 15s ease-in-out infinite;
}

.hero-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 180, 188, 0.12), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrbPulse 18s ease-in-out infinite 3s;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.18;
    animation: floatOrb 25s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(201, 160, 220, 0.4), rgba(232, 180, 188, 0.2), transparent);
    top: -10%;
    left: -8%;
    animation-delay: 0s;
}

.orb-2 {
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(232, 180, 188, 0.35), rgba(247, 217, 227, 0.15), transparent);
    bottom: -8%;
    right: -8%;
    animation-delay: 4s;
}

.orb-3 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(212, 196, 220, 0.3), rgba(255, 249, 251, 0.1), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 8s;
}

@keyframes floatOrb {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(35px, -35px) scale(1.08);
    }
    66% {
        transform: translate(-35px, 35px) scale(0.92);
    }
}

@keyframes floatOrbPulse {
    0%, 100% {
        opacity: 0.15;
        transform: scale(1);
    }
    50% {
        opacity: 0.25;
        transform: scale(1.1);
    }
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 10;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.15;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.02em;
}

.title-line {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out backwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.1s;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

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

/* ==================== 3D FLOWER VISUAL ==================== */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.flower-3d {
    animation: fadeIn 1.2s ease-out 0.8s backwards;
}

.flower-container {
    position: relative;
    width: 350px;
    height: 350px;
    transform-style: preserve-3d;
    animation: rotate3D 25s linear infinite;
}

@keyframes rotate3D {
    from {
        transform: rotateY(0deg) rotateX(15deg);
    }
    to {
        transform: rotateY(360deg) rotateX(15deg);
    }
}

.flower-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(247, 217, 227, 0.9), rgba(232, 180, 188, 0.8));
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 40px rgba(232, 180, 188, 0.4);
    z-index: 10;
}

.petal-layer {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
}

.petal-layer.layer-1 {
    transform: translate(-50%, -50%) translateZ(0px);
}

.petal-layer.layer-2 {
    transform: translate(-50%, -50%) translateZ(-40px) scale(0.9);
}

.petal-layer.layer-3 {
    transform: translate(-50%, -50%) translateZ(-80px) scale(0.8);
}

.flower-petal {
    position: absolute;
    width: 90px;
    height: 130px;
    background: linear-gradient(135deg, rgba(247, 217, 227, 0.9), rgba(232, 180, 188, 0.8));
    border-radius: 50% 50% 50% 0;
    top: 50%;
    left: 50%;
    transform-origin: bottom left;
    box-shadow: 0 8px 32px rgba(232, 180, 188, 0.3);
    animation: petalFloat 4s ease-in-out infinite;
}

.flower-petal:nth-child(1) {
    transform: translate(-50%, -50%) rotate(0deg) translateY(-90px);
    animation-delay: 0s;
}

.flower-petal:nth-child(2) {
    transform: translate(-50%, -50%) rotate(72deg) translateY(-90px);
    animation-delay: 0.3s;
}

.flower-petal:nth-child(3) {
    transform: translate(-50%, -50%) rotate(144deg) translateY(-90px);
    animation-delay: 0.6s;
}

.flower-petal:nth-child(4) {
    transform: translate(-50%, -50%) rotate(216deg) translateY(-90px);
    animation-delay: 0.9s;
}

.flower-petal:nth-child(5) {
    transform: translate(-50%, -50%) rotate(288deg) translateY(-90px);
    animation-delay: 1.2s;
}

.layer-2 .flower-petal {
    background: linear-gradient(135deg, rgba(201, 160, 220, 0.8), rgba(232, 180, 188, 0.7));
}

.layer-3 .flower-petal {
    background: linear-gradient(135deg, rgba(232, 180, 188, 0.6), rgba(247, 217, 227, 0.6));
}

@keyframes petalFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(var(--rotation, 0deg)) translateY(-90px) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotate(var(--rotation, 0deg)) translateY(-95px) scale(1.03);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Cart badge bounce animation */
@keyframes badgePop {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.cart-badge.updated,
#mobileCartBadge.updated {
    animation: badgePop 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }
    to {
        opacity: 0;
        transform: scale(0.9);
    }
}

/* ==================== SCROLL INDICATOR ==================== */
.scroll-indicator {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-light);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeIn 1s ease-out 1.5s backwards;
}

.scroll-line {
    width: 1.5px;
    height: 50px;
    background: linear-gradient(to bottom, var(--primary), transparent);
    animation: scrollPulse 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.4;
        transform: translateY(0);
    }
    50% {
        opacity: 1;
        transform: translateY(12px);
    }
}

/* ==================== HERO BANNER STYLES ==================== */
.hero-banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-banner-content {
    text-align: left;
}

.hero-banner-title {
    font-size: 4rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
    letter-spacing: -0.02em;
}

.hero-banner-title span {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease-out backwards;
}

.hero-banner-title span:nth-child(1) {
    animation-delay: 0.1s;
}

.hero-banner-title span:nth-child(2) {
    animation-delay: 0.3s;
}

.hero-banner-subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out 0.5s backwards;
}

.hero-banner-actions {
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.hero-banner-image {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
}

.hero-banner-image img {
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: cover;
    object-position: center center;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(107, 70, 193, 0.15), 0 8px 16px rgba(15, 15, 15, 0.1);
    transform: scale(1.05);
    transition: transform 0.6s ease;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.hero-banner-image img:hover {
    transform: scale(1.08);
}

/* ==================== BRAND STORY SECTION ==================== */
.brand-story-section {
    padding: 8rem 0;
    background: #FFFFFF;
}

.brand-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.brand-story-image img {
    width: 100%;
    height: auto;
    max-height: 600px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(15, 15, 15, 0.08);
}

.brand-story-content {
    padding: 2rem 0;
}

.brand-story-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    margin-top: 1rem;
    letter-spacing: -0.02em;
}

.brand-story-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.brand-story-content .btn {
    margin-top: 1rem;
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-block;
    padding: 1.1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.03em;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    transform: translate(-50%, -50%);
    transition: width 0.7s, height 0.7s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, #6B46C1, #4C2A85);
    color: white;
    box-shadow: 0 4px 12px rgba(107, 70, 193, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.35);
    background: linear-gradient(135deg, #7d58d3, #5d3a97);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    border: 2px solid var(--primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ==================== SECTIONS ==================== */
.featured-section,
.services-section,
.shop-section,
.about-section,
.values-section,
.team-section,
.contact-section,
.map-section {
padding: 3rem 0 4rem;
position: relative;
}

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

/* Shop section: tighten spacing under header */
.shop-section {
    padding-top: 1.5rem;
}

.section-title-link {
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
}

.section-title-link:hover .section-title {
    transform: translateY(-3px);
    color: var(--primary-dark);
}

.section-title {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.01em;
    transition: var(--transition);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

/* ==================== COLLECTION CARDS - PREMIUM 3D ==================== */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
}

.collection-card {
    background: var(--bg-card);
    border-radius: 0;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border: 1px solid rgba(15, 15, 15, 0.06);
    text-decoration: none;
    display: block;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.collection-card > * {
    overflow: hidden;
}

.collection-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(184, 165, 196, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.collection-card:hover {
    /* Transform handled by JS for cursor tracking */
    box-shadow: 0 12px 32px rgba(107, 70, 193, 0.08), 0 4px 12px rgba(15, 15, 15, 0.08);
}

.collection-card:hover::after {
    opacity: 1;
}

.card-image {
    height: 400px;
    overflow: hidden;
    position: relative;
    background: var(--bg-light);
    transform-style: preserve-3d;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.collection-card:hover .card-image img {
    transform: scale(1.02);
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
    z-index: 2;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
    background-size: cover;
    background-position: center;
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.02), transparent 60%);
    opacity: 0;
    transition: var(--transition);
}

.collection-card:hover .image-placeholder {
    transform: scale(1.05);
}

.collection-card:hover .image-placeholder::before {
    opacity: 1;
}

.card-content {
    padding: 3.5rem 3rem;
    position: relative;
    background: var(--bg-pure);
    transform-style: preserve-3d;
}

.card-content h3 {
    font-size: 1.6rem;
    font-weight: 300;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: var(--transition);
}

.collection-card:hover .card-content h3 {
    color: var(--primary-dark);
    letter-spacing: 0.05em;
}

.card-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
    font-size: 0.95rem;
    font-weight: 300;
}

.card-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 400;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    border-bottom: 1px solid var(--text-dark);
    padding-bottom: 0.5rem;
}

.card-link::after {
    content: '→';
    transition: var(--transition);
    font-size: 1.2rem;
}

.collection-card:hover .card-link::after {
    transform: translateX(10px);
}

/* ==================== SERVICES ==================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.service-item {
    text-align: center;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(15, 15, 15, 0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    transform-style: preserve-3d;
    box-shadow: var(--shadow-premium);
    position: relative;
    perspective: 1000px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}

.service-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 160, 220, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.service-item:hover {
    /* Transform handled by JS for cursor tracking */
    box-shadow: 0 12px 32px rgba(107, 70, 193, 0.08), 0 4px 12px rgba(15, 15, 15, 0.08);
}

.service-item:hover::after {
    opacity: 1;
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: grayscale(0.2);
}

.service-item h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.7;
}

/* ==================== PRODUCT CARD FLIP (styles moved to main product-card section) ==================== */

/* ==================== REVIEWS SECTION ==================== */
.reviews-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #F8F7F9 0%, #FFFFFF 100%);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.review-card {
    background: #FFFFFF;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.06);
    border: 1px solid rgba(107, 70, 193, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.review-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 80px;
    color: rgba(107, 70, 193, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(107, 70, 193, 0.1);
    border-color: rgba(107, 70, 193, 0.2);
}

.review-stars {
    color: #FFB800;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.2rem;
}

.review-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(107, 70, 193, 0.08);
}

.review-author strong {
    color: var(--text-dark);
    font-size: 1.1rem;
    font-weight: 600;
}

.review-author span {
    color: #10b981;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ==================== CONTACT HERO ==================== */
.contact-hero {
    padding: 4rem 0;
    background: #FFFFFF;
}

.contact-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.contact-hero-content h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-hero-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-light);
}

.contact-hero-image img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 0;
    box-shadow: 0 8px 32px rgba(15, 15, 15, 0.08);
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 20px 0;
    text-align: center;
    background: linear-gradient(180deg, #FFFFFF 0%, #F8F7F9 100%);
    position: relative;
    min-height: 180px;
    overflow: hidden;
}

.page-header-with-image .container {
    padding: 0;
}

.page-header-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 4rem;
    align-items: center;
    padding: 2rem 2rem;
}

.page-header-content {
    max-width: 600px;
}

.page-header-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.page-header-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 35%;
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.6) 30%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.page-header-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: drop-shadow(0 8px 24px rgba(107, 70, 193, 0.08));
    transform: scale(1.3);
}

@media (max-width: 968px) {
    .page-header-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: center;
        align-items: center;
        justify-content: center;
        padding: 1rem 1rem;
    }
    
    .page-header-image img {
        max-height: 280px;
    }
    
    .page-header-content {
        padding: 0 0.5rem;
    }
    
    .page-title {
        font-size: 2rem !important;
        margin-bottom: 0.75rem !important;
    }
    
    .page-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0.5rem !important;
    }
}

@media (min-width: 969px) {
    .page-header-image img {
        max-height: 600px;
        object-fit: cover;
        filter: drop-shadow(0 8px 24px rgba(107, 70, 193, 0.1));
        transform: scale(1.5);
        animation: gentleFloat 6s ease-in-out infinite;
    }
}

@keyframes gentleFloat {
    0%, 100% {
        transform: scale(1.5) translateY(0);
    }
    50% {
        transform: scale(1.5) translateY(-15px);
    }
}

/* Floating animation for hero images */
.hero-banner-image img {
    animation: gentleFloat 8s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Parallax scroll elements */
.collection-card,
.service-item,
.value-card,
.benefit-card,
.review-card,
.brand-story-image img {
    transition: transform 0.3s ease-out;
}

/* Card floating animation */
.collection-card,
.service-item,
.value-card,
.benefit-card {
    animation: cardFloat 10s ease-in-out infinite;
}

.collection-card:nth-child(2),
.service-item:nth-child(2),
.value-card:nth-child(2) {
    animation-delay: -3s;
}

.collection-card:nth-child(3),
.service-item:nth-child(3),
.value-card:nth-child(3) {
    animation-delay: -6s;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    right: 20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 160, 220, 0.12), transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: floatOrbPulse 15s ease-in-out infinite;
}

.page-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.page-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    letter-spacing: 0.02em;
}

/* ==================== SHOP ==================== */
.shop-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    padding: 1.25rem;
    background: rgba(107, 70, 193, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(107, 70, 193, 0.08);
}

.filter-btn {
    padding: 1rem 2.5rem;
    border: 2px solid rgba(107, 70, 193, 0.2);
    background: #FFFFFF;
    color: var(--primary-dark);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 2px 8px rgba(107, 70, 193, 0.06);
}

.filter-btn:hover,
.filter-btn.active {
    background: linear-gradient(135deg, #6B46C1, #4C2A85);
    color: white;
    transform: translateY(-2px);
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.2);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.product-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-height: 580px;
    border: 1px solid rgba(107, 70, 193, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: rgba(107, 70, 193, 0.12);
    transform: translateY(-2px);
}

.product-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Mobile card overrides moved to end of file */

.product-card-front,
.product-card-back {
    width: 100%;
    min-height: 580px;
    background: var(--bg-card);
    overflow: hidden;
    border-radius: 16px;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-front {
    position: relative;
    z-index: 2;
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
}

.product-card.flipped .product-card-front {
    opacity: 0;
    transform: scale(0.95) translateY(-10px);
    pointer-events: none;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    height: 0;
    overflow: hidden;
}

.product-card-back {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 1;
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    pointer-events: none;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    overflow-y: auto;
    overflow-x: hidden;
    background: linear-gradient(to bottom, rgba(107, 70, 193, 0.04) 0%, #ffffff 100%) !important;
    border-radius: 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 70, 193, 0.3) transparent;
}

.product-card.flipped .product-card-back {
    opacity: 1;
    transform: scale(1) translateY(0);
    pointer-events: auto;
    z-index: 2;
    position: relative;
    height: auto;
}

/* Webkit scrollbar styling */
.product-card-back::-webkit-scrollbar {
    width: 6px;
}

.product-card-back::-webkit-scrollbar-track {
    background: transparent;
}

.product-card-back::-webkit-scrollbar-thumb {
    background: rgba(107, 70, 193, 0.3);
    border-radius: 3px;
}

.product-card-back::-webkit-scrollbar-thumb:hover {
    background: rgba(107, 70, 193, 0.5);
}

.product-card-back * {
    color: #1e0e3e !important;
}

.product-card-back strong {
    color: #4C2A85 !important;
}

.product-back-content {
    text-align: left;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
    overflow-y: auto;
    margin-bottom: 1rem;
}

.product-back-content h3 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-back-content h4 {
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: var(--primary-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-details {
    flex: 1;
    overflow-y: visible;
}

.product-back-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 0.5rem 0;
}

.product-back-content ul li {
    padding: 0.2rem 0;
    color: var(--text-light);
    font-size: 0.7rem;
    line-height: 1.4;
}

.product-back-content ul li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.product-benefits {
    background: rgba(107, 70, 193, 0.08);
    padding: 0.6rem;
    border-radius: 8px;
    margin: 0.5rem 0;
    border: 1px solid rgba(107, 70, 193, 0.15);
}

.btn-flip-back {
    background: rgba(107, 70, 193, 0.1) !important;
    color: var(--primary-dark) !important;
    border: 1px solid rgba(107, 70, 193, 0.3);
    padding: 0.85rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0;
    flex-shrink: 0;
}

.btn-flip-back:hover {
    background: rgba(107, 70, 193, 0.15) !important;
    color: var(--primary-dark) !important;
    transform: translateY(-1px);
    border-color: rgba(107, 70, 193, 0.5);
}

.btn-flip-back:active {
    transform: translateY(0);
}

.product-benefits ul li {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.75rem;
    padding: 0.25rem 0;
}

.btn-back {
    margin-top: auto;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(184, 165, 196, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.product-card:hover {
    box-shadow: 0 8px 24px rgba(107, 70, 193, 0.08), 0 4px 12px rgba(15, 15, 15, 0.08);
    border-color: rgba(107, 70, 193, 0.15);
}

.product-card:hover::after {
    opacity: 1;
}

.product-image {
    height: 320px;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
    transform-style: preserve-3d;
}

.product-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to top, var(--bg-card), transparent);
    pointer-events: none;
    z-index: 2;
}

.product-image .image-placeholder {
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image .image-placeholder {
    transform: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-image img {
    transform: none;
}

.product-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.8));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 500;
    z-index: 5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.product-info {
    padding: 2rem;
    background: var(--bg-pure);
    display: flex;
    flex-direction: column;
    gap: 0;
    min-height: 260px;
    justify-content: space-between;
}

.product-info-toggle,
.product-card-back .btn-back {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(107, 70, 193, 0.06);
    border: 1px solid rgba(107, 70, 193, 0.2);
    border-radius: 6px;
    color: var(--primary-dark);
    font-weight: 500;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1rem;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    box-shadow: none;
    flex-shrink: 0;
}

.product-info-toggle:hover,
.product-card-back .btn-back:hover {
    background: rgba(107, 70, 193, 0.12);
    border-color: rgba(107, 70, 193, 0.4);
    transform: translateY(-1px);
}

.product-info-toggle:active,
.product-card-back .btn-back:active {
    transform: translateY(0);
}

.product-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    line-height: 1.3;
}

.product-description {
    color: var(--text-light);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.6;
}

.product-footer {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(107, 70, 193, 0.1);
    gap: 1rem;
}

.product-price {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    white-space: nowrap;
    flex-shrink: 0;
}

.btn-add-cart {
    padding: 0.85rem 1.75rem;
    background: linear-gradient(135deg, #4a5f4a, #3d4f3d);
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.75rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(74, 95, 74, 0.25);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    flex: 1;
    max-width: 140px;
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(74, 95, 74, 0.35);
    background: linear-gradient(135deg, #5a6f5a, #4d5f4d);
}

.btn-add-cart:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(74, 95, 74, 0.3);
}

/* ==================== ABOUT ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.9;
}

.about-visual {
    position: relative;
    height: 500px;
}

.visual-card {
    position: absolute;
    width: 280px;
    height: 350px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-large);
    transition: var(--transition);
}

.visual-card:hover {
    transform: scale(1.05) rotate(-3deg);
}

.card-1 {
    top: 0;
    left: 0;
    z-index: 2;
}

.card-2 {
    bottom: 0;
    right: 0;
    z-index: 1;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.value-card {
    text-align: center;
    padding: 3rem 2.5rem;
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(15, 15, 15, 0.06);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: var(--shadow-premium);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}

.value-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(232, 180, 188, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.value-card:hover {
    /* Transform handled by JS for cursor tracking */
    box-shadow: 0 12px 32px rgba(107, 70, 193, 0.08), 0 4px 12px rgba(15, 15, 15, 0.08);
}

.value-card:hover::after {
    opacity: 1;
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    filter: grayscale(0.2);
}

.value-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.value-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.team-card {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    text-align: center;
    border: 1px solid rgba(15, 15, 15, 0.06);
    box-shadow: var(--shadow-premium);
    transition: var(--transition);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.team-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(232, 180, 188, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.team-card:hover {
    transform: perspective(1000px) translateY(-16px) rotateX(2deg) rotateY(-2deg) scale3d(1.02, 1.02, 1.02);
    box-shadow: 0 28px 70px rgba(15, 15, 15, 0.16);
}

.team-card:hover::after {
    opacity: 1;
}

.team-image {
    width: 160px;
    height: 160px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.team-card h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 0.6rem;
    letter-spacing: -0.01em;
}

.team-role {
    color: var(--primary-dark);
    font-weight: 500;
    margin-bottom: 1.25rem;
    letter-spacing: 0.02em;
}

.team-bio {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ==================== CONTACT ==================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 3rem;
    line-height: 1.9;
    font-size: 1.05rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
    filter: grayscale(0.2);
}

.contact-item h4 {
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    font-weight: 500;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.contact-form-container {
    background: var(--bg-card);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(15, 15, 15, 0.1), 0 4px 12px rgba(107, 70, 193, 0.08);
    border: 2px solid rgba(107, 70, 193, 0.15);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: 0.01em;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.95rem 1.25rem;
    border: 2px solid rgba(232, 180, 188, 0.25);
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(232, 180, 188, 0.12);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ==================== FOOTER ==================== */
.footer {
    position: relative;
    background: #1a0b2e;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    padding: 0;
}

.footer-wave {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
}

.footer-wave::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(168, 85, 247, 0.2) 0%, transparent 40%);
    border-radius: 45%;
    animation: waveAnimation 6s ease-in-out infinite;
}

.footer-wave::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: 
        radial-gradient(ellipse at center, rgba(124, 58, 237, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 20% 50%, rgba(109, 40, 217, 0.15) 0%, transparent 45%);
    border-radius: 42%;
    animation: waveAnimation 8s ease-in-out infinite reverse;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translateY(-30px) translateX(20px) scale(1.1);
        opacity: 0.8;
    }
    66% {
        transform: translateY(-15px) translateX(-20px) scale(0.95);
        opacity: 0.7;
    }
}

@keyframes waveAnimation {
    0% {
        transform: translateX(0) translateY(0) scaleX(1);
        border-radius: 0 0 40% 60%;
    }
    25% {
        transform: translateX(-25%) translateY(-45px) scaleX(1.08);
        border-radius: 0 0 55% 45%;
    }
    50% {
        transform: translateX(-50%) translateY(-60px) scaleX(1.12);
        border-radius: 0 0 65% 35%;
    }
    75% {
        transform: translateX(-25%) translateY(-45px) scaleX(1.08);
        border-radius: 0 0 50% 50%;
    }
    100% {
        transform: translateX(0) translateY(0) scaleX(1);
        border-radius: 0 0 40% 60%;
    }
}

.footer-content {
    padding: 4rem 3rem 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
}

@media (max-width: 768px) {
    .footer-content {
        padding: 1.5rem 1.5rem 1rem;
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-section {
        max-width: 100%;
        margin-bottom: 0;
    }
    
    .footer-section h4 {
        font-size: 0.9rem;
        margin-bottom: 0.4rem;
        font-weight: 500;
    }
    
    .footer-section p {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.2rem;
    }
    
    .footer-section ul {
        margin: 0;
        padding: 0;
    }
    
    .footer-section ul li {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.25rem;
        display: inline-block;
        margin: 0 0.5rem 0.25rem 0.5rem;
    }
    
    .footer-section ul li::after {
        content: '•';
        margin-left: 0.5rem;
        opacity: 0.5;
    }
    
    .footer-section ul li:last-child::after {
        content: '';
    }
    
    .footer-section a {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .footer-bottom {
        padding: 0.75rem 1.5rem;
        font-size: 0.7rem;
        line-height: 1.2;
    }
}

.footer-section h4 {
    color: #FFFFFF;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    font-family: 'Montserrat', sans-serif;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-section ul li a:hover {
    color: #C9A0DC;
    padding-left: 8px;
}

.footer-location {
    margin-top: 1rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding: 2.5rem 3rem;
    border-top: 1px solid rgba(201, 160, 220, 0.2);
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.95rem;
}

.footer-credit {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-credit a {
    color: #C9A0DC;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.footer-credit a:hover {
    color: #E8B4BC;
}

/* ==================== 3D CARD EFFECTS ==================== */
.card-3d-effects {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
    border-radius: inherit;
    overflow: hidden;
}

.card-3d-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: radial-gradient(circle 250px at 50% 50%, rgba(139, 92, 246, 0.12) 0%, rgba(124, 58, 237, 0.08) 30%, transparent 60%);
    opacity: 0;
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: soft-light;
    transition: opacity 0.3s ease;
}

/* Make sure parent containers allow 3D effects to be visible */
.products-grid,
.collections-grid,
.services-grid,
.values-grid,
.benefits-grid {
    transform-style: preserve-3d;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 968px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero-banner {
        padding: 140px 1.5rem 60px;
        min-height: 40vh;
    }

    .hero-banner-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .hero-banner-content {
        text-align: center;
    }

    .hero-banner-image {
        order: -1;
    }

    .hero-banner-image img {
        max-height: 450px;
        transform: scale(1.1);
        border-radius: 8px;
    }
    
    .hero-banner-image img:hover {
        transform: scale(1.12);
    }

    .hero-banner-title {
        font-size: 2.5rem;
    }

    .hero-banner-subtitle {
        font-size: 1.1rem;
    }

    .brand-story-section {
        padding: 4rem 0;
    }

    .brand-story-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .brand-story-image {
        order: -1;
    }

    .brand-story-image img {
        max-height: 400px;
    }

    .brand-story-content h2 {
        font-size: 2rem;
    }

    .brand-story-content p {
        font-size: 1rem;
    }

    .hero {
        padding: 120px 1.5rem 80px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 4rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .flower-container {
        width: 280px;
        height: 280px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

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

    .page-header {
        padding: 140px 0 80px;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .collections-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .contact-form-container,
    .form-wrapper,
    .checkout-form {
        max-width: 540px;
        margin: 0 auto;
        padding: 2.25rem 1.75rem;
        border-radius: 24px;
    }

    .membership-form-section .container,
    .contact-section .container,
    .shop-section .container,
    .cart-section .container,
    .checkout-section .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .page-header {
        padding-top: calc(var(--nav-mobile-height) + 24px);
        padding-bottom: 1.5rem;
    }

    .page-header-image img {
        max-height: 280px;
        transform: scale(1.3);
    }

    .contact-hero-image img {
        max-height: 250px;
    }

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

    .contact-form,
    .membership-form {
        gap: 1.25rem;
    }

    .btn-add-cart {
        padding: 0.9rem 1.5rem !important;
        font-size: 0.7rem !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        max-width: 120px !important;
        flex: 1 !important;
    }

    .product-footer {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 1rem !important;
        width: 100% !important;
        margin-top: auto !important;
        padding-top: 1.5rem !important;
    }
    
    .product-price {
        font-size: 1.25rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}

@media (max-width: 768px) {
    .collection-banner-grid {
        gap: 2rem;
    }

    .collection-banner-copy {
        text-align: center;
    }

    .collection-banner-actions {
        justify-content: center;
    }

    .card-content {
        text-align: center;
    }

    .card-link {
        justify-content: center;
        border-bottom: none;
        padding-bottom: 0;
    }

    .product-card {
        min-height: 560px !important;
        overflow: visible !important;
    }

    .product-card-inner {
        min-height: 560px !important;
        overflow: visible !important;
    }

    .product-card-front,
    .product-card-back {
        min-height: 560px !important;
        overflow: visible !important;
    }

    .product-image {
        height: 240px !important;
        flex-shrink: 0 !important;
    }

    .product-info {
        display: flex !important;
        flex-direction: column !important;
        padding: 1.5rem 1.5rem 1.5rem !important;
        min-height: 280px !important;
        justify-content: flex-start !important;
        overflow: visible !important;
        gap: 0.75rem !important;
    }

    .product-info-toggle {
        margin-top: auto !important;
        width: 100% !important;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 0.85rem !important;
        padding: 1.1rem 1.5rem !important;
        position: relative !important;
        z-index: 100 !important;
        pointer-events: auto !important;
        background: rgba(139, 92, 246, 0.12) !important;
        border: 1.5px solid rgba(139, 92, 246, 0.4) !important;
        border-radius: 50px !important;
        color: var(--primary-dark) !important;
        font-weight: 600 !important;
        text-transform: uppercase !important;
        letter-spacing: 0.08em !important;
        text-align: center !important;
        cursor: pointer !important;
        box-shadow: 0 4px 12px rgba(139, 92, 246, 0.2) !important;
        -webkit-tap-highlight-color: rgba(139, 92, 246, 0.3) !important;
        user-select: none !important;
        touch-action: manipulation !important;
        flex-shrink: 0 !important;
    }
    
    .product-info-toggle:active {
        transform: scale(0.98) !important;
        background: rgba(139, 92, 246, 0.18) !important;
    }
    
    .product-info {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .product-name {
        font-size: 1.05rem !important;
        margin-bottom: 0.5rem !important;
        line-height: 1.2 !important;
    }
    
    .product-price {
        font-size: 1.3rem !important;
        margin-bottom: 0.5rem !important;
    }

    .product-footer {
        margin-top: auto !important;
        padding-top: 1.5rem !important;
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: space-between !important;
        width: 100% !important;
        gap: 1rem !important;
        border-top: 1px solid rgba(107, 70, 193, 0.1) !important;
    }
    
    .product-price {
        font-size: 1.25rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    .btn-add-cart {
        padding: 0.9rem 1.5rem !important;
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        font-size: 0.7rem !important;
        max-width: 120px !important;
        flex: 1 !important;
    }

    .product-description {
        margin-bottom: 1rem !important;
    }
    
    .services-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        margin-top: 2.5rem !important;
    }
    
    .service-item {
        background: transparent !important;
        border: none !important;
        border-bottom: 1px solid rgba(139, 92, 246, 0.15) !important;
        border-radius: 0 !important;
        padding: 2rem 1.5rem !important;
        text-align: left !important;
        box-shadow: none !important;
        transition: background 0.3s ease !important;
    }
    
    .service-item:first-child {
        border-top: 1px solid rgba(139, 92, 246, 0.15) !important;
    }
    
    .service-item:hover {
        background: rgba(139, 92, 246, 0.03) !important;
        box-shadow: none !important;
    }
    
    .service-item h3 {
        font-size: 1.1rem !important;
        margin-bottom: 0.5rem !important;
        text-transform: uppercase !important;
        letter-spacing: 0.05em !important;
        color: var(--primary-dark) !important;
    }
    
    .service-item p {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        color: rgba(15, 15, 15, 0.7) !important;
    }
    
    .footer-content {
        padding: 3rem 1.5rem 2rem;
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
        color: #FFFFFF;
        font-weight: 500;
    }

    .footer-section p {
        font-size: 1rem;
        line-height: 1.7;
        color: rgba(255, 255, 255, 0.85);
    }
    
    .footer-section ul li {
        font-size: 1rem;
        line-height: 1.8;
        margin-bottom: 0.75rem;
    }
    
    .footer-section ul li a {
        color: rgba(255, 255, 255, 0.85);
        transition: color 0.3s ease;
    }
    
    .footer-section ul li a:hover {
        color: #FFFFFF;
    }

    .footer-bottom {
        padding: 2.5rem 1.5rem;
        font-size: 0.9rem;
        color: rgba(255, 255, 255, 0.7);
    }
}

@media (max-width: 640px) {
    .hero-banner {
        padding: 100px 1.5rem 50px;
    }
    
    .hero-banner-grid {
        gap: 2.5rem;
        display: flex;
        flex-direction: column;
    }

    .hero-banner-image {
        display: block;
        order: -1;
        margin-bottom: 2rem;
    }
    
    .hero-banner-image img {
        max-height: 350px;
        width: 100%;
        object-fit: contain;
        border-radius: 12px;
    }

    .hero-banner-title {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-banner-subtitle {
        font-size: 1.1rem;
        line-height: 1.7;
        margin-bottom: 2.5rem;
    }
    
    .hero-banner-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-banner-actions .btn {
        width: 100%;
        text-align: center;
        padding: 1.2rem 2rem;
        font-size: 1rem;
    }

    .brand-story-image img {
        max-height: 300px;
    }

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

    .hero-title {
        font-size: 2.5rem;
    }

    .footer-content {
        padding: 2.5rem 1.5rem 1.5rem;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .footer-section h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .footer-section p {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    .footer-section ul li {
        margin-bottom: 0.6rem;
        font-size: 0.95rem;
    }

    .footer-bottom {
        padding: 2rem 1.5rem;
        font-size: 0.85rem;
    }

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

    .flower-container {
        width: 220px;
        height: 220px;
    }

    .about-visual {
        height: 350px;
    }

    .visual-card {
        width: 200px;
        height: 260px;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.5rem;
    }

    .btn,
    .btn-primary,
    .btn-secondary,
    .btn-large {
        width: calc(100% - 1.8rem);
        margin-left: auto;
        margin-right: auto;
        display: flex;
        justify-content: center;
    }
}

/* ==================== CART & CHECKOUT PAGES ==================== */
.cart-section, .checkout-section {
    padding: 4rem 0;
}

.cart-container, .checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.cart-item {
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: grid;
    grid-template-columns: 120px 1fr auto;
    gap: 2rem;
    align-items: center;
    box-shadow: var(--shadow-soft);
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

.cart-item:hover {
    box-shadow: var(--shadow-medium);
}

.cart-item-image {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.cart-item-info h4 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 1.2rem;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.quantity-btn {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.quantity-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    padding: 0.5rem;
    transition: var(--transition);
}

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

.cart-summary, .checkout-summary {
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: 0 8px 24px rgba(15, 15, 15, 0.1), 0 4px 12px rgba(107, 70, 193, 0.08);
    border: 2px solid rgba(107, 70, 193, 0.15);
    position: sticky;
    top: 120px;
    height: fit-content;
}

.cart-summary h3, .checkout-summary h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.summary-row.discount {
    color: #10b981;
    font-weight: 500;
}

.summary-row.total {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-top: 1rem;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 1.5rem 0;
}

.btn-large {
    width: 100%;
    padding: 1.25rem;
    font-size: 1.1rem;
}

.continue-shopping {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
    text-decoration: none;
    transition: var(--transition);
}

.continue-shopping:hover {
    color: var(--primary-dark);
}

.empty-cart {
    text-align: center;
    padding: 5rem 2rem;
}

.empty-cart-image {
    width: 300px;
    height: auto;
    margin-bottom: 2rem;
    opacity: 0.95;
    filter: drop-shadow(0 20px 45px rgba(139, 92, 246, 0.2));
}

.empty-cart h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Checkout Form */
.checkout-form {
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(15, 15, 15, 0.1), 0 4px 12px rgba(107, 70, 193, 0.08);
    border: 2px solid rgba(107, 70, 193, 0.15);
}

.checkout-step {
    margin-bottom: 3rem;
}

.checkout-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

/* Form inputs - make them more visible */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1.5px solid rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    background: white;
    font-size: 1rem;
    color: #0f0f0f;
    transition: all 0.3s ease;
    box-sizing: border-box;
    font-family: inherit;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #6B46C1;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

input::placeholder,
textarea::placeholder {
    color: #999;
}

/* Mobile form fixes */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkout-form {
        padding: 2rem 1.5rem;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="password"],
    input[type="number"],
    textarea,
    select {
        padding: 0.9rem 1rem;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

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

.payment-option {
    padding: 1.5rem;
    border: 2px solid rgba(212, 165, 165, 0.2);
    border-radius: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-option:hover {
    border-color: var(--primary);
    background: rgba(212, 165, 165, 0.05);
}

.payment-option input[type="radio"] {
    margin: 0;
}

.payment-option input[type="radio"]:checked + span {
    color: var(--primary-dark);
}

/* ==================== MEMBERS PAGE ==================== */
.members-benefits-section {
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.benefit-card {
    background: var(--bg-card);
    backdrop-filter: blur(40px);
    border-radius: var(--border-radius);
    padding: 3rem 2.5rem;
    text-align: center;
    box-shadow: 0 4px 16px rgba(15, 15, 15, 0.08), 0 2px 8px rgba(107, 70, 193, 0.06);
    border: 1.5px solid rgba(107, 70, 193, 0.12);
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    position: relative;
    transform-style: preserve-3d;
    perspective: 1000px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    cursor: pointer;
}

.benefit-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(201, 160, 220, 0.03) 100%);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.benefit-card:hover {
    /* Transform handled by JS for cursor tracking */
    box-shadow: 0 12px 32px rgba(107, 70, 193, 0.12), 0 6px 16px rgba(15, 15, 15, 0.1);
    border-color: rgba(107, 70, 193, 0.2);
}

.benefit-card:hover::after {
    opacity: 1;
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-icon svg {
    stroke: var(--primary);
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.benefit-card p {
    color: var(--text-light);
    line-height: 1.7;
}

.account-options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .account-options-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .membership-form-section {
        padding: 2rem 0 3rem !important;
    }
    
    .benefit-card {
        padding: 2rem 1.5rem !important;
    }
}

.membership-form-section {
    padding: 4rem 0 6rem;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.03), rgba(139, 92, 246, 0.05));
}

.form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(40px);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 8px 24px rgba(15, 15, 15, 0.12), 0 4px 12px rgba(107, 70, 193, 0.1);
    border: 2px solid rgba(107, 70, 193, 0.15);
}

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

.form-header h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.form-header p {
    color: var(--text-light);
}

.membership-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.form-footer-text {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-light);
}

.form-footer-text a {
    color: var(--primary-dark);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.form-footer-text a:hover {
    color: var(--accent);
}

/* ==================== ACCOUNT OPTION CARDS ==================== */
.account-option-card:hover {
    transform: perspective(1000px) translateY(-16px) rotateX(2deg) rotateY(-2deg) scale3d(1.02, 1.02, 1.02);
    box-shadow: 0 16px 40px rgba(15, 15, 15, 0.10) !important;
}

.account-option-card:hover span:last-child {
    transform: translateY(-3px);
}

/* ==================== SECTIONS BACKGROUND ==================== */
.featured-section,
.services-section,
.shop-section,
.contact-section,
.about-section,
.values-section {
    background: #FFFFFF;
}

/* ==================== RESPONSIVE FOR NEW PAGES ==================== */
@media (max-width: 968px) {
    .cart-container, .checkout-container {
        grid-template-columns: 1fr;
    }

    .cart-summary, .checkout-summary {
        position: static;
    }

    .cart-item {
        grid-template-columns: 100px 1fr;
        gap: 1.5rem;
    }

    .cart-item-actions {
        grid-column: 1 / -1;
    }

    .payment-methods {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
    
    .account-options-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ==================== LOADING SCREEN ==================== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.loading-content {
    text-align: center;
    color: #FFFFFF;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(139, 92, 246, 0.2);
    border-top-color: #6B46C1;
    border-radius: 50%;
    margin: 0 auto 2rem;
    animation: spin 0.8s linear infinite;
    transform-origin: center center;
    will-change: transform;
    position: relative;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loading-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.loading-content p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

/* ==================== PAYMENT METHOD ICONS ==================== */
.payment-option span {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-option svg {
    flex-shrink: 0;
}

/* ==================== CART PREVIEW (Desktop Hover) ==================== */
.cart-icon {
    position: relative;
}

.cart-preview {
    position: absolute;
    bottom: calc(100% + 0.5rem);
    right: -300px;
    width: 360px;
    max-height: 480px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.08);
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.92);
    transform-origin: bottom left;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
    pointer-events: none;
}

.cart-icon:hover .cart-preview,
.cart-icon:focus-within .cart-preview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
    transition: opacity 0.25s ease 1s, transform 0.25s ease 1s, visibility 0s linear 1s;
}


.cart-preview-header {
    padding: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-preview-header h4 {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin: 0;
}

.cart-preview-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cart-preview-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
}

.cart-preview-item {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.cart-preview-item:hover {
    background: rgba(139, 92, 246, 0.05);
}

.cart-preview-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 8px;
    background: var(--bg-light);
}

.cart-preview-item-info {
    flex: 1;
}

.cart-preview-item-info h5 {
    font-size: 0.9rem;
    margin: 0 0 0.25rem 0;
    color: var(--text-dark);
}

.cart-preview-item-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.cart-preview-item-price {
    font-weight: 600;
    color: var(--primary-dark);
}

.cart-preview-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.cart-preview-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

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

.btn-small {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
}

/* Hide cart preview on mobile */
@media (max-width: 968px) {
    .cart-icon .cart-preview {
        display: none !important;
    }
}

/* ==================== MOBILE FLOATING CART ==================== */
.mobile-cart-toggle {
    display: none;
}

.mobile-cart-preview {
    display: none;
}

.mobile-cart-overlay {
    display: none;
}

@media (max-width: 968px) {
    .mobile-cart-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed !important;
        bottom: 20px !important;
        right: 20px !important;
        left: auto !important;
        width: 56px !important;
        height: 56px !important;
        background: rgba(26, 11, 46, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(107, 70, 193, 0.3) !important;
        border-radius: 50% !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(107, 70, 193, 0.2) !important;
        cursor: pointer;
        z-index: 999998 !important;
        transition: all 0.3s ease !important;
        pointer-events: auto !important;
        touch-action: manipulation !important;
    }
    
    /* Hide when nav menu is open */
    .nav-links.active ~ .mobile-cart-toggle,
    body.menu-open .mobile-cart-toggle {
        opacity: 0;
        pointer-events: none;
    }

    .mobile-cart-toggle:active {
        transform: scale(0.92);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    }

    .mobile-cart-toggle svg {
        stroke: rgba(255, 255, 255, 0.95);
        width: 22px;
        height: 22px;
    }

    .mobile-cart-badge {
        position: absolute;
        top: -2px;
        right: -2px;
        background: linear-gradient(135deg, #6B46C1, #4C2A85);
        color: white;
        font-size: 0.65rem;
        font-weight: 700;
        padding: 0;
        border-radius: 50%;
        min-width: 18px;
        height: 18px;
        display: flex !important;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
        border: 2px solid rgba(26, 11, 46, 0.95);
    }

    .mobile-cart-preview {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #FFFFFF;
        border-radius: 24px 24px 0 0;
        box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
        z-index: 999999;
        transform: translateY(100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        max-height: 70vh;
        display: flex;
        flex-direction: column;
    }

    .mobile-cart-preview.active {
        transform: translateY(0);
    }

    .mobile-cart-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 1.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    }

    .mobile-cart-header h3 {
        font-size: 1.2rem;
        margin: 0;
    }

    .mobile-cart-close {
        background: none;
        border: none;
        font-size: 2rem;
        color: var(--text-light);
        cursor: pointer;
        padding: 0;
        line-height: 1;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

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

    .mobile-cart-footer {
        padding: 1.5rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
        background: var(--bg-light);
    }

    .mobile-cart-total {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }

    .mobile-cart-total strong {
        font-size: 1.3rem;
        color: var(--primary-dark);
    }

    .mobile-cart-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(4px);
        z-index: 999998;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

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

/* ==================== BUTTON RIPPLE EFFECT ==================== */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease, opacity 0.6s ease;
    opacity: 0;
}

.btn:active::after {
    width: 400px;
    height: 400px;
    opacity: 1;
    transition: width 0s, height 0s, opacity 0s;
}

/* ==================== IMPROVED CARD HOVER (1.02 SCALE) ==================== */
.product-card,
.collection-card,
.benefit-card,
.service-item,
.value-card {
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: transform;
}

.product-card:hover,
.collection-card:hover,
.benefit-card:hover,
.service-item:hover,
.value-card:hover {
    transform: translateY(-6px) scale(1.02);
}

/* ==================== SAFE AREA FOR MOBILE NOTCH ==================== */
@supports (padding: env(safe-area-inset-top)) {
    @media (max-width: 968px) {
        .nav-container {
            padding-top: calc(0.8rem + env(safe-area-inset-top));
        }
        
        body {
            padding-top: calc(var(--nav-mobile-height) + env(safe-area-inset-top) + 14px);
        }
        
        .mobile-cart-toggle {
            bottom: calc(24px + env(safe-area-inset-bottom)) !important;
        }
    }
}

/* ==================== MOBILE TOUCH TARGETS (48PX MINIMUM) ==================== */
@media (max-width: 968px) {
    .btn,
    .filter-btn,
    .nav-link,
    .product-info-toggle,
    .btn-add-cart {
        min-height: 48px;
        min-width: 48px;
        padding: 0.95rem 1.5rem;
    }
    
    .cart-icon,
    .nav-menu-toggle {
        min-width: 48px;
        min-height: 48px;
    }
    
    input,
    select,
    textarea {
        min-height: 48px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Product card minimum height on mobile */
    .product-card {
        min-height: 540px !important;
    }
    
    /* Sleeker mobile spacing */
    .page-header {
        padding: 1.5rem 0 1.5rem;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .container {
        padding: 0 1.25rem;
    }
    
    .products-grid {
        gap: 1.5rem;
    }
    
    .shop-filters {
        padding: 1rem;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .filter-btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.8rem;
    }
}

/* ==================== BETTER FOCUS STATES (ACCESSIBILITY) ==================== */
.btn:focus-visible,
.nav-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.filter-btn:focus-visible {
    outline: 3px solid rgba(107, 70, 193, 0.5);
    outline-offset: 2px;
}

/* ==================== LOADING STATE FOR CART UPDATES ==================== */
.cart-updating {
    opacity: 0.6;
    pointer-events: none;
}

.cart-updating::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(107, 70, 193, 0.3);
    border-top-color: #6B46C1;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ==================== GOLD PREMIUM BUTTON ==================== */
.btn-gold {
    background: linear-gradient(135deg, #D4AF37, #C9A062);
    color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.btn-gold:hover::before {
    width: 300px;
    height: 300px;
}

.btn-gold:hover {
    background: linear-gradient(135deg, #E5C04D, #D4AF37);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
    transform: translateY(-3px) scale(1.02);
}

/* ==================== BROWSER COMPATIBILITY ==================== */
/* Backdrop filters */
.cart-summary,
.checkout-summary,
.contact-form-container,
.nav-overlay {
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px); /* Safari */
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch; /* iOS momentum */
}

/* No 3D transforms needed - using clean fade animation */

/* =========================================================
   MOBILE PRODUCT CARD FIXES (OVERRIDE DESKTOP 3D LAYOUT)
   ========================================================= */
@media (max-width: 768px) {
    /* Mobile card adjustments */
    .product-card {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    .product-card-inner {
        min-height: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Mobile card sides */
    .product-card-back {
        padding: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }

    /* Clean mobile fade animation - same as desktop */
    .product-card-front,
    .product-card-back {
        position: relative !important;
        min-height: auto !important;
        height: auto !important;
        transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .product-card-front {
        opacity: 1 !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
        position: relative !important;
    }

    .product-card-back {
        opacity: 0 !important;
        transform: scale(0.98) !important;
        pointer-events: none !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .product-card.flipped .product-card-front {
        opacity: 0 !important;
        transform: scale(0.98) !important;
        pointer-events: none !important;
        height: 0 !important;
        overflow: hidden !important;
    }

    .product-card.flipped .product-card-back {
        opacity: 1 !important;
        transform: scale(1) !important;
        pointer-events: auto !important;
        position: relative !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Front side spacing */
    .product-info {
        padding: 1.5rem 1.25rem 1.25rem !important;
        gap: 0.75rem !important;
        min-height: auto !important;
    }

    .product-footer {
        margin-top: auto !important;
        padding-top: 0.75rem !important;
    }

    /* Back side spacing */
    .product-back-content {
        margin-bottom: 1rem !important;
        overflow: visible !important;
    }

    /* Ensure Tillbaka button is fully visible and clickable */
    .btn-flip-back {
        display: block !important;
        width: 100% !important;
        padding: 1.25rem 1.5rem !important;
        margin-top: 1rem !important;
        margin-bottom: 0 !important;
        position: relative !important;
        z-index: 999999 !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
        -webkit-tap-highlight-color: rgba(0,0,0,0.1) !important;
        background: rgba(107, 70, 193, 0.15) !important;
        border: 2px solid rgba(107, 70, 193, 0.4) !important;
        font-size: 0.9rem !important;
        font-weight: 700 !important;
    }

    /* Ensure add to cart button is fully visible */
    .btn-add-cart {
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
}
