/* ========================================
   꽃파는여우 Landing Page - main.css
   Brand: #e07c24 (Orange), #fef6ee (Light)
   Font: Pretendard
   ======================================== */


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

:root {
  --primary: #e07c24;
  --primary-rgb: 224,124,36;
  --primary-rgb2:255, 109, 45;
  --primary-dark: #c96a1a;
  --primary-light: #fef6ee;
  --primary-lighter: #fff8f0;
  --primary-accent: #f59e0b;
  --primary-glow: rgba(224,124,36,.5);
  --text-dark: #2d2926;
  --text-mid: #555;
  --text-light: #8a7e76;
  --text-muted: #b0a8a0;
  --border: #e5e0db;
  --bg-light: #fafaf8;
  --bg-section: #f9f8f6;
  --gradient-primary: linear-gradient(135deg, #e07c24, #f59e0b);
  --gradient-light: linear-gradient(to bottom, #fef6ee, #fff8f0);
  --bg-warm2: #f8f4f0;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --shadow-xl: 0 12px 48px rgba(0,0,0,.16);
  --transition: .3s cubic-bezier(.4,0,.2,1);
  --max-w: 1280px;
}

/* 🟠 Orange (Default — same as :root) */
body.orange {
  --primary: #e07c24;
  --primary-rgb: 224,124,36;
  --primary-dark: #c96a1a;
  --primary-light: #fef6ee;
  --primary-lighter: #fff8f0;
  --primary-accent: #f59e0b;
  --primary-glow: rgba(224,124,36,.5);
  --text-dark: #2d2926;
  --text-mid: #555;
}

/* 🔵 Blue */
body.blue {
  --primary: #2563eb; --primary-rgb: 37,99,235;
  --primary-dark: #1d4ed8; --primary-light: #eff6ff;
  --primary-lighter: #f0f7ff; --primary-accent: #60a5fa;
  --primary-glow: rgba(37,99,235,.5);
  --text-dark: #1e293b; --text-mid: #475569;
  --text-light: #64748b; --text-muted: #94a3b8;
  --border: #e2e8f0; --bg-light: #f8fafc; --bg-section: #f1f5f9;
  --gradient-primary: linear-gradient(135deg, #2563eb, #60a5fa);
  --gradient-light: linear-gradient(to bottom, #eff6ff, #f0f7ff);
  --bg-warm2: #f1f5f9;
}

/* 🟣 Purple */
body.purple {
  --primary: #7c3aed; --primary-rgb: 124,58,237;
  --primary-dark: #6d28d9; --primary-light: #f5f3ff;
  --primary-lighter: #faf5ff; --primary-accent: #a78bfa;
  --primary-glow: rgba(124,58,237,.5);
  --text-dark: #1e1b2e; --text-mid: #4a4560;
  --text-light: #6b6185; --text-muted: #9f97b8;
  --border: #e4dff0; --bg-light: #faf8ff; --bg-section: #f3f0fa;
  --gradient-primary: linear-gradient(135deg, #7c3aed, #a78bfa);
  --gradient-light: linear-gradient(to bottom, #f5f3ff, #faf5ff);
  --bg-warm2: #f3f0fa;
}

/* 🌸 Rose / Pink */
body.rose {
  --primary: #e11d48; --primary-rgb: 225,29,72;
  --primary-dark: #be123c; --primary-light: #fff1f2;
  --primary-lighter: #fff5f6; --primary-accent: #fb7185;
  --primary-glow: rgba(225,29,72,.5);
  --text-dark: #2a1520; --text-mid: #5c3d4a;
  --text-light: #8b6275; --text-muted: #b89aaa;
  --border: #f0dce2; --bg-light: #fffbfc; --bg-section: #fdf2f4;
  --gradient-primary: linear-gradient(135deg, #e11d48, #fb7185);
  --gradient-light: linear-gradient(to bottom, #fff1f2, #fff5f6);
  --bg-warm2: #fdf2f4;
}

/* 🟢 Green / Nature */
body.green {
  --primary: #16a34a; --primary-rgb: 22,163,74;
  --primary-dark: #15803d; --primary-light: #f0fdf4;
  --primary-lighter: #f5fff8; --primary-accent: #4ade80;
  --primary-glow: rgba(22,163,74,.5);
  --text-dark: #14291c; --text-mid: #3d5a47;
  --text-light: #5f7d6a; --text-muted: #93b09e;
  --border: #d4e8db; --bg-light: #f8fcf9; --bg-section: #eef7f1;
  --gradient-primary: linear-gradient(135deg, #16a34a, #4ade80);
  --gradient-light: linear-gradient(to bottom, #f0fdf4, #f5fff8);
  --bg-warm2: #eef7f1;
}

/* 🩵 Teal / Mint */
body.teal {
  --primary: #0d9488; --primary-rgb: 13,148,136;
  --primary-dark: #0f766e; --primary-light: #f0fdfa;
  --primary-lighter: #f5fffe; --primary-accent: #2dd4bf;
  --primary-glow: rgba(13,148,136,.5);
  --text-dark: #142726; --text-mid: #3d5856;
  --text-light: #5f7b79; --text-muted: #93b0ae;
  --border: #d4e8e6; --bg-light: #f8fcfb; --bg-section: #eef7f6;
  --gradient-primary: linear-gradient(135deg, #0d9488, #2dd4bf);
  --gradient-light: linear-gradient(to bottom, #f0fdfa, #f5fffe);
  --bg-warm2: #eef7f6;
}

/* 🌊 Indigo / Deep Blue */
body.indigo {
  --primary: #4f46e5; --primary-rgb: 79,70,229;
  --primary-dark: #4338ca; --primary-light: #eef2ff;
  --primary-lighter: #f5f3ff; --primary-accent: #818cf8;
  --primary-glow: rgba(79,70,229,.5);
  --text-dark: #1e1b4b; --text-mid: #3730a3;
  --text-light: #6366f1; --text-muted: #a5b4fc;
  --border: #e0e0f0; --bg-light: #fafaff; --bg-section: #f0f0fa;
  --gradient-primary: linear-gradient(135deg, #4f46e5, #818cf8);
  --gradient-light: linear-gradient(to bottom, #eef2ff, #f5f3ff);
  --bg-warm2: #f0f0fa;
}

/* 🌈 Rainbow */
body.rainbow {
  --primary: #8b5cf6; --primary-rgb: 139,92,246;
  --primary-dark: #7c3aed; --primary-light: #fdf2f8;
  --primary-lighter: #faf5ff; --primary-accent: #f472b6;
  --primary-glow: rgba(139,92,246,.5);
  --text-dark: #1a1a2e; --text-mid: #4a4563;
  --text-light: #6b6185; --text-muted: #9f97b8;
  --border: #e8dff0; --bg-light: #fffbfe; --bg-section: #faf5ff;
  --gradient-primary: linear-gradient(135deg, #f43f5e, #f59e0b, #22c55e, #3b82f6, #8b5cf6);
  --gradient-light: linear-gradient(135deg, #fff1f2, #fffbeb, #f0fdf4, #eff6ff, #f5f3ff);
  --bg-warm2: #faf5ff;
}
body.rainbow #scroll-progress {
  background: linear-gradient(90deg, #f43f5e, #f59e0b, #22c55e, #3b82f6, #8b5cf6) !important;
}
body.rainbow .btn-hero-primary,
body.rainbow .cta-section,
body.rainbow .floating-chat {
  background: linear-gradient(135deg, #f43f5e, #f59e0b, #22c55e, #3b82f6, #8b5cf6) !important;
}

/* 🌙 Dark Mode */
body.dark {
  --primary: #60a5fa; --primary-rgb: 96,165,250;
  --primary-dark: #3b82f6; --primary-light: #1e293b;
  --primary-lighter: #0f172a; --primary-accent: #93c5fd;
/* 예시: body.orange { ... } */
  --text-dark: #f1f5f9; --text-mid: #cbd5e1;
  --text-light: #94a3b8; --text-muted: #64748b;
  --border: #334155; --bg-white: #0f172a;
  --bg-light: #1e293b; --bg-section: #1e293b;
  --gradient-primary: linear-gradient(135deg, #3b82f6, #60a5fa);
  --gradient-light: linear-gradient(to bottom, #1e293b, #0f172a);
  --bg-warm2: #1e293b;
}
body.dark .site-header { background: #0f172a !important; }
body.dark .badge-item,
body.dark .program-card,
body.dark .product-card,
body.dark .benefits-bar { background: #1e293b !important; }
body.dark .mega-menu { background: #0f172a !important; }
body.dark footer { background: #020617 !important; }
body.dark input,
body.dark textarea { background: #1e293b !important; color: #f1f5f9 !important; border-color: #334155 !important; }

/* 🎄 Cherry Blossom / Sakura */
body.sakura {
  --primary: #ec4899; --primary-rgb: 236,72,153;
  --primary-dark: #db2777; --primary-light: #fdf2f8;
  --primary-lighter: #fef7fb; --primary-accent: #f9a8d4;
  --primary-glow: rgba(236,72,153,.5);
  --text-dark: #2e1a25; --text-mid: #6b3a55;
  --text-light: #9d5c80; --text-muted: #c490ab;
  --border: #f3d5e5; --bg-light: #fffafc; --bg-section: #fdf2f8;
  --gradient-primary: linear-gradient(135deg, #ec4899, #f9a8d4);
  --gradient-light: linear-gradient(to bottom, #fdf2f8, #fef7fb);
  --bg-warm2: #fdf2f8;
}

/* ═══════ SEASONAL THEMES ═══════ */

/* 🌸 봄 Spring */
body.spring {
  --primary: #e879a8; --primary-rgb: 232,121,168;
  --primary-dark: #db2777; --primary-light: #fdf2f8;
  --primary-lighter: #fef7fb; --primary-accent: #fbcfe8;
  --primary-glow: rgba(232,121,168,.5);
  --text-dark: #3b1a30; --text-mid: #7a4068;
  --text-light: #a46b8f; --text-muted: #d4a5c2;
  --border: #f5d0e5; --bg-light: #fffafd; --bg-section: #fef2f9;
  --gradient-primary: linear-gradient(135deg, #f472b6, #fbcfe8, #c084fc);
  --gradient-light: linear-gradient(135deg, #fdf2f8, #fce7f3, #faf5ff);
  --bg-warm2: #fef2f9;
}

/* ☀️ 여름 Summer */
body.summer {
  --primary: #0891b2; --primary-rgb: 8,145,178;
  --primary-dark: #0e7490; --primary-light: #ecfeff;
  --primary-lighter: #f0fdff; --primary-accent: #22d3ee;
  --primary-glow: rgba(8,145,178,.5);
  --text-dark: #0c2d3a; --text-mid: #2d6071;
  --text-light: #4d8a9b; --text-muted: #8ec5d4;
  --border: #c7e8ef; --bg-light: #f8fdff; --bg-section: #ecfeff;
  --gradient-primary: linear-gradient(135deg, #06b6d4, #22d3ee, #2dd4bf);
  --gradient-light: linear-gradient(135deg, #ecfeff, #f0fdfa);
  --bg-warm2: #ecfeff;
}

/* 🍂 가을 Autumn */
body.autumn {
  --primary: #b45309; --primary-rgb: 180,83,9;
  --primary-dark: #92400e; --primary-light: #fffbeb;
  --primary-lighter: #fefce8; --primary-accent: #f59e0b;
  --primary-glow: rgba(180,83,9,.5);
  --text-dark: #3b1f06; --text-mid: #78561e;
  --text-light: #a67c3b; --text-muted: #d4b06e;
  --border: #f0dbb5; --bg-light: #fffdf5; --bg-section: #fefce8;
  --gradient-primary: linear-gradient(135deg, #d97706, #f59e0b, #b45309);
  --gradient-light: linear-gradient(135deg, #fffbeb, #fef3c7);
  --bg-warm2: #fefce8;
}

/* ❄️ 겨울 Winter */
body.winter {
  --primary: #6366f1; --primary-rgb: 99,102,241;
  --primary-dark: #4f46e5; --primary-light: #eef2ff;
  --primary-lighter: #f5f3ff; --primary-accent: #a5b4fc;
  --primary-glow: rgba(99,102,241,.5);
  --text-dark: #1e1b4b; --text-mid: #4338ca;
  --text-light: #6366f1; --text-muted: #a5b4fc;
  --border: #e0e7ff; --bg-light: #f5f7ff; --bg-section: #eef2ff;
  --gradient-primary: linear-gradient(135deg, #818cf8, #c7d2fe, #93c5fd);
  --gradient-light: linear-gradient(135deg, #eef2ff, #eff6ff, #f5f3ff);
  --bg-warm2: #eef2ff;
}

/* ═══════ MONTHLY THEMES ═══════ */

/* 1월 🎍 새해 */
body.jan {
  --primary: #dc2626; --primary-rgb: 220,38,38;
  --primary-dark: #b91c1c; --primary-light: #fef2f2;
  --primary-lighter: #fff5f5; --primary-accent: #f87171;
  --primary-glow: rgba(220,38,38,.5);
  --text-dark: #3b1111; --text-mid: #7f1d1d;
  --text-light: #b91c1c; --text-muted: #fca5a5;
  --border: #fecaca; --bg-light: #fff5f5; --bg-section: #fef2f2;
  --gradient-primary: linear-gradient(135deg, #dc2626, #f87171, #fbbf24);
  --gradient-light: linear-gradient(135deg, #fef2f2, #fffbeb);
  --bg-warm2: #fef2f2;
}

/* 2월 💝 발렌타인 */
body.feb {
  --primary: #be185d; --primary-rgb: 190,24,93;
  --primary-dark: #9d174d; --primary-light: #fdf2f8;
  --primary-lighter: #fce7f3; --primary-accent: #f472b6;
  --primary-glow: rgba(190,24,93,.5);
  --text-dark: #3b0a28; --text-mid: #831843;
  --text-light: #be185d; --text-muted: #f9a8d4;
  --border: #fbcfe8; --bg-light: #fff5f9; --bg-section: #fdf2f8;
  --gradient-primary: linear-gradient(135deg, #ec4899, #f472b6, #fb7185);
  --gradient-light: linear-gradient(135deg, #fdf2f8, #fff1f2);
  --bg-warm2: #fdf2f8;
}

/* 3월 🌷 봄꽃 */
body.mar {
  --primary: #d946ef; --primary-rgb: 217,70,239;
  --primary-dark: #c026d3; --primary-light: #fdf4ff;
  --primary-lighter: #faf5ff; --primary-accent: #e879f9;
  --primary-glow: rgba(217,70,239,.5);
  --text-dark: #2e0a3a; --text-mid: #7e22ce;
  --text-light: #a855f7; --text-muted: #d8b4fe;
  --border: #f0abfc; --bg-light: #fefaff; --bg-section: #fdf4ff;
  --gradient-primary: linear-gradient(135deg, #d946ef, #e879f9, #f0abfc);
  --gradient-light: linear-gradient(135deg, #fdf4ff, #faf5ff);
  --bg-warm2: #fdf4ff;
}

/* 4월 🌱 새싹 */
body.apr {
  --primary: #65a30d; --primary-rgb: 101,163,13;
  --primary-dark: #4d7c0f; --primary-light: #f7fee7;
  --primary-lighter: #fefce8; --primary-accent: #a3e635;
  --primary-glow: rgba(101,163,13,.5);
  --text-dark: #1a2e05; --text-mid: #4d7c0f;
  --text-light: #65a30d; --text-muted: #bef264;
  --border: #d9f99d; --bg-light: #fbfee8; --bg-section: #f7fee7;
  --gradient-primary: linear-gradient(135deg, #84cc16, #a3e635, #65a30d);
  --gradient-light: linear-gradient(135deg, #f7fee7, #ecfccb);
  --bg-warm2: #f7fee7;
}

/* 5월 🌹 카네이션 */
body.may {
  --primary: #e11d48; --primary-rgb: 225,29,72;
  --primary-dark: #be123c; --primary-light: #fff1f2;
  --primary-lighter: #ffe4e6; --primary-accent: #fb7185;
  --primary-glow: rgba(225,29,72,.5);
  --text-dark: #3b0d16; --text-mid: #9f1239;
  --text-light: #e11d48; --text-muted: #fda4af;
  --border: #fecdd3; --bg-light: #fff5f6; --bg-section: #fff1f2;
  --gradient-primary: linear-gradient(135deg, #f43f5e, #fb7185, #ec4899);
  --gradient-light: linear-gradient(135deg, #fff1f2, #fdf2f8);
  --bg-warm2: #fff1f2;
}

/* 6월 🌊 바다 */
body.jun {
  --primary: #0284c7; --primary-rgb: 2,132,199;
  --primary-dark: #0369a1; --primary-light: #f0f9ff;
  --primary-lighter: #e0f2fe; --primary-accent: #38bdf8;
  --primary-glow: rgba(2,132,199,.5);
  --text-dark: #082f49; --text-mid: #075985;
  --text-light: #0284c7; --text-muted: #7dd3fc;
  --border: #bae6fd; --bg-light: #f5fbff; --bg-section: #f0f9ff;
  --gradient-primary: linear-gradient(135deg, #0ea5e9, #38bdf8, #22d3ee);
  --gradient-light: linear-gradient(135deg, #f0f9ff, #ecfeff);
  --bg-warm2: #f0f9ff;
}

/* 7월 🌻 해바라기 */
body.jul {
  --primary: #d97706; --primary-rgb: 217,119,6;
  --primary-dark: #b45309; --primary-light: #fffbeb;
  --primary-lighter: #fef3c7; --primary-accent: #fbbf24;
  --primary-glow: rgba(217,119,6,.5);
  --text-dark: #3b2206; --text-mid: #92400e;
  --text-light: #b45309; --text-muted: #fcd34d;
  --border: #fde68a; --bg-light: #fffef0; --bg-section: #fffbeb;
  --gradient-primary: linear-gradient(135deg, #f59e0b, #fbbf24, #eab308);
  --gradient-light: linear-gradient(135deg, #fffbeb, #fefce8);
  --bg-warm2: #fffbeb;
}

/* 8월 🏖️ 트로피컬 */
body.aug {
  --primary: #059669; --primary-rgb: 5,150,105;
  --primary-dark: #047857; --primary-light: #ecfdf5;
  --primary-lighter: #d1fae5; --primary-accent: #34d399;
  --primary-glow: rgba(5,150,105,.5);
  --text-dark: #052e1c; --text-mid: #065f46;
  --text-light: #059669; --text-muted: #6ee7b7;
  --border: #a7f3d0; --bg-light: #f5fef9; --bg-section: #ecfdf5;
  --gradient-primary: linear-gradient(135deg, #10b981, #34d399, #2dd4bf);
  --gradient-light: linear-gradient(135deg, #ecfdf5, #f0fdfa);
  --bg-warm2: #ecfdf5;
}

/* 9월 🍇 포도 */
body.sep {
  --primary: #7c3aed; --primary-rgb: 124,58,237;
  --primary-dark: #6d28d9; --primary-light: #f5f3ff;
  --primary-lighter: #ede9fe; --primary-accent: #a78bfa;
  --primary-glow: rgba(124,58,237,.5);
  --text-dark: #1e1b2e; --text-mid: #5b21b6;
  --text-light: #7c3aed; --text-muted: #c4b5fd;
  --border: #ddd6fe; --bg-light: #faf8ff; --bg-section: #f5f3ff;
  --gradient-primary: linear-gradient(135deg, #8b5cf6, #a78bfa, #7c3aed);
  --gradient-light: linear-gradient(135deg, #f5f3ff, #ede9fe);
  --bg-warm2: #f5f3ff;
}

/* 10월 🎃 할로윈 */
body.oct {
  --primary: #ea580c; --primary-rgb: 234,88,12;
  --primary-dark: #c2410c; --primary-light: #fff7ed;
  --primary-lighter: #ffedd5; --primary-accent: #fb923c;
  --primary-glow: rgba(234,88,12,.5);
  --text-dark: #3b1506; --text-mid: #9a3412;
  --text-light: #c2410c; --text-muted: #fdba74;
  --border: #fed7aa; --bg-light: #fffaf2; --bg-section: #fff7ed;
  --gradient-primary: linear-gradient(135deg, #f97316, #fb923c, #1e1b4b);
  --gradient-light: linear-gradient(135deg, #fff7ed, #ffedd5);
  --bg-warm2: #fff7ed;
}

/* 11월 🍁 단풍 */
body.nov {
  --primary: #a16207; --primary-rgb: 161,98,7;
  --primary-dark: #854d0e; --primary-light: #fefce8;
  --primary-lighter: #fef9c3; --primary-accent: #ca8a04;
  --primary-glow: rgba(161,98,7,.5);
  --text-dark: #3b2a06; --text-mid: #713f12;
  --text-light: #a16207; --text-muted: #facc15;
  --border: #fde047; --bg-light: #fefef0; --bg-section: #fefce8;
  --gradient-primary: linear-gradient(135deg, #ca8a04, #eab308, #b45309);
  --gradient-light: linear-gradient(135deg, #fefce8, #fffbeb);
  --bg-warm2: #fefce8;
}

/* 12월 🎄 크리스마스 */
body.dec {
  --primary: #dc2626; --primary-rgb: 220,38,38;
  --primary-dark: #991b1b; --primary-light: #fef2f2;
  --primary-lighter: #fee2e2; --primary-accent: #16a34a;
  --primary-glow: rgba(220,38,38,.5);
  --text-dark: #1a0a0a; --text-mid: #7f1d1d;
  --text-light: #dc2626; --text-muted: #fca5a5;
  --border: #fecaca; --bg-light: #fff5f5; --bg-section: #fef2f2;
  --gradient-primary: linear-gradient(135deg, #dc2626, #16a34a, #dc2626);
  --gradient-light: linear-gradient(135deg, #fef2f2, #f0fdf4);
  --bg-warm2: #fef2f2;
}
[data-theme="dec"] #scroll-progress {
  background: repeating-linear-gradient(90deg, #dc2626 0 30px, #16a34a 30px 60px) !important;
}

/* ─── Theme Dropdown Switcher ─── */
.theme-dropdown-wrap {
  position: relative; display: inline-block;
}
.theme-dropdown-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--bg-white);
  font-size: 13px; font-weight: 600; color: var(--text-dark);
  cursor: pointer; transition: all .2s; font-family: inherit;
  box-shadow: var(--shadow-sm);
}
.theme-dropdown-btn:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.theme-dropdown-btn .td-swatch {
  width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.12);
}
.theme-dropdown-btn .td-arrow {
  font-size: 10px; color: var(--text-muted); transition: transform .2s;
}
.theme-dropdown-wrap.open .td-arrow { transform: rotate(180deg); }

.theme-dropdown {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 1000;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 8px;
  box-shadow: var(--shadow-xl); width: 340px; max-height: 480px;
  overflow-y: auto; overflow-x: hidden;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: all .2s ease;
}
.theme-dropdown-wrap.open .theme-dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.theme-dropdown-title {
  font-size: 11px; font-weight: 700; color: var(--text-muted);
  letter-spacing: .5px; padding: 6px 8px 4px; text-transform: uppercase;
}
.theme-tabs {
  display: flex; gap: 4px; margin-bottom: 8px; padding: 0 4px;
  background: var(--bg-section); border-radius: var(--radius-sm); padding: 3px;
}
.theme-tab {
  flex: 1; padding: 6px 0; border-radius: 6px; border: none;
  font-size: 11px; font-weight: 600; cursor: pointer;
  color: var(--text-mid); background: transparent;
  transition: all .2s; font-family: inherit;
}
.theme-tab.active {
  background: var(--bg-white); color: var(--primary);
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.theme-tab:hover:not(.active) { color: var(--text-dark); }
.theme-category { display: none; }
.theme-category.active { display: block; }
.theme-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px;
}
.theme-swatch {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 4px; border-radius: var(--radius-sm);
  border: 2px solid transparent; cursor: pointer;
  transition: all .15s; background: transparent;
}
.theme-swatch:hover { background: var(--bg-section); border-color: var(--border); }
.theme-swatch.active { border-color: var(--primary); background: var(--primary-light); }
.swatch-color {
  width: 28px; height: 28px; border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.1); flex-shrink: 0;
}
.swatch-label { font-size: 9px; color: var(--text-mid); text-align: center; line-height: 1.2; }
.swatch-xmas {
  background: linear-gradient(135deg, #dc2626 50%, #16a34a 50%);
}
.swatch-halloween {
  background: linear-gradient(135deg, #f97316 50%, #1e1b4b 50%);
}
.swatch-rainbow {
  background: conic-gradient(#f43f5e, #f59e0b, #22c55e, #3b82f6, #8b5cf6, #f43f5e);
}
.swatch-dark {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  border: 1px solid #334155;
}

/* ─── Legacy float toggle (removed) ─── */
.theme-switcher-toggle { display: none; }
.theme-panel { display: none; }
.swatch-label {
  font-size: 10px; font-weight: 600; color: var(--text-mid);
  white-space: nowrap;
}
@media (max-width:480px) {
  .theme-switcher-toggle { width: 42px; height: 42px; font-size: 18px; bottom: 74px; right: 16px; }
  .theme-panel { right: 10px; left: 10px; bottom: 126px; width: auto; padding: 16px; max-height: 60vh; }
  .theme-grid { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .swatch-color { width: 28px; height: 28px; }
  .theme-swatch { padding: 8px 4px; }
  .swatch-label { font-size: 9px; }
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: 'Open Sans', helvetica, arial, sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #f1f1f1; }
::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #aaa; }

/* ─── Scroll Progress Bar ─── */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; z-index: 10000;
  background: linear-gradient(90deg, var(--primary), var(--primary-accent), var(--primary));
  transition: width .1s linear;
  box-shadow: 0 0 6px var(--primary-glow);
}

/* ─── Container ─── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 20px; }
@media (min-width:640px) { .container { padding: 0 24px; } }
@media (min-width:1024px) { .container { padding: 0 32px; } }

/* ─── Header (3-tier matching React) ─── */
.coupon-code { cursor: pointer; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-search {
  display: none; flex: 1; max-width: 400px; margin: 0 32px;
}
@media (min-width:768px) { .header-search { display: flex; } }
.header-search input:focus { border-color: var(--primary) !important; background: #fff !important; }

.header-icon-btn {
  display: flex; flex-direction: column; align-items: center;
  padding: 8px; border-radius: var(--radius-md);
  transition: background .2s; text-decoration: none; color: var(--text-dark);
}
.header-icon-btn:hover { background: #f4f4f4; }
.icon-label { font-size: 10px; color: #8a7e76; margin-top: 2px; }

.main-nav { display: none; }
@media (min-width:1024px) { .main-nav { display: block; } }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: 4px;
  padding: 14px 16px; font-size: 14px; color: var(--text-dark);
  text-decoration: none; transition: color .2s; white-space: nowrap;
}
@media (min-width:1280px) { .nav-link { padding: 14px 20px; } }
.nav-link:hover { color: var(--primary); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: ''; position: absolute; bottom: 0; left: 8px; right: 8px;
  height: 2px; background: var(--primary); border-radius: 1px;
}
.nav-arrow { font-size: 10px; color: #8a7e76; }
.nav-badge {
  padding: 2px 6px; border-radius: var(--radius-full);
  font-size: 9px; font-weight: 800; color: #fff; line-height: 1;
}

.hide-mobile { display: none; }
@media (min-width:640px) { .hide-mobile { display: flex; } }
@media (max-width:1023px) { .mobile-menu-btn { display: block !important; } }

@media (min-width:768px) { .footer-grid-4col { grid-template-columns: repeat(2, 1fr) !important; } }
@media (min-width:1024px) { .footer-grid-4col { grid-template-columns: repeat(4, 1fr) !important; } }
@media (min-width:640px) { .partner-stats-grid { grid-template-columns: repeat(4, 1fr) !important; } }
@media (max-width:639px) { .partner-stats-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* ─── Hero ─── */
.hero {
  position: relative; overflow: hidden; min-height: 520px;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.65), rgba(0,0,0,.35), transparent);
}
.hero-content {
  position: relative; max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px; display: flex; align-items: center;
  min-height: 520px;
}
.hero-text { max-width: 520px; }
.hero-badge {
  display: inline-block; padding: 6px 16px;
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
  color: #fff; border-radius: var(--radius-full);
  font-size: 13px; font-weight: 500; margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(28px, 4.5vw, 48px); font-weight: 700;
  color: #fff; line-height: 1.25; margin-bottom: 14px;
  white-space: pre-line;
}
.hero-subtitle {
  font-size: 15px; color: rgba(255,255,255,.85);
  line-height: 1.7; margin-bottom: 28px; white-space: pre-line;
}
.hero-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: var(--primary); color: #fff;
  border-radius: var(--radius-full); font-size: 15px; font-weight: 600;
  box-shadow: var(--shadow-lg); transition: all var(--transition);
}
.btn-hero-primary:hover { filter: brightness(1.1); transform: translateY(-2px); }
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px); color: #fff;
  border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,.3);
  font-size: 14px; font-weight: 500; transition: all var(--transition);
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.3); }

.hero-dots {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.5); transition: all var(--transition);
}
.hero-dot.active { width: 24px; background: #fff; }

.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  padding: 10px; background: rgba(255,255,255,.2);
  backdrop-filter: blur(4px); border-radius: var(--radius-full);
  color: #fff; font-size: 20px; transition: all var(--transition);
  display: none;
}
.hero-arrow:hover { background: rgba(255,255,255,.35); }
.hero-arrow.prev { left: 16px; }
.hero-arrow.next { right: 16px; }
@media (min-width:768px) { .hero-arrow { display: block; } }

/* ─── Service Badges ─── */
.service-badges { background: #fff; border-bottom: 1px solid var(--border); }
.service-badges .container { padding-top: 20px; padding-bottom: 20px; }
.badges-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
@media (min-width:768px) { .badges-grid { grid-template-columns: repeat(4, 1fr); } }
.badge-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: var(--radius-lg);
  border: 1px solid rgba(229,224,219,.5);
  transition: all var(--transition);
}
.badge-item:hover { border-color: var(--border); box-shadow: var(--shadow-sm); }
.badge-icon {
  width: 44px; height: 44px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  font-size: 20px;
}
.badge-text { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.badge-sub { font-size: 11px; color: var(--text-light); }

/* ─── Section Common ─── */
.section-label {
  display: flex; align-items: center; gap: 8px; margin-bottom: 4px;
}
.section-label .bar { width: 4px; height: 20px; border-radius: 2px; }
.section-label .tag {
  font-size: 12px; font-weight: 600; letter-spacing: 1px;
}
.section-title { font-size: 22px; font-weight: 600; }
.section-desc { font-size: 14px; color: var(--text-light); margin-top: 4px; }
.section-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px;
}
.view-all {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 500; color: var(--primary); transition: all var(--transition);
}
.view-all:hover { text-decoration: underline; }

/* ─── Category Grid ─── */
.category-section { padding: 40px 0; background: var(--bg-section); }
.category-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
}
@media (min-width:640px) { .category-grid { grid-template-columns: repeat(5, 1fr); } }
@media (min-width:1024px) { .category-grid { grid-template-columns: repeat(9, 1fr); } }
.category-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text-dark);
}
.category-img {
  width: 64px; height: 64px; border-radius: 50%; overflow: hidden;
  border: 2px solid transparent; transition: all var(--transition);
}
@media (min-width:640px) { .category-img { width: 80px; height: 80px; } }
.category-item:hover .category-img { border-color: var(--primary); box-shadow: var(--shadow-md); }
.category-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.category-item:hover .category-img img { transform: scale(1.1); }
.category-name { font-size: 12px; font-weight: 500; }

/* ─── Occasion Tags ─── */
.occasion-section { padding: 32px 0; background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.occasion-scroll {
  display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px;
  -ms-overflow-style: none; scrollbar-width: none;
}
.occasion-scroll::-webkit-scrollbar { display: none; }
.occasion-tag {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-full);
  border: 1px solid var(--border); white-space: nowrap; flex-shrink: 0;
  font-size: 13px; font-weight: 500; transition: all var(--transition);
}
.occasion-tag:hover { border-color: rgba(var(--primary-rgb),.4); background: var(--primary-light); }
.occasion-tag .emoji { font-size: 18px; }

/* ─── Event Banners Section ─── */
.event-section {
  padding: 20px 0; background: linear-gradient(to bottom, var(--primary-light), var(--bg-section));
}
.event-section .section-center { text-align: center; margin-bottom: 40px; }
.event-section .line { display: inline-block; width: 40px; height: 2px; background: var(--primary); border-radius: 1px; vertical-align: middle; }
.event-grid-top { display: grid; gap: 20px; margin-bottom: 20px; }
@media (min-width:768px) { .event-grid-top { grid-template-columns: repeat(2, 1fr); } }
.event-grid-bottom {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width:768px) { .event-grid-bottom { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1024px) { .event-grid-bottom { grid-template-columns: repeat(6, 1fr); } }
.event-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-xl); box-shadow: var(--shadow-sm);
  transition: box-shadow .5s;
}
.event-card:hover { box-shadow: var(--shadow-xl); }
.event-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s;
}
.event-card:hover img { transform: scale(1.05); }
.event-card-lg { height: 280px; }
.event-card-sm { height: 240px; }
.event-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), rgba(0,0,0,.25), rgba(0,0,0,.05));
}
.event-card .tag-badge {
  position: absolute; top: 12px; right: 12px;
  padding: 4px 12px; border-radius: var(--radius-full);
  backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; color: #fff;
}
.event-card .card-body {
  position: absolute; inset: 0; padding: 24px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.event-card-sm .card-body { padding: 16px; }
.event-card .emoji { font-size: 28px; margin-bottom: 4px; }
.event-card-sm .emoji { font-size: 24px; }
.event-card .badge-inline {
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px;
}
.event-card .badge-pill {
  padding: 2px 10px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 700; letter-spacing: 1px; color: #fff;
}
.event-card h3 { color: #fff; margin-bottom: 4px; }
.event-card-lg h3 { font-size: 26px; font-weight: 700; }
.event-card-sm h3 { font-size: 18px; font-weight: 700; line-height: 1.2; }
.event-card p { font-size: 14px; color: rgba(255,255,255,.9); }
.event-card-sm p { font-size: 12px; }
.event-card .desc {
  font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.5;
  margin-bottom: 5px;
}
.event-card .card-footer {
  display: flex; align-items: center; justify-content: space-between; margin-top: 2px;
}
.event-card .cta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  color: #fff; font-size: 13px; font-weight: 600; transition: background .3s;
}
.event-card:hover .cta-pill { background: rgba(255,255,255,.25); }
.event-card-sm .cta-pill { padding: 6px 12px; font-size: 11px; }
.event-card .price { font-size: 16px; font-weight: 700; color: #fff; }
.event-card-sm .price { font-size: 12px; }

/* ─── Corporate Program Banner ─── */
.corp-banner { position: relative; overflow: hidden; height: 480px; }
.corp-banner img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.corp-banner .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(26,26,46,.9), rgba(26,26,46,.7), rgba(26,26,46,.4));
}
.corp-banner .content {
  position: relative; max-width: var(--max-w); margin: 0 auto;
  padding: 0 24px; height: 100%; display: flex; align-items: center;
}
.corp-banner .inner { max-width: 540px; }
.corp-badge-row { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.corp-badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px; border-radius: var(--radius-full);
  font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
}
.corp-title {
  font-size: clamp(26px, 4vw, 40px); font-weight: 800;
  color: #fff; line-height: 1.25; margin-bottom: 14px;
}
.corp-title span { color: var(--primary); }
.corp-desc {
  font-size: 15px; color: rgba(255,255,255,.8);
  line-height: 1.8; margin-bottom: 28px;
}
.corp-cta-group { display: flex; flex-wrap: wrap; gap: 12px; }
.corp-stats {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 28px;
}
.corp-stat {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: var(--radius-md);
  background: rgba(255,255,255,.08);
}
.corp-stat .val { font-size: 18px; font-weight: 800; color: var(--primary); }
.corp-stat .lbl { font-size: 11px; color: rgba(255,255,255,.6); }

/* ─── Program Cards ─── */
.program-cards-section { background: #fafafc; }
.program-cards-wrap {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  margin-top: -56px; position: relative; z-index: 10; padding-bottom: 56px;
}
.program-cards-grid {
  display: grid; gap: 16px;
}
@media (min-width:640px) { .program-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .program-cards-grid { grid-template-columns: repeat(4, 1fr); } }
.program-card {
  background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow .5s;
}
.program-card:hover { box-shadow: var(--shadow-xl); }
.program-card .card-img {
  position: relative; overflow: hidden; height: 140px;
}
.program-card .card-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.program-card:hover .card-img img { transform: scale(1.05); }
.program-card .card-img .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.4), transparent);
}
.program-card .card-img .pill {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: var(--radius-full);
  backdrop-filter: blur(8px); font-size: 11px; font-weight: 700; color: #fff;
}
.program-card .card-body { padding: 16px; }
.program-card .card-body p { font-size: 13px; color: var(--text-mid); line-height: 1.6; margin-bottom: 12px; }
.program-card .feature { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.program-card .feature .dot {
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.program-card .feature .dot svg { width: 8px; height: 8px; }
.program-card .feature span { font-size: 12px; color: #666; }

/* ─── Benefits Summary Bar ─── */
.benefits-bar {
  margin-top: 24px; padding: 20px; border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
}
.benefits-bar .left { display: flex; align-items: center; gap: 12px; }
.benefits-bar .icon-box {
  width: 48px; height: 48px; border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.benefits-bar .right { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.benefit-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-full);
  background: #fff; border: 1px solid var(--border);
  font-size: 12px; font-weight: 500; color: var(--text-mid);
}
.btn-gradient {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-full);
  color: #fff; font-size: 13px; font-weight: 600;
  transition: all var(--transition);
}
.btn-gradient:hover { filter: brightness(1.1); transform: translateY(-1px); }

/* ─── Product Grid ─── */
.products-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
}
@media (min-width:768px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); } }
.product-card {
  border-radius: var(--radius-xl); overflow: hidden; background: #fff;
  border: 1px solid var(--border); transition: all var(--transition);
  position: relative;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.product-card .img-wrap {
  position: relative; padding-top: 100%; overflow: hidden;
}
.product-card .img-wrap img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.product-card:hover .img-wrap img { transform: scale(1.08); }
.product-card .tags {
  position: absolute; top: 10px; left: 10px;
  display: flex; gap: 4px; flex-wrap: wrap;
}
.product-card .tags span {
  padding: 3px 8px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 700; color: #fff;
}
.product-card .quick-btns {
  position: absolute; bottom: 10px; right: 10px;
  display: flex; gap: 6px;
  opacity: 0; transform: translateY(8px);
  transition: all var(--transition);
}
.product-card:hover .quick-btns { opacity: 1; transform: translateY(0); }
.quick-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.9); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.quick-btn:hover { background: var(--primary); color: #fff; transform: scale(1.1); }
.product-card .info { padding: 14px; }
.product-card .pname {
  font-size: 14px; font-weight: 600; color: var(--text-dark);
  margin-bottom: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-card .psub {
  font-size: 12px; color: var(--text-light);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  margin-bottom: 8px;
}
.product-card .price-row { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.product-card .price { font-size: 16px; font-weight: 700; color: var(--primary); }
.product-card .orig-price {
  font-size: 12px; color: var(--text-muted); text-decoration: line-through;
}
.product-card .discount { font-size: 12px; font-weight: 700; color: #ef4444; }
.product-card .rating-row { display: flex; align-items: center; gap: 4px; }
.product-card .stars { color: #f59e0b; font-size: 12px; }
.product-card .rating-num { font-size: 12px; font-weight: 500; color: var(--text-dark); }
.product-card .review-count { font-size: 11px; color: var(--text-light); }
.product-card .delivery-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 600; margin-top: 6px;
}

/* ─── Flower Banners (Knowledge) ─── */
.flower-banners-section { padding: 48px 0; background: #fff; }
.flower-banners-grid {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width:640px) { .flower-banners-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .flower-banners-grid { grid-template-columns: repeat(4, 1fr); } }
.flower-card {
  position: relative; display: block; overflow: hidden;
  border-radius: var(--radius-xl); height: 340px;
  transition: all .5s;
}
.flower-card:hover { box-shadow: var(--shadow-xl); }
.flower-card img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s;
}
.flower-card:hover img { transform: scale(1.1); }
.flower-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.3), rgba(0,0,0,.1));
  transition: all .3s;
}
.flower-card:hover .overlay { background: linear-gradient(to top, rgba(0,0,0,.85), rgba(0,0,0,.35), rgba(0,0,0,.15)); }
.flower-card .inner {
  position: relative; height: 100%; display: flex; flex-direction: column;
  justify-content: space-between; padding: 20px;
}
.flower-card .top-badge {
  display: inline-block; padding: 4px 12px; border-radius: var(--radius-full);
  backdrop-filter: blur(4px); font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; color: #fff; align-self: flex-start;
}
.flower-card .bottom {}
.flower-card .bottom h3 {
  font-size: 22px; font-weight: 700; color: #fff;
  margin-bottom: 4px; line-height: 1.3;
  transform: translateY(4px); transition: transform .3s;
}
.flower-card:hover .bottom h3 { transform: translateY(0); }
.flower-card .bottom .sub {
  font-size: 13px; font-weight: 500; color: rgba(255,255,255,.9);
  margin-bottom: 8px;
}
.flower-card .bottom .desc {
  font-size: 12px; color: rgba(255,255,255,.7); line-height: 1.6;
  margin-bottom: 12px; opacity: 0; transition: opacity .3s;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.flower-card:hover .bottom .desc { opacity: 1; }
.flower-card .cta-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 16px; border-radius: var(--radius-full);
  backdrop-filter: blur(4px); background: rgba(255,255,255,.15);
  color: #fff; font-size: 12px; font-weight: 600; transition: background .3s;
}
.flower-card:hover .cta-pill { background: rgba(255,255,255,.25); }
.show-more-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 32px; border-radius: var(--radius-full);
  border: 2px solid rgba(var(--primary-rgb),.3); background: rgba(var(--primary-rgb),.05);
  color: var(--primary); font-size: 14px; font-weight: 600;
  transition: all var(--transition);
}
.show-more-btn:hover { background: rgba(var(--primary-rgb),.1); }

/* ─── Promo Banners (2-col) ─── */
.promo-section { padding: 40px 0; background: var(--bg-section); }
.promo-grid { display: grid; gap: 16px; }
@media (min-width:768px) { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
.promo-card {
  position: relative; display: block; height: 220px; overflow: hidden;
  border-radius: var(--radius-xl);
}
.promo-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s;
}
.promo-card:hover img { transform: scale(1.05); }
.promo-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,.6), transparent);
}
.promo-card .body {
  position: absolute; inset: 0; padding: 24px;
  display: flex; flex-direction: column; justify-content: center;
}

/* ─── Realtime + Reviews ─── */
.realtime-section { padding: 48px 0; background: var(--bg-section); }
.realtime-grid { display: grid; gap: 32px; }
@media (min-width:1024px) { .realtime-grid { grid-template-columns: repeat(2, 1fr); } }
.order-list {
  background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border); overflow: hidden;
}
.order-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}
.order-item:last-child { border-bottom: none; }
.order-emoji { font-size: 14px; }
.order-text { flex: 1; min-width: 0; font-size: 13px; }
.order-text .region { font-weight: 500; }
.order-text .product { color: var(--primary); font-weight: 500; }
.order-time { font-size: 11px; color: var(--text-muted); flex-shrink: 0; }

.review-card {
  padding: 16px; background: #fff; border-radius: var(--radius-lg); border: 1px solid var(--border);
  margin-bottom: 12px;
}
.review-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.review-author { display: flex; align-items: center; gap: 8px; }
.review-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: rgba(var(--primary-rgb),.1); display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: var(--primary);
}
.review-name { font-size: 13px; font-weight: 500; }
.review-stars { color: #f59e0b; font-size: 12px; }
.review-date { font-size: 11px; color: var(--text-muted); }
.review-content { font-size: 13px; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.review-product { margin-top: 8px; font-size: 11px; color: var(--text-light); }

/* ─── Trust / Stats ─── */
.trust-section { padding: 48px 0; background: linear-gradient(to bottom, #fff, var(--bg-section)); }
.stats-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (min-width:768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }
.stat-card {
  text-align: center; padding: 24px; background: #fff;
  border-radius: var(--radius-xl); border: 1px solid var(--border);
}
.stat-icon { font-size: 28px; }
.stat-num { font-size: 24px; font-weight: 700; color: var(--primary); margin-top: 8px; }
.stat-label { font-size: 13px; color: var(--text-light); margin-top: 4px; }

/* ─── Flower Shops ─── */
.shops-section { padding: 56px 0; background: linear-gradient(to bottom, #f5f3ff, #fff); }
.shops-grid {
  display: grid; gap: 20px;
}
@media (min-width:640px) { .shops-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width:1024px) { .shops-grid { grid-template-columns: repeat(3, 1fr); } }
.shop-card {
  background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border);
  overflow: hidden; transition: all var(--transition);
}
.shop-card:hover { box-shadow: var(--shadow-lg); }
.shop-card .cover { position: relative; height: 160px; overflow: hidden; }
.shop-card .cover img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s;
}
.shop-card:hover .cover img { transform: scale(1.05); }
.shop-card .cover .gradient {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,.6));
}
.shop-card .premium-badge {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px; border-radius: var(--radius-full);
  background: rgba(0,0,0,.6); backdrop-filter: blur(4px);
  color: #fde68a; font-size: 10px; font-weight: 700;
}
.shop-card .cover-bottom {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  display: flex; align-items: flex-end; justify-content: space-between;
}
.shop-card .shop-info { display: flex; align-items: center; gap: 8px; }
.shop-card .shop-avatar { font-size: 22px; }
.shop-card .shop-name { font-size: 16px; font-weight: 800; color: #fff; }
.shop-card .shop-location { font-size: 11px; color: rgba(255,255,255,.7); }
.shop-card .rating-badge {
  display: flex; align-items: center; gap: 4px;
  padding: 4px 8px; border-radius: var(--radius-full);
  background: rgba(255,255,255,.2); backdrop-filter: blur(4px);
}
.shop-card .rating-badge .star { color: #fbbf24; font-size: 12px; }
.shop-card .rating-badge .num { color: #fff; font-size: 12px; font-weight: 700; }
.shop-card .card-body { padding: 16px; }
.shop-card .desc { font-size: 13px; color: #6b7280; margin-bottom: 8px; }
.shop-card .specialties { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.shop-card .specialty-tag {
  padding: 2px 8px; border-radius: var(--radius-full);
  font-size: 10px; font-weight: 600; background: #f5f3ff; color: #7c3aed;
}
.shop-card .product-preview {
  display: flex; gap: 6px; padding-top: 12px; border-top: 1px solid rgba(229,224,219,.5);
}
.shop-card .preview-img {
  width: 64px; height: 64px; border-radius: var(--radius-md); overflow: hidden; flex-shrink: 0;
}
.shop-card .preview-img img { width: 100%; height: 100%; object-fit: cover; }
.shop-card .preview-more {
  width: 64px; height: 64px; border-radius: var(--radius-md);
  background: #f5f3ff; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #7c3aed; flex-shrink: 0;
}
.shop-card .preview-link {
  flex: 1; display: flex; align-items: center; justify-content: flex-end;
}

/* ─── CTA Footer ─── */
.cta-section { padding: 56px 0; background: var(--primary); color: #fff; text-align: center; }
.cta-title { font-size: clamp(22px, 3vw, 30px); font-weight: 600; margin-bottom: 10px; }
.cta-desc { font-size: 14px; opacity: .85; line-height: 1.7; margin-bottom: 24px; }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: #fff; color: var(--primary);
  border-radius: var(--radius-full); font-size: 15px; font-weight: 600;
  transition: all var(--transition);
}
.btn-cta-white:hover { background: rgba(255,255,255,.9); transform: translateY(-2px); }
.btn-cta-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; background: rgba(255,255,255,.2);
  color: #fff; border-radius: var(--radius-full);
  border: 1px solid rgba(255,255,255,.3);
  font-size: 15px; font-weight: 500; transition: all var(--transition);
}
.btn-cta-ghost:hover { background: rgba(255,255,255,.3); }

/* ─── Footer ─── */
.site-footer { background: var(--text-dark); color: rgba(255,255,255,.7); padding: 48px 0 24px; }
.footer-grid {
  display: grid; gap: 32px; margin-bottom: 32px;
}
@media (min-width:768px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }
.footer-title { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: 13px; transition: color .2s; }
.footer-links a:hover { color: var(--primary); }
.footer-contact { font-size: 13px; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; margin-top: 16px; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center;
  font-size: 16px; transition: all .2s;
}
.footer-social a:hover { background: var(--primary); color: #fff; }
.footer-divider { border-top: 1px solid rgba(255,255,255,.1); padding-top: 24px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  font-size: 12px; gap: 8px;
}
.footer-bottom a { transition: color .2s; }
.footer-bottom a:hover { color: var(--primary); }

/* ─── Back to Top ─── */
.back-to-top {
  position: fixed; bottom: 80px; right: 24px; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(16px);
  transition: all var(--transition); cursor: pointer;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--primary-dark); transform: translateY(-2px); }

/* ─── Floating Chat ─── */
.floating-chat {
  position: fixed; bottom: 24px; right: 24px; z-index: 998;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 24px; box-shadow: var(--shadow-xl);
  cursor: pointer; transition: all var(--transition);
  animation: chat-pulse 2s infinite;
}
.floating-chat:hover { transform: scale(1.1); }
@keyframes chat-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(var(--primary-rgb),.4); }
  50% { box-shadow: 0 0 0 12px rgba(var(--primary-rgb),0); }
}

/* ─── Newsletter Popup ─── */
.newsletter-overlay {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.newsletter-overlay.active { opacity: 1; pointer-events: auto; }
.newsletter-modal {
  background: #fff; border-radius: var(--radius-xl); padding: 40px;
  max-width: 440px; width: 90%; text-align: center;
  box-shadow: var(--shadow-xl); transform: translateY(20px);
  transition: transform .3s;
}
.newsletter-overlay.active .newsletter-modal { transform: translateY(0); }
.newsletter-modal .close-btn {
  position: absolute; top: 16px; right: 16px;
  width: 32px; height: 32px; border-radius: 50%;
  background: #f4f4f4; display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer;
}
.newsletter-modal h3 { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.newsletter-modal p { font-size: 14px; color: var(--text-light); margin-bottom: 20px; line-height: 1.6; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  flex: 1; padding: 12px 16px; border: 1px solid var(--border);
  border-radius: var(--radius-md); font-size: 14px; outline: none;
  transition: border-color .2s;
}
.newsletter-form input:focus { border-color: var(--primary); }
.newsletter-form button {
  padding: 12px 24px; background: var(--primary); color: #fff;
  border-radius: var(--radius-md); font-size: 14px; font-weight: 600;
  transition: all var(--transition); white-space: nowrap;
}
.newsletter-form button:hover { background: var(--primary-dark); }

/* ─── Cookie Banner ─── */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: #fff; border-top: 1px solid var(--border);
  padding: 16px 24px; box-shadow: 0 -4px 20px rgba(0,0,0,.1);
  transform: translateY(100%); transition: transform .4s;
}
.cookie-banner.active { transform: translateY(0); }
.cookie-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
}
.cookie-text { font-size: 13px; color: var(--text-mid); flex: 1; min-width: 240px; }
.cookie-btns { display: flex; gap: 8px; }
.cookie-btn {
  padding: 8px 20px; border-radius: var(--radius-md);
  font-size: 13px; font-weight: 600; transition: all .2s;
}
.cookie-btn-accept { background: var(--primary); color: #fff; }
.cookie-btn-accept:hover { background: var(--primary-dark); }
.cookie-btn-decline { background: #f4f4f4; color: var(--text-mid); }
.cookie-btn-decline:hover { background: #eee; }

/* ─── Toast ─── */
.toast-container {
  position: fixed; top: 80px; right: 24px; z-index: 10002;
  display: flex; flex-direction: column; gap: 8px;
}
.toast {
  padding: 12px 20px; border-radius: var(--radius-md);
  background: var(--text-dark); color: #fff; font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-lg); transform: translateX(120%);
  transition: transform .3s; max-width: 320px;
}
.toast.show { transform: translateX(0); }
.toast.success { background: #16a34a; }

/* ─── Scroll Animations ─── */
.fade-up {
  opacity: 0; transform: translateY(30px);
  transition: opacity .6s, transform .6s;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-up.delay-1 { transition-delay: .1s; }
.fade-up.delay-2 { transition-delay: .2s; }
.fade-up.delay-3 { transition-delay: .3s; }
.fade-up.delay-4 { transition-delay: .4s; }

/* ─── Quick View Modal ─── */
.quickview-overlay {
  position: fixed; inset: 0; z-index: 10001;
  background: rgba(0,0,0,.5); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.quickview-overlay.active { opacity: 1; pointer-events: auto; }
.quickview-modal {
  background: #fff; border-radius: var(--radius-xl); overflow: hidden;
  max-width: 720px; width: 90%; max-height: 90vh; overflow-y: auto;
  box-shadow: var(--shadow-xl); transform: scale(.95);
  transition: transform .3s;
}
.quickview-overlay.active .quickview-modal { transform: scale(1); }
.quickview-top { display: flex; flex-direction: column; }
@media (min-width:640px) { .quickview-top { flex-direction: row; } }
.quickview-img { width: 100%; aspect-ratio: 1; object-fit: cover; }
@media (min-width:640px) { .quickview-img { width: 50%; } }
.quickview-info { padding: 24px; flex: 1; }
.quickview-close {
  position: absolute; top: 16px; right: 16px;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.5); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; cursor: pointer; z-index: 2;
}

/* ─── Search Bar (competitive feature) ─── */
.search-section { background: #fff; border-bottom: 1px solid var(--border); padding: 16px 0; }
.search-bar {
  display: flex; align-items: center; gap: 8px;
  max-width: 600px; margin: 0 auto;
  border: 2px solid var(--border); border-radius: var(--radius-full);
  padding: 4px 4px 4px 20px; transition: border-color .2s;
}
.search-bar:focus-within { border-color: var(--primary); }
.search-bar input {
  flex: 1; border: none; outline: none; font-size: 14px;
  background: transparent; font-family: inherit;
}
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button {
  padding: 10px 24px; background: var(--primary); color: #fff;
  border-radius: var(--radius-full); font-size: 14px; font-weight: 600;
  transition: all .2s; white-space: nowrap;
}
.search-bar button:hover { background: var(--primary-dark); }
.popular-keywords {
  display: flex; flex-wrap: wrap; gap: 6px; justify-content: center;
  margin-top: 10px;
}
.keyword-tag {
  padding: 4px 12px; border-radius: var(--radius-full);
  font-size: 12px; color: var(--text-mid); background: var(--bg-section);
  transition: all .2s; cursor: pointer;
}
.keyword-tag:hover { background: var(--primary-light); color: var(--primary); }

/* ─── Dark Mode Toggle ─── */
.dark-mode-toggle {
  position: fixed; bottom: 144px; right: 24px; z-index: 998;
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; box-shadow: var(--shadow-md);
  cursor: pointer; transition: all .2s;
}
.dark-mode-toggle:hover { transform: scale(1.1); }

/* ─── Recently Viewed - RIGHT sidebar ─── */
.rv-toggle-btn {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 40; background: #fff; border: 1px solid var(--border); border-right: none;
  border-radius: 8px 0 0 8px; box-shadow: var(--shadow-lg);
  padding: 12px 6px; cursor: pointer;
  writing-mode: vertical-lr; font-size: 11px; font-weight: 600;
  color: #374151; display: none; align-items: center; gap: 6px;
  transition: background .2s;
}
.rv-toggle-btn:hover { background: var(--primary-light); }
@media (min-width:1024px) { .rv-toggle-btn { display: flex; } }
.rv-panel {
  position: fixed; right: 0; top: 50%; transform: translateY(-50%);
  z-index: 40; background: #fff; border: 1px solid var(--border); border-right: none;
  border-radius: 16px 0 0 16px; box-shadow: var(--shadow-xl);
  width: 200px; max-height: 70vh; display: none; flex-direction: column;
  margin-right: 28px;
}
.rv-panel.open { display: flex; }
.rv-panel-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; border-bottom: 1px solid #f3f4f6;
}
.rv-panel-list { flex: 1; overflow-y: auto; padding: 8px; }
.rv-product {
  display: flex; gap: 8px; padding: 6px; border-radius: var(--radius-md);
  transition: background .2s; cursor: pointer; text-decoration: none; color: inherit;
  margin-bottom: 4px;
}
.rv-product:hover { background: #f9fafb; }
.rv-product img {
  width: 56px; height: 56px; border-radius: var(--radius-md);
  object-fit: cover; flex-shrink: 0; border: 1px solid #f3f4f6;
}
.rv-product .rv-info { flex: 1; min-width: 0; }
.rv-product .rv-name { font-size: 11px; font-weight: 500; color: #374151; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-product .rv-price { font-size: 12px; font-weight: 700; color: var(--primary); margin-top: 2px; }
.rv-product .rv-orig { font-size: 10px; color: #9ca3af; text-decoration: line-through; }

/* ─── Mega Menu Dropdown ─── */
.nav-item { position: relative; }
.mega-dropdown {
  position: absolute; left: 50%; transform: translateX(-50%);
  top: 100%; padding-top: 0;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .15s, visibility .15s;
  z-index: 100;
}
/* Prevent right-side menus from going offscreen */
.nav-item:nth-last-child(-n+3) .mega-dropdown { left: auto; right: 0; transform: none; }
.nav-item:nth-child(-n+2) .mega-dropdown { left: 0; right: auto; transform: none; }
.nav-item:hover > .mega-dropdown,
.nav-item.dropdown-open > .mega-dropdown {
  opacity: 1; visibility: visible; pointer-events: auto;
}
.mega-panel {
  background: #fff; border-radius: var(--radius-xl); border: 1px solid var(--border);
  box-shadow: var(--shadow-xl); display: flex; overflow: hidden;
  animation: fadeInDown .15s ease-out;
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.mega-cols { display: flex; flex: 1; }
.mega-col {
  padding: 16px; min-width: 180px;
  border-right: 1px solid rgba(229,224,219,.5);
}
.mega-col:last-child { border-right: none; }
.mega-col-title {
  font-size: 11px; font-weight: 700; color: var(--primary);
  text-transform: uppercase; letter-spacing: .5px;
  margin-bottom: 10px; padding-bottom: 6px;
  border-bottom: 1px solid #fef0e0;
}
.mega-col ul { list-style: none; padding: 0; }
.mega-col li a {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 8px; border-radius: var(--radius-md);
  font-size: 13px; color: var(--text-dark);
  transition: background .15s, color .15s;
}
.mega-col li a:hover { background: var(--primary-light); color: var(--primary); }
.mega-col li a .item-badge {
  padding: 1px 6px; border-radius: 4px;
  font-size: 9px; font-weight: 700; color: #fff; line-height: 1;
}
.mega-highlight {
  width: 180px; padding: 16px; text-align: center;
  background: var(--gradient-light);
  border-left: 1px solid rgba(229,224,219,.5);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.mega-highlight .hl-emoji { font-size: 32px; margin-bottom: 8px; }
.mega-highlight .hl-title { font-size: 13px; font-weight: 700; color: var(--primary); margin-bottom: 4px; }
.mega-highlight .hl-desc { font-size: 11px; color: #8a7e76; line-height: 1.4; }
.mega-highlight .hl-cta {
  display: inline-flex; align-items: center; gap: 4px;
  margin-top: 12px; padding: 6px 12px; background: var(--primary); color: #fff;
  border-radius: var(--radius-full); font-size: 11px; font-weight: 600;
}

/* ─── Delivery Info Bar ─── */
.delivery-info-bar {
  display: none; background: linear-gradient(to right, var(--primary-light), var(--primary-lighter));
  border-bottom: 1px solid rgba(229,224,219,.5);
}
@media (min-width:1024px) { .delivery-info-bar { display: block; } }
.delivery-info-bar .inner {
  max-width: var(--max-w); margin: 0 auto; padding: 8px 16px;
  display: flex; align-items: center; justify-content: center; gap: 32px; font-size: 12px;
}
.delivery-info-bar .sep { color: var(--border); }

/* ─── Responsive ─── */
@media (max-width:640px) {
  .hero { min-height: 400px; }
  .hero-content { min-height: 400px; }
  .corp-banner { height: 380px; }
  .event-card-lg { height: 220px; }
  .event-card-sm { height: 200px; }
}

/* ─── Ticker Strip ─── */
.ticker-strip {
  background: linear-gradient(90deg, #1a1a2e, #2d1b4e, #1a1a2e);
  overflow: hidden; position: relative;
}
.ticker-content { overflow: hidden; }
.ticker-items { position: relative; height: 36px; }
.ticker-item {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  opacity: 0; transform: translateY(16px);
  transition: opacity .3s, transform .3s;
  font-size: 12px; font-weight: 600; color: #fff;
}
.ticker-item.active { opacity: 1; transform: translateY(0); }
.ticker-emoji { font-size: 14px; }
.ticker-close {
  padding: 4px 12px; color: rgba(255,255,255,.4); font-size: 16px;
  transition: color .2s; flex-shrink: 0;
}
.ticker-close:hover { color: rgba(255,255,255,.7); }

/* ─── Event Carousel ─── */
.ev-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity .5s;
}
.ev-slide.active { opacity: 1; z-index: 1; }
.ev-slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.ev-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,.75) 0%, rgba(0,0,0,.5) 40%, rgba(0,0,0,.15) 100%);
}
.ev-content {
  position: relative; z-index: 2; padding: 32px; max-width: 520px;
  display: flex; flex-direction: column; justify-content: center;
  min-height: 280px;
}
.ev-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 6px 12px; border-radius: 9999px;
  font-size: 11px; font-weight: 700; letter-spacing: .5px; color: #fff;
  backdrop-filter: blur(8px);
}
.ev-desc {
  font-size: 13px; color: rgba(255,255,255,.7); line-height: 1.6;
  margin-bottom: 14px; display: none;
}
@media (min-width:640px) { .ev-desc { display: block; } }
.ev-tag {
  padding: 4px 8px; border-radius: 9999px;
  background: rgba(255,255,255,.1); backdrop-filter: blur(4px);
  font-size: 10px; font-weight: 600; color: rgba(255,255,255,.8);
}
.ev-cta {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 24px; border-radius: 9999px;
  color: #fff; font-size: 14px; font-weight: 700;
  box-shadow: var(--shadow-lg); text-decoration: none;
  transition: all var(--transition);
}
.ev-cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.ev-coupon-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 12px 16px; border-radius: 9999px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.25); color: #fff;
  font-size: 13px; font-weight: 600; cursor: pointer;
  transition: all var(--transition);
}
.ev-coupon-btn:hover { background: rgba(255,255,255,.25); }
.ev-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 20;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,.3); backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px; transition: all var(--transition);
  opacity: .7;
}
.ev-arrow:hover { background: rgba(0,0,0,.5); opacity: 1; }
.ev-prev { left: 12px; }
.ev-next { right: 12px; }
.ev-controls {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  z-index: 20; display: flex; align-items: center; gap: 10px;
}
.ev-dots {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 9999px;
  background: rgba(0,0,0,.3); backdrop-filter: blur(4px);
}
.ev-dot {
  width: 6px; height: 6px; border-radius: 9999px;
  background: rgba(255,255,255,.4); transition: all var(--transition);
  cursor: pointer;
}
.ev-dot.active { width: 20px; background: #fff; }
.ev-pause, .ev-counter {
  padding: 4px 10px; border-radius: 9999px;
  background: rgba(0,0,0,.3); backdrop-filter: blur(4px);
  color: #fff; font-size: 10px; font-weight: 700;
}
.ev-pause { cursor: pointer; font-size: 12px; }

.ev-mini-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px;
}
@media (min-width:640px) { .ev-mini-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width:1024px) { .ev-mini-grid { grid-template-columns: repeat(6, 1fr); } }
.ev-mini {
  padding: 12px; border-radius: 12px; border: 2px solid #e5e7eb;
  background: #fff; cursor: pointer; text-align: left;
  transition: all var(--transition); position: relative;
}
.ev-mini.active { border-color: var(--primary); background: rgba(var(--primary-rgb),.03); }
.ev-mini .mini-top { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; }
.ev-mini .mini-emoji { font-size: 16px; }
.ev-mini .mini-badge { font-size: 11px; font-weight: 700; color: #4b5563; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-mini.active .mini-badge { color: var(--primary); }
.ev-mini .mini-sub { font-size: 10px; color: var(--text-light); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ev-mini .mini-discount {
  display: inline-flex; margin-top: 6px;
  padding: 2px 6px; border-radius: 4px;
  font-size: 9px; font-weight: 700;
}

/* ─── FAQ ─── */
.faq-item { border-bottom: 1px solid var(--border); cursor: pointer; }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px; font-size: 14px; font-weight: 500;
  transition: color .2s;
}
.faq-q:hover { color: var(--primary); }
.faq-arrow { transition: transform .3s; font-size: 16px; color: var(--text-muted); }
.faq-item.open .faq-arrow { transform: rotate(90deg); color: var(--primary); }
.faq-a {
  padding: 0 16px; max-height: 0; overflow: hidden;
  font-size: 13px; color: var(--text-mid); line-height: 1.7;
  transition: max-height .3s, padding .3s;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 16px 14px; }

/* ─── GiftCard Layout ─── */
@media (min-width:1024px) { .giftcard-hero-grid { grid-template-columns: 1fr 1fr !important; } }
@media (min-width:768px) { .gc-howto-grid { grid-template-columns: repeat(4,1fr) !important; } }
@media (min-width:768px) { .gc-design-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media (min-width:1024px) { .gc-adv-grid { grid-template-columns: 1fr 1fr !important; } }
.gc-amount-btn { position:relative; flex-shrink:0; padding:10px 20px; border-radius:9999px; border:1px solid #e5e7eb; font-size:14px; font-weight:600; color:#2d2926; text-decoration:none; background:#fff; transition:all .2s; }
.gc-amount-btn:hover { border-color: var(--primary); background: var(--primary-light); }
.gc-hot { }
.gc-hot-badge { position:absolute; top:-8px; right:4px; padding:2px 6px; border-radius:9999px; font-size:9px; font-weight:800; color:#fff; background:#ef4444; }
.gc-design-card { transition: transform .2s, box-shadow .2s; }
.gc-design-card:hover { transform:scale(1.03); box-shadow:var(--shadow-xl); }
.gc-faq-item button:hover { background:#f9fafb; }

/* ─── Invitation Layout ─── */
@media (min-width:1024px) { .inv-hero-grid { grid-template-columns: 1fr 1fr !important; } }
@media (min-width:640px) { .inv-cat-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media (min-width:1024px) { .inv-cat-grid { grid-template-columns: repeat(4,1fr) !important; } }
@media (min-width:768px) { .inv-tmpl-grid { grid-template-columns: repeat(3,1fr) !important; } }
@media (min-width:768px) { .inv-steps-grid { grid-template-columns: repeat(4,1fr) !important; } }
@media (min-width:1024px) { .inv-review-grid { grid-template-columns: 1fr 1fr !important; } }
.inv-cat-card { position:relative; display:block; border-radius:16px; overflow:hidden; background:#fff; border:1px solid var(--border); text-decoration:none; transition:transform .2s, box-shadow .2s; }
.inv-cat-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-xl); }
.inv-tmpl-card { position:relative; display:block; border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); text-decoration:none; transition:transform .2s, box-shadow .2s; }
.inv-tmpl-card:hover { transform:scale(1.02); box-shadow:var(--shadow-xl); }

/* ─── Mobile App Layout ─── */
@media (min-width:1024px) { .app-hero-grid { grid-template-columns: 1fr 1fr !important; } }
@media (min-width:1024px) { .app-review-grid { grid-template-columns: repeat(3,1fr) !important; } }

/* ─── Help Center Tabs ─── */
.notice-item:hover { background: #fafaf8; }
.notice-arrow { font-size: 10px; }
.faq-cat-btn { transition: all .2s; }
.faq-cat-btn:hover { border-color: var(--primary) !important; }

/* ─── Partner Banner Layout ─── */
@media (min-width:1024px) { .partner-hero-grid { grid-template-columns: 1fr 1fr !important; } }
.benefits-cards-grid { grid-template-columns: 1fr; }
@media (min-width:640px) { .benefits-cards-grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width:1024px) { .benefits-cards-grid { grid-template-columns: repeat(3,1fr); } }
.benefit-card:hover { box-shadow: var(--shadow-xl); border-color: rgba(var(--primary-rgb),.3) !important; }
@media (min-width:1024px) { .process-grid { grid-template-columns: repeat(4,1fr) !important; } }
.partner-review-grid { grid-template-columns: 1fr; }
@media (min-width:768px) { .partner-review-grid { grid-template-columns: repeat(3,1fr); } }

/* ─── Partner Grid ─── */
@media (min-width:1024px) { .partner-grid { grid-template-columns: repeat(2, 1fr) !important; } }

/* ─── View All Shops ─── */
@media (min-width:640px) { .view-all-shops { display: inline-flex !important; } }

/* ─── Pulse Animation ─── */
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
