/* ==========================================================================
   SC Toko — 07 Kopi (Sharecode Coffee) · gaya vintage roastery
   Template oleh sharecode.id · MIT License
   Daftar isi: 1. Font  2. Variabel  3. Dasar  4. Utilitas  5. Header & menu
   6. Hero  7. Komponen  8. Halaman  9. Footer  10. Modal/lightbox/toast  11. Responsif
   ========================================================================== */

/* 1. Font (self-host, OFL) ------------------------------------------------ */
@font-face { font-family: "Bitter"; src: url("../fonts/bitter-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("../fonts/bitter-600.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Bitter"; src: url("../fonts/bitter-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-500.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Karla"; src: url("../fonts/karla-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

/* 2. Variabel — ganti warna/font di sini --------------------------------- */
:root {
  --esp: #3e2723;        /* espresso (utama) */
  --esp-2: #2a1a16;      /* espresso pekat */
  --esp-3: #5d4037;      /* kayu */
  --cream: #efebe9;      /* krem */
  --paper: #f7f1ea;      /* kertas */
  --milk: #fffaf3;
  --car: #d4a373;        /* karamel (dekor / di atas gelap) */
  --car-d: #8a5a2b;      /* karamel gelap (teks di atas terang) */
  --rust: #a4472f;       /* aksen bata */
  --sage: #6f7d5c;
  --ink: #2b1d18;        /* teks */
  --muted: #6d5a52;
  --line: #d9cbc2;
  --font-head: "Bitter", Georgia, "Times New Roman", serif;
  --font-body: "Karla", "Segoe UI", Arial, sans-serif;
  --radius: 6px;
  --shadow: 0 1px 0 rgba(62, 39, 35, .08), 0 14px 30px -18px rgba(62, 39, 35, .45);
  --wrap: 1200px;
  --header-h: 84px;
}

/* 3. Dasar ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); font-size: 17px; line-height: 1.65; color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(rgba(62, 39, 35, .05) 1px, transparent 1px);
  background-size: 14px 14px;
}
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--esp); text-decoration-color: var(--car); text-underline-offset: 3px; }
a:hover { color: var(--rust); }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; margin: 0 0 .5em; color: var(--esp); font-weight: 700; }
h1 { font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--rust); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--car); color: var(--esp-2); }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--esp); color: var(--cream); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* 4. Utilitas ------------------------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--esp); color: var(--cream); }
.section--dark h2, .section--dark h3 { color: var(--milk); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-body); font-weight: 700;
  font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--car-d); margin-bottom: 14px;
}
.eyebrow::before, .eyebrow::after { content: ""; width: 26px; height: 1px; background: currentColor; }
.section--dark .eyebrow { color: var(--car); }
.sec-head { max-width: 680px; margin-bottom: 48px; }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head p { color: var(--muted); font-size: 1.07rem; }
.section--dark .sec-head p { color: #cdbdb6; }
.sec-head--row { display: flex; justify-content: space-between; align-items: end; gap: 24px; max-width: none; flex-wrap: wrap; }
.lead { font-size: 1.15rem; color: var(--muted); }
.grid { display: grid; gap: 28px; }
.g-2 { grid-template-columns: repeat(2, 1fr); }
.g-3 { grid-template-columns: repeat(3, 1fr); }
.g-4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }

/* Tombol bergaya label cap */
.btn {
  --b: var(--esp); --t: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px;
  background: var(--b); color: var(--t); border: 2px solid var(--b); border-radius: 999px; cursor: pointer;
  font-weight: 700; font-size: .95rem; letter-spacing: .04em; text-decoration: none;
  box-shadow: 0 4px 0 var(--esp-2); transition: transform .15s, box-shadow .15s, background .2s;
}
.btn:hover { color: var(--t); transform: translateY(-2px); box-shadow: 0 6px 0 var(--esp-2); }
.btn:active { transform: translateY(2px); box-shadow: 0 1px 0 var(--esp-2); }
.btn--car { --b: var(--car); --t: var(--esp-2); }
.btn--rust { --b: var(--rust); --t: #fff; }
.btn--ghost { --b: transparent; --t: var(--esp); border-color: var(--esp); box-shadow: none; }
.btn--ghost:hover { background: var(--esp); --t: var(--cream); box-shadow: none; }
.section--dark .btn--ghost, .on-dark .btn--ghost { --t: var(--cream); border-color: var(--cream); }
.section--dark .btn--ghost:hover { background: var(--cream); --t: var(--esp); }
.btn--wa { --b: #2e7d4f; --t: #fff; box-shadow: 0 4px 0 #1d5235; }
.btn--sm { padding: 9px 16px; font-size: .85rem; }
.btn--block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--car); padding-bottom: 2px; }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* Pembatas bergerigi (scallop) */
.scallop-top, .scallop-bottom { z-index: 1; }
.scallop-top::before, .scallop-bottom::after { content: ""; position: absolute; left: 0; right: 0; height: 18px; pointer-events: none; }
.scallop-top::before { top: -17px; background: radial-gradient(circle at 12px 18px, var(--sc, var(--esp)) 12px, transparent 12.5px) 0 0 / 24px 18px repeat-x; }
.scallop-bottom::after { bottom: -17px; background: radial-gradient(circle at 12px 0, var(--sc, var(--esp)) 12px, transparent 12.5px) 0 0 / 24px 18px repeat-x; }

/* 5. Header & menu -------------------------------------------------------- */
.topbar { background: var(--esp-2); color: var(--cream); font-size: .84rem; overflow: hidden; }
.topbar__track { display: flex; gap: 48px; white-space: nowrap; padding: 8px 0; width: max-content; animation: marquee 38s linear infinite; }
.topbar__track span { display: inline-flex; align-items: center; gap: 10px; }
.topbar__track span::before { content: "✦"; color: var(--car); }
@keyframes marquee { to { transform: translateX(-50%); } }

.site-header { position: sticky; top: 0; z-index: 100; background: var(--paper); transition: box-shadow .25s; }
.site-header::after { content: ""; display: block; height: 7px; border-top: 2px solid var(--esp); border-bottom: 1px solid var(--esp); margin: 0 auto; }
.site-header.is-stuck { box-shadow: 0 10px 24px -18px rgba(42, 26, 22, .7); }
.nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; min-height: var(--header-h); transition: min-height .25s; }
.is-stuck .nav { min-height: 66px; }
.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.nav__list--right { justify-content: flex-end; }
.nav__list a {
  display: block; padding: 8px 11px; font-weight: 700; font-size: .84rem; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; color: var(--esp); border-radius: 4px; position: relative;
}
.nav__list a::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 3px; height: 2px; background: var(--rust); transform: scaleX(0); transition: transform .2s; }
.nav__list a:hover::after, .nav__list a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list a[aria-current="page"] { color: var(--rust); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--esp); }
.brand__mark { width: 50px; height: 50px; transition: transform .4s; }
.brand:hover .brand__mark { transform: rotate(-20deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.45rem; }
.brand__tag { font-size: .66rem; letter-spacing: .3em; text-transform: uppercase; color: var(--car-d); font-weight: 700; margin-top: 4px; }
.nav__tools { display: flex; align-items: center; gap: 6px; justify-content: flex-end; }
.nav__right { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; display: inline-grid; place-items: center; border-radius: 50%;
  border: 1.5px solid var(--esp); background: transparent; color: var(--esp); cursor: pointer; text-decoration: none;
}
.icon-btn:hover { background: var(--esp); color: var(--cream); }
.cart-count {
  position: absolute; top: -6px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px;
  background: var(--rust); color: #fff; font-size: .72rem; font-weight: 700; display: grid; place-items: center; border: 2px solid var(--paper);
}
.cart-count[data-zero="true"] { display: none; }
.menu-toggle { display: none; }

/* Panel menu mobile (di luar header) */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200; background: var(--esp); color: var(--cream); padding: 24px;
  display: flex; flex-direction: column; transform: translateX(-100%); transition: transform .35s ease; visibility: hidden; overflow-y: auto;
}
.mobile-nav.is-open { transform: none; visibility: visible; }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.mobile-nav .brand { color: var(--cream); }
.mobile-nav .icon-btn { border-color: var(--cream); color: var(--cream); }
.mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.mobile-nav li a { display: flex; justify-content: space-between; padding: 14px 4px; color: var(--cream); text-decoration: none; font-family: var(--font-head); font-size: 1.45rem; border-bottom: 1px dashed rgba(239, 235, 233, .25); }
.mobile-nav li a[aria-current="page"] { color: var(--car); }
.mobile-nav__foot { margin-top: auto; padding-top: 24px; font-size: .9rem; color: #cdbdb6; }

/* Kotak pencarian (overlay) */
.search-panel { position: fixed; inset: 0; z-index: 210; background: rgba(42, 26, 22, .88); display: none; align-items: flex-start; justify-content: center; padding: 14vh 20px 20px; }
.search-panel.is-open { display: flex; }
.search-panel form { width: min(720px, 100%); display: flex; gap: 10px; background: var(--paper); padding: 10px; border-radius: 999px; }
.search-panel input { flex: 1; border: 0; background: transparent; padding: 10px 18px; font-size: 1.15rem; min-width: 0; }
.search-panel input:focus { outline: none; }
.search-panel .hint { position: absolute; top: calc(14vh + 82px); color: var(--cream); font-size: .9rem; }

/* 6. Hero (beranda) ------------------------------------------------------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(70px, 9vw, 120px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: repeating-conic-gradient(from 0deg at 72% 46%, rgba(212, 163, 115, .16) 0 6deg, transparent 6deg 12deg);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.hero__kicker { display: inline-flex; align-items: center; gap: 12px; border: 1.5px solid var(--esp); border-radius: 999px; padding: 6px 16px 6px 6px; font-weight: 700; font-size: .85rem; margin-bottom: 26px; background: var(--milk); }
.hero__kicker b { background: var(--rust); color: #fff; border-radius: 999px; padding: 3px 12px; font-size: .75rem; letter-spacing: .1em; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.02; margin-bottom: 24px; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--rust); }
.hero h1 .ul { background: linear-gradient(transparent 68%, rgba(212, 163, 115, .55) 68% 92%, transparent 92%); }
.hero__lead { font-size: 1.18rem; color: var(--muted); max-width: 520px; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero__facts { display: flex; gap: 0; border-top: 1.5px solid var(--esp); border-bottom: 1.5px solid var(--esp); max-width: 560px; }
.hero__facts div { flex: 1; padding: 14px 16px; border-right: 1px dashed var(--line); }
.hero__facts div:last-child { border-right: 0; }
.hero__facts strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--esp); line-height: 1.1; }
.hero__facts span { font-size: .82rem; color: var(--muted); }
.hero__art { position: relative; justify-self: center; width: min(470px, 100%); }
.arch { border-radius: 999px 999px 18px 18px; overflow: hidden; border: 3px solid var(--esp); box-shadow: 14px 14px 0 var(--car); background: var(--esp); }
.arch img { width: 100%; aspect-ratio: 8 / 9; object-fit: cover; }
.arch-frame { position: absolute; inset: -16px; border: 1.5px dashed var(--esp); border-radius: 999px 999px 26px 26px; pointer-events: none; }
.stamp { position: absolute; width: 150px; height: 150px; left: -60px; top: 34px; z-index: 2; }
.stamp svg { width: 100%; height: 100%; animation: spin 26s linear infinite; }
.stamp__core { position: absolute; inset: 34px; border-radius: 50%; background: var(--rust); display: grid; place-items: center; color: #fff; box-shadow: 0 0 0 4px var(--paper), 0 0 0 5.5px var(--rust); }
.stamp__core .icon { width: 36px; height: 36px; }
@keyframes spin { to { transform: rotate(360deg); } }
.ticket {
  position: absolute; right: -34px; bottom: 40px; z-index: 2; width: 236px; background: var(--milk); color: var(--ink);
  padding: 16px 18px 16px 22px; border-radius: 8px; box-shadow: var(--shadow); border-left: 6px solid var(--rust);
  -webkit-mask: radial-gradient(circle 9px at 100% 50%, transparent 98%, #000) ; mask: radial-gradient(circle 9px at 100% 50%, transparent 98%, #000);
}
.ticket small { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--car-d); font-weight: 700; }
.ticket strong { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--esp); margin: 2px 0 4px; }
.ticket p { margin: 0; font-size: .86rem; color: var(--muted); }

/* Pita asal biji (marquee besar) */
.ribbon { background: var(--car); color: var(--esp-2); border-block: 2px solid var(--esp); overflow: hidden; transform: rotate(-1.2deg); margin: -20px -10px 0; position: relative; z-index: 3; }
.ribbon__track { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.ribbon__track span { font-family: var(--font-head); font-size: clamp(1.2rem, 2.4vw, 1.7rem); font-weight: 700; padding: 12px 26px; display: inline-flex; align-items: center; gap: 26px; white-space: nowrap; }
.ribbon__track span::after { content: ""; width: 14px; height: 20px; background: var(--esp); border-radius: 50%; transform: rotate(30deg); }

/* Judul halaman dalam */
.page-hero { position: relative; background: var(--esp); color: var(--cream); padding: clamp(50px, 7vw, 90px) 0 clamp(60px, 8vw, 100px); --sc: var(--esp); }
.page-hero::before { content: ""; position: absolute; inset: 0; opacity: .5; background: repeating-conic-gradient(from 0deg at 85% 120%, rgba(212, 163, 115, .12) 0 5deg, transparent 5deg 10deg); }
.page-hero .wrap { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.page-hero h1 { color: var(--milk); font-size: clamp(2.2rem, 5vw, 3.8rem); margin-bottom: 12px; }
.page-hero p { color: #d9cbc4; max-width: 620px; margin: 0; font-size: 1.08rem; }
.page-hero__badge { width: 120px; height: 120px; border-radius: 50%; border: 2px dashed var(--car); display: grid; place-items: center; text-align: center; font-family: var(--font-head); color: var(--car); font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.3; transform: rotate(-10deg); }
.page-hero__badge b { display: block; font-size: 1.6rem; letter-spacing: 0; color: var(--milk); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 16px; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; }
.crumbs a { color: var(--car); text-decoration: none; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #8d7a72; }
.crumbs [aria-current] { color: #cdbdb6; }

/* 7. Komponen ------------------------------------------------------------- */
/* Kartu produk ala label harga */
.p-card { position: relative; background: var(--milk); border: 1.5px solid var(--esp); border-radius: 14px 14px 6px 6px; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.p-card:hover { transform: translateY(-6px) rotate(-.4deg); box-shadow: 8px 10px 0 var(--car); }
.p-card__img { position: relative; display: block; border-bottom: 1.5px dashed var(--esp); background: var(--cream); border-radius: 13px 13px 0 0; overflow: hidden; }
.p-card__img img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform .5s; }
.p-card:hover .p-card__img img { transform: scale(1.05); }
.p-card__badge { position: absolute; top: 12px; left: 12px; background: var(--rust); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; }
.p-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.p-card__meta { display: flex; justify-content: space-between; gap: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--car-d); }
.p-card h3 { font-size: 1.16rem; margin: 0; }
.p-card h3 a { text-decoration: none; color: var(--esp); }
.p-card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.p-card__notes { font-size: .88rem; color: var(--muted); margin: 0; }
.p-card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.22rem; color: var(--esp); }
.price small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .76rem; color: var(--muted); }
.p-card .add-btn { position: relative; z-index: 2; }
.roast { display: inline-flex; gap: 4px; align-items: center; }
.roast i { width: 9px; height: 9px; border-radius: 50%; border: 1.5px solid var(--esp); }
.roast i.on { background: var(--esp); }
.stars { color: #b7791f; letter-spacing: 1px; font-size: .9rem; }

/* Papan menu (tab beranda) */
.board { background: var(--esp-2); border-radius: 18px; padding: clamp(24px, 4vw, 48px); border: 10px solid var(--esp-3); box-shadow: inset 0 0 0 2px rgba(239, 235, 233, .12), 0 30px 50px -30px #000; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.tab-btn { padding: 10px 20px; border-radius: 999px; border: 1.5px solid rgba(239, 235, 233, .4); background: transparent; color: var(--cream); font-weight: 700; cursor: pointer; letter-spacing: .05em; }
.tab-btn[aria-selected="true"] { background: var(--car); border-color: var(--car); color: var(--esp-2); }
.tab-btn:hover { border-color: var(--car); }
.tab-panel[hidden] { display: none; }
.menu-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 48px; }
.menu-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px dashed rgba(239, 235, 233, .22); text-decoration: none; color: var(--cream); }
.menu-item img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid var(--car); background: var(--cream); }
.menu-item strong { font-family: var(--font-head); font-size: 1.12rem; color: var(--milk); display: block; }
.menu-item span { font-size: .86rem; color: #c3b2aa; }
.menu-item em { font-style: normal; font-family: var(--font-head); font-weight: 700; color: var(--car); white-space: nowrap; }
.menu-item:hover strong { color: var(--car); }

/* Tiket asal biji */
.origins { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.origin {
  position: relative; background: var(--milk); padding: 26px 26px 22px; border-radius: 10px; border-top: 6px solid var(--o, var(--esp));
  -webkit-mask: radial-gradient(circle 12px at 0 62%, transparent 98%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, transparent 98%, #000 100%) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 12px at 0 62%, transparent 98%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle 12px at 100% 62%, transparent 98%, #000 100%) right / 51% 100% no-repeat;
  box-shadow: var(--shadow);
}
.origin__no { position: absolute; top: 18px; right: 22px; font-family: var(--font-head); font-size: 2.6rem; color: var(--cream); font-weight: 700; line-height: 1; }
.origin h3 { margin: 4px 0 4px; }
.origin small { font-weight: 700; letter-spacing: .16em; text-transform: uppercase; font-size: .72rem; color: var(--car-d); }
.origin dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; margin: 18px 0 0; padding-top: 18px; border-top: 1.5px dashed var(--line); font-size: .9rem; }
.origin dt { color: var(--muted); }
.origin dd { margin: 0; font-weight: 700; text-align: right; }

/* Langkah proses (garis putus) */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 38px; left: 12%; right: 12%; border-top: 2px dashed var(--car); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step__icon { width: 78px; height: 78px; margin: 0 auto 18px; border-radius: 50%; background: var(--paper); border: 2px solid var(--esp); display: grid; place-items: center; color: var(--esp); position: relative; }
.section--dark .step__icon { background: var(--esp); border-color: var(--car); color: var(--car); }
.step__icon .icon { width: 32px; height: 32px; }
.step__icon::after { counter-increment: s; content: counter(s); position: absolute; top: -6px; right: -6px; width: 28px; height: 28px; border-radius: 50%; background: var(--rust); color: #fff; font-weight: 700; font-size: .85rem; display: grid; place-items: center; }
.step p { color: var(--muted); font-size: .95rem; }
.section--dark .step p { color: #cdbdb6; }

/* Statistik (counter) */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat { text-align: center; padding: 26px 10px; border: 1.5px solid rgba(239, 235, 233, .3); border-radius: 50% / 22%; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 4vw, 3.2rem); color: var(--car); line-height: 1; margin-bottom: 8px; }
.stat span { font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; color: #d9cbc4; }

/* Split cerita */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.polaroid { background: var(--milk); padding: 14px 14px 46px; box-shadow: var(--shadow); transform: rotate(-2.5deg); position: relative; }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.polaroid figcaption { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; font-family: var(--font-head); font-style: italic; color: var(--muted); }
.polaroid--b { position: absolute; width: 52%; right: -6%; bottom: -16%; transform: rotate(4deg); }
.polaroid-stack { position: relative; margin-bottom: 60px; }
.tape::before { content: ""; position: absolute; top: -12px; left: 50%; width: 110px; height: 26px; background: rgba(212, 163, 115, .7); transform: translateX(-50%) rotate(-3deg); }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { color: var(--rust); margin-top: 4px; }

/* Testimoni slider */
.quote-slider { position: relative; max-width: 900px; margin: 0 auto; }
.quote-track { overflow: hidden; }
.quote-rail { display: flex; transition: transform .6s cubic-bezier(.7, 0, .3, 1); }
.quote { flex: 0 0 100%; padding: 10px clamp(10px, 4vw, 50px); text-align: center; }
.quote blockquote { margin: 0 0 26px; font-family: var(--font-head); font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.45; color: var(--esp); }
.quote blockquote::before { content: "“"; display: block; font-size: 5rem; line-height: .6; color: var(--car); margin-bottom: 12px; }
.person { display: inline-flex; align-items: center; gap: 14px; text-align: left; }
.avatar { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--a, var(--esp)); color: var(--cream); font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; border: 3px solid var(--milk); box-shadow: 0 0 0 1.5px var(--esp); flex: none; }
.person strong { display: block; color: var(--esp); }
.person span { font-size: .88rem; color: var(--muted); }
.slider-ctrl { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 30px; }
.dots { display: flex; gap: 8px; }
.dots button { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid var(--esp); background: transparent; padding: 0; cursor: pointer; }
.dots button[aria-current="true"] { background: var(--esp); width: 30px; border-radius: 6px; }

/* Kartu blog (jurnal) */
.post { display: flex; flex-direction: column; background: var(--milk); border-radius: 8px; overflow: hidden; border: 1px solid var(--line); position: relative; transition: transform .25s, box-shadow .25s; }
.post:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post__img { position: relative; overflow: hidden; }
.post__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .5s; }
.post:hover .post__img img { transform: scale(1.05); }
.post__date { position: absolute; left: 16px; bottom: -26px; width: 62px; height: 62px; border-radius: 50%; background: var(--esp); color: var(--cream); display: grid; place-content: center; text-align: center; line-height: 1; border: 3px solid var(--milk); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; }
.post__date b { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: 0; display: block; }
.post__body { padding: 38px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.post__cat { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rust); margin-bottom: 6px; }
.post h3 { font-size: 1.22rem; }
.post h3 a { color: var(--esp); text-decoration: none; }
.post h3 a::after { content: ""; position: absolute; inset: 0; }
.post p { color: var(--muted); font-size: .95rem; }
.post__meta { margin-top: auto; font-size: .82rem; color: var(--muted); display: flex; gap: 14px; }

/* Galeri */
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.chip { padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--esp); background: transparent; color: var(--esp); font-weight: 700; font-size: .9rem; cursor: pointer; }
.chip:hover { background: var(--cream); }
.chip[aria-pressed="true"] { background: var(--esp); color: var(--cream); }
.gallery { columns: 3 280px; column-gap: 18px; }
.g-item { break-inside: avoid; margin: 0 0 18px; position: relative; border-radius: 6px; overflow: hidden; border: 1.5px solid var(--esp); }
.g-item[hidden] { display: none; }
.g-item button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.g-item img { width: 100%; transition: transform .5s, filter .3s; filter: sepia(.15); }
.g-item:nth-child(3n+1) img { aspect-ratio: 4 / 5; object-fit: cover; }
.g-item:hover img { transform: scale(1.04); filter: none; }
.g-item figcaption { position: absolute; left: 10px; bottom: 10px; right: 10px; background: rgba(42, 26, 22, .82); color: var(--cream); padding: 6px 12px; font-size: .85rem; border-radius: 4px; pointer-events: none; }
.g-strip { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.g-strip .g-item { margin: 0; }
.g-strip .g-item:first-child { grid-row: span 2; }
.g-strip .g-item button, .g-strip .g-item img { height: 100%; }
.g-strip .g-item img { object-fit: cover; aspect-ratio: auto !important; }

/* Video */
.videos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.video { text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.video__thumb { position: relative; border-radius: 8px; overflow: hidden; border: 1.5px solid var(--esp); }
.video__thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .5s; }
.video:hover .video__thumb img { transform: scale(1.05); }
.video__play { position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%; background: var(--cream); color: var(--esp); display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(239, 235, 233, .35); transition: transform .2s; }
.video:hover .video__play { transform: scale(1.1); }
.video__play .icon { width: 26px; height: 26px; fill: currentColor; margin-left: 4px; }
.video__time { position: absolute; right: 10px; bottom: 10px; background: var(--esp-2); color: var(--cream); font-size: .78rem; padding: 2px 8px; border-radius: 3px; }
.video h3 { font-size: 1.08rem; margin: 14px 0 4px; }
.video p { font-size: .9rem; color: var(--muted); margin: 0; }

/* Akordeon */
.accordion { border-top: 2px solid var(--esp); }
.acc-item { border-bottom: 1px dashed var(--esp-3); }
.acc-item[hidden] { display: none; }
.acc-btn { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 20px 4px; background: none; border: 0; text-align: left; cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 1.12rem; color: var(--esp); }
.acc-btn .icon { transition: transform .3s; width: 26px; height: 26px; padding: 4px; border-radius: 50%; border: 1.5px solid var(--esp); }
.acc-btn[aria-expanded="true"] .icon { transform: rotate(45deg); background: var(--esp); color: var(--cream); }
.acc-panel { overflow: hidden; max-height: 0; transition: max-height .35s ease; }
.acc-panel > div { padding: 0 4px 22px; color: var(--muted); }

/* Form */
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 6px; color: var(--esp); }
.field label .req { color: var(--rust); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--esp-3); border-radius: var(--radius); background: var(--milk); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rust); box-shadow: 0 0 0 3px rgba(164, 71, 47, .2); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #b3261e; background: #fff5f3; }
.field__err { display: none; color: #b3261e; font-size: .84rem; margin-top: 5px; }
.field.has-error .field__err { display: block; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; }
.check input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--esp); }
.form-card { background: var(--milk); border: 1.5px solid var(--esp); border-radius: 12px; padding: clamp(22px, 4vw, 40px); box-shadow: 10px 10px 0 var(--cream); }

/* Newsletter / klub */
.club { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; background: var(--rust); color: #fff; border-radius: 20px; padding: clamp(28px, 5vw, 60px); overflow: hidden; }
.club::after { content: ""; position: absolute; width: 380px; height: 380px; right: -110px; top: -140px; border-radius: 50%; border: 50px solid rgba(255, 255, 255, .08); }
.club h2 { color: #fff; }
.club p { color: #f6e2da; }
.club form { position: relative; z-index: 1; display: flex; gap: 10px; background: var(--milk); padding: 8px; border-radius: 999px; }
.club input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 10px 16px; color: var(--ink); }
.club input:focus { outline: none; }
.club .field__err { color: #ffe1d6; padding-left: 18px; }
.club .has-error .field__err { display: block; }

/* 8. Halaman ------------------------------------------------------------- */
/* Katalog */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 40px; align-items: start; }
.sidebar { position: sticky; top: 100px; background: var(--milk); border: 1.5px solid var(--esp); border-radius: 12px; padding: 22px; }
.sidebar h3 { font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; font-family: var(--font-body); margin: 0 0 12px; }
.f-group { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px dashed var(--line); }
.f-group:last-of-type { border-bottom: 0; margin-bottom: 8px; }
.radio-list { display: grid; gap: 6px; }
.radio-list label { display: flex; justify-content: space-between; align-items: center; gap: 10px; cursor: pointer; padding: 6px 10px; border-radius: 6px; font-size: .95rem; }
.radio-list label:hover { background: var(--cream); }
.radio-list input { accent-color: var(--esp); margin-right: 8px; }
.radio-list .count { font-size: .78rem; color: var(--muted); background: var(--cream); border-radius: 999px; padding: 1px 8px; }
.price-range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-range input { width: 100%; padding: 9px 10px; border: 1.5px solid var(--esp-3); border-radius: 6px; background: var(--paper); }
.range-wrap input[type="range"] { width: 100%; accent-color: var(--rust); }
.toolbar { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; justify-content: space-between; margin-bottom: 24px; padding-bottom: 18px; border-bottom: 2px solid var(--esp); }
.search-box { position: relative; flex: 1; min-width: 220px; max-width: 420px; }
.search-box .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; padding: 12px 14px 12px 42px; border: 1.5px solid var(--esp-3); border-radius: 999px; background: var(--milk); }
.toolbar select { padding: 11px 14px; border: 1.5px solid var(--esp-3); border-radius: 999px; background: var(--milk); }
.result-info { color: var(--muted); font-size: .92rem; }
.empty { text-align: center; padding: 60px 20px; border: 2px dashed var(--line); border-radius: 12px; color: var(--muted); }
.empty[hidden] { display: none; }
.filter-toggle { display: none; }

/* Produk detail */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.pd-gallery__main { border: 1.5px solid var(--esp); border-radius: 16px; overflow: hidden; background: var(--cream); position: relative; }
.pd-gallery__main img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.pd-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 14px; }
.pd-thumbs button { padding: 0; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; cursor: pointer; background: var(--cream); }
.pd-thumbs button[aria-current="true"] { border-color: var(--rust); box-shadow: 0 0 0 2px var(--rust); }
.pd-thumbs img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.pd-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 8px; }
.pd-sub { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.pd-price { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; color: var(--rust); margin-bottom: 18px; }
.pd-price small { font-size: .95rem; color: var(--muted); font-weight: 400; font-family: var(--font-body); }
.pd-notes { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; padding: 0; list-style: none; }
.pd-notes li { background: var(--cream); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .88rem; font-weight: 500; }
.opt { margin-bottom: 20px; }
.opt__label { font-weight: 700; font-size: .9rem; margin-bottom: 10px; display: block; }
.opt__label span { color: var(--muted); font-weight: 400; }
.opt__choices { display: flex; flex-wrap: wrap; gap: 8px; }
.opt__choices button { padding: 9px 16px; border: 1.5px solid var(--esp-3); border-radius: 6px; background: var(--milk); cursor: pointer; font-weight: 500; }
.opt__choices button[aria-pressed="true"] { background: var(--esp); color: var(--cream); border-color: var(--esp); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--esp); border-radius: 999px; overflow: hidden; background: var(--milk); }
.qty button { width: 42px; height: 46px; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; color: var(--esp); }
.qty button:hover { background: var(--cream); }
.qty input { width: 48px; text-align: center; border: 0; background: transparent; font-weight: 700; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.qty--sm button { width: 34px; height: 36px; }
.qty--sm input { width: 36px; }
.pd-buy { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 24px 0; }
.pd-perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; padding: 18px 0 0; border-top: 1.5px dashed var(--line); font-size: .85rem; color: var(--muted); }
.pd-perks div { display: flex; gap: 8px; align-items: center; }
.pd-perks .icon { color: var(--rust); width: 22px; height: 22px; }
.pd-tabs { margin-top: 70px; }
.pd-tabs .tabs { border-bottom: 2px solid var(--esp); gap: 0; margin-bottom: 30px; }
.pd-tabs .tab-btn { border: 0; border-radius: 8px 8px 0 0; color: var(--esp); padding: 14px 22px; }
.pd-tabs .tab-btn[aria-selected="true"] { background: var(--esp); color: var(--cream); }
.flavor { display: grid; gap: 14px; max-width: 520px; }
.flavor div { display: grid; grid-template-columns: 110px 1fr 30px; gap: 14px; align-items: center; font-size: .95rem; }
.bar { height: 10px; border-radius: 6px; background: var(--cream); border: 1px solid var(--line); overflow: hidden; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--car), var(--rust)); border-radius: 6px; }
.spec { width: 100%; border-collapse: collapse; }
.spec th, .spec td { text-align: left; padding: 12px 10px; border-bottom: 1px dashed var(--line); }
.spec th { width: 40%; color: var(--muted); font-weight: 500; }
.review { padding: 20px 0; border-bottom: 1px dashed var(--line); }
.review header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review .avatar { width: 42px; height: 42px; font-size: .9rem; }

