/* =========================================================
   V3 MALL — DESIGN SYSTEM
   Signature: prices render as a physical "price tag" chip in a
   monospace ticket face — a nod to the real price tags on the
   shelf at a physical local mall.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700;800&family=IBM+Plex+Mono:wght@500;600&display=swap');

/* Self-hosted Open Sans — used for the hero heading (cinematic bold caps) */
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-Regular.ttf') format('truetype'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-Semibold.ttf') format('truetype'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-Bold.ttf') format('truetype'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('../fonts/OpenSans-ExtraBold.ttf') format('truetype'); font-weight: 800; font-style: normal; font-display: swap; }

:root {
  --bg: #F7F4EC;
  --surface: #FFFFFF;
  --ink: #14172B;
  --muted: #545A6E;
  --border: #E7E2D6;

  --primary: #23345E;
  --primary-dark: #16223F;
  --primary-tint: #E9ECF5;

  --accent: #F0A202;
  --accent-dark: #C97D00;
  --accent-tint: #FDF0D6;

  --success: #2F9E44;
  --success-tint: #E7F6EA;
  --danger: #E0393E;
  --danger-tint: #FCE9E9;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 3px rgba(27,31,59,0.08);
  --shadow-md: 0 8px 24px rgba(27,31,59,0.10);
  --shadow-lg: 0 16px 40px rgba(27,31,59,0.16);

  --font-display: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-cinematic: 'Open Sans', 'Inter', sans-serif;
  --font-body: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --header-h: 64px;
  --mnav-h: 62px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--mnav-h) + env(safe-area-inset-bottom));
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--ink); margin: 0 0 0.4em; line-height: 1.15; }
.cinematic-caps {
  font-family: var(--font-cinematic) !important; text-transform: uppercase; letter-spacing: .04em; font-weight: 800 !important;
}
p { margin: 0 0 0.8em; color: var(--muted); }
:focus-visible { outline: 2.5px solid var(--accent); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }

/* ---------------- SCROLL REVEAL (sections + cards fade/slide in) ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s cubic-bezier(.16,1,.3,1), transform .65s cubic-bezier(.16,1,.3,1); }
.reveal-in { opacity: 1; transform: translateY(0); }
.card.reveal { transition-duration: .5s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

.container { max-width: 1200px; margin: 0 auto; padding: 0 16px; }

/* ---------------- HEADER ---------------- */
#v3-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
#v3-header.scrolled { box-shadow: 0 4px 16px rgba(20,23,43,0.06); }
.header-inner {
  max-width: 1200px; margin: 0 auto;
  height: var(--header-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
}
@media (min-width: 480px) { .header-inner { gap: 16px; padding: 0 16px; } }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700; font-size: 16px;
}
.brand-logo { width: 38px; height: 38px; border-radius: 10px; object-fit: cover; }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 20px; display: none; }
@media (min-width: 480px) { .brand-name { display: block; } }

.header-search {
  flex: 1; display: flex; align-items: center; max-width: 560px; position: relative;
  background: var(--bg); border: 1.5px solid var(--border); border-radius: 999px;
  padding: 0 4px 0 14px; transition: border-color .18s ease, box-shadow .18s ease;
}
.header-search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); background: var(--surface); }
.header-search .search-icon { width: 17px; height: 17px; color: var(--muted); flex-shrink: 0; display: flex; }
.header-search .search-icon svg { width: 100%; height: 100%; }
.header-search input {
  flex: 1; border: none; background: transparent; outline: none;
  padding: 10px 10px; font-size: 14px; color: var(--ink);
}
.header-search .search-submit-btn {
  border: none; background: var(--primary); color: #fff; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: background .15s ease, transform .12s ease;
}
.header-search .search-submit-btn svg { width: 15px; height: 15px; }
.header-search .search-submit-btn:hover { background: var(--primary-dark); }
.header-search .search-submit-btn:active { transform: scale(0.9); }

