/* ===========================================================
   KitingCake — styles
   Palette: merah (#830000) + putih (#FFFFFF)
   =========================================================== */

:root {
  /* ==========================================================
     🎨  TEMA WARNA WEBSITE — UBAH DI SINI
     Semua warna situs mengambil dari variabel di bawah.
     Ganti nilainya untuk mengubah tone seluruh website.
     Tema sekarang: MERAH (#830000) + PUTIH (#FFFFFF)
     ========================================================== */
  --cream:        #FFFFFF;   /* background utama halaman (putih)            */
  --cream-deep:   #FCF3F3;   /* background section selang-seling (putih semu merah) */
  --card:         #FFFFFF;   /* background kartu                            */
  --ink:          #2B1414;   /* warna teks utama (gelap)                    */
  --ink-soft:     #7C6565;   /* warna teks sekunder                         */
  --pistachio:    #830000;   /* ⭐ WARNA UTAMA — tombol & aksen (merah)      */
  --pistachio-d:  #5E0000;   /* warna utama versi gelap (untuk hover)       */
  --pistachio-s:  #F7E7E7;   /* warna utama versi muda (tint background)    */
  --caramel:      #A6161B;   /* aksen — highlight & badge Best Seller       */
  --berry:        #C25A55;   /* aksen sekunder (rose)                       */
  --line:         #F0E3E3;   /* warna garis / border                        */
  /* ====== akhir pengaturan warna ====== */
  --shadow-sm:    0 2px 10px rgba(70, 20, 20, .06);
  --shadow-md:    0 12px 34px rgba(70, 20, 20, .10);
  --shadow-lg:    0 24px 60px rgba(70, 20, 20, .16);
  --radius:       26px;
  --radius-sm:    16px;
  --wrap:         1120px;
  --serif:        "Fraunces", Georgia, serif;
  --sans:         "Plus Jakarta Sans", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

/* atribut hidden harus selalu menang atas display dari class (mis. .field) */
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.1;
  margin: 0;
  letter-spacing: -0.01em;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding-inline: 24px;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--pistachio);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }

.btn-primary { background: var(--pistachio); color: #fff; box-shadow: 0 8px 20px rgba(131,0,0,.28); }
.btn-primary:hover { background: var(--pistachio-d); box-shadow: 0 10px 26px rgba(94,0,0,.34); }

.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--pistachio); color: var(--pistachio-d); background: var(--pistachio-s); }

.btn-cream { background: #fff; color: var(--pistachio-d); box-shadow: var(--shadow-md); }
.btn-cream:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 74px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark {
  position: relative;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
  overflow: hidden;
}
.brand-logo-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -0.02em;
}
.brand-name span { color: var(--pistachio); }

.main-nav {
  margin-inline: auto;
  display: flex;
  gap: 30px;
}
.main-nav a {
  font-weight: 500;
  font-size: 15px;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
  transition: color .18s ease;
}
.main-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; border-radius: 2px;
  background: var(--pistachio);
  transition: width .22s ease;
}
.main-nav a:hover { color: var(--ink); }
.main-nav a:hover::after { width: 100%; }

