/* ShopVerse storefront — design tokens + components. No build step required. */
/* Bornomala (self-hosted, WOFF2, subset to Bengali only).
   unicode-range means the browser downloads it only when a page actually contains Bengali characters
   (including the ৳ sign); English text uses Oswald from Google Fonts. */
@font-face {
  font-family: "Bornomala";
  src: url("../fonts/Bornomala-Regular.woff2") format("woff2");
  font-weight: 400 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0980-09FF, U+0964-0965, U+200B-200D, U+25CC;
}
@font-face {
  font-family: "Bornomala";
  src: url("../fonts/Bornomala-Bold.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0980-09FF, U+0964-0965, U+200B-200D, U+25CC;
}

:root {
  --ink: #17142b;
  --ink-2: #4a4763;
  --ink-3: #7c7a93;
  --paper: #f7f6fb;
  --card: #ffffff;
  --mist: #ebe8f7;
  --line: #e4e1f0;
  --iris: #5b4bff;
  --iris-2: #4536e6;
  --jamun: #e2368a;
  --mango: #ffb020;
  --river: #0fa3a3;
  --ok: #138a52;
  --warn: #b7791f;
  --bad: #d23a3a;
  --aurora: linear-gradient(120deg, #5b4bff 0%, #9b45e8 40%, #e2368a 72%, #ffb020 100%);
  --glass: rgba(255, 255, 255, .62);
  --r-xl: 28px; --r-lg: 20px; --r-md: 14px; --r-sm: 10px;
  --shadow-soft: 0 1px 2px rgba(23,20,43,.04), 0 8px 24px -12px rgba(23,20,43,.18);
  --shadow-lift: 0 24px 48px -20px rgba(69,54,230,.35);
  --font-display: "Oswald", "Bornomala", system-ui, sans-serif;
  --font-body: "TikTok Sans", "Bornomala", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1320px;
  --header-h: 72px;
}
html[lang="bn"] { --font-display: "Bornomala", "Oswald", sans-serif; --font-body: "Bornomala", "TikTok Sans", sans-serif; }
/* Headings: Oswald (condensed display). Everything else: TikTok Sans. */
body { font-weight: 400; font-optical-sizing: auto; }
h1, h2, h3, h4 { letter-spacing: 0; }
html[lang="bn"] body { letter-spacing: 0; line-height: 1.7; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
body { margin: 0; font-family: var(--font-body); font-size: 15.5px; line-height: 1.55; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--iris); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .4em; letter-spacing: -.015em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.9rem); }
h2 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.ic { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; vertical-align: -.25em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }
.stack > * + * { margin-top: 12px; }
.row { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrap-row { flex-wrap: wrap; }
.grow { flex: 1; }
.hide-m { }
@media (max-width: 900px) { .hide-m { display: none !important; } }
.show-m { display: none !important; }
@media (max-width: 900px) { .show-m { display: flex !important; } }

/* ---------- Buttons & inputs ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: .95rem; transition: transform .15s, background .2s, box-shadow .2s, border-color .2s; white-space: nowrap; background: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #2b2647; box-shadow: var(--shadow-lift); }
.btn-iris { background: var(--iris); color: #fff; }
.btn-iris:hover { background: var(--iris-2); box-shadow: var(--shadow-lift); }
.btn-glow { background: var(--aurora); color: #fff; background-size: 160% 100%; background-position: 0 0; }
.btn-glow:hover { background-position: 100% 0; box-shadow: 0 18px 36px -16px rgba(226,54,138,.6); }
.btn-ghost { border-color: var(--line); background: var(--card); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: rgba(255,255,255,.92); color: var(--ink); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: .86rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn.is-loading::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.icon-btn { width: 42px; height: 42px; display: inline-grid; place-items: center; border-radius: 50%; border: 0; background: transparent; position: relative; transition: background .2s; }
.icon-btn:hover { background: var(--mist); }
.icon-btn .ic { width: 22px; height: 22px; }
.count-dot { position: absolute; top: 2px; right: 0; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--jamun); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.count-dot:empty, .count-dot[data-count="0"] { display: none; }

label.field { display: block; }
.field > span { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
.input, select.input, textarea.input { width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--card); transition: border-color .2s, box-shadow .2s; }
textarea.input { min-height: 96px; resize: vertical; }
.input:focus { outline: none; border-color: var(--iris); box-shadow: 0 0 0 4px rgba(91,75,255,.12); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--iris); flex: none; }
.form-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: #fff; font-size: .85rem; position: relative; overflow: hidden; }
.announce::before { content: ""; position: absolute; inset: 0; background: var(--aurora); opacity: .55; }
.announce .wrap { position: relative; display: flex; align-items: center; justify-content: center; gap: 16px; min-height: 38px; text-align: center; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }
.announce-close { position: absolute; right: 0; background: none; border: 0; color: #fff; opacity: .8; }

.site-header { position: sticky; top: 0; z-index: 60; background: rgba(247,246,251,.78); backdrop-filter: saturate(1.6) blur(18px); -webkit-backdrop-filter: saturate(1.6) blur(18px); border-bottom: 1px solid rgba(228,225,240,.8); }
.header-row { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.03em; }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; background: var(--aurora); display: grid; place-items: center; color: #fff; box-shadow: inset 0 -6px 12px rgba(0,0,0,.18), 0 8px 18px -8px rgba(91,75,255,.7); font-size: 1rem; }
.logo img { height: 38px; width: auto; }
.cat-trigger { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; }
.cat-trigger:hover, .cat-trigger[aria-expanded="true"] { border-color: var(--ink); }

.search { position: relative; flex: 1; max-width: 640px; }
.search form { display: flex; align-items: center; height: 46px; border-radius: 999px; background: var(--card); border: 1.5px solid var(--line); padding: 0 6px 0 16px; transition: border-color .2s, box-shadow .2s; }
.search form:focus-within { border-color: var(--iris); box-shadow: 0 0 0 4px rgba(91,75,255,.12); }
.search input { flex: 1; border: 0; outline: 0; background: none; min-width: 0; height: 100%; }
.search button[type=submit] { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; display: grid; place-items: center; }
.suggest { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: var(--card); border-radius: var(--r-lg); box-shadow: 0 30px 60px -20px rgba(23,20,43,.28); border: 1px solid var(--line); padding: 10px; display: none; max-height: 70vh; overflow: auto; }
.suggest.open { display: block; }
.suggest h6 { margin: 8px 8px 4px; font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.sg-item { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: var(--r-sm); }
.sg-item:hover, .sg-item.active { background: var(--paper); }
.sg-item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; background: var(--mist); }
.sg-item .sg-price { margin-left: auto; font-weight: 700; white-space: nowrap; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 8px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .85rem; transition: border-color .2s, background .2s; }
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.lang-switch { font-weight: 700; font-size: .82rem; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); }

/* Mega menu */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); box-shadow: 0 40px 60px -30px rgba(23,20,43,.3); display: none; }
.mega.open { display: block; animation: drop .18s ease-out; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.mega-inner { display: grid; grid-template-columns: 280px 1fr; min-height: 420px; }
.mega-list { border-right: 1px solid var(--line); padding: 14px 10px; max-height: 70vh; overflow: auto; }
.mega-list a { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--r-sm); font-weight: 500; }
.mega-list a.active, .mega-list a:hover { background: var(--paper); color: var(--iris); }
.mega-list .ic { color: var(--ink-3); }
.mega-panel { padding: 26px 30px; display: none; }
.mega-panel.active { display: grid; grid-template-columns: 1fr 260px; gap: 30px; }
.mega-panel h4 { font-size: 1.3rem; }
.mega-sub { columns: 3 180px; column-gap: 24px; }
.mega-sub a { display: block; padding: 6px 0; color: var(--ink-2); break-inside: avoid; }
.mega-sub a:hover { color: var(--iris); }
.mega-feature { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); position: relative; aspect-ratio: 4/5; }
.mega-feature img { width: 100%; height: 100%; object-fit: cover; }
.mega-feature span { position: absolute; left: 14px; bottom: 14px; right: 14px; padding: 10px 14px; border-radius: 12px; background: var(--glass); backdrop-filter: blur(10px); font-weight: 600; }