.header-actions { display: flex; align-items: center; gap: 9px; margin-left: auto; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 4px 10px rgba(35,52,94,0.28), 0 1px 0 rgba(255,255,255,0.4) inset, 0 -3px 6px rgba(0,0,0,0.18) inset;
  transition: transform .16s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease;
  border: none;
}
.icon-btn::before {
  content: ""; position: absolute; top: 3px; left: 6px; right: 6px; height: 40%;
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0)); border-radius: 50% 50% 60% 60%;
  pointer-events: none;
}
.icon-btn svg { width: 19px; height: 19px; color: #fff; position: relative; z-index: 1; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.25)); }
.icon-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 16px rgba(35,52,94,0.35), 0 1px 0 rgba(255,255,255,0.4) inset, 0 -3px 6px rgba(0,0,0,0.18) inset; }
.icon-btn:active { transform: scale(0.9) translateY(0); }
.cart-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--accent); color: var(--ink); font-weight: 800;
  font-size: 10px; min-width: 18px; height: 18px; border-radius: 999px;
  display: none; align-items: center; justify-content: center; padding: 0 3px;
  border: 2.5px solid var(--surface); box-shadow: 0 2px 5px rgba(240,162,2,0.4);
}

/* ---------------- MOBILE BOTTOM NAV ---------------- */
#v3-mobile-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  display: flex; background: rgba(255,255,255,0.92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--border);
  height: var(--mnav-h); padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 18px rgba(27,31,59,0.06);
}
@media (min-width: 900px) { #v3-mobile-nav { display: none; } body { padding-bottom: 0; } }
.mnav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; color: var(--muted); font-size: 10px; font-weight: 600; position: relative;
  transition: color .15s ease;
}
.mnav-item.active { color: var(--ink); }
.mnav-item.active::before {
  content: ""; position: absolute; top: 1px; width: 22px; height: 3px;
  border-radius: 999px; background: var(--accent);
}
.mnav-item.active .mnav-icon-wrap {
  transform: translateY(-1px) scale(1.08);
  box-shadow: 0 5px 12px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.35) inset, 0 -3px 6px rgba(0,0,0,0.35) inset, 0 0 0 2px var(--accent);
}
.mnav-icon-wrap {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #2b2f38 0%, #0a0b0d 100%);
  box-shadow: 0 3px 8px rgba(0,0,0,0.3), 0 1px 0 rgba(255,255,255,0.25) inset, 0 -3px 6px rgba(0,0,0,0.35) inset;
  position: relative; transition: all .2s cubic-bezier(.34,1.56,.64,1);
}
.mnav-icon-wrap::before {
  content: ""; position: absolute; top: 2px; left: 5px; right: 5px; height: 38%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0)); border-radius: 50%;
  pointer-events: none;
}
.mnav-icon { width: 15px; height: 15px; position: relative; z-index: 1; }
.mnav-icon svg { width: 100%; height: 100%; color: #fff; filter: drop-shadow(0 1px 1px rgba(0,0,0,0.35)); }
.mnav-icon .cart-badge { top: -4px; right: -8px; }

/* ---------------- BUTTONS ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 1.5px solid transparent; border-radius: var(--radius-sm);
  padding: 12px 20px; font-weight: 700; font-size: 14.5px;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
  user-select: none;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); box-shadow: var(--shadow-sm); }
.btn-accent { background: var(--accent); color: var(--ink); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.btn-outline:hover { background: var(--primary-tint); }
.btn-ghost { background: var(--bg); color: var(--ink); }
.btn-ghost:hover { background: var(--border); }
.btn-danger { background: var(--danger-tint); color: var(--danger); }
.btn-danger:hover { background: var(--danger); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.btn[disabled] { opacity: 0.5; pointer-events: none; }
.btn-disabled-link { opacity: 0.5; pointer-events: none; cursor: not-allowed; }

/* ---------------- WHATSAPP FAB ---------------- */
.wa-fab {
  position: fixed; right: 18px; bottom: calc(var(--mnav-h) + 18px); z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(160deg, #3ddc6f 0%, var(--success) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(47,158,68,0.4), 0 2px 0 rgba(255,255,255,0.45) inset, 0 -4px 8px rgba(0,0,0,0.2) inset;
  animation: pulse-fab 2.4s ease-in-out infinite;
  transition: transform .16s cubic-bezier(.34,1.56,.64,1);
  border: none; position: fixed;
}
.wa-fab::before {
  content: ""; position: absolute; top: 4px; left: 8px; right: 8px; height: 42%;
  background: linear-gradient(180deg, rgba(255,255,255,0.5), rgba(255,255,255,0)); border-radius: 50%;
  pointer-events: none;
}
.wa-fab svg { width: 27px; height: 27px; position: relative; z-index: 1; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
.wa-fab:hover { transform: scale(1.08) translateY(-2px); }
.wa-fab:active { transform: scale(0.94); }
@media (min-width: 900px) { .wa-fab { bottom: 24px; } }
@keyframes pulse-fab { 0%,100% { box-shadow: 0 0 0 0 rgba(47,158,68,0.35), 0 10px 24px rgba(47,158,68,0.4), 0 2px 0 rgba(255,255,255,0.45) inset, 0 -4px 8px rgba(0,0,0,0.2) inset;} 50% { box-shadow: 0 0 0 10px rgba(47,158,68,0), 0 10px 24px rgba(47,158,68,0.4), 0 2px 0 rgba(255,255,255,0.45) inset, 0 -4px 8px rgba(0,0,0,0.2) inset;} }

/* ---------------- HERO (welcome strip + poster carousel) ---------------- */
.hero-welcome {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  background-size: 200% 200%; animation: heroBgDrift 12s ease-in-out infinite;
  color: #fff; padding: 26px 0 26px; text-align: center; position: relative; overflow: hidden;
}
@keyframes heroBgDrift { 0%,100% { background-position: 0% 0%; } 50% { background-position: 100% 100%; } }
.hero-welcome::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(240,162,2,0.4), transparent 70%);
  animation: heroGlowFloat 7s ease-in-out infinite;
}
.hero-welcome::before {
  content: ""; position: absolute; left: -80px; bottom: -80px; width: 260px; height: 260px;
  border-radius: 50%; background: radial-gradient(circle, rgba(240,162,2,0.2), transparent 70%);
  animation: heroGlowFloat 9s ease-in-out infinite reverse;
}
@keyframes heroGlowFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(-14px, 14px) scale(1.12); } }

