/* ============================================================
   CikoStore — NEOBRUTALISM (halaman toko)
   Border tebal, bayangan keras, warna blok, tipografi tegas.
   ============================================================ */

:root {
  --ink: #0E0E0E;
  --paper: #FFFDF3;
  --paper-2: #FFFFFF;
  --yellow: #FFD84D;
  --pink: #FF90E8;
  --cyan: #8BE3F2;
  --lime: #C9F76F;
  --orange: #FFA23A;
  --red: #FF5A5A;
  --purple: #C3A6FF;
  --muted: #575757;
  --line: #0E0E0E;

  --bw: 3px;
  --sh: 6px 6px 0 var(--ink);
  --sh-sm: 4px 4px 0 var(--ink);
  --sh-xs: 3px 3px 0 var(--ink);
  --r: 6px;
  --r-lg: 10px;

  --app-max: 520px;
  --header-h: 64px;
  --nav-h: 74px;
  --pad: 16px;
  --safe-b: env(safe-area-inset-bottom, 0px);

  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-mono: "Space Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgb(14 14 14 / 13%) 1px, transparent 1px);
  background-size: 22px 22px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

/* ---------- Kerangka ---------- */
.app-shell {
  max-width: var(--app-max);
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--paper);
  position: relative;
}
@media (min-width: 560px) {
  .app-shell {
    border-inline: var(--bw) solid var(--ink);
    box-shadow: 12px 0 0 -6px rgb(14 14 14 / 8%), -12px 0 0 -6px rgb(14 14 14 / 8%);
  }
}
.app-main {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h));
  padding-bottom: calc(var(--nav-h) + var(--safe-b) + 24px);
}

/* ---------- Header ---------- */
.app-header {
  position: sticky; top: 0; z-index: 40;
  height: var(--header-h);
  display: flex; align-items: center; gap: 10px;
  padding: 0 14px;
  background: var(--paper);
  border-bottom: var(--bw) solid var(--ink);
}
.app-header .brand-link {
  display: flex; align-items: center; gap: 9px;
  min-width: 0;
}
.app-header .logo {
  width: 36px; height: 36px; flex: none;
  display: grid; place-items: center;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  font-family: var(--font-display);
  font-weight: 900; font-size: 17px;
  transform: rotate(-3deg);
}
.app-header .brand {
  font-family: var(--font-display);
  font-weight: 900; font-size: 16px;
  letter-spacing: -.02em; text-transform: uppercase;
  line-height: 1;
}
.app-header .tagline {
  font-size: 9px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-top: 4px;
}
.app-header .spacer { flex: 1; }
.app-header.has-back .logo { display: none; }

/* ---------- Tombol ikon ---------- */
.icon-btn {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  transition: transform .08s ease, box-shadow .08s ease;
}
.icon-btn:active { transform: translate(3px, 3px); box-shadow: none; }
.icon-btn svg { width: 18px; height: 18px; }
.icon-btn.nav-back { width: 34px; height: 34px; box-shadow: none; border-color: transparent; background: transparent; }
.icon-btn.nav-back:active { transform: none; }
.icon-btn.nav-back svg { width: 22px; height: 22px; }

/* ---------- Auth di header ---------- */
.auth-slot { display: flex; align-items: center; gap: 8px; min-width: 0; }
.btn-auth {
  display: inline-flex; align-items: center; gap: 6px;
  height: 38px; padding: 0 13px;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .06em;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-auth:active { transform: translate(3px, 3px); box-shadow: none; }
.btn-auth svg { width: 15px; height: 15px; }

.user-chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 38px; padding: 0 10px 0 5px;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  min-width: 0;
}
.user-chip .uava {
  width: 24px; height: 24px; flex: none;
  display: grid; place-items: center;
  background: var(--pink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 11px; font-weight: 900;
  text-transform: uppercase;
}
.user-chip .uname {
  font-size: 10.5px; font-weight: 800;
  max-width: 78px; overflow: hidden;
  text-overflow: ellipsis; white-space: nowrap;
}

/* ---------- Bottom nav ---------- */
.bottom-nav {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%);
  z-index: 40;
  width: 100%; max-width: var(--app-max);
  height: calc(var(--nav-h) + var(--safe-b));
  padding: 8px 10px calc(8px + var(--safe-b));
  background: var(--paper);
  border-top: var(--bw) solid var(--ink);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.bottom-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  border: var(--bw) solid transparent;
  border-radius: var(--r);
  font-size: 9.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .06em;
  color: var(--muted);
  transition: transform .08s ease, box-shadow .08s ease, background .12s ease;
}
.bottom-nav a svg { width: 20px; height: 20px; }
.bottom-nav a.active {
  background: var(--yellow);
  border-color: var(--ink);
  color: var(--ink);
  box-shadow: var(--sh-xs);
}
.bottom-nav a:not(.active):active { background: #F1EEE2; }

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 50px; padding: 0 18px;
  background: var(--paper-2);
  color: var(--ink);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .05em;
  text-align: center;
  transition: transform .08s ease, box-shadow .08s ease, background .12s ease;
  user-select: none;
}
.btn:active { transform: translate(4px, 4px); box-shadow: 0 0 0 var(--ink); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--yellow); }
.btn-secondary { background: var(--paper-2); }
.btn-ghost {
  background: transparent; border-color: transparent;
  box-shadow: none; text-decoration: underline;
  min-height: 40px; padding: 0 8px; font-size: 11px;
}
.btn-ghost:active { transform: none; }
.btn-danger { background: var(--red); color: var(--ink); }
.btn-success { background: var(--lime); }
.btn-block { width: 100%; }
.btn-sm {
  min-height: 40px; padding: 0 12px;
  font-size: 10.5px; box-shadow: var(--sh-xs);
}
.btn-sm:active { transform: translate(3px, 3px); }

