/* ============================================
   CRAVINGS AFTER DARK
   Sneaker-inspired: Grape Purple, Aqua, Hot Pink
   Fun, colorful, upbeat late-night energy
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --teal: #3DB8C8;
    --purple: #6B4F8A;
    --purple-light: #8B6BB8;
    --pink: #FF2D78;
    --gold: #F5A623;
    --bg-body: #FAF7F2;
    --bg-card: #FFFFFF;
    --bg-subtle: #F0EBE3;
    --bg-input: #F5F1EB;
    --text-primary: #1E1028;
    --text-secondary: #5A5068;
    --text-muted: #8E849A;
    --border: rgba(107, 79, 138, 0.12);
    --shadow-sm: 0 2px 8px rgba(30, 16, 40, 0.06);
    --shadow-md: 0 8px 30px rgba(30, 16, 40, 0.1);
    --shadow-lg: 0 20px 60px rgba(30, 16, 40, 0.15);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Push footer to bottom */
.footer {
    margin-top: auto;
}

/* Night sky theme on all pages */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(180deg, rgba(26, 10, 46, 0.08) 0%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

/* Pages with hero don't need the subtle gradient */
body:has(.hero)::before {
    display: none;
}

h1, h2, h3, h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

/* ============ HEADER ============ */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0.8rem 2rem;
    background: linear-gradient(145deg, rgba(10, 5, 20, 0.95), rgba(20, 12, 35, 0.95));
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(107, 79, 138, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.6rem 2rem;
    background: linear-gradient(145deg, rgba(8, 4, 18, 0.98), rgba(15, 10, 30, 0.98));
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 80px;
    width: auto;
    display: block;
    animation: headerLogoGlow 3s ease-in-out infinite;
}

@keyframes headerLogoGlow {
    0%, 100% { filter: drop-shadow(0 0 0px transparent); }
    50% { filter: drop-shadow(0 0 8px rgba(61, 184, 200, 0.4)); }
}


/* ============ HEADER STATUS BADGE ============ */
.header-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    white-space: nowrap;
    text-decoration: none;
    color: var(--gold);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.header-status:empty {
    display: none;
}

.header-status.open {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
    border-color: rgba(74, 222, 128, 0.2);
}

.header-status.closed {
    color: #fca5a5;
    background: rgba(255, 100, 100, 0.1);
    border-color: rgba(255, 100, 100, 0.2);
}

.header-status .banner-dot {
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

@media (max-width: 768px) {
    .header-status {
        font-size: 0.7rem;
        padding: 0.3rem 0.8rem;
    }
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: color 0.3s;
}

.nav a:hover { color: var(--teal); }

.cart-btn {
    position: relative;
    background: var(--purple);
    border: none;
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
}

.cart-btn:hover {
    background: #5A3F79;
    transform: scale(1.05);
    color: white;
}

a.cart-btn,
a.cart-btn:visited {
    color: white;
}

.cart-badge {
    position: absolute;
    top: -6px; right: -6px;
    background: var(--pink);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 20px; height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cart-badge.visible { opacity: 1; transform: scale(1); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

/* ============ HERO ============ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 2rem 4rem;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(160deg, #020104 0%, #080412 15%, #0e0820 35%, #130b28 50%, #0e0820 70%, #080412 85%, #020104 100%);
    background-size: 400% 400%;
    animation: heroGradientShift 20s ease infinite;
}

@keyframes heroGradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Starry sky layer */
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, white, transparent),
        radial-gradient(2px 2px at 160px 120px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 230px 80px, white, transparent),
        radial-gradient(2px 2px at 300px 150px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 370px 50px, white, transparent),
        radial-gradient(2px 2px at 450px 180px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 520px 90px, white, transparent),
        radial-gradient(2px 2px at 600px 200px, white, transparent),
        radial-gradient(1px 1px at 680px 60px, rgba(255,255,255,0.9), transparent),
        radial-gradient(2px 2px at 750px 140px, white, transparent),
        radial-gradient(1px 1px at 50px 200px, white, transparent),
        radial-gradient(2px 2px at 120px 280px, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 200px 350px, white, transparent),
        radial-gradient(2px 2px at 280px 420px, rgba(255,255,255,0.7), transparent),
        radial-gradient(1px 1px at 360px 300px, white, transparent),
        radial-gradient(2px 2px at 440px 380px, rgba(255,255,255,0.9), transparent),
        radial-gradient(1px 1px at 530px 450px, white, transparent),
        radial-gradient(2px 2px at 620px 320px, white, transparent),
        radial-gradient(1px 1px at 700px 400px, rgba(255,255,255,0.8), transparent),
        radial-gradient(2px 2px at 780px 280px, white, transparent),
        radial-gradient(3px 3px at 100px 500px, rgba(255,220,100,0.9), transparent),
        radial-gradient(3px 3px at 400px 100px, rgba(255,220,100,0.8), transparent),
        radial-gradient(3px 3px at 700px 350px, rgba(100,200,255,0.9), transparent);
    background-repeat: repeat;
    background-size: 800px 600px;
    animation: twinkle 4s ease-in-out infinite;
    opacity: 0.6;
    pointer-events: none;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, white, transparent);
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    z-index: 1;
}

.shooting-star::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px 2px white, 0 0 20px 4px rgba(255,255,255,0.5);
    left: 0;
    top: -2px;
}

.shooting-star.s1 {
    top: 15%;
    left: 70%;
    transform: rotate(-35deg);
    animation: shootingStar 8s ease-in-out infinite;
    animation-delay: 1s;
}

.shooting-star.s2 {
    top: 25%;
    left: 40%;
    transform: rotate(-40deg);
    animation: shootingStar 10s ease-in-out infinite;
    animation-delay: 4s;
}

.shooting-star.s3 {
    top: 10%;
    left: 85%;
    transform: rotate(-30deg);
    animation: shootingStar 12s ease-in-out infinite;
    animation-delay: 7s;
}