/* Mobile drawer + bottom nav */
.drawer { position: fixed; inset: 0; z-index: 90; display: none; }
.drawer.open { display: block; }
.drawer-bg { position: absolute; inset: 0; background: rgba(23,20,43,.45); backdrop-filter: blur(3px); animation: fade .2s; }
@keyframes fade { from { opacity: 0; } }
.drawer-panel { position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--paper); display: flex; flex-direction: column; animation: slideL .25s ease-out; }
.drawer-panel.right { right: 0; animation-name: slideR; }
.drawer-panel.left { left: 0; }
@keyframes slideL { from { transform: translateX(-100%); } }
@keyframes slideR { from { transform: translateX(100%); } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.drawer-body { flex: 1; overflow: auto; padding: 14px 18px; }
.drawer-foot { padding: 16px 18px; border-top: 1px solid var(--line); background: var(--card); }
.m-cat summary { list-style: none; display: flex; align-items: center; gap: 12px; padding: 12px 4px; font-weight: 600; cursor: pointer; border-bottom: 1px solid var(--line); }
.m-cat summary::-webkit-details-marker { display: none; }
.m-cat summary .chev { margin-left: auto; transition: transform .2s; }
.m-cat[open] summary .chev { transform: rotate(180deg); }
.m-cat .m-sub { padding: 8px 0 12px 34px; display: grid; gap: 8px; color: var(--ink-2); }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 70; display: none; background: rgba(255,255,255,.9); backdrop-filter: blur(16px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav a, .bottom-nav button { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 6px; font-size: .7rem; font-weight: 600; color: var(--ink-3); border: 0; background: none; position: relative; }
.bottom-nav .active { color: var(--iris); }
.bottom-nav .ic { width: 22px; height: 22px; }
.bottom-nav .count-dot { top: 2px; right: calc(50% - 22px); }
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .bottom-nav { display: flex; }
  body { padding-bottom: 68px; }
  .header-row { gap: 8px; }
  .search-row { padding: 0 0 10px; }
  .logo { font-size: 1.15rem; }
}

/* ---------- Flash messages / toast ---------- */
.flash-stack { position: fixed; top: 86px; right: 16px; z-index: 120; display: grid; gap: 10px; width: min(380px, calc(100vw - 32px)); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--ink); color: #fff; box-shadow: 0 20px 40px -18px rgba(23,20,43,.6); animation: toastIn .3s cubic-bezier(.2,.9,.3,1.2); font-size: .92rem; }
.toast.error { background: #7d1f2f; }
.toast.success .ic { color: #6ee7a8; }
.toast button { margin-left: auto; background: none; border: 0; color: #fff; opacity: .7; }
@keyframes toastIn { from { opacity: 0; transform: translateY(-10px) scale(.96); } }

/* ---------- Sections ---------- */
main { min-height: 50vh; }
.section { padding: 34px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { margin: 0; }
.section-head p { margin: 4px 0 0; color: var(--ink-3); }
.view-all { font-weight: 600; color: var(--iris); display: inline-flex; gap: 6px; align-items: center; white-space: nowrap; }
.view-all:hover { text-decoration: underline; text-underline-offset: 4px; }

/* Hero stage */
.hero { padding: 18px 0 8px; }
.hero-stage { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: clamp(420px, 56vw, 560px); background: #120f2b; color: #fff; isolation: isolate; }
.hero-slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; display: flex; align-items: center; }
.hero-slide.active { opacity: 1; visibility: visible; }
.hero-slide picture, .hero-slide video, .hero-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero-slide picture img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(95deg, rgba(10,8,30,.82) 0%, rgba(10,8,30,.45) 45%, rgba(10,8,30,0) 75%); }
.hero-slide.t-sunset::before { background: linear-gradient(95deg, rgba(40,16,0,.8) 0%, rgba(40,16,0,.35) 50%, transparent 78%); }
.hero-slide.t-rose::before { background: linear-gradient(95deg, rgba(48,6,30,.82) 0%, rgba(48,6,30,.38) 50%, transparent 78%); }
.hero-copy { padding: clamp(28px, 5vw, 72px); max-width: 640px; }
.hero-tag { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); font-size: .82rem; font-weight: 600; margin-bottom: 18px; }
.hero-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--mango); box-shadow: 0 0 12px var(--mango); }
.hero-copy h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.6rem); font-weight: 800; letter-spacing: -.035em; line-height: .98; font-variation-settings: "wdth" 85; margin-bottom: 18px; }
.hero-copy p { font-size: 1.08rem; color: rgba(255,255,255,.82); max-width: 46ch; margin-bottom: 26px; }
.hero-slide.active .hero-copy > * { animation: heroUp .9s cubic-bezier(.2,.8,.2,1) both; }
.hero-slide.active .hero-copy > *:nth-child(2) { animation-delay: .08s; }
.hero-slide.active .hero-copy > *:nth-child(3) { animation-delay: .16s; }
.hero-slide.active .hero-copy > *:nth-child(4) { animation-delay: .24s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(22px); } }
.hero-nav { position: absolute; left: clamp(28px, 5vw, 72px); bottom: 26px; display: flex; gap: 8px; z-index: 3; }
.hero-dot { width: 34px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(255,255,255,.3); overflow: hidden; position: relative; }
.hero-dot.active::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; animation: progress 6s linear forwards; }
@keyframes progress { from { transform: scaleX(0); } }
.hero-arrows { position: absolute; right: 22px; bottom: 18px; display: flex; gap: 8px; z-index: 3; }
.hero-arrows button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.12); color: #fff; backdrop-filter: blur(8px); display: grid; place-items: center; }
.hero-arrows button:hover { background: rgba(255,255,255,.25); }
.hero-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 14px; }
.trust { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); font-size: .88rem; }
.trust strong { display: block; font-size: .95rem; }
.trust .ic { width: 28px; height: 28px; color: var(--iris); }
@media (max-width: 900px) { .hero-trust { grid-template-columns: repeat(2, 1fr); } .hero-stage { min-height: 460px; } .hero-slide::before { background: linear-gradient(0deg, rgba(10,8,30,.9) 10%, rgba(10,8,30,.25) 70%); } .hero-slide { align-items: flex-end; } .hero-copy { padding-bottom: 70px; } .hero-arrows { display: none; } }