.btn .spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2.5px solid rgb(14 14 14 / 25%); border-top-color: var(--ink);
  animation: spin .7s linear infinite; flex: none;
}
.btn-primary .spinner { border-color: rgb(14 14 14 / 20%); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Kartu ---------- */
.card {
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
}

/* ---------- Form ---------- */
.field { margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field label {
  display: block;
  font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .09em;
  margin-bottom: 6px;
}
.field .hint { font-size: 10.5px; color: var(--muted); margin-top: 5px; line-height: 1.4; font-weight: 600; }
.field .err {
  display: none; margin-top: 5px;
  font-size: 10.5px; font-weight: 800; color: var(--red);
  text-transform: uppercase;
}
.field.invalid .err { display: block; }
.field.invalid .input { background: #FFECEC; }

.input {
  width: 100%; min-height: 48px;
  padding: 11px 12px;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  font-size: 14px; font-weight: 700;
  transition: box-shadow .12s ease, transform .12s ease;
}
.input::placeholder { color: #9A9A9A; font-weight: 600; }
.input:focus {
  outline: none;
  box-shadow: var(--sh-xs);
  transform: translate(-1px, -1px);
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
select.input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230E0E0E' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
  padding-right: 36px;
}
input[type="checkbox"] { accent-color: var(--ink); width: 18px; height: 18px; }

/* ---------- Pill / badge ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 8px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 4px;
  font-size: 9.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .05em;
  white-space: nowrap;
}
.pill svg { width: 11px; height: 11px; }
.pill-blue { background: var(--cyan); }
.pill-green { background: var(--lime); }
.pill-amber { background: var(--yellow); }
.pill-red { background: var(--red); }
.pill-gray { background: #EDEAE0; }

/* ---------- Toast ---------- */
.toast-wrap {
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(var(--nav-h) + var(--safe-b) + 14px);
  z-index: 100;
  width: min(calc(100vw - 28px), 440px);
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-sm);
  padding: 12px 14px;
  font-size: 12px; font-weight: 800;
  animation: toast-in .2s ease;
  display: flex; align-items: center; gap: 8px;
}
.toast.ok { background: var(--lime); }
.toast.err { background: var(--red); }
.toast.leaving { animation: toast-out .2s ease forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 90;
  background: rgb(14 14 14 / 55%);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  animation: fade-in .15s ease;
}
.modal {
  width: min(100%, 400px);
  max-height: 88vh; overflow-y: auto;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 18px 18px 0;
  animation: modal-in .18s cubic-bezier(.2, .9, .3, 1.05);
}
.modal h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.01em;
  margin-bottom: 10px;
}
.modal .modal-body { font-size: 13px; }
.modal .modal-actions {
  position: sticky; bottom: 0;
  display: flex; flex-direction: column; gap: 8px;
  margin: 18px -18px 0;
  padding: 14px 18px 16px;
  background: var(--paper);
  border-top: var(--bw) solid var(--ink);
}
.modal .modal-actions .btn { width: 100%; flex: none; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }

/* ---------- Popup promo (iklan banner) ---------- */
.promo-backdrop {
  position: fixed; inset: 0; z-index: 95;
  background: rgb(14 14 14 / 42%);
  -webkit-backdrop-filter: blur(9px) saturate(115%);
  backdrop-filter: blur(9px) saturate(115%);
  display: flex; align-items: center; justify-content: center;
  padding: 24px 18px;
  animation: fade-in .16s ease;
}
/* Browser tanpa backdrop-filter: gelapkan latar supaya popup tetap fokus */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .promo-backdrop { background: rgb(14 14 14 / 72%); }
}
.promo-card {
  position: relative;
  width: min(100%, 372px);
  max-height: calc(100vh - 48px);
  display: flex;
  animation: modal-in .22s cubic-bezier(.2, .9, .3, 1.05);
}
.promo-img {
  width: 100%;
  height: auto;
  max-height: calc(100vh - 48px);
  object-fit: contain;
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  cursor: pointer;
}
.promo-close {
  position: absolute; top: -13px; right: -11px; z-index: 2;
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border: 3px solid var(--paper);
  font-size: 15px; font-weight: 900; line-height: 1;
  box-shadow: 0 4px 0 rgb(0 0 0 / 28%);
  transition: transform .12s ease;
}
.promo-close:hover { transform: rotate(90deg); }
.promo-close:active { transform: scale(.94); }


/* ---------- Skeleton ---------- */
.skeleton {
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  background: repeating-linear-gradient(
    45deg, #F0EDE2 0 10px, #FBF8EC 10px 20px
  );
  animation: sk 1.2s linear infinite;
  background-size: 200% 200%;
}
@keyframes sk { to { background-position: 40px 40px; } }

/* ---------- Empty / alert ---------- */
.empty-state {
  text-align: center;
  padding: 30px 20px;
  border: var(--bw) dashed var(--ink);
  border-radius: var(--r-lg);
  background: var(--paper-2);
  margin: 0 var(--pad);
}
.empty-state svg { width: 46px; height: 46px; margin: 0 auto 10px; }
.empty-state .title {
  font-family: var(--font-display);
  font-weight: 900; font-size: 14px;
  text-transform: uppercase; margin-bottom: 4px;
}
.alert {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 11px 12px;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  font-size: 11.5px; font-weight: 700;
  line-height: 1.5;
}
.alert svg { width: 15px; height: 15px; flex: none; margin-top: 1px; }
.alert-error { background: var(--red); }
.alert-info { background: var(--cyan); }
.alert-success { background: var(--lime); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px;
  width: 3px; background: var(--ink);
  opacity: .25;
}
.tl-step { position: relative; padding-bottom: 18px; }
.tl-step:last-child { padding-bottom: 0; }
.tl-step .dot {
  position: absolute; left: -26px; top: 1px;
  width: 18px; height: 18px;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: 3px;
  display: grid; place-items: center;
}
.tl-step .dot svg { width: 10px; height: 10px; }
.tl-step.done .dot { background: var(--lime); }
.tl-step.current .dot { background: var(--yellow); animation: blink 1.4s steps(2, start) infinite; }
.tl-step.cancelled .dot { background: var(--red); }
.tl-step .tl-title { font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.tl-step .tl-time { font-size: 10.5px; color: var(--muted); margin-top: 2px; font-weight: 600; }
@keyframes blink { 50% { background: var(--paper-2); } }

/* ---------- Transisi layar ---------- */
.screen { animation: screen-in .16s ease; }
@keyframes screen-in { from { opacity: 0; transform: translateY(5px); } }

/* ---------- Pencarian ---------- */
.search-row { position: relative; }
.search-row svg {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  width: 17px; height: 17px; pointer-events: none;
}
.search-row .input { padding-left: 38px; }

/* ---------- Utilitas ---------- */
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.muted { color: var(--muted); }
.small { font-size: 11px; line-height: 1.5; font-weight: 600; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.section-title {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.01em;
}
.section-sub { font-size: 11px; color: var(--muted); margin-top: 3px; font-weight: 600; }
.divider { height: 3px; background: var(--ink); opacity: .15; margin: 14px 0; }
.hidden { display: none !important; }

/* ============================================================
   BERANDA
   ============================================================ */
.hero {
  margin: 14px var(--pad) 0;
  padding: 18px 16px;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  position: relative;
  overflow: hidden;
}
.hero .kicker {
  display: inline-block;
  background: var(--ink); color: var(--paper);
  font-size: 9px; font-weight: 900;
  letter-spacing: .14em; text-transform: uppercase;
  padding: 4px 8px; border-radius: 3px;
}
.hero-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 10px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 27px; font-weight: 900;
  line-height: .98; letter-spacing: -.03em;
  text-transform: uppercase;
}
.hero h1 span { background: var(--paper-2); padding: 0 4px; box-shadow: 3px 3px 0 var(--ink); display: inline-block; }
.hero p { font-size: 11.5px; font-weight: 700; line-height: 1.45; margin-top: 9px; max-width: 36ch; }
.hero .hero-sticker {
  flex: none;
  background: var(--pink);
  border: var(--bw) solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 2px 0 var(--ink);
  padding: 5px 7px;
  font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(-4deg);
}

/* ---------- Banner: satu frame, transisi fade + geser ---------- */
.banner-carousel { position: relative; margin-top: 14px; }
.banner-stage {
  display: grid;
  padding: 0 var(--pad) 8px;
}
.hero.banner-slide {
  grid-area: 1 / 1;
  margin: 0;
  box-shadow: 0 6px 0 var(--ink);
  opacity: 0;
  transform: translateX(26px) scale(.985);
  transition: opacity .42s ease, transform .42s cubic-bezier(.2, .8, .3, 1);
  pointer-events: none;
  z-index: 1;
}
.hero.banner-slide.active {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  z-index: 2;
}
.hero.banner-slide.leaving {
  transform: translateX(-26px) scale(.985);
}
/* Banner berupa gambar (unggahan admin) */
.hero.banner-image {
  padding: 0;
  aspect-ratio: 16 / 9;
  background: #fff;
}
.hero.banner-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero--pink { background: var(--pink); }
.hero--cyan { background: var(--cyan); }
.hero--lime { background: var(--lime); }
.hero--pink .hero-sticker { background: var(--paper-2); }
.banner-dots {
  display: flex; justify-content: center; align-items: center;
  gap: 6px; margin-top: 4px;
}
.banner-dot {
  width: 20px; height: 8px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 2px;
  padding: 0;
  transition: width .18s ease, background .15s ease;
}
.banner-dot.active { background: var(--ink); width: 28px; }

/* Header daftar produk */
.list-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 10px;
  margin: 22px var(--pad) 10px;
}
.list-head .count {
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 4px;
  padding: 2px 6px;
}
.search-row { margin: 0 var(--pad) 14px; }

/* ---------- Kartu produk ---------- */
.product-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0 var(--pad);
}
.product-card {
  display: flex; flex-direction: column;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  overflow: hidden;
  transition: transform .08s ease, box-shadow .08s ease;
}
.product-card:active { transform: translate(4px, 4px); box-shadow: none; }
.product-card .media {
  position: relative;
  aspect-ratio: 1 / 1;
  background: #fff;
  border-bottom: var(--bw) solid var(--ink);
  overflow: hidden;
}
.product-card .media img { width: 100%; height: 100%; object-fit: cover; }
.product-card .media .initial {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 34px; font-weight: 900;
}
.product-card .badge {
  position: absolute; top: 7px; left: 7px; z-index: 2;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 3px;
  padding: 3px 6px;
  font-size: 8.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .04em;
  transform: rotate(-4deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.product-card .body {
  display: flex; flex-direction: column;
  padding: 9px 10px 10px;
  gap: 3px;
  flex: 1;
}
.product-card .cat {
  font-size: 8.5px; font-weight: 900;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted);
}
.product-card .name {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 900;
  line-height: 1.15; letter-spacing: -.01em;
  text-transform: uppercase;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .dur {
  font-size: 9.5px; font-weight: 700;
  color: var(--muted); text-transform: uppercase;
}
.product-card .pmeta {
  display: flex; align-items: center; justify-content: space-between;
  gap: 6px; margin-top: 4px;
  font-size: 8.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .02em;
  color: var(--muted);
}
.product-card .pviews { display: inline-flex; align-items: center; gap: 3px; }
.product-card .pviews svg { width: 11px; height: 11px; }
.product-card .psold { color: var(--text-2); white-space: nowrap; }
.product-card .pchips {
  display: flex; flex-wrap: wrap; gap: 4px;
  margin-top: 4px;
}
.product-card .pstock,
.product-card .pwarranty {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 2px 4px;
  border: 1.5px solid var(--ink);
  border-radius: 3px;
  font-size: 8px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em;
  line-height: 1.2; white-space: nowrap;
}
.product-card .pstock { background: #F1EEE2; }
.product-card .pwarranty { background: var(--lime); }
.product-card .pwarranty svg { width: 9px; height: 9px; }
.product-card .price-row {
  display: flex; align-items: baseline; gap: 5px;
  flex-wrap: wrap;
  margin-top: auto; padding-top: 7px;
}
.product-card .price {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  letter-spacing: -.04em;
}
.product-card .go {
  margin-top: 8px;
  display: flex; align-items: center; justify-content: center;
  height: 32px;
  background: var(--ink); color: var(--paper);
  border-radius: 4px;
  font-size: 9.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .1em;
}

.result-count {
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted);
  margin: 0 var(--pad) 8px;
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  padding: 24px var(--pad) calc(20px + var(--safe-b));
  border-top: var(--bw) solid var(--ink);
  background: var(--paper);
}
.f-brand-row { display: flex; align-items: center; gap: 10px; }
.f-mark {
  width: 34px; height: 34px; flex: none;
  display: grid; place-items: center;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  font-family: var(--font-display);
  font-weight: 900; font-size: 15px;
  transform: rotate(-3deg);
}
.site-footer .f-brand {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.02em;
  line-height: 1;
}
.f-tagline {
  font-size: 9px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); margin-top: 4px;
}
.f-desc {
  font-size: 11px; font-weight: 600;
  color: var(--text-2); line-height: 1.55;
  margin-top: 12px;
}
.f-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 16px; margin-top: 18px;
}
@media (min-width: 420px) {
  .f-grid { grid-template-columns: 1fr 1fr; }
}
.f-block { display: flex; flex-direction: column; gap: 5px; }
.f-block h4 {
  font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .12em;
  margin-bottom: 3px;
}
.f-block a,
.f-block span {
  font-size: 10.5px; font-weight: 700;
  color: var(--text-2); line-height: 1.45;
}
.f-block a { text-decoration: underline; text-underline-offset: 2px; }
.f-block a:hover { color: var(--ink); }
.f-pay { margin-top: 16px; }
.f-chips { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 2px; }
.f-chip {
  font-size: 8.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .04em;
  padding: 3px 6px;
  background: var(--paper-2);
  border: 2px solid var(--ink);
  border-radius: 3px;
  box-shadow: 2px 2px 0 var(--ink);
}
.f-copy {
  margin-top: 18px; padding-top: 12px;
  border-top: 2px dashed rgb(14 14 14 / 25%);
  font-size: 9.5px; font-weight: 700;
  color: var(--muted); text-align: center; line-height: 1.6;
}