/* ---------------- HERO WEATHER EFFECTS (admin-controlled, per season/mood) ---------------- */
.hero-weather-layer { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }

/* Rain */
.rain-drop {
  position: absolute; top: -12%; width: 1.5px; height: 55px;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(210,225,255,0.65) 100%);
  animation: rainFall linear infinite;
}
@keyframes rainFall {
  0% { transform: translateY(-10%); opacity: 0; }
  8% { opacity: 1; }
  100% { transform: translateY(720%); opacity: 0.15; }
}
.hero-welcome.weather-rain { background: linear-gradient(135deg, #1c2942 0%, #10192c 100%); }

/* Sunny */
.sun-glow {
  position: absolute; top: -18%; right: -8%; width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,224,130,0.85), rgba(255,224,130,0) 70%);
  filter: blur(1px); animation: sunPulse 5s ease-in-out infinite;
}
@keyframes sunPulse { 0%,100% { opacity: 0.75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }
.sun-rays {
  position: absolute; top: -25%; right: -10%; width: 520px; height: 520px;
  background: conic-gradient(from 0deg,
    transparent 0deg, rgba(255,230,150,0.16) 8deg, transparent 18deg,
    transparent 45deg, rgba(255,230,150,0.13) 53deg, transparent 63deg,
    transparent 95deg, rgba(255,230,150,0.16) 103deg, transparent 113deg,
    transparent 160deg, rgba(255,230,150,0.11) 168deg, transparent 178deg,
    transparent 250deg, rgba(255,230,150,0.14) 258deg, transparent 268deg,
    transparent 330deg, rgba(255,230,150,0.16) 338deg, transparent 348deg, transparent 360deg);
  animation: sunRotate 40s linear infinite; opacity: 0.7;
}
@keyframes sunRotate { to { transform: rotate(360deg); } }
.hero-welcome.weather-sunny { background: linear-gradient(135deg, #2a4a6e 0%, #16324f 100%); }

/* Winter / Foggy */
.fog-band {
  position: absolute; left: -25%; width: 150%; height: 46%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.16) 50%, rgba(255,255,255,0) 100%);
  filter: blur(10px); animation: fogDrift 20s ease-in-out infinite;
}
.fog-band.fog-1 { top: -5%; }
.fog-band.fog-2 { top: 55%; animation-duration: 26s; animation-direction: reverse; opacity: 0.75; }
@keyframes fogDrift { 0%,100% { transform: translateX(-8%); } 50% { transform: translateX(8%); } }
.snowflake {
  position: absolute; top: -8%; color: rgba(255,255,255,0.9); font-size: 9px; line-height: 1;
  animation: snowFall linear infinite;
}
@keyframes snowFall {
  0% { transform: translateY(-10%) translateX(0); opacity: 0; }
  10% { opacity: 1; }
  100% { transform: translateY(720%) translateX(18px); opacity: 0.25; }
}
.hero-welcome.weather-winter { background: linear-gradient(135deg, #24344f 0%, #17233a 100%); }

@media (prefers-reduced-motion: reduce) {
  .rain-drop, .sun-glow, .sun-rays, .fog-band, .snowflake { animation: none !important; opacity: 0.3; }
}

.live-badge {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.25); padding: 5px 13px 5px 10px; border-radius: 999px;
  font-size: 10.5px; font-weight: 800; letter-spacing: .14em; color: rgba(255,255,255,0.92);
  margin-bottom: 12px; position: relative; z-index: 1;
  opacity: 0; animation: heroFadeUp .6s ease 0s both;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #ff4d4d;
  box-shadow: 0 0 0 0 rgba(255,77,77,0.6);
  animation: liveFlicker 1.6s ease-in-out infinite;
}
@keyframes liveFlicker {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(255,77,77,0.55); }
  50% { opacity: .45; box-shadow: 0 0 0 5px rgba(255,77,77,0); }
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.14);
  border: 1px solid rgba(240,162,2,0.4);
  padding: 5px 14px; border-radius: 999px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 14px; position: relative; z-index: 1;
  opacity: 0; animation: heroFadeUp .7s ease .1s both;
}
.hero-eyebrow .spark { display: inline-block; animation: sparkSpin 3.5s linear infinite; }
@keyframes sparkSpin { 0% { transform: rotate(0deg) scale(1); } 50% { transform: rotate(180deg) scale(1.25); } 100% { transform: rotate(360deg) scale(1); } }