@keyframes shootingStar {
    0%, 100% {
        opacity: 0;
        transform: translateX(0) translateY(0) rotate(-35deg);
    }
    5% {
        opacity: 1;
    }
    15% {
        opacity: 0;
        transform: translateX(-200px) translateY(120px) rotate(-35deg);
    }
}

/* Moon glow */
.moon {
    position: absolute;
    top: 8%;
    right: 10%;
    width: 55px;
    height: 55px;
    background: radial-gradient(circle at 30% 30%, #fffde7, #ffd54f 40%, #ffb300 100%);
    border-radius: 50%;
    opacity: 0.7;
    box-shadow:
        0 0 30px 8px rgba(255, 213, 79, 0.2),
        0 0 60px 20px rgba(255, 213, 79, 0.1),
        0 0 100px 50px rgba(255, 213, 79, 0.05);
    animation: moonGlow 5s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

.moon::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 20%;
    width: 15px;
    height: 15px;
    background: rgba(255,200,100,0.3);
    border-radius: 50%;
}

.moon::after {
    content: '';
    position: absolute;
    top: 45%;
    left: 55%;
    width: 20px;
    height: 20px;
    background: rgba(255,200,100,0.25);
    border-radius: 50%;
}

@keyframes moonGlow {
    0%, 100% {
        box-shadow:
            0 0 40px 10px rgba(255, 213, 79, 0.4),
            0 0 80px 30px rgba(255, 213, 79, 0.2),
            0 0 120px 60px rgba(255, 213, 79, 0.1);
    }
    50% {
        box-shadow:
            0 0 50px 15px rgba(255, 213, 79, 0.5),
            0 0 100px 40px rgba(255, 213, 79, 0.25),
            0 0 150px 80px rgba(255, 213, 79, 0.15);
    }
}

/* Floating food elements */
.floating-food {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
    filter: blur(1px);
    animation: floatFood 20s ease-in-out infinite;
}

.floating-food.f1 { top: 15%; left: 5%; font-size: 3rem; animation-delay: 0s; animation-duration: 18s; }
.floating-food.f2 { top: 70%; left: 8%; font-size: 2.2rem; animation-delay: -3s; animation-duration: 22s; }
.floating-food.f3 { top: 25%; right: 8%; font-size: 2.8rem; animation-delay: -6s; animation-duration: 20s; }
.floating-food.f4 { top: 60%; right: 5%; font-size: 2.5rem; animation-delay: -9s; animation-duration: 24s; }
.floating-food.f5 { top: 80%; left: 20%; font-size: 2rem; animation-delay: -2s; animation-duration: 19s; }
.floating-food.f6 { top: 10%; left: 25%; font-size: 2.3rem; animation-delay: -5s; animation-duration: 21s; }
.floating-food.f7 { top: 45%; right: 15%; font-size: 2rem; animation-delay: -8s; animation-duration: 23s; }
.floating-food.f8 { top: 85%; right: 20%; font-size: 2.4rem; animation-delay: -1s; animation-duration: 17s; }
.floating-food.f9 { top: 35%; left: 3%; font-size: 2.6rem; animation-delay: -4s; animation-duration: 25s; }
.floating-food.f10 { top: 50%; left: 15%; font-size: 2.1rem; animation-delay: -7s; animation-duration: 20s; }

@keyframes floatFood {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.12;
    }
    25% {
        transform: translateY(-30px) rotate(10deg) scale(1.1);
        opacity: 0.18;
    }
    50% {
        transform: translateY(-15px) rotate(-5deg) scale(1.05);
        opacity: 0.15;
    }
    75% {
        transform: translateY(-40px) rotate(8deg) scale(1.08);
        opacity: 0.2;
    }
}

.hero-content {
    max-width: 90vw;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-logo-wrap {
    position: relative;
    display: block;
    width: 100%;
    margin: 0 auto 1.5rem;
}

.hero-logo {
    max-width: 80vw;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
    animation: floatLogo 4s ease-in-out infinite, glowPulse 3s ease-in-out infinite;
}

/* Floating bob */
@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Pulsing glow aura */
@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(61, 184, 200, 0.0)) drop-shadow(0 0 40px rgba(255, 45, 120, 0.0)); }
    50% { filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 25px rgba(61, 184, 200, 0.5)) drop-shadow(0 0 50px rgba(255, 45, 120, 0.35)); }
}


/* Sparkle / glitter particles */
.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
}

.sparkle::before,
.sparkle::after {
    content: '';
    position: absolute;
    background: white;
    border-radius: 2px;
}

/* Cross-shaped sparkle */
.sparkle::before {
    width: 2px;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
}

.sparkle::after {
    width: 100%;
    height: 2px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes twinkle1 {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(45deg); }
}

@keyframes twinkle2 {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    40% { opacity: 1; transform: scale(1.2) rotate(30deg); }
    80% { opacity: 0; transform: scale(0) rotate(60deg); }
}

.sparkle.s1 {
    top: 8%; left: 8%;
    width: 8px; height: 8px;
    animation: twinkle1 2.5s ease-in-out infinite;
}

.sparkle.s2 {
    top: 5%; right: 12%;
    width: 6px; height: 6px;
    animation: twinkle2 3s ease-in-out 0.5s infinite;
}

.sparkle.s3 {
    bottom: 18%; left: 5%;
    width: 5px; height: 5px;
    animation: twinkle1 2.8s ease-in-out 1s infinite;
}

.sparkle.s4 {
    bottom: 15%; right: 8%;
    width: 7px; height: 7px;
    animation: twinkle2 2.2s ease-in-out 0.3s infinite;
}

.sparkle.s5 {
    top: 35%; left: -2%;
    width: 5px; height: 5px;
    animation: twinkle1 3.2s ease-in-out 1.5s infinite;
}

