/* ==========================================================
   Etalase toko — butik setelan wanita: lembut, lapang, serasi.
   Palet blush, plum, dusty rose; aksen sage & champagne.
   ========================================================== */

:root {
  --bg: #faf3ef;
  --surface: #f3e3dc;
  --card: #fffaf7;
  --ink: #3a2230;
  --muted: #6e5865;
  --line: #ead8d0;
  --rose: #a84a60;
  --rose-ink: #8c3a4f;
  --rose-soft: #f6dfe3;
  --blush: #f1d3d6;
  --sage: #9fb19a;
  --sage-soft: #eef1ea;
  --champagne: #d8bf9f;
  --champagne-soft: #f7ede3;
  --plum-deep: #2e1a26;

  /* Alias lama agar aturan bersama tetap konsisten. */
  --accent: var(--rose);
  --accent-ink: var(--rose-ink);
  --accent-soft: var(--rose-soft);

  --success: #3f6b45;
  --success-soft: #e6efe4;
  --warn-soft: #fbf0e0;
  --danger: #a3362a;
  --danger-soft: #f8e4e0;

  --serif: 'Cormorant Garamond', "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: 'Jost', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;

  --radius: 14px;
  --radius-lg: 24px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 2px 6px rgba(58, 34, 48, .05), 0 18px 40px -18px rgba(58, 34, 48, .22);
  --shadow-lg: 0 4px 10px rgba(58, 34, 48, .06), 0 30px 60px -24px rgba(58, 34, 48, .32);

  /* Butiran kertas halus (feTurbulence). */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .23 0 0 0 0 .13 0 0 0 0 .19 0 0 0 .42 -.16'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); overflow-x: clip; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: clip;
}

main { flex: 1 0 auto; outline: none; }

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rose); }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.005em; }
p { margin: 0 0 0.75em; }
p:last-child { margin-bottom: 0; }
em { font-style: italic; }

button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 4px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px;
  text-decoration: none; transition: top 0.15s;
}
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.page { position: relative; isolation: isolate; padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(56px, 8vw, 104px); }
.narrow { max-width: 480px; margin: 0 auto; }

/* Gumpalan warna lembut di belakang setiap halaman dalam. */
.view > .page::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: -60px; right: -12%; width: min(620px, 90vw); height: 460px;
  background:
    radial-gradient(closest-side at 60% 40%, rgba(241, 211, 214, .75), transparent),
    radial-gradient(closest-side at 25% 70%, rgba(201, 211, 196, .45), transparent);
}
.view > .page::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  top: 380px; left: -18%; width: min(520px, 80vw); height: 420px;
  background: radial-gradient(closest-side, rgba(216, 191, 159, .28), transparent);
}

.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.center { text-align: center; }
.prewrap { white-space: pre-line; overflow-wrap: anywhere; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; }

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--rose); }

.noscript { padding: 24px; text-align: center; }

/* ---------- Gerak umum ---------- */

.view { animation: view-in .55s var(--ease) both; overflow-x: clip; }
.view.is-leaving { opacity: 0; transform: translateY(-8px); transition: opacity .15s ease-in, transform .15s ease-in; animation: none; }
@keyframes view-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.has-reveal [data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease) var(--rd, 0ms), transform .8s var(--ease) var(--rd, 0ms);
}
.has-reveal [data-reveal].is-in { opacity: 1; transform: none; }

/* Gambar memudar dan "mengendap" setelah dimuat; kilau kerangka sampai saat itu. */
.has-reveal main img { transition: opacity .7s var(--ease), transform .9s var(--ease); }
.has-reveal main img:not(.is-loaded) { opacity: 0; transform: scale(1.05); }
.has-reveal :is(.card-media, .arch-frame, .cat-media, .pdp-media, .line-media):has(> img:not(.is-loaded))::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 250, 247, .75) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 1.5s ease-in-out infinite;
}
.line-media { position: relative; }

.rise { animation: rise .9s var(--ease) both; animation-delay: calc(var(--i, 0) * 110ms + 80ms); }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- Tombol ---------- */

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 11px 26px;
  background: var(--rose); color: #fff;
  border: 1px solid var(--rose); border-radius: 999px;
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; text-align: center;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s var(--ease);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .38) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s var(--ease);
}
.btn:hover { background: var(--rose-ink); border-color: var(--rose-ink); color: #fff; }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: scale(.97); }
.btn:disabled, .btn[aria-disabled="true"] { background: #e6d6dc; border-color: #e6d6dc; color: var(--muted); }
.btn:disabled::after { content: none; }
.btn-lg { min-height: 54px; padding: 14px 32px; }
.btn-block { display: flex; width: 100%; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline::after { background: linear-gradient(110deg, transparent 30%, rgba(168, 74, 96, .14) 50%, transparent 70%); }
.btn-outline:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-ghost { background: rgba(255, 250, 247, .7); color: var(--ink); border-color: var(--line); }
.btn-ghost::after { background: linear-gradient(110deg, transparent 30%, rgba(168, 74, 96, .14) 50%, transparent 70%); }
.btn-ghost:hover { background: var(--card); color: var(--rose-ink); border-color: var(--rose); }
.btn-wa { margin-top: 10px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; color: var(--ink);
  border-bottom: 1px solid currentColor; padding-bottom: 3px;
}
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow.back::after { content: none; }
.link-arrow.back::before { content: "←"; transition: transform .25s var(--ease); }
.link-arrow.back:hover::before { transform: translateX(-4px); }

.link-btn {
  background: none; border: 0; padding: 4px 0; color: var(--muted);
  font-size: 0.85rem; text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--danger); }

/* ---------- Pengumuman & header ---------- */

.announcement {
  background: var(--ink); color: #f6e7e9;
  font-size: 0.78rem; letter-spacing: 0.12em; text-align: center;
  padding: 9px var(--gutter);
}

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 243, 239, 0.86);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: transform .35s var(--ease);
}
.site-header::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(250, 243, 239, .7);
  box-shadow: 0 10px 30px -14px rgba(58, 34, 48, .28);
  opacity: 0; transition: opacity .35s var(--ease);
}
.header-inner { transition: transform .35s var(--ease); }
.brand { transition: transform .35s var(--ease); transform-origin: left center; }
/* Setelah digulir: header tampak lebih ramping (bergeser 8px ke atas). */
.site-header.is-scrolled { transform: translateY(-8px); }
.site-header.is-scrolled::after { opacity: 1; }
.site-header.is-scrolled .header-inner { transform: translateY(4px); }
.site-header.is-scrolled .brand { transform: scale(.92); }
.header-inner {
  max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 600; font-size: 1.6rem; letter-spacing: 0.01em; line-height: 1;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
  max-width: 44vw;
}
.brand #brand-name { overflow: hidden; text-overflow: ellipsis; }
.brand-mark { color: var(--rose); flex-shrink: 0; }
.brand:hover { color: var(--ink); }

.site-nav { flex: 1; min-width: 0; }
.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; flex-wrap: nowrap; overflow: hidden; }
.nav-list a {
  position: relative; display: block; padding: 8px 0;
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
}
.nav-list a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .35s var(--ease);
}
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a.is-active { color: var(--rose); }
/* Category links that don't fit beside the search box are hidden by fitNav() in app.js (desktop only). */
@media (min-width: 961px) { .nav-cat.is-overflow { display: none; } }
@media (max-width: 1240px) and (min-width: 961px) { .nav-list { gap: 22px; } }