/* ============================================================
   DETAIL PRODUK
   ============================================================ */
.pd-media {
  position: relative;
  margin: 14px var(--pad) 0;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  overflow: hidden;
}
.pd-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-media .initial {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 60px; font-weight: 900;
}
.pd-media .badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 9px; font-weight: 900;
  text-transform: uppercase;
  transform: rotate(-3deg);
  box-shadow: 2px 2px 0 var(--ink);
}
.pd-info { padding: 16px var(--pad) 0; }
.pd-info h1 {
  font-family: var(--font-display);
  font-size: 23px; font-weight: 900;
  line-height: 1.05; letter-spacing: -.03em;
  text-transform: uppercase;
  margin-top: 8px;
}
.pd-price-row {
  display: flex; align-items: baseline; gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.pd-price {
  font-family: var(--font-mono);
  font-size: 25px; font-weight: 700;
  letter-spacing: -.05em;
}
.pd-stats {
  display: flex; align-items: center; gap: 12px;
  margin-top: 8px;
  font-size: 10px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  color: var(--muted);
}
.pd-stat { display: inline-flex; align-items: center; gap: 4px; }
.pd-stat svg { width: 12px; height: 12px; }
.pd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }

.pd-block {
  margin: 14px var(--pad) 0;
  padding: 14px;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.pd-block h3 {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 2px dashed var(--ink);
}
.pd-block p { font-size: 12px; font-weight: 600; line-height: 1.55; }
.pd-features { display: flex; flex-direction: column; gap: 8px; }
.pd-features li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 11.5px; font-weight: 700; line-height: 1.45;
}
.pd-features li svg { width: 14px; height: 14px; flex: none; margin-top: 2px; }
.pd-steps { display: flex; flex-direction: column; gap: 9px; counter-reset: pd; }
.pd-steps li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 11.5px; font-weight: 700; line-height: 1.45;
  counter-increment: pd;
}
.pd-steps li::before {
  content: counter(pd);
  flex: none;
  width: 18px; height: 18px;
  display: grid; place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 9px; font-weight: 700;
  margin-top: 1px;
}

