/* =========================================================
   Toko Stationery Murah — stylesheet
   Tema: ivory hangat (terang) / navy pekat (gelap), aksen emas & biru produk.
   Animasi hanya transform + opacity, easing kustom, < 300ms untuk UI.
   ========================================================= */

:root {
  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --bg: #f6f1e8;
  --bg-2: #efe8db;
  --surface: #fffdf9;
  --surface-2: #f3ede2;
  --line: rgba(20, 33, 61, 0.12);
  --text: #14213d;
  --text-2: #4b5670;
  --muted: #7a8398;
  --blue: #1f5fd6;
  --blue-ink: #163f8f;
  --gold: #b8912f;
  --gold-2: #d6b35a;
  --shadow: 0 1px 2px rgba(20,33,61,.05), 0 12px 32px -12px rgba(20,33,61,.18);
  --shadow-lg: 0 2px 4px rgba(20,33,61,.06), 0 30px 60px -20px rgba(20,33,61,.28);
  --radius: 18px;
  --radius-sm: 10px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: ease;

  color-scheme: light;
}

html[data-theme="dark"] {
  --bg: #0b1220;
  --bg-2: #0f172a;
  --surface: #131c30;
  --surface-2: #182339;
  --line: rgba(237, 231, 218, 0.12);
  --text: #ede7da;
  --text-2: #b9b3a6;
  --muted: #8a8aa0;
  --blue: #5b8def;
  --blue-ink: #9fbdf7;
  --gold: #d4b063;
  --gold-2: #e8cc85;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 12px 32px -12px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 4px rgba(0,0,0,.4), 0 30px 60px -20px rgba(0,0,0,.7);
  color-scheme: dark;
}

/* ---------- reset ringan ---------- */
*, *::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: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  transition: background-color 240ms var(--ease), color 240ms var(--ease);
  -webkit-font-smoothing: antialiased;
}
img, picture, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.4rem); font-weight: 300; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); font-weight: 300; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1rem; font-family: var(--font-body); font-weight: 600; margin-bottom: .75rem; }
h1 em, h2 em { font-style: italic; color: var(--gold); font-weight: 500; }
p { margin: 0 0 1rem; }
.lead { font-size: 1.125rem; color: var(--text-2); max-width: 56ch; }
.muted { color: var(--text-2); }
.small { font-size: .875rem; }
.eyebrow {
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1rem;
}
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 0; background: var(--gold); color: #000; padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }

/* ---------- tombol ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .95rem; line-height: 1; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
  will-change: transform;
}
.btn:active { transform: scale(0.97); }
.btn-sm { padding: .6rem 1rem; font-size: .875rem; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-ink); }
html[data-theme="dark"] .btn-primary:hover { background: #4a7de0; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--text); }
.btn-gold { background: var(--gold); color: #12161f; }
.btn-gold:hover { background: var(--gold-2); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: 72px; }
.brand { display: flex; align-items: center; gap: .7rem; }
.brand img { border-radius: 50%; background: #fff; padding: 3px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-display); }
.brand-text span { font-size: .78rem; color: var(--text-2); letter-spacing: .04em; }
.brand-text strong { font-size: 1.15rem; font-weight: 600; color: var(--text); }
.nav { display: flex; }

/* Slide tabs: pil geser mengikuti pointer, teks dibalik lewat mix-blend-mode */
.slide-tabs {
  position: relative; isolation: isolate;
  display: flex; align-items: center; list-style: none; margin: 0; padding: .25rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
}
/* blend + z-index harus di elemen yang sama, kalau tidak li membuat stacking context
   baru dan teksnya berhenti berbaur dengan pil di bawahnya */