.search { position: relative; display: flex; align-items: center; flex: 0 1 210px; min-width: 0; }
.search input {
  width: 100%; height: 40px; padding: 0 40px 0 16px;
  background: rgba(255, 250, 247, .9); border: 1px solid var(--line); border-radius: 999px;
  font-size: 0.9rem; appearance: none; -webkit-appearance: none;
  transition: border-color .2s;
}
.search input::placeholder { color: #8d7682; }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.search input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(168, 74, 96, .15); }
.search-btn {
  position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border: 0; background: none; color: var(--muted);
  display: grid; place-items: center; border-radius: 50%;
}
.search-btn:hover { color: var(--rose); }

.cart-link {
  position: relative; display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  flex-shrink: 0; padding: 6px 2px;
}
.cart-link svg { transition: transform .3s var(--ease); }
.cart-link:hover svg { transform: translateY(-2px) rotate(-6deg); }
.cart-link.is-active { color: var(--rose); }
.cart-link.is-pulse svg { animation: cart-pulse .6s var(--ease); }
@keyframes cart-pulse { 0% { transform: scale(1); } 35% { transform: scale(1.28) rotate(-8deg); } 70% { transform: scale(.94); } 100% { transform: scale(1); } }
.cart-count {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px;
  background: var(--rose); color: #fff;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0; line-height: 20px; text-align: center;
}
.cart-count.is-bump { animation: bump .55s var(--ease); }
@keyframes bump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 70% { transform: scale(.9); } 100% { transform: scale(1); } }
.cart-count[hidden] { display: none; }

.icon-btn {
  display: none; width: 40px; height: 40px; margin-left: -8px;
  border: 0; background: none; border-radius: 50%;
  place-items: center;
}
.icon-btn:hover { background: var(--rose-soft); }

@media (max-width: 960px) {
  .header-inner { gap: 12px; }
  .icon-btn { display: grid; }
  .brand { flex: 1; font-size: 1.4rem; max-width: none; min-width: 0; }
  .brand-mark { width: 24px; height: 24px; }
  .cart-label { display: none; }
  .search { order: 5; flex: 1 1 100%; display: none; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -12px rgba(58, 34, 48, 0.18);
    padding: 8px var(--gutter) 16px;
  }
  .site-header.menu-open .site-nav { display: block; animation: menu-in .3s var(--ease) both; }
  .site-header.menu-open .search {
    display: flex;
    position: absolute; left: var(--gutter); right: var(--gutter);
    top: calc(100% + 12px); z-index: 2;
  }
  .site-header.menu-open .site-nav { padding-top: 64px; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem; }
  .nav-list a::after { content: none; }
  .nav-list li:last-child a { border-bottom: 0; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ---------- Toast & animasi keranjang ---------- */

.toast-region {
  position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%);
  z-index: 200; width: max-content; max-width: calc(100vw - 32px);
  pointer-events: none;
}
.toast {
  display: flex; align-items: center; gap: 16px;
  background: var(--ink); color: #f8ecee;
  padding: 12px 20px; border-radius: 999px; box-shadow: var(--shadow-lg);
  font-size: 0.9rem;
  opacity: 0; transform: translateY(14px) scale(.98);
  transition: opacity .3s, transform .3s var(--ease);
  pointer-events: auto;
}
.toast.is-visible { opacity: 1; transform: none; }
.toast-warn { background: #5a3524; }
.toast-action {
  color: #f3c6cf; font-weight: 500; font-size: 0.76rem; letter-spacing: 0.12em; text-transform: uppercase;
  white-space: nowrap;
}
.toast-action:hover { color: #fff; }

.fly-ghost {
  position: fixed; z-index: 300; width: 120px; height: 144px;
  border-radius: 60px 60px 14px 14px; overflow: hidden; pointer-events: none;
  background: var(--surface); box-shadow: var(--shadow-lg);
  will-change: transform, opacity;
}
.fly-ghost img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Status kosong, skeleton ---------- */

.page-loading { padding: 120px 0; text-align: center; color: var(--muted); display: flex; flex-direction: column; align-items: center; gap: 14px; }
.loading-arches { display: inline-flex; gap: 6px; }
.loading-arches i { width: 16px; height: 22px; border: 1.4px solid var(--rose); border-bottom: 0; border-radius: 8px 8px 0 0; animation: breathe 1.2s ease-in-out infinite alternate; }
.loading-arches i + i { animation-delay: .4s; border-color: var(--sage); }
@keyframes breathe { from { opacity: .25; transform: translateY(2px); } to { opacity: 1; transform: none; } }

.empty { text-align: center; padding: clamp(40px, 8vw, 80px) 16px; max-width: 520px; margin: 0 auto; }
.empty-mark { display: block; margin: 0 auto 22px; color: var(--rose); }
.empty-title { font-size: clamp(1.6rem, 3.4vw, 2.1rem); margin-bottom: 10px; }
.empty .btn { margin-top: 22px; }
.page-404 .empty-title { font-size: clamp(2rem, 5vw, 3rem); }

.sk-shine, .skeleton { position: relative; overflow: hidden; background: #f1e2dc; }
.sk-shine::after, .skeleton::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 20%, rgba(255, 250, 247, .75) 50%, transparent 80%);
  transform: translateX(-100%);
  animation: shimmer 1.5s ease-in-out infinite;
}
@keyframes shimmer { to { transform: translateX(100%); } }
.sk-line { display: block; height: 12px; margin: 10px 0; border-radius: 6px; }
.sk-line.short { width: 55%; }
.sk-line.tiny { width: 32%; }
.sk-line.tall { height: 30px; width: 80%; }
.card-skeleton { pointer-events: none; }
.card-skeleton .card-body { padding-top: 10px; }
.sk-list { display: grid; gap: 12px; }
.sk-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px; background: var(--card); border-radius: var(--radius-lg); border: 1px solid var(--line); }
.sk-thumb { display: block; aspect-ratio: 5 / 6; border-radius: 36px 36px 10px 10px; }
.summary .sk-row { padding: 8px 0; border: 0; background: none; grid-template-columns: 56px minmax(0, 1fr); }

.img-placeholder {
  width: 100%; height: 100%; aspect-ratio: 5 / 6;
  display: grid; place-items: center;
  background: linear-gradient(160deg, var(--blush), var(--surface));
  color: var(--rose-ink);
  font-family: var(--serif); font-style: italic; font-size: 2rem;
}

/* ---------- Ornamen ---------- */

.sprig { position: absolute; pointer-events: none; color: var(--sage); animation: sway 7s ease-in-out infinite alternate; }
.sprig-cat { animation-duration: 8.5s; animation-delay: -2s; }
.sprig-pdp { animation-duration: 6.5s; animation-delay: -4s; }
@keyframes sway { from { rotate: -3deg; } to { rotate: 4deg; } }
.sprig-hero { width: 150px; height: 200px; left: -18px; bottom: 10px; opacity: .8; transform: rotate(8deg); }
.sprig-cat { width: 120px; height: 160px; right: 2%; top: 30px; color: #8fa189; opacity: .7; transform: scaleX(-1) rotate(-6deg); }
.sprig-pdp { width: 110px; height: 150px; left: -40px; bottom: -24px; z-index: 2; color: #8fa189; }

/* ---------- Hero ---------- */

.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; will-change: transform; }
.blob.b1 {
  width: 640px; height: 640px; right: -120px; top: -160px;
  background: radial-gradient(closest-side, rgba(241, 211, 214, .95), rgba(241, 211, 214, 0));
  animation: drift-a 26s ease-in-out infinite alternate;
}
.blob.b2 {
  width: 520px; height: 520px; left: -160px; top: 120px;
  background: radial-gradient(closest-side, rgba(201, 211, 196, .7), rgba(201, 211, 196, 0));
  animation: drift-b 32s ease-in-out infinite alternate;
}
.blob.b3 {
  width: 460px; height: 460px; left: 38%; bottom: -220px;
  background: radial-gradient(closest-side, rgba(216, 191, 159, .55), rgba(216, 191, 159, 0));
  animation: drift-a 38s ease-in-out infinite alternate-reverse;
}
@keyframes drift-a { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 50px) scale(1.12); } }
@keyframes drift-b { from { transform: translate(0, 0) scale(1); } to { transform: translate(70px, -40px) scale(.92); } }

