:root {
  --ink: #25302b;
  --muted: #6d7771;
  --cream: #f8f5ed;
  --paper: #fffdf8;
  --green: #2d6048;
  --green-dark: #1f4735;
  --coral: #e8754f;
  --line: #e7e3d9;
  --shadow: 0 20px 60px rgba(42, 55, 47, 0.1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--site-body-font, var(--site-font-family, "DM Sans")), sans-serif;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
.site-header {
  align-items: center;
  background: rgba(248, 245, 237, 0.94);
  border-bottom: 1px solid rgba(231, 227, 217, 0.8);
  display: flex;
  justify-content: space-between;
  padding: 18px max(5vw, 24px);
  position: sticky;
  top: 0;
  z-index: 5;
  backdrop-filter: blur(14px);
}
.brand {
  align-items: center;
  color: var(--ink);
  display: flex;
  gap: 11px;
  text-decoration: none;
}
.brand-mark {
  align-items: center;
  background: var(--green);
  border-radius: 50%;
  color: #fff;
  display: grid;
  font-size: 12px;
  font-weight: 700;
  height: 38px;
  letter-spacing: 0.04em;
  place-items: center;
  width: 38px;
}
.brand-mark .brand-logo-image {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.brand-mark.has-logo {
  background: transparent;
  border-radius: 0;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-family: var(--site-font-family, Fraunces), serif;
  font-size: 18px;
}
.brand small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 2px;
}
.cart-button {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  display: flex;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
  padding: 10px 13px;
}
.cart-button b {
  align-items: center;
  background: var(--coral);
  border-radius: 50%;
  color: #fff;
  display: inline-grid;
  font-size: 11px;
  height: 20px;
  place-items: center;
  width: 20px;
}
.section-shell {
  margin: auto;
  max-width: 1160px;
  padding-left: 24px;
  padding-right: 24px;
}
.hero {
  align-items: center;
  display: grid;
  gap: 50px;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 535px;
  padding-bottom: 72px;
  padding-top: 68px;
}
.eyebrow {
  color: var(--coral);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.hero h1,
h2 {
  font-family: var(--site-font-family, Fraunces), serif;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero h1 {
  font-size: clamp(48px, 6vw, 78px);
  line-height: 0.98;
}
.hero h1 em {
  color: var(--coral);
  font-style: normal;
}
.hero-text {
  color: var(--muted);
  line-height: 1.7;
  margin: 24px 0 29px;
  max-width: 410px;
}
.primary-button,
.checkout-button {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 14px;
  font-weight: 700;
  gap: 25px;
  justify-content: space-between;
  padding: 14px 17px 14px 21px;
  text-decoration: none;
}
.primary-button span,
.checkout-button span {
  font-size: 19px;
  line-height: 12px;
}
.hero-art {
  align-items: center;
  background: #e8e9d8;
  border-radius: 48% 52% 46% 54% / 50% 45% 55% 50%;
  display: flex;
  height: 370px;
  justify-content: center;
  position: relative;
  transform: rotate(-3deg);
}
.plate {
  align-items: center;
  background: #fffaf0;
  border: 17px solid #d5cdb9;
  border-radius: 50%;
  box-shadow: 0 20px 22px rgba(52, 55, 38, 0.16);
  display: grid;
  font-size: 110px;
  height: 250px;
  place-items: center;
  transform: rotate(4deg);
  width: 250px;
}
.hero-note {
  background: var(--paper);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  left: 5%;
  padding: 13px 18px;
  position: absolute;
  top: 10%;
  transform: rotate(3deg);
}
.hero-note strong {
  color: var(--green);
  font-family: var(--site-font-family, Fraunces), serif;
  font-size: 21px;
}
.hero-note span {
  color: var(--muted);
  font-size: 10px;
}
.leaf {
  color: var(--green);
  font-size: 35px;
  position: absolute;
}
.leaf-one {
  right: 10%;
  top: 22%;
}
.leaf-two {
  bottom: 13%;
  left: 12%;
  font-size: 21px;
}
.menu-section {
  padding-bottom: 72px;
}
.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
}
.section-heading h2 {
  font-size: 42px;
}
.delivery-note {
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.delivery-note-closed {
  color: var(--coral);
}
.checkout-hours-notice {
  background: #fff0e9;
  border-radius: 8px;
  color: #a84f34;
  font-size: 12px;
  line-height: 1.5;
  margin: 10px 0 0;
  padding: 10px 12px;
}
.add-button:disabled,
.checkout-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
.category-row {
  display: flex;
  gap: 9px;
  margin: 28px 0;
  overflow-x: auto;
}
.catalog-status {
  color: var(--muted);
  font-size: 13px;
  margin: 18px 0;
}
.catalog-status-error {
  color: #a84f34;
}
.catalog-retry-button {
  background: transparent;
  border: 0;
  color: var(--green);
  font: inherit;
  font-weight: 700;
  margin-left: 8px;
  padding: 0;
  text-decoration: underline;
}
.category {
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  padding: 9px 17px;
  white-space: nowrap;
}
.category.active,
.category:hover {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.product-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.product-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  transition:
    box-shadow 0.2s,
    transform 0.2s;
}
.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}
.product-image {
  align-items: center;
  background: #ebe8d9;
  display: flex;
  font-size: 76px;
  height: 185px;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.product-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}
.product-image-placeholder {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}
.product-image small {
  background: rgba(255, 253, 248, 0.9);
  border-radius: 999px;
  color: var(--green);
  font-size: 10px;
  font-weight: 700;
  left: 13px;
  padding: 6px 9px;
  position: absolute;
  top: 13px;
}
.product-info {
  padding: 17px;
}
.product-info h3 {
  color: var(--coral);
  font-family: var(--site-font-family, Fraunces), serif;
  font-size: 19px;
  margin: 0 0 5px;
}
.product-info p {
  color: var(--muted);
  font-size: 12px;
  margin: 0 0 15px;
}
.product-bottom {
  align-items: center;
  display: flex;
  justify-content: space-between;
}
.price {
  color: var(--green);
  font-size: 15px;
  font-weight: 700;
}
.add-button {
  background: #edf3ed;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  font-size: 22px;
  height: 34px;
  width: 34px;
}
.trust-strip {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 60px;
  padding-top: 32px;
}
.trust-strip div {
  display: grid;
  gap: 3px;
  grid-template-columns: 27px 1fr;
}
.trust-strip span {
  color: var(--coral);
  font-size: 20px;
  grid-row: span 2;
}
.trust-strip strong {
  font-size: 13px;
}
.trust-strip small {
  color: var(--muted);
  font-size: 11px;
}
.drawer-backdrop {
  background: rgba(26, 37, 31, 0.35);
  inset: 0;
  position: fixed;
  z-index: 9;
}
.cart-drawer {
  background: var(--paper);
  box-shadow: -15px 0 50px rgba(24, 34, 28, 0.16);
  display: flex;
  flex-direction: column;
  max-width: 430px;
  padding: 27px;
  position: fixed;
  right: 0;
  top: 0;
  transform: translateX(105%);
  transition: transform 0.3s ease;
  width: 100%;
  z-index: 10;
  /* dvh mengikuti tinggi layar yang benar-benar terlihat, sehingga bilah
     alamat browser di ponsel tidak lagi memotong bagian bawah keranjang.
     overflow: hidden memastikan isi tidak tumpah keluar panel. */
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
}
.cart-drawer.open {
  transform: translateX(0);
}
.drawer-header,
.dialog-header {
  align-items: start;
  display: flex;
  flex: 0 0 auto;
  justify-content: space-between;
}
.drawer-header h2,
.dialog-header h2 {
  font-size: 32px;
}
.icon-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 28px;
  line-height: 1;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 25px 0;
  /* PENTING: anak flex secara bawaan punya min-height: auto, artinya ia
     menolak menyusut lebih kecil dari tingginya sendiri. Tanpa baris ini,
     begitu isi keranjang melebihi tinggi layar (misalnya 3 pesanan menu di
     ponsel/tablet), daftar barang mendorong tombol "Selesaikan Pesanan"
     ke luar area yang terlihat sehingga tombol itu seolah menghilang.
     min-height: 0 membuat daftar barang menyusut dan menggulir sendiri. */
  min-height: 0;
  overscroll-behavior: contain;
}
.empty-state {
  color: var(--muted);
  padding: 60px 20px;
  text-align: center;
}
.empty-state span {
  display: block;
  font-size: 37px;
  margin-bottom: 13px;
}
.empty-state strong {
  color: var(--ink);
  display: block;
  font-size: 15px;
}
.empty-state p {
  font-size: 12px;
  line-height: 1.5;
}
.cart-row {
  align-items: center;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 12px;
  grid-template-columns: 42px 1fr auto;
  padding: 12px 0;
}
@media (max-width: 760px) {
  /* Di ponsel, menyusun barang keranjang jadi satu kolom membuat setiap
     baris jauh lebih tinggi — makin banyak barang, makin cepat panel
     checkout terdorong ke luar layar. Dua kolom (gambar + rincian) dengan
     pengatur jumlah di bawah rincian jauh lebih hemat ruang. */
  .cart-row {
    grid-template-columns: 42px 1fr;
    align-items: flex-start;
    row-gap: 8px;
  }
  .cart-row > .cart-product-image,
  .cart-row > .cart-product-placeholder {
    grid-row: span 2;
  }
  .quantity {
    grid-column: 2;
    align-items: center;
    justify-content: flex-start;
    margin-top: 0;
  }
  .checkout-dialog {
    max-width: 100%;
    padding: 16px;
  }
  .checkout-finish-button {
    width: 100%;
    margin-top: 15px;
  }
  .order-success-panel {
    padding: 12px;
  }
}

@media (max-width: 760px), (max-height: 560px) {
  /* Panel ringkasan + tombol "Selesaikan Pesanan" tetap rapat ke bawah,
     tidak ikut tergulir bersama daftar barang. */
  .checkout-panel {
    background: var(--paper);
    box-shadow: 0 -14px 24px -18px rgba(24, 34, 28, 0.35);
    padding-bottom: calc(4px + env(safe-area-inset-bottom, 0px));
    position: relative;
    z-index: 1;
  }
  .checkout-button {
    min-height: 48px;
  }
}
.cart-product-image,
.cart-product-placeholder {
  align-items: center;
  background: #ebe8d9;
  border-radius: 10px;
  display: grid;
  height: 42px;
  object-fit: cover;
  place-items: center;
  width: 42px;
}
.cart-product-placeholder {
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
}
.cart-row h4 {
  font-size: 13px;
  margin: 0 0 5px;
}
.cart-row small {
  color: var(--green);
  font-weight: 700;
}
.quantity {
  align-items: center;
  display: flex;
  gap: 8px;
}
.quantity button {
  background: #edf3ed;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  height: 22px;
  width: 22px;
}
.checkout-panel {
  border-top: 1px solid var(--line);
  padding-top: 19px;
  /* Panel ringkasan + tombol tidak boleh ikut terkompresi saat daftar
     barang sedang panjang. */
  flex: 0 0 auto;
}
.summary-line,
.summary-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 11px;
}
.summary-line {
  color: var(--muted);
  font-size: 12px;
}
.summary-total {
  border-top: 1px dashed var(--line);
  font-size: 17px;
  margin: 15px 0 19px;
  padding-top: 15px;
}
.summary-total strong {
  color: var(--green);
}
.checkout-button {
  border-radius: 10px;
  width: 100%;
}
.checkout-dialog {
  background: var(--paper);
  border: 0;
  border-radius: 18px;
  box-shadow: var(--shadow);
  color: var(--ink);
  max-width: 490px;
  padding: 28px;
  width: calc(100% - 32px);
}
.checkout-dialog::backdrop {
  background: rgba(26, 37, 31, 0.45);
}
.checkout-dialog label,
fieldset {
  display: block;
  font-size: 12px;
  margin-top: 17px;
}
.delivery-tip-field small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 7px;
  text-transform: none;
}
.checkout-dialog input,
.checkout-dialog textarea {
  background: #fbfaf5;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  display: block;
  margin-top: 7px;
  padding: 11px;
  resize: vertical;
  width: 100%;
}
.checkout-dialog input:focus,
.checkout-dialog textarea:focus {
  border-color: var(--green);
  outline: 2px solid rgba(45, 96, 72, 0.13);
}
.checkout-dialog fieldset {
  border: 0;
  padding: 0;
}
.checkout-dialog legend {
  margin-bottom: 9px;
}
.payment-option {
  align-items: center;
  background: #fbfaf5;
  border: 1px solid var(--line);
  border-radius: 9px;
  display: flex !important;
  gap: 10px;
  margin: 7px 0 !important;
  padding: 10px;
}
.payment-option input {
  accent-color: var(--green);
  margin: 0;
  width: auto;
}
.payment-option span {
  display: grid;
  gap: 2px;
}
.payment-option small {
  color: var(--muted);
}
.order-preview {
  align-items: center;
  background: #edf3ed;
  border-radius: 9px;
  display: flex;
  justify-content: space-between;
  margin: 20px 0;
  padding: 14px;
}
.order-preview strong {
  color: var(--green);
}
.toast {
  background: var(--green-dark);
  border-radius: 8px;
  bottom: 22px;
  color: #fff;
  left: 50%;
  opacity: 0;
  padding: 12px 17px;
  pointer-events: none;
  position: fixed;
  transform: translate(-50%, 20px);
  transition: 0.25s;
  z-index: 20;
}
.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}
.coordinate-fields {
  border-top: 1px solid var(--line) !important;
  margin-top: 20px !important;
  padding-top: 15px !important;
}
.coordinate-fields legend {
  font-size: 12px;
  font-weight: 700;
}
.coordinate-fields legend span {
  color: var(--coral);
}
.coordinate-help {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin: 0 0 8px;
}
.location-button {
  background: var(--paper);
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  margin: 0 0 8px;
  padding: 9px 12px;
}
.location-button:hover:not(:disabled) {
  background: #edf3ed;
}
.location-button:disabled {
  cursor: wait;
  opacity: 0.65;
}
.delivery-map {
  background: #dbe91e;
  border: 1px solid var(--line);
  border-radius: 10px;
  height: 280px;
  overflow: hidden;
  width: 100%;
}
/* Pin tetap berada di tengah peta; petanya yang digeser. Karena pin tidak
   mengikuti sentuhan, titiknya jauh lebih mudah dibuat tepat di HP. */