/* Keranjang & checkout */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.cart-table { width: 100%; border-collapse: collapse; }
.cart-table th { text-align: left; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); padding: 0 10px 14px; border-bottom: 2px solid var(--esp); }
.cart-table td { padding: 18px 10px; border-bottom: 1px dashed var(--line); vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod img { width: 76px; height: 76px; border-radius: 10px; border: 1px solid var(--line); object-fit: cover; flex: none; }
.cart-prod a { font-family: var(--font-head); font-weight: 700; text-decoration: none; color: var(--esp); }
.cart-prod small { display: block; color: var(--muted); }
.remove-btn { border: 0; background: none; color: var(--muted); cursor: pointer; padding: 8px; border-radius: 50%; }
.remove-btn:hover { color: #b3261e; background: #fbe9e5; }
.summary { position: sticky; top: 100px; background: var(--esp); color: var(--cream); border-radius: 14px; padding: 28px; }
.summary h2 { color: var(--milk); font-size: 1.5rem; }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin: 0 0 18px; }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary .total { font-family: var(--font-head); font-size: 1.5rem; color: var(--car); padding-top: 14px; border-top: 1.5px dashed rgba(239, 235, 233, .35); }
.summary .btn--ghost { --t: var(--cream); border-color: var(--cream); }
.voucher { display: flex; gap: 8px; margin-bottom: 18px; }
.voucher input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 6px; border: 1px solid rgba(239, 235, 233, .4); background: rgba(255, 255, 255, .07); color: var(--cream); }
.voucher input::placeholder { color: #bfaea7; }
.mini-items { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 12px; }
.mini-items li { display: grid; grid-template-columns: 50px 1fr auto; gap: 12px; align-items: center; font-size: .9rem; }
.mini-items img { width: 50px; height: 50px; border-radius: 8px; object-fit: cover; }
.mini-items small { display: block; color: #c3b2aa; }
.cart-empty { text-align: center; padding: 60px 20px; }
.cart-empty .icon { width: 64px; height: 64px; margin: 0 auto 16px; color: var(--car-d); }
.checkout-steps { display: flex; gap: 0; margin-bottom: 36px; list-style: none; padding: 0; counter-reset: c; }
.checkout-steps li { flex: 1; text-align: center; font-size: .85rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; border-bottom: 3px solid var(--line); }
.checkout-steps li.on { color: var(--esp); border-color: var(--rust); }
.pay-opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay-opts label { border: 1.5px solid var(--esp-3); border-radius: 8px; padding: 12px; cursor: pointer; display: flex; gap: 10px; align-items: center; font-weight: 500; background: var(--milk); }
.pay-opts input { accent-color: var(--rust); }
.pay-opts label:has(input:checked) { border-color: var(--rust); box-shadow: 0 0 0 2px var(--rust); }

/* Tentang: timeline */
.timeline { position: relative; max-width: 900px; margin: 0 auto; }
.timeline::before { content: ""; position: absolute; left: 50%; top: 0; bottom: 0; border-left: 2px dashed var(--car); }
.tl { position: relative; width: 50%; padding: 0 44px 40px 0; text-align: right; }
.tl:nth-child(even) { margin-left: 50%; padding: 0 0 40px 44px; text-align: left; }
.tl::before { content: ""; position: absolute; right: -11px; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--rust); box-shadow: 0 0 0 5px var(--paper), 0 0 0 7px var(--rust); }
.tl:nth-child(even)::before { left: -11px; right: auto; }
.tl b { font-family: var(--font-head); font-size: 2rem; color: var(--car-d); display: block; line-height: 1; margin-bottom: 6px; }
.tl p { color: var(--muted); margin: 0; }
.team { text-align: center; }
.team__photo { width: 100%; aspect-ratio: 1; border-radius: 50% 50% 8px 8px; display: grid; place-items: center; background: var(--t, var(--esp)); border: 2px solid var(--esp); margin-bottom: 16px; position: relative; overflow: hidden; }
.team__photo svg { width: 70%; height: auto; }
.team h3 { margin-bottom: 2px; }
.team p { color: var(--muted); font-size: .92rem; }
.value { padding: 28px; border: 1.5px solid var(--esp); border-radius: 12px; background: var(--milk); }
.value .icon { width: 40px; height: 40px; color: var(--rust); margin-bottom: 14px; }
.value p { color: var(--muted); margin: 0; }

/* Cara belanja */
.howto { display: grid; gap: 0; counter-reset: h; }
.howto li { list-style: none; display: grid; grid-template-columns: 100px 1fr; gap: 26px; padding: 28px 0; border-bottom: 1px dashed var(--esp-3); }
.howto li::before { counter-increment: h; content: "0" counter(h); font-family: var(--font-head); font-size: 3.4rem; font-weight: 700; color: var(--car); line-height: 1; }
.howto h3 { margin-bottom: 6px; }
.howto p { color: var(--muted); margin: 0; }
.table-wrap { overflow-x: auto; border: 1.5px solid var(--esp); border-radius: 10px; background: var(--milk); }
.table { width: 100%; border-collapse: collapse; min-width: 560px; }
.table th, .table td { padding: 14px 16px; text-align: left; border-bottom: 1px dashed var(--line); }
.table thead th { background: var(--esp); color: var(--cream); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.table tbody tr:hover { background: var(--cream); }
.pay-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border: 1.5px solid var(--esp); border-radius: 12px; background: var(--milk); }
.pay-card .icon { width: 34px; height: 34px; color: var(--rust); }
.pay-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.note { background: var(--cream); border-left: 5px solid var(--car); padding: 18px 22px; border-radius: 6px; }

/* Testimoni grid */
.review-card { background: var(--milk); padding: 26px; border-radius: 12px; border: 1.5px solid var(--esp); position: relative; break-inside: avoid; margin-bottom: 24px; }
.review-card[hidden] { display: none; }
.review-card::before { content: "“"; position: absolute; top: 4px; right: 18px; font-family: var(--font-head); font-size: 4.4rem; color: var(--cream); line-height: 1; }
.review-card p { color: var(--ink); }
.review-card .tag { font-size: .76rem; font-weight: 700; color: var(--car-d); letter-spacing: .12em; text-transform: uppercase; }
.reviews-masonry { columns: 3 300px; column-gap: 24px; }
.rating-sum { display: grid; grid-template-columns: auto 1fr; gap: 40px; align-items: center; background: var(--milk); border: 1.5px solid var(--esp); border-radius: 14px; padding: 30px; margin-bottom: 40px; }
.rating-sum__big { text-align: center; }
.rating-sum__big strong { font-family: var(--font-head); font-size: 4rem; color: var(--esp); line-height: 1; display: block; }
.rating-bars { display: grid; gap: 8px; }
.rating-bars div { display: grid; grid-template-columns: 50px 1fr 40px; gap: 12px; align-items: center; font-size: .9rem; }
.star-input { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2rem; color: var(--line); cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: #b7791f; }
.star-input input:focus-visible + label { outline: 3px solid var(--rust); border-radius: 4px; }

/* Blog detail */
.article { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; }
.article__cover { border-radius: 12px; overflow: hidden; border: 1.5px solid var(--esp); margin-bottom: 34px; }
.article__cover img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; }
.prose { font-size: 1.08rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose blockquote { margin: 1.6em 0; padding: 18px 26px; border-left: 5px solid var(--rust); background: var(--cream); font-family: var(--font-head); font-size: 1.25rem; font-style: italic; color: var(--esp); }
.prose ol, .prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .4em; }
.prose > p:first-of-type::first-letter { font-family: var(--font-head); font-size: 4.2rem; float: left; line-height: .9; margin: 6px 12px 0 0; color: var(--rust); font-weight: 700; }
.recipe { background: var(--esp); color: var(--cream); border-radius: 12px; padding: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; text-align: center; margin: 24px 0; }
.recipe b { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--car); }
.recipe span { font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin: 30px 0; padding: 20px 0; border-block: 1px dashed var(--line); }
.aside-box { background: var(--milk); border: 1.5px solid var(--esp); border-radius: 12px; padding: 22px; margin-bottom: 24px; }
.aside-box h3 { font-size: 1.05rem; letter-spacing: .12em; text-transform: uppercase; font-family: var(--font-body); }
.toc { list-style: none; padding: 0; margin: 0; counter-reset: t; }
.toc li { counter-increment: t; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .95rem; }
.toc li::before { content: counter(t) ". "; color: var(--rust); font-weight: 700; }
.toc a { text-decoration: none; }
.mini-post { display: grid; grid-template-columns: 70px 1fr; gap: 12px; align-items: center; padding: 8px 0; text-decoration: none; color: var(--esp); font-weight: 700; font-size: .92rem; line-height: 1.35; }
.mini-post img { width: 70px; height: 56px; object-fit: cover; border-radius: 6px; }
.mini-post small { display: block; color: var(--muted); font-weight: 400; }
.author-box { display: flex; gap: 18px; align-items: center; padding: 24px; background: var(--cream); border-radius: 12px; }
.comment { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px dashed var(--line); }
.comment .avatar { width: 46px; height: 46px; font-size: .9rem; }
.comment p { margin: 4px 0 0; color: var(--muted); }