.hero-welcome h1 {
  font-family: var(--font-cinematic);
  font-size: clamp(28px, 6.5vw, 48px); position: relative; z-index: 1; margin-bottom: 10px;
  letter-spacing: .04em; text-transform: uppercase; font-weight: 800; line-height: 1.1;
  background: linear-gradient(100deg, #ffffff 0%, #ffffff 35%, var(--accent) 50%, #ffffff 65%, #ffffff 100%);
  background-size: 250% auto;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: #fff;
  text-shadow: 0 8px 34px rgba(0,0,0,0.45);
  opacity: 0; animation: heroFadeUp .8s ease .2s both, heroShimmer 4.5s linear 1.2s infinite;
}
.hero-welcome p.lead {
  color: rgba(255,255,255,0.78); font-size: 13.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  max-width: 520px; margin: 0 auto; position: relative; z-index: 1;
  opacity: 0; animation: heroFadeUp .8s ease .35s both;
}
@keyframes heroFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes heroShimmer { 0% { background-position: 0% center; } 100% { background-position: -250% center; } }

.hero-sparkle {
  position: absolute; z-index: 1; color: var(--accent); pointer-events: none;
  opacity: 0; animation: sparkleTwinkle 2.6s ease-in-out infinite;
}
.hero-sparkle-1 { top: 18%; left: 12%; font-size: 16px; animation-delay: .4s; }
.hero-sparkle-2 { top: 65%; right: 14%; font-size: 12px; animation-delay: 1.1s; }
.hero-sparkle-3 { top: 30%; right: 22%; font-size: 10px; animation-delay: 1.8s; }
@keyframes sparkleTwinkle { 0%, 100% { opacity: 0; transform: scale(0.5) rotate(0deg); } 50% { opacity: 1; transform: scale(1.15) rotate(90deg); } }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-welcome h1, .hero-welcome p.lead, .hero-sparkle { animation: none; opacity: 1; }
}