.delivery-map-wrap {
  position: relative;
}
.map-crosshair {
  bottom: 14px;
  left: 50%;
  pointer-events: none;
  position: absolute;
  transform: translateX(-50%);
  z-index: 500;
}
.map-crosshair svg {
  /* Ujung bawah SVG adalah ujung jarum pin, jadi offset ini menempatkan
     jarum tepat di titik koordinat pusat peta. */
  display: block;
  filter: drop-shadow(0 3px 4px rgba(24, 34, 28, 0.35));
  height: 46px;
  margin-bottom: -1px;
  width: 33px;
}
.location-accuracy {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
  margin: 4px 0 0;
}
.location-accuracy-good {
  color: var(--green);
}
.location-selection {
  color: var(--green);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  margin: 8px 0 0;
}
.location-selection-error {
  color: #bd5836;
}
.checkout-dialog {
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
}
@media (max-width: 520px) {
  .delivery-map {
    height: 230px;
  }
}
@media (max-width: 760px) {
  .hero {
    gap: 28px;
    grid-template-columns: 1fr;
    padding-top: 45px;
  }
  .hero-art {
    height: 260px;
  }
  .plate {
    font-size: 80px;
    height: 180px;
    width: 180px;
  }
  .hero-note {
    left: 7%;
    top: 6%;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-image {
    font-size: 55px;
    height: 135px;
  }
  .product-info {
    padding: 13px;
  }
  .product-info h3 {
    font-size: 16px;
  }
  .trust-strip {
    grid-template-columns: 1fr;
  }
  .section-heading h2 {
    font-size: 34px;
  }
  .delivery-note {
    font-size: 10px;
  }
}
@media (max-width: 420px) {
  .site-header {
    padding-left: 16px;
    padding-right: 16px;
  }
  .cart-button span:nth-child(2) {
    display: none;
  }
  .section-shell {
    padding-left: 16px;
    padding-right: 16px;
  }
  .product-grid {
    gap: 10px;
  }
  .product-image {
    height: 120px;
  }
  .hero h1 {
    font-size: 48px;
  }
}
.hero-slider {
  background: #e8e9d8;
  border-radius: 48% 52% 46% 54% / 50% 45% 55% 50%;
  height: 370px;
  overflow: hidden;
  position: relative;
  transform: rotate(-3deg);
}
.hero-slide {
  height: 100%;
  position: relative;
}
.hero-slide-content {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  overflow: hidden;
}
.hero-slide-image {
  height: 100%;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.hero-slide-emoji {
  align-items: center;
  background: #fffaf0;
  border: 17px solid #d5cdb9;
  border-radius: 50%;
  box-shadow: 0 20px 22px rgba(52, 55, 38, 0.16);
  display: grid;
  font-size: 110px;
  height: 250px;
  justify-items: center;
  transform: rotate(4deg);
  width: 250px;
}
.hero-slide-caption {
  background: linear-gradient(transparent, rgba(25, 40, 31, 0.78));
  bottom: 0;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 5px;
  left: 0;
  padding: 80px 30px 72px;
  position: absolute;
  right: 0;
  transform: rotate(3deg);
}
.hero-slide-caption strong {
  font-family: var(--site-font-family, Fraunces), serif;
  font-size: clamp(20px, 2.5vw, 29px);
}
.hero-slide-caption span {
  font-size: 12px;
  line-height: 1.5;
  max-width: 380px;
}
.hero-slider-controls {
  align-items: center;
  background: rgba(255, 253, 248, 0.42);
  backdrop-filter: blur(4px);
  border-radius: 999px;
  box-shadow: 0 2px 10px rgba(37, 48, 43, 0.08);
  bottom: 17px;
  display: flex;
  gap: 9px;
  left: 50%;
  padding: 5px 8px;
  position: absolute;
  transform: translateX(-50%) rotate(3deg);
}
.hero-slider-arrow {
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--green);
  font-size: 17px;
  height: 30px;
  width: 30px;
}
.hero-slider-arrow:hover {
  background: #edf3ed;
}
.hero-slider-dots {
  align-items: center;
  display: flex;
  gap: 6px;
}
.hero-slider-dot {
  background: #c6ccc3;
  border: 0;
  border-radius: 999px;
  height: 7px;
  padding: 0;
  transition: width 0.2s;
  width: 7px;
}
.hero-slider-dot.active {
  background: var(--green);
  width: 19px;
}
@media (max-width: 760px) {
  .hero-slider {
    height: 260px;
  }
  .hero-slide-emoji {
    font-size: 80px;
    height: 180px;
    width: 180px;
  }
  .hero-slide-caption {
    padding: 55px 22px 65px;
  }
  .hero-slide-caption span {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slider-dot {
    transition: none;
  }
}
.hero-slider {
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  height: auto;
  min-height: 0;
  transform: none;
  width: 100%;
}
.hero-slide,
.hero-slide-content {
  inset: 0;
  position: absolute;
}
.hero-slide-content {
  width: 100%;
}
.hero-slide-image {
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
}
.hero-slide-caption {
  transform: none;
}
.hero-slider-controls {
  transform: translateX(-50%);
}
.hero-slider[hidden] {
  display: none;
}
.hero.hero-without-slider {
  grid-template-columns: 1fr;
}
@media (max-width: 760px) {
  .hero-slider {
    height: auto;
  }
}
.cart-dock {
  align-items: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  bottom: max(18px, env(safe-area-inset-bottom));
  box-shadow: 0 12px 42px rgba(24, 34, 28, 0.2);
  display: flex;
  gap: 22px;
  left: 50%;
  max-width: 760px;
  padding: 12px 14px 12px 18px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  z-index: 8;
}
.cart-dock[hidden] {
  display: none;
}
.cart-dock-summary {
  align-items: center;
  display: flex;
  flex: 1;
  gap: 11px;
  min-width: 0;
}
.cart-dock-icon {
  align-items: center;
  background: #edf3ed;
  border-radius: 50%;
  color: var(--green);
  display: grid;
  flex: 0 0 42px;
  font-size: 19px;
  height: 42px;
  place-items: center;
}
.cart-dock-summary strong,
.cart-dock-summary small {
  display: block;
}
.cart-dock-summary strong {
  font-size: 13px;
}
.cart-dock-summary small {
  color: var(--muted);
  font-size: 10px;
  margin-top: 3px;
}
.cart-dock-total {
  color: var(--green);
  font-size: 15px;
  white-space: nowrap;
}
.cart-dock-button {
  align-items: center;
  background: var(--green);
  border: 0;
  border-radius: 10px;
  color: #fff;
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  gap: 16px;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  white-space: nowrap;
}
.cart-dock-button span {
  font-size: 17px;
}
body.cart-has-items {
  padding-bottom: 100px;
}
@media (max-width: 520px) {
  .cart-dock {
    border-radius: 13px;
    bottom: max(10px, env(safe-area-inset-bottom));
    gap: 10px;
    padding: 9px;
    width: calc(100% - 24px);
  }
  .cart-dock-icon {
    flex-basis: 36px;
    height: 36px;
  }
  .cart-dock-summary {
    gap: 8px;
  }
  .cart-dock-summary strong {
    font-size: 11px;
  }
  .cart-dock-summary small {
    font-size: 9px;
  }
  .cart-dock-total {
    font-size: 12px;
  }
  .cart-dock-button {
    font-size: 11px;
    gap: 6px;
    min-height: 42px;
    padding: 0 10px;
  }
  body.cart-has-items {
    padding-bottom: 84px;
  }
}
.order-success-panel { display: grid; gap: 12px; padding: 16px; background: #edf3ed; border-radius: 12px; }
.order-success-panel h3 { margin: 0; }
.order-success-panel p { margin: 0; line-height: 1.5; }
.order-success-panel label { display: grid; gap: 8px; }
.payment-qris-image { background: #fff; border: 1px solid #ece9df; border-radius: 8px; cursor: zoom-in; display: block; height: auto; max-height: 320px; max-width: min(100%, 320px); object-fit: contain; padding: 8px; width: auto; }
.payment-qris-frame { align-items: center; display: flex; justify-content: center; }
.payment-qris-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 12px; }
.payment-qris-action { align-items: center; background: #fffefa; border: 1px solid #dce5dd; border-radius: 8px; color: var(--green); cursor: pointer; display: inline-flex; font: inherit; font-size: 11px; font-weight: 700; justify-content: center; min-height: 38px; min-width: 120px; padding: 8px 13px; text-decoration: none; transition: background .15s ease, transform .15s ease; }
.payment-qris-action:hover { background: #e8f2e9; transform: translateY(-1px); }
.payment-qris-action.primary { background: var(--green); border-color: var(--green); color: #fff; }
.payment-qris-action.primary:hover { background: var(--green-dark); }
.payment-qris-note { color: var(--muted); font-size: 11px; margin: 10px 0 0 !important; text-align: center; }
.qris-zoom-dialog { align-items: center; background: #fffefa; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 70px rgba(28, 39, 32, .24); color: var(--ink); display: flex; flex-direction: column; gap: 12px; justify-content: center; max-height: calc(100dvh - 32px); max-width: min(560px, calc(100vw - 32px)); overflow: auto; padding: 22px; position: relative; width: 100%; }
.qris-zoom-dialog:not([open]) { display: none; }
.qris-zoom-dialog::backdrop { background: rgba(26, 37, 31, .72); backdrop-filter: blur(3px); }
.qris-zoom-dialog img { background: #fff; border: 1px solid var(--line); border-radius: 8px; display: block; height: auto; max-height: calc(100dvh - 120px); max-width: 100%; object-fit: contain; width: auto; }
.qris-zoom-dialog p { color: var(--muted); font-size: 12px; margin: 0; text-align: center; }
.qris-zoom-close { align-self: flex-end; background: #f1efe8; border: 0; border-radius: 50%; color: var(--muted); cursor: pointer; font-size: 24px; height: 36px; line-height: 1; width: 36px; }
.checkout-dialog {
  max-width: 540px;
}
.checkout-dialog .dialog-header {
  align-items: center;
  margin-bottom: 20px;
}
.checkout-dialog .dialog-header h2 {
  font-size: clamp(26px, 5vw, 32px);
}
.checkout-finish-button {
  align-items: center;
  background: #edf3ed;
  border: 1px solid #dce8dd;
  border-radius: 999px;
  color: var(--green);
  display: inline-flex;
  font-size: 12px;
  font-weight: 700;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
}
.order-success-panel {
  background: transparent;
  gap: 14px;
  padding: 0;
}
.order-success-heading {
  align-items: center;
  display: flex;
  gap: 12px;
}
.order-success-icon {
  align-items: center;
  background: #e2f1e6;
  border: 1px solid #cde5d4;
  border-radius: 50%;
  color: var(--green);
  display: inline-flex;
  flex: 0 0 42px;
  font-size: 20px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
}
.order-success-heading > div {
  display: grid;
  gap: 4px;
}
.order-success-heading h3 {
  font-size: 17px;
}
.order-success-heading p {
  color: var(--muted);
  font-size: 11px;
  overflow-wrap: anywhere;
}
.order-receipt {
  background: #fffefa;
  border: 1px solid #e8e5d9;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(37, 48, 43, 0.06);
  overflow: hidden;
  padding: 16px;
}
.receipt-section-heading {
  align-items: center;
  border-bottom: 1px solid #efede5;
  display: flex;
  justify-content: space-between;
  padding-bottom: 12px;
}
.receipt-eyebrow {
  color: var(--green);
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  margin-bottom: 3px;
}
.receipt-section-heading h4 {
  font-family: var(--site-font-family, Fraunces), serif;
  font-size: 17px;
  margin: 0;
}
.receipt-receipt-icon {
  align-items: center;
  background: #f3f2e9;
  border-radius: 10px;
  color: var(--green);
  display: inline-flex;
  font-size: 18px;
  height: 36px;
  justify-content: center;
  width: 36px;
}
.receipt-items {
  display: grid;
  gap: 11px;
  padding: 14px 0;
}
.receipt-item,
.receipt-row {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}
.receipt-item > div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.receipt-item strong,
.receipt-row strong {
  font-size: 12px;
}
.receipt-item > div strong {
  overflow-wrap: anywhere;
}
.receipt-item small,
.receipt-row span {
  color: var(--muted);
  font-size: 11px;
}
.receipt-breakdown {
  border-top: 1px dashed #e5e2d7;
  display: grid;
  gap: 10px;
  padding: 13px 0;
}
.receipt-row {
  align-items: center;
}
.receipt-row strong {
  text-align: right;
}
.receipt-total {
  align-items: center;
  background: #edf3ed;
  border-radius: 10px;
  color: var(--green);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin: 0 -5px;
  padding: 12px;
}
.receipt-total span {
  font-size: 12px;
  font-weight: 700;
}
.receipt-total strong {
  font-size: 17px;
  text-align: right;
}
.receipt-note {
  color: #8a5b21;
  font-size: 10px;
  margin: 10px 0 0 !important;
}
#paymentInstructions:not(:empty) {
  background: #f8f6ed;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.55;
  padding: 12px;
}
.payment-guide {
  align-items: flex-start;
  background: linear-gradient(135deg, #fff8e8, #fdf3df);
  border: 1px solid #f0dfb8;
  border-radius: 11px;
  display: flex;
  gap: 10px;
  padding: 12px;
}
.payment-guide-icon {
  align-items: center;
  background: #f6e3b6;
  border-radius: 50%;
  color: #8a5b21;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 13px;
  height: 26px;
  justify-content: center;
  width: 26px;
}
.payment-guide strong {
  color: #6d4715;
  display: block;
  font-size: 12.5px;
}
.payment-guide p {
  color: #8a6a3a;
  font-size: 11.5px;
  line-height: 1.55;
  margin: 4px 0 0;
}
#trackOrderButton {
  background: transparent;
  border: 1px solid #d8e2d9;
  border-radius: 9px;
  color: var(--green);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  min-height: 40px;
  padding: 8px 12px;
}
#paymentProofSection {
  border-top: 1px solid #dce8dd;
  padding-top: 13px;
}
#paymentProofSection input[type="file"] {
  font-size: 11px;
  padding: 8px;
}
#paymentProofSection > small {
  color: var(--muted);
  display: block;
  font-size: 10px;
}
#paymentProofSection .checkout-button {
  border-radius: 9px;
  cursor: pointer;
  justify-content: center;
  margin-top: 9px;
  min-height: 42px;
}
.checkout-toast {
  background: var(--green-dark);
  border-radius: 8px;
  bottom: 0;
  color: #fff;
  font-size: 12px;
  left: 0;
  margin: 10px 0 0;
  padding: 11px 14px;
  position: sticky;
  z-index: 2;
}
.site-footer {
  background: #25302b;
  color: #fffdf8;
  margin-top: 56px;
  padding: 30px max(5vw, 24px) 18px;
}
.site-footer-inner {
  align-items: center;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: auto;
  max-width: 1160px;
}
.site-footer-brand {
  align-items: center;
  color: inherit;
  display: flex;
  gap: 12px;
  text-decoration: none;
}
.site-footer-brand > span:last-child {
  display: grid;
  gap: 4px;
}
.site-footer-brand small,
.site-footer-copy {
  color: rgba(255, 253, 248, .68);
  font-size: 11px;
}
.site-footer .brand-mark {
  background: var(--green);
  flex: 0 0 auto;
}
.site-footer .brand-mark.has-logo {
  background: transparent;
}
.social-links {
  align-items: center;
  display: flex;
  gap: 10px;
}
.social-link {
  align-items: center;
  border: 1px solid rgba(255, 253, 248, .25);
  border-radius: 50%;
  color: #fffdf8;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: background-color .2s, border-color .2s, transform .2s;
  width: 40px;
}
.social-link:hover {
  background: rgba(255, 253, 248, .14);
  border-color: rgba(255, 253, 248, .7);
  transform: translateY(-2px);
}
.social-link[hidden] {
  display: none;
}
.social-link svg {
  fill: none;
  height: 20px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  width: 20px;
}
.social-link svg path,
.social-link svg rect,
.social-link svg circle {
  vector-effect: non-scaling-stroke;
}
.social-link[data-social="facebook"] svg {
  fill: currentColor;
  stroke: none;
}
.social-link .social-icon-dot {
  fill: currentColor;
}
.social-link-whatsapp {
  color: #75d88c;
}
.site-footer-copy {
  margin: 22px auto 0;
  max-width: 1160px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 253, 248, .16);
  text-align: center;
}
[hidden] {
  display: none !important;
}
@media (max-width: 520px) {
  .site-footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .social-links {
    align-self: center;
  }
}

/* ── Tipografi yang diatur admin dari panel Website ── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--site-heading-font, var(--site-font-family, Fraunces)), serif;
}
p, li, dd, dt, blockquote, figcaption, label, small, span.site-body-text {
  font-family: var(--site-body-font, var(--site-font-family, "DM Sans")), sans-serif;
}
/* Warna kustom hanya aktif setelah admin memilih warna di panel Website. */
html.has-heading-color h1,
html.has-heading-color h2,
html.has-heading-color h3,
html.has-heading-color h4,
html.has-heading-color h5,
html.has-heading-color h6 {
  color: var(--site-heading-color);
}
html.has-body-color p,
html.has-body-color li,
html.has-body-color dd,
html.has-body-color dt {
  color: var(--site-body-color);
}