/* Bar beli */
.buy-bar {
  position: fixed; bottom: calc(var(--nav-h) + var(--safe-b)); z-index: 35;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--app-max);
  display: flex; align-items: center; gap: 10px;
  padding: 10px var(--pad);
  background: var(--paper);
  border-top: var(--bw) solid var(--ink);
}
.buy-bar .bp { flex: 1; min-width: 0; }
.buy-bar .bp .lbl {
  font-size: 8.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .1em;
  color: var(--muted);
}
.buy-bar .bp .val {
  font-family: var(--font-mono);
  font-size: 17px; font-weight: 700;
  letter-spacing: -.05em; line-height: 1.2;
}
.buy-bar .btn { flex: 1.2; min-height: 46px; font-size: 11px; }
.app-main.has-buybar { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 96px); }

/* ============================================================
   CHECKOUT
   ============================================================ */
.card-head {
  display: flex; align-items: center; gap: 9px;
  margin-bottom: 12px;
}
.card-head .step-badge {
  flex: none;
  width: 22px; height: 22px;
  display: grid; place-items: center;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 700;
}
.card-head .section-title { font-size: 12px; letter-spacing: .04em; }

.co-summary {
  display: flex; align-items: center; gap: 11px;
  margin: 14px var(--pad) 0;
  padding: 11px;
}
.co-summary .thumb {
  width: 52px; height: 52px; flex: none;
  border: 2.5px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 20px; font-weight: 900;
}
.co-summary .thumb img { width: 100%; height: 100%; object-fit: cover; }
.co-summary .nm {
  font-family: var(--font-display);
  font-size: 12.5px; font-weight: 900;
  text-transform: uppercase; line-height: 1.15;
}
.co-summary .pr {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  margin-top: 3px;
}
.co-form { margin: 12px var(--pad) 0; padding: 14px; }
.co-methods { margin: 12px var(--pad) 0; padding: 14px; }

