/* Toko online Dizzi Net (cctvpangkalanbun.com). Warna & tipografi mengikuti ai-office/brand/DIZZI-style.md. */
:root {
  --blue: #3e39da; --blue-deep: #2e29b8; --blue-soft: #e9e8fb; --blue-mist: #d9d7fb;
  --orange: #fda309; --orange-soft: #ffe6b3;
  --ink: #2b2b30; --ink-2: #55535c; --ground: #f7f6f2; --paper: #ffffff; --line: #e2dfd5;
  --ok: #1f7a52; --warn: #8a5300; --danger: #c42c3a;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --wrap: 1240px; --gutter: clamp(16px, 4vw, 48px);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; scrollbar-color: #b9b6c9 var(--ground); }
body { margin: 0; background: var(--ground); color: var(--ink); font: 500 16px/1.55 'Plus Jakarta Sans', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; caret-color: var(--blue); overflow-x: clip; }
::selection { background: var(--orange); color: var(--ink); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3 { margin: 0; letter-spacing: -.03em; line-height: 1.08; font-weight: 800; text-wrap: balance; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.on-blue :focus-visible { outline-color: var(--orange); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.num { font-variant-numeric: tabular-nums; }

/* ── Header ─────────────────────────────────────────────── */
.top { position: sticky; top: 0; z-index: 40; background: rgb(247 246 242 / .92); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s; }
.top.scrolled { border-bottom-color: var(--line); }
.top .wrap { display: flex; align-items: center; gap: 28px; height: 74px; }
.logo img { height: 46px; width: auto; }
.nav { display: flex; gap: 22px; font-weight: 600; font-size: 15px; }
.nav a { text-decoration: none; padding: 6px 0; background: linear-gradient(var(--orange), var(--orange)) 0 100% / 0 2px no-repeat; transition: background-size .35s var(--ease); }
.nav a:hover { background-size: 100% 2px; }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; width: min(340px, 100%); height: 46px; padding: 0 6px 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); transition: border-color .2s; }
.search:focus-within { border-color: var(--blue); }
.search .ico { color: var(--ink-2); width: 19px; height: 19px; }
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; height: 100%; }
.search input::placeholder { color: var(--ink-2); }
.cart-btn { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--ink); color: #fff; font-weight: 700; }
.cart-btn .count { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 9px; background: var(--orange); color: var(--ink); font-size: 13px; display: grid; place-items: center; }
.cart-btn.bump .count { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 640px) {
  .top .wrap { gap: 10px; height: 62px; }
  .logo img { height: 34px; }
  .search { flex: 1; width: auto; height: 42px; padding-left: 12px; }
  .search .ico { display: none; }
  .cart-btn { height: 42px; padding: 0 10px; gap: 6px; }
  .cart-btn .label { display: none; }
  .ribbon { font-size: 15.5px; }
}


/* ── Tombol ─────────────────────────────────────────────── */
.ribbon { position: relative; display: inline-flex; align-items: stretch; min-height: 56px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--blue); color: #fff; font-weight: 800; font-size: 16.5px; text-decoration: none; box-shadow: 0 12px 24px -14px rgb(62 57 218 / .8); transition: transform .2s var(--ease), background .2s, box-shadow .3s; }
.ribbon > span:first-child { display: flex; align-items: center; padding: 0 22px; }
.ribbon .cut { display: grid; place-items: center; width: 66px; margin-left: auto; background: var(--orange); color: var(--ink); clip-path: polygon(22px 0, 100% 0, 100% 100%, 0 100%); transition: width .35s var(--ease); }
.ribbon .cut .ico { transform: translateX(5px); transition: transform .35s var(--ease); }
.ribbon:hover { background: var(--blue-deep); box-shadow: 0 16px 30px -14px rgb(62 57 218 / .9); }
.ribbon:hover .cut { width: 78px; }
.ribbon:hover .cut .ico { transform: translateX(10px); }
.ribbon:active { transform: scale(.985); }
.ribbon[disabled] { background: #8c89c9; box-shadow: none; cursor: not-allowed; }
.ribbon.wide { display: flex; width: 100%; }
.btn-orange { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 24px; border: 0; border-radius: 16px; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 16px; text-decoration: none; box-shadow: 0 12px 26px -14px rgb(253 163 9 / .9); transition: transform .25s var(--ease), box-shadow .25s, filter .2s; }
.btn-orange:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 18px 30px -14px rgb(253 163 9 / .95); }
.btn-orange:active { transform: scale(.98); }
.btn-orange .ico { width: 20px; height: 20px; }
.btn-orange.wide { display: flex; width: 100%; }
.btn-glass { display: inline-flex; align-items: center; min-height: 54px; padding: 0 22px; border: 1.5px solid rgb(255 255 255 / .38); border-radius: 16px; background: rgb(255 255 255 / .1); color: #fff; font-weight: 800; text-decoration: none; backdrop-filter: blur(6px); transition: background .2s, border-color .2s; }
.btn-glass:hover { background: rgb(255 255 255 / .18); border-color: #fff; }
.btn-line { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--paper); font-weight: 700; text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.btn-line:hover { border-color: var(--ink); }
.btn-line:active { transform: scale(.98); }
.link { font-weight: 700; color: var(--blue); text-decoration: underline; text-decoration-color: var(--orange); }

/* ── Bingkai foto produk ────────────────────────────────── */
.pic { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: linear-gradient(155deg, #f5f4fe 0%, #e8e7fb 100%); isolation: isolate; }
.pic img.photo { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.pic img.cutout { position: absolute; inset: 9%; width: 82%; height: 82%; object-fit: contain; filter: drop-shadow(0 14px 14px rgb(43 43 48 / .22)); transition: transform .6s var(--ease); }
.pic .ill { position: absolute; inset: 0; margin: auto; width: 42%; height: 42%; color: var(--blue); stroke-width: 1.5; opacity: .75; }
.pic .off { position: absolute; left: 10px; top: 10px; z-index: 2; padding: 4px 9px; border-radius: 9px; background: var(--orange); color: var(--ink); font-size: 12.5px; font-weight: 800; }
.pic .ilu { position: absolute; right: 8px; bottom: 8px; z-index: 2; padding: 3px 8px; border-radius: 8px; background: rgb(43 43 48 / .6); color: #fff; font-size: 11px; font-weight: 600; backdrop-filter: blur(4px); }
.pic .tag { position: absolute; left: 12px; top: 12px; z-index: 2; }
.tag { display: inline-block; padding: 5px 11px; border-radius: 12px 3px 12px 3px; background: var(--orange); color: var(--ink); font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }

/* ── Banner pembuka ─────────────────────────────────────── */
.hero { padding: 18px 0 0; }
.hero-panel { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: 12px; min-height: 500px; padding: clamp(28px, 5vw, 64px); border-radius: 32px; color: #fff;
  background: radial-gradient(90% 120% at 88% 12%, #6a65f5 0%, rgb(106 101 245 / 0) 55%), linear-gradient(135deg, #3e39da 0%, #2c27ad 100%); }
.hero-panel::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgb(255 255 255 / .14) 1px, transparent 1.4px); background-size: 22px 22px; mask-image: linear-gradient(110deg, transparent 35%, #000 75%); pointer-events: none; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { font-size: clamp(2.3rem, 1.1rem + 3.8vw, 4.1rem); line-height: 1.03; letter-spacing: -.035em; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero-lede { margin-top: 18px; max-width: 44ch; color: #dddcfb; font-size: 1.08rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0 0; padding: 0; font-size: 14.5px; font-weight: 700; }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points .ico { width: 20px; height: 20px; padding: 3px; border-radius: 50%; background: var(--orange); color: var(--ink); stroke-width: 3; }
.hero-visual { position: relative; z-index: 1; height: 100%; min-height: 380px; }
.hv-ring { position: absolute; left: 8%; top: 6%; width: 84%; aspect-ratio: 1; border-radius: 50%; background: rgb(255 255 255 / .07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); }
.hv-sun { position: absolute; right: 2%; bottom: 4%; width: 42%; aspect-ratio: 1; border-radius: 50%; background: var(--orange); }
.hv { position: absolute; height: auto; filter: drop-shadow(0 28px 26px rgb(14 10 70 / .45)); }
.hv-1 { width: 42%; left: 31%; top: 4%; z-index: 3; }
.hv-2 { width: 29%; left: 4%; top: 40%; z-index: 2; }
.hv-3 { width: 29%; right: 3%; top: 28%; z-index: 2; }
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 18px; }
.cat { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid #ebe9e1; border-radius: 18px; background: var(--paper); font-weight: 700; text-decoration: none; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.cat small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.cat .ic { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--blue-soft); color: var(--blue); transition: background .3s, color .3s; }
.cat:hover { transform: translateY(-3px); border-color: transparent; box-shadow: 0 16px 30px -18px rgb(43 43 48 / .35); }
.cat:hover .ic { background: var(--blue); color: #fff; }
@media (max-width: 860px) {
  .hero-panel { grid-template-columns: 1fr; min-height: 0; border-radius: 26px; padding-bottom: 0; }
  .hero-visual { min-height: 0; height: 250px; margin: 0 -8px; }
  .hv-ring { width: 230px; left: 50%; top: 18px; transform: translateX(-50%); }
  .hv-sun { width: 130px; right: 6%; bottom: -30px; }
  .hv-1 { width: 150px; left: calc(50% - 75px); top: 6px; }
  .hv-2 { width: 104px; left: 6%; top: 92px; }
  .hv-3 { width: 104px; right: 6%; top: 70px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ── Rak produk ─────────────────────────────────────────── */
.section { padding: clamp(40px, 5.5vw, 76px) 0; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 22px; }
.section-head h2, .h-page { font-size: clamp(1.7rem, 1.15rem + 1.9vw, 2.6rem); }
.section-head p { margin-top: 6px; color: var(--ink-2); }
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 0 18px; scrollbar-width: none; }
.chip { flex: none; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--paper); font-weight: 700; font-size: 14.5px; text-decoration: none; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 18px; }
@media (max-width: 560px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.prod { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 1px solid #ebe9e1; border-radius: 22px; background: var(--paper); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.prod:hover { transform: translateY(-5px); border-color: transparent; box-shadow: 0 24px 44px -26px rgb(43 43 48 / .4); }
.prod:hover .pic img { transform: scale(1.06); }
.prod-body { display: flex; flex: 1; flex-direction: column; padding: 12px 6px 4px; }
.prod-cat { font-size: 12.5px; font-weight: 700; color: var(--blue); }
.prod-name { margin-top: 2px; font-size: 15px; font-weight: 700; line-height: 1.32; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.prod-name a { text-decoration: none; }
.prod-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; border-radius: 22px; }
.prod-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; margin-top: 8px; font-size: 18px; font-weight: 800; color: var(--ink); }
.prod-price s { font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.prod-meta { margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.stock-ok { color: var(--ok); font-weight: 700; } .stock-low { color: var(--warn); font-weight: 700; } .stock-out { color: var(--danger); font-weight: 700; }
.prod .add { position: relative; z-index: 2; margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--blue-soft); color: var(--blue); font-weight: 800; font-size: 14.5px; transition: background .2s, color .2s, transform .2s var(--ease); }
.prod-meta + .add { margin-top: 12px; }
.prod .add .ico { width: 18px; height: 18px; }
.prod .add:hover { background: var(--blue); color: #fff; }
.prod .add:active { transform: scale(.97); }
.prod .add[disabled] { background: var(--ground); color: var(--ink-2); cursor: not-allowed; }
@media (max-width: 560px) { .prod { padding: 8px; border-radius: 18px; } .prod-body { padding: 10px 4px 2px; } .prod-price { font-size: 16px; } }
.pager { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 40px; }
.empty { padding: 44px 20px; text-align: center; color: var(--ink-2); border: 1.5px dashed var(--line); border-radius: 18px; }

/* ── Panel promo & rancang paket ────────────────────────── */
.promo-panel { padding: clamp(22px, 3.5vw, 40px); border-radius: 32px; background: linear-gradient(135deg, #fff2d8 0%, #ffe1a3 100%); }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 250px); gap: 16px; overflow-x: auto; padding: 4px 4px 12px; margin: 0 -4px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail .prod { scroll-snap-align: start; border-color: transparent; }
.rail .prod-price { color: var(--blue); }
.planner-panel { padding: clamp(22px, 3.5vw, 44px); border: 1px solid #ebe9e1; border-radius: 32px; background: var(--paper); }
.kit-controls { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: flex-end; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.ctl-label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.stepper { display: inline-flex; align-items: center; height: 54px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--paper); }
.stepper button { width: 50px; height: 100%; border: 0; background: none; display: grid; place-items: center; color: var(--blue); }
.stepper button:hover { color: var(--ink); }
.stepper output, .stepper input { min-width: 44px; width: 46px; border: 0; text-align: center; font-weight: 800; font-size: 20px; background: none; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; }
.place-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.place-chips label { position: relative; cursor: pointer; }
.place-chips input { position: absolute; opacity: 0; }
.place-chips span { display: block; padding: 13px 18px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 700; font-size: 14.5px; transition: background .25s var(--ease), color .25s, border-color .25s; }
.place-chips label:hover span { border-color: var(--ink); }
.place-chips input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.place-chips input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.kit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, 340px); gap: 24px; margin-top: 24px; align-items: start; }
.kit-rows { display: grid; gap: 12px; }
.krow { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 16px 12px 12px; border-radius: 20px; background: var(--ground); transition: background-color .6s var(--ease); }
.krow.changed { background: var(--orange-soft); }
.krow .pic { width: 88px; border-radius: 14px; background: var(--paper); }
.krow-role { font-size: 13px; font-weight: 700; color: var(--blue); }
.krow-name { margin-top: 2px; font-size: 16px; font-weight: 700; line-height: 1.3; letter-spacing: -.01em; }
.krow-meta { font-size: 13px; color: var(--ink-2); }
.krow-meta.warn { color: var(--warn); font-weight: 700; }
.krow .swap { display: block; margin-top: 8px; max-width: 320px; }
.krow .swap select { width: 100%; height: 38px; padding: 0 30px 0 10px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b2b30' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 9px center / 15px no-repeat; appearance: none; -webkit-appearance: none; font-size: 13.5px; font-weight: 600; text-overflow: ellipsis; }
.krow-price { text-align: right; font-size: 17px; font-weight: 800; white-space: nowrap; }
.krow-price small { display: block; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.ksum { position: sticky; top: 96px; padding: 24px; border-radius: 24px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, #615cf2 0%, rgb(97 92 242 / 0) 60%), var(--blue); box-shadow: 0 24px 44px -26px rgb(62 57 218 / .8); }
.sum-label { font-weight: 700; color: var(--blue-mist); }
.sum-value { position: relative; display: inline-block; margin: 4px 0 14px; font-size: clamp(2rem, 1.5rem + 1.4vw, 2.7rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; white-space: nowrap; }
.sum-value::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.08em; height: .1em; border-radius: 2px; background: var(--orange); transform-origin: left; }
.sum-note { font-size: 13.5px; color: #dcdbfb; }
.ksum .btn-orange { margin-top: 20px; }
.sum-link { display: block; margin-top: 14px; text-align: center; font-weight: 700; color: #fff; text-decoration: underline; text-decoration-color: var(--orange); }
.project { max-width: 760px; margin-top: 24px; background: var(--ground); }
.project-lead { font-size: clamp(1.02rem, .9rem + .5vw, 1.25rem); color: var(--ink-2); max-width: 46ch; margin-bottom: 18px; }
@media (max-width: 860px) {
  .kit-grid { grid-template-columns: 1fr; }
  .ksum { position: static; }
}
@media (max-width: 560px) {
  .krow { grid-template-columns: 68px minmax(0, 1fr); padding: 10px; gap: 12px; }
  .krow .pic { width: 68px; }
  .krow-price { grid-column: 2; text-align: left; font-size: 16px; }
  .krow-price small { display: inline; margin-left: 6px; }
  .place-chips span { padding: 10px 14px; font-size: 14px; }
}

/* ── Toko & survei ──────────────────────────────────────── */
.visit { position: relative; background: var(--ink); color: #fff; }
.visit .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 860px) { .visit .wrap { grid-template-columns: 1fr; } }
.visit h2 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.2rem); max-width: 14ch; }
.visit .lede { margin-top: 14px; max-width: 44ch; color: #d6d5dd; font-size: 1.05rem; }
.proof { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.proof li { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; }
.proof .badge { width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
.proof b { display: block; font-size: 1.05rem; }
.proof span { color: #d6d5dd; }
.proof a { color: #fff; font-weight: 700; }
.form-sheet { background: var(--paper); color: var(--ink); border-radius: 22px; padding: clamp(20px, 3vw, 30px); }
.field { display: block; margin-bottom: 14px; font-weight: 700; font-size: 14.5px; }
.field input, .field select, .field textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); font-weight: 500; outline: none; transition: border-color .2s; }
.field input::placeholder, .field textarea::placeholder { color: #75737c; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.seg { display: flex; gap: 8px; margin-bottom: 18px; padding: 5px; border-radius: 14px; background: var(--ground); }
.seg label { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: block; padding: 10px; border-radius: 10px; text-align: center; font-weight: 800; font-size: 14.5px; transition: background .25s var(--ease), color .25s; }
.seg input:checked + span { background: var(--blue); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.msg { padding: 12px 14px; border-radius: 12px; font-size: 14.5px; font-weight: 600; margin-bottom: 14px; }
.msg.err { background: #fbe4e6; color: var(--danger); } .msg.ok { background: #dff3ea; color: var(--ok); }
.signoff { position: relative; height: 64px; background: var(--blue); overflow: hidden; }
.signoff .wrap { height: 100%; display: flex; align-items: center; color: #fff; font-weight: 700; }
.signoff .cutline { position: absolute; right: 0; top: 0; bottom: 0; width: min(46vw, 420px); background: var(--orange); clip-path: polygon(64px 0, 100% 0, 100% 100%, 0 100%); display: flex; align-items: center; justify-content: flex-end; padding-right: var(--gutter); color: var(--ink); font-weight: 800; }
@media (max-width: 760px) { .signoff .wrap { display: none; } .signoff .cutline { width: 78%; } }

/* ── Footer ─────────────────────────────────────────────── */
.foot { padding: 40px 0 110px; font-size: 14.5px; color: var(--ink-2); }
.foot .wrap { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
.foot b { display: block; margin-bottom: 6px; color: var(--ink); }
.foot img { height: 52px; width: auto; margin-bottom: 12px; }
.foot details { margin-top: 10px; }
.foot summary { cursor: pointer; font-weight: 700; color: var(--ink); }
.foot summary::marker { color: var(--orange); }
.foot ul { margin: 8px 0 0; padding-left: 18px; font-size: 13px; }
@media (max-width: 760px) { .foot .wrap { grid-template-columns: 1fr; } }

/* ── Halaman produk ─────────────────────────────────────── */
.crumb { padding-top: 22px; font-size: 14px; color: var(--ink-2); }
.crumb a { text-decoration: none; } .crumb a:hover { text-decoration: underline; }
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); padding: 22px 0 clamp(36px, 5vw, 64px); align-items: start; }
@media (max-width: 800px) { .detail { grid-template-columns: 1fr; } }
.detail .pic.big { max-width: 560px; border-radius: 28px; }
.detail .pic.big img.cutout { inset: 10%; width: 80%; height: 80%; }
.detail .caption { margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.detail h1 { margin-top: 14px; font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3rem); }
.detail .price-big { display: inline-block; position: relative; margin-top: 14px; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); font-weight: 800; color: var(--blue); letter-spacing: -.03em; }
.detail .price-big::after { content: ''; position: absolute; left: 0; right: 0; bottom: -.04em; height: .1em; background: var(--orange); border-radius: 2px; }
.detail .price-big s { margin-left: 10px; font-size: 1.05rem; font-weight: 600; color: var(--ink-2); }
.buy { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.desc { margin-top: 22px; padding-top: 18px; border-top: 1.5px solid var(--line); white-space: pre-line; max-width: 62ch; }
.note { font-size: 14px; color: var(--ink-2); max-width: 52ch; }

/* ── Keranjang ──────────────────────────────────────────── */
.drawer-bg { position: fixed; inset: 0; z-index: 60; background: rgb(43 43 48 / .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 61; width: min(460px, 100%); background: var(--ground); display: flex; flex-direction: column; transform: translateX(104%); transition: transform .45s var(--ease); box-shadow: -24px 0 60px -30px rgb(43 43 48 / .45); }
.cart-open .drawer-bg { opacity: 1; pointer-events: auto; }
.cart-open .drawer { transform: none; }
.drawer header { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.drawer header h2 { font-size: 22px; }
.x { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 12px; background: var(--paper); }
.drawer .content { flex: 1; overflow-y: auto; padding: 8px 20px 20px; }
.line { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.line .pic { width: 60px; border-radius: 12px; }
.line .n { font-weight: 700; font-size: 14.5px; line-height: 1.3; }
.line .p { font-weight: 800; color: var(--blue); font-size: 15px; }
.qty { display: inline-flex; align-items: center; margin-top: 6px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--paper); }
.qty button { width: 36px; height: 36px; border: 0; background: none; display: grid; place-items: center; }
.qty span { min-width: 28px; text-align: center; font-weight: 800; font-size: 14.5px; }
.drawer footer { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: var(--paper); }
.total { display: flex; justify-content: space-between; align-items: baseline; font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.total b { color: var(--blue); }
.fine { margin-top: 10px; font-size: 13px; color: var(--ink-2); }

/* ── Asisten AI ─────────────────────────────────────────── */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 50; display: flex; align-items: center; gap: 10px; height: 58px; padding: 0 20px 0 8px; border: 0; border-radius: 29px; background: var(--blue); color: #fff; font-weight: 800; box-shadow: 0 16px 34px -14px rgb(62 57 218 / .75); transition: transform .3s var(--ease); }
.fab:hover { transform: translateY(-2px); }
.fab .dot { width: 42px; height: 42px; border-radius: 50%; background: var(--orange); color: var(--ink); display: grid; place-items: center; }
@media (max-width: 520px) { .fab .label { display: none; } .fab { padding: 0 8px; } }
.chat { position: fixed; right: 18px; bottom: 88px; z-index: 55; width: min(410px, calc(100% - 24px)); height: min(620px, calc(100dvh - 112px)); display: flex; flex-direction: column; overflow: hidden; border-radius: 22px; background: var(--ground); box-shadow: 0 30px 70px -26px rgb(43 43 48 / .55); transform-origin: 100% 100%; }
.chat[hidden] { display: none; }
.chat.opening { animation: pop .45s var(--ease); }
@keyframes pop { from { transform: translateY(14px) scale(.96); opacity: 0; } }
.chat header { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--blue); color: #fff; }
.chat header b { display: block; font-size: 16px; } .chat header small { color: var(--blue-mist); }
.chat header .x { margin-left: auto; background: rgb(255 255 255 / .14); color: #fff; }
.chat .log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 88%; padding: 11px 14px; border-radius: 18px; font-size: 14.5px; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.user { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-right-radius: 5px; }
.bubble.model { align-self: flex-start; background: var(--paper); border-bottom-left-radius: 5px; }
.bubble.model a { color: var(--blue); font-weight: 800; }
.bubble.typing { color: var(--ink-2); }
.suggest { display: flex; flex-wrap: wrap; gap: 6px; }
.suggest button { border: 1.5px solid var(--line); background: var(--paper); border-radius: 12px; padding: 7px 12px; font-size: 13.5px; font-weight: 600; text-align: left; }
.suggest button:hover { border-color: var(--blue); }
.chat form { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--paper); }
.chat form input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; outline: none; }
.chat form input:focus { border-color: var(--blue); }
.chat form button { width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; display: grid; place-items: center; }
.chat .note { padding: 0 14px 12px; font-size: 12px; color: var(--ink-2); background: var(--paper); }

/* ── Gerak ──────────────────────────────────────────────── */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * { animation: rise .8s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; } .hero-copy > :nth-child(3) { animation-delay: .16s; } .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hv-ring { animation: grow 1.1s var(--ease) both; }
  .hv-sun { animation: grow 1.1s var(--ease) .15s both; }
  .hv-1 { animation: pop-in .9s var(--ease) .2s both, float 6s ease-in-out 1.1s infinite; }
  .hv-2 { animation: pop-in .9s var(--ease) .32s both, float 7s ease-in-out 1.2s infinite reverse; }
  .hv-3 { animation: pop-in .9s var(--ease) .44s both, float 6.5s ease-in-out 1.4s infinite; }
  .reveal-on .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease) var(--d, 0ms), transform .7s var(--ease) var(--d, 0ms); }
  .reveal-on .reveal.in { opacity: 1; transform: none; }
  .ksum .sum-value::after { animation: draw .9s var(--ease) .3s both; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } }
  @keyframes grow { from { opacity: 0; transform: scale(.7); } }
  @keyframes pop-in { from { opacity: 0; transform: translateY(30px) scale(.9); } }
  @keyframes float { 50% { transform: translateY(-12px); } }
  @keyframes draw { from { transform: scaleX(0); } }
}
@media (max-width: 860px) and (prefers-reduced-motion: no-preference) {
  .hv-ring { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  @view-transition { navigation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}
.pic.big .off { left: auto; right: 14px; top: 14px; }
.section + .section { padding-top: 0; }