.slide-tabs > li:not(.tab-cursor) { z-index: 1; color: #fff; mix-blend-mode: difference; }
.slide-tabs a {
  display: block; padding: .5rem 1rem; border-radius: 999px; white-space: nowrap;
  font-size: .78rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  color: inherit;
}
.tab-cursor {
  position: absolute; z-index: 0; top: .25rem; left: 0;
  height: calc(100% - .5rem); width: 0; border-radius: 999px; background: var(--text);
  opacity: 0; transform: translateX(0);
  transition: transform 260ms var(--ease-out), width 260ms var(--ease-out), opacity 180ms var(--ease);
}
.no-js .slide-tabs > li:not(.tab-cursor) { mix-blend-mode: normal; color: var(--text-2); }
.nav-actions { display: flex; align-items: center; gap: .75rem; }
.theme-toggle {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer; position: relative;
  transition: transform 160ms var(--ease-out), border-color 160ms var(--ease);
}
.theme-toggle:active { transform: scale(0.94); }
.theme-toggle svg { position: absolute; transition: transform 240ms var(--ease-out), opacity 200ms var(--ease); }
html[data-theme="light"] .ico-moon, html[data-theme="dark"] .ico-sun { opacity: 0; transform: rotate(-60deg) scale(.6); }
html[data-theme="light"] .ico-sun, html[data-theme="dark"] .ico-moon { opacity: 1; transform: rotate(0) scale(1); }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; background: transparent; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; align-items: center; }
.nav-burger span { width: 20px; height: 2px; background: var(--text); transition: transform 200ms var(--ease-out); }
.nav-burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { padding: clamp(3rem, 8vw, 6.5rem) 0 clamp(2rem, 5vw, 4rem); overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% -40% auto; width: 60vw; height: 60vw; border-radius: 50%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--gold) 18%, transparent), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.hero-copy h1 { margin-bottom: 1.25rem; max-width: 14ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 2.25rem; }
.hero-stats { display: flex; gap: 2rem; margin: 0; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.hero-stats dt { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.hero-stats dd { margin: .15rem 0 0; font-family: var(--font-display); font-size: 1.25rem; }
.hero-media { margin: 0; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; background: var(--surface-2); position: relative; }
.hero-media img { animation: hero-float 7s var(--ease-in-out) infinite; }
@keyframes hero-float { 0%, 100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-6px) scale(1.015); } }
.hero-media picture, .hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media picture { position: absolute; inset: 0; }