.method-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px;
  margin-top: 9px;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease, background .12s ease;
}
.method-card:hover { background: #FFF9DE; }
.method-card.selected {
  background: var(--yellow);
  box-shadow: var(--sh-xs);
  transform: translate(-2px, -2px);
}
.method-card .m-icon {
  width: 38px; height: 38px; flex: none;
  display: grid; place-items: center;
  background: #fff;
  border: 2px solid var(--ink);
  border-radius: 4px;
  overflow: hidden;
  font-size: 9px; font-weight: 900;
}
.method-card .m-icon img { width: 100%; height: 100%; object-fit: cover; }
.method-card .m-icon img.zoom { transform: scale(1.16); }
.method-card .m-icon svg { width: 18px; height: 18px; }
.method-card .m-name {
  font-size: 12px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em;
}
.method-card .m-desc { font-size: 10px; font-weight: 600; color: var(--muted); margin-top: 1px; }
.method-card .radio {
  margin-left: auto; flex: none;
  width: 22px; height: 22px;
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: 3px;
  position: relative;
}
.method-card.selected .radio::after {
  content: "";
  position: absolute; inset: 2px;
  background: var(--ink);
}

.co-total { margin: 12px var(--pad) 0; padding: 14px; }
.co-total .row {
  justify-content: space-between;
  font-size: 11.5px; font-weight: 700;
  padding: 4px 0;
}
.co-total .row span:last-child { font-family: var(--font-mono); font-size: 11.5px; }
.co-total .row.grand {
  margin-top: 8px; padding-top: 10px;
  border-top: var(--bw) dashed var(--ink);
  font-size: 12px; font-weight: 900;
  text-transform: uppercase;
}
.co-total .row.grand span:last-child { font-size: 17px; }

.co-cta {
  position: fixed; bottom: calc(var(--nav-h) + var(--safe-b)); z-index: 35;
  left: 50%; transform: translateX(-50%);
  width: 100%; max-width: var(--app-max);
  padding: 10px var(--pad);
  background: var(--paper);
  border-top: var(--bw) solid var(--ink);
}
.app-main.has-cta { padding-bottom: calc(var(--nav-h) + var(--safe-b) + 96px); }

/* ============================================================
   PEMBAYARAN
   ============================================================ */
.pay-head {
  margin: 14px var(--pad) 0;
  padding: 16px;
  background: var(--yellow);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
  text-align: center;
}
.pay-head .lbl {
  font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .14em;
}
.pay-head .code-chip {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 7px;
  padding: 6px 10px;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: 4px;
  box-shadow: var(--sh-xs);
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
}
.pay-head .code-chip svg { width: 13px; height: 13px; }
.pay-head .amount {
  font-family: var(--font-mono);
  font-size: 28px; font-weight: 700;
  letter-spacing: -.06em;
  margin-top: 10px; line-height: 1.1;
}
.pay-head .for {
  font-size: 10.5px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .04em;
  margin-top: 4px;
}

.pay-card { margin: 12px var(--pad) 0; padding: 14px; }
.pay-card h3 {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  font-size: 12px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .02em;
  margin-bottom: 11px;
}
.pay-card h3 svg { width: 16px; height: 16px; }
.pay-card h3 img.pay-logo {
  width: 20px; height: 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  object-fit: cover;
}
.qris-img {
  padding: 8px;
  background: #fff;
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  max-width: 280px; margin-inline: auto;
}
.qris-img img { width: 100%; }

/* QRIS dinamis (PaySaku) */
.qris-img.qris-live { padding: 10px; }
.qris-img.qris-live svg { width: 100%; height: auto; display: block; }

.pay-status {
  display: flex; align-items: center; gap: 6px;
  width: fit-content;
  margin: 10px auto 0; padding: 6px 11px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 9.5px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .05em;
}
.pay-status .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgb(34 197 94 / 20%);
  animation: payPulse 1.4s infinite;
}
.pay-status .dot.off {
  background: #ef4444;
  box-shadow: 0 0 0 3px rgb(239 68 68 / 20%);
  animation: none;
}
@keyframes payPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .3; }
}