.header-actions { margin-left: auto; }
.cart-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  padding: 10px 16px 10px 15px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .2s ease;
}
.cart-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.cart-count {
  min-width: 22px; height: 22px;
  display: grid; place-items: center;
  padding: 0 6px;
  background: var(--pistachio);
  color: #fff;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 999px;
  transition: transform .2s ease;
}
.cart-count[data-empty="true"] { background: var(--line); color: var(--ink-soft); }
.cart-count.pop { animation: pop .3s ease; }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.35)} 100%{transform:scale(1)} }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 60px 0 40px; }
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--pistachio-d);
  font-weight: 600;
  font-size: 13.5px;
  padding: 7px 15px;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 5.2vw, 58px);
  margin-bottom: 18px;
}
.hero h1 .hl { color: var(--pistachio); position: relative; white-space: nowrap; }
.hero h1 .hl::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 4px;
  height: 12px; z-index: -1;
  background: var(--caramel);
  opacity: .35;
  border-radius: 8px;
}
.lead {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 46ch;
  margin: 0 0 28px;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust {
  list-style: none;
  display: flex;
  gap: 26px;
  padding: 0; margin: 0;
  flex-wrap: wrap;
}
.hero-trust li { font-size: 14.5px; color: var(--ink-soft); }
.hero-trust strong { display: block; font-size: 20px; color: var(--ink); font-family: var(--serif); }

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(50px);
  z-index: 0;
  opacity: .5;
}
.blob-1 { width: 340px; height: 340px; background: var(--pistachio-s); top: -80px; right: 8%; }
.blob-2 { width: 300px; height: 300px; background: #f7dede; bottom: -120px; left: -60px; }

.hero-art { position: relative; z-index: 1; display: grid; place-items: center; }
.mascot-card {
  position: relative;
  width: min(400px, 100%);
  aspect-ratio: 1;
  background: radial-gradient(120% 120% at 30% 20%, #ffffff 0%, var(--pistachio-s) 100%);
  border: 1px solid var(--line);
  border-radius: 40px;
  box-shadow: var(--shadow-lg);
  display: grid;
  place-items: center;
}
.mascot { width: 78%; animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }
.art-badge {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 14px;
  border-radius: 999px;
}
.badge-a { top: 24px; left: -14px; color: var(--berry); animation: float 4.2s ease-in-out infinite; }
.badge-b { bottom: 40px; right: -10px; color: var(--caramel); animation: float 5.4s ease-in-out .6s infinite; }

/* ---------- Sections ---------- */
.section { padding: 74px 0; }
.section-alt { background: var(--cream-deep); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 46px; }
.kicker {
  display: inline-block;
  color: var(--pistachio-d);
  background: var(--pistachio-s);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.section-head h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 12px; }
.section-head p { color: var(--ink-soft); font-size: 16.5px; margin: 0; }

/* ---------- Menu grid ---------- */
.menu-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px;
}
.menu-grid .product { flex: 0 1 340px; max-width: 340px; }
.product {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .25s ease;
  display: flex;
  flex-direction: column;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-media {
  position: relative;
  aspect-ratio: 5 / 4;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.product-media .food { width: 82%; transition: transform .3s ease; }
.product:hover .food { transform: scale(1.06) rotate(-2deg); }
/* placeholder 🥖 di belakang foto — tampil bila foto belum ada */
.product-media::before {
  content: "🥖";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 58px;
  opacity: .4;
}
.product-photo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}
.product:hover .product-photo { transform: scale(1.05); }

/* stok habis */
.product.sold-out .product-media { filter: grayscale(.55); }
.product.sold-out .product-media::after {
  content: "Habis";
  position: absolute; inset: 0; z-index: 3;
  display: grid; place-items: center;
  background: rgba(43, 20, 20, .42);
  color: #fff;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: .06em;
}
.btn-add:disabled { background: var(--line); color: var(--ink-soft); cursor: not-allowed; box-shadow: none; }
.btn-add:disabled:hover { background: var(--line); transform: none; }
.media-choco     { background: radial-gradient(130% 130% at 30% 20%, #fff5f5, #f2d9d9); }
.media-bread     { background: radial-gradient(130% 130% at 30% 20%, #fff8f8, #f6e4e4); }
.media-pistachio { background: radial-gradient(130% 130% at 30% 20%, #fdf3f3, #efdada); }

.tag {
  position: absolute;
  z-index: 2;
  top: 14px; left: 14px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 999px;
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.tag-hot { background: var(--berry); }
.tag-fav { background: var(--caramel); }
.tag-new { background: var(--pistachio); }

.product-body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 22px; margin-bottom: 7px; }
.product-body p { color: var(--ink-soft); font-size: 14.5px; margin: 0 0 16px; flex: 1; }
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.price { font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--ink); }

.stepper {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
}
.stepper button {
  width: 30px; height: 30px;
  border: none;
  background: #fff;
  border-radius: 50%;
  font-size: 18px;
  line-height: 1;
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: background .15s ease, color .15s ease;
}
.stepper button:hover { background: var(--pistachio); color: #fff; }
.stepper .qty { min-width: 22px; text-align: center; font-weight: 700; font-size: 15px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.step-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 30px 22px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.step-num {
  position: absolute;
  top: -14px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--pistachio);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
}
.step-ic { font-size: 34px; margin-bottom: 12px; }
.step-card h3 { font-size: 18px; margin-bottom: 6px; }
.step-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* ---------- Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.feature:hover { transform: translateY(-4px); }
.feat-ic {
  width: 54px; height: 54px;
  display: grid; place-items: center;
  font-size: 27px;
  background: var(--pistachio-s);
  border-radius: 16px;
  margin-bottom: 16px;
}
.feature h3 { font-size: 19px; margin-bottom: 7px; }
.feature p { color: var(--ink-soft); font-size: 14.5px; margin: 0; }

/* ---------- CTA band ---------- */
.cta-band {
  margin: 20px 0 76px;
}
.cta-inner {
  background: linear-gradient(120deg, var(--pistachio) 0%, var(--pistachio-d) 100%);
  border-radius: 32px;
  padding: 44px 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  color: #fff;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: "🧁";
  position: absolute;
  font-size: 220px;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  opacity: .12;
}
.cta-inner h2 { color: #fff; font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 6px; }
.cta-inner p { margin: 0; opacity: .9; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #e9ded2; padding: 60px 0 26px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.foot-brand .brand-name { color: #fff; font-size: 26px; }
.foot-brand .brand-name span { color: var(--pistachio-s); }
.foot-brand p { color: #c9b3b3; max-width: 34ch; margin: 12px 0 18px; font-size: 15px; }
.socials { display: flex; gap: 16px; }
.socials a { color: #f0e0e0; font-size: 14px; font-weight: 500; transition: color .18s ease; }
.socials a:hover { color: var(--pistachio-s); }
.foot-col h4 { font-family: var(--sans); font-weight: 700; font-size: 15px; margin-bottom: 14px; color: #fff; }
.foot-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-col li { color: #c9b3b3; font-size: 14.5px; }
.foot-bottom { padding-top: 22px; font-size: 13.5px; color: #a98f8f; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 55;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: #25D366;
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 13px 20px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .18s ease, box-shadow .2s ease;
}
.wa-float:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 14px 36px rgba(37,211,102,.5); }

/* ---------- Overlay ---------- */
.overlay {
  position: fixed; inset: 0;
  background: rgba(45, 36, 30, .5);
  backdrop-filter: blur(2px);
  z-index: 90;
  opacity: 0;
  transition: opacity .25s ease;
}
.overlay.show { opacity: 1; }

/* ---------- Cart drawer ---------- */
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: min(420px, 92vw);
  background: var(--cream);
  z-index: 100;
  transform: translateX(105%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 22px 16px;
  border-bottom: 1px solid var(--line);
}
.cart-head h3 { font-size: 22px; }
.icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 16px;
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.icon-btn:hover { background: var(--pistachio-s); transform: rotate(90deg); }

.cart-items { flex: 1; overflow-y: auto; padding: 16px 22px; display: flex; flex-direction: column; gap: 14px; }
.cart-item {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 13px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px;
  animation: slideIn .25s ease;
}
@keyframes slideIn { from { opacity:0; transform: translateX(14px);} to {opacity:1; transform:none;} }
.ci-thumb {
  position: relative;
  overflow: hidden;
  width: 60px; height: 60px;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 30px;
  background: #f6e4e4;
}
.ci-thumb-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ci-info h4 { font-family: var(--sans); font-weight: 700; font-size: 15px; margin: 0 0 2px; }
.ci-info .ci-price { color: var(--ink-soft); font-size: 13.5px; }
.ci-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ci-remove {
  background: none; border: none; cursor: pointer;
  color: var(--ink-soft); font-size: 12.5px; font-weight: 600;
  transition: color .15s ease;
}
.ci-remove:hover { color: var(--berry); }
.ci-stepper {
  display: inline-flex; align-items: center; gap: 2px;
  background: var(--cream); border: 1px solid var(--line);
  border-radius: 999px; padding: 3px;
}
.ci-stepper button {
  width: 26px; height: 26px; border: none; background: #fff;
  border-radius: 50%; cursor: pointer; font-size: 16px; line-height: 1;
  box-shadow: var(--shadow-sm); transition: background .15s ease, color .15s ease;
}
.ci-stepper button:hover { background: var(--pistachio); color: #fff; }
.ci-stepper .n { min-width: 20px; text-align: center; font-weight: 700; font-size: 14px; }

.cart-empty {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 30px;
  color: var(--ink-soft);
}
.empty-emoji { font-size: 56px; }

.cart-foot { padding: 18px 22px 24px; border-top: 1px solid var(--line); background: #fff; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.cart-total span { font-size: 15px; color: var(--ink-soft); }
.cart-total strong { font-family: var(--serif); font-size: 26px; }
.cart-note { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin: 12px 0 0; }

/* ---------- Modal ---------- */
.modal {
  position: fixed; inset: 0;
  z-index: 110;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-card {
  background: var(--cream);
  width: min(460px, 100%);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  animation: modalIn .3s cubic-bezier(.34,1.3,.5,1);
}
@keyframes modalIn { from { opacity:0; transform: translateY(20px) scale(.97);} to {opacity:1; transform:none;} }
.modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 24px 12px;
}
.modal-head h3 { font-size: 24px; }
.checkout-form { padding: 6px 24px 26px; display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; }
.field label span { color: var(--berry); }
.field input, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 12px 14px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  border-color: var(--pistachio);
  box-shadow: 0 0 0 3px var(--pistachio-s);
}
.field input.invalid, .field textarea.invalid { border-color: var(--berry); box-shadow: 0 0 0 3px rgba(217,139,139,.18); }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span {
  display: block;
  text-align: center;
  padding: 12px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font-weight: 600;
  font-size: 14.5px;
  transition: all .15s ease;
}
.seg input:checked + span {
  border-color: var(--pistachio);
  background: var(--pistachio-s);
  color: var(--pistachio-d);
}
.seg-disabled, .seg-disabled input { cursor: not-allowed; }
.seg-disabled span { background: var(--cream-deep); color: var(--ink-soft); opacity: .65; }
.seg-disabled span small { display: block; font-weight: 500; font-size: 11px; }

.order-summary {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 14px;
}
.order-summary .os-row { display: flex; justify-content: space-between; padding: 4px 0; color: var(--ink-soft); }
.order-summary .os-total { display: flex; justify-content: space-between; padding-top: 10px; margin-top: 6px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--ink); font-size: 16px; }

.btn-wa { background: #25D366; box-shadow: 0 8px 20px rgba(37,211,102,.35); }
.btn-wa:hover { background: #1eb757; }

/* ---------- Checkout steps + QRIS ---------- */
.steps-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 2px 24px 6px;
}
.si-step { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }
.si-step b {
  display: grid; place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--line);
  color: var(--ink-soft);
  font-size: 12px;
}
.si-step.active { color: var(--pistachio); }
.si-step.active b { background: var(--pistachio); color: #fff; }
.si-step.done b { background: var(--pistachio); color: #fff; }
.si-line { width: 34px; height: 2px; background: var(--line); border-radius: 2px; }

.payment-step { padding: 6px 24px 26px; display: grid; gap: 16px; }
.pay-total {
  display: flex; align-items: center; justify-content: space-between;
  background: var(--pistachio-s);
  border-radius: 14px;
  padding: 14px 18px;
}
.pay-total span { font-size: 14px; color: var(--ink-soft); }
.pay-total strong { font-family: var(--serif); font-size: 24px; color: var(--pistachio-d); }

.qris-box {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  background: #fff;
  text-align: center;
}
.qris-brand { font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--pistachio-d); margin-bottom: 12px; }
.qris-img { width: 100%; max-width: 250px; margin: 0 auto; border-radius: 10px; }
.qris-fallback {
  display: none;              /* ditampilkan via JS bila img/qris.png belum ada */
  place-items: center;
  gap: 10px;
  aspect-ratio: 1;
  max-width: 250px;
  margin: 0 auto;
  border: 2px dashed var(--line);
  border-radius: 14px;
  color: var(--ink-soft);
  padding: 20px;
}
.qf-emoji { font-size: 44px; }
.qris-fallback p { margin: 0; font-size: 14px; line-height: 1.5; }

.pay-hint { font-size: 13.5px; color: var(--ink-soft); text-align: center; margin: 0; }
.pay-hint b { color: var(--ink); }
.pay-note { text-align: center; font-size: 12.5px; color: var(--ink-soft); margin: -4px 0 0; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  bottom: 90px; left: 50%;
  transform: translateX(-50%) translateY(30px);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
  padding: 13px 22px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  z-index: 120;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-art { order: -1; }
  .hero-cta, .hero-trust { justify-content: center; }
  .lead { margin-inline: auto; }
  .main-nav { display: none; }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .cart-btn span:not(.cart-count) { display: none; }
  .wa-float span { display: none; }
  .wa-float { padding: 15px; }
  .menu-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-inner { flex-direction: column; text-align: center; padding: 34px 26px; }
  .section { padding: 54px 0; }
  .hero { padding: 34px 0 20px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; transition-duration: .05s !important; }
}
