/* AccessGo Official Store — storefront v3 (2026-10)
   Mobile-first · motion-first · semua efek pakai transform/opacity (GPU) · hormati prefers-reduced-motion */

@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Bricolage"; src: url("../fonts/bricolage.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Jakarta Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 96%; descent-override: 24%; }

:root {
  --bg: #fff8f1;
  --surface: #ffffff;
  --soft: #fff1e6;
  --tile: #f7eee6;
  --ink: #1a120b;
  --ink-2: #50463d;
  --muted: #7a6c5f;
  --line: #f1e3d4;
  --line-2: #e6d4c2;
  --brand: #f37021;
  --brand-600: #e05e12;
  --brand-ink: #b4470a;
  --sun: #ffc53d;
  --night: #140d08;
  --night-2: #24170e;
  --wa: #15803d;
  --wa-600: #116b33;
  --ok: #16a34a;
  --bad: #dc2626;
  --r-xl: 28px;
  --r-lg: 20px;
  --r: 16px;
  --r-sm: 12px;
  --gut: 16px;
  --shadow-1: 0 1px 2px rgba(80, 40, 10, .06), 0 2px 8px -2px rgba(80, 40, 10, .08);
  --shadow-2: 0 2px 4px rgba(80, 40, 10, .05), 0 14px 32px -10px rgba(80, 40, 10, .22);
  --shadow-3: 0 30px 60px -20px rgba(20, 10, 0, .45);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Jakarta", "Jakarta Fallback", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Bricolage", "Jakarta", "Jakarta Fallback", system-ui, sans-serif;
  --safe-b: env(safe-area-inset-bottom, 0px);
  --sticky-top: 0px;
  interpolate-size: allow-keywords;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
::view-transition-group(pimg) { animation-duration: .42s; animation-timing-function: var(--ease); }

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overflow-x: clip; scroll-padding-top: 120px; }
html.lock { overflow: hidden; }
body {
  font-family: var(--font); font-size: 1rem; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; -webkit-tap-highlight-color: transparent;
  overflow-x: clip; min-width: 0;
  padding-bottom: calc(92px + var(--safe-b));
}
body.has-buybar { padding-bottom: calc(96px + var(--safe-b)); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--display); font-weight: 750; line-height: 1.1; letter-spacing: -0.02em; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 8px; }
::selection { background: var(--sun); color: var(--ink); }

.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.i { width: 20px; height: 20px; flex-shrink: 0; }
.i-sm { width: 16px; height: 16px; }
.i-xs { width: 13px; height: 13px; }
.muted { color: var(--muted); }
.small { font-size: .8125rem; }
.sr, .skip:not(:focus) { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 10px; }
.price { font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; color: var(--brand-ink); }

/* ── Tombol ── */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; min-width: 0; max-width: 100%; padding: 10px 20px;
  border: 0; border-radius: 999px;
  font-size: .9375rem; font-weight: 700; line-height: 1.2; text-align: center;
  transition: transform .25s var(--spring), background-color .2s, box-shadow .25s, color .2s;
}
.btn > span { min-width: 0; }
.btn::after { /* kilau saat hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%);
  translate: -120% 0; transition: translate .7s var(--ease);
}
.btn:active { transform: scale(.96); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-primary { background: linear-gradient(135deg, #ff8a3d, var(--brand) 55%, var(--brand-600)); color: var(--ink); box-shadow: 0 8px 20px -8px rgba(243, 112, 33, .7); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 8px 20px -10px rgba(21, 128, 61, .8); }
.btn-wa:hover { background: var(--wa-600); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); backdrop-filter: blur(8px); }
.btn-glass .i { color: #4ade80; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-lg { min-height: 54px; padding: 12px 24px; font-size: 1rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .875rem; }
.btn-block { display: flex; width: 100%; }
.btn-icon { width: 48px; padding: 0; flex-shrink: 0; }
.btn .i { width: 20px; height: 20px; }
.btn-add-cart.is-added { animation: pop .5s var(--spring); }
.link-btn { font-weight: 700; color: var(--brand-ink); padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }

.count {
  display: inline-grid; place-items: center; min-width: 19px; height: 19px; padding: 0 5px;
  border-radius: 10px; background: var(--brand); color: var(--ink); font-size: .6875rem; font-weight: 800; line-height: 1;
  box-shadow: 0 0 0 2px var(--surface);
}
.count.is-empty { display: none; }
.count.bump { animation: pop .5s var(--spring); }

.icon-btn { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; transition: background-color .2s, transform .2s var(--spring); }
.icon-btn:hover { background: var(--soft); }
.icon-btn:active { transform: scale(.9); }

/* ── Header (mobile: sembunyi saat scroll turun) ── */
.hdr {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 248, 241, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: transform .35s var(--ease), box-shadow .3s;
}
.hdr.is-scrolled { box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(80, 40, 10, .35); }
html.hdr-hidden .hdr { transform: translateY(-100%); }
.hdr-row {
  display: grid; align-items: center; grid-template-columns: auto 1fr auto;
  grid-template-areas: "menu logo cart" "search search search";
  column-gap: 4px; row-gap: 8px; padding-block: 8px 10px;
}
.hdr-menu { grid-area: menu; margin-left: -8px; }
.hdr-logo { grid-area: logo; justify-self: start; }
.hdr-logo img { height: 32px; width: auto; }
.hdr-nav { display: none; }
.hdr-cart { grid-area: cart; margin-right: -8px; }
.hdr-cart .count { position: absolute; top: 3px; right: 1px; }
.search { grid-area: search; position: relative; min-width: 0; }
.search-i { position: absolute; left: 16px; top: 50%; translate: 0 -50%; color: var(--muted); width: 18px; height: 18px; pointer-events: none; }
.search input {
  width: 100%; height: 46px; padding: 0 52px 0 44px; border: 0; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2), var(--shadow-1);
  font-size: 1rem; appearance: none; transition: box-shadow .2s;
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; box-shadow: inset 0 0 0 2px var(--brand), 0 0 0 5px rgba(243, 112, 33, .16); }
.search input::-webkit-search-cancel-button { display: none; }
.search-go { position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; transition: transform .2s var(--spring); }
.search-go:active { transform: scale(.9); }