/* Category orbs — soft 3D tiles */
.cat-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(124px, 1fr); gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px; scrollbar-width: none; }
.cat-rail::-webkit-scrollbar { display: none; }
.cat-orb { scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-weight: 600; font-size: .9rem; }
.cat-orb .orb { width: 100%; aspect-ratio: 1; border-radius: 30%; background: radial-gradient(120% 120% at 30% 20%, #fff 0%, var(--tint, #eceaff) 55%, var(--tint-2, #d5d0ff) 100%); box-shadow: inset 0 -10px 22px rgba(23,20,43,.08), inset 0 6px 14px rgba(255,255,255,.9), 0 14px 26px -18px rgba(69,54,230,.55); display: grid; place-items: center; overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s; position: relative; }
.cat-orb .orb img { width: 78%; height: 78%; object-fit: contain; filter: drop-shadow(0 10px 12px rgba(23,20,43,.18)); mix-blend-mode: multiply; }
.cat-orb .orb .ic { width: 42%; height: 42%; color: var(--iris); stroke-width: 1.4; }
.cat-orb:hover .orb { transform: translateY(-6px) rotate(-2deg); box-shadow: inset 0 -10px 22px rgba(23,20,43,.08), inset 0 6px 14px rgba(255,255,255,.9), 0 26px 36px -20px rgba(69,54,230,.65); }
.cat-orb small { display: block; color: var(--ink-3); font-weight: 500; font-size: .78rem; }
.cat-orb:nth-child(5n+2) .orb { --tint: #ffe6f1; --tint-2: #ffc8de; }
.cat-orb:nth-child(5n+3) .orb { --tint: #fff1d6; --tint-2: #ffdca0; }
.cat-orb:nth-child(5n+4) .orb { --tint: #dcf7f4; --tint-2: #b2ece6; }
.cat-orb:nth-child(5n+5) .orb { --tint: #e3f0ff; --tint-2: #bdd9ff; }

/* Product rail + grid */
.rail-wrap { position: relative; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * 16px) / 5); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 10px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-btn { position: absolute; top: 34%; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow-soft); display: grid; place-items: center; z-index: 2; opacity: 0; transition: opacity .2s; }
.rail-wrap:hover .rail-btn { opacity: 1; }
.rail-btn.prev { left: -18px; } .rail-btn.next { right: -18px; }
@media (max-width: 1100px) { .rail { grid-auto-columns: calc((100% - 3 * 14px) / 4); gap: 14px; } }
@media (max-width: 800px) { .rail { grid-auto-columns: 46%; gap: 12px; } .rail-btn { display: none; } }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
@media (max-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.card { position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg); border: 1px solid var(--line); overflow: hidden; transition: border-color .25s, box-shadow .25s; }
.card:hover { border-color: #cfcae6; box-shadow: var(--shadow-soft); }
.card-media { position: relative; aspect-ratio: 1; background: var(--paper); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.card:hover .card-media img { transform: scale(1.045); }
.badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 5px; align-items: flex-start; z-index: 1; }
.badge-sale { padding: 4px 9px; border-radius: 8px; background: var(--jamun); color: #fff; font-size: .74rem; font-weight: 700; }
.badge-soft { padding: 4px 9px; border-radius: 8px; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); font-size: .74rem; font-weight: 600; color: var(--ink); }
.badge-soft.ink { background: var(--ink); color: #fff; }
.wish { position: absolute; top: 8px; right: 8px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255,255,255,.88); backdrop-filter: blur(6px); display: grid; place-items: center; z-index: 1; transition: transform .2s; }
.wish:hover { transform: scale(1.08); }
.wish.on .ic { fill: var(--jamun); stroke: var(--jamun); }
.wish.pop { animation: pop .35s; }
@keyframes pop { 50% { transform: scale(1.25); } }
.card-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card-brand { font-size: .78rem; color: var(--ink-3); font-weight: 600; }
.card-title { font-size: .95rem; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.stars { display: inline-flex; gap: 1px; color: var(--mango); vertical-align: middle; }
.stars .ic { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.stars .ic.off { color: #ddd9ea; }
.rating-line { display: flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--ink-3); }
.price-line { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 6px; flex-wrap: wrap; }
.price { font-weight: 700; font-size: 1.08rem; font-family: var(--font-display); }
.strike { color: var(--ink-3); text-decoration: line-through; font-size: .85rem; }
.card-actions { position: relative; z-index: 2; margin-top: 10px; }
.card-actions .btn { width: 100%; min-height: 40px; font-size: .86rem; }
.stock-note { font-size: .78rem; font-weight: 600; }
.stock-note.low { color: var(--warn); } .stock-note.out { color: var(--bad); } .stock-note.pre { color: var(--iris); }
.card.out .card-media img { filter: grayscale(.6); opacity: .7; }

/* Flash sale band */
.flash-band { border-radius: var(--r-xl); padding: 26px; background: radial-gradient(80% 140% at 0% 0%, #ffe3ef 0%, transparent 60%), radial-gradient(80% 140% at 100% 0%, #e9e4ff 0%, transparent 55%), var(--card); border: 1px solid var(--line); }
.countdown { display: inline-flex; gap: 6px; align-items: center; font-family: var(--font-display); font-weight: 700; }
.countdown span { min-width: 42px; padding: 6px 8px; border-radius: 10px; background: var(--ink); color: #fff; text-align: center; font-variant-numeric: tabular-nums; }
.countdown small { font-size: .7rem; font-weight: 500; opacity: .7; margin-left: 2px; }

/* Brands */
.brand-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.brand-tile { height: 92px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); display: grid; place-items: center; padding: 14px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; text-align: center; transition: transform .25s, border-color .25s; }
.brand-tile img { max-height: 48px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.brand-tile:hover { transform: translateY(-3px); border-color: var(--ink); }
.brand-tile:hover img { filter: none; opacity: 1; }
.brand-tile small { display: block; font-family: var(--font-body); font-size: .75rem; color: var(--ink-3); font-weight: 500; letter-spacing: 0; }

/* Spotlight split */
.spot { display: grid; grid-template-columns: minmax(280px, 380px) 1fr; gap: 20px; align-items: stretch; }
.spot-card { border-radius: var(--r-xl); padding: 30px; color: #fff; position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; min-height: 360px; background: #1c1745; isolation: isolate; }
.spot-card > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.spot-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(14,11,40,.92), rgba(14,11,40,.1) 70%); }
.spot-card h3 { font-size: 1.9rem; letter-spacing: -.03em; }
.spot-card p { color: rgba(255,255,255,.8); }
.spot-card .chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.spot-card .chip { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.25); color: #fff; }
.spot .rail { grid-auto-columns: calc((100% - 3 * 16px) / 4); }
@media (max-width: 900px) { .spot { grid-template-columns: 1fr; } .spot-card { min-height: 240px; } .spot .rail { grid-auto-columns: 46%; } }

/* Deals mosaic */
.deals { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; }
.deal { position: relative; border-radius: var(--r-xl); overflow: hidden; min-height: 220px; padding: 26px; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; color: var(--ink); background: var(--mist); }
.deal:first-child { grid-row: span 2; min-height: 460px; }
.deal > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.deal:hover > img { transform: scale(1.04); }
.deal-copy { background: var(--glass); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border: 1px solid rgba(255,255,255,.7); border-radius: var(--r-lg); padding: 18px 20px; max-width: 360px; }
.deal-copy h3 { font-size: 1.4rem; margin-bottom: 4px; }
.deal-copy p { margin: 0 0 10px; color: var(--ink-2); font-size: .92rem; }
@media (max-width: 800px) { .deals { grid-template-columns: 1fr; grid-template-rows: none; } .deal:first-child { grid-row: auto; min-height: 280px; } }

/* Lifestyle */
.life { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.life a { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4/5; display: flex; align-items: flex-end; padding: 18px; isolation: isolate; }
.life img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.life a:hover img { transform: scale(1.05); }
.life span { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; background: var(--glass); backdrop-filter: blur(12px); padding: 10px 14px; border-radius: 14px; }
@media (max-width: 800px) { .life { grid-template-columns: repeat(2, 1fr); } }

/* Video tiles */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.video-tile { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16/10; background: #1c1745; border: 0; padding: 0; color: #fff; text-align: left; }
.video-tile img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: opacity .3s, transform .6s; }
.video-tile:hover img { opacity: 1; transform: scale(1.03); }
.play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--ink); display: grid; place-items: center; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.play .ic { fill: currentColor; margin-left: 4px; }
.video-tile .vt-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; background: linear-gradient(0deg, rgba(0,0,0,.7), transparent); font-weight: 600; }

/* Reviews wall */
.quotes { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.quote blockquote { margin: 0; font-size: 1rem; line-height: 1.6; }
.quote footer { display: flex; align-items: center; gap: 10px; margin-top: auto; font-size: .86rem; }
.avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--aurora); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; }
.verified { color: var(--ok); font-size: .78rem; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }

/* Newsletter + app */
.cta-band { border-radius: var(--r-xl); padding: clamp(26px, 5vw, 56px); background: var(--ink); color: #fff; position: relative; overflow: hidden; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; isolation: isolate; }
.cta-band::before { content: ""; position: absolute; width: 520px; height: 520px; right: -140px; top: -220px; border-radius: 50%; background: var(--aurora); filter: blur(60px); opacity: .55; z-index: -1; }
.cta-band h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.4rem); }
.cta-band p { color: rgba(255,255,255,.75); }
.cta-band form { display: flex; gap: 8px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 999px; padding: 6px; }
.cta-band input { flex: 1; background: none; border: 0; outline: 0; color: #fff; padding: 0 14px; min-width: 0; }
.cta-band input::placeholder { color: rgba(255,255,255,.55); }
.app-card { border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); background: linear-gradient(135deg, #eef0ff, #ffe8f2 60%, #fff3da); border: 1px solid var(--line); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; }
.phone-mock { width: 150px; aspect-ratio: 9/18; border-radius: 28px; background: var(--ink); padding: 8px; box-shadow: 0 30px 60px -24px rgba(69,54,230,.6); transform: rotate(6deg); }
.phone-mock div { width: 100%; height: 100%; border-radius: 21px; background: var(--aurora); display: grid; place-items: center; color: #fff; }
@media (max-width: 800px) { .cta-band, .app-card { grid-template-columns: 1fr; } .phone-mock { display: none; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: 48px; background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 28px; font-size: .92rem; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; font-family: var(--font-body); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr) 1.3fr; gap: 30px; }
.foot-grid a { display: block; padding: 4px 0; }
.foot-grid a:hover { color: #fff; }
.site-footer .logo { color: #fff; margin-bottom: 14px; }
.socials { display: flex; gap: 8px; margin-top: 14px; }
.socials a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; padding: 0; }
.pay-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.pay-row span { padding: 5px 10px; border-radius: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); font-size: .78rem; font-weight: 600; color: #fff; }
.foot-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Listing ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: .84rem; color: var(--ink-3); padding: 16px 0 8px; }
.crumbs a:hover { color: var(--ink); }
.list-hero { border-radius: var(--r-xl); padding: 30px; margin-bottom: 22px; position: relative; overflow: hidden; background: radial-gradient(70% 160% at 100% 0%, #e2ddff 0%, transparent 60%), radial-gradient(60% 140% at 80% 100%, #ffe0ee 0%, transparent 60%), var(--card); border: 1px solid var(--line); isolation: isolate; }
.list-hero.has-banner { color: #fff; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; border: 0; }
.list-hero.has-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.list-hero.has-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,11,40,.85), rgba(14,11,40,.2)); }
.list-hero.has-banner p { color: rgba(255,255,255,.85); }
.list-hero.t-sunset { background: radial-gradient(70% 160% at 100% 0%, #ffe1b0 0%, transparent 60%), radial-gradient(60% 140% at 70% 100%, #ffd0e3 0%, transparent 60%), var(--card); }
.list-hero h1 { margin-bottom: 6px; }
.list-hero p { max-width: 60ch; margin: 0; color: var(--ink-2); }
.brand-logo-lg { width: 84px; height: 84px; border-radius: 22px; background: #fff; display: grid; place-items: center; padding: 10px; margin-bottom: 12px; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink); box-shadow: var(--shadow-soft); }
.subcats { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 16px; scrollbar-width: none; }
.listing { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); max-height: calc(100vh - var(--header-h) - 32px); overflow: auto; padding-right: 6px; }
.filter-group { border-bottom: 1px solid var(--line); padding: 14px 0; }
.filter-group summary { font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.filter-group summary::-webkit-details-marker { display: none; }
.filter-group .opts { display: grid; gap: 8px; margin-top: 12px; max-height: 240px; overflow: auto; }
.filter-group .opts .check { font-size: .9rem; }
.filter-group .opts .cnt { margin-left: auto; color: var(--ink-3); font-size: .8rem; }
.swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.12); flex: none; }
.price-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.price-inputs .input { min-height: 40px; padding: 8px 10px; }
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.toolbar select { min-height: 42px; border-radius: 999px; padding: 0 14px; border: 1.5px solid var(--line); background: var(--card); }
.active-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pagination { display: flex; gap: 6px; justify-content: center; margin: 30px 0 10px; }
.pagination a, .pagination span { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--card); font-weight: 600; padding: 0 10px; }
.pagination .current { background: var(--ink); color: #fff; border-color: var(--ink); }
.empty { text-align: center; padding: 60px 20px; border-radius: var(--r-xl); background: var(--card); border: 1px dashed var(--line); }
.empty .ic { width: 48px; height: 48px; color: var(--ink-3); margin: 0 auto 12px; display: block; }
@media (max-width: 900px) { .listing { grid-template-columns: 1fr; } .filters { position: fixed; inset: 0; z-index: 95; background: var(--paper); padding: 0; max-height: none; display: none; } .filters.open { display: flex; flex-direction: column; } .filters .f-scroll { overflow: auto; padding: 0 18px; flex: 1; } }
.filters .f-head, .filters .f-foot { display: none; }
@media (max-width: 900px) { .filters .f-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 18px; border-bottom: 1px solid var(--line); } .filters .f-foot { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); } }

/* ---------- Product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 42px; align-items: start; padding-top: 6px; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); display: grid; grid-template-columns: 76px 1fr; gap: 14px; }
.thumbs { display: flex; flex-direction: column; gap: 10px; max-height: 620px; overflow: auto; scrollbar-width: none; }
.thumbs button { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--card); position: relative; flex: none; }
.thumbs button.active { border-color: var(--ink); }
.thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.thumbs .vthumb::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.25) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E") center/26px no-repeat; }
.stage { position: relative; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: var(--card); border: 1px solid var(--line); cursor: zoom-in; }
.stage img { width: 100%; height: 100%; object-fit: cover; transition: transform .2s ease-out; transform-origin: var(--zx, 50%) var(--zy, 50%); }
.stage.zoom img { transform: scale(2); }
.pinfo .p-brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--iris); margin-bottom: 8px; }
.pinfo h1 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
.p-meta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; color: var(--ink-3); font-size: .88rem; margin-bottom: 16px; }
.p-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 18px 20px; border-radius: var(--r-lg); background: linear-gradient(120deg, #f1efff, #fff0f6); margin-bottom: 18px; }
.p-price .price { font-size: 2rem; }
.save-pill { padding: 4px 10px; border-radius: 999px; background: var(--jamun); color: #fff; font-weight: 700; font-size: .8rem; }
.opt-group { margin-bottom: 16px; }
.opt-group > span { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 8px; }
.opt-group > span em { font-style: normal; font-weight: 500; color: var(--ink-3); }
.opts-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { min-width: 48px; min-height: 42px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.opt.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.opt.unavailable { opacity: .4; text-decoration: line-through; }
.opt.color { padding: 4px; min-width: 42px; border-radius: 50%; }
.opt.color i { width: 30px; height: 30px; border-radius: 50%; display: block; border: 1px solid rgba(0,0,0,.1); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--card); height: 48px; }
.qty button { width: 44px; height: 100%; border: 0; background: none; font-size: 1.2rem; }
.qty input { width: 44px; text-align: center; border: 0; outline: 0; background: none; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty.sm { height: 38px; } .qty.sm button { width: 34px; } .qty.sm input { width: 34px; }
.buy-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.buy-row .btn { flex: 1; min-height: 52px; }
.buy-row .wish-lg { flex: none; width: 52px; padding: 0; }
.wish-lg.on .ic { fill: var(--jamun); stroke: var(--jamun); }
.info-list { border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--card); }
.info-list > div { display: flex; gap: 12px; padding: 14px 16px; align-items: flex-start; font-size: .9rem; }
.info-list > div + div { border-top: 1px solid var(--line); }
.info-list .ic { color: var(--iris); margin-top: 2px; }
.zone-line { display: flex; justify-content: space-between; gap: 10px; }
.sticky-buy { position: fixed; left: 0; right: 0; bottom: 64px; z-index: 65; padding: 10px 14px; background: rgba(255,255,255,.95); backdrop-filter: blur(14px); border-top: 1px solid var(--line); display: none; gap: 10px; align-items: center; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; gap: 22px; } .gallery { position: static; grid-template-columns: 1fr; } .thumbs { flex-direction: row; order: 2; } .sticky-buy.show { display: flex; } }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; margin: 40px 0 22px; position: sticky; top: var(--header-h); background: var(--paper); z-index: 5; }
.tabs a { padding: 14px 16px; font-weight: 600; color: var(--ink-3); border-bottom: 2px solid transparent; white-space: nowrap; }
.tabs a.active, .tabs a:hover { color: var(--ink); border-color: var(--ink); }
.prose { max-width: 75ch; }
.prose ul { padding-left: 1.2em; } .prose li { margin: 4px 0; }
.prose img { border-radius: var(--r-md); margin: 12px 0; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.spec-table th, .spec-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); font-size: .92rem; vertical-align: top; }
.spec-table th { width: 34%; background: #faf9fe; color: var(--ink-2); font-weight: 600; }
.pdp-block { scroll-margin-top: calc(var(--header-h) + 70px); padding-bottom: 30px; }
.rev-summary { display: grid; grid-template-columns: 220px 1fr; gap: 26px; padding: 22px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); margin-bottom: 18px; }
.rev-big { font-family: var(--font-display); font-size: 3.2rem; font-weight: 800; line-height: 1; }
.bar { display: grid; grid-template-columns: 26px 1fr 36px; gap: 10px; align-items: center; font-size: .85rem; }
.bar i { height: 8px; border-radius: 4px; background: var(--mist); overflow: hidden; display: block; }
.bar i b { display: block; height: 100%; background: var(--mango); border-radius: 4px; }
.review { padding: 18px 0; border-bottom: 1px solid var(--line); }
.review-media { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.review-media img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; }
.admin-reply { margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #f3f1ff; font-size: .9rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.star-input input { display: none; }
.star-input label { font-size: 1.8rem; color: #d8d4e8; cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--mango); }
@media (max-width: 700px) { .rev-summary { grid-template-columns: 1fr; } }
.qa { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa strong { display: block; }
.fbt { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.fbt a.fbt-item { width: 120px; text-align: center; font-size: .82rem; }
.fbt a.fbt-item img { border-radius: 14px; aspect-ratio: 1; object-fit: cover; margin-bottom: 6px; background: var(--paper); }
.fbt .plus { font-size: 1.5rem; color: var(--ink-3); }

/* Modal (video, etc.) */
.modal { position: fixed; inset: 0; z-index: 130; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-bg { position: absolute; inset: 0; background: rgba(10,8,25,.75); backdrop-filter: blur(4px); animation: fade .2s; }
.modal-box { position: relative; width: min(960px, 100%); background: #000; border-radius: var(--r-lg); overflow: hidden; animation: toastIn .25s; }
.modal-box.light { background: var(--card); padding: 24px; width: min(520px, 100%); }
.modal-box .ratio { aspect-ratio: 16/9; }
.modal-box iframe, .modal-box video { width: 100%; height: 100%; border: 0; display: block; }
.modal-close { position: absolute; top: 10px; right: 10px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); display: grid; place-items: center; }

/* ---------- Cart & checkout ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 22px; }
.panel + .panel { margin-top: 16px; }
.panel h3 { display: flex; align-items: center; gap: 10px; }
.step-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: .82rem; font-family: var(--font-body); }
.sticky-col { position: sticky; top: calc(var(--header-h) + 16px); }
@media (max-width: 960px) { .two-col { grid-template-columns: 1fr; } .sticky-col { position: static; } }
.line-item { display: grid; grid-template-columns: 88px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line-item:last-child { border-bottom: 0; }
.line-item img { width: 88px; height: 88px; border-radius: 14px; object-fit: cover; background: var(--paper); }
.line-item .li-name { font-weight: 600; }
.line-item .li-actions { display: flex; gap: 12px; align-items: center; margin-top: 8px; flex-wrap: wrap; }
.link-btn { background: none; border: 0; padding: 0; color: var(--ink-3); font-size: .84rem; font-weight: 600; display: inline-flex; gap: 4px; align-items: center; }
.link-btn:hover { color: var(--ink); }
.sum-row { display: flex; justify-content: space-between; padding: 7px 0; font-size: .95rem; }
.sum-row.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 1.15rem; font-weight: 700; }
.sum-row.total .price { font-size: 1.4rem; }
.sum-row.save { color: var(--ok); font-weight: 600; }
.coupon-form { display: flex; gap: 8px; margin: 14px 0; }
.coupon-form .input { min-height: 44px; text-transform: uppercase; }
.radio-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); border: 1.5px solid var(--line); cursor: pointer; background: var(--card); transition: border-color .2s, background .2s; }
.radio-card:has(input:checked) { border-color: var(--iris); background: #f6f4ff; }
.radio-card input { accent-color: var(--iris); width: 18px; height: 18px; margin-top: 2px; flex: none; }
.radio-card .rc-main { flex: 1; }
.radio-card .rc-side { font-weight: 700; white-space: nowrap; }
.radio-list { display: grid; gap: 10px; }
.mini-items { max-height: 280px; overflow: auto; }
.mini-items .line-item { grid-template-columns: 56px 1fr auto; padding: 10px 0; }
.mini-items .line-item img { width: 56px; height: 56px; border-radius: 10px; }
.secure-note { display: flex; gap: 8px; align-items: center; font-size: .82rem; color: var(--ink-3); justify-content: center; margin-top: 12px; }
.free-ship-meter { padding: 12px 14px; border-radius: var(--r-md); background: #f3f1ff; font-size: .86rem; margin-bottom: 12px; }
.free-ship-meter i { display: block; height: 6px; background: #e1ddff; border-radius: 3px; margin-top: 8px; overflow: hidden; }
.free-ship-meter i b { display: block; height: 100%; background: var(--aurora); }

/* Success / status timeline */
.success-hero { text-align: center; padding: 40px 20px 24px; }
.success-hero .tick { width: 84px; height: 84px; margin: 0 auto 16px; border-radius: 50%; background: var(--aurora); color: #fff; display: grid; place-items: center; box-shadow: 0 20px 40px -16px rgba(226,54,138,.6); animation: pop .6s; }
.success-hero .tick .ic { width: 40px; height: 40px; stroke-width: 2.5; }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); position: relative; }
.timeline li { text-align: center; font-size: .8rem; color: var(--ink-3); position: relative; padding-top: 38px; }
.timeline li::before { content: ""; position: absolute; top: 9px; left: 50%; width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--card); border: 2px solid var(--line); z-index: 1; }
.timeline li::after { content: ""; position: absolute; top: 19px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.timeline li:first-child::after { display: none; }
.timeline li.done { color: var(--ink); font-weight: 600; }
.timeline li.done::before { background: var(--iris); border-color: var(--iris); box-shadow: 0 0 0 5px rgba(91,75,255,.15); }
.timeline li.done::after { background: var(--iris); }
/* Latest step: pulsing ring + softly breathing dot; delivered gets a static check. */
.timeline li.current { color: var(--iris); }
.timeline li.current::before { animation: step-breathe 1.8s ease-in-out infinite; }
@keyframes step-breathe {
  0% { box-shadow: 0 0 0 0 rgba(91,75,255,.55), 0 0 0 5px rgba(91,75,255,.15); transform: scale(1); }
  60% { box-shadow: 0 0 0 14px rgba(91,75,255,0), 0 0 0 5px rgba(91,75,255,.15); transform: scale(1.12); }
  100% { box-shadow: 0 0 0 0 rgba(91,75,255,0), 0 0 0 5px rgba(91,75,255,.15); transform: scale(1); }
}
.timeline li.current.final { color: var(--ok); }
.timeline li.current.final::before { animation: none; background: var(--ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/13px no-repeat; border-color: var(--ok); box-shadow: 0 0 0 5px rgba(19,138,82,.15); }
.timeline li.done:not(.current)::after, .timeline li.current::after { background: var(--iris); }
.timeline li.current:not(.final)::after { background: linear-gradient(90deg, var(--iris), var(--iris) 40%, rgba(91,75,255,.35) 50%, var(--iris) 60%); background-size: 250% 100%; animation: step-flow 1.6s linear infinite; }
@keyframes step-flow { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@media (max-width: 640px) { .timeline { grid-template-columns: 1fr; gap: 12px; } .timeline li { text-align: left; padding: 0 0 0 36px; } .timeline li::before { top: 0; left: 0; margin: 0; } .timeline li::after { display: none; } }
.history { list-style: none; padding: 0; margin: 0; }
.history li { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.history time { color: var(--ink-3); white-space: nowrap; min-width: 128px; }
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; background: #eef; }
.badge-amber { background: #fff4d6; color: #8a5a00; } .badge-blue { background: #e3edff; color: #1d4fbf; } .badge-indigo { background: #e8e6ff; color: #3b2fc9; }
.badge-violet { background: #f1e6ff; color: #6b21a8; } .badge-cyan { background: #dff7fb; color: #0e7490; } .badge-teal { background: #d9f7f1; color: #0f766e; }
.badge-green { background: #dcf7e7; color: #136c3f; } .badge-red { background: #ffe1e1; color: #a61b1b; } .badge-orange { background: #ffe9d6; color: #9a3c00; } .badge-slate { background: #eceef3; color: #475569; }

/* Auth */
.auth { min-height: calc(100vh - 220px); display: grid; place-items: center; padding: 30px 0; }
.auth-card { width: min(460px, 100%); background: var(--card); border-radius: var(--r-xl); border: 1px solid var(--line); padding: 34px; box-shadow: 0 40px 80px -40px rgba(69,54,230,.35); position: relative; overflow: hidden; }
.auth-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: var(--aurora); }
.otp-boxes { display: flex; gap: 8px; justify-content: space-between; }
.otp-boxes input { width: 100%; max-width: 56px; height: 60px; text-align: center; font-size: 1.5rem; font-weight: 700; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); }
.otp-boxes input:focus { outline: none; border-color: var(--iris); box-shadow: 0 0 0 4px rgba(91,75,255,.12); background: #fff; }

/* Account */
.acct { display: grid; grid-template-columns: 250px 1fr; gap: 28px; align-items: start; padding-top: 22px; }
.acct-nav { position: sticky; top: calc(var(--header-h) + 16px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 10px; }
.acct-user { display: flex; gap: 12px; align-items: center; padding: 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); }
.acct-nav a, .acct-nav button { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-weight: 500; color: var(--ink-2); width: 100%; border: 0; background: none; text-align: left; }
.acct-nav a:hover, .acct-nav button:hover { background: var(--paper); color: var(--ink); }
.acct-nav a.active { background: var(--ink); color: #fff; }
.acct-nav .pill { margin-left: auto; background: var(--jamun); color: #fff; border-radius: 999px; font-size: .72rem; padding: 1px 8px; }
.stat-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 14px; margin-bottom: 20px; }
.stat-card { padding: 18px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); }
.stat-card b { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.stat-card span { color: var(--ink-3); font-size: .85rem; }
.order-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 14px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--line); margin-bottom: 10px; transition: border-color .2s; }
.order-row:hover { border-color: var(--ink); }
.order-row img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; background: var(--paper); }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { padding: 12px; text-align: left; border-bottom: 1px solid var(--line); }
.table th { font-size: .8rem; color: var(--ink-3); font-weight: 600; }
@media (max-width: 900px) { .acct { grid-template-columns: 1fr; } .acct-nav { position: static; display: flex; overflow-x: auto; gap: 4px; padding: 6px; } .acct-nav a, .acct-nav button { white-space: nowrap; width: auto; } .acct-user { display: none; } }

/* Static pages */
.page-card { max-width: 820px; margin: 24px auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-xl); padding: clamp(22px, 4vw, 46px); }
.alert { padding: 14px 16px; border-radius: var(--r-md); background: #f3f1ff; border: 1px solid #ddd8ff; font-size: .92rem; display: flex; gap: 10px; }
.alert.warn { background: #fff7e6; border-color: #ffe2a8; }
.alert.err { background: #fff0f0; border-color: #ffd0d0; }
.alert.ok { background: #edfbf3; border-color: #c4eed6; }
.pay-instructions { padding: 18px; border-radius: var(--r-lg); background: linear-gradient(120deg, #fff0f6, #f1efff); }
.copy-box { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: #fff; border: 1px dashed var(--iris); font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin: 10px 0; }

/* Install banner (PWA) */
.install-pill { position: fixed; left: 16px; bottom: 84px; z-index: 66; display: none; align-items: center; gap: 10px; padding: 10px 12px 10px 16px; background: var(--ink); color: #fff; border-radius: 999px; box-shadow: 0 20px 40px -16px rgba(23,20,43,.6); font-size: .88rem; }
.install-pill.show { display: flex; animation: toastIn .3s; }
@media (min-width: 901px) { .install-pill { bottom: 20px; } }
.skeleton { background: linear-gradient(90deg, #eeecf6 25%, #f7f6fc 37%, #eeecf6 63%); background-size: 400% 100%; animation: shimmer 1.4s ease infinite; border-radius: 12px; }
@keyframes shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; }
.hero-slide.t-ocean::before { background: linear-gradient(95deg, rgba(0,26,48,.82) 0%, rgba(0,26,48,.38) 50%, transparent 78%); }
.hero-slide.t-forest::before { background: linear-gradient(95deg, rgba(4,34,20,.82) 0%, rgba(4,34,20,.38) 50%, transparent 78%); }