.pay-countdown {
  margin-top: 9px;
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700;
  text-align: center;
  color: var(--muted);
}
.pay-countdown.expired { color: #b91c1c; }

.paid-box { text-align: center; padding: 6px 4px 2px; }
.paid-box .check {
  width: 56px; height: 56px;
  margin: 2px auto 10px;
  display: grid; place-items: center;
  background: var(--lime);
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--sh-sm);
}
.paid-box .check svg { width: 26px; height: 26px; }
.paid-box h2 {
  font-family: var(--font-display);
  font-size: 15px; font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.transfer-num {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 11px;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
}
.transfer-num .v {
  font-family: var(--font-mono);
  font-size: 15px; font-weight: 700;
  letter-spacing: -.02em;
}
.transfer-num .lbl { font-size: 9px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.copy-btn {
  flex: none;
  display: inline-flex; align-items: center; gap: 4px;
  height: 32px; padding: 0 10px;
  background: var(--cyan);
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 2px 2px 0 var(--ink);
  font-size: 9.5px; font-weight: 900; text-transform: uppercase;
}
.copy-btn:active { transform: translate(2px, 2px); box-shadow: none; }
.copy-btn svg { width: 12px; height: 12px; }

.pay-steps {
  margin: 12px var(--pad) 0;
  padding: 14px;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.pay-steps .ps-title {
  font-size: 9px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .12em;
  padding-bottom: 8px; margin-bottom: 9px;
  border-bottom: 2px dashed var(--ink);
}
.pay-steps li {
  display: flex; gap: 8px; align-items: flex-start;
  font-size: 11px; font-weight: 700; line-height: 1.45;
  padding: 5px 0;
}
.pay-steps li + li { border-top: 1.5px dashed rgb(14 14 14 / 20%); padding-top: 8px; }
.pay-steps li .n {
  flex: none;
  width: 17px; height: 17px;
  display: grid; place-items: center;
  background: var(--ink); color: var(--paper);
  border-radius: 3px;
  font-family: var(--font-mono);
  font-size: 8.5px; font-weight: 700;
  margin-top: 1px;
}
.pay-note {
  margin: 12px var(--pad) 0;
  padding: 10px 11px;
  background: var(--orange);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  font-size: 10px; font-weight: 700; line-height: 1.45;
}
.pay-cta { margin: 14px var(--pad) 20px; }

/* ---------- Sukses ---------- */
.success-modal { text-align: center; }
.success-modal .check {
  width: 64px; height: 64px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  background: var(--lime);
  border: var(--bw) solid var(--ink);
  border-radius: 50%;
  box-shadow: var(--sh-xs);
  animation: pop .35s cubic-bezier(.2, .9, .3, 1.4);
}
.success-modal .check svg { width: 32px; height: 32px; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.success-modal h2 {
  font-family: var(--font-display);
  font-size: 19px; font-weight: 900;
  text-transform: uppercase; line-height: 1.05;
}
.success-modal .msg { font-size: 11.5px; font-weight: 600; margin-top: 8px; line-height: 1.5; }
.success-modal .msg strong { font-weight: 900; }
.success-modal .scode {
  margin-top: 12px; padding: 9px;
  background: var(--paper-2);
  border: 2px dashed var(--ink);
  border-radius: 4px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase;
}
.success-modal .scode b { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; }

/* ============================================================
   CEK PESANAN / PESANAN SAYA
   ============================================================ */
.page-head { padding: 20px var(--pad) 0; }
.page-head .ph-icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  background: var(--pink);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r);
  box-shadow: var(--sh-xs);
  margin-bottom: 10px;
}
.page-head .ph-icon svg { width: 22px; height: 22px; }
.page-head h1 {
  font-family: var(--font-display);
  font-size: 24px; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.03em;
  line-height: 1;
}
.page-head p { font-size: 11px; font-weight: 700; color: var(--muted); margin-top: 6px; line-height: 1.45; }

.cek-form { margin: 14px var(--pad) 0; padding: 14px; }
.cek-form .lbl {
  display: block;
  font-size: 10px; font-weight: 900;
  text-transform: uppercase; letter-spacing: .1em;
  margin-bottom: 7px;
}
.cek-input { display: flex; gap: 8px; }
.cek-input .input {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
  text-align: center;
}
.cek-input .btn { flex: none; padding: 0 16px; }
.cek-result { margin: 12px var(--pad) 0; padding: 14px; }
.cek-result .r-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cek-result .r-name {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 900;
  text-transform: uppercase; line-height: 1.15;
}
.cek-result .r-meta { font-size: 10px; font-weight: 600; color: var(--muted); margin-top: 3px; }
.cek-result .r-amount {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 700;
  white-space: nowrap;
}
.cek-help {
  margin: 14px var(--pad) 0;
  font-size: 10px; font-weight: 700;
  color: var(--muted); line-height: 1.5;
  text-align: center;
}

/* Daftar pesanan saya */
.order-list { margin: 14px var(--pad) 0; display: flex; flex-direction: column; gap: 10px; }
.order-item {
  display: block;
  padding: 12px;
  background: var(--paper-2);
  border: var(--bw) solid var(--ink);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
  transition: transform .08s ease, box-shadow .08s ease;
}
.order-item:active { transform: translate(4px, 4px); box-shadow: none; }
.order-item .oi-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.order-item .oi-code {
  font-family: var(--font-mono);
  font-size: 12px; font-weight: 700;
  letter-spacing: .04em;
}
.order-item .oi-name {
  font-size: 11.5px; font-weight: 800;
  text-transform: uppercase;
  margin-top: 5px; line-height: 1.3;
}
.order-item .oi-meta {
  display: flex; justify-content: space-between; align-items: center;
  gap: 8px; margin-top: 7px;
  font-size: 9.5px; font-weight: 700; color: var(--muted);
}
.order-item .oi-amount { font-family: var(--font-mono); font-size: 11px; color: var(--ink); }

/* ============================================================
   AUTH (halaman Masuk / Daftar)
   ============================================================ */
.auth-head {
  padding: 30px var(--pad) 20px;
}
.auth-head h1 {
  font-family: var(--font-display);
  font-size: 30px; font-weight: 900;
  text-transform: uppercase; letter-spacing: -.04em;
  line-height: .95;
}
.auth-card {
  margin: 0 var(--pad);
  padding: 18px;
}
.auth-card .btn-block { margin-top: 4px; }
/* Tombol "Masuk" di header tidak perlu tampil di halaman masuk/daftar */
body.auth-route .auth-slot { visibility: hidden; }
body.auth-route .app-header .tagline { display: none; }
.auth-alt {
  margin: 20px var(--pad) 0;
  text-align: center;
  font-size: 12px; font-weight: 700;
  color: var(--muted);
}
.auth-alt a {
  color: var(--ink);
  font-weight: 900;
  text-decoration: underline;
}

/* ---------- Tamu (belum login): tanpa navigasi bawah ---------- */
body.guest .app-main { padding-bottom: 24px; }
body.guest .app-main.has-buybar,
body.guest .app-main.has-cta { padding-bottom: 100px; }
body.guest .buy-bar,
body.guest .co-cta { bottom: 0; }
body.guest .toast-wrap { bottom: 16px; }

/* ---------- Stok habis ---------- */
.sold-out {
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  background: rgb(14 14 14 / 45%);
}
.sold-out span {
  background: var(--red);
  border: 2px solid var(--ink);
  border-radius: 3px;
  padding: 4px 8px;
  font-size: 9px; font-weight: 900;
  text-transform: uppercase;
  box-shadow: 2px 2px 0 var(--ink);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