/* Drawer */
.drawer { position: fixed; inset: 0; z-index: 80; background: rgba(20, 13, 8, 0); transition: background-color .3s; }
.drawer.open { background: rgba(20, 13, 8, .55); }
.drawer-panel {
  position: absolute; inset: 8px auto 8px 8px; width: min(84vw, 340px); border-radius: 24px;
  background: var(--bg); padding: 14px 14px calc(16px + var(--safe-b));
  display: flex; flex-direction: column; gap: 14px; overflow-y: auto;
  transform: translateX(-110%); transition: transform .4s var(--ease); box-shadow: var(--shadow-3);
}
.drawer.open .drawer-panel { transform: none; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding-left: 6px; }
.drawer-top img { height: 30px; width: auto; }
.drawer-nav { display: grid; gap: 4px; flex: 1; align-content: start; }
.drawer-nav a { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; font-weight: 650; transition: background-color .2s; }
.drawer-nav a:hover { background: var(--soft); }
.drawer-nav a[aria-current] { background: var(--ink); color: #fff; }
.drawer-nav .count { margin-left: auto; }
.drawer.open .drawer-nav a { animation: slide-in .5s var(--ease) both; }
.drawer.open .drawer-nav a:nth-child(2) { animation-delay: .04s; }
.drawer.open .drawer-nav a:nth-child(3) { animation-delay: .08s; }
.drawer.open .drawer-nav a:nth-child(4) { animation-delay: .12s; }
.drawer.open .drawer-nav a:nth-child(5) { animation-delay: .16s; }
.drawer.open .drawer-nav a:nth-child(6) { animation-delay: .2s; }

/* Tab bar melayang (mobile) */
.tabbar {
  position: fixed; left: 12px; right: 12px; bottom: calc(10px + var(--safe-b)); z-index: 40;
  display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px;
  background: rgba(255, 255, 255, .88); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-radius: 24px; box-shadow: 0 0 0 1px rgba(80, 40, 10, .06), 0 18px 40px -12px rgba(80, 40, 10, .35);
}
.tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 7px 0 6px; border-radius: 18px; font-size: .6875rem; font-weight: 700; color: var(--muted); transition: color .2s, background-color .3s; }
.tabbar a[aria-current] { color: var(--ink); background: var(--soft); }
.tabbar a[aria-current] .i { color: var(--brand-600); }
.tabbar .i { width: 22px; height: 22px; transition: transform .3s var(--spring); }
.tabbar a:active .i { transform: scale(.85); }
.tab-ic { position: relative; }
.tab-ic .count { position: absolute; top: -6px; right: -12px; }
.tab-wa { color: var(--wa) !important; }

/* ── Seksi ── */
.sec { padding-block: 28px; }
.sec-flush { padding-block: 8px 20px; }
.sec-tight { padding-top: 6px; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.sec-head h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.375rem, 5.6vw, 2rem); }
.sec-head p { margin-top: 4px; color: var(--muted); font-size: .875rem; }
.sec-ic { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; background: var(--soft); color: var(--brand-600); flex-shrink: 0; }
.sec-ic .i { width: 19px; height: 19px; }
.sec-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 12px; margin-right: -6px; border-radius: 999px; font-size: .8125rem; font-weight: 700; color: var(--brand-ink); white-space: nowrap; transition: background-color .2s; }
.sec-link:hover { background: var(--soft); }
.sec-link .i { transition: translate .3s var(--spring); }
.sec-link:hover .i { translate: 3px 0; }
.more { margin-top: 20px; }

.page-head { padding-top: 12px; padding-bottom: 14px; }
.page-head h1 { font-size: clamp(1.75rem, 7vw, 2.75rem); margin-top: 6px; }
.page-head > p { margin-top: 4px; font-size: .9375rem; color: var(--muted); }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .8125rem; color: var(--muted); padding-top: 10px; min-width: 0; }
.crumbs a:hover { color: var(--ink); }
.crumbs [aria-current] { color: var(--ink-2); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60vw; }