.sparkle.s6 {
    top: 30%; right: -1%;
    width: 6px; height: 6px;
    animation: twinkle2 2.7s ease-in-out 0.8s infinite;
}

@keyframes twinkle3 {
    0%, 100% { opacity: 0; transform: scale(0) rotate(0deg); }
    30% { opacity: 1; transform: scale(1.3) rotate(20deg); }
    60% { opacity: 0.6; transform: scale(0.8) rotate(50deg); }
    90% { opacity: 0; transform: scale(0) rotate(70deg); }
}

.sparkle.s7 {
    top: 0%; left: 30%;
    width: 5px; height: 5px;
    animation: twinkle3 2.4s ease-in-out 0.2s infinite;
}

.sparkle.s8 {
    top: 0%; right: 30%;
    width: 7px; height: 7px;
    animation: twinkle1 3s ease-in-out 1.2s infinite;
}

.sparkle.s9 {
    bottom: 5%; left: 25%;
    width: 6px; height: 6px;
    animation: twinkle3 2.6s ease-in-out 0.6s infinite;
}

.sparkle.s10 {
    bottom: 5%; right: 25%;
    width: 5px; height: 5px;
    animation: twinkle1 2.3s ease-in-out 1.8s infinite;
}

.sparkle.s11 {
    top: 50%; left: -4%;
    width: 7px; height: 7px;
    animation: twinkle3 2.9s ease-in-out 0.4s infinite;
}

.sparkle.s12 {
    top: 50%; right: -3%;
    width: 5px; height: 5px;
    animation: twinkle2 2.1s ease-in-out 1.4s infinite;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--gold);
    font-weight: 600;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}

.hero-badge.open {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
    animation: pulseBadge 2s ease-in-out infinite;
}

.hero-badge.closed {
    background: rgba(255, 100, 100, 0.15);
    border-color: rgba(255, 100, 100, 0.3);
    color: #fca5a5;
}

@keyframes pulseBadge {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.3); }
    50% { box-shadow: 0 0 20px 5px rgba(34, 197, 94, 0.2); }
}

.hero h1 {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero h1 .gradient-text {
    color: #FFFFFF;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 900px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.5rem;
    margin-top: -8px;
    background: var(--pink);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 6px 30px rgba(255, 45, 120, 0.35);
}

.hero-cta:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 50px rgba(255, 45, 120, 0.45);
}

.hero-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    filter: blur(180px);
    opacity: 0.08;
    pointer-events: none;
}

.hero-glow.teal {
    background: var(--teal);
    top: 10%; left: 5%;
}

.hero-glow.purple {
    background: var(--pink);
    bottom: 10%; right: 5%;
}

/* Wave divider */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 80px;
    background: var(--bg-body);
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 3;
}

/* On homepage, dark body + dark fade from hero */
body:has(.hero):not(:has(.menu-section)) {
    background: #050208;
}

body:has(.hero):not(:has(.menu-section)) .hero::after {
    height: 120px;
    background: linear-gradient(to bottom, transparent 0%, #050208 100%);
    clip-path: none;
}

/* Pages without hero need top padding for fixed header */
.page-section:first-of-type {
    padding-top: 8rem;
}

/* ============ MENU SECTION ============ */
.menu-section {
    position: relative;
    z-index: 1;
    padding: 4rem 2rem 5rem;
    width: 100%;
    max-width: 1400px; width: 100%;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    padding: 0 1rem;
}

.category-tab {
    padding: 0.7rem 1.6rem;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(30, 16, 40, 0.04);
}

.category-tab:hover {
    border-color: var(--purple);
    color: var(--purple);
    transform: translateY(-1px);
}

.category-tab.active {
    background: var(--purple);
    border-color: var(--purple);
    color: white;
    box-shadow: 0 4px 15px rgba(107, 79, 138, 0.3);
}

.category-tab.crystal-fav {
    border-color: var(--pink);
    color: var(--pink);
    font-weight: 700;
}

.category-tab.crystal-fav:hover {
    background: rgba(255, 45, 120, 0.08);
    border-color: var(--pink);
    color: var(--pink);
}

.category-tab.crystal-fav.active {
    background: var(--pink);
    border-color: var(--pink);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 45, 120, 0.35);
}

/* Menu Grid */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

/* Menu Card */
.menu-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s;
    box-shadow: var(--shadow-sm);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.menu-card-image {
    position: relative;
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #E8E0F0, #D4F0F0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.menu-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-card-image .placeholder-icon {
    font-size: 3.5rem;
}

/* Favorite heart on menu cards */
.fav-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(6px);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 36px;
    text-align: center;
    color: var(--text-muted);
    transition: all 0.25s;
    z-index: 2;
    padding: 0;
}

.fav-heart:hover {
    transform: scale(1.15);
    color: var(--pink);
    background: rgba(255, 255, 255, 0.95);
}

.fav-heart.active {
    color: var(--pink);
    background: rgba(255, 255, 255, 0.95);
}

/* Dashboard favorites grid */
.dash-fav-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
}

.dash-fav-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.dash-fav-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.dash-fav-img {
    width: 100%;
    height: 120px;
    background: linear-gradient(135deg, #E8E0F0, #D4F0F0);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.dash-fav-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dash-fav-img .placeholder-icon {
    font-size: 2.5rem;
}

.dash-fav-body {
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dash-fav-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.dash-fav-price {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--purple);
    font-size: 0.9rem;
}

.dash-fav-remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    line-height: 30px;
    color: var(--pink);
    transition: all 0.25s;
}

.dash-fav-remove:hover {
    transform: scale(1.15);
    background: white;
}

.menu-card-body {
    padding: 1.2rem 1.5rem 1.5rem;
}

.menu-card-category {
    font-size: 0.72rem;
    color: var(--teal);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 0.4rem;
}

.menu-card-name {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
}