.hero-carousel-section { background: var(--primary-dark); padding: 0 0 22px; }
.hero-carousel-wrap { position: relative; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.hero-carousel-track {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  border-radius: var(--radius-lg); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.hero-carousel-track::-webkit-scrollbar { display: none; }
.hero-carousel-slide {
  flex: 0 0 100%; scroll-snap-align: start; position: relative; aspect-ratio: 16/7;
  min-height: 160px; background: var(--primary); overflow: hidden; cursor: pointer;
}
@media (min-width: 700px) { .hero-carousel-slide { aspect-ratio: 21/7; } }
.hero-carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-carousel-caption {
  position: absolute; left: 0; bottom: 0; right: 0; padding: 18px 22px;
  background: linear-gradient(0deg, rgba(0,0,0,0.55), transparent 70%); color: #fff;
}
.hero-carousel-caption h3 { font-size: clamp(16px, 3vw, 22px); margin-bottom: 2px; }
.hero-carousel-caption p { color: rgba(255,255,255,0.85); font-size: 12.5px; margin: 0; }
.hero-dots { display: flex; justify-content: center; gap: 7px; margin-top: 12px; }
.hero-dot { width: 7px; height: 7px; border-radius: 999px; background: rgba(255,255,255,0.3); transition: all .2s ease; border: none; padding: 0; }
.hero-dot.active { width: 20px; background: var(--accent); }
.hero-carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.9); color: var(--ink); display: flex; align-items: center; justify-content: center;
  font-size: 16px; box-shadow: var(--shadow-sm); z-index: 2; border: none;
}
.hero-carousel-arrow.prev { left: 26px; }
.hero-carousel-arrow.next { right: 26px; }
@media (max-width: 700px) { .hero-carousel-arrow { display: none; } }
.hero-carousel-empty {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 16/7; min-height: 160px;
  border-radius: var(--radius-lg); background: var(--primary); color: rgba(255,255,255,0.7); font-size: 13px; text-align: center; padding: 20px;
}

/* ---------------- SECTIONS ---------------- */
.section { padding: 30px 0; }
@media (min-width: 700px) { .section { padding: 40px 0; } }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; gap: 12px; }
.section-head h2 {
  font-family: var(--font-cinematic); font-weight: 800; text-transform: uppercase;
  letter-spacing: .03em; font-size: 19px; color: var(--ink);
}
.section-head .see-all { font-size: 13px; font-weight: 700; color: var(--primary); white-space: nowrap; }

/* ---------------- CATEGORY GRID ---------------- */
.category-scroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: 96px;
  gap: 16px; overflow-x: auto; padding: 4px 2px 10px; scrollbar-width: none;
}
.category-scroll::-webkit-scrollbar { display: none; }
.category-card { display: flex; flex-direction: column; align-items: center; gap: 9px; text-align: center; cursor: pointer; }
.category-blob {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--surface); display: flex; align-items: center; justify-content: center;
  font-size: 30px; overflow: hidden; position: relative;
  transition: transform .2s cubic-bezier(.34,1.56,.64,1), box-shadow .2s ease;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 8px rgba(27,31,59,0.06);
}
.category-blob::after {
  content: ""; position: absolute; inset: -2px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  opacity: 0; transition: opacity .25s ease; z-index: -1;
}
.category-blob img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; }
.category-card:hover .category-blob {
  transform: translateY(-3px) scale(1.06);
  box-shadow: 0 10px 22px rgba(35,52,94,0.18); border-color: transparent;
}
.category-card:hover .category-blob::after { opacity: 1; }
.category-card.category-opening .category-blob {
  animation: categoryPop .45s cubic-bezier(.34,1.56,.64,1);
}
@keyframes categoryPop {
  0% { transform: scale(1); }
  40% { transform: scale(0.88) rotate(-3deg); }
  70% { transform: scale(1.12) rotate(2deg); box-shadow: 0 0 0 8px var(--accent-tint); }
  100% { transform: scale(1) rotate(0deg); }
}
.category-card span { font-size: 12px; font-weight: 700; color: var(--ink); }

