/* ==========================================================================
   SigmaTokoMart — style.css
   Design tokens: warm bakery palette, Poppins (display) + Inter (body)
   ========================================================================== */

:root{
  /* Warna */
  --clr-caramel: #8B5E3C;
  --clr-caramel-dark: #6B4526;
  --clr-choco: #3D2817;
  --clr-blush: #F4C2C2;
  --clr-cream: #FFF8F0;
  --clr-cream-2: #FFFDF8;
  --clr-gold: #D9A441;
  --clr-wa: #25D366;
  --clr-wa-dark: #1DA851;
  --clr-danger: #E0553F;
  --clr-line: #EFE3D3;
  --clr-text: #3D2817;
  --clr-text-soft: #7A6656;
  --clr-white: #FFFFFF;

  /* Bayangan */
  --shadow-sm: 0 4px 14px rgba(59, 33, 15, .06);
  --shadow-md: 0 10px 30px rgba(59, 33, 15, .10);
  --shadow-lg: 0 20px 45px rgba(59, 33, 15, .16);

  /* Radius */
  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Spasi */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-7: 32px;
  --sp-8: 48px;

  --maxw: 480px;
  --nav-h: 68px;
  --topbar-h: 60px;
}

*, *::before, *::after{ box-sizing: border-box; }

html{ -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--clr-cream);
  color: var(--clr-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4{
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--clr-choco);
  margin: 0 0 var(--sp-2);
  line-height: 1.25;
}

p{ margin: 0 0 var(--sp-3); }
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; cursor: pointer; }

::selection{ background: var(--clr-blush); color: var(--clr-choco); }

/* Focus state — aksesibilitas */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible{
  outline: 3px solid var(--clr-gold);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

/* ==========================================================================
   Layout dasar
   ========================================================================== */

#app{
  max-width: var(--maxw);
  margin: 0 auto;
  min-height: 100vh;
  background: var(--clr-cream);
  position: relative;
  display: flex;
  flex-direction: column;
}

.container{
  padding: 0 var(--sp-5);
}

main{
  flex: 1;
  padding-bottom: calc(var(--nav-h) + var(--sp-6));
}

.view{ display: block; animation: fadeIn .28s ease; }
.view.hidden{ display: none; }

@keyframes fadeIn{
  from{ opacity: 0; transform: translateY(6px); }
  to{ opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Topbar
   ========================================================================== */

.topbar{
  height: var(--topbar-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--sp-5);
  background: rgba(255, 248, 240, .92);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--clr-line);
}

.brand{
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--clr-choco);
}

.brand-badge{
  width: 34px; height: 34px;
  border-radius: var(--r-sm);
  background: linear-gradient(145deg, var(--clr-gold), var(--clr-caramel));
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

.topbar-cart{
  position: relative;
  width: 40px; height: 40px;
  border-radius: var(--r-pill);
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  box-shadow: var(--shadow-sm);
}

.cart-badge{
  position: absolute;
  top: -4px; right: -4px;
  background: var(--clr-danger);
  color: var(--clr-white);
  font-size: 10px;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
  padding: 0 4px;
  border: 2px solid var(--clr-cream);
}
.cart-badge.zero{ display: none; }

/* ==========================================================================
   Back bar (untuk halaman non-home)
   ========================================================================== */

.backbar{
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-5) var(--sp-5) 0;
}

.back-btn{
  width: 38px; height: 38px;
  border-radius: var(--r-pill);
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

.backbar h2{ font-size: 19px; margin: 0; }

/* ==========================================================================
   HOME — Hero
   ========================================================================== */

.hero{
  margin: var(--sp-5);
  padding: var(--sp-7) var(--sp-6) var(--sp-6);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, #FFEFD9 0%, var(--clr-blush) 100%);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.hero::after{
  content: "";
  position: absolute;
  right: -30px; top: -30px;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}

.hero-eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.6);
  color: var(--clr-caramel-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-4);
  position: relative;
  z-index: 1;
}

.hero h1{
  font-size: 28px;
  position: relative;
  z-index: 1;
  max-width: 260px;
}