.menu-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.menu-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.menu-card-price {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--purple);
}

.add-to-cart-btn {
    padding: 0.55rem 1.3rem;
    background: linear-gradient(135deg, var(--purple), var(--purple-light));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.add-to-cart-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 4px 20px rgba(107, 79, 138, 0.3);
}

.add-to-cart-btn.added {
    background: linear-gradient(135deg, var(--teal), #2DA0AE);
}

/* ============ CART DRAWER ============ */
.cart-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 16, 40, 0.4);
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.cart-overlay.open { opacity: 1; visibility: visible; }

.cart-drawer {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: 420px;
    max-width: 90vw;
    background: var(--bg-card);
    border-left: 1px solid var(--border);
    z-index: 201;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 50px rgba(30, 16, 40, 0.2);
}

.cart-drawer.open { transform: translateX(0); }

.cart-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(107, 79, 138, 0.05), rgba(61, 184, 200, 0.05));
}

/* Address Selector Dropdown */
.address-selector {
    width: 100%;
    padding: 0.9rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a8a9a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.address-selector:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(61, 184, 200, 0.15);
}

.address-selector option {
    background: var(--bg-card);
    color: var(--text-primary);
    padding: 0.5rem;
}

/* Profile Photo */
.profile-photo-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.profile-photo-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--teal), var(--purple));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    overflow: hidden;
    flex-shrink: 0;
}

.profile-photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-photo-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-photo-upload-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.profile-photo-upload-btn:hover {
    background: var(--bg-card);
    border-color: var(--teal);
}

.profile-photo-remove-btn {
    background: none;
    border: none;
    color: var(--pink);
    font-size: 0.85rem;
    cursor: pointer;
    padding: 0.3rem;
}

.profile-photo-remove-btn:hover {
    text-decoration: underline;
}

/* Address Management */
.addresses-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.addresses-header h3 {
    margin: 0;
    flex-shrink: 0;
}

.add-address-btn {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: white;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 10px;
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.add-address-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(61, 184, 200, 0.3);
}

.addresses-grid {
    display: grid;
    gap: 1rem;
}

.address-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.2rem;
}

.address-card.default {
    border-color: var(--teal);
    background: linear-gradient(135deg, rgba(61, 184, 200, 0.05), rgba(107, 79, 138, 0.05));
}

.address-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.default-badge {
    background: var(--teal);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-default-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    color: var(--purple);
}

.address-default-btn:hover {
    background: rgba(107, 79, 138, 0.1);
    border-color: var(--purple);
}

.address-card-label {
    font-weight: 600;
    color: var(--teal);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.address-card-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.5;
}

.address-card-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.address-edit-btn,
.address-delete-btn {
    background: none;
    border: 1px solid var(--border);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
}

.address-edit-btn {
    color: var(--teal);
}

.address-edit-btn:hover {
    background: rgba(61, 184, 200, 0.1);
    border-color: var(--teal);
}

.address-delete-btn {
    color: var(--pink);
}

.address-delete-btn:hover {
    background: rgba(255, 107, 129, 0.1);
    border-color: var(--pink);
}

.address-form-card {
    margin-top: 1.5rem;
}

.address-form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.account-cancel-btn {
    flex: 1;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
    padding: 0.9rem;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
}

.account-cancel-btn:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.cart-header h3 { font-size: 1.3rem; }

.cart-clear-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.3rem 0.5rem;
    border-radius: 6px;
    transition: all 0.2s;
    margin-left: auto;
    margin-right: 0.5rem;
}

.cart-clear-btn:hover {
    color: var(--pink);
    background: rgba(255, 107, 129, 0.1);
}

.cart-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.cart-close:hover { color: var(--pink); transform: rotate(90deg); }

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 1rem 1.5rem;
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.cart-empty .empty-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.cart-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

.cart-item-info { flex: 1; }

.cart-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
}

.cart-item-price {
    color: var(--purple);
    font-weight: 700;
    font-size: 0.9rem;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.qty-btn {
    width: 30px; height: 30px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-subtle);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    border-color: var(--purple);
    background: rgba(107, 79, 138, 0.1);
}

.cart-item-qty {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.1rem;
    transition: color 0.3s;
    padding: 0.2rem;
}

.cart-item-remove:hover { color: var(--pink); }

.cart-footer {
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-subtle);
}

.cart-totals { margin-bottom: 1rem; }

.cart-total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.cart-total-row.total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple);
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--pink), #E02068);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 4px 20px rgba(255, 45, 120, 0.25);
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(255, 45, 120, 0.35);
}

.checkout-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============ CHECKOUT SECTION - TWO COLUMN LAYOUT ============ */
.checkout-section {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    max-width: 1400px; width: 100%;
    margin: 0 auto;
    display: none;
}

.checkout-section.active { display: block; }

/* Two-column checkout layout */
.checkout-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.checkout-left,
.checkout-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-md);
}

.checkout-card-title {
    font-size: 1.1rem;
    color: var(--purple);
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border);
}

.checkout-payment-card {
    background: linear-gradient(135deg, rgba(107, 79, 138, 0.03), rgba(61, 184, 200, 0.03));
    border: 2px solid var(--purple);
}

.checkout-payment-card .checkout-card-title {
    color: var(--purple);
    border-bottom-color: var(--purple);
}

/* Legacy checkout-form styles (for backwards compatibility) */
.checkout-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.5rem; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(107, 79, 138, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235A5068' d='M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(107, 79, 138, 0.1);
}

.address-row {
    display: grid;
    grid-template-columns: 1fr 1fr 120px;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.address-row .form-group {
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .address-row {
        grid-template-columns: 1fr 1fr;
    }
    .address-row .form-group:first-child {
        grid-column: 1 / -1;
    }
}

.checkout-summary {
    background: linear-gradient(135deg, rgba(107, 79, 138, 0.06), rgba(61, 184, 200, 0.06));
    border-radius: 14px;
    padding: 1.2rem;
    border: 1px solid var(--border);
}

.checkout-summary h4 {
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: var(--purple);
}

.checkout-summary-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}