/* ── Hero ── */
.hero { padding: 6px 10px 0; }
.hero-card {
  position: relative; overflow: hidden; isolation: isolate; color: #fff;
  background: radial-gradient(120% 90% at 100% 0%, #3a1d0b 0%, transparent 55%), linear-gradient(160deg, var(--night-2), var(--night) 60%);
  border-radius: var(--r-xl); padding: 26px 20px 0;
}
.hero-card::after { /* butiran halus */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 75%); mask-image: linear-gradient(180deg, #000, transparent 75%);
}
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-glow span { position: absolute; border-radius: 50%; will-change: transform; }
.hero-glow span:nth-child(1) { width: 340px; height: 340px; right: -120px; top: -90px; background: radial-gradient(circle, rgba(243, 112, 33, .75), transparent 65%); animation: blob 14s ease-in-out infinite alternate; }
.hero-glow span:nth-child(2) { width: 260px; height: 260px; left: -100px; bottom: 60px; background: radial-gradient(circle, rgba(255, 197, 61, .35), transparent 65%); animation: blob 18s ease-in-out -6s infinite alternate-reverse; }
.hero-glow span:nth-child(3) { width: 220px; height: 220px; right: 10%; bottom: -80px; background: radial-gradient(circle, rgba(255, 90, 31, .5), transparent 65%); animation: blob 16s ease-in-out -3s infinite alternate; }
.hero-grid { display: grid; gap: 8px; }
.hero-copy { position: relative; z-index: 2; }
.pill-live {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
  font-size: .75rem; font-weight: 700; color: #ffd9bf; letter-spacing: .01em;
}
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #4ade80; animation: ping 1.8s var(--ease) infinite; }
.hero h1 { margin-top: 14px; font-size: clamp(2.25rem, 10.5vw, 4.4rem); font-weight: 800; line-height: .98; letter-spacing: -0.035em; }
.hl { background: linear-gradient(90deg, #ffb066, var(--brand) 45%, var(--sun)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 6s ease-in-out infinite alternate; }
.hero-sub { margin-top: 14px; color: #e9ddd0; font-size: 1rem; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 18px; font-size: .8125rem; color: #bfae9c; }
.hero-stats b { color: #fff; font-family: var(--display); font-size: 1.125rem; font-weight: 750; margin-right: 2px; font-variant-numeric: tabular-nums; }

/* Etalase melayang */
.showcase { position: relative; height: 300px; margin: 6px -4px 0; }
.float { position: absolute; display: block; will-change: transform; }
.float-in { position: relative; display: block; animation: bob 6s ease-in-out infinite alternate; }
.float-img { display: block; overflow: hidden; border-radius: 22px; background: #fff; box-shadow: var(--shadow-3), 0 0 0 1px rgba(255, 255, 255, .1); transition: transform .5s var(--spring); }
.float-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.float:hover .float-img { transform: scale(1.04) rotate(0deg); }
.float-price { position: absolute; left: 50%; bottom: -12px; translate: -50% 0; white-space: nowrap; padding: 6px 12px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .8125rem; font-weight: 800; box-shadow: 0 8px 18px -8px rgba(0, 0, 0, .6); }
.float-1 { width: 54%; left: 23%; top: 18px; z-index: 3; }
.float-1 .float-img { rotate: -3deg; }
.float-2 { width: 36%; left: 0; top: 96px; z-index: 2; }
.float-2 .float-img { rotate: -11deg; }
.float-2 .float-in { animation-delay: -2s; }
.float-3 { width: 36%; right: 0; top: 70px; z-index: 2; }
.float-3 .float-img { rotate: 9deg; }
.float-3 .float-in { animation-delay: -4s; }
.float-2 .float-price, .float-3 .float-price { font-size: .6875rem; padding: 4px 9px; }

.hero-sm .hero-card { padding-bottom: 28px; }
.hero-sm h1 { font-size: clamp(2rem, 8.5vw, 3.6rem); max-width: 18ch; }

/* ── Strip berjalan ── */
.marquee { overflow: hidden; padding: 24px 0 12px; }
.marquee-band { margin-inline: -24px; background: var(--brand); rotate: -2deg; overflow: hidden; box-shadow: 0 10px 30px -14px rgba(243, 112, 33, .9); }
.marquee-track { display: flex; width: max-content; padding: 11px 0; animation: marquee 34s linear infinite; }
.marquee ul { display: flex; flex-shrink: 0; }
.marquee li { display: inline-flex; align-items: center; gap: 10px; padding-inline: 18px; font-family: var(--display); font-weight: 750; font-size: .9375rem; color: var(--ink); white-space: nowrap; }
.marquee li .i { color: var(--night); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@media (min-width: 960px) { .marquee-band { rotate: -1.2deg; } }

/* ── Kategori ── */
.cats {
  display: grid; grid-auto-flow: column; grid-auto-columns: 38%; gap: 10px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 12px; scroll-padding-inline: var(--gut);
}
.cats::-webkit-scrollbar { display: none; }
.cat {
  position: relative; display: flex; flex-direction: column; overflow: hidden; scroll-snap-align: start;
  background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1);
  transition: transform .4s var(--spring), box-shadow .3s;
}
.cat-img { display: grid; place-items: center; aspect-ratio: 1; margin: 6px 6px 0; border-radius: 15px; overflow: hidden; background: var(--tile); color: var(--muted); }
.cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-txt { display: flex; flex-direction: column; padding: 9px 12px 12px; }
.cat-name { font-weight: 750; font-size: .875rem; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cat-n { font-size: .75rem; color: var(--muted); }
.cat:active { transform: scale(.97); }

/* ── Promo carousel ── */
.promo {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gut) * -1); padding: 6px var(--gut) 14px; scroll-padding-inline: var(--gut);
}
.promo::-webkit-scrollbar { display: none; }
.promo-slide { flex: 0 0 88%; scroll-snap-align: center; aspect-ratio: 1600 / 850; border-radius: var(--r-lg); overflow: hidden; background: var(--tile); box-shadow: var(--shadow-2); }
.promo-slide img, .promo-slide a { display: block; width: 100%; height: 100%; object-fit: cover; }
.promo-dots { display: flex; justify-content: center; gap: 6px; }
.promo-dots button { position: relative; width: 22px; height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; transition: width .4s var(--ease); }
.promo-dots button::after { content: ""; position: absolute; inset: -12px -2px; }
.promo-dots button span { position: absolute; inset: 0; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.promo-dots button[aria-current] { width: 40px; }
.promo-dots button[aria-current] span { animation: progress 5s linear forwards; }
.promo-dots.is-paused button[aria-current] span { animation: none; transform: scaleX(1); }

/* ── Grid & rail produk ── */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: 46%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 14px; scroll-padding-inline: var(--gut);
}
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
.rail-rank { grid-auto-columns: 58%; }
.rail-rank .card { margin-left: 50px; }
.card-rank {
  position: absolute; left: -58px; bottom: 46px; z-index: 0; pointer-events: none;
  font-family: var(--display); font-size: 6.4rem; font-weight: 800; line-height: .8; letter-spacing: -0.06em;
  color: var(--bg); -webkit-text-stroke: 2px var(--brand); paint-order: stroke fill;
}

.card { position: relative; display: flex; flex-direction: column; min-width: 0; background: var(--surface); border-radius: var(--r-lg); box-shadow: var(--shadow-1); transition: transform .45s var(--spring), box-shadow .35s; }
.card-link { position: relative; z-index: 1; display: flex; flex-direction: column; flex: 1; border-radius: inherit; background: var(--surface); }
.card-img { position: relative; aspect-ratio: 1; margin: 6px 6px 0; border-radius: 15px; overflow: hidden; background: var(--tile); }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), opacity .45s; }
.card-noimg { position: absolute; inset: 0; display: grid; place-items: center; color: var(--line-2); }
.card-noimg .i { width: 36px; height: 36px; }
.sticker {
  position: absolute; top: 8px; left: 8px; z-index: 1; padding: 4px 8px; border-radius: 8px;
  background: var(--sun); color: var(--ink); rotate: -6deg;
  font-family: var(--display); font-size: .8125rem; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 14px -6px rgba(120, 60, 0, .55);
}
.tag-status { position: absolute; top: 8px; right: 8px; padding: 3px 8px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .6875rem; font-weight: 700; }
.card-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.card-name { font-family: var(--font); font-size: .8125rem; font-weight: 600; line-height: 1.38; letter-spacing: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.76em; overflow-wrap: anywhere; }
.card-price { margin-top: auto; font-size: 1rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.card-foot { display: flex; flex-direction: column; justify-content: center; min-height: 34px; padding-right: 42px; font-size: .75rem; line-height: 1.3; color: var(--muted); }
.card-add {
  position: absolute; right: 10px; bottom: 12px; z-index: 2;
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: #fff; box-shadow: 0 6px 14px -6px rgba(26, 18, 11, .7);
  transition: transform .3s var(--spring), background-color .2s;
}
.card-add:active { transform: scale(.85); }
.card-add.is-added { background: var(--ok); animation: pop .5s var(--spring); }
.card-add .i { width: 18px; height: 18px; }
.card:active { transform: scale(.98); }

/* gambar memudar masuk + shimmer saat memuat (hanya bila JS aktif) */
html.js .card-img:not(.is-ld), html.js .cat-img:not(.is-ld) {
  background-image: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .7) 50%, transparent 70%);
  background-size: 200% 100%; animation: shimmer 1.3s linear infinite;
}
html.js .card-img:not(.is-ld) img[loading="lazy"], html.js .cat-img:not(.is-ld) img[loading="lazy"] { opacity: 0; }

/* ── Band marketplace ── */
.mp-band {
  position: relative; overflow: hidden; display: grid; gap: 20px; padding: 24px 20px;
  border-radius: var(--r-xl); color: #fff;
  background: radial-gradient(90% 120% at 0% 100%, rgba(243, 112, 33, .55), transparent 60%), linear-gradient(150deg, var(--night-2), var(--night));
}
.mp-band h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
.mp-band p { color: #e9ddd0; font-size: .9375rem; margin-top: 8px; max-width: 44ch; }
.mp-orbit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.mp-orbit li {
  display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 16px; min-width: 0;
  background: rgba(255, 255, 255, .07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  font-weight: 700; font-size: .875rem; animation: bob 5s ease-in-out var(--d, 0s) infinite alternate;
}
.mp-orbit img { width: 38px; height: 38px; border-radius: 10px; background: #fff; object-fit: contain; flex-shrink: 0; }
.mp-orbit span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ── Testimoni ── */
.quotes {
  display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 14px; scroll-padding-inline: var(--gut);
}
.quotes::-webkit-scrollbar { display: none; }
.quote { scroll-snap-align: start; display: flex; flex-direction: column; gap: 12px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.stars { color: var(--brand); letter-spacing: 3px; font-size: 1rem; }
.quote blockquote { flex: 1; font-size: .9375rem; line-height: 1.6; color: var(--ink-2); }
.quote figcaption { display: flex; align-items: center; gap: 10px; font-size: .875rem; }
.quote figcaption small { display: block; color: var(--muted); font-size: .75rem; }
.avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, var(--sun), var(--brand)); color: var(--ink); font-weight: 800; flex-shrink: 0; }

/* ── CTA ── */
.cta {
  position: relative; overflow: hidden; isolation: isolate; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 34px 22px;
  border-radius: var(--r-xl); background: linear-gradient(150deg, #ff8a3d, var(--brand) 50%, #d9480f); color: var(--ink);
}
.cta-glow { position: absolute; inset: -40%; z-index: -2; background: conic-gradient(from 0deg, transparent, rgba(255, 255, 255, .55), transparent 30%); animation: spin 9s linear infinite; }
.cta::before { content: ""; position: absolute; inset: 2px; z-index: -1; border-radius: calc(var(--r-xl) - 2px); background: linear-gradient(150deg, #ff8a3d, var(--brand) 50%, #e25a14); }
.cta h2 { font-size: clamp(1.6rem, 7vw, 2.4rem); max-width: 18ch; }
.cta p { max-width: 46ch; font-size: .9375rem; color: #2b1a0e; }
.cta .btn-primary { background: var(--ink); color: #fff; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); }
.cta-ic { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 20px; background: var(--ink); color: #4ade80; box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .6); animation: bob 3.5s ease-in-out infinite alternate; }
.cta-ic .i { width: 30px; height: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* ── Katalog ── */
.filters { position: sticky; top: var(--sticky-top); z-index: 30; background: rgba(255, 248, 241, .92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 8px 0 10px; transition: top .35s var(--ease), box-shadow .3s; }
.filters.is-stuck { box-shadow: 0 10px 24px -18px rgba(80, 40, 10, .5); }
.chips {
  display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain;
  margin-inline: calc(var(--gut) * -1); padding: 2px var(--gut); scroll-padding-inline: var(--gut);
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); font-size: .875rem; font-weight: 650; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .25s var(--spring);
}
.chip small { font-size: .75rem; font-weight: 700; color: var(--muted); }
.chip:active { transform: scale(.94); }
.chip[aria-current] { background: var(--ink); color: #fff; box-shadow: 0 8px 18px -10px rgba(26, 18, 11, .8); }
.chip[aria-current] small { color: var(--sun); }
.chips-sub { margin-top: 8px; }
.chips-sub .chip { height: 34px; font-size: .8125rem; background: transparent; }
.chips-sub .chip[aria-current] { background: var(--brand); color: var(--ink); }
.filter-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; min-width: 0; }
.tags { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.tag { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700; background: var(--soft); }
.tag[aria-current] { background: var(--sun); }
.sort { display: flex; align-items: center; gap: 6px; margin-left: auto; color: var(--ink-2); flex-shrink: 0; }
.sort select {
  height: 40px; padding: 0 34px 0 14px; border: 0; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line-2);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231a120b' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 15px;
  font-size: 1rem; font-weight: 700; appearance: none;
}
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pager a { min-width: 46px; height: 46px; padding: 0 10px; display: grid; place-items: center; border-radius: 15px; background: var(--surface); box-shadow: var(--shadow-1); font-weight: 750; font-variant-numeric: tabular-nums; transition: transform .25s var(--spring); }
.pager a:active { transform: scale(.92); }
.pager a[aria-current] { background: var(--ink); color: #fff; }
.pager-note { text-align: center; font-size: .8125rem; margin-top: 10px; }

.empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; padding: 48px 16px; }
.empty > .i { width: 64px; height: 64px; padding: 16px; border-radius: 22px; background: var(--soft); color: var(--brand-600); }
.empty h1, .empty h2 { font-size: 1.5rem; }
.empty p { color: var(--ink-2); max-width: 40ch; margin-bottom: 6px; }

/* ── Detail produk ── */
.crumbs-wrap { padding-bottom: 10px; }
.pd { display: grid; min-width: 0; }
.pd-media { margin-inline: calc(var(--gut) * -1); min-width: 0; }
.gal { position: relative; background: var(--tile); }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { position: relative; flex: 0 0 100%; aspect-ratio: 1; scroll-snap-align: start; }
.gal-slide img { width: 100%; height: 100%; object-fit: contain; }
.vt-main { view-transition-name: pimg; }
.gal-slide figcaption { position: absolute; left: 14px; bottom: 40px; padding: 5px 10px; border-radius: 999px; background: rgba(20, 13, 8, .78); color: #fff; font-size: .75rem; font-weight: 700; }
.gal-empty { display: grid; place-items: center; color: var(--line-2); }
.gal-empty .i { width: 56px; height: 56px; }
.gal-count { position: absolute; right: 14px; top: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(20, 13, 8, .7); color: #fff; font-size: .75rem; font-variant-numeric: tabular-nums; backdrop-filter: blur(6px); }
.gal-zoom { position: absolute; right: 14px; top: 48px; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .9); box-shadow: var(--shadow-1); transition: transform .25s var(--spring); }
.gal-zoom:active { transform: scale(.88); }
.gal-dots { position: absolute; left: 50%; bottom: 36px; translate: -50% 0; display: flex; gap: 5px; padding: 5px 8px; border-radius: 999px; background: rgba(20, 13, 8, .35); backdrop-filter: blur(6px); max-width: 80%; overflow: hidden; }
.gal-dots span { width: 6px; height: 6px; border-radius: 3px; background: rgba(255, 255, 255, .55); transition: width .35s var(--ease), background-color .3s; flex-shrink: 0; }
.gal-dots span.on { width: 18px; background: #fff; }
.gal-nav { display: none; }
.sticker-lg { top: 14px; left: 14px; font-size: 1rem; padding: 6px 11px; }
.gal-thumbs { display: none; }

.pd-info {
  position: relative; z-index: 2; min-width: 0;
  margin: -26px calc(var(--gut) * -1) 0; padding: 22px var(--gut) 8px;
  background: var(--bg); border-radius: 26px 26px 0 0;
}
.pd-info::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 40px; height: 4px; border-radius: 2px; background: var(--line-2); }
.pd-cat { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; background: var(--soft); font-size: .75rem; font-weight: 750; color: var(--brand-ink); }
.pd-name { font-size: clamp(1.4rem, 6vw, 2.1rem); line-height: 1.15; margin: 10px 0 12px; overflow-wrap: anywhere; }
.pd-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; }
.price-lg { font-family: var(--display); font-size: clamp(1.9rem, 8.5vw, 2.6rem); font-weight: 800; letter-spacing: -0.03em; }
.price-lg.tick { animation: tick .45s var(--spring); }
.pd-price s { font-size: .9375rem; color: var(--muted); }
.save { padding: 4px 10px; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .75rem; font-weight: 800; }
.pd-stock { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 10px; font-size: .875rem; color: var(--ink-2); }
.pd-views { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; color: var(--muted); font-size: .8125rem; }
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); flex-shrink: 0; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: inherit; animation: ping 2s var(--ease) infinite; }
.dot-out { background: var(--bad); }
.pd-short { margin-top: 12px; color: var(--ink-2); font-size: .9375rem; }

.variants { border: 0; padding: 0; margin: 20px 0 0; min-width: 0; }
.variants legend { font-size: .875rem; color: var(--ink-2); margin-bottom: 10px; padding: 0; }
.variants legend b { color: var(--ink); }
.variant-list { display: flex; flex-wrap: wrap; gap: 8px; }
.variant {
  position: relative; display: inline-flex; align-items: center; gap: 8px; min-height: 46px; max-width: 100%;
  padding: 5px 14px 5px 5px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2);
  font-size: .875rem; font-weight: 700; text-align: left; transition: box-shadow .2s, transform .25s var(--spring), background-color .2s;
}
.variant:not(:has(img)) { padding-left: 14px; }
.variant img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
.variant span { overflow: hidden; text-overflow: ellipsis; }
.variant:active { transform: scale(.95); }
.variant[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--brand), 0 8px 18px -12px rgba(243, 112, 33, .9); background: #fffaf6; }
.variant[aria-pressed="true"]::after { content: "✓"; position: absolute; top: -7px; right: -7px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--ink); font-size: .6875rem; font-weight: 900; animation: pop .4s var(--spring); }
.variant[data-out] { color: var(--muted); }
.variant[data-out] span { text-decoration: line-through; }

.buy { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; margin-top: 22px; }
.qty { display: inline-flex; align-items: stretch; height: 52px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.qty button { width: 42px; display: grid; place-items: center; border-radius: 999px; transition: transform .2s var(--spring); }
.qty button:active { transform: scale(.85); }
.qty button:disabled { color: var(--line-2); cursor: default; }
.qty input { width: 34px; border: 0; text-align: center; font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; background: transparent; -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-sm { height: 40px; }
.qty-sm button { width: 36px; }
.buy-cart { min-height: 52px; padding-inline: 14px; }
.buy-wa { margin-top: 10px; min-height: 58px; padding-block: 8px; }
.buy-wa span { display: flex; flex-direction: column; align-items: flex-start; text-align: left; }
.buy-wa small { font-size: .75rem; font-weight: 500; opacity: .92; }

.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 16px; }
.trust li { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 6px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1); text-align: center; font-size: .6875rem; font-weight: 700; line-height: 1.3; color: var(--ink-2); }
.trust .i { width: 22px; height: 22px; color: var(--brand-600); }

.mp-buy { margin-top: 20px; }
.mp-buy h2 { font-family: var(--font); font-size: .875rem; font-weight: 700; color: var(--ink-2); margin-bottom: 10px; letter-spacing: 0; }
.mp-buy ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mp-buy a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px 8px 8px; border-radius: 16px; background: var(--surface); box-shadow: var(--shadow-1); font-size: .875rem; font-weight: 700; min-width: 0; transition: transform .3s var(--spring), box-shadow .3s; }
.mp-buy a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-buy a:active { transform: scale(.96); }
.mp-buy img { width: 32px; height: 32px; border-radius: 9px; object-fit: contain; flex-shrink: 0; }
.mp-buy a .i { margin-left: auto; color: var(--muted); flex-shrink: 0; }

.acc { margin-top: 22px; display: grid; gap: 10px; }
.acc-item { border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); overflow: hidden; }
.acc-item summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; cursor: pointer; list-style: none; font-family: var(--display); font-size: 1.125rem; font-weight: 750; }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary .i { transition: rotate .35s var(--ease); }
.acc-item[open] summary .i { rotate: 180deg; }
.acc-item::details-content { block-size: 0; overflow: hidden; transition: block-size .4s var(--ease), content-visibility .4s allow-discrete; }
.acc-item[open]::details-content { block-size: auto; }
.acc-body { padding: 0 18px 18px; }
.prose { font-size: .9375rem; line-height: 1.75; color: var(--ink-2); overflow-wrap: anywhere; }
.prose.is-clamped { max-height: 15em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 65%, transparent); mask-image: linear-gradient(#000 65%, transparent); }
.specs > div { display: grid; grid-template-columns: minmax(0, 42%) minmax(0, 1fr); gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); font-size: .875rem; }
.specs > div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); }
.specs dd { font-weight: 650; overflow-wrap: anywhere; }

/* Bar beli melayang (mobile) */
.buybar {
  position: fixed; left: 10px; right: 10px; bottom: calc(10px + var(--safe-b)); z-index: 45;
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 8px;
  padding: 8px 8px 8px 16px; border-radius: 22px;
  background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(16px); -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 0 0 1px rgba(80, 40, 10, .06), 0 18px 40px -12px rgba(80, 40, 10, .4);
  transition: transform .45s var(--ease), opacity .3s;
}
.buybar.is-hidden { transform: translateY(140%); opacity: 0; }
.buybar-price { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.buybar-price .price { font-family: var(--display); font-size: 1.1875rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buybar-price s, .buybar-price small { font-size: .75rem; color: var(--muted); }
.buybar .btn { min-height: 48px; }
.buybar .btn-primary { padding-inline: 16px; }
.buybar-cart { grid-template-columns: minmax(0, 1fr) auto; }

/* Lightbox */
.lightbox { padding: 0; border: 0; width: 100vw; height: 100dvh; max-width: none; max-height: none; background: #000; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: #000; }
.lightbox[open] { animation: fade-in .25s ease; }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure { flex: 0 0 100%; display: grid; place-items: center; scroll-snap-align: start; padding: 56px 0; }
.lb-track img { max-height: 100%; width: 100%; object-fit: contain; }
.lb-count { position: absolute; left: 50%; top: calc(16px + env(safe-area-inset-top, 0px)); translate: -50% 0; padding: 4px 12px; border-radius: 999px; background: rgba(255, 255, 255, .14); font-size: .8125rem; font-variant-numeric: tabular-nums; }
.lb-x { position: absolute; right: 10px; top: calc(8px + env(safe-area-inset-top, 0px)); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; }

/* ── Keranjang ── */
#cartApp { min-height: 62vh; }
.cart { display: grid; gap: 20px; }
.cart-items { display: grid; gap: 10px; }
.ci { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; padding: 10px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); animation: rise .45s var(--ease) both; }
.ci-img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--tile); }
.ci-img img { width: 100%; height: 100%; object-fit: cover; }
.ci-info { min-width: 0; padding-top: 2px; }
.ci-name { font-size: .875rem; font-weight: 650; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ci-var { display: inline-block; margin-top: 4px; padding: 2px 8px; border-radius: 999px; background: var(--soft); font-size: .75rem; font-weight: 650; color: var(--ink-2); }
.ci-price { font-size: 1rem; margin: 4px 0 8px; }
.ci-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ci-del { font-size: .8125rem; font-weight: 700; color: var(--muted); padding: 8px 4px; }
.ci-del:hover { color: var(--bad); }
.cart-sum { border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-2); padding: 20px; }
.cart-sum h2 { font-size: 1.25rem; margin-bottom: 10px; }
.cart-sum dl > div { display: flex; justify-content: space-between; padding: 6px 0; font-size: .9375rem; }
.cart-sum dd { font-weight: 750; font-variant-numeric: tabular-nums; }
.cart-total { border-top: 1px dashed var(--line-2); margin: 6px 0 14px; padding-top: 12px !important; font-size: 1.125rem !important; }
.cart-total dd { font-family: var(--display); font-weight: 800; color: var(--brand-ink); }
.cart-steps { counter-reset: s; margin: 16px 0 8px; font-size: .8125rem; color: var(--ink-2); display: grid; gap: 8px; }
.cart-steps li { counter-increment: s; display: grid; grid-template-columns: 24px 1fr; align-items: start; }
.cart-steps li::before { content: counter(s); display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--soft); color: var(--brand-ink); font-size: .6875rem; font-weight: 800; }

/* ── Tentang ── */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 18px; }
.facts > div { padding: 18px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); }
.facts b { display: block; font-family: var(--display); font-size: 2.4rem; font-weight: 800; line-height: 1; letter-spacing: -0.03em; color: var(--brand-ink); font-variant-numeric: tabular-nums; }
.facts span { font-size: .8125rem; color: var(--muted); }
.two-col h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); margin-bottom: 12px; }
.numbered { counter-reset: n; display: grid; gap: 10px; }
.numbered li { counter-increment: n; position: relative; padding: 18px 18px 18px 64px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); color: var(--ink-2); font-size: .9375rem; }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font-family: var(--display); font-size: 1.5rem; font-weight: 800; color: var(--brand); }
.numbered b { display: block; color: var(--ink); font-size: 1rem; margin-bottom: 2px; }

