/* Font (OFL, dihosting sendiri; maks. 3 berkas) */
@font-face { font-family: "Fraunces"; src: url(/fonts/Fraunces.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/Fraunces-Italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/fonts/Manrope.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(/fonts/PlusJakartaSans.woff2) format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(/fonts/PlusJakartaSans-Italic.woff2) format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

/* Tema */
:root, [data-theme="etalase"] {
  --bg: #ffffff; --surface: #ffffff; --ink: #111111; --muted: #5e5e5e; --line: #e6e6e6;
  --accent: #111111; --on-accent: #ffffff; --accent-strong: #c4121a; --sale: #c4121a; --on-sale: #ffffff; --leaf: #2f6b3a; --on-leaf: #ffffff; --madu: #f2c94c; --sage: #f4f4f2;
  --dark: #111111; --on-dark: #ffffff; --dark-muted: #c9c9c9;
  --head-bg: #ffffff; --tile: #f4f4f2; --hero-bg: #2b2b2b; --hero-ink: #ffffff; --hero-em: #ffd3c4; --hero-btn: #ffffff; --hero-btn-ink: #111111; --hemat-bg: #fff3f1;
  --bk0: #f4f4f2; --bk1: #f4f4f2; --bk2: #f4f4f2; --bk3: #f4f4f2; --bk4: #f4f4f2; --bk0-ink: #111111; --bk4-ink: #111111;
  --font-head: "Plus Jakarta Sans", system-ui, sans-serif; --font-body: "Plus Jakarta Sans", system-ui, sans-serif;
  --radius: 0px; --head-weight: 800; --frame: 0px; --frame-alt: 0px;
  color-scheme: light;
}
[data-theme="pasar"] {
  --bg: #fbf6ee; --surface: #ffffff; --ink: #23180f; --muted: #6e5f50; --line: #eadfce;
  --accent: #b0431c; --on-accent: #ffffff; --accent-strong: #9a3a17; --leaf: #5f7449; --on-leaf: #ffffff; --madu: #e2a92b; --sage: #dfe6d2;
  --dark: #23180f; --on-dark: #fbf6ee; --dark-muted: #d9cbb8;
  --head-bg: #fbf6ee; --tile: #f3e3c4; --hero-bg: #b0431c; --hero-ink: #fbf6ee; --hero-em: #f6c75a; --hero-btn: #fbf6ee; --hero-btn-ink: #23180f;
  --bk0: #5f7449; --bk1: #e2a92b; --bk2: #f2c9b4; --bk3: #d8c6ad; --bk4: #b0431c; --bk0-ink: #fff; --bk4-ink: #fff; --sale: #b0431c; --hemat-bg: #fbeee4;
  --font-head: "Fraunces", Georgia, serif; --font-body: "Manrope", system-ui, sans-serif;
  --radius: 22px; --head-weight: 400; --frame: 300px 300px 26px 26px; --frame-alt: 26px;
  color-scheme: light;
}
[data-theme="segar"] {
  --bg: #fdf8f1; --surface: #ffffff; --ink: #1d2a33; --muted: #52606b; --line: #e6e0d6;
  --accent: #c2410c; --on-accent: #ffffff; --leaf: #237a35; --madu: #f4b740; --sage: #dff1ec;
  --dark: #0f4c5c; --on-dark: #f1fbfd; --dark-muted: #a8d5df;
  --head-bg: #fde7cc; --tile: #fff1e0; --hero-bg: #fff4e6; --hero-ink: #1d2a33; --hero-em: #c2410c; --hero-btn: #c2410c; --hero-btn-ink: #ffffff; --accent-strong: #9a3412;
  --bk0: #ffe2c2; --bk1: #d6efe7; --bk2: #fdf0b9; --bk3: #dbeaf3; --bk4: #f3dccd; --bk0-ink: #1d2a33; --bk4-ink: #1d2a33; --sale: #b42318; --hemat-bg: #fff1e0;
  --font-head: "Manrope", system-ui, sans-serif; --font-body: "Manrope", system-ui, sans-serif;
  --radius: 22px; --head-weight: 800; --frame: 28px; --frame-alt: 28px;
}
[data-theme="netral"] {
  --bg: #f6f6f4; --surface: #ffffff; --ink: #1b2230; --muted: #5b6270; --line: #e2e2de;
  --accent: #1b2230; --on-accent: #ffffff; --leaf: #1f7a4d; --madu: #e9e5da; --sage: #ececea;
  --dark: #1b2230; --on-dark: #f6f6f4; --dark-muted: #b5b9c2;
  --head-bg: #e9e9e5; --tile: #ececea; --hero-bg: #e9e9e5; --hero-ink: #1b2230; --hero-em: #1b2230; --hero-btn: #1b2230; --hero-btn-ink: #ffffff; --accent-strong: #1b2230;
  --bk0: #ecebe7; --bk1: #e4e6e2; --bk2: #efece5; --bk3: #e6e7ec; --bk4: #e2e2de; --bk0-ink: #1b2230; --bk4-ink: #1b2230; --sale: #b42318; --hemat-bg: #f1f1ee;
  --font-head: "Manrope", system-ui, sans-serif; --font-body: "Manrope", system-ui, sans-serif;
  --radius: 12px; --head-weight: 800; --frame: 12px; --frame-alt: 12px;
}

/* Dasar */
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.6 var(--font-body); color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--font-head); font-weight: var(--head-weight); line-height: 1.08; margin: 0 0 .4em; letter-spacing: -.02em; }
h1 em, h2 em { font-style: italic; color: var(--accent); }
h2 { font-size: clamp(1.7rem, 5.4vw, 2.6rem); }
main { min-height: 60vh; padding-bottom: 56px; }
.ends-story main { padding-bottom: 0; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 18px; }
.narrow { max-width: 720px; }
.small { font-size: .875rem; color: var(--muted); }
.hint { display: block; font-weight: 400; font-size: .8rem; color: var(--muted); }
.err { color: #b3261e; }
.eyebrow, .kicker { font: 800 .7rem/1.3 var(--font-body); letter-spacing: .16em; text-transform: uppercase; color: var(--accent-strong); margin: 0 0 8px; }
.kicker { color: var(--muted); letter-spacing: .12em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 8px; z-index: 50; background: var(--surface); padding: 8px 12px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Logo & monogram (logo bawaan: inisial di bawah busur jahitan matahari senja) */
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; }
.logo-img { width: 44px; height: 44px; object-fit: contain; border-radius: 10px; flex: none; }
.wm { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.wm b { font: var(--head-weight) 1.45rem/1.05 var(--font-head); letter-spacing: -.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm small { font: 800 .56rem/1 var(--font-body); letter-spacing: .3em; color: var(--accent-strong); margin-top: 5px; text-transform: uppercase; }
.mono-logo { position: relative; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: var(--madu); display: grid; place-items: center; overflow: hidden; font: var(--head-weight) 1.05rem/1 var(--font-head); }
.mono-logo span { position: relative; z-index: 1; }
[data-theme="pasar"] .mono-logo { border-radius: 50% 50% 8px 8px; background: var(--accent); color: var(--on-accent); font-size: 1.2rem; overflow: visible; }
[data-theme="pasar"] .mono-logo span { margin-top: 6px; }
[data-theme="pasar"] .mono-logo::before { content: ""; position: absolute; inset: 4px 4px auto; height: 36px; border: 2px dashed var(--madu); border-bottom: 0; border-radius: 40px 40px 0 0; }
[data-theme="etalase"] .mono-logo { border-radius: 8px; background: var(--ink); color: var(--bg); font: 800 1.05rem/1 var(--font-body); letter-spacing: -.02em; }
[data-theme="etalase"] .announce { background: var(--ink); color: var(--bg); }
[data-theme="etalase"] .util { background: var(--tile); color: var(--ink); }
[data-theme="etalase"] .util svg { color: var(--sale); }
[data-theme="etalase"] .wm b { font: 800 1.3rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
[data-theme="etalase"] .wm small { color: var(--muted); letter-spacing: .34em; }
[data-theme="etalase"] .logo-img { border-radius: 9px; }
.mono-logo.inv { background: var(--on-dark); color: var(--dark); }
[data-theme="pasar"] .mono-logo.inv { background: var(--madu); color: var(--dark); }
[data-theme="pasar"] .mono-logo.inv::before { border-color: var(--dark); }
.mono-logo.xl { width: 96px; height: 96px; font-size: 2.2rem; margin: 0 auto 14px; }
[data-theme="pasar"] .mono-logo.xl::before { height: 80px; inset: 8px 8px auto; border-radius: 90px 90px 0 0; }

/* Header */
.announce { background: var(--madu); color: #23180f; text-align: center; font-size: .82rem; font-weight: 700; padding: 7px 16px; }
.top { position: sticky; top: 0; z-index: 20; background: var(--head-bg); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 66px; }
.nav { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .95rem; flex: none; }
.nav a { text-decoration: none; }
.cartlink { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 9px 14px; border-radius: 999px; background: var(--ink); color: var(--bg); }
.cartlink b { background: var(--madu); color: #23180f; border-radius: 999px; min-width: 22px; padding: 0 6px; text-align: center; font-size: .8rem; }
.util { background: var(--dark); color: var(--on-dark); font-size: .78rem; font-weight: 600; }
.util .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 34px; }
.util span { display: inline-flex; align-items: center; gap: 16px; } .util svg { width: 15px; height: 15px; color: var(--madu); }
.util a { display: inline-flex; align-items: center; gap: 6px; color: inherit; text-decoration: none; }
.util a:hover { text-decoration: underline; }
.top .topbar { gap: 20px; min-height: 74px; }
.topsearch { flex: 1; max-width: 560px; display: flex; align-items: center; gap: 8px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line); color: var(--muted); }
.topsearch:focus-within { border-color: var(--accent); outline: 3px solid var(--accent); outline-offset: 2px; }
.topsearch input { flex: 1; min-width: 0; margin: 0; padding: 11px 0; border: 0; background: none; }
.catnav { border-top: 1px solid var(--line); }
.top .catnav .wrap { justify-content: flex-start; gap: 28px; min-height: 0; overflow-x: auto; scrollbar-width: none; }
.catnav a { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 11px 0; border-bottom: 2.5px solid transparent; font-weight: 700; font-size: .88rem; text-decoration: none; }
.catnav a:hover { color: var(--accent-strong); border-bottom-color: var(--accent); }
.catnav svg { color: var(--accent); }
@media (max-width: 640px) { .top .topbar { flex-wrap: wrap; row-gap: 10px; padding-block: 10px; min-height: 0; } .topsearch { order: 5; flex-basis: 100%; max-width: none; } }
@media (max-width: 640px) { .hide-sm { display: none; } .nav { gap: 8px; } .modebtn { width: 36px; height: 36px; } .cartlink { padding: 8px 12px; } }
@media (max-width: 420px) { .wm b { font-size: 1.15rem; } .logo-img, .mono-logo { width: 38px; height: 38px; } [data-theme="pasar"] .mono-logo::before { height: 30px; } }

/* Tombol */
.btns { display: flex; flex-wrap: wrap; gap: 10px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; margin: 10px 0; padding: 14px 24px; min-height: 50px; border: 0; border-radius: 999px; background: var(--accent); color: var(--on-accent); font: 800 1rem var(--font-body); text-align: center; text-decoration: none; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn:disabled { opacity: .6; }
form .btn, .cobox .btn, .buyrow .btn, .paybox .btn { width: 100%; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px -12px rgba(35, 24, 15, .45); }
  .btn.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
}

/* Banner bertumpuk (pola etalase besar): foto utama penuh lebar + banner produk unggulan */
.hb-main { position: relative; display: block; min-height: 72vh; background: var(--hero-bg); color: var(--hero-ink); text-decoration: none; overflow: hidden; }
.hb-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hb-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(0 0 0 / .62), rgb(0 0 0 / .08) 58%, transparent); }
.hb-tx { position: absolute; z-index: 1; left: 0; right: 0; bottom: 30px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: #fff; }
.hb-tx .eyebrow { color: #fff; }
.hb-tx .h1 { font: var(--head-weight) clamp(2.3rem, 9vw, 4.6rem)/1 var(--font-head); letter-spacing: -.035em; max-width: 14ch; }
.hb-tx .h1 em { color: #ffd3c4; font-style: italic; }
.hb-tx .lead { max-width: 46ch; font-size: 1.02rem; }
.hb-tx .btn { margin-top: 8px; background: #fff; color: #111; }
.hb-main .stamp { left: auto; right: 22px; top: 22px; bottom: auto; z-index: 2; }
@media (min-width: 900px) { .hb-main { min-height: 84vh; } .hb-tx { bottom: 56px; } }
.banners { display: grid; gap: 14px; padding-top: 14px; }
.hb-item { display: grid; grid-template-columns: minmax(0, 1fr); background: var(--tile); color: var(--ink); text-decoration: none; border-radius: var(--radius); overflow: hidden; }
.hb-ph { display: block; background: var(--tile); }
.hb-ph img { width: 100%; aspect-ratio: 3 / 4; max-height: 360px; object-fit: contain; }
@media (min-width: 820px) { .hb-ph img { max-height: 460px; } }
.hb-info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 8px; padding: 22px; }
.hb-info .h2 { font: var(--head-weight) clamp(1.8rem, 5vw, 2.8rem)/1.05 var(--font-head); letter-spacing: -.02em; }
.hb-price { font-size: 1.9rem; }
.hb-price .price { color: var(--sale); }
.tag-promo { background: var(--sale); color: var(--on-sale, #fff); font: 800 .72rem var(--font-body); letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 4px; }
@media (min-width: 820px) { .hb-item { grid-template-columns: 1fr 1fr; align-items: center; } .hb-item.rev .hb-ph { order: 2; } .hb-info { padding: 40px 56px; } }
.stamp { position: absolute; width: 112px; height: 112px; transform: rotate(-12deg); }
.stamp svg { width: 100%; height: 100%; overflow: visible; }
.st-bg { fill: var(--madu); }
.st-line { fill: none; stroke: #23180f; stroke-width: 1.5; stroke-dasharray: 2 4; }
.st-ring { font: 800 10px var(--font-body); fill: #23180f; }
.st-mid { font: italic var(--head-weight) 20px var(--font-head); fill: #23180f; }
@media (max-width: 899px) { .stamp { width: 84px; height: 84px; } }

/* Strip kepercayaan */
.trust-strip { border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-strip ul { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 16px; margin: 0 auto; padding-block: 16px; }
.trust-strip li { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; }
.trust-strip svg { flex: none; color: var(--accent); }
@media (min-width: 820px) { .trust-strip ul { grid-template-columns: repeat(4, 1fr); } }

/* Kategori lingkaran & deret geser */
.circles { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 2px 8px; }
.cc { flex: none; width: 92px; display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; text-decoration: none; scroll-snap-align: start; }
.cc-ph { display: block; width: 84px; height: 84px; margin-bottom: 6px; border-radius: 50%; overflow: hidden; background: var(--tile); box-shadow: 0 0 0 1px var(--line); }
.cc-ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.cc b { font-size: .88rem; } .cc small { font-size: .74rem; color: var(--muted); }
.cc:hover .cc-ph { box-shadow: 0 0 0 2px var(--accent); }
@media (min-width: 900px) { .circles { gap: 30px; } .cc { width: 116px; } .cc-ph { width: 104px; height: 104px; } }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 46%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 12px; scrollbar-width: thin; }
.rail > div { display: flex; scroll-snap-align: start; } .rail .card { flex: 1; }
@media (min-width: 720px) { .rail { grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; } }
@media (min-width: 1000px) { .rail { grid-auto-columns: calc((100% - 64px) / 5); } }

/* Jalur hemat & ajakan afiliasi */
.hemat { background: var(--hemat-bg); margin-top: 44px; padding-block: 28px 36px; }
.hemat-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.hemat-head h2 { margin: 0; } .hemat-head .eyebrow { color: var(--sale); }
.hemat-head .btn { margin: 0; background: var(--sale); color: var(--on-sale, #fff); }
.aff-strip { margin-top: 28px; }
.aff-strip a { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; }
.aff-strip b { display: block; } .aff-strip small { color: var(--muted); }
.aff-strip a > svg:last-child { margin-left: auto; flex: none; }
.aff-ic { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--sale); color: var(--on-sale, #fff); }

/* Seksi */
.sec { padding-block: 44px 8px; }
.sh { margin-bottom: 18px; }
.row-sh { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; }
.row-sh h2 { margin: 0; }
.more { font-weight: 800; font-size: .9rem; text-decoration: none; border-bottom: 2px solid var(--accent); white-space: nowrap; }
.search input { width: min(300px, 86vw); margin: 0; border-radius: 999px; padding: 11px 18px; }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 14px; scrollbar-width: none; }
.chips a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; font-size: .9rem; }
.chips a[aria-current] { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* Kartu */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.card { display: flex; flex-direction: column; text-decoration: none; }
.ph { position: relative; background: var(--tile); aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; }
.grid .card:nth-child(4n+2) .ph { background: var(--sage); } .grid .card:nth-child(4n+3) .ph { background: var(--bk2); } .grid .card:nth-child(4n) .ph { background: var(--bk3); }
.ph img, .ph .noimg { width: 100%; height: 100%; object-fit: cover; }
.ph .alt2 { position: absolute; inset: 0; opacity: 0; transition: opacity .25s; }
@media (hover: hover) { .card:hover .alt2 { opacity: 1; } }
@media (hover: none) { .ph .alt2 { display: none; } }
.noimg { display: grid; place-items: center; background: var(--tile); color: var(--muted); font: var(--head-weight) 2.4rem var(--font-head); aspect-ratio: 3 / 4; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 2; background: var(--ink); color: var(--bg); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.badge.b-hot { background: var(--accent); color: var(--on-accent); }
.badge.b-new { background: var(--leaf); color: var(--on-leaf, #fff); }
.badge.b-fav { background: var(--madu); color: #23180f; }
.badge.out { background: var(--surface); color: var(--ink); }
.badge.sale { background: var(--sale); color: var(--on-sale, #fff); border-radius: 4px; }
p.badge.out { position: static; display: inline-block; margin: 0; background: var(--ink); color: var(--bg); }
.cb { display: flex; flex-direction: column; gap: 2px; padding: 12px 2px 0; flex: 1; }
.cb h3 { font: 800 1.02rem/1.3 var(--font-body); letter-spacing: -.01em; margin: 0; }
.notes { color: var(--muted); font-size: .86rem; margin: 2px 0 0; line-height: 1.4; }
.notes.big { font-size: 1.04rem; margin-bottom: 10px; }
.cf { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.meta-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.szr { font-size: .74rem; font-weight: 700; color: var(--muted); border: 1.5px solid var(--line); border-radius: 999px; padding: 1px 8px; }
.price { font-weight: 800; color: var(--accent-strong); }
.price small { font-weight: 600; color: var(--muted); font-size: .75rem; }
.was { color: var(--muted); font-size: .82rem; }
.off { display: inline-block; padding: 1px 6px; border-radius: 6px; background: var(--accent); color: var(--on-accent); font-size: .72rem; font-weight: 800; }
.dots { display: inline-flex; align-items: center; gap: 4px; }
.dots i, .dot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px rgba(0, 0, 0, .18); }
.dots small { font-size: .72rem; font-weight: 800; color: var(--muted); }
.dot { width: 12px; height: 12px; margin-right: 6px; }

/* Padu padan */
.padu { background: var(--sage); margin-top: 56px; padding-block: 48px; }
.look { display: grid; gap: 22px; align-items: center; margin-top: 18px; }
.look + .look { margin-top: 40px; }
.look-ph { display: block; border-radius: var(--frame); overflow: hidden; background: var(--tile); max-width: 460px; }
.look-ph img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.li { list-style: none; margin: 0; padding: 0; }
.li a { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1.5px dashed var(--ink); text-decoration: none; }
.li img, .li .noimg { width: 64px; height: 84px; object-fit: cover; border-radius: 12px; background: var(--bg); font-size: 1.2rem; }
.li b { display: block; font: var(--head-weight) 1.3rem/1.15 var(--font-head); }
.look-sum { font-size: 1.05rem; margin: 14px 0 0; }
@media (min-width: 860px) { .look { grid-template-columns: 1fr 1.1fr; gap: 56px; } .look.rev .look-ph { order: 2; justify-self: end; } }

/* Kartu tiket (padu padan di halaman produk) */
.tikets { display: grid; gap: 12px; }
@media (min-width: 820px) { .tikets { grid-template-columns: 1fr 1fr; } }
.tiket { display: grid; grid-template-columns: 104px minmax(0, 1fr); background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.tk-ph { overflow: hidden; border-radius: calc(var(--radius) - 2px) 0 0 calc(var(--radius) - 2px); background: var(--tile); }
.tk-ph img, .tk-ph .noimg { width: 100%; height: 100%; object-fit: cover; aspect-ratio: auto; }
.tk-tx { position: relative; padding: 12px 14px; border-left: 2px dashed var(--line); }
.tk-tx h3 { font: 800 1.02rem/1.3 var(--font-body); margin: 0; }
.tk-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.tk-go { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--bg); display: grid; place-items: center; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { .tiket:hover { transform: translateY(-3px); box-shadow: 0 16px 32px -18px rgba(35, 24, 15, .4); } }

/* Cerita */
.story { position: relative; background: var(--dark); color: var(--on-dark); margin-top: 56px; overflow: hidden; }
.padu + .story { margin-top: 0; }
.story-in { display: grid; gap: 24px; padding-block: 48px 64px; align-items: center; }
@media (min-width: 820px) { .story-in { grid-template-columns: 1fr 1fr; gap: 56px; padding-block: 72px 88px; } }
.story h2 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.story-ph img { border-radius: var(--frame); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 440px; }
.story .eyebrow, .story h2 em { color: var(--madu); }
.story p { color: var(--on-dark); opacity: .92; }
.story .btn.ghost { color: var(--on-dark); box-shadow: inset 0 0 0 1.5px var(--on-dark); }

/* Halaman produk */
.crumbs { font-size: .85rem; color: var(--muted); padding-top: 16px; }
.crumbs a { text-decoration: none; }
.pd { display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; padding-block: 12px 32px; }
@media (min-width: 880px) { .pd { grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; } .gallery { position: sticky; top: 84px; } }
.gallery { position: relative; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; border-radius: var(--radius); background: var(--tile); scrollbar-width: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 3 / 4; }
.slide img, .slide .noimg { width: 100%; height: 100%; object-fit: cover; }
.gallery > .badge { top: 16px; left: 16px; }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.thumbs a { flex: none; width: 60px; height: 80px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; background: var(--tile); }
.thumbs a.on { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pinfo h1 { font-size: clamp(2.1rem, 7vw, 3.2rem); margin-bottom: 6px; overflow-wrap: break-word; }
.pprice { font-size: 1.55rem; margin: 6px 0 14px; }
fieldset { border: 0; padding: 0; margin: 0 0 16px; min-width: 0; }
legend { font-weight: 800; font-size: .92rem; margin-bottom: 8px; }
legend b { font-weight: 600; color: var(--muted); }
.lnk { font-weight: 700; color: var(--accent-strong); }
.sws { display: flex; flex-wrap: wrap; gap: 10px; }
.sw { position: relative; display: block; width: 44px; height: 44px; border-radius: 50%; background: var(--c); border: 3px solid var(--bg); box-shadow: 0 0 0 1px rgba(0, 0, 0, .2); }
.sw.on { box-shadow: 0 0 0 2.5px var(--ink); }
.sw.out::after { content: ""; position: absolute; left: 50%; top: -2px; bottom: -2px; width: 2px; background: var(--ink); transform: rotate(45deg); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { margin: 0; cursor: pointer; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill > span { display: inline-block; min-width: 56px; text-align: center; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); font-weight: 800; font-size: .92rem; }
.pill small { display: block; font-size: .68rem; color: var(--accent-strong); font-weight: 800; }
.pill input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pill input:checked + span small { color: var(--madu); }
.pill input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.pill input:disabled + span { color: var(--muted); text-decoration: line-through; background: repeating-linear-gradient(135deg, transparent 0 6px, var(--line) 6px 7px); cursor: not-allowed; }
.tanya { font-size: .86rem; margin: 10px 0 0; }
.tanya a { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; color: var(--accent-strong); }
.tanya svg { width: 16px; height: 16px; }
.model { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; font-size: .9rem; background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; margin: 0 0 16px; }
.model > svg { color: var(--accent); flex: none; }
.fit { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; font-weight: 700; font-size: .82rem; }
.fitbar { display: inline-flex; gap: 3px; }
.fitbar i { width: 18px; height: 6px; border-radius: 3px; background: var(--line); }
.fitbar i.on { background: var(--accent); }
.panduan { background: var(--surface); border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; margin: 0 0 16px; }
.panduan summary { cursor: pointer; padding: 13px 0; font-weight: 800; display: flex; align-items: center; gap: 8px; }
.panduan summary svg { color: var(--accent); }
.tbl { overflow-x: auto; }
.panduan table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
.panduan th, .panduan td { padding: 8px 6px; text-align: center; border-bottom: 1px dashed var(--line); }
.panduan thead th { font-size: .74rem; letter-spacing: .04em; color: var(--muted); }
.panduan tbody th { text-align: left; }
.saran { display: grid; gap: 8px; padding: 12px 0 14px; border-top: 1.5px solid var(--line); }
.saran label { margin: 0; }
.saran input { max-width: 180px; }
.saran output { font-weight: 800; color: var(--accent-strong); }
.saran output a { color: inherit; }
.buyrow { display: flex; gap: 10px; align-items: stretch; }
.buyrow .btn { margin: 0; flex: 1; min-width: 0; }
.atr { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 18px 0 0; }
.atr li { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: var(--tile); font-weight: 700; font-size: .84rem; }
.atr svg { width: 15px; height: 15px; color: var(--leaf); }
.janji { list-style: none; display: grid; gap: 8px; padding: 0; margin: 16px 0 0; }
@media (min-width: 560px) { .janji { grid-template-columns: repeat(3, 1fr); } }
.janji li { display: flex; gap: 10px; align-items: flex-start; padding: 12px; border-radius: 14px; border: 1.5px solid var(--line); font-size: .8rem; color: var(--muted); }
.janji svg { flex: none; color: var(--accent); }
.janji b { display: block; color: var(--ink); font-size: .86rem; }
.janji a { color: inherit; }
.specs { margin-top: 26px; }
.specs h2, .desc h2 { font-size: 1.4rem; }
.specs dl { display: grid; grid-template-columns: minmax(110px, auto) 1fr; margin: 0; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs dt, .specs dd { margin: 0; padding: 11px 14px; border-bottom: 1px dashed var(--line); }
.specs dt { color: var(--muted); font-size: .84rem; font-weight: 800; }
.specs dl > :nth-last-child(-n+2) { border-bottom: 0; }
.desc { margin-top: 26px; }
.btn.small { min-height: 40px; padding: 9px 16px; font-size: .88rem; }
.share { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 12px; font-weight: 800; font-size: .9rem; color: var(--accent-strong); }
.buybar { display: none; }
@media (max-width: 879px) {
  .buybar { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1.5px solid var(--ink); }
  .buybar span { font-weight: 800; font-size: 1.1rem; color: var(--accent-strong); }
  .buybar .btn { margin: 0; flex: 1; }
  .has-buybar .foot { padding-bottom: 96px; }
}

/* Form */
label { display: block; margin-bottom: 14px; font-weight: 700; font-size: .92rem; }
input, textarea, select { width: 100%; font: inherit; font-weight: 400; padding: 12px 14px; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--surface); color: var(--ink); }
input:focus, textarea:focus, select:focus { border-color: var(--ink); outline: none; }
input[type=color] { height: 48px; padding: 4px; }
input[type=radio], input[type=checkbox] { width: auto; margin: 0; accent-color: var(--accent); }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); width: max-content; }
.stepper button { width: 40px; height: 44px; border: 0; background: none; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.stepper input, .stepper span { width: 36px; text-align: center; border: 0; margin: 0; padding: 0; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.stepper.sm button { width: 40px; height: 40px; }

/* Checkout & pesanan */
.flow { display: flex; gap: 6px; list-style: none; padding: 0; margin: 24px 0 0; font-size: .78rem; font-weight: 800; }
.flow li { padding: 5px 12px; border-radius: 999px; background: var(--surface); color: var(--muted); border: 1.5px solid var(--line); }
.flow li.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.ptitle { font-size: clamp(2rem, 6vw, 2.8rem); margin-top: 18px; }
.narrow > .eyebrow:first-child { margin-top: 28px; }
.narrow > .eyebrow:first-child + .ptitle { margin-top: 0; }
.co { display: grid; gap: 16px; padding-bottom: 32px; }
.cobox { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; }
.cobox h2 { font-size: 1.35rem; }
.cline { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); }
.cline img, .cline .noimg { width: 56px; height: 74px; border-radius: 10px; object-fit: cover; font-size: 1.2rem; background: var(--tile); }
.cline small { display: block; color: var(--muted); }
.cline .amt { font-weight: 800; text-align: right; }
.sum { display: flex; justify-content: space-between; padding: 8px 0 0; }
.sum.total { font-weight: 800; font-size: 1.15rem; border-top: 1.5px solid var(--ink); margin-top: 8px; padding-top: 12px; }
.opt { display: flex; align-items: flex-start; gap: 12px; padding: 14px; margin-bottom: 8px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--bg); }
.opt small { display: block; font-weight: 400; color: var(--muted); }
.opt input { margin-top: 4px; }
.opt input:checked + span b { text-decoration: underline 2px var(--accent); text-underline-offset: 4px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .88rem; }
.consent input { margin-top: 4px; }
.trust { display: flex; align-items: center; gap: 8px; justify-content: center; font-size: .82rem; color: var(--muted); margin: 0; }
.lines { width: 100%; border-collapse: collapse; }
.lines td { padding: 10px 0; border-bottom: 1px dashed var(--line); vertical-align: top; }
.lines td small { display: block; color: var(--muted); }
.lines td:last-child { text-align: right; white-space: nowrap; }
.lines .q { color: var(--muted); width: 48px; }
.lines .total td { font-weight: 800; font-size: 1.1rem; border-bottom: 0; }
.status { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--tile); font-weight: 800; }
.s-lunas, .s-dikirim, .s-selesai { background: #dcefdc; color: #1f5f2a; }
.s-batal { background: #fbe3e1; color: #8c1d18; }
.steps { display: flex; list-style: none; padding: 0; margin: 18px 0; }
.steps li { flex: 1; text-align: center; font-size: .8rem; color: var(--muted); position: relative; padding-top: 30px; counter-increment: s; }
.steps li::before { content: counter(s); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 24px; height: 24px; border-radius: 50%; background: var(--line); color: var(--ink); font-weight: 800; line-height: 24px; z-index: 1; }
.steps li::after { content: ""; position: absolute; top: 11px; left: -50%; width: 100%; height: 3px; background: var(--line); }
.steps li:first-child::after { display: none; }
.steps li.done { color: var(--ink); font-weight: 700; }
.steps li.done::before { content: "✓"; background: var(--leaf); color: #fff; }
.steps li.done::after { background: var(--leaf); }
.paybox { background: var(--surface); border: 2px solid var(--ink); border-radius: var(--radius); padding: 20px; margin: 16px 0; text-align: center; box-shadow: 0 16px 40px -20px rgba(35, 24, 15, .35); }
.paybox .big { font: var(--head-weight) 2.4rem var(--font-head); margin: 0 0 6px; color: var(--accent-strong); }
.paybox .qris { margin: 14px auto; max-width: 300px; width: 100%; border-radius: 12px; border: 1px solid var(--line); }
.thanks { display: flex; align-items: center; gap: 14px; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 16px 0; }
.thanks .illus { width: 72px; flex: none; color: var(--ink); }
.thanks p { margin: 0; }
.resi { background: var(--surface); padding: 10px 14px; border-radius: 12px; border: 1px solid var(--line); }

/* Kosong & halaman pendukung */
.empty { text-align: center; padding: 28px 0; color: var(--muted); }
.empty .illus, .big-empty .illus { width: 140px; margin: 0 auto 8px; color: var(--ink); }
.empty .btn { margin-inline: auto; }
.big-empty { padding: 48px 18px 24px; }
.big-empty .btns { justify-content: center; }
.legal { padding-block: 24px 40px; }
.legal h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); }
.legal h2 { font-size: 1.25rem; margin-top: 26px; }
.toc { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 14px 18px; margin: 12px 0 8px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 24px; font-size: .9rem; }
.toc a { text-decoration: none; border-bottom: 1px solid var(--line); }
.about-hero { background: var(--hero-bg); color: var(--hero-ink); text-align: center; padding: 44px 0 24px; }
.about-hero h1 { font-size: clamp(2.2rem, 7vw, 3.4rem); }
.about-hero .eyebrow { color: var(--hero-ink); }
.about-hero h1 em { color: var(--hero-em); }
.about-logo { width: 96px; height: 96px; object-fit: contain; margin: 0 auto 14px; border-radius: 20px; }
.about-ph img { border-radius: var(--frame-alt); margin: 18px 0; }

/* Footer */
.foot { position: relative; background: var(--dark); color: var(--dark-muted); padding: 40px 0 24px; font-size: .9rem; overflow: hidden; }
.ftag { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; padding-bottom: 22px; margin-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ftag p { flex: 1; min-width: 200px; margin: 0; } .ftag .fbrand { margin: 0; }
.paychips { display: flex; flex-wrap: wrap; gap: 8px; }
.paychips span { padding: 6px 12px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: var(--on-dark); font-weight: 800; font-size: .8rem; }
.fgrid { position: relative; display: grid; gap: 22px; }
@media (min-width: 720px) { .fgrid { grid-template-columns: repeat(3, 1fr); } }
.fbrand { color: var(--on-dark); margin-bottom: 10px; }
.fbrand .wm small { color: var(--madu); }
.fbrand .logo-img { background: var(--on-dark); border-radius: 50%; padding: 3px; }
.fh { color: var(--on-dark); font-weight: 800; margin: 0 0 6px; }
.foot a { text-decoration: none; display: inline-block; padding: 10px 0; }
.foot a:hover { text-decoration: underline; }
.soc { display: inline-flex; align-items: center; gap: 6px; }
.fsmall { position: relative; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .78rem; }
.fsmall p { margin: 4px 0; }

/* content-visibility (hemat CPU HP) */
.padu, .story, .foot { content-visibility: auto; contain-intrinsic-size: auto 640px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* Mode gelap */
[data-mode="gelap"] { color-scheme: dark; }
[data-mode="gelap"][data-theme="etalase"] {
  --bg: #121212; --surface: #1b1b1b; --ink: #f2f2f2; --muted: #b3b3b3; --line: #2e2e2e;
  --accent: #f2f2f2; --on-accent: #121212; --accent-strong: #ff7a72; --sale: #ff6b63; --on-sale: #121212; --on-leaf: #121212; --leaf: #8fc79a; --sage: #1d1d1d;
  --dark: #0a0a0a; --on-dark: #f2f2f2; --dark-muted: #bdbdbd; --head-bg: #121212; --tile: #222222; --hero-bg: #222222; --hemat-bg: #241615;
  --bk0: #222222; --bk1: #222222; --bk2: #222222; --bk3: #222222; --bk4: #222222; --bk0-ink: #f2f2f2; --bk4-ink: #f2f2f2;
}
[data-mode="gelap"][data-theme="pasar"] {
  --bg: #1a130d; --surface: #241a12; --ink: #f6eee3; --muted: #bcaa96; --line: #3a2c20;
  --accent: #f08f62; --accent-strong: #f5a47c; --on-accent: #1a130d; --leaf: #a9c08f; --on-leaf: #1a130d; --madu: #f0bd52; --sage: #222a1c;
  --dark: #110c08; --on-dark: #f6eee3; --dark-muted: #c9b8a3; --head-bg: #1d150e; --tile: #2e2218; --hero-bg: #7a2c12; --sale: #ff8a5c; --on-sale: #1a130d; --hemat-bg: #2a1a10; --hero-ink: #fbf0e3; --hero-em: #f6c75a; --hero-btn: #fbf0e3; --hero-btn-ink: #23180f;
  --bk0: #33402a; --bk1: #4a3814; --bk2: #4a2c22; --bk3: #3a2f22; --bk4: #6a2a12; --bk0-ink: #f6eee3; --bk4-ink: #f6eee3;
}
[data-mode="gelap"][data-theme="segar"] {
  --bg: #0f1b21; --surface: #16262e; --ink: #e8f1f4; --muted: #a9bcc4; --line: #263a44;
  --accent: #ff8a4c; --accent-strong: #ff8a4c; --on-accent: #0f1b21; --madu: #f4b740; --sage: #12302b;
  --dark: #0a1418; --on-dark: #e8f1f4; --dark-muted: #9fb8c2; --head-bg: #13232a; --tile: #1d2f38; --hero-bg: #12212a; --sale: #ff8a4c; --on-sale: #0f1b21; --hemat-bg: #1d2a26; --hero-ink: #e8f1f4; --hero-em: #ff8a4c; --hero-btn: #ff8a4c; --hero-btn-ink: #0f1b21;
  --bk0: #3f2a17; --bk1: #173a33; --bk2: #3b3514; --bk3: #18303d; --bk4: #3a2a20; --bk0-ink: #e8f1f4; --bk4-ink: #e8f1f4;
}
[data-mode="gelap"][data-theme="netral"] {
  --bg: #121418; --surface: #1b1e24; --ink: #eceef2; --muted: #a8adb8; --line: #2c3038;
  --accent: #eceef2; --accent-strong: #eceef2; --on-accent: #121418; --madu: #d9d4c7; --sage: #1f2228;
  --dark: #0b0c0f; --on-dark: #eceef2; --dark-muted: #a8adb8; --head-bg: #1b1e24; --tile: #23262d; --hero-bg: #16181d; --sale: #ff8a80; --on-sale: #121418; --hemat-bg: #1f1b1d; --hero-ink: #eceef2; --hero-em: #eceef2; --hero-btn: #eceef2; --hero-btn-ink: #121418;
  --bk0: #23262d; --bk1: #22262a; --bk2: #26252a; --bk3: #23252f; --bk4: #2c3038; --bk0-ink: #eceef2; --bk4-ink: #eceef2;
}
[data-mode="gelap"] .s-lunas, [data-mode="gelap"] .s-dikirim, [data-mode="gelap"] .s-selesai { background: #1f3a24; color: #cdeccf; }
[data-mode="gelap"] .s-batal { background: #3d1c1a; color: #f6c9c5; }
[data-mode="gelap"] .paybox .qris { background: #fff; padding: 8px; }

.modebtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; padding: 0; }
.modebtn .ic-terang { display: none; }
[data-mode="gelap"] .modebtn .ic-gelap { display: none; }
[data-mode="gelap"] .modebtn .ic-terang { display: block; }

/* Header HP */
.iconbtn { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; list-style: none; }
.iconbtn::-webkit-details-marker { display: none; }
details.menu { position: relative; }
.menu-panel { position: absolute; top: 48px; left: 0; z-index: 30; display: grid; min-width: 220px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -16px rgba(35, 24, 15, .35); padding: 8px; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.menu-panel a:hover { background: var(--tile); }
.show-sm { display: none; }
@media (max-width: 640px) { .show-sm { display: block; } .top .wrap { gap: 8px; } }
@media (max-width: 420px) { .hide-xs { display: none; } .wm small { display: none; } }
.filt { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 12px; scrollbar-width: none; }
.fgrp { flex: none; align-self: center; font: 800 .64rem var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding-left: 4px; }
.fchip { flex: none; display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 44px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); text-decoration: none; font-weight: 700; font-size: .86rem; }
.fchip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.resbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 14px; font-size: .9rem; }
.resbar p { margin: 0; }
.urut { display: flex; gap: 6px; align-items: center; }
.urut label { margin: 0; }
.urut select { width: auto; margin: 0; padding: 8px 12px; border-radius: 999px; }
.urut .btn { margin: 0; }
.more-all { text-align: center; margin-top: 22px; }
.menu-mode { padding: 12px 14px; border: 0; background: none; font: 700 1rem var(--font-body); color: var(--ink); text-align: left; border-top: 1px dashed var(--line); cursor: pointer; }

/* Ikon akun, tautan hemat, navigasi bawah HP */
.iconlink { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); color: var(--ink); }
.catnav a.hot { color: var(--sale); }
.botnav { display: none; }
@media (max-width: 879px) {
  .botnav { position: fixed; z-index: 16; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr); background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .botnav a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 2px 7px; min-height: 52px; font-size: .68rem; font-weight: 700; text-decoration: none; color: var(--muted); }
  .botnav a:hover, .botnav a:focus-visible { color: var(--ink); }
  .foot { padding-bottom: 84px; }
  .has-buybar .botnav { display: none; }
}

/* Akun pembeli & afiliasi */
.provs { display: grid; gap: 10px; margin: 18px 0; }
.btn-prov { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 800; text-decoration: none; }
.btn-prov:hover { border-color: var(--ink); }
.note { background: var(--tile); padding: 12px 14px; border-radius: 10px; }
.aff-mini { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding: 12px 14px; border-radius: 10px; background: var(--hemat-bg); font-weight: 700; text-decoration: none; }
.aff-mini svg { color: var(--sale); }
.akun .cobox { margin-bottom: 14px; }
.olist { list-style: none; margin: 0; padding: 0; }
.olist a { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px dashed var(--line); text-decoration: none; }
.olist small { display: block; color: var(--muted); font-size: .78rem; }
.saldo { display: grid; gap: 2px; margin: 14px 0; padding: 14px; border-radius: 12px; background: var(--hemat-bg); }
.saldo b { font-size: 1.8rem; color: var(--sale); } .saldo small { color: var(--muted); }
.aff-dash h3 { font-size: 1rem; margin-top: 18px; }
.btn.danger { color: #b3261e; box-shadow: inset 0 0 0 1.5px #b3261e; }
.lnkbtn { border: 0; background: none; padding: 0 0 0 6px; color: var(--accent-strong); font: inherit; font-size: .82rem; text-decoration: underline; cursor: pointer; }
.aff-row { color: var(--sale); }
.aff-hero { background: var(--hemat-bg); padding: 40px 0 34px; }
.aff-hero h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
.aff-angka { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 8px; }
.aff-angka div { background: var(--surface); border-radius: 12px; padding: 14px; }
.aff-angka b { display: block; font-size: 2.2rem; color: var(--sale); line-height: 1; } .aff-angka span { font-size: .85rem; color: var(--muted); }
.langkah { padding-left: 20px; } .langkah li { margin-bottom: 8px; }
.faq dt { font-weight: 800; margin-top: 14px; } .faq dd { margin: 4px 0 0; color: var(--muted); }
.atau { text-align: center; color: var(--muted); margin: 4px 0; }
.btn-prov.off { opacity: .55; cursor: not-allowed; }
.btn-prov svg { flex: none; }
.sim p { margin-top: 0; }
.wabox { margin-top: 12px; padding: 14px; border: 1.5px dashed var(--line); border-radius: 10px; }
.wabox b { font-size: 1.2rem; letter-spacing: .06em; }
#masukwa h2 { display: flex; align-items: center; gap: 8px; font-size: 1.15rem; }

/* Pita promo (hitung mundur) */
.pita { background: var(--dark); color: var(--on-dark); font-size: .8rem; font-weight: 600; }
.pita-in { display: flex; gap: 28px; min-height: 34px; align-items: center; overflow-x: auto; scrollbar-width: none; white-space: nowrap; }
.pita-i { flex: none; }
.pita a { color: inherit; }
.pita .cd { color: var(--madu); font-weight: 800; font-variant-numeric: tabular-nums; margin-left: 4px; }
/* HP: satu promo per giliran (app.js memutar tiap 4 dtk; ketuk untuk berikutnya), teks boleh 2 baris */
@media (max-width: 640px) {
  .pita-in.putar { display: block; overflow: hidden; white-space: normal; text-align: center; padding-block: 7px; cursor: pointer; }
  .pita-in.putar .pita-i { display: none; }
  .pita-in.putar .pita-i.on { display: block; }
}

/* Label promo di kartu, produk, keranjang */
.plabel { display: block; color: var(--sale); font-size: .78rem; font-weight: 700; }
.ppromo { display: flex; gap: 8px; align-items: flex-start; margin: -6px 0 14px; padding: 10px 12px; background: var(--hemat-bg); color: var(--ink); font-size: .88rem; }
.ppromo svg { flex: none; color: var(--sale); margin-top: 2px; }
.ppromo b { color: var(--sale); }
.ppromo .cd { display: block; font-variant-numeric: tabular-nums; font-weight: 700; }
.hb-until { color: var(--sale); font-size: .85rem; font-weight: 600; }
.vform { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.vform label { margin: 0; }
.vform .row { display: flex; gap: 8px; align-items: stretch; margin-top: 6px; }
.vform input { margin: 0; text-transform: uppercase; }
.vform .btn { margin: 0; width: auto; flex: none; }
.janji-garansi { border-color: var(--ink) !important; color: var(--ink) !important; }
.janji-garansi svg { color: var(--leaf) !important; }
@media (min-width: 560px) { .janji { grid-template-columns: repeat(2, 1fr); } }

/* Tema Etalase: pola toko busana besar (latar putih, sudut tegas, tipografi tebal, harga promo merah) */
[data-theme="etalase"] body { letter-spacing: -.005em; }
[data-theme="etalase"] h1, [data-theme="etalase"] h2, [data-theme="etalase"] h3 { letter-spacing: -.025em; }
[data-theme="etalase"] h1 em, [data-theme="etalase"] h2 em { color: inherit; }
[data-theme="etalase"] .btn, [data-theme="etalase"] .cartlink, [data-theme="etalase"] .btn-prov, [data-theme="etalase"] .chips a,
[data-theme="etalase"] .fchip, [data-theme="etalase"] .topsearch, [data-theme="etalase"] .search input, [data-theme="etalase"] .urut select,
[data-theme="etalase"] .pill > span, [data-theme="etalase"] .stepper, [data-theme="etalase"] input, [data-theme="etalase"] textarea,
[data-theme="etalase"] select, [data-theme="etalase"] .szr, [data-theme="etalase"] .tag-promo, [data-theme="etalase"] .badge, [data-theme="etalase"] .off { border-radius: 2px; }
[data-theme="etalase"] .btn { font-weight: 700; letter-spacing: .01em; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) { [data-theme="etalase"] .btn:hover { transform: none; box-shadow: none; opacity: .88; } }
[data-theme="etalase"] .top { border-bottom-color: var(--line); }
[data-theme="etalase"] .catnav { border-top: 0; }
[data-theme="etalase"] .top .catnav .wrap { gap: 30px; }
[data-theme="etalase"] .catnav a { font-size: .95rem; font-weight: 800; letter-spacing: .01em; padding: 12px 0 13px; border-bottom-width: 3px; }
[data-theme="etalase"] .catnav a:hover { color: var(--ink); border-bottom-color: var(--ink); }
[data-theme="etalase"] .catnav a.hot, [data-theme="etalase"] .catnav a.hot:hover { color: var(--sale); border-bottom-color: var(--sale); }
[data-theme="etalase"] .topsearch { background: var(--tile); border-color: transparent; }
[data-theme="etalase"] .eyebrow { color: var(--sale); }
[data-theme="etalase"] .hb-tx .eyebrow { color: #fff; }
[data-theme="etalase"] .story .eyebrow { color: var(--madu); }
[data-theme="etalase"] .about-hero .eyebrow { color: var(--hero-ink); }
[data-theme="etalase"] h2 { font-size: clamp(1.5rem, 4.4vw, 2.1rem); }
[data-theme="etalase"] .more { border-bottom-color: var(--ink); }
/* Kategori: kotak foto bertepi tegas (bukan lingkaran) */
[data-theme="etalase"] .circles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 18px 12px; overflow: visible; }
[data-theme="etalase"] .cc { width: auto; }
[data-theme="etalase"] .cc-ph { width: 100%; height: auto; aspect-ratio: 3 / 4; border-radius: 0; box-shadow: none; }
[data-theme="etalase"] .cc b { font-weight: 700; margin-top: 2px; }
/* Kartu: foto penuh 3:4 tanpa latar warna, harga hitam tebal, promo merah */
[data-theme="etalase"] .grid .card .ph { background: var(--tile); }
[data-theme="etalase"] .cb h3 { font-weight: 600; font-size: .98rem; }
[data-theme="etalase"] .cb .kicker { color: var(--muted); letter-spacing: .04em; text-transform: none; font-weight: 600; font-size: .78rem; }
[data-theme="etalase"] .price { color: var(--ink); font-size: 1.05rem; }
[data-theme="etalase"] .hb-price .price { color: var(--ink); }
[data-theme="etalase"] .pr:has(.was) .price, [data-theme="etalase"] .pprice:has(.was) .price, [data-theme="etalase"] .hb-price:has(.was) .price { color: var(--sale); }
[data-theme="etalase"] .off { background: var(--sale); color: var(--on-sale); }
[data-theme="etalase"] .pprice { font-size: 1.8rem; }
[data-theme="etalase"] .hb-item { background: var(--tile); }
[data-theme="etalase"] .hb-ph img { object-fit: cover; max-height: none; }
[data-theme="etalase"] .hb-main::after { background: linear-gradient(0deg, rgb(0 0 0 / .55), rgb(0 0 0 / .05) 55%, transparent); }
[data-theme="etalase"] .trust-strip li { font-weight: 600; }
[data-theme="etalase"] .trust-strip svg { color: var(--ink); }
[data-theme="etalase"] .hemat { background: var(--surface); border-top: 1px solid var(--line); }
[data-theme="etalase"] .padu { background: var(--tile); }
[data-theme="etalase"] .janji li, [data-theme="etalase"] .model, [data-theme="etalase"] .panduan, [data-theme="etalase"] .cobox, [data-theme="etalase"] .specs dl,
[data-theme="etalase"] .thumbs a, [data-theme="etalase"] .cline img, [data-theme="etalase"] .opt, [data-theme="etalase"] .note, [data-theme="etalase"] .wabox { border-radius: 0; }