.hero-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
  padding-top: clamp(36px, 6vw, 84px); padding-bottom: clamp(48px, 7vw, 96px);
}
.hero-solo .hero-inner { grid-template-columns: 1fr; text-align: center; }
.hero-solo .hero-copy { max-width: 720px; margin: 0 auto; }
.hero-solo .hero-actions, .hero-solo .hero-notes { justify-content: center; }
.hero-title {
  font-size: clamp(2.7rem, 6.4vw, 5.2rem); line-height: 1.0; font-weight: 500;
  margin-bottom: 22px; letter-spacing: -0.015em;
}
.hero-title em { color: var(--rose); font-weight: 500; }
.hero-words { display: inline; }
.word { display: inline-block; overflow: hidden; padding: 0 .06em .22em; margin: 0 -.06em -.22em; vertical-align: top; }
.word-in { display: inline-block; animation: word-up 1s var(--ease) both; animation-delay: calc(var(--w, 0) * 90ms + 180ms); }
@keyframes word-up { from { opacity: 0; transform: translateY(105%) rotate(4deg); } to { opacity: 1; transform: none; } }
.accent { position: relative; display: inline-block; }
.flourish {
  position: absolute; left: -2%; right: -2%; bottom: -.06em; width: 104%; height: .22em; overflow: visible;
}
.flourish path {
  fill: none; stroke: var(--champagne); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  animation: draw 1.2s var(--ease) both; animation-delay: calc(var(--w, 0) * 90ms + 900ms);
}
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); color: var(--muted); max-width: 46ch; margin-bottom: 32px; }
.hero-solo .hero-sub { margin-left: auto; margin-right: auto; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero-notes {
  list-style: none; margin: 30px 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 0.82rem; color: var(--muted); letter-spacing: .04em;
}
.hero-notes li { display: inline-flex; align-items: center; gap: 8px; }
.hero-notes li::before {
  content: ""; width: 14px; height: 8px; flex-shrink: 0;
  background:
    radial-gradient(circle at 4px 4px, var(--rose) 3.5px, transparent 4px),
    radial-gradient(circle at 10px 4px, var(--sage) 3.5px, transparent 4px);
}

.hero-visual { position: relative; aspect-ratio: 10 / 9; width: 100%; max-width: 600px; justify-self: end; }
.hero-ring {
  position: absolute; left: 12%; top: 4%; width: 78%; aspect-ratio: 1;
  border: 1px solid var(--champagne); border-radius: 50%; opacity: .8;
}
.hero-ring::after {
  content: ""; position: absolute; inset: 18px; border-radius: 50%;
  border: 1px dashed rgba(168, 74, 96, .3);
}
.hero-arch { position: absolute; will-change: transform; }
.hero-arch.a1 { left: 2%; top: 4%; width: 44%; z-index: 2; }
.hero-arch.a2 { right: 2%; top: 20%; width: 42%; z-index: 1; }
.hero-arch.a3 { left: 36%; bottom: -2%; width: 24%; z-index: 3; }
.hero-arch .float { animation: float 7s ease-in-out infinite alternate; }
.hero-arch.a2 .float { animation-duration: 8.5s; animation-delay: -3s; }
.hero-arch.a3 .float { animation-duration: 6s; animation-delay: -1.5s; }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-14px); } }
.hero-arch { animation: arch-in 1.1s var(--ease) both; }
.hero-arch.a1 { animation-delay: .25s; }
.hero-arch.a2 { animation-delay: .4s; }
.hero-arch.a3 { animation-delay: .6s; }
@keyframes arch-in { from { opacity: 0; transform: translateY(40px) scale(.96); } to { opacity: 1; transform: none; } }

.arch-frame {
  display: block; width: 100%; aspect-ratio: 5 / 6; overflow: hidden;
  border-radius: 50% 50% 18px 18px / 41.6% 41.6% 18px 18px;
  background: var(--surface);
  box-shadow: 0 0 0 6px rgba(255, 250, 247, .75), var(--shadow-lg);
}
.arch-frame img, .arch-frame .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.arch-frame:hover img { transform: scale(1.05); }
.hero-arch.a3 .arch-frame { aspect-ratio: 1; border-radius: 50%; }

.hero-tag {
  position: absolute; right: 6%; top: 4%; z-index: 4;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 999px;
  background: rgba(255, 250, 247, .92); border: 1px solid var(--line);
  box-shadow: var(--shadow);
  font-family: var(--serif); font-size: 1.15rem; color: var(--ink);
  animation: arch-in 1s var(--ease) .9s both;
}
.hero-tag em { color: var(--rose); }
.hero-visual.count-1 .hero-arch.a1 { left: 22%; width: 56%; }
.hero-visual.count-2 .hero-arch.a2 { top: 26%; }

@media (max-width: 760px) {
  .hero-inner { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .hero-visual { justify-self: center; max-width: 460px; }
  .sprig-hero { width: 100px; height: 134px; left: auto; right: -12px; bottom: auto; top: 20px; transform: scaleX(-1); }
  .hero-tag { font-size: 1rem; padding: 8px 14px; }
}

/* ---------- Marquee ---------- */

.marquee {
  position: relative; overflow: hidden;
  background: var(--ink); color: #f6e7e9;
  padding: 16px 0;
  border-top: 1px solid rgba(216, 191, 159, .35); border-bottom: 1px solid rgba(216, 191, 159, .35);
}
.marquee-track { display: flex; width: max-content; animation: marquee 42s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.mq-group { display: flex; align-items: center; flex-shrink: 0; }
.mq-item { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem, 2.2vw, 1.6rem); white-space: nowrap; padding: 0 26px; }
.mq-dot { width: 7px; height: 7px; background: var(--champagne); transform: rotate(45deg); flex-shrink: 0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- Seksi & latar berirama ---------- */

.section { padding-top: clamp(56px, 8vw, 104px); }
.band { position: relative; padding-bottom: clamp(56px, 8vw, 104px); }
.band-plain { background: transparent; }
.band-rose {
  background-color: var(--surface);
  background-image: var(--grain), radial-gradient(50% 60% at 100% 0%, rgba(216, 191, 159, .35), transparent 70%), radial-gradient(40% 50% at 0% 100%, rgba(241, 211, 214, .8), transparent 70%);
}
.band-champagne {
  background-color: var(--champagne-soft);
  background-image: var(--grain), radial-gradient(45% 70% at 0% 50%, rgba(241, 211, 214, .55), transparent 70%), radial-gradient(40% 60% at 100% 40%, rgba(201, 211, 196, .45), transparent 70%);
}
.band-sage {
  background-color: var(--sage-soft);
  background-image: var(--grain), radial-gradient(45% 60% at 90% 10%, rgba(241, 211, 214, .6), transparent 70%);
}
.scallop-top { margin-top: 15px; }
.scallop-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px;
  background: radial-gradient(circle at 14px 15px, var(--surface) 13.5px, transparent 14.5px) 0 0 / 28px 15px repeat-x;
}
.wave-top { margin-top: 38px; }
.wave-top::before {
  content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='40' viewBox='0 0 600 40'%3E%3Cpath d='M0 22C100 2 200 2 300 22S500 42 600 22V40H0z' fill='%23eef1ea'/%3E%3C/svg%3E") repeat-x 0 0 / 600px 40px;
}

.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 16px;
  margin-bottom: clamp(24px, 3.4vw, 40px);
}
.section-head.center { justify-content: center; text-align: center; }
.section-title { font-size: clamp(2rem, 4vw, 3rem); }
.section-head .link-arrow { flex-shrink: 0; margin-bottom: 8px; }