.tip-section {
    margin-top: 0;
    margin-bottom: 0;
}
.tip-section label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.6rem;
}
.tip-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.tip-btn {
    flex: 1;
    min-width: 60px;
    padding: 0.6rem 0.4rem;
    border: 2px solid var(--border);
    border-radius: 10px;
    background: var(--card-bg);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.tip-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}
.tip-btn.active {
    border-color: var(--teal);
    background: rgba(61, 184, 200, 0.12);
    color: var(--teal);
}
.tip-custom-input {
    display: none;
    margin-top: 0.5rem;
}
.tip-custom-input.show {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.tip-custom-input span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}
.tip-custom-input input {
    flex: 1;
    padding: 0.5rem 0.8rem;
    border: 2px solid var(--border);
    border-radius: 8px;
    background: var(--card-bg);
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color 0.2s;
}
.tip-custom-input input:focus {
    border-color: var(--teal);
}

#paypal-button-container {
    margin-top: 1rem;
    min-height: 50px;
}

.back-to-menu-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--purple);
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.back-to-menu-btn:hover { color: var(--pink); }

/* Checkout responsive - stack on mobile */
@media (max-width: 900px) {
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    .checkout-left {
        order: 2;
    }
    .checkout-right {
        order: 1;
    }
}

/* ============ ORDER CONFIRMATION ============ */
.order-confirmation {
    text-align: center;
    padding: 4rem 2rem;
    display: none;
}

.order-confirmation.active { display: block; }

.confirmation-icon {
    font-size: 5rem;
    margin-bottom: 1rem;
    animation: bounceIn 0.6s ease;
}

@keyframes bounceIn {
    0% { transform: scale(0); }
    60% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.order-confirmation h2 {
    margin-bottom: 1rem;
    color: var(--purple);
    font-size: 2rem;
}

.order-confirmation .order-id {
    font-family: 'Space Grotesk', monospace;
    font-size: 1.2rem;
    background: linear-gradient(135deg, rgba(107, 79, 138, 0.1), rgba(255, 45, 120, 0.1));
    display: inline-block;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    margin: 1rem 0;
    color: var(--pink);
    font-weight: 700;
}

/* ============ ABOUT SECTION ============ */
.about-section {
    position: relative;
    z-index: 1;
    padding: 5rem 2rem;
    max-width: 1400px; width: 100%;
    margin: 0 auto;
}

/* Two-column layout */
.about-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.about-col-left .sneaker-showcase {
    margin-bottom: 0;
}

.about-col-right p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 28px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--teal), var(--purple), var(--pink), var(--gold));
}

.about-card h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--purple);
}

.sneaker-showcase {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #F0EBF5, #E5F5F5);
    border-radius: 20px;
}

.sneaker-img {
    width: 100%;
    max-width: 380px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s ease;
    display: block;
    margin: 0 auto;
}

.sneaker-img:hover {
    transform: rotate(-2deg) scale(1.02);
}

.sneaker-caption {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--purple);
    font-weight: 600;
    font-style: italic;
    background: rgba(107, 79, 138, 0.08);
    padding: 0.3rem 1rem;
    border-radius: 50px;
}

.about-card p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.color-swatches {
    display: flex;
    gap: 0.8rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.swatch {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-subtle);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.swatch-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* ============ FOOTER ============ */
.footer {
    position: relative;
    z-index: 1;
    padding: 1rem 1.5rem;
    text-align: center;
    background: linear-gradient(180deg, #050208 0%, #030105 100%);
    color: white;
    overflow: hidden;
}

/* Stars in footer to connect with hero */
.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(1px 1px at 10% 20%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 30% 60%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 50% 30%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 70% 70%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 90% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 15% 80%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 15%, rgba(255,255,255,0.35) 0%, transparent 100%);
    pointer-events: none;
    animation: twinkleFooter 4s ease-in-out infinite alternate;
}

@keyframes twinkleFooter {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

.footer-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

.footer-info {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.footer-admin {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    transition: color 0.3s;
    margin-left: 0.5rem;
}

.footer-admin:hover {
    color: rgba(255, 255, 255, 0.4);
}

.footer-delivery {
    display: none;
}

/* ============ FLOATING CART BUTTON ============ */
.floating-cart-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--purple);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 150;
    box-shadow: 0 6px 25px rgba(107, 79, 138, 0.4);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(107, 79, 138, 0.5);
}

.floating-cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--pink);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
}

/* ============ PLACE ORDER BUTTON ============ */
.place-order-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--pink), #E02068);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 6px 30px rgba(255, 45, 120, 0.35);
}

.place-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 45, 120, 0.45);
}

.place-order-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ============ TOAST ============ */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--purple);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 300;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 10px 40px rgba(107, 79, 138, 0.4);
}

.toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.toast.success { background: var(--teal); box-shadow: 0 10px 40px rgba(61, 184, 200, 0.4); }