.hero p{
  color: var(--clr-text-soft);
  font-size: 14.5px;
  max-width: 260px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Tombol
   ========================================================================== */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--r-md);
  padding: 15px 22px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
  min-height: 50px;
}
.btn:active{ transform: scale(.97); }

.btn-block{ width: 100%; }

.btn-primary{
  background: var(--clr-caramel);
  color: var(--clr-white);
  box-shadow: 0 10px 24px rgba(139, 94, 60, .35);
}
.btn-primary:hover{ background: var(--clr-caramel-dark); }

.btn-secondary{
  background: var(--clr-white);
  color: var(--clr-choco);
  border: 1.5px solid var(--clr-line);
}

.btn-wa{
  background: var(--clr-wa);
  color: var(--clr-white);
  box-shadow: 0 10px 24px rgba(37, 211, 102, .35);
}
.btn-wa:hover{ background: var(--clr-wa-dark); }

.btn-ghost{
  background: transparent;
  color: var(--clr-caramel-dark);
  padding: 10px 14px;
  min-height: auto;
}

.btn:disabled{
  opacity: .45;
  pointer-events: none;
  box-shadow: none;
}

.btn-sm{
  padding: 10px 16px;
  font-size: 13.5px;
  min-height: 40px;
}

/* ==========================================================================
   Manfaat (3 poin) — Home
   ========================================================================== */

.benefits{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-3);
  margin: var(--sp-6) var(--sp-5);
}

.benefit-card{
  background: var(--clr-white);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-2);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-line);
}

.benefit-icon{ font-size: 22px; margin-bottom: 6px; }
.benefit-card h4{ font-size: 12.5px; margin: 0; color: var(--clr-choco); line-height: 1.3; }

/* ==========================================================================
   Section umum
   ========================================================================== */

.section{ margin: var(--sp-7) var(--sp-5); }

.section-head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}

.section-head h2{ font-size: 19px; }
.section-head .link{
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-caramel-dark);
}

/* ==========================================================================
   Kartu Kue (highlight & katalog)
   ========================================================================== */

.scroller{
  display: flex;
  gap: var(--sp-4);
  overflow-x: auto;
  padding: 2px var(--sp-5) 14px;
  margin: 0 calc(var(--sp-5) * -1);
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.scroller::-webkit-scrollbar{ display: none; }

.cake-card{
  background: var(--clr-white);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-line);
  transition: box-shadow .2s ease, transform .2s ease;
  cursor: pointer;
}
.cake-card:active{ transform: scale(.98); }

.cake-card.featured{
  min-width: 168px;
  max-width: 168px;
  scroll-snap-align: start;
}

.cake-photo{
  position: relative;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}

.cake-photo img{ width: 100%; height: 100%; object-fit: cover; }

.badge-star{
  position: absolute;
  top: 8px; left: 8px;
  background: var(--clr-gold);
  color: var(--clr-white);
  font-size: 10px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: var(--r-pill);
  display: flex; align-items: center; gap: 3px;
  box-shadow: var(--shadow-sm);
}

.cake-body{ padding: var(--sp-3) var(--sp-3) var(--sp-4); }
.cake-body h4{ font-size: 13.5px; margin: 0 0 4px; }
.cake-price{ font-weight: 700; color: var(--clr-caramel-dark); font-size: 14px; }
.cake-cat{ font-size: 11px; color: var(--clr-text-soft); margin-bottom: 2px; }

/* Grid katalog */
.cake-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
}
.cake-grid .cake-photo{ height: 104px; }

/* ==========================================================================
   Chips kategori
   ========================================================================== */

.chip-row{
  display: flex;
  gap: var(--sp-2);
  overflow-x: auto;
  padding: 2px var(--sp-5) var(--sp-4);
  margin: 0 calc(var(--sp-5) * -1);
}
.chip-row::-webkit-scrollbar{ display: none; }

.chip{
  flex-shrink: 0;
  padding: 9px 16px;
  border-radius: var(--r-pill);
  background: var(--clr-white);
  border: 1.5px solid var(--clr-line);
  font-size: 13px;
  font-weight: 600;
  color: var(--clr-text-soft);
}