/* Ubin kategori berbentuk lengkung */
.cat-tiles {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: clamp(16px, 2.4vw, 28px);
}
.cat-tile { display: block; text-decoration: none; text-align: center; }
.cat-tile:hover { color: var(--ink); }
.cat-media {
  position: relative; overflow: hidden; aspect-ratio: 5 / 6;
  border-radius: 50% 50% 18px 18px / 41.6% 41.6% 18px 18px;
  background: var(--card);
  box-shadow: 0 0 0 5px rgba(255, 250, 247, .8), var(--shadow);
  transition: transform .5s var(--ease);
}
.cat-media img, .cat-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-tile:hover .cat-media img { transform: scale(1.06); }
.cat-tile:hover .cat-media, .has-reveal .cat-tile[data-reveal].is-in:hover .cat-media { transform: translateY(-6px); }
.cat-label { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px 0; }
.cat-name { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; line-height: 1.2; }
.cat-tile:hover .cat-name { color: var(--rose); }
.cat-count { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }

@media (max-width: 560px) {
  .cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cat-name { font-size: 1.15rem; }
}

/* ---------- Grid produk ---------- */

.grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 30px) clamp(12px, 2vw, 24px);
}
.catalog-main .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1000px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 1000px) and (min-width: 761px) { .catalog-main .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid, .catalog-main .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.card {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--card); border-radius: var(--radius-lg); padding: 10px;
  border: 1px solid rgba(234, 216, 208, .7);
  transition: transform .5s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .5s var(--ease);
}
.card { isolation: isolate; }
.card:hover, .card:focus-within, .has-reveal .card[data-reveal].is-in:hover, .has-reveal .card[data-reveal].is-in:focus-within { transform: translateY(-6px); }
.card:hover::before, .card:focus-within::before { opacity: 1; }
.has-reveal .card[data-reveal].is-in { transition: opacity .8s var(--ease) var(--rd, 0ms), transform .55s var(--ease) var(--rd, 0ms); }
.card-skeleton:hover { transform: none; }
.card-skeleton:hover::before { opacity: 0; }

.card-media {
  position: relative; display: block; overflow: hidden; aspect-ratio: 5 / 6;
  background: var(--surface); border-radius: 16px;
}
.card-media img, .card-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: scale(1.06); }
.card-peek {
  position: absolute; left: 50%; bottom: 14px; z-index: 1;
  padding: 8px 18px; border-radius: 999px;
  background: rgba(255, 250, 247, .94); color: var(--ink);
  font-size: 0.7rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap;
  box-shadow: var(--shadow);
  opacity: 0; transform: translate(-50%, 140%);
  transition: opacity .35s var(--ease), transform .45s var(--ease);
}
.card:hover .card-peek, .card:focus-within .card-peek { opacity: 1; transform: translate(-50%, 0); }
@media (hover: none) { .card-peek { display: none; } }

.card-body { padding: 14px 8px 8px; display: flex; flex-direction: column; flex: 1; }
.card-body .eyebrow { font-size: 0.64rem; margin-bottom: 6px; }
.card-title { font-family: var(--serif); font-size: 1.28rem; font-weight: 500; line-height: 1.2; margin-bottom: 8px; }
.card-title a { text-decoration: none; }
.card-title a::after { content: ""; position: absolute; inset: 0; }
.card-price { margin-top: auto; font-size: 0.95rem; }
@media (max-width: 480px) {
  .card { padding: 6px; border-radius: 18px; }
  .card-media { border-radius: 13px; }
  .card-body { padding: 10px 6px 8px; }
  .card-title { font-size: 1.08rem; }
  .card-price { font-size: 0.86rem; }
  .card-body .eyebrow { letter-spacing: .14em; }
}

.price { font-weight: 500; color: var(--ink); }
.price.is-sale { color: var(--rose); }
.price-compare { color: var(--muted); font-size: 0.85em; margin-left: 4px; }

.badge {
  position: absolute; top: 10px; left: 10px; z-index: 1;
  background: var(--rose); color: #fff;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}
.badge-muted { background: var(--ink); }
.badge-lg { top: 18px; left: 18px; font-size: 0.75rem; padding: 7px 12px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: -2px 0 8px; font-size: 0.68rem; letter-spacing: 0.06em; color: var(--muted); }
.card-tags span { padding: 2px 8px; border: 1px solid var(--line); border-radius: 999px; }
.card-tags .tag-grosir { border-color: var(--champagne); background: var(--champagne-soft); color: #7a5a3a; }
.price-from { font-size: 0.78em; color: var(--muted); letter-spacing: 0.04em; }

/* ---------- Keunggulan ---------- */

.perks { padding-top: clamp(56px, 8vw, 96px); }
.perks-inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.perk {
  background: rgba(255, 250, 247, .7); border: 1px solid rgba(234, 216, 208, .9);
  border-radius: 120px 120px var(--radius-lg) var(--radius-lg);
  padding: 34px 22px 28px; text-align: center;
}
.perk-icon {
  position: relative; display: inline-grid; place-items: center;
  width: 60px; height: 60px; margin-bottom: 16px;
  border-radius: 50%; background: var(--card); color: var(--rose);
  border: 1px solid var(--line);
}
.perk-icon::after {
  content: ""; position: absolute; width: 22px; height: 22px; right: -6px; bottom: -2px; z-index: -1;
  border-radius: 50%; background: var(--sage); opacity: .55;
}
.perk-icon { isolation: isolate; }
.perk-icon svg { position: relative; }
.perk-title { font-size: 1.35rem; margin-bottom: 8px; }
.perk-text { color: var(--muted); font-size: 0.9rem; }
@media (max-width: 900px) { .perks-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .perks-inner { grid-template-columns: 1fr; } .perk { padding: 26px 20px 22px; } }

/* ---------- Cara Memadukan ---------- */

.styling-inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.styling-art { max-width: 420px; width: 100%; justify-self: center; }
.styling-svg { width: 100%; height: auto; display: block; }
.styling-lead { color: var(--muted); font-size: 1.05rem; max-width: 48ch; margin: 14px 0 26px; }
.style-steps { list-style: none; margin: 0 0 30px; padding: 0; display: grid; gap: 4px; }
.style-steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid rgba(110, 88, 101, .18); }
.style-steps li:last-child { border-bottom: 1px solid rgba(110, 88, 101, .18); }
.step-num { font-family: var(--serif); font-style: italic; font-size: 1.7rem; color: var(--rose); line-height: 1; padding-top: 2px; }
.style-steps h3 { font-size: 1.35rem; margin-bottom: 4px; }
.style-steps p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 800px) {
  .styling-inner { grid-template-columns: minmax(0, 1fr); }
  .styling-art { max-width: 300px; }
}

/* ---------- Judul halaman ---------- */

.page-head { margin-bottom: clamp(24px, 4vw, 44px); }
.page-head.center { text-align: center; }
.page-head.center::before {
  content: ""; display: block; width: 56px; height: 40px; margin: 0 auto 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 40' fill='none' stroke-width='1.3'%3E%3Cpath d='M6 39V20a11 11 0 0 1 22 0v19z' stroke='%23a84a60'/%3E%3Cpath d='M28 39V15a11 11 0 0 1 22 0v24z' stroke='%237d9477'/%3E%3C/svg%3E") no-repeat center / contain;
}
.page-title { font-size: clamp(2.2rem, 4.6vw, 3.4rem); overflow-wrap: anywhere; }
.page-head .muted { margin-top: 10px; }
.page-head-deco { position: relative; padding-bottom: clamp(18px, 3vw, 28px); border-bottom: 1px solid var(--line); }
.page-head-deco::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 64px; height: 7px;
  background:
    radial-gradient(circle at 3.5px 3.5px, var(--rose) 3px, transparent 3.5px),
    radial-gradient(circle at 13.5px 3.5px, var(--sage) 3px, transparent 3.5px),
    linear-gradient(var(--bg), var(--bg)) 0 0 / 22px 7px no-repeat;
}
.search-note { margin-top: 12px; color: var(--muted); }
.search-note strong { color: var(--ink); font-weight: 500; }
.chip-clear {
  display: inline-block; margin-left: 8px; padding: 3px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--card);
  font-size: 0.8rem; text-decoration: none; white-space: nowrap;
}

/* ---------- Katalog ---------- */

