/* ============================================================
   beeprintstore — stylesheet utama
   ============================================================ */

:root {
  --green-950: #072d1b;
  --green-900: #0b3b24;
  --green-800: #14532d;
  --green-700: #166534;
  --green-600: #15803d;
  --green-500: #22a559;
  --green-100: #e8f5ec;
  --green-50: #f3faf5;
  --gold-700: #8a6512;
  --gold-600: #b8891f;
  --gold-500: #d4af37;
  --gold-400: #e7c85a;
  --gold-100: #fff4d6;
  --cream: #faf9f4;
  --ink: #1f2937;
  --body: #4b5563;
  --muted: #6b7280;
  --line: #e5e7eb;
  --white: #ffffff;
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow-sm: 0 2px 8px rgba(11, 59, 36, .05);
  --shadow: 0 12px 32px rgba(11, 59, 36, .09);
  --shadow-lg: 0 24px 60px rgba(11, 59, 36, .14);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Rubik', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--body);
  background: var(--white);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { color: var(--ink); margin: 0; line-height: 1.25; letter-spacing: -.02em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }
::selection { background: var(--gold-100); color: var(--green-900); }

.icon { width: 20px; height: 20px; flex: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 20px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
@media (min-width: 1024px) { .container { padding: 0 32px; } }

.section { padding: 44px 0; }
@media (min-width: 1024px) { .section { padding: 72px 0; } }
.section--surface { background: var(--green-50); }
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 16px; margin-bottom: 24px;
}
@media (min-width: 1024px) { .section-head { margin-bottom: 32px; } }
.section-head h2 { font-size: 26px; font-weight: 600; }
@media (min-width: 1024px) { .section-head h2 { font-size: 36px; } }
.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--green-700); font-size: 14px; font-weight: 500; white-space: nowrap;
}
.text-link .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.text-link:hover .icon { transform: translateX(4px); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border: 1px solid transparent; border-radius: 999px;
  font-size: 14px; font-weight: 600; transition: transform .25s var(--ease), background .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon { width: 18px; height: 18px; }
.btn--primary { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(22, 101, 52, .18); }
.btn--primary:hover { background: var(--green-800); }
.btn--gold { background: var(--gold-400); color: var(--green-950); }
.btn--gold:hover { background: var(--gold-500); }
.btn--outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn--outline:hover { border-color: var(--green-700); color: var(--green-700); }
.btn--ghost { border-color: var(--line); background: #fff; color: var(--green-800); }
.btn--ghost:hover { border-color: var(--green-700); background: var(--green-50); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: rgba(255, 255, 255, .06); }
.btn--ghost-light:hover { background: rgba(255, 255, 255, .16); }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }

.badge {
  display: inline-block; padding: 4px 10px; border-radius: 999px;
  background: var(--green-700); color: #fff; font-size: 11px; font-weight: 600;
}
.badge--gold { background: var(--gold-400); color: var(--green-950); }

.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 12px 20px; border-radius: 999px; background: var(--green-900); color: #fff;
  box-shadow: var(--shadow-lg); font-size: 14px; transition: .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.wa-float {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 95;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 16px; border: 1px solid rgba(6, 70, 38, .14); border-radius: 999px;
  background: #25d366; color: #063d21; font-size: 13px; font-weight: 600;
  box-shadow: 0 10px 24px rgba(6, 60, 32, .2);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(6, 60, 32, .26); }
.wa-float:focus-visible { outline: 3px solid rgba(6, 61, 33, .32); outline-offset: 3px; }
.wa-float .icon { width: 20px; height: 20px; flex: none; }
@media (max-width: 767px) {
  .wa-float { right: 14px; bottom: calc(14px + env(safe-area-inset-bottom)); width: 52px; height: 52px; padding: 0; justify-content: center; }
  .wa-float__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
body[data-page="detail"] .wa-float,
body[data-page="checkout"] .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ============================================================
   Header
   ============================================================ */
.site-header { position: sticky; top: 0; z-index: 100; background: #fff; box-shadow: var(--shadow-sm); }
.header-bars { transition: transform .3s var(--ease); }
.site-header.is-hidden { background: transparent; box-shadow: none; pointer-events: none; }
.site-header.is-hidden .header-bars { transform: translateY(-100%); }
@media (prefers-reduced-motion: reduce) { .header-bars { transition: none; } }
.header-main__inner { display: flex; align-items: center; gap: 18px; height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 9px; flex: none; color: var(--green-900); }
.brand__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(140deg, var(--green-700), var(--green-900)); color: var(--gold-400);
}
.brand__mark .icon { width: 22px; height: 22px; }
.brand__name { font-size: 19px; font-weight: 500; letter-spacing: -.045em; }
.brand__name strong { font-weight: 700; color: var(--gold-600); }
.brand__logo { display: block; width: auto; max-width: 240px; max-height: 56px; object-fit: contain; }
.brand--light .brand__logo { padding: 5px 10px; border-radius: 12px; background: #fff; }
@media (max-width: 767px) { .brand__logo { max-width: 190px; max-height: 46px; } }
.icon-btn {
  display: grid; place-items: center; width: 38px; height: 38px; flex: none;
  border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink);
}
.icon-btn:hover { border-color: var(--green-600); color: var(--green-700); }
.menu-toggle { display: grid; }
@media (min-width: 1024px) { .menu-toggle { display: none; } }

.search-form {
  display: none; align-items: center; gap: 8px; flex: 1 1 480px; max-width: 480px; min-width: 0;
  height: 42px; padding: 0 6px 0 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--cream);
}
.search-form__icon { width: 18px; height: 18px; color: var(--muted); }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 14px; }
.search-form input::placeholder { color: #9ca3af; }
.search-form__btn {
  display: grid; place-items: center; width: 32px; height: 32px; flex: none;
  border: 0; border-radius: 50%; background: var(--green-700); color: #fff;
}
.search-form__btn .icon { width: 16px; height: 16px; }
@media (min-width: 768px) {
  .search-form { display: flex; margin-left: auto; margin-right: auto; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .search-form { flex-basis: 360px; max-width: 380px; }
}

.header-account {
  display: none; align-items: center; gap: 8px; padding: 8px 10px; border: 0;
  background: transparent; color: var(--ink); font-size: 14px; font-weight: 500;
}
.header-account .icon { width: 20px; height: 20px; }
.header-account:hover { color: var(--green-700); }
@media (min-width: 1024px) { .header-account { display: flex; } }

.header-cart { display: flex; align-items: center; gap: 10px; flex: none; }
.header-cart__icon { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--green-100); color: var(--green-800); }
.header-cart__icon .icon { width: 21px; height: 21px; }
.cart-badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 4px;
  display: grid; place-items: center; border-radius: 999px; background: var(--gold-400);
  color: var(--green-950); font-size: 10px; font-weight: 700;
}
.header-cart__text { display: none; flex-direction: column; line-height: 1.2; }
.header-cart__text small { color: var(--muted); font-size: 11px; }
.header-cart__text strong { color: var(--ink); font-size: 14px; font-variant-numeric: tabular-nums; }
@media (min-width: 1024px) { .header-cart__text { display: flex; } }