/* ---------------- PRODUCT GRID / CARD ---------------- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .product-grid { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; position: relative; transition: box-shadow .22s ease, transform .22s ease, border-color .22s ease;
  box-shadow: 0 1px 3px rgba(20,23,43,0.04);
}
.card:hover { box-shadow: 0 14px 32px rgba(20,23,43,0.14); transform: translateY(-4px); border-color: transparent; }
.card-media { position: relative; aspect-ratio: 1/1; background: var(--bg); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s cubic-bezier(.16,1,.3,1); }
.card:hover .card-media img { transform: scale(1.08); }
.card-badges { position: absolute; top: 8px; left: 8px; display: flex; flex-direction: column; gap: 5px; }
.badge {
  font-size: 10px; font-weight: 800; padding: 3px 8px; border-radius: 6px; letter-spacing: .02em;
  text-transform: uppercase; box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
.badge-offer { background: var(--accent); color: var(--ink); }
.badge-best { background: var(--primary); color: #fff; }
.badge-new { background: var(--success); color: #fff; }
.badge-out { background: var(--danger); color: #fff; }

/* Out of stock overlay */
.card-oos .card-media img { filter: grayscale(65%) brightness(0.8); opacity: 0.65; }
.card-oos:hover .card-media img { transform: none; }
.oos-tag-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-6deg);
  background: rgba(20,23,43,0.88); color: #fff; padding: 6px 16px; border-radius: 8px;
  font-weight: 800; font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase;
  z-index: 2; box-shadow: 0 4px 12px rgba(0,0,0,0.3); white-space: nowrap;
}
.oos-label { font-size: 11.5px; font-weight: 700; color: var(--danger); text-transform: uppercase; letter-spacing: .03em; }
.card-body { padding: 11px 13px 13px; }
.card-title {
  font-size: 13.5px; font-weight: 700; margin: 0 0 7px; display: -webkit-box; color: var(--ink);
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 34px;
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; }