.catalog { display: grid; grid-template-columns: 210px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.filters {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: rgba(255, 250, 247, .7); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 20px 18px;
}
.filters-title { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.filter-list { list-style: none; margin: 0; padding: 0; }
.filter-list a {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 9px 12px; margin: 0 -12px; border-radius: 999px;
  text-decoration: none; font-size: 0.95rem;
  transition: background-color .2s, color .2s;
}
.filter-list a:hover { background: var(--rose-soft); color: var(--rose-ink); }
.filter-list a span { color: var(--muted); font-size: 0.8rem; }
.filter-list a.is-active { background: var(--ink); color: #fff; }
.filter-list a.is-active span { color: #e8cfd6; }

.toolbar {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-bottom: 16px; margin-bottom: 24px; border-bottom: 1px solid var(--line);
}
.toolbar p { margin: 0; font-size: 0.9rem; }
.sort { display: inline-flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.sort select, select {
  height: 40px; padding: 0 36px 0 16px;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--card) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%233a2230' fill='none' stroke-width='1.3'/%3E%3C/svg%3E") no-repeat right 14px center;
  appearance: none; -webkit-appearance: none; color: var(--ink);
}

@media (max-width: 760px) {
  .catalog { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .filters { position: static; margin: 0 calc(-1 * var(--gutter)); background: none; border: 0; padding: 0; border-radius: 0; }
  .filters-title { display: none; }
  .filter-list {
    display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 8px;
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  .filter-list::-webkit-scrollbar { display: none; }
  .filter-list a {
    margin: 0; border: 1px solid var(--line); background: var(--card);
    padding: 7px 16px; white-space: nowrap; font-size: 0.85rem;
  }
  .filter-list a.is-active { border-color: var(--ink); }
}

/* ---------- Detail produk ---------- */

.crumbs { margin-bottom: 22px; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.pdp-media-wrap { position: relative; isolation: isolate; padding: clamp(10px, 2vw, 22px); }
.pdp-blob {
  position: absolute; inset: 6% -4% -4% 6%; z-index: -1;
  border-radius: 50% 50% 32px 32px / 38% 38% 32px 32px;
  background:
    radial-gradient(70% 60% at 30% 20%, rgba(241, 211, 214, .95), transparent 70%),
    radial-gradient(60% 60% at 80% 90%, rgba(201, 211, 196, .8), transparent 70%),
    var(--champagne-soft);
  animation: blob-breathe 14s ease-in-out infinite alternate;
}
@keyframes blob-breathe { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-10px, 8px) rotate(-1.5deg); } }
.pdp-media {
  position: relative; overflow: hidden; aspect-ratio: 5 / 6;
  background: var(--surface);
  border-radius: 50% 50% 22px 22px / 32% 32% 22px 22px;
  box-shadow: 0 0 0 8px rgba(255, 250, 247, .85), var(--shadow-lg);
}
.pdp-media img, .pdp-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; }
.pdp-media .badge-lg { top: 26%; left: 22px; }
.pdp-loading .pdp-info { padding-top: 20px; }
.pdp-info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp-title { font-size: clamp(2.2rem, 4.2vw, 3.2rem); margin-bottom: 14px; overflow-wrap: anywhere; }
.pdp-price { font-size: 1.35rem; margin-bottom: 28px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.pdp-price .price-compare { font-size: 0.8em; margin-left: 0; }
.save-badge {
  align-self: center;
  background: var(--rose-soft); color: var(--rose-ink);
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}

.buy {
  padding: 24px; margin-bottom: 28px;
  background: rgba(255, 250, 247, .8); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.sizes { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.field-label { display: block; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; padding: 0; }
.field-label .muted { letter-spacing: 0.06em; }
.size-list { display: flex; flex-wrap: wrap; gap: 8px; }
.size-btn {
  position: relative; min-width: 62px; min-height: 52px; padding: 6px 14px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  font-weight: 500; font-size: 0.95rem; line-height: 1.2;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.size-btn small { font-size: 0.66rem; font-weight: 500; color: var(--muted); letter-spacing: 0.03em; margin-top: 3px; }
.size-btn small.is-low { color: var(--rose); }
.size-btn:hover:not(:disabled):not(.is-out) { border-color: var(--rose); transform: translateY(-2px); }
.size-btn.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.size-btn.is-pop { animation: pop .42s var(--ease); }
@keyframes pop { 0% { transform: scale(1); } 40% { transform: scale(1.12); } 70% { transform: scale(.97); } 100% { transform: scale(1); } }
.size-btn.is-selected small { color: #f3c6cf; }
.size-btn.is-out { color: #8d7682; background: transparent; border-style: dashed; cursor: not-allowed; }
.size-btn.is-out span { text-decoration: line-through; }
.size-btn.is-out small { color: #8d7682; }
/* Varian (warna/motif): pil dengan foto kecil. */
.options { border: 0; padding: 0; margin: 0 0 20px; min-width: 0; }
.option-list { display: flex; flex-wrap: wrap; gap: 8px; }
.option-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 16px;
  background: var(--card); border: 1px solid var(--line); border-radius: 999px;
  font-weight: 500; font-size: 0.92rem; line-height: 1.2;
  transition: border-color .2s, background-color .2s, color .2s, transform .2s var(--ease);
}
.option-btn.has-thumb { padding-left: 5px; }
.option-thumb { width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex: none; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.option-thumb img, .option-thumb .img-placeholder { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.option-thumb .img-placeholder span { display: none; }
.option-btn small { font-size: 0.66rem; color: #8d7682; letter-spacing: 0.03em; }
.option-btn:hover { border-color: var(--rose); transform: translateY(-2px); }
.option-btn.is-selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.option-btn.is-selected .option-thumb { box-shadow: 0 0 0 2px var(--blush); }
.option-btn.is-selected small { color: #f3c6cf; }
.option-btn.is-out { border-style: dashed; }
.option-btn.is-out:not(.is-selected) { color: #8d7682; background: transparent; }
.option-btn.is-out .option-name { text-decoration: line-through; }
.option-btn.is-pop { animation: pop .42s var(--ease); }

/* Harga grosir */
.tiers { margin: 0 0 20px; padding: 14px 16px; border: 1px dashed var(--champagne); border-radius: var(--radius); background: var(--champagne-soft); }
.tiers .field-label { margin-bottom: 8px; }
.tier-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.tier-list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 12px; align-items: baseline;
  padding: 6px 10px; border-radius: 10px; font-size: 0.9rem; transition: background-color .3s;
}
.tier-list li.is-current { background: rgba(255, 250, 247, .9); box-shadow: inset 3px 0 0 var(--rose); }
.tier-qty { color: var(--muted); font-size: 0.82rem; }
.tier-list strong { font-weight: 500; text-align: right; white-space: nowrap; }
.tier-list small { color: var(--muted); font-weight: 400; font-size: 0.75rem; margin-left: 2px; }
.tier-hint { margin: 10px 0 0; font-size: 0.84rem; color: var(--rose-ink); }
.tier-hint strong { font-weight: 600; }
.tier-tag {
  display: inline-block; margin-top: 4px; padding: 3px 9px; border-radius: 999px;
  background: var(--rose-soft); color: var(--rose-ink); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em;
}
.line-tier { margin: 0 0 4px; }
.cart-line .tier-hint { margin: 2px 0 6px; }
@media (max-width: 360px) {
  .tier-list li { grid-template-columns: minmax(0, 1fr) auto; }
  .tier-list strong { grid-column: 1 / -1; text-align: left; }
}

.buy-row { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 20px; }

.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--line); border-radius: 999px; background: var(--card); height: 46px; overflow: hidden; }
.stepper-btn { width: 42px; border: 0; background: none; font-size: 1.15rem; line-height: 1; transition: background-color .2s, color .2s; }
.stepper-btn:hover:not(:disabled) { color: var(--rose); background: var(--rose-soft); }
.stepper-btn:disabled { color: #c9b8bf; }
.stepper-input {
  width: 46px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line);
  text-align: center; font-weight: 500; background: none; -moz-appearance: textfield; appearance: textfield;
}
.stepper-input::-webkit-outer-spin-button, .stepper-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper-input:focus { outline: none; background: var(--bg); }
.stepper-input.tick-up { animation: tick-up .32s var(--ease); }
.stepper-input.tick-down { animation: tick-down .32s var(--ease); }
@keyframes tick-up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes tick-down { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.sub-title { font-family: var(--serif); font-weight: 500; font-size: 1.5rem; margin-bottom: 12px; }
.pdp-desc { margin-bottom: 24px; color: #4a3340; }
.pdp-desc .prewrap { line-height: 1.8; }

.pdp-perks { list-style: none; margin: 0; padding: 0; font-size: 0.9rem; color: var(--muted); }
.pdp-perks li { padding-left: 24px; position: relative; margin-bottom: 6px; }
.pdp-perks li::before {
  content: ""; position: absolute; left: 0; top: 0.62em; width: 14px; height: 7px;
  background:
    radial-gradient(circle at 3.5px 3.5px, var(--rose) 3px, transparent 3.5px),
    radial-gradient(circle at 10px 3.5px, var(--sage) 3px, transparent 3.5px);
}

.related { padding-top: clamp(64px, 9vw, 112px); }

@media (max-width: 860px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp-info { position: static; }
  .pdp-media-wrap { max-width: 520px; margin: 0 auto; width: 100%; }
  .sprig-pdp { left: -20px; width: 80px; height: 110px; }
}
@media (max-width: 480px) { .related .grid .card:nth-child(n+5) { display: none; } .buy { padding: 18px; } }

/* ---------- Pemberitahuan ---------- */

.notice { padding: 14px 18px; border-radius: var(--radius); margin-bottom: 20px; font-size: 0.92rem; border: 1px solid transparent; }
.notice ul { margin: 0; padding-left: 18px; }
.notice ul:has(> li:only-child) { list-style: none; padding-left: 0; }
.notice-warn { background: var(--warn-soft); border-color: #ecd6b4; }
.notice-error { background: var(--danger-soft); border-color: #efc6be; color: #6e2219; }
.notice-success { background: var(--success-soft); border-color: #c9dcc5; color: #2a4a2f; }

.field-error { color: var(--danger); font-size: 0.85rem; margin: 6px 0 0; }
.field-error[hidden] { display: none; }

/* ---------- Keranjang ---------- */

.cart-layout, .checkout-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.cart-lines { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 14px; }
.cart-line {
  display: grid; grid-template-columns: 100px minmax(0, 1fr) auto; gap: 18px;
  padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.cart-line.has-problem { border-color: #e7b9b1; }
.cart-line.has-problem .line-media { outline: 2px solid var(--danger-soft); }
.line-media { display: block; overflow: hidden; aspect-ratio: 5 / 6; background: var(--surface); border-radius: 50px 50px 12px 12px / 42px 42px 12px 12px; }
.line-media img, .line-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; font-size: 1.2rem; }
.line-name { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; text-decoration: none; line-height: 1.2; display: block; margin: 4px 0; overflow-wrap: anywhere; }
.line-meta { color: var(--muted); font-size: 0.88rem; margin-bottom: 4px; }
.line-actions { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.line-actions .stepper { height: 40px; }
.line-actions .stepper-btn { width: 36px; }
.line-total { font-weight: 500; white-space: nowrap; margin: 4px 4px 0 0; }

.summary {
  position: sticky; top: calc(var(--header-h) + 24px);
  background: var(--card); padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow); overflow: hidden; isolation: isolate;
}
.summary::before {
  content: ""; position: absolute; z-index: -1; top: -80px; right: -80px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(241, 211, 214, .8), transparent);
}
.summary-title { font-size: 1.7rem; margin-bottom: 16px; }
.summary .btn { margin-top: 18px; }
.summary .btn + .muted { margin-top: 12px; text-align: center; }
.summary-rows { margin: 0; }
.summary-rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; font-size: 0.95rem; }
.summary-rows dt { color: var(--muted); }
.summary-rows dd { margin: 0; font-weight: 500; text-align: right; }
.summary-total { border-top: 1px dashed var(--line); margin-top: 8px; padding-top: 14px !important; }
.summary-total dt { color: var(--ink); font-weight: 500; }
.summary-total dd { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; line-height: 1.1; color: var(--rose-ink); }
.free { color: var(--success); }
.summary-save dt, .summary-save dd { color: var(--success); }
.ship-hint { margin-top: 14px; padding: 12px 14px; background: var(--bg); border-radius: var(--radius); font-size: 0.86rem; }
.ship-hint p { margin-bottom: 8px; }
.ship-hint strong { color: var(--rose); }
.progress { height: 5px; background: var(--line); border-radius: 3px; overflow: hidden; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--sage), var(--rose)); border-radius: 3px; transform-origin: left; animation: grow-x 1s var(--ease) .2s both; }
@keyframes grow-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.summary > .field-error { margin-top: 12px; }
.summary .link-arrow { margin-top: 16px; }

@media (max-width: 900px) {
  .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 480px) {
  .cart-line { grid-template-columns: 80px minmax(0, 1fr); gap: 14px; }
  .line-total { grid-column: 2; }
  .line-name { font-size: 1.15rem; }
}

/* ---------- Formulir ---------- */

fieldset { border: 0; padding: 0; margin: 0 0 28px; min-width: 0; }
legend.sub-title { padding: 0; margin-bottom: 16px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; }
.field-half { grid-column: auto; }
@media (max-width: 480px) { .field-half { grid-column: 1 / -1; } }
.field label { font-size: 0.8rem; font-weight: 500; letter-spacing: .04em; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%; padding: 12px 16px; min-height: 48px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; line-height: 1.5; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgba(168, 74, 96, 0.15); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field input::placeholder, .field textarea::placeholder { color: #8d7682; }

.checkout-form {
  background: rgba(255, 250, 247, .75); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 32px);
}
.pay-option { display: flex; gap: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--rose); border-radius: var(--radius); box-shadow: 0 0 0 3px var(--rose-soft); }
.radio-dot { flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%; border: 1px solid var(--rose); box-shadow: inset 0 0 0 4px var(--card); background: var(--rose); }
.pay-name { font-weight: 500; margin-bottom: 2px; }
.pay-option .muted { margin-bottom: 2px; }
.checkout-form > .btn { margin-top: 8px; }
.checkout-form > .muted { margin-top: 12px; }

.mini-lines { list-style: none; margin: 0 0 12px; padding: 0; }
.mini-lines li { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mini-media { position: relative; aspect-ratio: 5 / 6; background: var(--surface); border-radius: 28px 28px 8px 8px / 24px 24px 8px 8px; }
.mini-media img, .mini-media .img-placeholder { width: 100%; height: 100%; object-fit: cover; font-size: 0.9rem; border-radius: inherit; }
.mini-qty {
  position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px;
  background: var(--ink); color: #fff; border-radius: 10px; font-size: 0.7rem; font-weight: 600; line-height: 20px; text-align: center;
}
.mini-name { font-size: 0.95rem; font-weight: 500; line-height: 1.3; margin-bottom: 2px; overflow-wrap: anywhere; }
.mini-info .muted { margin: 0; }
.mini-total { margin: 0; font-size: 0.92rem; font-weight: 500; white-space: nowrap; }

.card-form {
  position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px); display: grid; gap: 18px; box-shadow: var(--shadow);
}
.card-form .notice { margin-bottom: 0; }

/* ---------- Status pesanan ---------- */

.order-head { margin-bottom: 24px; }
.order-head .page-title { font-family: var(--mono); font-size: clamp(1.5rem, 3.4vw, 2.2rem); letter-spacing: 0.02em; }

.tracker-wrap { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px clamp(16px, 3vw, 32px); margin-bottom: 32px; box-shadow: var(--shadow); }
.tracker { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; }
.step::before, .step::after {
  content: ""; position: absolute; top: 16px; right: 50%; width: 100%; height: 3px; border-radius: 2px; z-index: 0;
}
.step::before { background: var(--line); }
.step::after { background: linear-gradient(90deg, var(--sage), var(--rose)); transform: scaleX(0); transform-origin: left; }
.step.is-done::after, .step.is-current::after { animation: grow-x .55s var(--ease) both; animation-delay: calc(var(--i) * 220ms + 150ms); }
.step:first-child::before, .step:first-child::after { content: none; }
.step-dot {
  position: relative; z-index: 1;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--card); border: 2px solid var(--line); color: var(--muted);
  font-size: 0.8rem; font-weight: 600;
}
.step.is-done .step-dot { background: var(--rose); border-color: var(--rose); color: #fff; }
.step.is-current .step-dot { border-color: var(--rose); color: var(--rose); }
.step.is-current .step-dot::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--rose);
  animation: ring 1.8s ease-out infinite; animation-delay: calc(var(--i) * 220ms + 400ms);
  opacity: 0;
}
@keyframes ring { from { opacity: .6; transform: scale(.85); } to { opacity: 0; transform: scale(1.35); } }
.step-label { font-size: 0.8rem; line-height: 1.3; color: var(--muted); padding: 0 4px; }
.step.is-current .step-label { color: var(--ink); font-weight: 500; }
.status-text { text-align: center; margin: 0; font-size: 0.92rem; color: var(--muted); }
.status-text strong { color: var(--ink); font-weight: 500; }

@media (max-width: 600px) {
  .tracker { grid-template-columns: 1fr; gap: 0; }
  .step { flex-direction: row; text-align: left; gap: 14px; padding-bottom: 20px; }
  .step:last-child { padding-bottom: 0; }
  .step::before, .step::after { top: auto; bottom: calc(100% - 20px); right: auto; left: 15.5px; width: 3px; height: 40px; }
  .step::after { background: linear-gradient(180deg, var(--sage), var(--rose)); transform: scaleY(0); transform-origin: top; }
  .step.is-done::after, .step.is-current::after { animation-name: grow-y; }
  .step-label { font-size: 0.92rem; padding: 0; }
}
@keyframes grow-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }

.cancel-banner {
  display: flex; flex-direction: column; gap: 4px;
  padding: 18px 22px; margin-bottom: 32px; border-radius: var(--radius-lg);
  background: var(--danger-soft); border: 1px solid #efc6be; border-left: 4px solid var(--danger);
  color: #6e2219;
}
.cancel-banner strong { font-family: var(--serif); font-weight: 600; font-size: 1.5rem; }

.order-layout { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: clamp(24px, 4vw, 48px); align-items: start; }
.order-main > section { margin-bottom: 32px; }
.order-main > section:last-child { margin-bottom: 0; }
.order-side { display: grid; gap: 16px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }
.side-box p { margin-bottom: 6px; }
.side-box .sub-title { font-size: 1.3rem; }
@media (max-width: 900px) { .order-layout { grid-template-columns: minmax(0, 1fr); } }

.pay-box {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow);
}
.pay-box::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px;
  background: linear-gradient(90deg, var(--sage), var(--champagne), var(--rose));
}
.pay-amount { font-family: var(--serif); font-weight: 600; font-size: clamp(2.1rem, 4.4vw, 2.8rem); color: var(--rose-ink); margin: 2px 0 18px; line-height: 1.1; }
.bank, .kv { margin: 0 0 16px; border-top: 1px solid var(--line); }
.bank > div, .kv > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.bank dt, .kv dt { color: var(--muted); font-size: 0.88rem; }
.bank dd, .kv dd { margin: 0; font-weight: 500; text-align: right; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; overflow-wrap: anywhere; }
.copy-btn {
  background: var(--bg); border: 1px solid var(--line); border-radius: 999px;
  padding: 4px 12px; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  transition: border-color .2s, color .2s;
}
.copy-btn:hover { border-color: var(--rose); color: var(--rose); }

.proof { margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.proof-title { font-size: 1.35rem; margin-bottom: 12px; }
.proof-status { color: var(--success); font-size: 0.9rem; background: var(--success-soft); padding: 10px 14px; border-radius: var(--radius); }
.file-drop {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 24px 16px; margin-bottom: 14px;
  border: 1.5px dashed #d3b3bd; border-radius: var(--radius-lg); background: var(--bg);
  cursor: pointer; transition: border-color .2s, background-color .2s;
}
.file-drop:hover, .file-drop:focus-within { border-color: var(--rose); background: #fdf1f2; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.file-drop-text { text-decoration: underline; text-underline-offset: 3px; font-weight: 500; font-size: 0.92rem; }
.proof-preview { margin-bottom: 14px; display: flex; gap: 12px; align-items: center; }
.proof-preview[hidden] { display: none; }
.proof-preview img { width: 96px; height: 120px; object-fit: cover; border: 1px solid var(--line); border-radius: 12px; }
.proof form .field-error { margin-bottom: 12px; }

.ship-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px 24px; }

/* ---------- Pengiriman: cara terima, wilayah, kurir, peta, ambil di toko ---------- */

.btn-sm { min-height: 38px; padding: 8px 18px; font-size: 0.72rem; }

.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 480px) { .choice-grid { grid-template-columns: 1fr; } }
.choice {
  position: relative; display: flex; align-items: flex-start; gap: 14px;
  padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  cursor: pointer; transition: border-color .25s, box-shadow .25s, transform .25s var(--ease), background-color .25s;
}
.choice:hover { border-color: #d8b3bd; transform: translateY(-1px); }
.choice.is-selected { border-color: var(--rose); box-shadow: 0 0 0 3px var(--rose-soft); }
.choice:has(input:focus-visible) { outline: 2px solid var(--rose); outline-offset: 2px; }
.choice.is-pop { animation: choice-pop .45s var(--ease); }
@keyframes choice-pop { 0% { transform: scale(1); } 35% { transform: scale(1.015); } 100% { transform: scale(1); } }
.choice-dot {
  flex-shrink: 0; width: 18px; height: 18px; margin-top: 3px; border-radius: 50%;
  border: 1px solid #cdb1ba; background: var(--card); box-shadow: inset 0 0 0 4px var(--card);
  transition: background-color .25s, border-color .25s;
}
.choice.is-selected .choice-dot { border-color: var(--rose); background: var(--rose); }
.choice-name { display: block; font-weight: 500; line-height: 1.3; }
.choice-sub { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }

/* Metode pembayaran & QRIS */
.pay-icon { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--rose-soft); color: var(--rose-ink); }
.pay-icon-inline { display: inline-flex; vertical-align: -4px; margin-right: 8px; color: var(--rose-ink); }
.pay-after { margin-top: 10px; }
.qris { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 24px; align-items: start; margin-bottom: 18px; }
.qris-code {
  position: relative; display: block; width: 100%; padding: 0; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden; cursor: zoom-in; transition: box-shadow .25s, transform .25s var(--ease);
}
.qris-code:hover { box-shadow: 0 12px 30px -18px rgba(60, 20, 30, .45); transform: translateY(-1px); }
.qris-code img { display: block; width: 100%; height: auto; }
.qris-hint { display: block; padding: 7px 8px; border-top: 1px solid var(--line); background: var(--card); font-size: 0.78rem; color: var(--muted); text-align: center; }
.qris-info .pay-amount { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.qris-note { margin: 0 0 10px; padding: 8px 12px; border-radius: 8px; background: var(--rose-soft); color: var(--rose-ink); font-weight: 500; font-size: 0.92rem; }
.qris-steps { margin: 14px 0 0; padding-left: 1.2em; color: var(--ink); }
.qris-steps li { margin-bottom: 6px; padding-left: 2px; }
.qris-steps li::marker { color: var(--rose); font-weight: 600; }
.qris-dialog { width: min(560px, 94vw); max-height: 94vh; padding: 14px; border: 0; border-radius: var(--radius); }
.qris-dialog::backdrop { background: rgba(30, 16, 20, .6); }
.qris-dialog img { display: block; width: 100%; max-height: calc(94vh - 90px); object-fit: contain; margin-bottom: 12px; }
@media (max-width: 640px) {
  .qris { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .qris-code { max-width: 320px; margin: 0 auto; }
}

/* Pencarian kecamatan/kota */
.combo { position: relative; }
.combo-list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none;
  max-height: 290px; overflow-y: auto; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow-lg); animation: menu-in .2s var(--ease) both;
}
.combo-list [role="option"] { display: flex; flex-direction: column; padding: 9px 12px; border-radius: 10px; cursor: pointer; line-height: 1.35; }
.combo-list [role="option"][aria-selected="true"], .combo-list [role="option"]:hover { background: var(--rose-soft); }
.combo-main { font-weight: 500; font-size: 0.95rem; }
.combo-sub { color: var(--muted); font-size: 0.8rem; }
.combo-msg { padding: 10px 12px; color: var(--muted); font-size: 0.88rem; }
.combo-msg .link-btn { color: var(--rose-ink); padding: 0; }
.area-chosen {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 14px;
  background: var(--sage-soft); border: 1px solid #d3dccd; border-radius: var(--radius); animation: menu-in .3s var(--ease) both;
}
.area-chosen svg { flex-shrink: 0; color: var(--success); }
.area-chosen span { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 0.95rem; }
.area-chosen .link-btn:hover, .field-help .link-btn:hover, .manual-back .link-btn:hover { color: var(--rose); }
.field-help { margin: 6px 0 0; }
.field-help .link-btn { padding: 0; font-size: inherit; }
.manual-fields { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.manual-fields[hidden] { display: none; }
.manual-back { grid-column: 1 / -1; margin: -6px 0 0; }
@media (max-width: 480px) { .manual-fields { grid-template-columns: 1fr; } }

/* Pilihan kurir */
.rates { min-height: 60px; }
.rate-list { display: grid; gap: 10px; }
.rate { align-items: center; animation: rate-in .45s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes rate-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rate .choice-dot { margin-top: 0; }
.rate-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rate-name { line-height: 1.3; overflow-wrap: anywhere; }
.rate-name strong { font-weight: 600; }
.rate-tag {
  display: inline-block; margin-left: 4px; padding: 1px 8px; border-radius: 999px; vertical-align: 2px;
  background: var(--sage-soft); color: var(--success); font-size: 0.68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
}
.rate-etd { color: var(--muted); font-size: 0.85rem; }
.rate-price { font-weight: 500; white-space: nowrap; text-align: right; }
.rate-price .price-compare { font-size: 0.85rem; }
.rates-empty, .rates-note {
  display: flex; align-items: center; gap: 10px; margin: 0 0 12px; padding: 14px 16px;
  background: var(--bg); border: 1px dashed #dcc3ca; border-radius: var(--radius); color: var(--muted); font-size: 0.9rem;
}
.rates-empty svg { flex-shrink: 0; color: var(--rose); }
.rates-note { border-style: solid; border-color: #ecd6b4; background: var(--warn-soft); color: var(--ink); }
.rates-loading { display: grid; gap: 10px; }
.rate-sk { padding: 12px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.rate-sk .sk-line { margin: 6px 0; }
.rate-sk .sk-line:first-child { width: 45%; }
.rate-sk .sk-line.short { width: 28%; }

/* Peta Gojek */
.gojek-panel { margin-top: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.gojek-panel[hidden] { display: none; }
.gojek-panel > summary {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px; cursor: pointer; list-style: none; font-weight: 500;
}
.gojek-panel > summary::-webkit-details-marker { display: none; }
.gojek-panel > summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; color: var(--rose); transition: transform .3s var(--ease); }
.gojek-panel[open] > summary::after { transform: rotate(45deg); }
.gojek-panel > summary:hover { color: var(--rose-ink); }
.gojek-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sage-soft); color: var(--success); flex-shrink: 0; }
.gojek-sub { display: block; color: var(--muted); font-weight: 400; font-size: 0.85rem; }
.gojek-body { padding: 0 18px 18px; animation: menu-in .3s var(--ease) both; }
.gojek-body > .muted { margin-bottom: 12px; }
.pin-map {
  position: relative; z-index: 0; isolation: isolate; height: 300px; border-radius: 12px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line); display: grid; place-items: center;
}
.pin-map.leaflet-container { display: block; font-family: var(--sans); }
@media (max-width: 480px) { .pin-map { height: 260px; } }
.pin-loading { margin: 0; }
.map-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin: 12px 0 6px; }
#pin-status { margin: 0; }

/* Ambil di toko */
.pickup-card {
  display: flex; gap: 14px; padding: 16px 18px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  animation: menu-in .3s var(--ease) both;
}
.pickup-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--rose-soft); color: var(--rose); flex-shrink: 0; }
.pickup-addr { font-weight: 500; margin-bottom: 4px; }
.pickup-card .link-arrow { margin: 8px 0 4px; }
.pickup-tip { margin: 6px 0 0; }
.ready-note { color: var(--success); background: var(--success-soft); padding: 10px 14px; border-radius: var(--radius); font-size: 0.92rem; }
.pickup-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px; background: var(--rose-soft); color: var(--rose-ink);
  font-size: 0.72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
}
.pickup-box-order .pickup-card { background: var(--bg); }

.summary-ship dt { display: flex; flex-direction: column; }
.ship-via { font-size: 0.78rem; color: var(--muted); opacity: .85; }
.summary-ship dd .price-compare { font-weight: 400; font-size: 0.85rem; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative; isolation: isolate; overflow: visible;
  background-color: var(--ink);
  background-image:
    radial-gradient(40% 70% at 100% 100%, rgba(168, 74, 96, .35), transparent 70%),
    radial-gradient(30% 60% at 0% 0%, rgba(159, 177, 154, .16), transparent 70%);
  color: #e6d3da; margin-top: 38px; font-size: 0.92rem;
}
.site-footer::before {
  content: ""; position: absolute; left: 0; right: 0; top: -38px; height: 40px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='40' viewBox='0 0 600 40'%3E%3Cpath d='M0 22C100 2 200 2 300 22S500 42 600 22V40H0z' fill='%233a2230'/%3E%3C/svg%3E") repeat-x 0 0 / 600px 40px;
}
.site-footer a { color: #fbeff1; text-decoration: none; }
.site-footer a:hover { color: #f3c6cf; text-decoration: underline; }
.site-footer .muted { color: #cdb6c0; }
.site-footer :focus-visible { outline-color: #f3c6cf; }
.footer-sprig { position: absolute; right: 3%; bottom: 40px; width: 180px; height: 135px; color: rgba(243, 198, 207, .28); pointer-events: none; z-index: -1; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px;
  padding-top: 60px; padding-bottom: 44px;
}
.footer-name { font-family: var(--serif); font-weight: 600; font-size: 2rem; line-height: 1.1; color: #fff7f8; margin-bottom: 6px; }
.footer-kicker { font-family: var(--serif); font-style: italic; font-size: 1.1rem; color: #f3c6cf; margin-bottom: 12px; }
.footer-title { font-family: var(--sans); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: #d8bf9f; margin-bottom: 14px; }
.footer-list { list-style: none; margin: 0; padding: 0; }
.footer-list li { margin-bottom: 8px; overflow-wrap: anywhere; }
.footer-bottom { border-top: 1px solid rgba(216, 191, 159, .25); padding-top: 18px; padding-bottom: 26px; font-size: 0.8rem; color: #cdb6c0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; gap: 26px; padding-top: 44px; } }

/* ---------- Gerak dikurangi ---------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .marquee-track { transform: none; }
  .sk-shine::after, .skeleton::after { content: none; }
  [data-parallax] { transform: none !important; }
  .flourish path { stroke-dashoffset: 0; }
}

[hidden] { display: none !important; }
