/* Port dari design/ecommerce-mobile.html (baris 13-957). Perubahan yang diizinkan (DESIGN_SYSTEM.md):
   selektor `.bottom-nav button` -> `.bottom-nav a` karena bottom nav SSR memakai tautan. Selebihnya tidak diubah. */
/* =========================================================
   DESIGN TOKENS — ganti --brand untuk menyesuaikan logo klien.
   Default netral (hampir hitam) agar cocok dengan logo warna apa pun.
   ========================================================= */
:root{
  --brand:#141414;          /* warna utama: tombol, aksen aktif */
  --brand-ink:#ffffff;      /* teks di atas brand */
  --bg:#f4f4f5;             /* latar aplikasi */
  --surface:#ffffff;        /* kartu, header */
  --surface-2:#f7f7f8;      /* chip, input */
  --line:#e6e6e9;
  --text:#18181b;
  --text-2:#5f6168;
  --text-3:#9a9ca3;
  --sale:#e5484d;           /* harga diskon / badge diskon */
  --sale-bg:#fdecec;
  --promo:#0f8a5f;          /* gratis ongkir / kupon */
  --promo-bg:#e7f6ef;
  --hot:#d97706;            /* populer / terlaris */
  --hot-bg:#fff4e0;
  --star:#f5a524;
  --radius:12px;
  --radius-sm:8px;
  --shadow:0 1px 2px rgba(0,0,0,.04),0 4px 16px rgba(0,0,0,.06);
  --phone-w:430px;
  --nav-h:60px;
  --safe-b:env(safe-area-inset-bottom,0px);
}
/* Ikon inline dari sprite */
.i{width:1em;height:1em;display:inline-block;vertical-align:-.15em;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.i.f{fill:currentColor;stroke:none}
.stars-row{display:inline-flex;gap:1px;color:var(--star)}
.stars-row .i{width:13px;height:13px}
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%}
body{
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  background:var(--bg);color:var(--text);font-size:14px;line-height:1.45;
  -webkit-font-smoothing:antialiased;
}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
input{font:inherit}
::-webkit-scrollbar{display:none}
.hs{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.hs>*{scroll-snap-align:start;flex:0 0 auto}

/* ---------- App shell: tampil ukuran mobile di desktop ---------- */
.app{
  max-width:var(--phone-w);margin:0 auto;min-height:100dvh;background:var(--bg);position:relative;
}
.page{display:none;padding-bottom:calc(var(--nav-h) + var(--safe-b) + 12px)}
.page.active{display:block}

/* ---------- Header ---------- */
.header{
  position:sticky;top:0;z-index:40;background:var(--surface);
  border-bottom:1px solid var(--line);
}
.header-row{display:flex;align-items:center;gap:10px;padding:10px 14px}
.logo{display:flex;align-items:center;gap:8px;font-weight:800;font-size:17px;letter-spacing:-.02em;flex:0 0 auto}
.logo-img{height:28px;width:auto;max-width:140px;object-fit:contain;display:block}
.logo-mark{width:28px;height:28px;border-radius:8px;background:var(--brand);display:grid;place-items:center;color:var(--brand-ink);font-size:13px}
.icon-btn{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;position:relative;flex:0 0 auto;transition:background .15s}
.icon-btn:active{background:var(--surface-2)}
.icon-btn svg{width:22px;height:22px;stroke:var(--text);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.badge-dot{position:absolute;top:5px;right:4px;min-width:17px;height:17px;padding:0 4px;border-radius:9px;background:var(--sale);color:#fff;font-size:10px;font-weight:700;display:grid;place-items:center;border:2px solid var(--surface)}

/* Search + autocomplete */
.search{flex:1;position:relative}
.search-box{
  display:flex;align-items:center;gap:8px;height:40px;padding:0 12px;
  background:var(--surface-2);border:1px solid var(--line);border-radius:999px;transition:border-color .15s,background .15s;
}
.search-box:focus-within{border-color:var(--brand);background:var(--surface)}
.search-box svg{width:18px;height:18px;stroke:var(--text-3);fill:none;stroke-width:2;stroke-linecap:round;flex:0 0 auto}
.search-box input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:14px;color:var(--text)}
.search-box input::placeholder{color:var(--text-3)}
.search-clear{display:none;width:18px;height:18px;border-radius:50%;background:var(--text-3);color:#fff;font-size:11px;line-height:1;place-items:center}
.search.has-value .search-clear{display:grid}
.ac{
  position:absolute;top:calc(100% + 8px);left:-54px;right:-54px;background:var(--surface);
  border-radius:var(--radius);box-shadow:0 12px 40px rgba(0,0,0,.14);border:1px solid var(--line);
  overflow:hidden;display:none;max-height:70vh;overflow-y:auto;
}
.search.open .ac{display:block}
.ac-section{padding:10px 14px 6px;font-size:11px;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.06em}
.ac-item{display:flex;align-items:center;gap:12px;padding:10px 14px;transition:background .1s;width:100%;text-align:left}
.ac-item:active,.ac-item.hl{background:var(--surface-2)}
.ac-item svg{width:16px;height:16px;stroke:var(--text-3);fill:none;stroke-width:2;stroke-linecap:round;flex:0 0 auto}
.ac-item .ac-text{flex:1;font-size:14px}
.ac-item .ac-text b{font-weight:700;color:var(--text)}
.ac-item .ac-sub{font-size:12px;color:var(--text-3)}
.ac-thumb{width:40px;height:40px;border-radius:8px;object-fit:cover;background:var(--surface-2);flex:0 0 auto}
.ac-price{font-size:13px;font-weight:700;white-space:nowrap}
.ac-chips{display:flex;flex-wrap:wrap;gap:8px;padding:4px 14px 14px}
.ac-chip{padding:7px 12px;border-radius:999px;background:var(--surface-2);font-size:13px;border:1px solid var(--line)}
.search-backdrop{position:fixed;inset:0;z-index:30;background:rgba(0,0,0,.25);display:none}
.search-backdrop.show{display:block}

/* Ticker promo bar */
.ticker{background:var(--brand);color:var(--brand-ink);font-size:12px;font-weight:500;padding:7px 14px;display:flex;align-items:center;gap:8px;overflow:hidden;white-space:nowrap}
.ticker .tk{display:inline-flex;gap:28px;animation:tk 18s linear infinite}
.ticker .tk span{display:inline-flex;align-items:center;gap:6px}.ticker .i{width:14px;height:14px}
@keyframes tk{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* ---------- Sections ---------- */
.section{padding:14px 14px 0}
.section-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:10px}
.section-head h2{font-size:16px;font-weight:700;letter-spacing:-.01em}
.section-head a{font-size:12px;color:var(--text-2);font-weight:600}
.cat-row{gap:10px;padding:0 14px;scroll-padding:0 14px}
.cat{display:flex;flex-direction:column;align-items:center;gap:6px;width:72px}
.cat-ic{width:72px;height:72px;border-radius:14px;overflow:hidden;position:relative;background:var(--surface);border:1px solid var(--line)}
.cat-ic img{width:100%;height:100%;object-fit:cover}
.cat-ic .ct-badge{position:absolute;top:5px;left:5px;font-size:9px;font-weight:800;padding:2px 5px;border-radius:4px;background:var(--sale);color:#fff}
.cat-ic .ct-badge.new{background:var(--text)}
.cat span{font-size:11px;color:var(--text);font-weight:600;text-align:center;line-height:1.2;white-space:nowrap}
.cat small{font-size:10px;color:var(--text-3);margin-top:-3px}

/* Hero banner */
.hero-wrap{padding:14px 14px 0}
.hero{gap:10px;border-radius:var(--radius)}
.hero-slide{width:100%;aspect-ratio:16/8.4;border-radius:var(--radius);overflow:hidden;position:relative;background:#ddd}
.hero-slide img{width:100%;height:100%;object-fit:cover}
.hero-txt{position:absolute;inset:0;padding:18px;display:flex;flex-direction:column;justify-content:flex-end;gap:4px;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.65));color:#fff}
.hero-txt .kicker{font-size:11px;font-weight:700;letter-spacing:.1em;text-transform:uppercase;opacity:.9}
.hero-txt h3{font-size:20px;font-weight:800;line-height:1.15;letter-spacing:-.02em}
.hero-txt .cta{align-self:flex-start;margin-top:6px;background:#fff;color:#111;font-size:12px;font-weight:700;padding:8px 14px;border-radius:999px}
.dots{display:flex;gap:5px;justify-content:center;margin-top:8px}
.dots i{width:6px;height:6px;border-radius:3px;background:var(--line);transition:all .2s}
.dots i.on{width:18px;background:var(--text)}

/* Voucher cards */
.vouchers{gap:10px}
.voucher{
  width:230px;border-radius:var(--radius);background:var(--surface);border:1px dashed var(--line);
  padding:12px;display:flex;gap:10px;align-items:center;position:relative;overflow:hidden;
}
.voucher::before,.voucher::after{content:"";position:absolute;width:14px;height:14px;border-radius:50%;background:var(--bg);left:62px;border:1px dashed var(--line)}
.voucher::before{top:-8px}.voucher::after{bottom:-8px}
.v-ic{width:48px;height:48px;border-radius:10px;display:grid;place-items:center;font-size:22px;flex:0 0 auto}
.v-ic.ongkir{background:var(--promo-bg);color:var(--promo)}
.v-ic.cb{background:var(--sale-bg);color:var(--sale)}
.v-ic.new{background:var(--hot-bg);color:var(--hot)}
.v-body{flex:1;min-width:0}
.v-body b{display:block;font-size:13px;font-weight:700;line-height:1.2}
.v-body small{display:block;font-size:11px;color:var(--text-2);margin-top:2px}
.v-btn{font-size:11px;font-weight:700;padding:6px 10px;border-radius:999px;border:1.5px solid var(--brand);color:var(--brand);flex:0 0 auto}
.v-btn.claimed{border-color:var(--line);color:var(--text-3);background:var(--surface-2)}

/* Flash sale */
.flash{background:var(--surface);border-radius:var(--radius);padding:12px;margin:14px 14px 0;border:1px solid var(--line)}
.flash-head{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.flash-head h2{font-size:15px;font-weight:800;letter-spacing:-.01em;display:flex;align-items:center;gap:5px}.flash-head h2 .i{color:var(--hot)}
.timer{display:flex;gap:4px;align-items:center;font-size:12px;color:var(--text-2)}
.timer b{background:var(--text);color:#fff;font-size:12px;padding:3px 5px;border-radius:5px;min-width:24px;text-align:center;font-variant-numeric:tabular-nums}
.flash-head a{margin-left:auto;font-size:12px;color:var(--text-2);font-weight:600}
.flash-items{gap:10px}
.flash-item{width:118px}
.flash-item .ph{aspect-ratio:1;border-radius:10px;overflow:hidden;position:relative;background:var(--surface-2)}
.flash-item .ph img{width:100%;height:100%;object-fit:cover}
.flash-item .price{font-weight:800;font-size:14px;margin-top:6px;color:var(--sale)}
.flash-item .bar{height:14px;border-radius:7px;background:var(--sale-bg);position:relative;overflow:hidden;margin-top:5px}
.flash-item .bar i{position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#ff8a80,var(--sale));border-radius:7px}
.flash-item .bar span{position:absolute;inset:0;display:grid;place-items:center;font-size:9.5px;font-weight:700;color:#7a1f22}

/* ---------- Product card ---------- */
.grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:0 14px}
.card{background:var(--surface);border-radius:var(--radius);overflow:hidden;border:1px solid var(--line);display:flex;flex-direction:column;text-align:left;transition:transform .12s}
.card:active{transform:scale(.985)}
.card .ph{aspect-ratio:4/5;position:relative;background:var(--surface-2);overflow:hidden}
.card .ph img{width:100%;height:100%;object-fit:cover}
.tags{position:absolute;top:8px;left:8px;display:flex;flex-direction:column;gap:4px;align-items:flex-start}
.tag{font-size:10px;font-weight:700;padding:3px 7px;border-radius:6px;letter-spacing:.01em;line-height:1.3;backdrop-filter:blur(6px)}
.tag.sale{background:var(--sale);color:#fff}
.tag.hot{background:var(--hot-bg);color:var(--hot);display:inline-flex;align-items:center;gap:3px}
.tag.new{background:var(--text);color:#fff}
.tag.promo{background:var(--promo-bg);color:var(--promo)}
.wish{position:absolute;top:6px;right:6px;width:30px;height:30px;border-radius:50%;background:rgba(255,255,255,.9);display:grid;place-items:center}
.wish svg{width:16px;height:16px;stroke:var(--text);fill:none;stroke-width:2}
.wish.on svg{fill:var(--sale);stroke:var(--sale)}
.card-body{padding:9px 10px 11px;display:flex;flex-direction:column;gap:4px;flex:1}
.swatches{display:flex;gap:6px;align-items:center;padding:2px 0}
.swatches i{width:18px;height:18px;border-radius:50%;border:1.5px solid rgba(0,0,0,.14);box-shadow:inset 0 0 0 2px #fff;cursor:pointer;transition:transform .12s}
.swatches i:active{transform:scale(.9)}
.swatches i.on{border-color:var(--brand);border-width:2px;box-shadow:inset 0 0 0 2px #fff}
.swatches small{font-size:11px;color:var(--text-2);font-weight:600;margin-left:2px}
.card .ph .imgs{display:flex;height:100%;transition:transform .35s cubic-bezier(.2,.8,.2,1)}
.card .ph .imgs img{flex:0 0 100%}
.card .name{font-size:12.5px;line-height:1.35;color:var(--text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:2.7em}
.price-row{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.price{font-size:14px;font-weight:800;letter-spacing:-.01em}
.price.sale{color:var(--sale)}
.was{font-size:11px;color:var(--text-3);text-decoration:line-through}
.off{font-size:10px;font-weight:700;color:var(--sale);background:var(--sale-bg);padding:1px 5px;border-radius:4px}
.meta{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--text-2);margin-top:auto}
.meta .star{color:var(--star);display:inline-flex}.meta .star .i{width:12px;height:12px}
.meta .sep{width:1px;height:10px;background:var(--line)}
.ship{display:inline-flex;align-items:center;gap:4px;font-size:10px;font-weight:600;color:var(--promo)}
.ship svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2}

/* Filter chips */
.chips{gap:8px;padding:0 14px 12px;scroll-padding:0 14px}
.chips::before,.chips::after{content:"";flex:0 0 1px;margin-left:-1px}
.chip{padding:7px 13px;border-radius:999px;background:var(--surface);border:1px solid var(--line);font-size:12.5px;font-weight:600;color:var(--text-2);white-space:nowrap}
.chip.on{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}

/* Trust strip */
.trust{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;padding:14px}
.trust div{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:10px 8px;text-align:center;font-size:11px;color:var(--text-2);font-weight:500;line-height:1.3}
.trust div b{display:block;font-size:20px;margin-bottom:4px;color:var(--text)}

/* ---------- Bottom nav ---------- */
.bottom-nav{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:var(--phone-w);
  height:calc(var(--nav-h) + var(--safe-b));padding-bottom:var(--safe-b);
  background:var(--surface);border-top:1px solid var(--line);display:grid;grid-template-columns:repeat(4,1fr);z-index:40;
}
.bottom-nav a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:10.5px;font-weight:600;color:var(--text-3);position:relative}
.bottom-nav a svg{width:23px;height:23px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.bottom-nav a.on{color:var(--brand)}
.bottom-nav .badge-dot{top:6px;right:calc(50% - 22px)}

/* =========================================================
   PRODUCT PAGE
   ========================================================= */
.pdp-top{position:absolute;top:0;left:0;right:0;z-index:5;display:flex;justify-content:space-between;padding:10px 12px;pointer-events:none}
.pdp-top .grp{display:flex;gap:8px}
.pdp-top .icon-btn{background:rgba(255,255,255,.92);box-shadow:0 1px 4px rgba(0,0,0,.12);pointer-events:auto}
.gallery{position:relative;background:#f1f1f2}
.gallery .hs{aspect-ratio:1;}
.gallery .hs>div{width:100%;height:100%}
.gallery img{width:100%;height:100%;object-fit:cover}
.gallery .counter{position:absolute;right:12px;bottom:12px;background:rgba(0,0,0,.55);color:#fff;font-size:11px;font-weight:600;padding:4px 9px;border-radius:999px;font-variant-numeric:tabular-nums}
.thumbs{display:flex;gap:8px;padding:10px 14px 0;background:var(--surface)}
.thumbs button{width:52px;height:52px;border-radius:8px;overflow:hidden;border:2px solid transparent;flex:0 0 auto;background:var(--surface-2)}
.thumbs button img{width:100%;height:100%;object-fit:cover}
.thumbs button.on{border-color:var(--brand)}

.block{background:var(--surface);padding:14px;margin-top:8px}
.block:first-of-type{margin-top:0}
.block h3{font-size:14px;font-weight:700;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between}
.block h3 a{font-size:12px;color:var(--text-2);font-weight:600}
.pdp-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:8px}
.pdp-tags .tag{font-size:11px;padding:4px 8px;backdrop-filter:none}
.pdp-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}
.pdp-price .price{font-size:24px}
.pdp-price .was{font-size:13px}
.pdp-price .off{font-size:12px;padding:2px 6px}
.pdp-name{font-size:15px;font-weight:600;line-height:1.4;margin-top:8px}
.pdp-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--text-2);margin-top:8px;flex-wrap:wrap}
.pdp-meta .star{color:var(--star);font-weight:700;display:inline-flex;align-items:center;gap:3px}
.pdp-meta b{color:var(--text)}
.pdp-meta .sep{width:1px;height:12px;background:var(--line)}
.stock-note{display:inline-flex;align-items:center;gap:6px;margin-top:10px;font-size:12px;font-weight:600;color:var(--sale);background:var(--sale-bg);padding:6px 10px;border-radius:8px}
.stock-note i{width:7px;height:7px;border-radius:50%;background:var(--sale);animation:pulse 1.4s infinite}
@keyframes pulse{0%,100%{opacity:1}50%{opacity:.35}}

/* Variant: warna */
.var-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}
.var-head span{font-size:13px;color:var(--text-2)}
.var-head span b{color:var(--text);font-weight:700}
.var-head a{font-size:12px;color:var(--text-2);font-weight:600;text-decoration:underline;text-underline-offset:3px}
.colors{display:flex;gap:10px;flex-wrap:wrap}
.color{width:56px;display:flex;flex-direction:column;align-items:center;gap:5px}
.color .sw{width:56px;height:56px;border-radius:10px;overflow:hidden;border:2px solid var(--line);position:relative;background:var(--surface-2)}
.color .sw img{width:100%;height:100%;object-fit:cover}
.color.on .sw{border-color:var(--brand)}
.color.on .sw::after{content:"";position:absolute;right:3px;bottom:3px;width:16px;height:16px;border-radius:50%;background:var(--brand) 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center/10px no-repeat}
.color.oos .sw{opacity:.4}
.color.oos .sw::before{content:"";position:absolute;left:-10%;top:50%;width:120%;height:2px;background:var(--text-3);transform:rotate(-45deg)}
.color small{font-size:10.5px;color:var(--text-2);text-align:center;line-height:1.2;max-width:60px}
.color.on small{color:var(--text);font-weight:600}

/* Variant: ukuran */
.sizes{display:flex;gap:8px;flex-wrap:wrap}
.size{min-width:46px;height:38px;padding:0 12px;border-radius:var(--radius-sm);border:1.5px solid var(--line);font-size:13px;font-weight:600;display:grid;place-items:center;position:relative;background:var(--surface)}
.size.on{border-color:var(--brand);background:var(--brand);color:var(--brand-ink)}
.size.low::after{content:"Sisa 2";position:absolute;top:-8px;right:-6px;font-size:9px;font-weight:700;color:var(--sale);background:var(--sale-bg);padding:1px 5px;border-radius:999px;border:1px solid #fff}
.size.oos{color:var(--text-3);background:var(--surface-2);text-decoration:line-through}
.size-help{margin-top:10px;font-size:12px;color:var(--text-2);display:flex;align-items:center;gap:6px}
.size-help svg{width:14px;height:14px;stroke:var(--text-2);fill:none;stroke-width:2}

/* Kupon di PDP: gaya tiket */
.coupons{gap:10px;margin:0 -14px;padding:2px 14px 4px;scroll-padding:0 14px}
.coupon{
  --c:var(--promo);--cbg:var(--promo-bg);
  width:272px;display:flex;align-items:stretch;background:var(--surface);border:1px solid var(--line);
  border-radius:12px;overflow:hidden;position:relative;
}
.coupon.kupon{--c:var(--sale);--cbg:var(--sale-bg)}
.coupon.cb{--c:var(--hot);--cbg:var(--hot-bg)}
.cp-left{width:74px;flex:0 0 auto;background:var(--cbg);color:var(--c);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;border-right:1.5px dashed var(--line);position:relative}
.cp-left .cp-val{font-size:19px;font-weight:800;letter-spacing:-.03em;line-height:1}
.cp-left .cp-lbl{font-size:10px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.85}
.coupon::before,.coupon::after{content:"";position:absolute;left:67px;width:14px;height:14px;border-radius:50%;background:var(--surface);border:1px solid var(--line);z-index:1}
.coupon::before{top:-8px;border-top-color:transparent}
.coupon::after{bottom:-8px;border-bottom-color:transparent}
.cp-body{flex:1;min-width:0;padding:10px 10px 10px 12px;display:flex;flex-direction:column;justify-content:center;gap:2px}
.cp-body b{font-size:13px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cp-body small{font-size:11px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.cp-body em{font-style:normal;font-size:10.5px;color:var(--text-3)}
.cp-btn{align-self:center;margin-right:10px;flex:0 0 auto;font-size:12px;font-weight:700;padding:7px 12px;border-radius:999px;background:var(--brand);color:var(--brand-ink)}
.cp-btn.claimed{background:var(--surface-2);color:var(--text-3)}
.promo-note{margin-top:10px;font-size:12px;color:var(--text-2);background:var(--surface-2);border-radius:8px;padding:9px 11px;line-height:1.4;display:flex;gap:7px;align-items:flex-start}.promo-note .i{width:15px;height:15px;color:var(--hot);margin-top:1px}
.promo-note b{color:var(--sale)}

/* Bottom sheet */
.sheet-bk{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:70;opacity:0;pointer-events:none;transition:opacity .25s}
.sheet{
  position:fixed;left:50%;bottom:0;transform:translate(-50%,105%);width:100%;max-width:var(--phone-w);
  background:var(--surface);border-radius:20px 20px 0 0;z-index:71;max-height:88dvh;display:flex;flex-direction:column;
  transition:transform .3s cubic-bezier(.2,.8,.2,1),visibility 0s .3s;visibility:hidden;padding-bottom:var(--safe-b);
}
body.sheet-open .sheet-bk{opacity:1;pointer-events:auto}
.sheet.open{transform:translate(-50%,0);visibility:visible;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.sheet-grab{width:40px;height:4px;border-radius:2px;background:var(--line);margin:10px auto 0}
.sheet-head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 10px;border-bottom:1px solid var(--line)}
.sheet-head h4{font-size:16px;font-weight:700}
.sheet-head button{width:32px;height:32px;border-radius:50%;background:var(--surface-2);font-size:18px;line-height:1}
.sheet-body{overflow-y:auto;padding:14px 16px 20px}
.sg-tabs{display:flex;background:var(--surface-2);border-radius:999px;padding:3px;margin-bottom:14px}
.sg-tabs button{flex:1;padding:8px;border-radius:999px;font-size:13px;font-weight:600;color:var(--text-2)}
.sg-tabs button.on{background:var(--surface);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.1)}
.sg-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}
.sg-table th,.sg-table td{padding:10px 8px;text-align:center;border-bottom:1px solid var(--line)}
.sg-table th{font-size:11px;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.05em}
.sg-table td:first-child{font-weight:700;text-align:left}
.sg-table tr.hl td{background:var(--surface-2)}
.sg-table tr.hl td:first-child::after{content:"Dipilih";font-size:9px;font-weight:700;background:var(--brand);color:var(--brand-ink);padding:2px 6px;border-radius:999px;margin-left:6px;vertical-align:middle}
.sg-finder{background:var(--surface-2);border-radius:12px;padding:12px;margin-bottom:14px}
.sg-finder b{font-size:13px;display:block;margin-bottom:8px}
.sg-inputs{display:flex;gap:8px}
.sg-inputs label{flex:1;display:flex;align-items:center;gap:6px;background:var(--surface);border:1px solid var(--line);border-radius:8px;padding:0 10px;height:40px;font-size:13px}
.sg-inputs input{width:100%;border:0;outline:0;background:transparent;font-size:14px;font-weight:600}
.sg-inputs span{font-size:12px;color:var(--text-3)}
.sg-result{margin-top:8px;font-size:13px;color:var(--text-2)}
.sg-result b{color:var(--text)}
.sg-how{display:flex;gap:12px;margin-top:14px;align-items:flex-start}
.sg-how .fig{width:92px;height:110px;flex:0 0 auto;border-radius:10px;background:var(--surface-2);display:grid;place-items:center}
.sg-how .fig svg{width:72px;height:92px;stroke:var(--text-2);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.sg-how ol{padding-left:16px;font-size:12.5px;color:var(--text-2);line-height:1.5}
.sg-how ol b{color:var(--text)}
.sg-note{font-size:11.5px;color:var(--text-3);margin-top:12px;line-height:1.4}
.sheet-foot{padding:10px 16px calc(10px + var(--safe-b));border-top:1px solid var(--line)}

/* Info rows */
.rows{display:flex;flex-direction:column}
.row{display:flex;gap:12px;padding:11px 0;border-top:1px solid var(--line);font-size:13px;align-items:flex-start}
.row:first-child{border-top:0;padding-top:0}
.row:last-child{padding-bottom:0}
.row .ri{width:20px;height:20px;flex:0 0 auto}
.row .ri svg{width:20px;height:20px;stroke:var(--text);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.row .rb{flex:1}
.row .rb b{display:block;font-weight:600}
.row .rb small{display:block;color:var(--text-2);font-size:12px;margin-top:2px}
.row .chev{color:var(--text-3)}

/* Deskripsi */
.desc{font-size:13px;color:var(--text-2);line-height:1.6}
.desc.clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.spec{display:grid;grid-template-columns:110px 1fr;gap:6px 12px;font-size:12.5px;margin-top:12px}
.spec dt{color:var(--text-3)}
.spec dd{color:var(--text)}
.more{margin-top:10px;font-size:13px;font-weight:700;color:var(--brand)}

/* Sticky action bar */
.actionbar{
  position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:var(--phone-w);
  padding:10px 14px calc(10px + var(--safe-b));background:var(--surface);border-top:1px solid var(--line);
  display:flex;gap:8px;align-items:center;z-index:40;
}
.actionbar .icon-btn{width:46px;height:46px;border-radius:10px;border:1.5px solid var(--line)}
.btn{height:46px;border-radius:10px;font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;gap:6px;flex:1}
.btn.ghost{border:1.5px solid var(--brand);color:var(--brand);background:var(--surface)}
.btn.primary{background:var(--brand);color:var(--brand-ink)}
.btn.primary small{font-weight:600;opacity:.75;font-size:11px}
.btn:active{opacity:.85}
.pdp-sel{position:fixed;left:50%;transform:translateX(-50%);width:100%;max-width:var(--phone-w);bottom:calc(66px + var(--safe-b));z-index:39;padding:0 14px;pointer-events:none}
.pdp-sel div{background:rgba(24,24,27,.92);color:#fff;font-size:12px;padding:8px 12px;border-radius:8px;display:inline-flex;gap:6px;align-items:center;backdrop-filter:blur(6px)}

/* Toast */
.toast{position:fixed;left:50%;bottom:calc(90px + var(--safe-b));transform:translate(-50%,20px);background:var(--text);color:#fff;font-size:13px;font-weight:600;padding:10px 16px;border-radius:999px;opacity:0;pointer-events:none;transition:all .25s;z-index:60;white-space:nowrap;box-shadow:0 10px 30px rgba(0,0,0,.2)}
.toast.show{opacity:1;transform:translate(-50%,0)}

/* =========================================================
   SUB-PAGES: notif, cart, checkout, chat
   ========================================================= */
.subhead{position:sticky;top:0;z-index:40;background:var(--surface);border-bottom:1px solid var(--line);display:flex;align-items:center;gap:6px;padding:8px 8px;min-height:56px}
.subhead h1{flex:1;font-size:17px;font-weight:700;letter-spacing:-.01em}
.subhead .muted{font-weight:500;color:var(--text-3);font-size:14px}
.txt-btn{font-size:13px;font-weight:700;color:var(--brand);padding:8px 10px;white-space:nowrap}
.secure{display:inline-flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:var(--promo);padding:0 10px}
.pdp-top .icon-btn.love svg{transition:transform .15s}
.pdp-top .icon-btn.love.on svg{fill:var(--sale);stroke:var(--sale);transform:scale(1.1)}
.love-meta{display:inline-flex;align-items:center;gap:4px;color:var(--text-2);font-size:12px}
.love-meta.on{color:var(--sale)}
.love-meta.on .i{fill:currentColor}

/* Notifikasi */
.nlist{background:var(--surface);border-top:1px solid var(--line)}
.nitem{display:flex;gap:12px;padding:14px;border-bottom:1px solid var(--line);position:relative;text-align:left;width:100%}
.nitem.unread{background:#fafafa}
.nitem.unread::before{content:"";position:absolute;right:14px;top:16px;width:8px;height:8px;border-radius:50%;background:var(--sale)}
.nitem .ni{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;flex:0 0 auto}
.nitem .ni svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.nitem .ni.order{background:#e8effd;color:#2a5bd7}
.nitem .ni.promo{background:var(--sale-bg);color:var(--sale)}
.nitem .ni.info{background:var(--surface-2);color:var(--text-2)}
.nitem .nb{flex:1;min-width:0;padding-right:14px}
.nitem .nb b{display:block;font-size:13.5px;font-weight:600;line-height:1.3}
.nitem .nb p{font-size:12.5px;color:var(--text-2);margin-top:3px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.nitem .nb small{display:block;font-size:11px;color:var(--text-3);margin-top:5px}
.nitem .nb img{width:100%;max-width:220px;aspect-ratio:16/7;object-fit:cover;border-radius:8px;margin-top:8px}
.nitem .nb .cta{display:inline-block;margin-top:8px;font-size:12px;font-weight:700;color:var(--brand)}

/* Keranjang */
#page-cart{padding-bottom:calc(84px + var(--safe-b))}
.ship-progress{margin:12px 14px 0;background:var(--promo-bg);border-radius:10px;padding:10px 12px;font-size:12px;color:#0c6b4a;display:flex;flex-direction:column;gap:6px}
.ship-progress b{color:#0a5a3e}
.ship-progress .bar{height:6px;border-radius:3px;background:rgba(15,138,95,.18);overflow:hidden}
.ship-progress .bar i{display:block;height:100%;background:var(--promo);border-radius:3px;transition:width .3s}
.cart-list{margin-top:10px;background:var(--surface);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.citem{display:flex;gap:10px;padding:14px;border-bottom:1px solid var(--line);align-items:flex-start}
.citem:last-child{border-bottom:0}
.cb{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:600;cursor:pointer}
.cb input{position:absolute;opacity:0;width:0;height:0}
.cb span{width:20px;height:20px;border-radius:6px;border:1.5px solid var(--text-3);display:grid;place-items:center;flex:0 0 auto;transition:all .15s}
.cb input:checked+span{background:var(--brand);border-color:var(--brand)}
.cb input:checked+span::after{content:"";width:10px;height:6px;border-left:2px solid var(--brand-ink);border-bottom:2px solid var(--brand-ink);transform:translateY(-1px) rotate(-45deg)}
.citem .cb{margin-top:26px}
.citem img{width:84px;height:84px;border-radius:10px;object-fit:cover;flex:0 0 auto;background:var(--surface-2)}
.citem .cbody{flex:1;min-width:0}
.citem .cname{font-size:13px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.citem .cvar{display:inline-flex;align-items:center;gap:4px;margin-top:6px;font-size:11.5px;color:var(--text-2);background:var(--surface-2);border-radius:6px;padding:4px 8px}
.citem .cvar svg{width:12px;height:12px;stroke:currentColor;fill:none;stroke-width:2}
.citem .crow{display:flex;align-items:center;justify-content:space-between;margin-top:8px}
.citem .cprice{display:flex;flex-direction:column}
.citem .cprice b{font-size:14px;font-weight:800}
.citem .cprice s{font-size:11px;color:var(--text-3)}
.qty{display:inline-flex;align-items:center;border:1px solid var(--line);border-radius:8px;overflow:hidden;height:30px}
.qty button{width:30px;height:30px;font-size:16px;color:var(--text-2);display:grid;place-items:center}
.qty button:disabled{color:var(--line)}
.qty span{min-width:30px;text-align:center;font-size:13px;font-weight:700;font-variant-numeric:tabular-nums}
.citem .cdel{font-size:11.5px;color:var(--text-3);margin-top:8px;display:inline-flex;align-items:center;gap:4px}
.citem .cdel svg{width:13px;height:13px;stroke:currentColor;fill:none;stroke-width:2}
.citem .lowstock{font-size:11px;color:var(--sale);font-weight:600;margin-top:4px}
.voucher-row{display:flex;align-items:center;gap:12px;cursor:pointer}
.voucher-row .ri{width:36px;height:36px;border-radius:10px;background:var(--sale-bg);color:var(--sale);display:grid;place-items:center}
.voucher-row .ri .i{width:18px;height:18px}
.voucher-row .rb{flex:1}
.voucher-row .rb b{display:block;font-size:13.5px;font-weight:600}
.voucher-row .rb small{color:var(--text-2);font-size:12px}
.voucher-row.applied .ri{background:var(--promo-bg);color:var(--promo)}
.voucher-row.applied .rb small{color:var(--promo);font-weight:600}
.cart-foot{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:var(--phone-w);background:var(--surface);border-top:1px solid var(--line);display:flex;align-items:center;gap:10px;padding:10px 14px calc(10px + var(--safe-b));z-index:40}
.cf-total{display:flex;flex-direction:column;flex:1;line-height:1.15}
.cf-total small{font-size:11px;color:var(--text-3)}
.cf-total b{font-size:17px;font-weight:800;letter-spacing:-.01em}
.cf-total em{font-style:normal;font-size:11px;color:var(--promo);font-weight:600}
.cart-foot .btn{flex:0 0 42%}
.empty{text-align:center;padding:60px 30px;display:flex;flex-direction:column;align-items:center;gap:6px}
.empty svg{width:56px;height:56px;stroke:var(--text-3);fill:none;stroke-width:1.5;margin-bottom:8px}
.empty b{font-size:15px}
.empty small{color:var(--text-2);font-size:13px;margin-bottom:12px}
.empty .btn{flex:none;padding:0 24px}

/* Checkout */
#page-checkout{padding-bottom:calc(84px + var(--safe-b))}
.steps{display:flex;align-items:center;gap:8px;padding:12px 14px;font-size:12px;color:var(--text-3);font-weight:600}
.steps span.on{color:var(--text)}
.steps span.on::before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--brand);margin-right:5px;vertical-align:1px}
.steps i{flex:1;height:1px;background:var(--line)}
.pill-main{font-size:10px;font-weight:700;background:var(--surface-2);color:var(--text-2);padding:2px 6px;border-radius:4px;margin-left:4px;vertical-align:middle}
.co-items{display:flex;flex-direction:column;gap:12px}
.co-item{display:flex;gap:10px;align-items:center}
.co-item img{width:56px;height:56px;border-radius:8px;object-fit:cover;background:var(--surface-2)}
.co-item .cb2{flex:1;min-width:0}
.co-item .cb2 b{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.co-item .cb2 small{color:var(--text-2);font-size:11.5px}
.co-item .cp{text-align:right;font-size:13px;font-weight:700;white-space:nowrap}
.co-item .cp small{display:block;color:var(--text-3);font-weight:500;font-size:11px}
.note{display:flex;align-items:center;gap:10px;margin-top:12px;border-top:1px solid var(--line);padding-top:12px;font-size:13px}
.note span{color:var(--text-2);flex:0 0 auto}
.note input{flex:1;border:0;outline:0;background:transparent;font-size:13px;text-align:right}
.note input::placeholder{color:var(--text-3)}
.opts{display:flex;flex-direction:column;gap:8px}
.opt{display:flex;align-items:center;gap:12px;padding:12px;border:1.5px solid var(--line);border-radius:10px;text-align:left;width:100%;transition:border-color .15s,background .15s}
.opt.on{border-color:var(--brand);background:var(--surface-2)}
.opt .radio{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--text-3);display:grid;place-items:center;flex:0 0 auto}
.opt.on .radio{border-color:var(--brand)}
.opt.on .radio::after{content:"";width:9px;height:9px;border-radius:50%;background:var(--brand)}
.opt .ob{flex:1;min-width:0}
.opt .ob b{display:block;font-size:13.5px;font-weight:600}
.opt .ob small{display:block;font-size:11.5px;color:var(--text-2);margin-top:1px}
.opt .op{font-size:13px;font-weight:700;white-space:nowrap}
.opt .op.free{color:var(--promo)}
.opt .op s{color:var(--text-3);font-weight:500;font-size:11px;margin-right:4px}
.opt .pay-ic{width:36px;height:24px;border-radius:5px;border:1px solid var(--line);display:grid;place-items:center;font-size:9px;font-weight:800;letter-spacing:.02em;color:var(--text-2);flex:0 0 auto;background:var(--surface)}
.opt .badge-rec{font-size:10px;font-weight:700;color:var(--hot);background:var(--hot-bg);padding:2px 6px;border-radius:4px;margin-left:6px;vertical-align:middle}
.sum{display:flex;flex-direction:column;gap:8px;font-size:13px}
.sum div{display:flex;justify-content:space-between;color:var(--text-2)}
.sum div.disc span:last-child{color:var(--promo);font-weight:600}
.sum div.total{border-top:1px solid var(--line);padding-top:10px;margin-top:2px;color:var(--text);font-weight:700;font-size:14px}
.sum div.total span:last-child{font-size:17px;font-weight:800}
.legal{font-size:11px;color:var(--text-3);padding:12px 14px 0;line-height:1.5}

/* Chat */
#page-chat{display:none;flex-direction:column;min-height:100dvh;padding-bottom:0;background:#f0f0f2}
#page-chat.active{display:flex}
.chat-head{gap:8px}
.ch-id{flex:1;display:flex;align-items:center;gap:10px;min-width:0}
.ch-id .av{width:38px;height:38px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:grid;place-items:center;font-weight:800;flex:0 0 auto}
.ch-id b{display:block;font-size:14px}
.ch-id small{display:flex;align-items:center;gap:5px;font-size:11.5px;color:var(--text-2)}
.on-dot{width:7px;height:7px;border-radius:50%;background:var(--promo);display:inline-block}
.chat-body{flex:1;padding:14px 14px 10px;display:flex;flex-direction:column;gap:8px;overflow-y:auto}
.chat-day{align-self:center;font-size:11px;color:var(--text-3);background:var(--surface);padding:4px 10px;border-radius:999px;margin-bottom:4px}
.msg{max-width:78%;padding:9px 12px;border-radius:14px;font-size:13.5px;line-height:1.45;position:relative;word-wrap:break-word}
.msg.in{align-self:flex-start;background:var(--surface);border-bottom-left-radius:4px;box-shadow:0 1px 1px rgba(0,0,0,.04)}
.msg.out{align-self:flex-end;background:var(--brand);color:var(--brand-ink);border-bottom-right-radius:4px}
.msg time{display:block;font-size:10px;opacity:.6;margin-top:3px;text-align:right}
.msg.typing{display:flex;gap:4px;padding:12px 14px}
.msg.typing i{width:6px;height:6px;border-radius:50%;background:var(--text-3);animation:ty 1s infinite}
.msg.typing i:nth-child(2){animation-delay:.15s}.msg.typing i:nth-child(3){animation-delay:.3s}
@keyframes ty{0%,100%{transform:translateY(0);opacity:.5}50%{transform:translateY(-3px);opacity:1}}
.msg-prod{align-self:flex-end;width:78%;background:var(--surface);border-radius:12px;padding:10px;display:flex;gap:10px;border:1px solid var(--line)}
.msg-prod img{width:56px;height:56px;border-radius:8px;object-fit:cover}
.msg-prod div{flex:1;min-width:0}
.msg-prod b{display:block;font-size:12.5px;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.msg-prod small{font-size:12px;font-weight:800;color:var(--sale);display:block;margin-top:3px}
.chat-foot{position:sticky;bottom:0;background:var(--surface);border-top:1px solid var(--line);padding-bottom:var(--safe-b)}
.quick{gap:8px;padding:10px 14px 0;scroll-snap-type:none}
.quick button{flex:0 0 auto;font-size:12px;font-weight:600;color:var(--text);background:var(--surface-2);border:1px solid var(--line);border-radius:999px;padding:7px 12px;white-space:nowrap}
.chat-input{display:flex;align-items:center;gap:6px;padding:10px 10px 10px 6px}
.chat-input input{flex:1;height:40px;border-radius:999px;border:1px solid var(--line);background:var(--surface-2);padding:0 14px;font-size:14px;outline:0;min-width:0}
.chat-input input:focus{border-color:var(--brand);background:var(--surface)}
.chat-input .send{width:40px;height:40px;border-radius:50%;background:var(--brand);display:grid;place-items:center;flex:0 0 auto}
.chat-input .send svg{width:18px;height:18px;stroke:var(--brand-ink);fill:none;stroke-width:2;stroke-linejoin:round}

/* Alamat */
.addr-card{cursor:pointer;align-items:center}
.addr-card.no-addr{outline:1.5px dashed var(--sale);outline-offset:8px;border-radius:6px}
.addr-card.no-addr .ri svg{stroke:var(--sale)}
.btn-sm{font-size:12px;font-weight:700;padding:8px 12px;border-radius:999px;background:var(--brand);color:var(--brand-ink);white-space:nowrap}
.addr-card .rb b{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.addr-card .rb .lbl{font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;background:var(--surface-2);color:var(--text-2)}
.addr-card .rb .lbl.main{background:var(--brand);color:var(--brand-ink)}
.addr-card .warn{display:flex;align-items:center;gap:8px;width:100%;color:var(--sale);font-weight:600;font-size:13px}
.alist{display:flex;flex-direction:column;gap:10px}
.aitem{display:flex;gap:12px;padding:12px;border:1.5px solid var(--line);border-radius:12px;text-align:left;width:100%;align-items:flex-start;position:relative}
.aitem.on{border-color:var(--brand);background:var(--surface-2)}
.aitem .radio{width:18px;height:18px;border-radius:50%;border:1.5px solid var(--text-3);display:grid;place-items:center;flex:0 0 auto;margin-top:2px}
.aitem.on .radio{border-color:var(--brand)}
.aitem.on .radio::after{content:"";width:9px;height:9px;border-radius:50%;background:var(--brand)}
.aitem .ab{flex:1;min-width:0}
.aitem .ab b{display:flex;align-items:center;gap:6px;font-size:13.5px;flex-wrap:wrap}
.aitem .ab small{display:block;font-size:12px;color:var(--text-2);margin-top:3px;line-height:1.45}
.aitem .ab .lbl{font-size:10px;font-weight:700;padding:2px 6px;border-radius:4px;background:var(--surface-2);color:var(--text-2)}
.aitem .ab .lbl.main{background:var(--brand);color:var(--brand-ink)}
.aitem .aedit{font-size:12px;font-weight:700;color:var(--brand);padding:4px 0;flex:0 0 auto}
.add-btn{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:12px;height:46px;border:1.5px dashed var(--line);border-radius:12px;font-size:13.5px;font-weight:700;color:var(--brand)}
.add-btn svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}
.first-note{background:var(--surface-2);border-radius:10px;padding:10px 12px;font-size:12.5px;color:var(--text-2);margin-bottom:14px;line-height:1.45}
.form{display:flex;flex-direction:column;gap:12px}
.form .f2{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.field{display:flex;flex-direction:column;gap:5px}
.field label{font-size:12px;font-weight:600;color:var(--text-2)}
.field input,.field select,.field textarea{font:inherit;height:44px;border:1.5px solid var(--line);border-radius:10px;padding:0 12px;font-size:14px;background:var(--surface);outline:0;color:var(--text);width:100%;-webkit-appearance:none;appearance:none}
.field textarea{height:auto;min-height:72px;padding:10px 12px;resize:none;line-height:1.4}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--brand)}
.field input.err{border-color:var(--sale)}
.field .hint{font-size:11px;color:var(--text-3)}
.field .sel{position:relative}
.field .sel::after{content:"";position:absolute;right:14px;top:50%;width:8px;height:8px;border-right:1.5px solid var(--text-3);border-bottom:1.5px solid var(--text-3);transform:translateY(-70%) rotate(45deg);pointer-events:none}
.seg{display:flex;gap:8px}
.seg button{flex:1;height:40px;border:1.5px solid var(--line);border-radius:10px;font-size:13px;font-weight:600;color:var(--text-2)}
.seg button.on{border-color:var(--brand);color:var(--text);background:var(--surface-2)}
.switch{display:flex;align-items:center;justify-content:space-between;font-size:13.5px;font-weight:500;padding:4px 0}
.switch i{width:42px;height:24px;border-radius:12px;background:var(--line);position:relative;transition:background .2s;flex:0 0 auto}
.switch i::after{content:"";position:absolute;top:2px;left:2px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.2)}
.switch.on i{background:var(--brand)}
.switch.on i::after{transform:translateX(18px)}
.sheet-foot .two{display:flex;gap:8px}
.sheet-foot .two .btn{flex:1}
.sheet-foot .two .btn.ghost{flex:0 0 38%}

/* Voucher sheet */
.vcode{display:flex;gap:8px;margin-bottom:16px}
.vcode input{flex:1;height:44px;border:1.5px solid var(--line);border-radius:10px;padding:0 12px;font-size:14px;outline:0;text-transform:uppercase;min-width:0}
.vcode input:focus{border-color:var(--brand)}
.vcode button{height:44px;padding:0 16px;border-radius:10px;background:var(--brand);color:var(--brand-ink);font-weight:700;font-size:13px;flex:0 0 auto}
.vsec{font-size:13px;font-weight:700;margin:4px 0 10px;display:flex;justify-content:space-between;align-items:center}
.vsec small{font-weight:500;color:var(--text-3);font-size:11.5px}
.vlist{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.vc{--nx:82px;display:block;padding:1.5px;border:0;border-radius:12px;position:relative;text-align:left;width:100%;background:var(--line);transition:background .15s;
  -webkit-mask:radial-gradient(circle at var(--nx) 0,transparent 8px,#000 8.6px),radial-gradient(circle at var(--nx) 100%,transparent 8px,#000 8.6px);-webkit-mask-composite:source-in;mask:radial-gradient(circle at var(--nx) 0,transparent 8px,#000 8.6px),radial-gradient(circle at var(--nx) 100%,transparent 8px,#000 8.6px);mask-composite:intersect}
.vc.on{background:var(--brand)}
.vc.dis{opacity:.55}
.vc-in{display:flex;align-items:stretch;border-radius:10.5px;background:var(--surface);position:relative;overflow:hidden;
  /* lubang isi 1.5px lebih besar dari lubang lapisan border, jadi border ikut melengkung di notch */
  -webkit-mask:radial-gradient(circle at calc(var(--nx) - 1.5px) -1.5px,transparent 9.5px,#000 10.1px),radial-gradient(circle at calc(var(--nx) - 1.5px) calc(100% + 1.5px),transparent 9.5px,#000 10.1px);-webkit-mask-composite:source-in;mask:radial-gradient(circle at calc(var(--nx) - 1.5px) -1.5px,transparent 9.5px,#000 10.1px),radial-gradient(circle at calc(var(--nx) - 1.5px) calc(100% + 1.5px),transparent 9.5px,#000 10.1px);mask-composite:intersect}
.vc .vl{width:80.5px;flex:0 0 auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;border-right:1.5px dashed var(--line);padding:12px 6px}
.vc.disc .vl{background:var(--sale-bg);color:var(--sale)}
.vc.ship .vl{background:var(--promo-bg);color:var(--promo)}
.vc.cb .vl{background:var(--hot-bg);color:var(--hot)}
.vc .vl b{font-size:14px;font-weight:800;letter-spacing:-.02em;line-height:1;text-align:center;white-space:nowrap}
.vc .vl b.big{font-size:18px}
.vc .vl small{font-size:9px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;opacity:.8}
.vc .vb{flex:1;min-width:0;padding:10px 10px 10px 14px;display:flex;flex-direction:column;gap:2px;justify-content:center}
.vc .vb b{font-size:13px;font-weight:700}
.vc .vb small{font-size:11.5px;color:var(--text-2)}
.vc .vb em{font-style:normal;font-size:11px;color:var(--text-3)}
.vc .vb .why{font-size:11px;color:var(--sale);font-weight:600}
.vc .vb .prog{height:4px;border-radius:2px;background:var(--surface-2);margin-top:4px;overflow:hidden}
.vc .vb .prog i{display:block;height:100%;background:var(--sale);border-radius:2px}
.vc .vr{width:44px;display:grid;place-items:center;flex:0 0 auto}
.vc .vr .radio{width:20px;height:20px;border-radius:50%;border:1.5px solid var(--text-3);display:grid;place-items:center}
.vc.on .vr .radio{border-color:var(--brand);background:var(--brand)}
.vc.on .vr .radio::after{content:"";width:9px;height:5px;border-left:2px solid var(--brand-ink);border-bottom:2px solid var(--brand-ink);transform:translateY(-1px) rotate(-45deg)}
.vc .tagb{position:absolute;top:0;right:44px;z-index:1;font-size:9.5px;font-weight:700;padding:2px 7px;border-radius:0 0 6px 6px;background:var(--hot);color:#fff}
.vfoot{display:flex;align-items:center;gap:10px}
.vfoot .vsum{flex:1;line-height:1.2}
.vfoot .vsum small{display:block;font-size:11px;color:var(--text-3)}
.vfoot .vsum b{font-size:15px;color:var(--promo)}
.vfoot .btn{flex:0 0 46%}

/* Form telepon */
.phone{display:flex;align-items:center;height:44px;border:1.5px solid var(--line);border-radius:10px;overflow:hidden;background:var(--surface)}
.phone:focus-within{border-color:var(--brand)}
.phone span{padding:0 10px;height:100%;display:grid;place-items:center;background:var(--surface-2);font-size:14px;font-weight:600;color:var(--text-2);border-right:1.5px solid var(--line)}
.phone input{flex:1;height:100%;border:0;outline:0;padding:0 10px;font:inherit;font-size:14px;min-width:0;background:transparent}
.phone:has(input.err){border-color:var(--sale)}
.field input[readonly]{background:var(--surface-2);color:var(--text-2)}
.pin-btn{display:flex;align-items:center;gap:10px;width:100%;padding:10px 12px;border:1.5px dashed var(--line);border-radius:10px;text-align:left}
.pin-btn.set{border-style:solid;border-color:var(--promo);background:var(--promo-bg)}
.pin-btn .i{width:20px;height:20px;color:var(--text-2)}
.pin-btn.set .i{color:var(--promo)}
.pin-btn div{flex:1;min-width:0}
.pin-btn b{display:block;font-size:13px}
.pin-btn small{display:block;font-size:11.5px;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.pin-btn>span{font-size:12px;font-weight:700;color:var(--brand)}
.pin-ok{color:var(--promo)!important;font-weight:600}
.pin-no{color:var(--hot)!important}
.opt.dis{opacity:.6}
.opt .ob b .i{width:16px;height:16px;vertical-align:-3px;margin-right:2px}

/* Map sheet */
#sheet-map{max-height:94dvh}
.map-search{padding:10px 14px 0;position:relative}
.map-search .search-box{height:42px}
.map-search .search-box input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:14px}
.map-search .search-clear{display:none}
.map-results{position:absolute;left:14px;right:14px;top:56px;z-index:600;background:var(--surface);border-radius:10px;box-shadow:0 8px 30px rgba(0,0,0,.15);overflow:hidden}
.mr{display:flex;gap:10px;align-items:flex-start;width:100%;text-align:left;padding:10px 12px;border-bottom:1px solid var(--line);font-size:13px;color:var(--text-2)}
.mr:last-child{border-bottom:0}
.mr:active{background:var(--surface-2)}
.mr .i{width:16px;height:16px;color:var(--text-3);margin-top:2px}
.mr>div{flex:1;min-width:0}
.mr.muted{color:var(--text-3);font-size:12.5px}
.mr>div>b{display:block;color:var(--text);font-weight:500}
.mr b b{display:inline;font-weight:700}
.mr small{display:block;font-size:11.5px;color:var(--text-3);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.map-wrap{position:relative;height:300px;margin:10px 14px 0;border-radius:12px;overflow:hidden;background:var(--surface-2)}
#map{width:100%;height:100%}
.map-pin{position:absolute;left:50%;top:50%;transform:translate(-50%,-100%);pointer-events:none;z-index:400;display:flex;flex-direction:column;align-items:center}
.map-pin svg{width:40px;height:40px;fill:var(--sale);stroke:#fff;stroke-width:1.2;filter:drop-shadow(0 3px 4px rgba(0,0,0,.3))}
.map-pin i{width:10px;height:4px;border-radius:50%;background:rgba(0,0,0,.3);margin-top:-2px}
.map-loc{position:absolute;right:10px;bottom:44px;width:40px;height:40px;border-radius:50%;background:var(--surface);box-shadow:0 2px 8px rgba(0,0,0,.2);display:grid;place-items:center;z-index:400}
.map-loc svg{width:20px;height:20px;stroke:var(--text);fill:none;stroke-width:1.8}
.map-hint{position:absolute;left:0;right:0;bottom:0;background:rgba(24,24,27,.8);color:#fff;font-size:11.5px;text-align:center;padding:7px;z-index:400}
.map-addr{display:flex;gap:10px;padding:12px 14px;align-items:flex-start}
.map-addr .i{width:20px;height:20px;color:var(--sale);flex:0 0 auto;margin-top:1px}
.map-addr b{display:block;font-size:13.5px}
.map-addr small{display:block;font-size:12px;color:var(--text-2);line-height:1.4}

/* Pembayaran */
#page-payment{padding-bottom:24px}
.pay-card{background:var(--surface);margin:0 14px;border-radius:14px;border:1px solid var(--line);padding:14px;box-shadow:var(--shadow)}
.pay-head{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.pay-logo{font-size:11px;font-weight:900;letter-spacing:.05em;border:1.5px solid var(--text);padding:5px 7px;border-radius:6px}
.pay-head b{display:block;font-size:14px}
.pay-head small{font-size:11.5px;color:var(--text-2)}
.pay-head>div:nth-child(2){flex:1}
.pay-timer{text-align:right}
.pay-timer small{display:block;font-size:10.5px;color:var(--text-3)}
.pay-timer b{font-size:16px;color:var(--sale);font-variant-numeric:tabular-nums}
.qr-box{width:220px;height:220px;margin:0 auto;padding:10px;border:1.5px solid var(--line);border-radius:12px;background:#fff}
.qr-box svg{width:100%;height:100%;fill:#111}
.pay-amt{display:flex;align-items:baseline;gap:8px;justify-content:center;margin-top:14px}
.pay-amt small{font-size:12px;color:var(--text-2)}
.pay-amt b{font-size:22px;font-weight:800;letter-spacing:-.02em}
.pay-amt .copy{font-size:11px;font-weight:700;color:var(--brand);border:1.5px solid var(--line);padding:4px 8px;border-radius:999px}
.pay-status{display:flex;align-items:center;justify-content:center;gap:8px;margin-top:10px;font-size:12.5px;font-weight:600;color:var(--hot);background:var(--hot-bg);padding:8px;border-radius:8px}
.pay-status i{width:8px;height:8px;border-radius:50%;background:var(--hot);animation:pulse 1.4s infinite}
.pay-actions{display:flex;gap:8px;margin-top:12px}
.howto{padding-left:18px;font-size:13px;color:var(--text-2);line-height:1.55;display:flex;flex-direction:column;gap:6px}
.howto b{color:var(--text)}
.success{padding:48px 24px 24px;text-align:center;display:flex;flex-direction:column;align-items:center}
.sc-ic{width:72px;height:72px;border-radius:50%;background:var(--promo);display:grid;place-items:center;margin-bottom:16px;animation:pop .4s cubic-bezier(.2,.8,.2,1)}
.sc-ic svg{width:36px;height:36px;stroke:#fff;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
@keyframes pop{from{transform:scale(.5);opacity:0}}
.success .btn{flex:none;width:100%;height:48px}
.success h2{font-size:20px;font-weight:800;letter-spacing:-.02em}
.success p{font-size:13px;color:var(--text-2);margin:8px 0 20px;line-height:1.5;max-width:300px}
.sc-card{width:100%;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:4px 14px;margin-bottom:20px;text-align:left}
.sc-card>div{display:flex;justify-content:space-between;gap:12px;padding:10px 0;border-bottom:1px solid var(--line);font-size:13px}
.sc-card>div:last-child{border:0}
.sc-card span{color:var(--text-2);flex:0 0 auto}
.sc-card b{font-weight:600;text-align:right}
.sc-card .col{flex-direction:column;gap:3px}
.sc-card .col b{text-align:left;font-weight:500;line-height:1.4}

/* Kategori */
#page-category{padding-bottom:calc(var(--nav-h) + var(--safe-b))}
.cat-main .grid{padding:0 14px;gap:10px}
.cat-sec{padding:14px 14px 4px}
.cat-sec h3{font-size:15px;font-weight:700;margin-bottom:12px;display:flex;justify-content:space-between;align-items:baseline}
.cat-sec h3 small{font-size:12px;font-weight:500;color:var(--text-3)}
.char-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px 6px}
.char{display:flex;flex-direction:column;align-items:center;gap:6px;padding:4px 2px;border-radius:10px}
.char img,.char i{width:60px;height:60px;border-radius:50%;object-fit:cover;background:var(--surface-2);border:2px solid transparent;box-shadow:0 0 0 1px var(--line);transition:all .15s;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:13px;color:var(--text-2)}
.char i svg{width:24px;height:24px;stroke:currentColor;fill:none;stroke-width:1.8}
.char.on img,.char.on i{border-color:var(--brand);box-shadow:0 0 0 2px var(--brand);color:var(--brand)}
.char span{font-size:11px;font-weight:600;color:var(--text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.char.on span{color:var(--text);font-weight:700}
.char.more i{background:var(--surface);color:var(--brand)}
.sub-chips{display:flex;flex-wrap:wrap;gap:6px}
.sub-chips button{font-size:12px;font-weight:600;padding:7px 11px;border-radius:999px;background:var(--surface);border:1px solid var(--line);color:var(--text-2)}
.sortbar{display:flex;align-items:center;gap:4px;padding:10px 14px 8px;position:sticky;top:56px;background:var(--bg);z-index:5}
.sortbar .sb-title{flex:1;font-size:14px;font-weight:700;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.sortbar .sb-title small{font-weight:500;color:var(--text-3);font-size:12px}
.sortbar button{font-size:12px;font-weight:600;color:var(--text-2);padding:6px 9px;border-radius:999px}
.sortbar button.on{color:var(--text);background:var(--surface);border:1px solid var(--line)}
.sortbar .filt{margin-left:auto;display:inline-flex;align-items:center;gap:4px}
.sortbar .filt svg{width:14px;height:14px;stroke:currentColor;fill:none;stroke-width:2}

/* Menu chat */
.menu-list{display:flex;flex-direction:column;padding:6px 8px 12px}
.menu-list button{display:flex;align-items:center;gap:14px;width:100%;padding:13px 10px;border-radius:10px;text-align:left}
.menu-list button:active{background:var(--surface-2)}
.menu-list button svg{width:22px;height:22px;stroke:var(--text-2);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.menu-list button div{flex:1}
.menu-list button b{display:block;font-size:14px;font-weight:600}
.menu-list button small{font-size:12px;color:var(--text-2)}
.menu-list button.danger b,.menu-list button.danger svg{color:var(--sale);stroke:var(--sale)}

/* Akun */
#page-account{padding-bottom:calc(var(--nav-h) + var(--safe-b) + 12px)}
.acc-hero{background:var(--surface);padding:16px 14px;border-bottom:1px solid var(--line)}
.acc-guest{display:flex;gap:12px;align-items:center}
.acc-guest .av{width:52px;height:52px;border-radius:50%;background:var(--surface-2);display:grid;place-items:center;flex:0 0 auto}
.acc-guest .av svg{width:26px;height:26px;stroke:var(--text-3);fill:none;stroke-width:1.8}
.acc-guest .gb{flex:1;min-width:0}
.acc-guest .gb b{display:block;font-size:15px}
.acc-guest .gb small{display:block;font-size:12px;color:var(--text-2);margin-top:2px;line-height:1.4}
.acc-guest .btn{flex:0 0 auto;height:40px;padding:0 16px;font-size:13px}
.acc-perks{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.acc-perks div{background:var(--surface-2);border-radius:10px;padding:10px 8px;text-align:center;font-size:11px;color:var(--text-2);line-height:1.3}
.acc-perks div svg{width:20px;height:20px;stroke:var(--text);fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;display:block;margin:0 auto 5px}
.acc-user{display:flex;gap:12px;align-items:center}
.acc-user .av{width:56px;height:56px;border-radius:50%;background:var(--brand);color:var(--brand-ink);display:grid;place-items:center;font-size:20px;font-weight:800;flex:0 0 auto}
.acc-user .ub{flex:1;min-width:0}
.acc-user .ub b{display:block;font-size:16px;font-weight:700}
.acc-user .ub small{display:block;font-size:12px;color:var(--text-2);margin-top:2px}
.acc-user .edit{font-size:12px;font-weight:700;color:var(--brand);padding:8px 0;flex:0 0 auto}
.member{display:flex;align-items:center;gap:12px;margin-top:14px;background:var(--text);color:#fff;border-radius:12px;padding:12px 14px;position:relative;overflow:hidden}
.member::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:rgba(255,255,255,.07)}
.member .mi{width:36px;height:36px;border-radius:10px;background:rgba(255,255,255,.12);display:grid;place-items:center;flex:0 0 auto}
.member .mi svg{width:20px;height:20px;stroke:#fff;fill:none;stroke-width:1.8}
.member .mb{flex:1;min-width:0}
.member .mb b{display:block;font-size:13.5px}
.member .mb small{display:block;font-size:11.5px;opacity:.75;margin-top:2px}
.member .mb .bar{height:4px;border-radius:2px;background:rgba(255,255,255,.18);margin-top:8px;overflow:hidden}
.member .mb .bar i{display:block;height:100%;width:62%;background:#fff;border-radius:2px}
.member .pts{text-align:right;flex:0 0 auto}
.member .pts b{display:block;font-size:17px;font-weight:800;letter-spacing:-.02em}
.member .pts small{font-size:10.5px;opacity:.75}
.acc-orders{background:var(--surface);margin-top:8px;padding:12px 14px}
.acc-orders h3{font-size:14px;font-weight:700;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.acc-orders h3 a{font-size:12px;color:var(--text-2);font-weight:600}
.ostat{display:grid;grid-template-columns:repeat(4,1fr);gap:4px}
.ostat button{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;font-weight:600;color:var(--text-2);position:relative;padding:4px 0}
.ostat button svg{width:26px;height:26px;stroke:var(--text);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ostat .badge-dot{top:-2px;right:calc(50% - 24px)}
.track{display:flex;gap:8px;margin-top:12px}
.track input{flex:1;height:42px;border:1.5px solid var(--line);border-radius:10px;padding:0 12px;font-size:13px;outline:0;min-width:0;background:var(--surface)}
.track input:focus{border-color:var(--brand)}
.track button{height:42px;padding:0 14px;border-radius:10px;background:var(--brand);color:var(--brand-ink);font-weight:700;font-size:13px;flex:0 0 auto}
.acc-menu{background:var(--surface);margin-top:8px}
.acc-menu .mt{font-size:11px;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.06em;padding:14px 14px 4px}
.acc-menu button{display:flex;align-items:center;gap:14px;width:100%;padding:13px 14px;text-align:left;border-bottom:1px solid var(--line)}
.acc-menu button:last-child{border-bottom:0}
.acc-menu button svg{width:22px;height:22px;stroke:var(--text);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.acc-menu button div{flex:1;min-width:0}
.acc-menu button b{display:block;font-size:14px;font-weight:500}
.acc-menu button small{display:block;font-size:12px;color:var(--text-2);margin-top:1px}
.acc-menu button .chev{color:var(--text-3)}
.acc-menu button .cnt{font-size:12px;color:var(--text-2);font-weight:600}
.acc-menu button.out b{color:var(--sale)}
.acc-menu button.out svg{stroke:var(--sale)}
.acc-ver{text-align:center;font-size:11px;color:var(--text-3);padding:16px}

/* Login sheet */
.login{display:flex;flex-direction:column;gap:14px}
.login p{font-size:13px;color:var(--text-2);line-height:1.5}
.otp{display:flex;gap:8px;justify-content:space-between}
.otp input{width:46px;height:52px;border:1.5px solid var(--line);border-radius:10px;text-align:center;font-size:20px;font-weight:700;outline:0;background:var(--surface)}
.otp input:focus{border-color:var(--brand)}
.otp input.err{border-color:var(--sale)}
.login .resend{font-size:12.5px;color:var(--text-2);text-align:center}
.login .resend a{color:var(--brand);font-weight:700}
.login .alt{display:flex;align-items:center;gap:10px;color:var(--text-3);font-size:12px}
.login .alt::before,.login .alt::after{content:"";flex:1;height:1px;background:var(--line)}
.login .btn{flex:none;width:100%;height:48px}
.login .wa{display:flex;align-items:center;gap:8px;justify-content:center;font-size:12.5px;color:var(--text-2)}
.login .wa i{width:8px;height:8px;border-radius:50%;background:var(--promo)}
.login .legal{padding:0;text-align:center}

/* Guest row di checkout */
.guest-row{display:flex;align-items:center;gap:10px;background:var(--surface);padding:10px 14px;border-bottom:1px solid var(--line);font-size:12.5px;color:var(--text-2)}
.guest-row svg{width:18px;height:18px;stroke:var(--text-2);fill:none;stroke-width:1.8;flex:0 0 auto}
.guest-row span{flex:1}
.guest-row b{color:var(--text);font-weight:600}
.guest-row .txt-btn{padding:4px 0}
.guest-row.user{color:var(--promo)}
.guest-row.user svg{stroke:var(--promo)}

/* Pesanan */
#page-orders{padding-bottom:24px}
.olist{display:flex;flex-direction:column;gap:10px;padding:0 14px}
.ocard{background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:12px;text-align:left;width:100%}
.ocard .oh{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--text-2);margin-bottom:10px}
.ocard .oh b{color:var(--text);font-weight:600}
.ocard .st{font-size:11px;font-weight:700;padding:3px 8px;border-radius:6px}
.st.unpaid{background:var(--hot-bg);color:var(--hot)}
.st.packed{background:#e8effd;color:#2a5bd7}
.st.shipped{background:var(--promo-bg);color:var(--promo)}
.st.done{background:var(--surface-2);color:var(--text-2)}
.st.cancel{background:var(--sale-bg);color:var(--sale)}
.ocard .oi{display:flex;gap:10px;align-items:center}
.ocard .oi img{width:56px;height:56px;border-radius:8px;object-fit:cover;background:var(--surface-2)}
.ocard .oi div{flex:1;min-width:0}
.ocard .oi b{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ocard .oi small{font-size:11.5px;color:var(--text-2)}
.ocard .of{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding-top:10px;border-top:1px solid var(--line)}
.ocard .of small{font-size:12px;color:var(--text-2)}
.ocard .of b{font-size:14px;font-weight:800}
.ocard .oa{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}
.ocard .oa button{height:34px;padding:0 12px;border-radius:8px;font-size:12px;font-weight:700;border:1.5px solid var(--line);color:var(--text)}
.ocard .oa button.p{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}

/* Halaman tambahan */
.btn.danger{background:var(--sale);color:#fff}
.confirm h4{font-size:17px;font-weight:700;margin-bottom:6px}
.confirm p{font-size:13.5px;color:var(--text-2);line-height:1.5;margin-bottom:18px}
.confirm .two{display:flex;gap:8px}
.confirm .two .btn{flex:1}
.legal a{color:var(--brand);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.promo-page{padding-bottom:20px}
.promo-banner{position:relative;margin:12px 14px 0;border-radius:12px;overflow:hidden;aspect-ratio:16/7;background:#ddd}
.promo-banner img{width:100%;height:100%;object-fit:cover}
.promo-banner div{position:absolute;inset:0;padding:16px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(180deg,transparent 30%,rgba(0,0,0,.65));color:#fff}
.promo-banner .kicker{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;opacity:.9}
.promo-banner h3{font-size:18px;font-weight:800;letter-spacing:-.02em}
.promo-page .vlist{margin-bottom:0}
.promo-page .vc{cursor:default}
.wl-note{margin:12px 14px 0;background:var(--surface-2);border-radius:8px;padding:9px 12px;font-size:12px;color:var(--text-2)}
.wl-item{display:flex;flex-direction:column}
.wl-item .card{flex:1}
.wl-add{margin-top:8px;height:34px;border-radius:8px;border:1.5px solid var(--brand);color:var(--brand);font-size:12px;font-weight:700;width:100%}
#page-wishlist{padding-bottom:24px}
#page-order{padding-bottom:24px}
.od-status{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;background:var(--surface);border-bottom:1px solid var(--line)}
.od-status small{display:block;font-size:11px;color:var(--text-3)}
.od-status b{display:block;font-size:17px;font-weight:800}
.od-status.unpaid b{color:var(--hot)}.od-status.shipped b{color:var(--promo)}.od-status.packed b{color:#2a5bd7}.od-status.cancel b{color:var(--sale)}
.stepper{display:flex;justify-content:space-between;position:relative}
.stepper::before{content:"";position:absolute;left:10%;right:10%;top:9px;height:2px;background:var(--line)}
.stepper>div{flex:1;display:flex;flex-direction:column;align-items:center;gap:6px;position:relative;text-align:center}
.stepper>div i{width:20px;height:20px;border-radius:50%;background:var(--surface);border:2px solid var(--line);display:grid;place-items:center}
.stepper>div.on i{background:var(--brand);border-color:var(--brand)}
.stepper>div.on i::after{content:"";width:8px;height:4px;border-left:2px solid var(--brand-ink);border-bottom:2px solid var(--brand-ink);transform:translateY(-1px) rotate(-45deg)}
.stepper>div.cur i{box-shadow:0 0 0 4px rgba(20,20,20,.12)}
.stepper>div span{font-size:10px;color:var(--text-3);line-height:1.2;font-weight:600}
.stepper>div.on span{color:var(--text)}
.timeline{display:flex;flex-direction:column}
.timeline>div{position:relative;padding:0 0 14px 22px}
.timeline>div::before{content:"";position:absolute;left:5px;top:14px;bottom:-2px;width:2px;background:var(--line)}
.timeline>div:last-child::before{display:none}
.timeline>div i{position:absolute;left:0;top:4px;width:12px;height:12px;border-radius:50%;background:var(--line)}
.timeline>div.cur i{background:var(--promo);box-shadow:0 0 0 4px var(--promo-bg)}
.timeline>div b{display:block;font-size:13px;font-weight:600}
.timeline>div.cur b{color:var(--promo)}
.timeline>div small{display:block;font-size:11.5px;color:var(--text-3);margin-top:2px}
.od-actions{display:flex;gap:8px;padding:14px}
.coin-hero{margin:12px 14px 0;background:var(--text);color:#fff;border-radius:14px;padding:20px;display:flex;flex-direction:column;align-items:center;text-align:center;position:relative;overflow:hidden}
.coin-hero::after{content:"";position:absolute;right:-40px;top:-40px;width:160px;height:160px;border-radius:50%;background:rgba(255,255,255,.07)}
.coin-hero small{font-size:12px;opacity:.75}
.coin-hero b{font-size:40px;font-weight:800;letter-spacing:-.03em;line-height:1.1;margin:4px 0}
.coin-hero span{font-size:12px;opacity:.75}
.coin-log>div{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid var(--line)}
.coin-log>div:last-child{border:0}
.coin-log b{display:block;font-size:13px;font-weight:500}
.coin-log small{font-size:11.5px;color:var(--text-3)}
.coin-log .plus{font-weight:800;color:var(--promo)}
.coin-log .minus{font-weight:800;color:var(--text-2)}
.help-search{padding:12px 14px 4px}
.help-search .search-box input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:14px}
.faq-group{background:var(--surface);margin-top:8px}
.faq-group .mt{font-size:11px;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.06em;padding:14px 14px 4px}
.faq{border-bottom:1px solid var(--line)}
.faq:last-child{border:0}
.faq button{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:13px 14px;font-size:13.5px;font-weight:500}
.faq button b{font-weight:700}
.faq button svg{width:18px;height:18px;stroke:var(--text-3);fill:none;stroke-width:2;margin-left:auto;flex:0 0 auto;transition:transform .2s}
.faq.open button svg{transform:rotate(180deg)}
.faq p{display:none;padding:0 14px 14px;font-size:13px;color:var(--text-2);line-height:1.55}
.faq.open p{display:block}
.policy{background:var(--surface);margin-top:8px;padding:16px 14px 24px}
.policy h2{font-size:17px;font-weight:800;letter-spacing:-.01em}
.policy>small{display:block;font-size:11.5px;color:var(--text-3);margin:4px 0 10px}
.policy h4{font-size:14px;font-weight:700;margin-top:16px}
.policy p{font-size:13px;color:var(--text-2);line-height:1.6;margin-top:4px}
.about{padding-bottom:20px}
.about-hero{width:100%;aspect-ratio:16/9;object-fit:cover}
.about h2{font-size:18px;font-weight:800;letter-spacing:-.02em;line-height:1.3}
.about p{font-size:13.5px;color:var(--text-2);line-height:1.6;margin-top:8px}
.about-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:14px}
.about-stats div{background:var(--surface-2);border-radius:10px;padding:10px;text-align:center}
.about-stats b{display:block;font-size:17px;font-weight:800;letter-spacing:-.02em}
.about-stats small{font-size:11px;color:var(--text-2)}
#page-settings{padding-bottom:24px}
.acc-menu button.sw-row{cursor:pointer}
.chat-sbar{display:none;align-items:center;gap:6px;padding:8px 14px;background:var(--surface);border-bottom:1px solid var(--line)}
.chat-sbar.show{display:flex}
.chat-sbar .search-box{flex:1;height:38px}
.chat-sbar .search-box input{flex:1;min-width:0;border:0;background:transparent;outline:0;font-size:13.5px}
.msg.dim,.msg-prod.dim{opacity:.25}

/* Di layar lebar: konten tetap selebar mobile, rata tengah, tanpa frame */
@media (min-width:600px){
  .app{box-shadow:0 0 0 1px var(--line)}
}

/* ---------- Tambahan SSR (aditif; tidak mengubah token/komponen di atas) ---------- */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero-txt h2,.hero-txt h1{font-size:20px;font-weight:800;line-height:1.15;letter-spacing:-.02em}
.card{position:relative}
.card .name a{color:inherit}
.card .name a::after{content:"";position:absolute;inset:0;z-index:1}
.card .swatches{position:relative;z-index:2}
.card .wish{z-index:2;border:0;cursor:pointer}
.flash-item{display:block;text-align:left}
.chip{display:inline-block}
.sortbar a{font-size:12px;font-weight:600;color:var(--text-2);padding:6px 9px;border-radius:999px}
.sortbar a.on{color:var(--text);background:var(--surface);border:1px solid var(--line)}
.pager{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:14px;font-size:13px;color:var(--text-2)}
.pager a{font-weight:700;color:var(--brand);padding:8px 10px}
.cat-intro{padding:0 14px 10px;font-size:13px;color:var(--text-2);line-height:1.55}
.cat-intro p+p{margin-top:8px}
.prose{font-size:13.5px;line-height:1.6;color:var(--text-2)}
.prose p+p,.prose ul,.prose ol{margin-top:8px}
.prose ul,.prose ol{padding-left:20px}
.prose strong{color:var(--text)}
.prose a{color:var(--brand);text-decoration:underline}
.char-grid.collapsed .char.extra{display:none}
.subhead .icon-btn{flex:0 0 auto}
a.size,a.color{text-decoration:none;color:inherit}
.size.low::after{content:"Sisa " attr(data-left)}
.sheet:target{transform:translate(-50%,0);visibility:visible;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
.pdp-top a.icon-btn{pointer-events:auto}
.notice{margin:0 14px 10px;padding:10px 12px;border-radius:10px;background:var(--hot-bg);color:var(--hot);font-size:12.5px;font-weight:600}
.desc p+p{margin-top:8px}
.desc ul,.desc ol{padding-left:20px;margin-top:8px}
/* Urutan heading yang benar (h1 > h2): selektor h2 setara dengan h3 pada desain */
.cat-sec h2{font-size:15px;font-weight:700;margin-bottom:12px;display:flex;justify-content:space-between;align-items:baseline}
.cat-sec h2 small{font-size:12px;font-weight:500;color:var(--text-3)}
.block h2{font-size:14px;font-weight:700;margin-bottom:10px;display:flex;align-items:center;justify-content:space-between}
.block h2 a{font-size:12px;color:var(--text-2);font-weight:600}

/* Varian tautan (<a>) untuk komponen desain yang memakai <button>: akun, pesanan */
.acc-orders h2{font-size:14px;font-weight:700;display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}
.acc-orders h2 a{font-size:12px;color:var(--text-2);font-weight:600}
.ostat .ost{display:flex;flex-direction:column;align-items:center;gap:6px;font-size:11px;font-weight:600;color:var(--text-2);position:relative;padding:4px 0}
.ostat .ost svg{width:26px;height:26px;stroke:var(--text);fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.acc-menu .mi{display:flex;align-items:center;gap:14px;width:100%;padding:13px 14px;text-align:left;border-bottom:1px solid var(--line)}
.acc-menu .mi:last-child{border-bottom:0}
.acc-menu .mi svg{width:22px;height:22px;stroke:var(--text);fill:none;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
.acc-menu .mi div{flex:1;min-width:0}
.acc-menu .mi b{display:block;font-size:14px;font-weight:500}
.acc-menu .mi small{display:block;font-size:12px;color:var(--text-2);margin-top:1px}
.acc-menu .mi .chev{color:var(--text-3)}
.acc-menu .mi .cnt{font-size:12px;color:var(--text-2);font-weight:600}
.acc-menu .mi.out b{color:var(--sale)}
.acc-menu .mi.out svg{stroke:var(--sale)}
.ocard .oa a{height:34px;padding:0 12px;border-radius:8px;font-size:12px;font-weight:700;border:1.5px solid var(--line);color:var(--text)}
.ocard .oa a.p{background:var(--brand);color:var(--brand-ink);border-color:var(--brand)}
.acc-menu .mi.sw-row{cursor:pointer}
.acc-menu .mi{color:inherit;text-decoration:none}
.acc-menu form{display:block}
.acc-menu .mi:last-child{border-bottom:0}

/* Tambahan aditif: varian semantik untuk halaman statis (details FAQ, tautan notifikasi, heading kebijakan). */
a.nitem{color:inherit;text-decoration:none}
details.faq{border-bottom:1px solid var(--line)}
details.faq:last-child{border:0}
details.faq summary{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:13px 14px;font-size:13.5px;font-weight:700;cursor:pointer;list-style:none}
details.faq summary::-webkit-details-marker{display:none}
details.faq summary svg{width:18px;height:18px;stroke:var(--text-3);fill:none;stroke-width:2;margin-left:auto;flex:0 0 auto;transition:transform .2s}
details.faq[open] summary svg{transform:rotate(180deg)}
details.faq .fa{padding:0 14px 14px;font-size:13px;color:var(--text-2);line-height:1.55}
details.faq .fa p+p{margin-top:8px}
.faq-group h2.mt{font-size:11px;font-weight:700;color:var(--text-3);text-transform:uppercase;letter-spacing:.06em;padding:14px 14px 4px}
.policy h3.ph4{font-size:14px;font-weight:700;margin-top:16px}
.policy p,.policy ul,.policy ol{font-size:13px;color:var(--text-2);line-height:1.6;margin-top:6px}
.policy ul,.policy ol{padding-left:18px}
.about .block p,.about .block ul,.about .block ol{font-size:13px;color:var(--text-2);line-height:1.6;margin-top:6px}
.about .block a,.policy a{color:var(--brand);font-weight:700;text-decoration:underline}
a.msg-prod{color:inherit;text-decoration:none}
.chat-attach{font-size:12px;color:var(--text-2);background:var(--surface-2);padding:8px 14px;border-bottom:1px solid var(--line)}
.chat-sbar[hidden]{display:none}
.menu-list a.mi{display:flex;align-items:center;gap:14px;width:100%;padding:13px 10px;border-radius:10px;color:inherit;text-decoration:none}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