/* ── Kontak ── */
.contact { display: grid; gap: 22px; }
.contact-list { display: grid; gap: 10px; }
.contact-row { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); transition: transform .3s var(--spring), box-shadow .3s; }
a.contact-row:active { transform: scale(.98); }
.contact-row > .i:first-child { width: 46px; height: 46px; padding: 12px; border-radius: 14px; background: var(--soft); color: var(--brand-600); }
.contact-row b { display: block; font-size: .9375rem; }
.contact-row b + span { font-size: .875rem; color: var(--ink-2); overflow-wrap: anywhere; }
.contact-row > .i:last-child { color: var(--muted); }
.contact-wa > .i:first-child { background: #dcfce7; color: var(--wa); }
.panel { border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--shadow-1); padding: 18px 20px; }
.panel + .panel { margin-top: 14px; }
.panel h2 { display: flex; align-items: center; gap: 8px; font-size: 1.0625rem; margin-bottom: 10px; }
.hours > div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px dashed var(--line-2); font-size: .875rem; }
.hours dd { font-weight: 750; font-variant-numeric: tabular-nums; }
.panel .small { margin-top: 8px; }
.mp-logos { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-logos li { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--soft); font-size: .8125rem; font-weight: 700; }
.mp-logos img { width: 30px; height: 30px; border-radius: 50%; object-fit: contain; background: #fff; }

/* ── Video ── */
.inline-search { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding-left: 16px; border-radius: 999px; background: var(--surface); box-shadow: inset 0 0 0 1.5px var(--line-2); max-width: 520px; }
.inline-search .i { color: var(--muted); }
.inline-search input { flex: 1; min-width: 0; height: 46px; border: 0; background: transparent; outline: none; font-size: 1rem; }
.inline-search .btn { margin-right: 4px; }
.vgrid { display: grid; gap: 16px; }
.vcard { border-radius: var(--r-lg); overflow: hidden; background: var(--surface); box-shadow: var(--shadow-1); }
.vcard-thumb { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; background: var(--night); overflow: hidden; }
.vcard-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.vcard-play { position: absolute; inset: 0; margin: auto; width: 62px; height: 62px; border-radius: 50%; background: var(--brand); color: var(--ink); display: grid; place-items: center; animation: ring 2.2s var(--ease) infinite; }
.vcard-play .i { width: 26px; height: 26px; fill: currentColor; }
.vcard-body { padding: 14px 16px 16px; }
.vcard-body h3 { font-family: var(--font); font-size: .9375rem; font-weight: 700; line-height: 1.4; letter-spacing: 0; }
.vcard-prod { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; padding: 5px 10px; border-radius: 999px; background: var(--soft); font-size: .75rem; font-weight: 700; color: var(--brand-ink); }
.vmodal { padding: 0; border: 0; background: #000; width: min(960px, calc(100vw - 24px)); max-width: none; overflow: visible; border-radius: 18px; }
.vmodal::backdrop { background: rgba(0, 0, 0, .85); backdrop-filter: blur(6px); }
.vmodal-frame { aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; }
.vmodal-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.vmodal-x { position: absolute; top: -52px; right: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .15); }

/* ── Footer ── */
.ftr { position: relative; overflow: hidden; margin-top: 30px; padding: 40px 0 24px; background: var(--night); color: #cbbcad; border-radius: 32px 32px 0 0; font-size: .875rem; }
.ftr-top { display: grid; gap: 28px; }
.ftr-brand img { height: 36px; width: auto; }
.ftr-brand p { margin-top: 14px; max-width: 42ch; line-height: 1.65; }
.ftr-social { display: flex; gap: 8px; margin-top: 16px; }
.ftr-social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(255, 255, 255, .06); color: #fff; transition: background-color .2s, transform .3s var(--spring); }
.ftr-social a:hover { background: var(--brand); color: var(--ink); transform: translateY(-3px); }
.ftr-social .i { width: 19px; height: 19px; }
.ftr-col { display: flex; flex-direction: column; align-items: flex-start; }
.ftr-col h2 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.ftr-col a, .ftr-col span { padding: 5px 0; }
.ftr-col a { transition: color .2s, translate .3s var(--spring); }
.ftr-col a:hover { color: #fff; translate: 3px 0; }
.ftr-word {
  margin-top: 26px; font-family: var(--display); font-weight: 800; font-size: 22vw; line-height: .8; letter-spacing: -0.06em; text-align: center;
  background: linear-gradient(180deg, rgba(243, 112, 33, .55), rgba(243, 112, 33, 0) 85%); -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none; pointer-events: none;
}
.ftr-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: .75rem; color: #9a8a7a; }

/* ── Toast ── */
.toasts { position: fixed; left: 50%; bottom: calc(96px + var(--safe-b)); translate: -50% 0; z-index: 90; display: grid; gap: 8px; width: max-content; max-width: calc(100vw - 32px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 8px; background: var(--ink); color: #fff; padding: 12px 18px 12px 14px; border-radius: 999px; font-size: .875rem; font-weight: 650; box-shadow: 0 16px 34px -12px rgba(0, 0, 0, .5); opacity: 0; transform: translateY(14px) scale(.95); transition: opacity .3s, transform .45s var(--spring); }
.toast::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); font-size: .75rem; font-weight: 900; flex-shrink: 0; }
.toast.show { opacity: 1; transform: none; }
.toast-err::before { content: "!"; background: var(--bad); }

/* gambar terbang ke keranjang */
.fly { position: fixed; z-index: 95; width: 64px; height: 64px; border-radius: 16px; object-fit: cover; pointer-events: none; box-shadow: var(--shadow-2); }

/* ── Animasi ── */
@keyframes blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-30px, 24px) scale(1.12); } 100% { transform: translate(20px, -16px) scale(.95); } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -10px; } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes shine { to { background-position: 100% 0; } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes progress { to { transform: scaleX(1); } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.22); } 100% { transform: scale(1); } }
@keyframes tick { 0% { transform: translateY(6px); opacity: .3; } 100% { transform: none; opacity: 1; } }
@keyframes spin { to { transform: rotate(1turn); } }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(243, 112, 33, .55); } 100% { box-shadow: 0 0 0 18px rgba(243, 112, 33, 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slide-in { from { opacity: 0; transform: translateX(-16px); } to { opacity: 1; transform: none; } }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rv-in { from { transform: translateY(42px) scale(.94); } to { transform: none; } }
@keyframes px-up { to { translate: 0 -70px; } }
@keyframes px-up-sm { to { translate: 0 -36px; } }
@keyframes px-down { to { translate: 0 30px; } }
@keyframes word-in { from { translate: 0 22%; opacity: .2; } to { translate: 0 0; opacity: 1; } }

/* Reveal saat scroll: CSS scroll-driven bila didukung, fallback JS (html.rv-js) */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .rv { animation: rv-in linear both; animation-timeline: view(); animation-range: entry 0% entry 45%; }
    .float-1 { animation: px-up linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
    .float-2 { animation: px-up-sm linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
    .float-3 { animation: px-down linear both; animation-timeline: scroll(root); animation-range: 0 700px; }
    .ftr-word { animation: word-in linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
  html.rv-js .rv { transition: transform .8s var(--ease); }
  html.rv-js .rv:not(.in) { transform: translateY(42px) scale(.94); }
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .06s; }
  .hero-copy > :nth-child(3) { animation-delay: .14s; }
  .hero-copy > :nth-child(4) { animation-delay: .2s; }
  .hero-copy > :nth-child(5) { animation-delay: .26s; }
  .showcase { animation: rise 1s var(--ease) .15s both; }
}
/* item di dalam rail horizontal (mobile) tidak di-reveal — timeline-nya scroller horizontal */
@media (max-width: 959px) {
  .rail .rv, .cats .rv, .quotes .rv { animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ── Hover (perangkat dengan mouse) ── */
@media (hover: hover) and (pointer: fine) {
  .btn:hover::after { translate: 120% 0; }
  .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(243, 112, 33, .8); }
  .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
  .card:hover .card-img img { transform: scale(1.07); }
  .card-add:hover { transform: scale(1.12) rotate(90deg); background: var(--brand); color: var(--ink); }
  .cat:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--shadow-2); }
  .cat:hover .cat-img img { transform: scale(1.1); }
  .promo-slide img { transition: transform .8s var(--ease); }
  .promo-slide:hover img { transform: scale(1.04); }
  .mp-buy a:hover, a.contact-row:hover { transform: translateY(-3px); box-shadow: var(--shadow-2); }
  .vcard:hover .vcard-thumb img { transform: scale(1.06); }
  .chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .chip[aria-current]:hover { box-shadow: 0 8px 18px -10px rgba(26, 18, 11, .8); }
  .pager a:hover { transform: translateY(-2px); }
  .variant:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
  .variant[aria-pressed="true"]:hover { box-shadow: inset 0 0 0 2px var(--brand); }
}

/* ── ≥ 640px ── */
@media (min-width: 640px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .rail { grid-auto-columns: 31%; gap: 16px; }
  .rail-rank { grid-auto-columns: 38%; }
  .cats { grid-auto-columns: 23%; }
  .quotes { grid-auto-columns: 46%; }
  .vgrid { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .card-name { font-size: .875rem; }
  .card-price { font-size: 1.0625rem; }
  .mp-orbit { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .showcase { height: 380px; max-width: 520px; width: 100%; margin-inline: auto; }
  .promo-slide { flex-basis: 70%; }
}

/* ── ≥ 768px ── */
@media (min-width: 768px) {
  :root { --gut: 24px; }
  .sec { padding-block: 44px; }
  .hero { padding: 10px var(--gut) 0; max-width: 1240px; margin-inline: auto; }
  .hero-card { padding: 44px 40px 0; }
  .hero-sm .hero-card { padding-bottom: 44px; }
  .cta { padding: 52px 40px; }
  .mp-band { padding: 36px 40px; }
  .ftr-top { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .contact { grid-template-columns: 1.3fr 1fr; align-items: start; gap: 32px; }
  .ftr-word { font-size: 17vw; }
}

/* ── ≥ 960px (desktop) ── */
@media (min-width: 960px) {
  body, body.has-buybar { padding-bottom: 0; }
  .tabbar, .buybar { display: none; }
  html.hdr-hidden .hdr { transform: none; }
  .hdr-row { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "logo nav search cart"; column-gap: 28px; padding-block: 14px; }
  .hdr-menu { display: none; }
  .hdr-logo img { height: 38px; }
  .hdr-nav { grid-area: nav; display: flex; gap: 4px; }
  .hdr-nav a { position: relative; padding: 9px 14px; border-radius: 999px; font-size: .9375rem; font-weight: 650; color: var(--ink-2); transition: background-color .2s, color .2s; }
  .hdr-nav a:hover { background: var(--soft); color: var(--ink); }
  .hdr-nav a[aria-current] { background: var(--ink); color: #fff; }
  .search { max-width: 480px; width: 100%; margin-left: auto; }
  .hdr-cart { background: var(--ink); color: #fff; border-radius: 15px; margin-right: 0; }
  .hdr-cart:hover { background: var(--brand); color: var(--ink); }
  .toasts { bottom: 32px; }

  .hero-card { padding: 56px 56px 48px; border-radius: 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 24px; }
  .hero h1 { font-size: clamp(3.4rem, 5.6vw, 4.8rem); }
  .hero-cta .btn { flex: 0 0 auto; }
  .showcase { height: 440px; max-width: none; margin: 0; transform: translate(calc(var(--mx, 0) * -14px), calc(var(--my, 0) * -14px)); transition: transform .4s var(--ease); }
  .float-1 { width: 56%; left: 22%; top: 30px; }
  .float-2 { width: 38%; left: -2%; top: 150px; }
  .float-3 { width: 38%; right: -2%; top: 90px; }
  .hero-sm .hero-card { padding: 64px 56px; }

  .marquee li { font-size: 1.0625rem; padding-inline: 26px; }

  .cats { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 14px; }
  .cat-name { font-size: .9375rem; }

  .promo { gap: 16px; }
  .promo.is-grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .promo.is-grid .promo-slide { aspect-ratio: auto; }
  .promo.is-grid .promo-slide:first-child { grid-row: 1 / 3; aspect-ratio: 1600 / 850; }
  .promo.is-grid .promo-slide:nth-child(n+4) { display: none; }
  .promo-dots.is-grid { display: none; }
  .promo:not(.is-grid) .promo-slide { flex-basis: 60%; }

  .rail { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(5, minmax(0, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; gap: 18px; }
  .rail-rank { grid-template-columns: repeat(5, minmax(0, 1fr)); row-gap: 28px; column-gap: 46px; padding-left: 46px; }
  .rail-rank .card { margin-left: 0; }
  .card-rank { left: -50px; font-size: 5.6rem; }
  .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .quotes { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); overflow: visible; margin-inline: 0; padding-inline: 0; }
  .vgrid { grid-template-columns: repeat(3, 1fr); }
  .mp-band { grid-template-columns: 1fr 1.1fr; align-items: center; padding: 48px 56px; }
  .cta { padding: 64px 40px; }
  .filters { top: 0; }

  .crumbs-wrap { padding-bottom: 16px; }
  .pd { grid-template-columns: minmax(0, 580px) minmax(0, 1fr); gap: 48px; align-items: start; }
  .pd-media { margin-inline: 0; position: sticky; top: 96px; }
  .gal { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-1); }
  .gal-dots { bottom: 16px; }
  .gal-slide figcaption { bottom: 16px; }
  .gal-nav { display: grid; place-items: center; position: absolute; top: 50%; translate: 0 -50%; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .94); box-shadow: var(--shadow-2); opacity: 0; transition: opacity .2s, transform .3s var(--spring); }
  .gal:hover .gal-nav, .gal-nav:focus-visible { opacity: 1; }
  .gal-nav:hover { transform: scale(1.08); }
  .gal-prev { left: 14px; }
  .gal-next { right: 14px; }
  .gal-thumbs { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 14px; }
  .gal-thumbs button { width: 72px; height: 72px; border-radius: 16px; overflow: hidden; background: var(--tile); transition: transform .3s var(--spring), opacity .2s; opacity: .7; }
  .gal-thumbs button:hover { opacity: 1; transform: translateY(-2px); }
  .gal-thumbs button[aria-selected="true"] { opacity: 1; outline: 2.5px solid var(--brand); outline-offset: 2px; }
  .gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
  .pd-info { margin: 0; padding: 0; background: none; border-radius: 0; }
  .pd-info::before { display: none; }

  .cart { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; align-items: start; }
  .cart-sum { position: sticky; top: 96px; }
  .ci { grid-template-columns: 104px minmax(0, 1fr); padding: 12px; }
  .ci-img { width: 104px; height: 104px; }

  .two-col { display: grid; grid-template-columns: 1fr 1.6fr; gap: 48px; align-items: start; }
  .ftr { padding-top: 56px; }
  .ftr-word { font-size: 15.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
}