/* ---------- section ---------- */
.section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.section-alt { background: var(--bg-2); }
.section-dark { background: #0b1220; color: #ede7da; }
html[data-theme="dark"] .section-dark { background: #060b16; }
.section-head { max-width: 62ch; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { margin-bottom: 1rem; }

/* ---------- produk ---------- */
.product {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start;
  padding: clamp(2rem, 4vw, 3.5rem) 0; border-top: 1px solid var(--line);
}
.product-flip .product-media { order: 2; }
.product-media { position: sticky; top: 96px; }
.product-frame {
  position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius); overflow: hidden;
  background: var(--surface-2); box-shadow: var(--shadow);
}
.product-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 320ms var(--ease), transform 480ms var(--ease-out); }
.product-img[data-active] { opacity: 1; transform: scale(1); }
.product-img img { width: 100%; height: 100%; object-fit: cover; }
.product-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 500; margin-bottom: 1rem; }
.price-row { display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.price { font-family: var(--font-display); font-size: clamp(2rem, 3.5vw, 2.6rem); font-weight: 500; letter-spacing: -.02em; }
.price-unit { color: var(--text-2); font-size: .95rem; }
.price-pc { color: var(--text-2); margin: .25rem 0 1.5rem; }
.price-pc strong { color: var(--gold); }
.swatches { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.swatch-label { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: .25rem; }
.swatch {
  display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .9rem .45rem .5rem;
  border-radius: 999px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: .875rem; font-weight: 500;
  transition: transform 140ms var(--ease-out), border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.swatch i { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); background: var(--c, #ccc); }
.swatch[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.swatch:disabled { cursor: default; }
.swatch:active { transform: scale(.96); }
.swatch[aria-checked="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.product-desc { color: var(--text-2); }
.specs { width: 100%; border-collapse: collapse; margin: 1.25rem 0; font-size: .92rem; }
.specs th, .specs td { text-align: left; padding: .55rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { font-weight: 500; color: var(--text-2); width: 46%; padding-right: 1rem; }
.chips { list-style: none; padding: 0; margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.chips li { font-size: .8rem; padding: .35rem .75rem; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); color: var(--text-2); }
.product-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: .75rem; }

/* ---------- keunggulan ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.feature {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem;
  transition: transform 220ms var(--ease-out), box-shadow 220ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
}
.feature-num { font-family: var(--font-display); font-style: italic; color: var(--gold); font-size: 1.6rem; display: block; margin-bottom: 1.25rem; }
.feature h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.feature p { color: var(--text-2); font-size: .95rem; margin: 0; }

/* ---------- cara pesan ---------- */
.steps-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 1rem; }
.steps li { display: flex; gap: 1.25rem; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.steps li > span {
  flex: 0 0 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.25rem; background: var(--gold); color: #12161f;
}
.steps h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.steps p { margin: 0; color: var(--text-2); font-size: .95rem; }

/* ---------- ongkir teaser ---------- */
.ongkir-teaser { display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.ongkir-teaser .lead { color: #b9b3a6; margin: 0; }
.ongkir-teaser h2 { margin-bottom: .75rem; }

/* ---------- kontak ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
.contact-list { font-style: normal; display: grid; gap: 1rem; margin-top: 1.5rem; }
.contact-list > div { display: grid; grid-template-columns: 160px 1fr; gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.contact-k { font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); padding-top: .2rem; }
.contact-list a { color: var(--blue); font-weight: 500; }
.map { border-radius: var(--radius); overflow: hidden; min-height: 340px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; min-height: 340px; border: 0; filter: saturate(.85); }
html[data-theme="dark"] .map iframe { filter: invert(.9) hue-rotate(180deg) saturate(.6); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; background: var(--bg-2); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; }
.footer-grid .brand { margin-bottom: 1rem; }
.footer-grid a { display: block; color: var(--text-2); padding: .25rem 0; font-size: .95rem; }
.footer-grid .brand { display: inline-flex; }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- WA float ---------- */
.wa-float {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 40;
  width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(37,211,102,.6);
  transition: transform 160ms var(--ease-out);
}
.wa-float:active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: translateY(-2px); } }

/* ---------- reveal saat scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease), transform 600ms var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- ongkir page ---------- */
.page-head { padding: clamp(3rem, 6vw, 5rem) 0 2rem; }
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 2rem; align-items: start; padding-bottom: clamp(3rem, 6vw, 5rem); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); }
.field { display: grid; gap: .4rem; margin-bottom: 1.1rem; }
.field label { font-size: .85rem; font-weight: 600; }
.field input, .field select {
  font: inherit; padding: .75rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: var(--bg); color: var(--text); width: 100%; transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 25%, transparent); }
.qty-row { display: grid; grid-template-columns: 1fr 120px; gap: .75rem; align-items: end; }
.result { position: sticky; top: 96px; }
.result-total { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 2.8rem); letter-spacing: -.02em; margin: .25rem 0; }
.result-lines { display: grid; gap: .5rem; font-size: .95rem; margin: 1.25rem 0; }
.result-lines div { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line); }
.result-lines span:last-child { font-weight: 600; text-align: right; }
.service-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: .5rem 0 1.25rem; }
.service-tabs label { cursor: pointer; }
.service-tabs input { position: absolute; opacity: 0; pointer-events: none; }
.service-tabs span {
  display: block; text-align: center; padding: .7rem .5rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  font-size: .85rem; font-weight: 600; transition: transform 140ms var(--ease-out), border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.service-tabs span small { display: block; font-weight: 400; color: var(--muted); font-size: .75rem; }
.service-tabs input:checked + span { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.service-tabs label:active span { transform: scale(.97); }
.note { font-size: .85rem; color: var(--muted); }

/* ---------- kalkulator ongkir: cari kecamatan & pilih layanan ---------- */
.combo-box { position: relative; }
.combo-list {
  position: absolute; left: 0; right: 0; top: calc(100% + .35rem); z-index: 30;
  max-height: 16rem; overflow-y: auto; margin: 0; padding: .3rem; list-style: none;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
}
.combo-list li {
  padding: .6rem .7rem; border-radius: 8px; cursor: pointer;
  font-size: .84rem; line-height: 1.4; color: var(--text-2);
  transition: background-color 120ms var(--ease), color 120ms var(--ease);
}
.combo-list li.is-active { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--text); }
@media (hover: hover) {
  .combo-list li:hover { background: color-mix(in srgb, var(--gold) 16%, transparent); color: var(--text); }
}

.svc-list { display: grid; gap: .5rem; margin: .5rem 0 .6rem; }
.svc-item { position: relative; cursor: pointer; }
.svc-item input { position: absolute; opacity: 0; pointer-events: none; }
.svc-item span {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .1rem .75rem;
  padding: .7rem .85rem; background: var(--bg);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  transition: transform 140ms var(--ease-out), border-color 160ms var(--ease), background-color 160ms var(--ease);
}
.svc-item strong { grid-column: 1; grid-row: 1; font-size: .9rem; font-weight: 600; }
.svc-item small { grid-column: 1; grid-row: 2; font-size: .75rem; color: var(--muted); }
.svc-item b { grid-column: 2; grid-row: 1 / span 2; font-size: 1rem; font-weight: 600; text-align: right; white-space: nowrap; }
.svc-item input:checked + span { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 14%, transparent); }
.svc-item input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 2px; }
.svc-item:active span { transform: scale(.99); }
.svc-loading {
  padding: .9rem; font-size: .85rem; color: var(--muted);
  border: 1px dashed var(--line); border-radius: var(--radius-sm);
}