/* ============ LOADING ============ */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.spinner {
    width: 44px; height: 44px;
    border: 4px solid var(--bg-subtle);
    border-top-color: var(--purple);
    border-right-color: var(--pink);
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .header { padding: 0.7rem 1rem; }

    .nav {
        display: none;
        position: absolute;
        top: 100%; right: 0;
        width: 200px;
        background: linear-gradient(145deg, #2D1B4E, #4A2D6E);
        border: 1px solid rgba(107, 79, 138, 0.3);
        border-top: none;
        border-radius: 0 0 0 16px;
        flex-direction: column;
        padding: 1rem 1.2rem;
        gap: 1rem;
        box-shadow: 0 8px 30px rgba(30, 16, 40, 0.4);
        align-items: flex-end;
    }

    .nav.open { display: flex; }
    .mobile-menu-btn { display: block; }

    .hero {
        padding: 7rem 1.5rem 5rem;
        min-height: auto;
    }

    .hero p { font-size: 1rem; }
    .hero-logo { max-width: 480px; }
    .hero-logo-wrap { width: 100%; text-align: center; }
    .logo-img { height: 65px; }

    .menu-section { padding: 3rem 1rem; }
    .section-header h2 { font-size: 1.8rem; }

    .menu-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        -webkit-overflow-scrolling: touch;
    }

    .about-card { padding: 2rem 1.5rem; }
    .about-columns { grid-template-columns: 1fr; }
    .checkout-card { padding: 1.5rem; }

    .cart-drawer {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2rem; }
    .logo-img { height: 55px; }
    .hero-logo { max-width: 320px; }
    .color-swatches { gap: 0.5rem; }
}

/* Landscape tablets — shorter viewport */
@media (max-height: 820px) and (orientation: landscape) {
    .hero { padding: 5.5rem 2rem 3.5rem; }
    .hero-logo-wrap { margin-bottom: 1.2rem; }
    .hero-logo { max-width: 360px; }
    .hero h1 { font-size: 2.8rem; margin-bottom: 0.8rem; }
    .hero p { font-size: 1rem; }
}

/* ============ CUSTOMER ACCOUNT ============ */
.nav-account-link {
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
}

.nav-account-link:hover {
    color: var(--teal) !important;
}


/* Auth Modal */
.auth-modal {
    width: 100%;
    max-width: 780px;
    position: relative;
}

.modal-close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.3rem;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
}

.modal-close-btn:hover { color: var(--pink); }

.auth-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--border);
}

.auth-tab {
    flex: 1;
    padding: 0.8rem;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    color: var(--text-muted);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.auth-tab:hover { color: var(--text-secondary); }
.auth-tab.active { color: var(--purple); border-bottom-color: var(--purple); }

.auth-error {
    background: rgba(255, 45, 120, 0.08);
    color: var(--pink);
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
    text-align: center;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.8rem;
    background: linear-gradient(135deg, var(--purple), var(--teal));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 79, 138, 0.3);
}

/* Auth modal form groups */
.auth-modal .form-group { margin-bottom: 1rem; }

.auth-modal .form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--purple);
    margin-bottom: 0.4rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.auth-modal .form-group input {
    width: 100%;
    padding: 0.7rem 1rem;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: 'Inter', sans-serif;
}

.auth-modal .form-group input:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 4px rgba(107, 79, 138, 0.1);
}

/* Account Modal */
.account-modal {
    width: 100%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.account-modal-title {
    font-size: 1.3rem;
    color: var(--purple);
    margin-bottom: 1.5rem;
}

.account-modal-footer {
    text-align: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.logout-link {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s;
    font-family: 'Inter', sans-serif;
}

.logout-link:hover { color: var(--pink); }

/* Order History Cards */
.history-order-card {
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    margin-bottom: 0.8rem;
}

.history-order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.history-order-id {
    font-family: 'Space Grotesk', monospace;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.history-order-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-left: 0.5rem;
}

.history-order-meta {
    display: flex;
    gap: 0.6rem;
    align-items: center;
}

.history-order-total {
    font-weight: 700;
    color: var(--purple);
    font-size: 0.95rem;
}

.history-order-items {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.reorder-btn {
    padding: 0.45rem 1.2rem;
    background: var(--pink);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.reorder-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 45, 120, 0.3);
}

/* Checkout Account Section */
.checkout-account-section {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(107, 79, 138, 0.04), rgba(61, 184, 200, 0.04));
    border: 1px dashed var(--border);
    border-radius: 14px;
}

.checkout-account-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.checkout-account-header span:first-child {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--purple);
}

.checkout-account-optional {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    background: var(--bg-subtle);
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
}

/* Modal overlay (shared) */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(30, 16, 40, 0.4);
    z-index: 300;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.modal-overlay.open { display: flex; }

.modal {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 0 20px 60px rgba(30, 16, 40, 0.2);
}

/* Status badges (reuse in customer view) */
.status-badge {
    padding: 0.2rem 0.6rem;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-confirmed { background: rgba(107, 79, 138, 0.12); color: var(--purple); }
.status-preparing { background: rgba(245, 166, 35, 0.12); color: #c98a1a; }
.status-on_the_way { background: rgba(61, 184, 200, 0.12); color: #2a9aaa; }
.status-delivered { background: rgba(34, 197, 94, 0.12); color: #1a8a4a; }
.status-cancelled { background: rgba(255, 45, 120, 0.12); color: var(--pink); }
.status-ready_for_pickup { background: rgba(245, 166, 35, 0.15); color: #b8860b; }
.status-driver_accepted { background: rgba(107, 79, 138, 0.15); color: var(--purple); }

/* ---- Driver Info in Order History ---- */
.history-driver-info {
    font-size: 0.85rem;
    color: var(--teal);
    padding: 0.4rem 0.8rem;
    background: rgba(61, 184, 200, 0.08);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.track-driver-btn {
    width: 100%;
    padding: 0.6rem;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, var(--teal), #2a9aaa);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
}

.track-driver-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(61, 184, 200, 0.3); }

/* ---- Tracking Modal ---- */
.tracking-modal {
    background: var(--bg-dark);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    width: 100%;
    max-width: 900px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.tracking-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--glass-border);
}

.tracking-header h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.tracking-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
}

.tracking-driver-info {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--glass-border);
}

.tracking-map-container {
    height: 300px;
    background: #1a1525;
}

.tracking-status {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    color: var(--teal);
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.tracking-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    margin-right: 0.4rem;
    vertical-align: middle;
    animation: trackPulse 1.5s ease-in-out infinite;
}

@keyframes trackPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* ============ ANIMATIONS ============ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.menu-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.menu-card:nth-child(1) { animation-delay: 0.05s; }
.menu-card:nth-child(2) { animation-delay: 0.1s; }
.menu-card:nth-child(3) { animation-delay: 0.15s; }
.menu-card:nth-child(4) { animation-delay: 0.2s; }
.menu-card:nth-child(5) { animation-delay: 0.25s; }
.menu-card:nth-child(6) { animation-delay: 0.3s; }
.menu-card:nth-child(7) { animation-delay: 0.35s; }
.menu-card:nth-child(8) { animation-delay: 0.4s; }

/* Profile two-column layout */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .profile-grid { grid-template-columns: 1fr; }
}

/* ============ CUSTOMER DASHBOARD ============ */
.account-dashboard {
    position: relative;
    z-index: 1;
    padding: 8rem 2rem 3rem;
    max-width: 1400px; width: 100%;
    margin: 0 auto;
}

/* Two-column layout */
.dash-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
    align-items: start;
}