/* Signature price-tag chip */
.price-tag {
  font-family: var(--font-mono); font-weight: 700; font-size: 14px; color: var(--ink);
  background: var(--accent-tint); border: 1px dashed var(--accent-dark);
  padding: 3px 8px 3px 14px; border-radius: 5px; position: relative; display: inline-flex; align-items: baseline; gap: 5px;
}
.price-tag::before {
  content: ""; position: absolute; left: 4px; top: 50%; transform: translateY(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: var(--surface); border: 1px solid var(--accent-dark);
}
.price-tag .mrp { font-size: 11px; color: var(--muted); text-decoration: line-through; font-weight: 500; }
.price-tag.lg { font-size: 22px; padding: 6px 14px 6px 22px; }
.price-tag.lg::before { width: 7px; height: 7px; left: 7px; }

.add-btn {
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: linear-gradient(160deg, #2b2f38 0%, #0a0b0d 100%); color: #fff; font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; position: relative;
  box-shadow: 0 3px 8px rgba(0,0,0,0.28), 0 1px 0 rgba(255,255,255,0.25) inset, 0 -2px 5px rgba(0,0,0,0.3) inset;
  transition: transform .15s cubic-bezier(.34,1.56,.64,1), box-shadow .15s ease;
}
.add-btn::before {
  content: ""; position: absolute; top: 2px; left: 5px; right: 5px; height: 38%;
  background: linear-gradient(180deg, rgba(255,255,255,0.35), rgba(255,255,255,0)); border-radius: 50%; pointer-events: none;
}
.add-btn:hover { transform: translateY(-1px) scale(1.08); box-shadow: 0 5px 12px rgba(0,0,0,0.35), 0 1px 0 rgba(255,255,255,0.25) inset, 0 -2px 5px rgba(0,0,0,0.3) inset; }
.add-btn:active { transform: scale(0.88); }

.discount-pill { font-size: 11px; font-weight: 700; color: var(--success); }

/* ---------------- SKELETON ---------------- */
.skeleton { pointer-events: none; }
.skeleton-img { aspect-ratio: 1/1; background: linear-gradient(90deg, var(--border) 25%, #f0ede2 37%, var(--border) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton-line { height: 12px; margin: 10px 12px 0; border-radius: 6px; background: linear-gradient(90deg, var(--border) 25%, #f0ede2 37%, var(--border) 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; }
.skeleton-line.short { width: 50%; margin-bottom: 12px; }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* ---------------- EMPTY STATE ---------------- */
.empty-state { text-align: center; padding: 60px 20px; grid-column: 1/-1; }
.empty-icon { font-size: 48px; margin-bottom: 10px; }
.empty-state h3 { margin-bottom: 6px; }

/* ---------------- TOAST ---------------- */
.toast-holder { position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 200; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 600;
  opacity: 0; transform: translateY(-12px); transition: opacity .25s ease, transform .25s ease; box-shadow: var(--shadow-md);
}
.toast.show { opacity: 1; transform: translateY(0); }
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }

/* ---------------- FORMS ---------------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 13px; font-size: 14.5px; font-family: inherit; background: var(--surface); color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 4px; }
.field .error { font-size: 12px; color: var(--danger); margin-top: 4px; display: none; }
.field.has-error input, .field.has-error textarea { border-color: var(--danger); }
.field.has-error .error { display: block; }
.checkbox-row { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; color: var(--ink); }
.checkbox-row input { width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }

.chip-group { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1.5px solid var(--border); border-radius: 999px; padding: 7px 15px; font-size: 13px; font-weight: 600;
  background: var(--surface); transition: all .15s ease;
}
.chip.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip.color-chip { padding: 6px 12px; display: inline-flex; align-items: center; gap: 6px; }
.color-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid var(--border); }

/* ---------------- FOOTER (bio-style) ---------------- */
#v3-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); margin-top: 40px; position: relative; overflow: hidden; }
#v3-footer::before {
  content: ""; position: absolute; top: -100px; right: -100px; width: 280px; height: 280px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,162,2,0.14), transparent 70%);
}
.footer-inner {
  max-width: 1200px; margin: 0 auto; padding: 46px 16px 26px; position: relative; z-index: 1;
  display: grid; gap: 32px; grid-template-columns: 1fr;
}
@media (min-width: 700px) { .footer-inner { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 28px; } }

.footer-bio-col { display: flex; flex-direction: column; gap: 14px; }
.footer-brand-row { display: flex; align-items: center; gap: 10px; }
.footer-logo { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.footer-brand-name { font-family: var(--font-cinematic); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; color: #fff; font-size: 17px; }
.footer-bio { font-size: 13.5px; line-height: 1.7; color: rgba(255,255,255,0.68); max-width: 340px; margin: 0; }
.footer-social-row { display: flex; gap: 10px; margin-top: 4px; }
.footer-social-btn {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08);
  border: 1.5px solid rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center;
  transition: background .18s ease, transform .16s cubic-bezier(.34,1.56,.64,1), border-color .18s ease;
}
.footer-social-btn svg { width: 16px; height: 16px; color: #fff; }
.footer-social-btn:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-2px); }
.footer-social-btn:hover svg { color: var(--ink); }