/* ---------- katalog (beranda) ---------- */
.catalog { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.catalog-2 { grid-template-columns: repeat(2, 1fr); max-width: 820px; }
.card-product {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; color: inherit;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease), border-color 200ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .card-product:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: color-mix(in srgb, var(--gold) 45%, var(--line)); }
  .card-product:hover .card-media img { transform: scale(1.04); }
  .card-product:hover .card-link svg { transform: translateX(4px); }
}
.card-product:active { transform: scale(.985); }
.card-media { background: var(--surface-2); overflow: hidden; }
.card-media picture, .post-media picture { height: 100%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.card-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; gap: .15rem; flex: 1; }
.card-body .eyebrow { margin-bottom: .5rem; font-size: .7rem; }
.card-body h3 { font-size: 1.45rem; font-weight: 500; margin-bottom: .6rem; }
.card-body .price { font-size: 1.6rem; }
.card-body .price-pc { margin-bottom: 1rem; font-size: .9rem; }
.dots { display: flex; align-items: center; gap: .35rem; margin-bottom: 1.25rem; font-size: .8rem; color: var(--muted); }
.dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.15); box-shadow: inset 0 0 0 1px rgba(255,255,255,.35); }
.dots span { margin-left: .35rem; }
.card-link { margin-top: auto; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .9rem; color: var(--blue); }
.card-link svg { transition: transform 200ms var(--ease-out); }
.center { text-align: center; margin-top: 2.5rem; }