/* LEFT PANEL — Sidebar */
.dash-sidebar {
    position: sticky;
    top: 5rem;
}

.dash-welcome-card {
    background: linear-gradient(135deg, #2D1B4E 0%, #4A2D6E 40%, #3DB8C8 100%);
    border-radius: 24px;
    padding: 2rem 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-lg);
    color: white;
    text-align: center;
}

.dash-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 1rem;
}

.dash-welcome-card h2 {
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.2rem;
}

.dash-email {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.dash-member-since {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
}

.dash-order-btn {
    display: inline-block;
    margin-top: 1.2rem;
    padding: 0.65rem 1.6rem;
    background: var(--pink);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 45, 120, 0.35);
}

.dash-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 45, 120, 0.5);
}

/* Quick Stats — stacked in sidebar */
.dash-stats {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1rem;
}

.dash-stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 0.9rem 1.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
}

.dash-stat-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--purple);
}

.dash-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dash-sidebar-footer {
    text-align: center;
    padding-top: 0.5rem;
}

/* RIGHT PANEL */
.dash-main { min-width: 0; }

.account-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 1.5rem;
}

.account-tab {
    padding: 0.8rem 1.5rem;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
}

.account-tab:hover { color: var(--text-secondary); }
.account-tab.active { color: var(--purple); border-bottom-color: var(--purple); }

.account-panel { display: none; }
.account-panel.active { display: block; animation: fadeInUp 0.3s ease; }

.account-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
}

.account-card h3 {
    font-size: 1.2rem;
    color: var(--purple);
    margin-bottom: 1.5rem;
}

.account-save-btn {
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, var(--purple), var(--teal));
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    transition: all 0.3s;
    margin-top: 0.5rem;
}

.account-save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(107, 79, 138, 0.3);
}

.account-msg {
    font-size: 0.85rem;
    margin-top: 0.8rem;
    text-align: center;
    min-height: 1.2em;
    transition: all 0.3s;
}

.account-msg.success { color: #1a8a4a; }
.account-msg.error { color: var(--pink); }

.account-email-display {
    padding: 0.8rem 1rem;
    background: var(--bg-subtle);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
}

.account-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 900px) {
    .dash-layout {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .dash-sidebar {
        position: static;
    }
    .dash-stats {
        flex-direction: row;
    }
    .dash-stat-card {
        flex: 1;
        flex-direction: column;
        text-align: center;
        gap: 0.2rem;
    }
}

@media (max-width: 768px) {
    .account-dashboard { padding: 7rem 1rem 2rem; }
    .account-card { padding: 1.5rem; border-radius: 18px; }
    .account-tabs { overflow-x: auto; justify-content: flex-start; }
    .account-tab { padding: 0.7rem 1rem; white-space: nowrap; }
    .dash-welcome-card { padding: 1.5rem 1.2rem; }
    .dash-stat-card { padding: 0.8rem 0.5rem; }
    .dash-stat-number { font-size: 1rem; }
    .dash-stat-label { font-size: 0.65rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-body); }
::-webkit-scrollbar-thumb { background: rgba(107, 79, 138, 0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ============ PAYMENT TABS & CARD FORM ============ */
.payment-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.payment-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1rem;
    background: var(--bg-subtle);
    border: 2px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}

.payment-tab:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.payment-tab.active {
    background: linear-gradient(135deg, rgba(107, 79, 138, 0.1), rgba(61, 184, 200, 0.1));
    border-color: var(--purple);
    color: var(--purple);
}

.payment-tab svg {
    flex-shrink: 0;
}

.payment-method-content {
    animation: fadeInUp 0.3s ease;
}

.card-form {
    margin-bottom: 1rem;
}

.card-form .form-group {
    margin-bottom: 1rem;
}

.card-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.card-row .form-group {
    margin-bottom: 1rem;
}

.pay-now-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--pink), #E02068);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 6px 30px rgba(255, 45, 120, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.pay-now-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 45, 120, 0.45);
}

.pay-now-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pay-btn-text {
    font-size: 1rem;
}

.pay-btn-amount {
    font-size: 1.1rem;
    font-weight: 700;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem;
    background: rgba(61, 184, 200, 0.08);
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--teal);
    font-weight: 500;
}

.secure-badge svg {
    flex-shrink: 0;
}

/* Address Verification */
.address-verify-section {
    margin-top: 1.5rem;
    padding: 1rem 1.2rem;
    background: linear-gradient(135deg, rgba(61, 184, 200, 0.08), rgba(107, 79, 138, 0.08));
    border: 2px solid var(--teal);
    border-radius: 14px;
}

.address-verify-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
}

.address-verify-header .verify-icon {
    font-size: 1.2rem;
}

.address-preview {
    padding: 0.8rem 1rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.address-preview .preview-line {
    font-size: 0.95rem;
    color: var(--text-primary);
    line-height: 1.5;
}

.address-preview .preview-line:first-child {
    font-weight: 600;
}

.address-verify-checkbox {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.address-verify-checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--teal);
    cursor: pointer;
}