.chip.active{
  background: var(--clr-choco);
  border-color: var(--clr-choco);
  color: var(--clr-white);
}

/* ==========================================================================
   Trust / Testimoni
   ========================================================================== */

.trust-strip{
  display: flex;
  gap: var(--sp-3);
  margin: var(--sp-6) var(--sp-5);
}

.trust-item{
  flex: 1;
  background: var(--clr-white);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  text-align: center;
  border: 1px solid var(--clr-line);
}
.trust-item .num{ font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 18px; color: var(--clr-caramel-dark); }
.trust-item .lbl{ font-size: 11px; color: var(--clr-text-soft); }

.testi-card{
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-line);
  margin-bottom: var(--sp-3);
}
.testi-stars{ color: var(--clr-gold); font-size: 13px; margin-bottom: 6px; }
.testi-quote{ font-size: 13.5px; color: var(--clr-text); font-style: italic; margin-bottom: var(--sp-3); }
.testi-name{ font-size: 12.5px; font-weight: 700; color: var(--clr-choco); }
.testi-role{ font-size: 11.5px; color: var(--clr-text-soft); }

/* ==========================================================================
   CTA akhir (home)
   ========================================================================== */

.cta-final{
  margin: var(--sp-7) var(--sp-5) var(--sp-6);
  padding: var(--sp-6);
  border-radius: var(--r-lg);
  background: linear-gradient(150deg, var(--clr-choco), var(--clr-caramel-dark));
  color: var(--clr-white);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-final h3{ color: var(--clr-white); font-size: 19px; }
.cta-final p{ color: rgba(255,255,255,.75); font-size: 13.5px; }

/* ==========================================================================
   Detail Kue
   ========================================================================== */

.detail-photo{
  height: 220px;
  margin: var(--sp-5);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 70px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.detail-photo img{ width: 100%; height: 100%; object-fit: cover; }

.detail-body{ padding: 0 var(--sp-5); }
.detail-cat{
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--clr-caramel-dark);
  background: var(--clr-blush);
  padding: 4px 12px;
  border-radius: var(--r-pill);
  margin-bottom: var(--sp-3);
}
.detail-title{ font-size: 21px; }
.detail-price{ font-size: 20px; font-weight: 700; color: var(--clr-caramel-dark); margin-bottom: var(--sp-4); }
.detail-desc{ color: var(--clr-text-soft); font-size: 14px; margin-bottom: var(--sp-6); }

.qty-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin-bottom: var(--sp-6);
}
.qty-label{ font-weight: 600; font-size: 14px; }
.qty-control{ display: flex; align-items: center; gap: var(--sp-4); }
.qty-btn{
  width: 36px; height: 36px;
  border-radius: var(--r-pill);
  border: 1.5px solid var(--clr-line);
  background: var(--clr-cream-2);
  font-size: 18px;
  font-weight: 700;
  color: var(--clr-choco);
  display: flex; align-items: center; justify-content: center;
}
.qty-value{ font-weight: 700; font-size: 16px; min-width: 20px; text-align: center; }

.detail-actions{ padding: 0 var(--sp-5) var(--sp-6); }

.toast{
  position: fixed;
  left: 50%;
  bottom: calc(var(--nav-h) + 16px);
  transform: translateX(-50%) translateY(20px);
  background: var(--clr-choco);
  color: var(--clr-white);
  padding: 13px 22px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 100;
  white-space: nowrap;
  max-width: 90vw;
  overflow: hidden;
  text-overflow: ellipsis;
}
.toast.show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   Keranjang
   ========================================================================== */

.cart-list{ padding: 0 var(--sp-5); }

.cart-item{
  display: flex;
  gap: var(--sp-3);
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  margin-bottom: var(--sp-3);
  align-items: center;
}

.cart-thumb{
  width: 56px; height: 56px;
  border-radius: var(--r-sm);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  overflow: hidden;
}
.cart-thumb img{ width: 100%; height: 100%; object-fit: cover; }