/* ---------- halaman produk: galeri warna ---------- */
.page-head-tight { padding-bottom: 0; }
.section-top-0 { padding-top: 1.5rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--text-2); }
.crumbs a:hover { color: var(--text); }
.crumbs span[aria-current] { color: var(--text); }
.product-page { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.gallery { position: sticky; top: 92px; }
.gallery-frame {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--surface-2); box-shadow: var(--shadow);
}
.gallery-img { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity 320ms var(--ease), transform 520ms var(--ease-out); }
.gallery-img[data-active] { opacity: 1; transform: scale(1); }
.gallery-img img { width: 100%; height: 100%; object-fit: cover; }
.gallery-badge {
  position: absolute; left: 1rem; bottom: 1rem; padding: .4rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line); color: var(--text);
  transition: transform 200ms var(--ease-out), opacity 200ms var(--ease);
}
.gallery-badge.swap { transform: translateY(6px); opacity: 0; }
.thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: .6rem; margin-top: .75rem; }
.thumb {
  padding: 0; border: 2px solid transparent; border-radius: 12px; overflow: hidden; background: var(--surface);
  cursor: pointer; text-align: left; display: flex; flex-direction: column;
  transition: transform 160ms var(--ease-out), border-color 160ms var(--ease), box-shadow 160ms var(--ease);
}
.thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.thumb > span { display: flex; align-items: center; gap: .35rem; padding: .35rem .5rem; font-size: .72rem; font-weight: 600; color: var(--text-2); }
.thumb > span i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); border: 1px solid rgba(0,0,0,.15); }
.thumb:active { transform: scale(.96); }
.thumb[aria-selected="true"] { border-color: var(--gold); box-shadow: 0 0 0 3px color-mix(in srgb, var(--gold) 22%, transparent); }
.thumb[aria-selected="true"] > span { color: var(--text); }
@media (hover: hover) and (pointer: fine) { .thumb:hover { transform: translateY(-2px); border-color: color-mix(in srgb, var(--gold) 50%, transparent); } }
.product-title { font-size: clamp(1.9rem, 3.4vw, 2.7rem); font-weight: 500; margin-bottom: 1rem; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.faq { display: grid; gap: .6rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1rem 1.2rem; font-weight: 600; font-size: .98rem;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { flex: 0 0 auto; color: var(--gold); transition: transform 240ms var(--ease-out); }
.faq-item[open] summary svg { transform: rotate(45deg); }
.faq-body { padding: 0 1.2rem 1.1rem; color: var(--text-2); font-size: .95rem; }
.faq-body p { margin: 0; }
.faq-item[open] .faq-body { animation: faq-in 260ms var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* ---------- artikel ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.post-card {
  display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transition: transform 260ms var(--ease-out), box-shadow 260ms var(--ease);
}
@media (hover: hover) and (pointer: fine) {
  .post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
  .post-card:hover .post-media img { transform: scale(1.04); }
}
.post-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface-2); }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.post-body { padding: 1.25rem 1.4rem 1.5rem; }
.post-body time { font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.post-body h2, .post-body h3 { font-size: 1.2rem; font-weight: 500; margin: .5rem 0 .6rem; line-height: 1.3; }
.post-body p { margin: 0; color: var(--text-2); font-size: .92rem; }
.article-head { max-width: 760px; }
.article-head h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 400; margin: 1rem 0 .75rem; }
.article-meta { color: var(--muted); font-size: .9rem; }
.article-hero .wrap { max-width: 900px; }
.article-hero picture { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; }
.article-body { max-width: 720px; padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 6vw, 5rem); font-size: 1.05rem; }
.article-body h2 { font-size: 1.7rem; margin: 2.25rem 0 .75rem; }
.article-body p { margin-bottom: 1.15rem; }
.article-body a:not(.btn) { color: var(--blue); text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--blue) 35%, transparent); text-underline-offset: 3px; }
.article-body ul, .article-body ol { padding-left: 1.3rem; margin: 0 0 1.25rem; }
.article-body li { margin-bottom: .5rem; }
.steps-inline li { padding-left: .35rem; margin-bottom: 1rem; }
.table-wrap { overflow-x: auto; margin: 1.25rem 0 1.5rem; border: 1px solid var(--line); border-radius: var(--radius-sm); }
.compare { width: 100%; border-collapse: collapse; font-size: .92rem; min-width: 540px; }
.compare th, .compare td { padding: .7rem .9rem; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { background: var(--surface-2); font-weight: 600; }
.compare tbody th { font-weight: 500; color: var(--text-2); width: 26%; }
.compare tr:last-child td, .compare tr:last-child th { border-bottom: 0; }
.cta-box {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap;
  margin-top: 2.5rem; padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.cta-box strong { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; display: block; margin-bottom: .25rem; }
.cta-box p { margin: 0; color: var(--text-2); font-size: .95rem; }
.cta-box .btn { flex: 0 0 auto; }

/* ---------- responsif ---------- */
@media (max-width: 960px) {
  .hero-grid, .product, .product-page, .steps-grid, .contact-grid, .calc-grid, .faq-grid { grid-template-columns: 1fr; }
  .catalog { grid-template-columns: 1fr 1fr; }
  .post-grid { grid-template-columns: 1fr 1fr; }
  .gallery { position: static; }
  .product-flip .product-media { order: 0; }
  .product-media, .result { position: static; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ongkir-teaser { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 720px) {
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 72px; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem 1.25rem 1rem;
  }
  .nav.open { display: flex; }
  /* di HP nav jadi daftar biasa: pil geser dimatikan, teks kembali normal */
  .slide-tabs { flex-direction: column; align-items: stretch; border: 0; background: none; padding: 0; border-radius: 0; }
  .slide-tabs > li:not(.tab-cursor) { mix-blend-mode: normal; color: var(--text-2); }
  .slide-tabs a { padding: .85rem .25rem; font-size: .82rem; border-bottom: 1px solid var(--line); border-radius: 0; }
  .tab-cursor { display: none; }
  .nav-burger { display: flex; }
  .nav-actions .btn { display: none; }
  .feature-grid, .catalog, .catalog-2, .post-grid { grid-template-columns: 1fr; }
  .thumbs { grid-template-columns: repeat(3, 1fr); }
  .hero-stats { gap: 1.25rem; flex-wrap: wrap; }
  .contact-list > div { grid-template-columns: 1fr; gap: .25rem; }
  .brand-text span { display: none; }
  }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .tab-cursor { transition: opacity 150ms ease; }
  .reveal { transform: none; transition: opacity 200ms ease; }
  .product-img, .gallery-img { transform: none; }
  .hero-media img { animation: none; }
  .feature, .btn, .wa-float, .svc-item span, .combo-list li, .card-product, .post-card, .thumb, .card-media img, .post-media img { transition: none; }
}