.address-verify-checkbox .checkmark {
    display: none;
}

/* ============ CHECKOUT ITEM CARDS ============ */
.checkout-summary-title {
    font-size: 1.1rem;
    color: var(--purple);
    margin-bottom: 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--border);
}

.checkout-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
}

.checkout-item-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem;
    background: var(--bg-subtle);
    border: 1px solid var(--border);
    border-radius: 14px;
    transition: all 0.2s;
}

.checkout-item-card:hover {
    box-shadow: var(--shadow-sm);
}

.checkout-item-image {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, #E8E0F0, #D4F0F0);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.checkout-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-icon {
    font-size: 1.8rem;
}

.checkout-item-details {
    flex: 1;
    min-width: 0;
}

.checkout-item-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.checkout-item-price {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.checkout-item-qty-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.checkout-qty-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.checkout-qty-btn:hover {
    border-color: var(--purple);
    background: rgba(107, 79, 138, 0.1);
    color: var(--purple);
}

.checkout-item-qty {
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    font-size: 0.95rem;
}

.checkout-item-total {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: var(--purple);
    min-width: 60px;
    text-align: right;
}

.checkout-totals {
    background: linear-gradient(135deg, rgba(107, 79, 138, 0.04), rgba(61, 184, 200, 0.04));
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid var(--border);
}

.checkout-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.4rem 0;
}

.checkout-total-row .calculating {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.checkout-grand-total {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--teal);
    padding-top: 0.8rem;
    margin-top: 0.5rem;
    border-top: 2px solid var(--border);
}

.checkout-grand-total span:last-child {
    font-family: 'Space Grotesk', sans-serif;
}

/* Checkout Instructions */
.checkout-instructions {
    margin: 1.2rem 0;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.checkout-instructions label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.checkout-instructions textarea {
    width: 100%;
    padding: 0.8rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.9rem;
    resize: vertical;
    min-height: 70px;
}

.checkout-instructions textarea:focus {
    outline: none;
    border-color: var(--teal);
}

/* Totals Accordion */
.checkout-totals-accordion {
    background: linear-gradient(135deg, rgba(107, 79, 138, 0.04), rgba(61, 184, 200, 0.04));
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.totals-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.totals-accordion-header:hover {
    background: rgba(61, 184, 200, 0.08);
}

.totals-accordion-header .accordion-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.totals-accordion-header .accordion-arrow {
    font-size: 0.7rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.totals-accordion-header.open .accordion-arrow {
    transform: rotate(180deg);
}

.totals-accordion-header .accordion-total {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--teal);
    font-family: 'Space Grotesk', sans-serif;
}

.totals-accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 1.2rem;
    border-top: 1px solid transparent;
}

.totals-accordion-content.open {
    max-height: 200px;
    padding: 0.8rem 1.2rem 1rem;
    border-top-color: var(--border);
}

/* Address Verification Modal */
.address-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.address-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.address-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2rem;
    max-width: 420px;
    width: 90%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.address-modal.open {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.address-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.address-modal-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.address-modal-header h3 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin: 0;
}

.address-modal-body p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1rem;
}

.address-modal-preview {
    background: linear-gradient(135deg, rgba(61, 184, 200, 0.08), rgba(107, 79, 138, 0.08));
    border: 2px solid var(--teal);
    border-radius: 12px;
    padding: 1.2rem;
    text-align: center;
}

.address-modal-preview .preview-line {
    font-size: 1rem;
    color: var(--text-primary);
    line-height: 1.6;
}

.address-modal-preview .preview-line:first-child {
    font-weight: 600;
}

.address-modal-actions {
    display: flex;
    gap: 0.8rem;
    margin-top: 1.5rem;
}

.address-modal-btn {
    flex: 1;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.address-modal-btn.secondary {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.address-modal-btn.secondary:hover {
    background: var(--bg-card);
    color: var(--text-primary);
}

.address-modal-btn.primary {
    background: linear-gradient(135deg, var(--teal), var(--purple));
    color: white;
}

.address-modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(61, 184, 200, 0.4);
}

/* PayPal Button Container Styling */
#paypal-button-container {
    margin-top: 1rem;
    min-height: 55px;
}

#paypal-button-container .paypal-buttons {
    min-height: 55px;
}

/* Checkout responsive */
@media (max-width: 600px) {
    .checkout-item-card {
        flex-wrap: wrap;
    }

    .checkout-item-image {
        width: 50px;
        height: 50px;
    }

    .checkout-item-details {
        flex: 1;
        min-width: 100px;
    }

    .checkout-item-qty-wrap {
        order: 3;
        margin-top: 0.5rem;
    }

    .checkout-item-total {
        order: 2;
    }
}

/* ============ DASHBOARD ============ */
.dash-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.dash-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-subtle);
    border: 2px solid transparent;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s;
}

.dash-action-btn:hover {
    border-color: var(--teal);
    background: white;
    transform: translateY(-2px);
}

.dash-action-icon {
    font-size: 1.8rem;
}

.dash-recent-order {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-subtle);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}

.dash-recent-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.dash-recent-items {
    font-weight: 500;
    color: var(--text-primary);
}

.dash-recent-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.dash-recent-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.dash-recent-total {
    font-weight: 600;
    color: var(--purple);
}

.dash-view-all-btn {
    width: 100%;
    padding: 0.75rem;
    background: transparent;
    border: 2px dashed var(--border);
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.dash-view-all-btn:hover {
    border-color: var(--teal);
    color: var(--teal);
}

@media (max-width: 600px) {
    .dash-quick-actions {
        grid-template-columns: repeat(2, 1fr);
    }

    .dash-action-btn {
        padding: 1rem;
    }

    .dash-action-icon {
        font-size: 1.5rem;
    }
}