.cart-info{ flex: 1; min-width: 0; }
.cart-info h4{ font-size: 13.5px; margin-bottom: 2px; }
.cart-info .cart-unit{ font-size: 12px; color: var(--clr-text-soft); }

.cart-item-actions{
  display: flex; align-items: center; gap: var(--sp-2);
}

.cart-qty{ display: flex; align-items: center; gap: 6px; }
.cart-qty .qty-btn{ width: 28px; height: 28px; font-size: 14px; }
.cart-qty .qty-value{ font-size: 13.5px; min-width: 14px; }

.remove-btn{
  width: 28px; height: 28px;
  border-radius: var(--r-pill);
  border: none;
  background: #FDEDEA;
  color: var(--clr-danger);
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

.summary-box{
  margin: var(--sp-5);
  background: var(--clr-white);
  border: 1px solid var(--clr-line);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
}
.summary-row{
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--clr-text-soft);
  margin-bottom: 8px;
}
.summary-row.total{
  font-size: 16px;
  font-weight: 700;
  color: var(--clr-choco);
  border-top: 1px dashed var(--clr-line);
  padding-top: var(--sp-3);
  margin-top: var(--sp-2);
  margin-bottom: 0;
}

.sticky-cta{
  position: sticky;
  bottom: 0;
  background: linear-gradient(0deg, var(--clr-cream) 60%, rgba(255,248,240,0));
  padding: var(--sp-5) var(--sp-5) var(--sp-3);
  margin-top: var(--sp-4);
}

/* ==========================================================================
   Empty state
   ========================================================================== */

.empty-state{
  text-align: center;
  padding: var(--sp-8) var(--sp-6);
}
.empty-emoji{ font-size: 46px; margin-bottom: var(--sp-3); }
.empty-state h3{ font-size: 16px; }
.empty-state p{ color: var(--clr-text-soft); font-size: 13.5px; margin-bottom: var(--sp-5); }

/* ==========================================================================
   Pembayaran
   ========================================================================== */

.pay-card{
  margin: var(--sp-5);
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--clr-line);
}

.pay-total-label{ font-size: 12.5px; color: var(--clr-text-soft); text-transform: uppercase; letter-spacing: .04em; }
.pay-total{ font-size: 30px; font-weight: 700; font-family: 'Poppins', sans-serif; color: var(--clr-choco); margin-bottom: var(--sp-5); }

.qr-frame{
  width: 210px; height: 210px;
  margin: 0 auto var(--sp-4);
  background: var(--clr-white);
  border: 2px solid var(--clr-line);
  border-radius: var(--r-md);
  padding: var(--sp-3);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm);
  cursor: zoom-in;
  transition: transform .2s ease;
}
.qr-frame img{ width: 100%; height: 100%; object-fit: contain; }
.qr-frame.zoomed{
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(1.7);
  z-index: 200;
  box-shadow: var(--shadow-lg);
}
.qr-hint{ font-size: 12px; color: var(--clr-text-soft); margin-bottom: var(--sp-5); }

/* Tab pilihan metode bayar */
.pay-tabs{
  display: flex;
  gap: var(--sp-2);
  background: var(--clr-cream-2);
  border-radius: var(--r-pill);
  padding: 5px;
  margin-bottom: var(--sp-5);
}
.pay-tab{
  flex: 1;
  border: none;
  background: transparent;
  padding: 11px 10px;
  border-radius: var(--r-pill);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--clr-text-soft);
}
.pay-tab.active{
  background: var(--clr-white);
  color: var(--clr-choco);
  box-shadow: var(--shadow-sm);
}

/* Kotak info rekening — Transfer Bank Manual */
.bank-box{
  background: var(--clr-cream-2);
  border: 1.5px dashed var(--clr-line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-5);
  text-align: left;
}
.bank-name{ font-size: 13px; font-weight: 700; color: var(--clr-caramel-dark); margin-bottom: 6px; }
.bank-number-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
  margin-bottom: 6px;
}
.bank-number{
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--clr-choco);
  letter-spacing: .02em;
}
.bank-holder{ font-size: 12.5px; color: var(--clr-text-soft); }

