:root {
  --bg: #F2EFEB;
  --surface: #FFFFFF;
  --ink: #14151A;
  --muted: #6B6F76;
  --border: #E3DED5;
  --nav-bg: #1A1B1B;
  --nav-text: #F2EFEB;
  --accent: #F3B23A;
  --cta-bg: #1A1B1B;
  --cta-text: #FFFFFF;
  --max-width: 1170px;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

/* ---- announcement bar ---- */
.announce-bar {
  background: #101010;
  color: #C9CCD1;
  font-size: 0.78rem;
  text-align: center;
  padding: 7px 12px;
  letter-spacing: 0.01em;
}

/* ---- sticky nav ---- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--nav-bg);
  color: var(--nav-text);
  border-bottom: 1px solid #000;
}
.nav-row {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-brand {
  font-weight: 800;
  font-size: 1.15rem;
  color: #FFFFFF;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.nav-links {
  display: flex;
  gap: 20px;
  flex: 1 1 auto;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
  color: #C9CCD1;
  font-size: 0.92rem;
  white-space: nowrap;
  padding: 4px 0;
}
.nav-links a:hover { color: #FFFFFF; }
.nav-search {
  margin-left: auto;
  position: relative;
  width: 260px;
  flex: 0 0 auto;
}
.nav-search input {
  width: 100%;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid #3A3B3B;
  background: #262727;
  color: #FFFFFF;
  padding: 0 12px;
  font-size: 0.88rem;
}
.nav-search input::placeholder { color: #8A8D92; }
.nav-search input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

@media (max-width: 720px) {
  .nav-row { gap: 12px; flex-wrap: wrap; }
  .nav-search { width: 100%; order: 3; margin-left: 0; }
  .nav-links { order: 2; }
}

/* ---- nav "cek pesanan" quick form (desktop only; mobile keeps the link) ---- */
.nav-cek-form {
  display: flex;
  gap: 6px;
  flex: 0 0 auto;
  margin-left: 12px;
}
.nav-cek-form input {
  width: 150px;
  min-height: 38px;
  border-radius: 8px;
  border: 1px solid #3A3B3B;
  background: #262727;
  color: #FFFFFF;
  padding: 0 10px;
  font-size: 0.85rem;
}
.nav-cek-form input::placeholder { color: #8A8D92; }
.nav-cek-form input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.nav-cek-form button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 0.85rem;
  background: var(--accent);
  color: var(--ink);
}
@media (max-width: 900px) {
  .nav-cek-form { display: none; }
}

/* ---- breadcrumb ---- */
.breadcrumb {
  margin: 20px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  gap: 6px;
  align-items: center;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span:last-child { color: var(--ink); font-weight: 600; }

/* ---- 404 page ---- */
.not-found-head { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.not-found-head .btn { width: auto; }

/* ---- home promo banner ---- */
.promo-banner-wrap { margin: 24px 0; }
.promo-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 120px;
  border-radius: 20px;
  padding: 24px 32px;
  background: linear-gradient(120deg, #101010 0%, #1A1B1B 55%, #F3B23A 150%);
  color: #FFFFFF;
}
.promo-banner-title { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.promo-banner-sub { font-size: 0.92rem; color: #D8D4CC; }
.promo-banner-cta {
  background: var(--accent);
  color: var(--ink);
  flex: 0 0 auto;
  white-space: nowrap;
}
@media (max-width: 720px) {
  .promo-banner { min-height: 96px; padding: 16px 20px; border-radius: 16px; flex-wrap: wrap; }
  .promo-banner-title { font-size: 1rem; }
  .promo-banner-sub { font-size: 0.8rem; }
  .promo-banner-cta { padding: 10px 16px; font-size: 0.85rem; }
}

/* ---- section headings ---- */
.section { margin: 36px 0; }
.section-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 16px;
}

/* ---- cover tile grid ---- */
.cover-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px 16px;
}
@media (max-width: 900px) {
  .cover-grid { grid-template-columns: repeat(3, 1fr); gap: 14px 10px; }
}
.cover-tile { display: block; }
.cover-tile-art {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: #E9E4DC;
  transition: transform 0.15s ease;
}
.cover-tile-art img { width: 100%; height: 100%; object-fit: cover; }
.cover-tile:hover .cover-tile-art { transform: scale(1.035); }
.cover-tile-name {
  margin-top: 8px;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.25;
}
.cover-tile-price { font-size: 0.8rem; color: var(--muted); margin-top: 2px; }
.no-results { color: var(--muted); padding: 24px 0; display: none; }

/* ---- how-to strip ---- */
.howto-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) {
  .howto-strip { grid-template-columns: 1fr; }
}
.howto-step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
}
.howto-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--nav-bg);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.howto-step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---- payment strip ---- */
.payment-strip {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.qris-badge {
  background: var(--nav-bg);
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  border-radius: 6px;
  padding: 6px 10px;
}
.payment-strip span.pm-list { color: var(--muted); font-size: 0.88rem; }

/* ---- footer ---- */
.site-footer {
  background: var(--nav-bg);
  color: #C9CCD1;
  margin-top: 48px;
  padding: 40px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 24px;
}
@media (max-width: 720px) {
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
.footer-brand-name { color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 6px; }
.footer-tagline { font-size: 0.86rem; color: #9CA0A6; max-width: 320px; }
.footer-col-title { color: #fff; font-size: 0.82rem; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; letter-spacing: 0.04em; }
.footer-col a, .footer-col div { display: block; color: #C9CCD1; font-size: 0.88rem; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 16px;
  font-size: 0.78rem;
  color: #8A8D92;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

/* ---- generic white card page (cek/legal/order) ---- */
.page-head { margin: 32px 0 20px; }
.page-head h1 { font-size: 1.5rem; margin: 0 0 6px; }
.page-head p.subtitle { color: var(--muted); margin: 0; }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  margin: 0 0 20px;
}
.legal-content { max-width: 720px; }
.legal-content h1 { font-size: 1.4rem; }
.legal-content h2 { font-size: 1.1rem; margin-top: 28px; }
.legal-content p, .legal-content li { color: #33353B; line-height: 1.6; }

.field { display: flex; flex-direction: column; gap: 6px; margin: 0 0 14px; }
.field:last-child { margin-bottom: 0; }
.field-label { color: var(--muted); font-size: 0.85rem; font-weight: 600; }
.field-helper { color: var(--muted); font-size: 0.78rem; }
.field input {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #FBFAF8;
  color: var(--ink);
  padding: 0 12px;
  font-size: 1rem;
}
.field input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }

.error { color: #C0392B; font-weight: 600; }

button, .btn {
  background: var(--cta-bg);
  color: var(--cta-text);
  border: none;
  border-radius: 10px;
  padding: 12px 20px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button:disabled { background: #C7C3BB; color: #8A8780; cursor: not-allowed; }
.btn-block { width: 100%; min-height: 50px; }

.voucher-code {
  background: #FBFAF8;
  border: 1px dashed var(--border);
  padding: 16px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.voucher-code button { padding: 8px 14px; font-size: 0.85rem; }

/* ---- cek form ---- */
.cek-form { display: flex; gap: 10px; flex-wrap: wrap; }
.cek-form input { flex: 1 1 240px; min-height: 46px; border-radius: 8px; border: 1px solid var(--border); padding: 0 12px; font-size: 1rem; background: #FBFAF8; }
.cek-form button { min-width: 120px; }

/* ===================== brand page ===================== */
.brand-page { display: grid; grid-template-columns: 340px 1fr; gap: 32px; margin: 28px 0 80px; }
@media (max-width: 900px) {
  .brand-page { grid-template-columns: 1fr; margin-bottom: 120px; }
}
.brand-side { position: relative; }
.brand-cover {
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #E9E4DC;
  margin-bottom: 16px;
}
.brand-cover img { width: 100%; height: 100%; object-fit: cover; }
.brand-side h1 { font-size: 1.4rem; margin: 0 0 8px; }
.brand-side .brand-desc { color: var(--muted); font-size: 0.92rem; line-height: 1.55; margin-bottom: 18px; }
.brand-howto { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; }
.brand-howto h3 { font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.03em; margin: 0 0 10px; color: var(--muted); }
.brand-howto ol { margin: 0; padding-left: 18px; color: #33353B; font-size: 0.88rem; line-height: 1.6; }

.form-section { margin: 0 0 22px; }
.section-heading {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-heading .step-dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--nav-bg); color: #fff;
  font-size: 0.72rem; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}

.denominations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
@media (max-width: 520px) {
  .denominations { grid-template-columns: repeat(2, 1fr); }
}
.denom-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  cursor: pointer;
}
.denom-card input[type="radio"] { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.denom-card:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
.denom-card:has(input:checked)::after {
  content: "✓";
  position: absolute; top: 6px; right: 8px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); color: #fff;
  font-size: 0.6rem; display: flex; align-items: center; justify-content: center;
}
.denom-card:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.denom-label { font-weight: 600; font-size: 0.85rem; color: var(--muted); }
.denom-price { font-weight: 700; font-size: 0.95rem; color: var(--ink); }

.pay-option {
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
}
.pay-option .qris-badge { margin-right: 4px; }
.pay-option span.pay-note { color: var(--muted); font-size: 0.82rem; }

.mode-note { color: var(--muted); font-size: 0.82rem; margin: 8px 0 0; }

.order-summary {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.order-summary .total-label { color: var(--muted); font-size: 0.82rem; }
.order-summary .total-amount { font-size: 1.15rem; font-weight: 800; }

@media (max-width: 900px) {
  .order-summary { display: none; }
  .mobile-bottom-bar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    z-index: 40;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
  }
  .mobile-bottom-bar .btn-block { width: auto; flex: 0 0 auto; min-width: 170px; }
}
@media (min-width: 901px) {
  .mobile-bottom-bar { display: none; }
}

.cara-redeem { color: var(--muted); font-size: 0.85rem; margin-top: 18px; }