/* Kontak */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 60px; }
.c-card { padding: 24px; border-radius: 12px; background: var(--milk); border: 1.5px solid var(--esp); }
.c-card .icon { width: 30px; height: 30px; color: var(--rust); margin-bottom: 12px; }
.c-card h3 { font-size: 1.05rem; margin-bottom: 4px; }
.c-card p { margin: 0; color: var(--muted); font-size: .95rem; }
.map { border: 1.5px solid var(--esp); border-radius: 12px; overflow: hidden; background: var(--cream); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.hours { list-style: none; padding: 0; margin: 0; }
.hours li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px dashed var(--line); }

/* 404 */
.nf { min-height: 64vh; display: grid; place-items: center; text-align: center; padding: 80px 0; }
.nf__num { font-family: var(--font-head); font-size: clamp(6rem, 20vw, 12rem); font-weight: 700; line-height: 1; color: var(--esp); display: flex; align-items: center; justify-content: center; gap: .1em; }
.nf__cup { width: .85em; height: .85em; border-radius: 50%; background: var(--esp); position: relative; display: inline-grid; place-items: center; }
.nf__cup::after { content: ""; width: 60%; height: 60%; border-radius: 50%; background: var(--car); }

/* 9. Footer -------------------------------------------------------------- */
.site-footer { position: relative; background: var(--esp-2); color: #cdbdb6; padding: 90px 0 0; margin-top: 18px; --sc: var(--esp-2); font-size: .95rem; }
.site-footer .scallop { position: absolute; top: -17px; left: 0; right: 0; height: 18px; background: radial-gradient(circle at 12px 18px, var(--esp-2) 12px, transparent 12.5px) 0 0 / 24px 18px repeat-x; }
.f-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer .brand { color: var(--cream); margin-bottom: 18px; }
.site-footer h4 { color: var(--car); font-family: var(--font-body); font-size: .82rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: #e8ddd8; text-decoration: none; }
.site-footer a:hover { color: var(--car); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .icon { color: var(--car); margin-top: 4px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(239, 235, 233, .3); display: grid; place-items: center; }
.socials a:hover { background: var(--car); color: var(--esp-2); border-color: var(--car); }
.f-bottom { border-top: 1px dashed rgba(239, 235, 233, .2); padding: 22px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .88rem; }
.f-bottom a { color: var(--car); }

/* Tombol melayang */
.to-top, .wa-float { position: fixed; right: 20px; z-index: 90; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--esp); cursor: pointer; transition: opacity .3s, transform .3s; }
.to-top { bottom: 86px; background: var(--paper); color: var(--esp); opacity: 0; transform: translateY(16px); pointer-events: none; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-float { bottom: 22px; background: #2e7d4f; color: #fff; border-color: #1d5235; text-decoration: none; }
.wa-float:hover { color: #fff; transform: scale(1.06); }
.wa-float .icon, .to-top .icon { width: 24px; height: 24px; }

/* 10. Modal / lightbox / toast ------------------------------------------ */
.modal { position: fixed; inset: 0; z-index: 250; background: rgba(20, 12, 10, .92); display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.is-open { display: flex; }
.modal__close { position: absolute; top: 18px; right: 18px; border-color: var(--cream); color: var(--cream); }
.modal__close:hover { background: var(--cream); color: var(--esp); }
.lightbox figure { margin: 0; max-width: min(1000px, 92vw); text-align: center; }
.lightbox img { max-height: 78vh; width: auto; margin: 0 auto; border: 6px solid var(--milk); border-radius: 4px; }
.lightbox figcaption { color: var(--cream); margin-top: 14px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); border-color: var(--cream); color: var(--cream); }
.lb-nav:hover { background: var(--cream); color: var(--esp); }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }
.video-modal__box { width: min(960px, 100%); aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.video-modal__box iframe { width: 100%; height: 100%; border: 0; }
.toast-wrap { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 300; display: grid; gap: 10px; width: min(440px, calc(100% - 32px)); }
.toast { background: var(--esp); color: var(--cream); border-left: 6px solid var(--car); padding: 14px 18px; border-radius: 8px; box-shadow: 0 16px 30px -12px rgba(0, 0, 0, .5); display: flex; gap: 12px; align-items: flex-start; animation: toastIn .35s ease; }
.toast.is-error { border-left-color: #e57363; }
.toast .icon { color: var(--car); margin-top: 3px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(14px); } }

/* Animasi muncul */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .topbar__track, .ribbon__track, .stamp svg { animation: none !important; }
}

/* 11. Responsif ---------------------------------------------------------- */
@media (max-width: 1100px) {
  .nav__list a { padding: 8px 8px; font-size: .78rem; letter-spacing: .08em; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  :root { --header-h: 70px; }
  .nav { grid-template-columns: auto 1fr auto; }
  .nav__list { display: none; }
  .menu-toggle { display: inline-grid; }
  .brand { justify-self: center; }
  .hero__grid, .split, .pd, .cart, .article, .club { grid-template-columns: 1fr; }
  .hero__art { margin-top: 20px; }
  .stamp { left: -20px; width: 120px; height: 120px; }
  .stamp__core { inset: 28px; }
  .ticket { right: -10px; }
  .g-3, .g-4, .origins, .videos { grid-template-columns: repeat(2, 1fr); }
  .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .steps::before { display: none; }
  .menu-list { grid-template-columns: 1fr; }
  .shop { grid-template-columns: 1fr; }
  .sidebar { position: fixed; inset: 0 auto 0 0; width: min(340px, 88vw); z-index: 220; border-radius: 0; overflow-y: auto; transform: translateX(-105%); transition: transform .3s; top: 0; }
  .sidebar.is-open { transform: none; box-shadow: 0 0 0 100vmax rgba(20, 12, 10, .5); }
  .filter-toggle { display: inline-flex; }
  .summary { position: static; }
  .article aside { order: 2; }
  .polaroid--b { right: 0; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .g-2, .g-3, .g-4, .origins, .videos, .contact-cards, .f-grid { grid-template-columns: 1fr; }
  .form-row, .pay-opts { grid-template-columns: 1fr; }
  .brand__mark { width: 40px; height: 40px; }
  .brand__name { font-size: 1.15rem; }
  .brand__tag { font-size: .56rem; letter-spacing: .22em; }
  .nav__tools .search-open { display: none; }
  .hero__facts strong { font-size: 1.25rem; }
  .hero__facts div { padding: 10px 8px; }
  .ticket { position: relative; right: auto; bottom: auto; margin: -30px auto 0; width: 88%; }
  .stamp { width: 96px; height: 96px; left: -8px; top: 6px; }
  .stamp__core { inset: 22px; }
  .stamp__core .icon { width: 24px; height: 24px; }
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero__badge { display: none; }
  .g-strip { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .g-strip .g-item:first-child { grid-column: span 2; grid-row: auto; }
  .stats { gap: 12px; }
  .timeline::before { left: 10px; }
  .tl, .tl:nth-child(even) { width: 100%; margin-left: 0; padding: 0 0 32px 40px; text-align: left; }
  .tl::before, .tl:nth-child(even)::before { left: 0; right: auto; }
  .howto li { grid-template-columns: 1fr; gap: 8px; }
  .rating-sum { grid-template-columns: 1fr; }
  .recipe { grid-template-columns: repeat(2, 1fr); }
  .cart-table thead { display: none; }
  .cart-table tr { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 16px 0; border-bottom: 1px dashed var(--line); }
  .cart-table td { border: 0; padding: 0; }
  .cart-table td:first-child { grid-column: 1 / -1; }
  .pd-perks { grid-template-columns: 1fr; }
  .club form { flex-direction: column; border-radius: 16px; }
  .lb-nav { top: auto; bottom: 18px; transform: none; }
  .polaroid--b { display: none; }
  .polaroid-stack { margin-bottom: 20px; }
}

/* Perbaikan kecil */
.pay-opts input { width: auto; flex: none; }
.site-footer .brand__tag, .mobile-nav .brand__tag { color: var(--car); }
@media (max-width: 640px) { .pd-tabs .tabs { flex-wrap: nowrap; overflow-x: auto; } .pd-tabs .tab-btn { white-space: nowrap; padding: 12px 16px; } }