.pay-steps{
  text-align: left;
  background: var(--clr-cream-2);
  border-radius: var(--r-md);
  padding: var(--sp-4) var(--sp-5);
  margin-bottom: var(--sp-6);
}
.pay-steps li{ font-size: 13px; color: var(--clr-text-soft); margin-bottom: 6px; }
.pay-steps li:last-child{ margin-bottom: 0; }

.overlay{
  position: fixed; inset: 0;
  background: rgba(61, 40, 23, .55);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.overlay.show{ opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Konfirmasi sukses
   ========================================================================== */

.success-wrap{
  text-align: center;
  padding: var(--sp-8) var(--sp-6) var(--sp-5);
}
.success-icon{
  width: 84px; height: 84px;
  margin: 0 auto var(--sp-5);
  border-radius: 50%;
  background: linear-gradient(145deg, #E9F9EE, #D5F3DE);
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  box-shadow: var(--shadow-sm);
}
.success-wrap h2{ font-size: 21px; }
.success-wrap p{ color: var(--clr-text-soft); font-size: 13.5px; }

.order-summary{
  margin: var(--sp-5);
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  border: 1px dashed var(--clr-line);
  text-align: left;
}
.order-summary .row{
  display: flex; justify-content: space-between;
  font-size: 13px; margin-bottom: 6px; color: var(--clr-text-soft);
}
.order-id{ font-family: monospace; font-weight: 700; color: var(--clr-choco); }

.next-steps{ margin: var(--sp-6) var(--sp-5); }
.step-item{
  display: flex; gap: var(--sp-3);
  align-items: flex-start;
  margin-bottom: var(--sp-4);
}
.step-num{
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--clr-blush);
  color: var(--clr-caramel-dark);
  font-size: 12px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.step-item p{ margin: 0; font-size: 13px; color: var(--clr-text-soft); }
.step-item strong{ color: var(--clr-choco); font-size: 13.5px; }

/* ==========================================================================
   Kontak / Info Toko
   ========================================================================== */

.info-card{
  margin: var(--sp-5);
  background: var(--clr-white);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--clr-line);
}
.info-row{
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--clr-line);
}
.info-row:last-child{ border-bottom: none; }
.info-icon{ font-size: 18px; width: 24px; text-align: center; flex-shrink: 0; }
.info-row h4{ font-size: 13.5px; margin: 0 0 2px; }
.info-row p{ font-size: 12.5px; color: var(--clr-text-soft); margin: 0; }

.map-placeholder{
  margin: var(--sp-5);
  height: 140px;
  border-radius: var(--r-lg);
  background: repeating-linear-gradient(135deg, #F3E7D6, #F3E7D6 10px, #EDE0CC 10px, #EDE0CC 20px);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-text-soft);
  font-size: 13px;
  border: 1px solid var(--clr-line);
}

/* ==========================================================================
   Bottom App Nav
   ========================================================================== */

.bottomnav{
  position: fixed;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--maxw);
  height: var(--nav-h);
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--clr-line);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 50;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.nav-btn{
  background: none; border: none;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--clr-text-soft);
  font-size: 10.5px;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: var(--r-sm);
  position: relative;
  min-height: 44px;
  min-width: 56px;
}
.nav-btn .nav-icon{ font-size: 19px; }
.nav-btn.active{ color: var(--clr-caramel-dark); }
.nav-btn.active .nav-icon{ transform: translateY(-1px); }

.nav-cart-badge{
  position: absolute;
  top: 0; right: 6px;
  background: var(--clr-danger);
  color: var(--clr-white);
  font-size: 9px;
  font-weight: 700;
  min-width: 15px;
  height: 15px;
  border-radius: var(--r-pill);
  display: flex; align-items: center; justify-content: center;
}
.nav-cart-badge.zero{ display: none; }

/* ==========================================================================
   Responsif kecil (320px)
   ========================================================================== */

@media (max-width: 340px){
  .hero{ padding: var(--sp-6) var(--sp-4); }
  .benefits{ margin: var(--sp-5) var(--sp-4); }
  .section{ margin: var(--sp-6) var(--sp-4); }
  .qr-frame{ width: 170px; height: 170px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