.main-nav { display: none; border-top: 1px solid var(--line); }
@media (min-width: 1024px) { .main-nav { display: block; } }
.main-nav__inner { display: flex; align-items: center; gap: 14px; height: 48px; }
.mega-wrap { position: relative; flex: none; }
.category-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px;
  border: 1px solid var(--green-700); border-radius: 999px; background: var(--green-700); color: #fff;
  font-size: 13px; font-weight: 500;
}
.category-btn .icon { width: 16px; height: 16px; }
.category-btn__chevron { transition: transform .25s var(--ease); }
.category-btn[aria-expanded="true"] .category-btn__chevron { transform: rotate(180deg); }
.nav-divider { width: 1px; height: 22px; background: var(--line); }
.nav-links { display: flex; align-items: center; gap: 4px; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; height: 36px; padding: 0 12px; border-radius: 999px;
  color: var(--body); font-size: 13px; font-weight: 500; white-space: nowrap;
}
.nav-link:hover { background: var(--green-50); color: var(--green-700); }
.nav-link.is-active { background: var(--green-100); color: var(--green-800); font-weight: 600; }

.main-nav .nav-links { gap: 0; }
.main-nav .nav-link {
  height: 48px; padding: 0 14px; border-radius: 0; background: transparent;
  color: var(--muted); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.main-nav .nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 0; height: 2px;
  background: var(--gold-400); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.main-nav .nav-link:hover,
.main-nav .nav-link.is-active { background: transparent; color: var(--green-900); }
.main-nav .nav-link:hover::after,
.main-nav .nav-link.is-active::after { transform: scaleX(1); }
.mobile-drawer__links .nav-link { height: 44px; font-size: 15px; letter-spacing: normal; text-transform: none; border-radius: 999px; }
.mobile-drawer__links .nav-link::after { display: none; }

.mega-menu {
  position: absolute; top: calc(100% + 10px); left: 0; z-index: 30; width: min(1000px, calc(100vw - 64px));
  padding: 20px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff;
  box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: .25s var(--ease);
}
.mega-wrap:hover .mega-menu, .mega-wrap.is-open .mega-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.mega-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mega-item__cover { display: block; overflow: hidden; border-radius: 12px; aspect-ratio: 16 / 9; background: var(--green-50); }
.mega-item__cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.mega-item:hover .mega-item__cover img { transform: scale(1.06); }
.mega-item__title { display: block; margin-top: 10px; color: var(--ink); font-size: 13px; font-weight: 600; }
.mega-item__title:hover { color: var(--green-700); }
.mega-item ul { margin: 6px 0 0; }
.mega-item ul a { display: block; padding: 2px 0; color: var(--muted); font-size: 12px; }
.mega-item ul a:hover { color: var(--green-700); }
.mega-item__all { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; color: var(--gold-600); font-size: 12px; font-weight: 600; }
.mega-item__all .icon { width: 13px; height: 13px; }

.mobile-drawer {
  position: fixed; inset: 0 auto 0 0; z-index: 200; width: min(320px, 86vw);
  padding: 20px; background: #fff; box-shadow: var(--shadow-lg);
  transform: translateX(-105%); transition: transform .35s var(--ease);
}
.mobile-drawer.is-open { transform: translateX(0); }
.mobile-drawer__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-drawer__links { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; }
.mobile-drawer__links .nav-link { height: 44px; font-size: 15px; }
.mobile-drawer__foot { position: absolute; left: 20px; bottom: 24px; color: var(--muted); font-size: 13px; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 190; background: rgba(7, 45, 27, .45); opacity: 0; visibility: hidden; transition: .3s; }
.drawer-backdrop.is-visible { opacity: 1; visibility: visible; }

/* ============================================================
   Footer
   ============================================================ */
.site-footer { margin-top: 0; }
.footer-cta { background: linear-gradient(120deg, var(--green-900), var(--green-700)); color: #fff; }
.footer-cta__inner { display: flex; flex-direction: column; gap: 20px; padding-top: 32px; padding-bottom: 32px; }
@media (min-width: 768px) { .footer-cta__inner { flex-direction: row; align-items: center; justify-content: space-between; } }
.footer-cta h2 { color: #fff; font-size: 20px; }
@media (min-width: 1024px) { .footer-cta h2 { font-size: 26px; } }
.footer-cta p { margin-top: 6px; color: rgba(255, 255, 255, .75); font-size: 14px; }
.footer-cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.footer-main { background: var(--green-950); color: rgba(255, 255, 255, .7); }
.footer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; padding-top: 48px; padding-bottom: 48px; }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; padding-top: 64px; padding-bottom: 56px; } }
.brand--light { color: #fff; }
.brand--light .brand__mark { background: var(--gold-400); color: var(--green-950); }
.brand--light .brand__name strong { color: var(--gold-400); }
.footer-brand p { margin-top: 16px; font-size: 13px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); color: #fff; }
.socials a:hover { background: var(--gold-400); color: var(--green-950); }
.socials .icon { width: 16px; height: 16px; }
.footer-col h3 { margin-bottom: 14px; color: #fff; font-size: 14px; }
.footer-col nav { display: flex; flex-direction: column; gap: 8px; }
.footer-col nav a, .footer-col p { color: rgba(255, 255, 255, .68); font-size: 13px; }
.footer-col nav a:hover { color: var(--gold-400); }
.footer-col p { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.footer-col p .icon { width: 16px; height: 16px; margin-top: 2px; color: var(--gold-400); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .5); font-size: 12px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-top: 18px; padding-bottom: 18px; }

/* ============================================================
   Beranda — promo carousel
   ============================================================ */
.promo { padding-top: 20px; background: linear-gradient(180deg, var(--green-50), #fff 70%); }
@media (min-width: 1024px) { .promo { padding-top: 32px; } }
.promo-shell { position: relative; }
.promo-viewport { overflow: hidden; border-radius: var(--radius-lg); }
.promo-track { display: flex; transition: transform .6s var(--ease); }
.promo-slide {
  --promo-from: #14532D;
  --promo-to: #166534;
  --promo-ink: #FFFFFF;
  --promo-accent: #F0CD7A;
  --promo-on-accent: #0B3B24;
  flex: 0 0 100%; min-width: 100%; display: grid; grid-template-columns: 1fr; overflow: hidden;
  min-height: 280px; color: var(--promo-ink);
}
.promo-slide--green { --promo-from: var(--green-900); --promo-to: var(--green-600); }
.promo-slide--gold { --promo-from: #8A6512; --promo-to: var(--gold-500); --promo-ink: var(--green-950); --promo-accent: var(--green-950); --promo-on-accent: #FFFFFF; }
.promo-slide--deep { --promo-from: #0C3B2E; --promo-to: #1F7A55; }
@media (min-width: 900px) { .promo-slide { grid-template-columns: 1fr 1fr; min-height: 360px; } }
.promo-slide__body { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px; overflow: hidden; background: linear-gradient(135deg, var(--promo-from), var(--promo-to)); color: var(--promo-ink); }
@media (min-width: 1024px) { .promo-slide__body { padding: 56px; } }
.promo-slide__body::after {
  content: ''; position: absolute; right: -60px; bottom: -90px; width: 260px; height: 260px;
  border: 40px solid rgba(255, 255, 255, .07); border-radius: 50%;
}
.promo-slide__tag {
  display: inline-flex; align-items: center; gap: 8px; width: fit-content;
  padding: 6px 11px; border: 1px solid currentColor; border-radius: 3px;
  background: transparent; color: var(--promo-ink);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, .12); transform: rotate(-2deg);
  font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.promo-slide__tag::before { content: ''; width: 8px; height: 8px; flex: none; background: var(--promo-accent); }
.promo-slide h2 { max-width: 520px; color: inherit; font-size: 30px; font-weight: 700; line-height: 1.15; }
@media (min-width: 1024px) { .promo-slide h2 { font-size: 44px; } }
.promo-slide p { max-width: 460px; color: var(--promo-ink); opacity: .84; font-size: 14px; }
.promo-slide .btn--gold { background: var(--promo-accent); color: var(--promo-on-accent); }
.promo-slide .btn--gold:hover { background: var(--promo-accent); color: var(--promo-on-accent); filter: brightness(.95); }
.promo-slide .btn--ghost-light { border-color: currentColor; background: transparent; color: var(--promo-ink); }
.promo-slide .btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: var(--promo-ink); }
.promo-slide__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.promo-slide__media { position: relative; min-height: 220px; background: var(--green-800); }
.promo-slide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-arrow {
  position: absolute; top: 50%; z-index: 5; display: grid; place-items: center;
  width: 40px; height: 40px; margin-top: -20px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, .92); color: var(--green-900); box-shadow: var(--shadow-sm);
}
.promo-arrow--prev { left: 14px; }
.promo-arrow--next { right: 14px; }
.promo-arrow:hover { background: #fff; transform: scale(1.05); }
.promo-dots { display: flex; justify-content: center; gap: 2px; margin-top: 8px; }
.promo-dots button { position: relative; width: 24px; height: 24px; padding: 0; border: 0; background: transparent; }
.promo-dots button::after { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-radius: 999px; background: #cbd5d1; transform: translate(-50%, -50%); transition: .25s; }
.promo-dots button.is-active::after { width: 22px; background: var(--green-700); }

/* ============================================================
   Kategori tile
   ============================================================ */
.category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.category-tile {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 180px; overflow: hidden; border-radius: var(--radius);
  background: var(--tile-bg, var(--green-100)); color: var(--green-950);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.category-tile__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.category-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-tile:hover .category-tile__photo { transform: scale(1.07); }
.category-tile--wide { grid-column: span 2; min-height: 216px; }
.category-tile__body {
  position: relative; z-index: 1; display: flex; flex-direction: column; gap: 8px;
  margin: 9px; padding: 14px 16px; border-left: 3px solid var(--gold-400);
  background: rgba(255, 253, 247, .96); box-shadow: 0 10px 24px rgba(7, 45, 27, .14);
  backdrop-filter: blur(2px);
}
.category-tile--wide .category-tile__body { margin: 12px; padding: 18px 22px; }
.category-tile:not(.category-tile--wide) .category-tile__body { margin: 7px; padding: 10px 12px; }
.category-tile:not(.category-tile--wide) .category-tile__cta { display: none; }
.category-tile h3 { color: var(--green-950); font-size: 17px; font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
.category-tile--wide h3 { font-size: 30px; }
@media (min-width: 1024px) { .category-tile--wide h3 { font-size: 38px; } }
.category-tile__cta {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--green-800); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
}
.category-tile__cta .icon { width: 14px; height: 14px; color: var(--gold-600); transition: transform .25s var(--ease); }
.category-tile:hover .category-tile__cta .icon { transform: translateX(4px); }

/* ============================================================
   Kartu produk, chip, tab
   ============================================================ */
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1024px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }
.product-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-card__media { position: relative; display: block; overflow: hidden; background: var(--green-50); aspect-ratio: 518 / 480; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.06); }
.product-card__badge { position: absolute; top: 10px; left: 10px; padding: 4px 10px; border-radius: 999px; background: var(--green-700); color: #fff; font-size: 10px; font-weight: 600; }
.product-card__wish {
  position: absolute; top: 10px; right: 10px; display: grid; place-items: center;
  width: 32px; height: 32px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink);
}
.product-card__wish .icon { width: 16px; height: 16px; }
.product-card__wish.is-active { color: #c0392b; }
.product-card__wish.is-active .icon { fill: currentColor; }
.product-card__body { display: flex; flex: 1; flex-direction: column; gap: 5px; padding: 14px; }
.product-card__cat { color: var(--muted); font-size: 11px; }
.product-card__name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.product-card__name a:hover { color: var(--green-700); }
.product-card__rating { display: flex; align-items: center; gap: 4px; color: var(--muted); font-size: 12px; }
.product-card__rating .icon { width: 14px; height: 14px; color: var(--gold-500); fill: var(--gold-500); }
.product-card__price { margin-top: auto; padding-top: 10px; }
.product-card__price small { display: block; color: var(--muted); font-size: 11px; }
.product-card__price strong { color: var(--green-800); font-size: 17px; font-weight: 600; font-variant-numeric: tabular-nums; }

.chips { display: flex; gap: 8px; padding-bottom: 6px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
@media (min-width: 1024px) { .chips { flex-wrap: wrap; overflow: visible; } }
.chip {
  display: inline-flex; align-items: center; gap: 7px; flex: none; min-height: 38px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--body); font-size: 13px; font-weight: 500;
}
.chip .icon { width: 15px; height: 15px; }
.chip:hover { border-color: var(--green-600); color: var(--green-700); }
.chip.is-active { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.chip__count { padding: 1px 7px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: 11px; }
.chip.is-active .chip__count { background: rgba(255, 255, 255, .12); color: #fff; }

.segment { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid var(--line); }
.segment button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 14px;
  border: 0; border-radius: 999px; background: transparent; color: var(--body); font-size: 13px; font-weight: 500;
}
.segment button .icon { width: 15px; height: 15px; }
.segment button.is-active { background: var(--green-700); color: #fff; }

/* ============================================================
   Dukungan pembayaran & pengiriman
   ============================================================ */
.section--methods { padding-block: 40px 52px; }
.section-head--methods { margin-bottom: 18px; }
.section-head--methods p { margin-top: 4px; }
.method-list { border-top: 1px solid var(--line); }
.method-row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 28px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.method-row__intro h3 { color: var(--green-900); font-size: 15px; font-weight: 600; }
.method-row__intro p { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.method-row__items { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 10px; }
.method-item {
  display: grid; place-items: center; min-height: 60px; padding: 10px 12px;
  border: 1px solid var(--line); border-radius: 12px; background: #fff;
  transition: border-color .2s ease;
}
.method-item:hover { border-color: #b7d5c1; }
.method-item img { display: block; width: auto; height: auto; max-width: 100%; max-height: 30px; object-fit: contain; }
.method-item img[hidden], .method-item__text[hidden] { display: none; }
.method-item__text { color: var(--green-800); font-size: 12px; font-weight: 600; text-align: center; }
@media (max-width: 767px) {
  .method-row { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .method-row__items { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); }
}

/* ============================================================
   Artikel
   ============================================================ */
.article-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 900px) { .article-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }
.article-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--green-50); }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.05); }
.article-card__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px; }
.article-card__date { color: var(--muted); font-size: 11px; }
.article-card h2, .article-card h3 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.article-card p { color: var(--muted); font-size: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.article-card__link { margin-top: auto; color: var(--green-700); font-size: 12px; font-weight: 600; }

/* Detail artikel */
.article-detail { max-width: 820px; margin: 0 auto; }
.article-detail__header { margin-bottom: 20px; }
.article-detail__meta { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12px; }
.article-detail__meta .icon { width: 15px; height: 15px; color: var(--green-600); }
.article-detail__title { margin: 10px 0 12px; font-size: 28px; font-weight: 700; line-height: 1.2; }
.article-detail__excerpt { color: var(--body); font-size: 15px; line-height: 1.7; }
.article-detail__hero { margin: 0 0 26px; overflow: hidden; border-radius: var(--radius-lg); background: var(--green-50); box-shadow: var(--shadow-sm); }
.article-detail__hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.article-detail__content { max-width: 760px; color: var(--body); font-size: 15px; line-height: 1.8; }
.article-detail__content > * + * { margin-top: 18px; }
.article-detail__content h2,
.article-detail__content h3,
.article-detail__content h4 { margin-top: 32px; color: var(--green-900); line-height: 1.3; }
.article-detail__content h2 { font-size: 22px; }
.article-detail__content h3 { font-size: 18px; }
.article-detail__content h4 { font-size: 16px; }
.article-detail__content ul,
.article-detail__content ol { padding-left: 22px; list-style: disc; }
.article-detail__content ol { list-style: decimal; }
.article-detail__content li { margin: 6px 0; }
.article-detail__content li::marker { color: var(--green-600); }
.article-detail__content blockquote {
  margin: 24px 0; padding: 14px 18px;
  border-left: 4px solid var(--gold-400); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--green-50); color: var(--green-900); font-style: italic;
}
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.article-tags li { padding: 5px 12px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: 11px; font-weight: 600; }
.article-tags li::before { content: '#'; margin-right: 2px; color: var(--gold-700); }
.article-faq,
.article-related { margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.article-faq h2,
.article-related h2 { margin-bottom: 6px; font-size: 20px; font-weight: 600; }
.article-faq__list { margin-top: 16px; }
.article-related__list { display: grid; grid-template-columns: 1fr; gap: 12px; margin-top: 16px; }
.article-related__link {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 56px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font-size: 13px; font-weight: 600;
  transition: transform .25s var(--ease), border-color .2s, box-shadow .2s, color .2s;
}
.article-related__link:hover { transform: translateY(-2px); border-color: var(--green-600); box-shadow: var(--shadow-sm); color: var(--green-800); }
.article-related__link .icon { width: 16px; height: 16px; color: var(--gold-600); }
.article-detail__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.article-detail .empty-state .btn { margin-top: 16px; }
@media (min-width: 640px) {
  .article-related__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .article-detail__title { font-size: 40px; }
  .article-detail__excerpt { font-size: 17px; }
  .article-detail__content { font-size: 16px; }
  .article-detail__content h2 { font-size: 28px; }
  .article-detail__content h3 { font-size: 22px; }
  .article-faq h2,
  .article-related h2 { font-size: 24px; }
}
@media (max-width: 520px) {
  .article-detail__title { font-size: 26px; }
  .article-detail__hero { border-radius: var(--radius); }
  .article-detail__content { font-size: 14px; line-height: 1.75; }
  .article-faq,
  .article-related { margin-top: 28px; padding-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .article-related__link:hover { transform: none; }
}

/* ============================================================
   Katalog
   ============================================================ */
.catalog-head { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--green-50), var(--gold-100)); }
.catalog-head::after {
  content: ''; position: absolute; right: -100px; top: -120px; width: 360px; height: 360px;
  border: 50px solid rgba(212, 175, 55, .1); border-radius: 50%;
}
.catalog-head__inner { position: relative; z-index: 1; padding-top: 28px; padding-bottom: 28px; }
@media (min-width: 1024px) { .catalog-head__inner { padding-top: 44px; padding-bottom: 44px; } }
.catalog-head h1 { font-size: 30px; font-weight: 700; }
@media (min-width: 1024px) { .catalog-head h1 { font-size: 44px; } }
.catalog-head p { margin-top: 8px; color: var(--body); font-size: 14px; }
.catalog-head p strong { color: var(--green-800); }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.breadcrumb .icon { width: 13px; height: 13px; }
.breadcrumb a:hover { color: var(--green-700); }
.breadcrumb span[aria-current] { color: var(--ink); font-weight: 500; }

/* Kartu produk unggulan berganti otomatis di katalog */
.featured { position: relative; margin-top: 24px; }
@media (min-width: 1024px) { .featured { max-width: 720px; margin-top: 30px; } }
.featured__stage { position: relative; min-height: 172px; }
@media (min-width: 768px) { .featured__stage { min-height: 156px; } }
.featured__slide {
  position: absolute; inset: 0; display: grid; grid-template-columns: 132px 1fr; gap: 16px;
  align-items: center; padding: 14px; border: 1px solid rgba(255, 255, 255, .85);
  border-radius: var(--radius); background: rgba(255, 255, 255, .84);
  box-shadow: var(--shadow-sm); opacity: 0; transform: translateX(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease); pointer-events: none;
}
@media (min-width: 768px) { .featured__slide { grid-template-columns: 150px 1fr; gap: 22px; padding: 18px; } }
.featured__slide.is-active { opacity: 1; transform: none; pointer-events: auto; }
.featured__media { display: block; overflow: hidden; border-radius: var(--radius-sm); background: var(--green-100); aspect-ratio: 4 / 3; }
.featured__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.featured__slide:hover .featured__media img { transform: scale(1.06); }
.featured__body { min-width: 0; }
.featured__name { margin-top: 0; font-size: 20px; }
@media (min-width: 768px) { .featured__name { font-size: 26px; } }
.featured__name a:hover { color: var(--green-700); }
.featured__price { margin-top: 10px; color: var(--green-800); font-size: 13px; }
.featured__price strong { font-size: 20px; font-variant-numeric: tabular-nums; }
.featured__cta { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; color: var(--green-700); font-size: 12px; font-weight: 600; }
.featured__cta .icon { width: 15px; height: 15px; }
.featured__controls { position: relative; z-index: 2; display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.featured__dot { display: grid; place-items: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 999px; background: transparent; }
.featured__dot::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: rgba(22, 101, 52, .25); transition: width .3s var(--ease), background .3s var(--ease); }
.featured__dot.is-active::before { width: 26px; background: var(--green-700); }

.catalog-bar { position: sticky; top: 0; z-index: 20; border-bottom: 1px solid var(--line); background: #fff; box-shadow: 0 6px 18px rgba(11, 59, 36, .06); }
.catalog-bar__inner { padding-top: 12px; padding-bottom: 12px; }
.catalog-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin: 20px 0; }
.catalog-toolbar p { color: var(--muted); font-size: 13px; }
.sort-form { display: flex; align-items: center; gap: 8px; }
.sort-form label { color: var(--muted); font-size: 13px; }
.sort-form select {
  min-height: 38px; padding: 0 32px 0 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 13px;
}
.pagination-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 20px; margin-top: 40px; }
.pagination { display: flex; flex-direction: row; align-items: center; gap: 6px; }
.pagination__list { display: flex; align-items: center; gap: 6px; }
.pagination__page {
  display: grid; place-items: center; min-width: 38px; height: 38px; padding: 0 8px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--body); font-size: 13px;
}
.pagination__page:hover { border-color: var(--green-600); color: var(--green-700); }
.pagination__page.is-active { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.pagination__page.is-disabled { opacity: .4; pointer-events: none; }
.pagination__info { color: var(--muted); font-size: 12px; }
.empty-state { grid-column: 1 / -1; padding: 60px 20px; border: 1px dashed var(--line); border-radius: var(--radius); text-align: center; }
.empty-state .icon { width: 36px; height: 36px; margin: 0 auto 12px; color: var(--muted); }
.empty-state h3 { margin-bottom: 6px; font-size: 18px; }

/* ============================================================
   Detail produk
   ============================================================ */
.pdp { padding: 20px 0 60px; background: linear-gradient(180deg, var(--green-50), #fff 40%); }
@media (min-width: 1024px) { .pdp { padding-top: 28px; } }
.pdp-grid { display: grid; grid-template-columns: 1fr; gap: 28px; }
@media (min-width: 1024px) { .pdp-grid { grid-template-columns: 1.05fr .95fr; gap: 40px; } }
.gallery__stage { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.gallery__stage img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
@media (min-width: 1024px) { .gallery__stage img { aspect-ratio: 4 / 4.2; } }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; }
.gallery__thumb {
  width: 70px; height: 70px; padding: 0; overflow: hidden; border: 2px solid transparent;
  border-radius: 12px; background: var(--green-50);
}
.gallery__thumb.is-active { border-color: var(--green-700); }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-summary__eyebrow { display: inline-block; color: var(--green-700); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.pdp-summary h1 { margin: 8px 0 12px; font-size: 30px; font-weight: 700; }
@media (min-width: 1024px) { .pdp-summary h1 { font-size: 38px; } }
.pdp-summary__label { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.pdp-summary__price { color: var(--green-800); font-size: 30px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pdp-summary__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; color: var(--green-700); font-size: 13px; font-weight: 500; }
.pdp-summary__link .icon { width: 15px; height: 15px; }

.buy-card { margin-top: 20px; overflow: visible; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.buy-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.buy-card__head h2 { font-size: 17px; }
.buy-card__head p { color: var(--muted); font-size: 12px; }
.steps { display: flex; gap: 0; padding: 16px 20px 0; }
.step-tab { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px 14px; border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.step-tab__num { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; background: #fff; font-size: 12px; font-weight: 600; }
.step-tab .step-tab__check { display: none; width: 14px; height: 14px; }
.step-tab.is-active { color: var(--green-700); font-weight: 600; }
.step-tab.is-active .step-tab__num { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.step-tab.is-done .step-tab__num { border-color: var(--green-600); background: var(--green-100); color: var(--green-700); }
.step-tab.is-done .step-tab__digit { display: none; }
.step-tab.is-done .step-tab__check { display: block; }
.steps__track { height: 3px; margin: 0 40px; border-radius: 999px; background: var(--line); overflow: hidden; }
.steps__fill { display: block; width: var(--pg-progress, 0); height: 100%; background: var(--gold-400); transition: width .4s var(--ease); }

.panel { display: none; padding: 20px; }
.panel.is-active { display: block; animation: panelIn .35s var(--ease); }
.step-tab[hidden], .panel[hidden], .panel__nav [hidden] { display: none !important; }
@keyframes panelIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.panel__title { margin-bottom: 14px; font-size: 15px; }
.spec-group + .spec-group { margin-top: 18px; }
.spec-group__label { display: block; margin-bottom: 8px; color: var(--ink); font-size: 13px; font-weight: 600; }
.spec-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.spec-option { position: relative; cursor: pointer; }
.spec-option input { position: absolute; opacity: 0; pointer-events: none; }
.spec-option__body { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.spec-option input:checked + .spec-option__body { border-color: var(--green-700); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-700); }
.spec-option__name { color: var(--ink); font-size: 13px; font-weight: 500; }
.spec-option__price { color: var(--gold-700); font-size: 11px; }
.area-fields { margin-top: 18px; padding: 16px; border: 1px solid #b7d5c2; border-radius: 12px; background: var(--green-50); }
.area-fields[hidden] { display: none; }
.area-fields__title { margin-bottom: 12px; color: var(--green-900); font-size: 13px; font-weight: 600; }
.area-fields__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.area-fields__field { display: flex; flex-direction: column; gap: 6px; }
.area-fields__field span { color: var(--body); font-size: 12px; font-weight: 500; }
.area-fields__field input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 14px; outline: 0; }
.area-fields__field input:focus-visible { border-color: var(--green-700); box-shadow: 0 0 0 3px rgba(21, 101, 68, .16); }
.area-fields__hint { margin-top: 10px; color: var(--green-800); font-size: 12px; line-height: 1.5; }
.area-fields__hint.is-error { color: #b91c1c; }
.tier-box { margin-top: 18px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.tier-box summary { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; cursor: pointer; color: var(--ink); font-size: 12px; }
.tier-box summary span:nth-child(2) { margin-left: auto; color: var(--green-700); font-weight: 600; }
.tier-box table { width: 100%; border-collapse: collapse; font-size: 12px; }
.tier-box th, .tier-box td { padding: 8px 14px; border-top: 1px solid var(--line); text-align: left; }
.tier-box td:last-child, .tier-box th:last-child { text-align: right; }
.tier-box tr.is-current { background: var(--green-50); color: var(--green-800); font-weight: 600; }
.panel__nav { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; }
.panel__next, .panel__back {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 18px;
  border-radius: 999px; font-size: 13px; font-weight: 600;
}
.panel__next { border: 0; background: var(--green-700); color: #fff; margin-left: auto; }
.panel__next:hover { background: var(--green-800); }
.panel__next .icon, .panel__back .icon { width: 15px; height: 15px; }
.panel__back { border: 1px solid var(--line); background: #fff; color: var(--body); }
.qty-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.qty-control button { display: grid; place-items: center; width: 40px; height: 42px; border: 0; background: #fff; color: var(--green-800); }
.qty-control button:hover { background: var(--green-50); }
.qty-control button .icon { width: 16px; height: 16px; }
.qty-control input { width: 60px; height: 42px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; color: var(--ink); font-weight: 600; outline: 0; }
.qty-row__hint { color: var(--muted); font-size: 13px; }
.qty-error { margin-top: 8px; color: #b91c1c; font-size: 12px; }

.drop-zone { display: flex; align-items: center; gap: 14px; padding: 22px; border: 2px dashed #b7d5c2; border-radius: var(--radius); background: var(--green-50); cursor: pointer; }
.drop-zone.is-dragover { border-color: var(--green-700); background: var(--green-100); }
.drop-zone__icon { display: grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; color: var(--green-700); }
.drop-zone strong { display: block; color: var(--ink); font-size: 13px; }
.drop-zone small { color: var(--muted); font-size: 11px; }
.file-row { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.file-row .icon { color: var(--green-700); }
.file-row__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink); font-size: 12px; }
.file-row button { border: 0; background: transparent; color: var(--green-700); font-size: 12px; font-weight: 600; }
.progress { height: 5px; margin-top: 12px; border-radius: 999px; background: var(--line); overflow: hidden; }
.progress__bar { width: 0; height: 100%; background: var(--gold-400); transition: width .2s; }
.upload-note { margin-top: 6px; color: var(--muted); font-size: 11px; }
.upload-note.is-error { color: #b91c1c; }

.buy-card__total {
  position: sticky; bottom: 0; z-index: 10;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px;
  padding: 18px 20px; border-top: 1px solid var(--line); border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  background: var(--green-50); box-shadow: 0 -6px 18px rgba(11, 59, 36, .07);
}
.buy-card__total small { display: block; color: var(--muted); font-size: 11px; }
.buy-card__total strong { display: block; color: var(--green-800); font-size: 24px; font-variant-numeric: tabular-nums; }
.gallery .info-card { margin-top: 20px; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.info-card summary { display: flex; align-items: center; gap: 10px; padding: 18px 20px; cursor: pointer; color: var(--ink); font-weight: 600; }
.info-card summary .icon:first-child { color: var(--green-700); }
.info-card summary .icon:last-child { margin-left: auto; transition: transform .3s; }
.info-card[open] summary .icon:last-child { transform: rotate(180deg); }
.info-card__body { padding: 0 20px 20px; }
.info-card__body h4 { margin: 14px 0 6px; font-size: 13px; }
.info-card__body li { margin-bottom: 5px; color: var(--body); font-size: 13px; }
/* ============================================================
   Keranjang & checkout
   ============================================================ */
.page-block { padding-top: 36px; padding-bottom: 72px; }
.page-title { font-size: 30px; font-weight: 700; }
@media (min-width: 1024px) { .page-title { font-size: 38px; } }
.page-lead { margin-top: 8px; color: var(--muted); font-size: 14px; }
.cart-layout { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
@media (min-width: 1024px) { .cart-layout { grid-template-columns: 1.6fr 1fr; gap: 32px; } }
.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
@media (min-width: 640px) { .cart-item { grid-template-columns: 100px 1fr auto; gap: 18px; padding: 16px; } }
.cart-item__media { overflow: hidden; border-radius: 12px; aspect-ratio: 1; background: var(--green-50); }
.cart-item__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-item__cat { color: var(--muted); font-size: 11px; }
.cart-item__name { margin: 2px 0 4px; font-size: 14px; font-weight: 600; }
.cart-item__meta { color: var(--muted); font-size: 11px; }
.cart-item__right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 10px; }
.cart-item__price { color: var(--green-800); font-size: 15px; font-weight: 600; white-space: nowrap; }
.cart-item__remove { border: 0; background: transparent; color: var(--muted); font-size: 11px; }
.cart-item__remove:hover { color: #b91c1c; }
.summary-card { position: sticky; top: 88px; align-self: start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--green-50); }
.summary-card h2 { margin-bottom: 16px; font-size: 17px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; color: var(--body); font-size: 13px; }
.summary-row--total { margin-top: 8px; padding-top: 14px; border-top: 1px solid var(--line); color: var(--ink); font-weight: 600; }
.summary-row--total strong { color: var(--green-800); font-size: 20px; }
.summary-card .btn { margin-top: 16px; }
.summary-note { margin-top: 12px; color: var(--muted); font-size: 11px; text-align: center; }
.summary-service { margin: -4px 0 8px; color: var(--green-700); font-size: 11px; text-align: right; }
.radio-item.is-disabled { opacity: .5; cursor: not-allowed; }

.checkout-grid { display: grid; grid-template-columns: 1fr; gap: 24px; margin-top: 28px; }
@media (min-width: 1024px) { .checkout-grid { grid-template-columns: 1.5fr 1fr; gap: 32px; } }
.checkout-sticky-bar {
  position: fixed; right: 0; bottom: 0; left: 0; z-index: 90;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line);
  background: #fff; box-shadow: 0 -6px 18px rgba(11, 59, 36, .09);
}
.checkout-sticky-bar[hidden] { display: none !important; }
.checkout-sticky-bar small { display: block; color: var(--muted); font-size: 10px; }
.checkout-sticky-bar strong { display: block; color: var(--green-800); font-size: 18px; font-variant-numeric: tabular-nums; }
.checkout-sticky-bar__meta { color: var(--muted); font-size: 11px; text-align: right; }
.checkout-sticky-bar__meta b { display: block; color: var(--ink); font-size: 12px; }
@media (max-width: 1023px) {
  .checkout-sticky-bar { display: flex; }
  body[data-page="checkout"] { padding-bottom: 76px; }
}

.checkout-steps { display: flex; gap: 2px; margin-bottom: 16px; padding: 14px 10px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; list-style: none; }
.checkout-steps__item { position: relative; display: flex; flex: 1; min-width: 0; flex-direction: column; align-items: center; gap: 5px; color: var(--muted); }
.checkout-steps__item:not(:first-child)::before { position: absolute; top: 14px; right: 50%; left: -50%; height: 2px; background: var(--line); content: ''; }
.checkout-steps__item.is-done:not(:first-child)::before { background: var(--gold-400); }
.checkout-steps__number { display: grid; place-items: center; width: 28px; height: 28px; border: 2px solid var(--line); border-radius: 50%; background: #fff; color: var(--muted); font-size: 12px; font-weight: 700; }
.checkout-steps__label { max-width: 100%; overflow: hidden; font-size: 10px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.checkout-steps__item.is-active { color: var(--green-800); }
.checkout-steps__item.is-active .checkout-steps__number { border-color: var(--green-700); background: var(--green-700); color: #fff; }
.checkout-steps__item.is-done { color: var(--green-700); }
.checkout-steps__item.is-done .checkout-steps__number { border-color: var(--gold-400); background: var(--gold-400); color: var(--green-950); }

.checkout-step[hidden] { display: none !important; }
.checkout-step__lead { margin-bottom: 16px; color: var(--body); font-size: 12px; line-height: 1.6; }
.checkout-step__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line); }
.checkout-step__actions--end { justify-content: flex-end; }
.checkout-step h2:focus { outline: 0; }
.link-button { padding: 0; border: 0; background: transparent; color: var(--green-700); font-size: 11px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.link-button:hover { color: var(--green-900); }

.cart-review { display: grid; gap: 10px; }
.cart-review__item { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; }
.cart-review__media { flex: none; width: 68px; height: 68px; overflow: hidden; border-radius: 10px; background: var(--green-50); }
.cart-review__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-review__body { display: flex; flex: 1; min-width: 0; flex-direction: column; justify-content: space-between; gap: 8px; }
.cart-review__body > strong { color: var(--ink); font-size: 13px; }
.cart-review__meta { color: var(--muted); font-size: 11px; line-height: 1.6; }
.cart-review__bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.cart-review__bottom > strong { color: var(--green-800); font-size: 15px; white-space: nowrap; }
.cart-review__bottom .qty-control button, .cart-review__bottom .qty-control input { height: 34px; }
.cart-review__bottom .qty-control button { width: 34px; }
.cart-review__bottom .qty-control input { width: 44px; font-size: 12px; }
.promo-field { display: flex; flex-direction: column; gap: 6px; margin-top: 16px; }
.promo-field label { color: var(--ink); font-size: 12px; font-weight: 600; }
.promo-field input { width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; outline: 0; }
.promo-field input:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(22, 101, 52, .08); }

.address-card { margin-bottom: 16px; padding: 16px; border: 1px solid var(--green-100); border-radius: 14px; background: var(--green-50); }
.address-card__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.address-card__label { padding: 3px 9px; border-radius: 999px; background: var(--gold-400); color: var(--green-950); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.address-card strong { display: block; margin-bottom: 4px; color: var(--ink); font-size: 13px; }
.btn--small { min-height: 32px; padding: 0 12px; font-size: 11px; }

.ship-mode-tabs { display: flex; gap: 18px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.ship-mode-tabs button { padding: 10px 2px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; }
.ship-mode-tabs button.is-active { border-bottom-color: var(--green-700); color: var(--green-800); }
.radio-item[hidden] { display: none !important; }

.payment-group { margin-bottom: 14px; padding: 16px; border: 1px solid var(--line); border-radius: 14px; }
.payment-group h3 { margin-bottom: 4px; font-size: 13px; }
.payment-group .radio-list { margin-top: 12px; }

.review-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
@media (min-width: 640px) { .review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.review-section { padding: 14px; border: 1px solid var(--line); border-radius: 14px; }
.review-section__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.review-section h3 { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.review-section strong { color: var(--ink); font-size: 12px; }
.review-line { color: var(--muted); font-size: 11px; line-height: 1.6; word-break: break-word; }
.review-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.review-item:last-child { border-bottom: 0; }
.review-item > strong { flex: none; color: var(--green-800); font-size: 12px; }
.review-total { margin-top: 16px; padding: 16px; }
.review-total h3 { margin-bottom: 8px; font-size: 13px; }

.form-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.form-card + .form-card { margin-top: 16px; }
.form-card h2 { margin-bottom: 4px; font-size: 17px; }
.form-card__lead { margin-bottom: 18px; color: var(--muted); font-size: 12px; }
.form-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
@media (min-width: 640px) { .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label, .field__label { color: var(--ink); font-size: 12px; font-weight: 600; }
.field__hint { color: var(--muted); font-size: 11px; line-height: 1.5; }
.field input, .field textarea, .field select {
  width: 100%; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; color: var(--ink); font-size: 13px; outline: 0;
}
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(22, 101, 52, .08); }
.field__error { color: #b91c1c; font-size: 11px; }
.map-picker { position: relative; margin-top: 6px; }
.map-picker__canvas {
  position: relative; width: 100%; height: 300px; overflow: hidden; border: 1px solid var(--line);
  border-radius: 14px; background: #e8efe9; cursor: grab; touch-action: none;
}
.map-picker__canvas:focus-visible { outline: 3px solid rgba(22, 101, 52, .35); outline-offset: 2px; }
.map-picker__canvas:active { cursor: grabbing; }
.map-picker__tile { position: absolute; max-width: none; user-select: none; pointer-events: none; }
.map-picker__marker {
  position: absolute; width: 18px; height: 18px; margin: -18px 0 0 -9px; border: 3px solid #fff;
  border-radius: 50%; background: var(--green-700); box-shadow: 0 2px 8px rgba(0, 0, 0, .3); pointer-events: none;
}
.map-picker__marker--user { background: var(--gold-500); }
.map-picker__controls { position: absolute; top: 10px; right: 10px; display: flex; flex-direction: column; gap: 6px; }
.map-picker__controls button {
  width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 9px; background: #fff;
  color: var(--ink); font-size: 16px; line-height: 1; cursor: pointer;
}
.map-picker__controls button:hover:not(:disabled) { background: var(--green-50); }
.map-picker__controls button:disabled { opacity: .5; cursor: wait; }
.map-picker__coords { min-height: 18px; margin: 8px 0; color: var(--ink); font-size: 11px; }
.captcha-field { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--green-50); overflow: hidden; }
.captcha-field p { margin: 0 0 8px; color: #4b5563; font-size: 11px; line-height: 1.5; }
.captcha-field .field__error { margin: 8px 0 0; color: #b91c1c; }
.captcha-field iframe { max-width: 100%; }
.radio-list { display: grid; gap: 8px; }
.radio-item { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.radio-item:has(input:checked) { border-color: var(--green-700); background: var(--green-50); }
.radio-item input { accent-color: var(--green-700); }
.radio-item span { flex: 1; color: var(--ink); font-size: 13px; }
.radio-item strong { color: var(--green-800); font-size: 13px; }
.radio-item__label { display: block; }
.radio-item small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.checkout-summary__items { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.checkout-line { display: flex; justify-content: space-between; gap: 10px; font-size: 12px; }
.checkout-line span:first-child { color: var(--muted); }

.success-card { max-width: 680px; margin: 60px auto; padding: 40px 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; text-align: center; box-shadow: var(--shadow-sm); }
.success-card__icon { display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; background: var(--green-100); color: var(--green-700); }
.success-card__icon .icon { width: 34px; height: 34px; }
.success-card h1 { font-size: 26px; }
.success-card p { margin-top: 10px; color: var(--muted); font-size: 14px; }
.success-card__number { display: inline-block; margin: 20px 0; padding: 12px 20px; border-radius: 12px; background: var(--gold-100); color: var(--green-900); font-size: 18px; font-weight: 700; letter-spacing: .04em; }
.success-card__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.success-card { margin-bottom: 0; }

.payment-panel { max-width: 760px; margin: 22px auto 0; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
.payment-panel + .payment-panel { margin-top: 16px; }
.payment-panel__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.payment-panel h2 { font-size: 18px; }
.eyebrow { display: block; margin-bottom: 4px; color: var(--green-600); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.payment-details { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 9px 14px; margin: 0; }
.payment-details dt { color: var(--muted); font-size: 12px; }
.payment-details dd { margin: 0; color: var(--ink); font-size: 13px; font-weight: 600; word-break: break-word; }
.payment-details code { padding: 2px 6px; border-radius: 6px; background: var(--green-50); font-size: 12px; word-break: break-all; }
.payment-instructions { margin-top: 18px; padding: 13px 16px; border-radius: 12px; background: var(--green-50); color: var(--green-900); font-size: 12px; }
.payment-panel__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.payment-feedback { margin-top: 14px; padding: 11px 14px; border-radius: 10px; background: var(--green-50); color: var(--green-800); font-size: 12px; }
.invoice-items { display: grid; gap: 10px; margin-bottom: 18px; }
.invoice-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.invoice-item > div { min-width: 0; }
.invoice-item strong { color: var(--ink); font-size: 13px; }
.invoice-item small { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.invoice-item > strong { flex: none; color: var(--green-800); }
#invoiceTotals { padding-top: 14px; border-top: 1px dashed var(--line); }
@media (max-width: 520px) {
  .payment-panel { padding: 20px 16px; }
  .payment-details { grid-template-columns: 1fr; gap: 3px 0; }
  .payment-details dd { margin-bottom: 9px; }
}

/* ============================================================
   Blog & FAQ
   ============================================================ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item summary { display: flex; align-items: center; gap: 12px; padding: 18px 20px; cursor: pointer; color: var(--ink); font-size: 14px; font-weight: 600; }
.faq-item summary .icon:last-child { margin-left: auto; color: var(--muted); transition: transform .3s; }
.faq-item[open] summary .icon:last-child { transform: rotate(180deg); }
.faq-item__answer { padding: 0 20px 18px; color: var(--body); font-size: 13px; }

/* ============================================================
   Akun pelanggan: masuk, daftar, profil, riwayat pesanan
   ============================================================ */
body[data-page="login"] :is(.menu-toggle, .search-form, .header-account, .header-cart, .main-nav),
body[data-page="register"] :is(.menu-toggle, .search-form, .header-account, .header-cart, .main-nav) { display: none !important; }
body[data-page="login"] .header-main__inner,
body[data-page="register"] .header-main__inner { justify-content: center; }
body[data-page="login"] .footer-cta,
body[data-page="register"] .footer-cta { display: none; }

.auth-page {
  min-height: calc(100vh - 170px);
  padding: 52px 0 64px;
  background:
    radial-gradient(circle at 14% 12%, rgba(212, 175, 55, .14), transparent 34%),
    radial-gradient(circle at 86% 88%, rgba(22, 101, 52, .10), transparent 38%),
    var(--green-50);
}
.auth-page__container { width: 100%; max-width: 520px; margin: 0 auto; padding: 0 20px; }
.auth-card { padding: 32px; border: 1px solid #dfeadf; border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.auth-card__head { margin-bottom: 26px; text-align: center; }
.auth-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 16px; background: var(--green-100); color: var(--green-700); }
.auth-card__icon .icon { width: 24px; height: 24px; }
.auth-card__head h1 { font-size: 24px; }
.auth-card__head p { margin-top: 8px; color: var(--muted); font-size: 13px; }
.auth-form .form-grid { gap: 16px; }
.auth-form .field input { min-height: 46px; border-radius: 12px; }
.auth-form .field__optional { color: var(--muted); font-weight: 400; }
.auth-form .btn--block { min-height: 48px; margin-top: 22px; border-radius: 12px; }
.auth-form [data-form-error] { margin-top: 10px; }
.auth-card__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.auth-card__foot a { display: inline-flex; align-items: center; gap: 4px; color: var(--green-700); font-weight: 600; }
.auth-card__foot a:hover { text-decoration: underline; }
.auth-card__foot .icon { width: 14px; height: 14px; }
.account-layout { display: grid; grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
@media (min-width: 1024px) { .account-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); align-items: start; } }
@media (max-width: 520px) {
  .auth-page { padding: 28px 0 48px; }
  .auth-card { padding: 24px 20px; }
  .auth-card__head h1 { font-size: 22px; }
}
.auth-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.auth-actions .btn { margin-top: 0; }
.field__error:empty { display: none; }

.account-card { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.account-card h2 { font-size: 17px; }
.account-card__head { display: flex; flex-wrap: wrap; align-items: start; justify-content: space-between; gap: 10px; }
.account-count { padding: 5px 10px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: 11px; font-weight: 600; }
.account-identity { display: flex; align-items: center; gap: 12px; margin: 18px 0; padding: 14px; border-radius: 14px; background: var(--green-50); }
.account-avatar { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: var(--green-700); color: #fff; font-size: 18px; font-weight: 700; }
.account-identity strong, .account-identity span { display: block; }
.account-identity strong { color: var(--ink); font-size: 14px; }
.account-identity span:last-child { margin-top: 2px; color: var(--muted); font-size: 12px; }
.order-list { display: grid; gap: 12px; margin-top: 18px; }
.order-card { padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.order-card__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.order-card__number { color: var(--green-800); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.order-card__meta { margin-top: 6px; color: var(--muted); font-size: 11px; }
.order-card__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.order-card__total { color: var(--ink); font-size: 12px; }
.order-card__total strong { color: var(--green-800); font-size: 15px; }
.order-card__link { color: var(--green-700); font-size: 12px; font-weight: 600; }
.status-pill { padding: 4px 9px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: 10px; font-weight: 600; }
.status-pill--warning { background: var(--gold-100); color: var(--gold-700); }
.status-pill--muted { background: #f1f5f9; color: #475569; }
.status-pill--danger { background: #fee2e2; color: #b91c1c; }
.empty-note { padding: 22px 16px; border: 1px dashed var(--line); border-radius: 14px; color: var(--muted); font-size: 12px; text-align: center; }

/* ---------------- Promosi: voucher & poin loyalitas ---------------- */
.promo-panel, .points-panel { margin-top: 18px; padding: 16px; border: 1px solid var(--green-100); border-radius: var(--radius); background: var(--green-50); }
.promo-panel__head, .points-panel__head { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 10px; }
.promo-panel h3, .points-panel h3 { color: var(--green-900); font-size: 14px; }
.promo-panel__status { padding: 3px 9px; border-radius: 999px; background: var(--green-100); color: var(--green-800); font-size: 10px; font-weight: 600; }
.promo-panel__status:empty { display: none; }

.voucher-list { display: grid; gap: 10px; margin-top: 14px; }
.voucher-card {
  display: flex; align-items: flex-start; gap: 12px; width: 100%;
  padding: 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); text-align: left;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.voucher-card:hover:not(:disabled) { border-color: var(--green-600); transform: translateY(-1px); }
.voucher-card.is-selected { border-color: var(--green-700); background: var(--green-50); box-shadow: inset 0 0 0 1px var(--green-700); }
.voucher-card:disabled, .voucher-card.is-disabled { opacity: .55; cursor: not-allowed; background: #f9fafb; }
.voucher-card:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }
.voucher-card__check { display: grid; place-items: center; width: 20px; height: 20px; flex: none; border: 2px solid var(--line); border-radius: 6px; background: #fff; color: #fff; }
.voucher-card.is-selected .voucher-card__check { border-color: var(--green-700); background: var(--green-700); }
.voucher-card__check .icon { width: 14px; height: 14px; }
.voucher-card__body { display: grid; flex: 1; min-width: 0; gap: 4px; }
.voucher-card__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.voucher-card__top strong { color: var(--ink); font-size: 13px; }
.voucher-card__badge { padding: 3px 8px; border-radius: 999px; background: var(--gold-100); color: var(--gold-700); font-size: 11px; font-weight: 700; }
.voucher-card__desc { color: var(--body); font-size: 12px; line-height: 1.5; }
.voucher-card__meta { color: var(--muted); font-size: 11px; }
.voucher-card__reason { color: #b91c1c; font-size: 11px; font-weight: 600; }
.voucher-card--plain .voucher-card__body strong { color: var(--green-800); }
.voucher-list__empty { padding: 14px; border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: 12px; text-align: center; }

.voucher-code { margin-top: 14px; }
.voucher-code label { display: block; margin-bottom: 6px; color: var(--ink); font-size: 12px; font-weight: 600; }
.voucher-code__row { display: flex; gap: 8px; }
.voucher-code__row input { flex: 1; min-width: 0; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; outline: 0; }
.voucher-code__row input:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(22, 101, 52, .08); }
.voucher-code__row .btn { flex: none; }
.promo-feedback { margin-top: 8px; font-size: 11px; line-height: 1.5; }
.promo-feedback:empty { display: none; }
.promo-feedback.is-success { color: var(--green-700); }
.promo-feedback.is-error { color: #b91c1c; }
.voucher-code__row input:focus-visible, .points-panel input:focus-visible, .points-panel button:focus-visible { outline: 3px solid var(--gold-400); outline-offset: 2px; }

.points-panel__balance { padding: 4px 10px; border-radius: 999px; background: var(--gold-100); color: var(--gold-700); font-size: 12px; font-weight: 700; }
.points-panel__conversion { margin-top: 8px; color: var(--gold-700); font-size: 12px; font-weight: 600; }
.points-panel__controls { margin-top: 12px; }
.points-panel__controls label { display: block; color: var(--ink); font-size: 12px; font-weight: 600; }
.points-panel__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 6px; }
.points-panel__row input { width: 120px; min-height: 42px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 13px; outline: 0; }
.points-panel__row input:focus { border-color: var(--green-600); box-shadow: 0 0 0 3px rgba(22, 101, 52, .08); }
.points-panel__quote { margin-top: 8px; color: var(--green-800); font-size: 12px; font-weight: 600; }
.points-hint { margin-top: 18px; padding: 12px 14px; border: 1px dashed var(--line); border-radius: var(--radius-sm); color: var(--muted); font-size: 12px; }
.points-hint a { color: var(--green-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

.summary-row[hidden] { display: none !important; }
.summary-row--discount strong { color: var(--green-700); font-size: 13px; }
.summary-row--discount small { display: block; color: var(--muted); font-size: 10px; font-weight: 500; }
.summary-row--voucher strong { max-width: 58%; color: var(--green-800); font-size: 11px; text-align: right; }
.summary-note--promo { color: var(--gold-700); }
.checkout-sticky-bar__discount { display: block; color: var(--green-700); font-size: 10px; font-weight: 600; }
.checkout-sticky-bar__discount[hidden] { display: none; }

.points-balance-card { display: flex; align-items: center; gap: 14px; margin: 4px 0 18px; padding: 16px; border: 1px solid #f0dfae; border-radius: var(--radius); background: linear-gradient(120deg, var(--gold-100), var(--green-50)); }
.points-balance-card__icon { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--gold-400); color: var(--green-950); font-size: 22px; }
.points-balance-card__body p { margin-top: 2px; color: var(--green-900); font-size: 13px; }
.points-balance-card__body p strong { font-size: 22px; font-variant-numeric: tabular-nums; }
.success-points { margin-top: 8px; color: var(--gold-700); font-size: 12px; font-weight: 600; }

@media (min-width: 768px) { .voucher-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .voucher-card:hover:not(:disabled) { transform: none; }
}