.footer-col h4 { color: #fff; font-size: 12.5px; margin-bottom: 14px; font-family: var(--font-cinematic); font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 13.5px; color: rgba(255,255,255,0.68); margin-bottom: 10px; transition: color .15s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-line { display: flex; align-items: flex-start; gap: 9px; font-size: 13.5px; color: rgba(255,255,255,0.68); margin-bottom: 12px; line-height: 1.4; }
.footer-line-icon { width: 15px; height: 15px; flex-shrink: 0; margin-top: 1px; color: var(--accent); }
.footer-line-icon svg { width: 100%; height: 100%; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 16px; text-align: center; font-size: 12px; position: relative; z-index: 1; }
.footer-bottom p { color: rgba(255,255,255,0.5); margin: 2px 0; }

/* ---------------- PROMO FRAME (premium bordered banner strips) ---------------- */
.promo-frame {
  position: relative; border-radius: 26px; padding: 3px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 55%, var(--accent) 100%);
  background-size: 200% 200%; animation: promoBorderShift 6s ease infinite;
  box-shadow: var(--shadow-lg);
}
@keyframes promoBorderShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.promo-frame-inner {
  border-radius: 23px; overflow: hidden; position: relative; min-height: 200px;
  background: var(--primary-dark); display: flex; align-items: center;
}
.promo-frame-inner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.promo-frame-inner::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(22,34,70,0.92) 20%, rgba(22,34,70,0.35) 75%);
}
.promo-frame-content { position: relative; z-index: 2; padding: 34px 30px; color: #fff; max-width: 520px; }
.promo-frame-content .promo-badge {
  display: inline-block; background: rgba(255,255,255,0.14); border: 1px solid rgba(240,162,2,0.5);
  padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 12px;
}
.promo-frame-content h3 {
  font-family: var(--font-cinematic); text-transform: uppercase; font-weight: 800;
  font-size: clamp(20px, 4vw, 30px); margin-bottom: 8px; letter-spacing: .02em; line-height: 1.15;
}
.promo-frame-content p { color: rgba(255,255,255,0.82); margin-bottom: 18px; font-size: 14px; max-width: 400px; }
.promo-frame-empty {
  display: flex; align-items: center; justify-content: center; min-height: 160px;
  color: rgba(255,255,255,0.6); font-size: 13px; text-align: center; padding: 20px;
}

/* Outro CTA — no banner image, just a premium glowing gradient card */
.outro-cta {
  position: relative; border-radius: 26px; padding: 42px 28px; text-align: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  overflow: hidden; box-shadow: var(--shadow-lg);
}
.outro-cta-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 20%, rgba(240,162,2,0.28), transparent 55%),
              radial-gradient(circle at 75% 80%, rgba(240,162,2,0.18), transparent 50%);
  animation: heroGlowFloat 8s ease-in-out infinite;
}
.outro-cta .promo-badge {
  display: inline-block; background: rgba(255,255,255,0.14); border: 1px solid rgba(240,162,2,0.5);
  padding: 4px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 14px; position: relative; z-index: 1;
}
.outro-cta h3 {
  font-family: var(--font-cinematic); text-transform: uppercase; font-weight: 800; color: #fff;
  font-size: clamp(20px, 4vw, 28px); margin-bottom: 10px; letter-spacing: .02em; line-height: 1.2;
  position: relative; z-index: 1;
}
.outro-cta p { color: rgba(255,255,255,0.8); margin: 0 auto 20px; font-size: 14px; max-width: 380px; position: relative; z-index: 1; }
.outro-cta .btn { position: relative; z-index: 1; }

/* ---------------- MISC PAGE HELPERS ---------------- */
.page-header { padding: 24px 0 8px; }
.page-header h1 { font-size: 26px; }
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 6px; }
.breadcrumb a { color: var(--primary); font-weight: 600; }

.filter-bar { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.filter-bar::-webkit-scrollbar { display: none; }

.qty-stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.qty-stepper button { width: 34px; height: 34px; background: var(--bg); font-size: 17px; font-weight: 700; color: var(--primary); }
.qty-stepper button:hover { background: var(--primary-tint); }
.qty-stepper span { width: 36px; text-align: center; font-weight: 700; font-size: 14px; }

.rating-placeholder { display: inline-flex; align-items: center; gap: 4px; background: var(--success); color: #fff; font-size: 12px; font-weight: 700; padding: 2px 7px; border-radius: 5px; }

hr.sep { border: none; border-top: 1px solid var(--border); margin: 18px 0; }

.spinner { width: 20px; height: 20px; border: 2.5px solid var(--border); border-top-color: var(--primary); border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
