/* Demodas Shop — gaya utama, disamakan dengan demodas.id */
@font-face { font-family: 'Marcellus'; src: url('../../../assets/fonts/marcellus.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Figtree'; src: url('../../../assets/fonts/figtree.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }
:root {
  /* Tema demodas.id (gelap). Nama variabel lama tetap: --ink = teks utama, --bg = latar halaman. */
  --ink: #ECE6DC;
  --bg: #0D0C0B;
  --surface: #161412;
  --card: #161412;
  --plate: #EFECE6;      /* latar foto produk: foto berlatar putih tetap menyatu */
  --line: #2C2823;
  --line-2: #3A342D;
  --muted: #B3AA9D;
  --muted-2: #8F877B;
  --accent: #C9AD83;
  --brass: #C9AD83;
  --fill: #C9AD83;       /* tombol & elemen terisi */
  --on-fill: #0D0C0B;
  --ok: #8FC49A;
  --warn: #D8B25A;
  --err: #E0907F;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --radius: 2px;
  --shadow: 0 26px 50px -26px rgba(0, 0, 0, .85);
  --serif: 'Marcellus', Georgia, 'Times New Roman', serif;
  --sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --hdr: 76px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--muted); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--accent); color: var(--ink); }

.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--fill); color: var(--on-fill); padding: 10px 16px; border-radius: 999px; transition: top .3s var(--ease); }
.skip:focus { top: 12px; color: var(--on-fill); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.section { padding-top: 88px; padding-bottom: 88px; }
.section-sm { padding-top: 40px; padding-bottom: 56px; }
.narrow { max-width: 760px; }
.center { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
.serif em, .h2 em { font-style: italic; }
.eyebrow { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.015em; margin: 0 0 14px; }
.h3 { font-size: 18px; font-weight: 600; margin: 0 0 14px; }
.serif.h3 { font-family: var(--serif); font-weight: 400; font-size: 26px; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.prose { line-height: 1.7; max-width: 62ch; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.row-gap { display: flex; gap: 10px; flex-wrap: wrap; }
.save { color: var(--ok); font-weight: 600; }
.warn { color: var(--warn); }

/* ---------- Tombol ---------- */
.btn { height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--fill); background: var(--fill); color: var(--on-fill); font-size: 15px; font-weight: 500; display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-decoration: none; white-space: nowrap; position: relative; overflow: hidden; transition: transform .25s var(--ease), background .3s, border-color .3s, box-shadow .3s, color .3s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px rgba(13, 12, 11, .6); color: var(--on-fill); }
.btn:active { transform: translateY(0) scale(.97); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn-ghost { background: var(--card); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface); color: var(--ink); }
.btn-sm { height: 40px; padding: 0 16px; font-size: 13px; }
.btn-wide { width: 100%; }
.btn::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at var(--rx, 50%) var(--ry, 50%), rgba(255, 255, 255, .35), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.btn.rip::after { opacity: 1; transition: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; margin-top: 18px; text-decoration: none; }
.link-arrow svg { transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.iconbtn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; display: inline-flex; align-items: center; justify-content: center; position: relative; color: var(--ink); text-decoration: none; transition: background .2s; flex: none; }
.iconbtn:hover { background: var(--surface); color: var(--ink); }
.badge { position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--fill); color: var(--on-fill); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.bump { animation: bump .6s var(--spring); }
@keyframes bump { 0% { transform: scale(1); } 35% { transform: scale(1.32) rotate(-10deg); } 70% { transform: scale(.92) rotate(5deg); } 100% { transform: scale(1); } }

/* ---------- Pengumuman & header ---------- */
.announce { background: var(--fill); color: var(--on-fill); font-size: 13px; overflow: hidden; }
.announce-track { padding: 9px 16px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdr { position: sticky; top: 0; z-index: 40; background: rgba(13, 12, 11, .88); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.hdr.scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 30px -24px rgba(13, 12, 11, .35); }
.hdr-in { height: var(--hdr); display: flex; align-items: center; gap: 28px; }
.hdr-spacer { flex: 1; }
.wordmark { font-weight: 600; font-size: 17px; letter-spacing: .34em; text-decoration: none; color: var(--ink); white-space: nowrap; }
.wordmark:hover { color: var(--ink); }
.nav { display: flex; gap: 26px; }
.navlink { text-decoration: none; font-size: 14px; color: var(--ink); position: relative; padding: 6px 0; white-space: nowrap; }
.navlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--fill); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.navlink:hover { color: var(--ink); }
.navlink:hover::after { transform: scaleX(1); }
.menu-btn { display: none; }
.search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; width: 250px; color: var(--muted); transition: border-color .25s, width .45s var(--ease); }
.search:focus-within { border-color: var(--accent); width: 310px; }
.search input { border: 0; outline: none; font-size: 14px; width: 100%; background: transparent; color: var(--ink); min-width: 0; }
.search input::-webkit-search-cancel-button { cursor: pointer; }

/* ---------- Animasi masuk ---------- */
.in-up { animation: inUp .9s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes inUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; padding-top: 56px; padding-bottom: 48px; }
.hero-title { font-size: clamp(44px, 6.2vw, 86px); line-height: 1.02; margin: 0 0 24px; }
.hero-lead { font-size: 18px; line-height: 1.6; max-width: 470px; margin: 0 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-art { position: relative; display: flex; align-items: center; justify-content: center; min-height: 480px; }
.hero-disc { position: absolute; width: min(470px, 92%); aspect-ratio: 1; border-radius: 999px; background: var(--plate); animation: discIn 1.2s var(--ease) both; }
@keyframes discIn { from { transform: scale(.7); opacity: 0; } to { transform: none; opacity: 1; } }
.hero-img { position: relative; width: min(430px, 84%); aspect-ratio: 1; display: block; border-radius: 50%; overflow: hidden; }
.hero-img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
.hchip { position: absolute; background: var(--card); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; font-size: 13px; display: flex; align-items: center; gap: 8px; box-shadow: 0 14px 30px -18px rgba(13, 12, 11, .3); }
.hc1 { top: 10%; left: 2%; animation: chipA 7s ease-in-out infinite; }
.hc2 { bottom: 10%; right: 2%; animation: chipB 8s ease-in-out infinite; }
@keyframes chipA { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes chipB { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
.dotacc { width: 8px; height: 8px; border-radius: 999px; background: var(--brass); display: inline-block; }

.sheen { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.sheen::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -60%; width: 40%; background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.75) 50%, rgba(255,255,255,0) 100%); transform: translateX(0) skewX(-12deg); }
.sheen-loop::after { animation: sheenLoop 5s ease-in-out infinite; }
@keyframes sheenLoop { 0%, 55% { transform: translateX(0) skewX(-12deg); } 85%, 100% { transform: translateX(420%) skewX(-12deg); } }

.usp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.usp > div { padding: 28px 24px; border-left: 1px solid var(--line); }
.usp > div:first-child { border-left: 0; }
.usp b { display: block; font-size: 40px; line-height: 1; margin-bottom: 8px; }

/* ---------- Katalog ---------- */
.cat-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 22px; }
.cat-lead { max-width: 520px; margin: 0; }
.sort select { height: 44px; border: 1px solid var(--line); border-radius: 999px; padding: 0 40px 0 16px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ECE6DC' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 16px center; -webkit-appearance: none; appearance: none; font-size: 14px; cursor: pointer; transition: border-color .2s; }
.sort select:hover, .sort select:focus { border-color: var(--accent); outline: none; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.fchip { height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; display: inline-flex; align-items: center; gap: 8px; transition: background .3s var(--ease), color .3s, border-color .3s, transform .2s; }
.fchip:hover { border-color: var(--accent); }
.fchip:active { transform: scale(.96); }
.fchip.on { background: var(--fill); color: var(--on-fill); border-color: var(--accent); }
.fcount { font-size: 12px; opacity: .6; }
.result-line { margin: 0 0 18px; min-height: 20px; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.grid-related { margin-top: 28px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .3s, opacity .4s; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--line-2); }
.js .card.reveal { transition: opacity .8s var(--ease), transform .8s var(--ease), box-shadow .5s, border-color .3s; }
.js .card.reveal.in:hover { transform: translateY(-6px); }
.media { position: relative; }
.stage { background: var(--plate); aspect-ratio: 1 / 1; display: block; position: relative; overflow: hidden; }
.p-main { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .7s var(--ease), opacity .5s ease; }
.p-alt { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .55s ease, transform .9s var(--ease); }
.card:hover .p-main { transform: scale(1.06); }
.card.alt-ready:hover .p-alt { opacity: 1; transform: scale(1); }
.card.alt-ready:hover .p-main { opacity: 0; }
.card:hover .sheen::after { transition: transform 1.1s var(--ease); transform: translateX(420%) skewX(-12deg); }
.tags { position: absolute; top: 12px; left: 12px; z-index: 2; display: flex; gap: 6px; pointer-events: none; }
.tag { font-size: 11px; font-weight: 600; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: var(--accent); color: var(--ink); }
.tag-dark { background: var(--fill); color: var(--on-fill); }
.quick { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; opacity: 0; transform: translateY(12px); transition: opacity .35s var(--ease), transform .35s var(--ease); }
.card:hover .quick, .card:focus-within .quick { opacity: 1; transform: none; }
.info { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 3px; }
.card-title { font-size: 16px; font-weight: 600; margin: 0; }
.card-title a { text-decoration: none; }
.card-sub { margin: 0; font-size: 13px; }
.pricerow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.price { font-size: 15px; font-weight: 600; }
.strike { text-decoration: line-through; color: var(--muted-2); font-size: 12px; }
.off { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 999px; background: rgba(224, 144, 127, .16); color: #E0907F; font-size: 11px; font-weight: 600; }
.card.is-hidden { display: none; }

.heart { position: absolute; top: 10px; right: 10px; z-index: 3; width: 40px; height: 40px; border-radius: 999px; border: 0; background: var(--card); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px -8px rgba(13, 12, 11, .4); color: var(--ink); transition: transform .2s; }
.heart:hover { transform: scale(1.08); }
.heart svg path { transition: fill .25s, stroke .25s; }
.heart.on svg { animation: pop .5s var(--spring); }
.heart.on svg path { fill: #C2412D; stroke: #C2412D; }
@keyframes pop { 0% { transform: scale(.5); } 55% { transform: scale(1.35); } 100% { transform: scale(1); } }
.burst { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; }
.burst i { position: absolute; left: -3px; top: -3px; width: 6px; height: 6px; border-radius: 999px; background: #C2412D; animation: ray .6s ease-out forwards; }
@keyframes ray { 0% { transform: rotate(var(--a)) translateY(0) scale(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: rotate(var(--a)) translateY(-24px) scale(1); opacity: 0; } }

.empty { text-align: center; padding: 64px 16px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.empty-title { font-size: 28px; margin: 0; }

/* ---------- Lensa ---------- */
.lensband { background: var(--surface); }
.lens-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; padding-bottom: 40px; }
.lens-lead { font-size: 17px; line-height: 1.6; max-width: 460px; margin: 0 0 28px; }
.uvbtn svg { transition: transform .9s var(--ease); }
.uvbtn[aria-pressed="true"] svg { transform: rotate(180deg); }
.demo-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.demo-card { color: #1D1A16; background: var(--plate); border-radius: 20px; padding: 26px 22px; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; transition: background .8s ease; }
.demo-lens { transition: fill 1.2s ease; }
.demo-photo { fill: rgba(205, 220, 228, .4); }
.demo-blue { fill: rgba(125, 170, 235, .32); }
.state-on { display: none; }
.uv-on .demo-card { background: #FFF8EA; }
.uv-on .demo-photo { fill: rgba(40, 37, 34, .88); }
.uv-on .demo-blue { fill: rgba(26, 38, 62, .86); }
.uv-on .state-on { display: block; animation: inUp .5s var(--ease) both; }
.uv-on .state-off { display: none; }
.lens-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-bottom: 88px; }
.lens-item { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border-radius: 16px; padding: 16px; }
.lens-item p { margin: 2px 0 0; }

.lchip { width: 26px; height: 26px; border-radius: 999px; flex: none; border: 2px solid var(--ink); }
.lc-frame { border-style: dashed; border-color: #B9B5AE; background: transparent; }
.lc-anti { background: rgba(160, 205, 175, .5); }
.lc-blueray { background: rgba(125, 170, 235, .5); }
.lc-photo { background: rgba(205, 220, 228, .45); animation: photoCycle 3.2s ease-in-out infinite; }
.lc-blue { background: rgba(125, 170, 235, .4); animation: blueCycle 3.2s ease-in-out infinite; }
.lopts .lc-photo, .lopts .lc-blue { animation-play-state: paused; }
.lopt input:checked ~ .lc-photo, .lopt input:checked ~ .lc-blue { animation-play-state: running; }
@keyframes photoCycle { 0%, 15% { background: rgba(205, 220, 228, .45); } 50%, 65% { background: rgba(40, 37, 34, .9); } 100% { background: rgba(205, 220, 228, .45); } }
@keyframes blueCycle { 0%, 15% { background: rgba(125, 170, 235, .4); } 50%, 65% { background: rgba(26, 38, 62, .9); } 100% { background: rgba(125, 170, 235, .4); } }

.visit-card { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 24px; padding: 40px; background: var(--surface); }
.visit-card p { margin: 0; }
.visit-cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); padding: 56px 0 32px; margin-top: 24px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; }
.foot-tag { margin: 8px 0 0; font-size: 18px; }
.foot-h { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 12px; }
.foot p { margin: 0 0 6px; font-size: 14px; }
.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 14px; }
.foot-bottom { padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); font-size: 13px; }

/* ---------- Drawer keranjang ---------- */
.dscrim { position: fixed; inset: 0; background: rgba(13, 12, 11, .32); z-index: 60; opacity: 0; pointer-events: none; transition: opacity .4s ease; }
.dscrim.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--bg); z-index: 61; transform: translateX(104%); transition: transform .55s var(--ease), visibility 0s linear .55s; visibility: hidden; display: flex; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(13, 12, 11, .35); outline: none; }
.drawer.open { transform: none; visibility: visible; transition: transform .55s var(--ease), visibility 0s; }
.dhead { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--line); }
.dhead h2 { font-size: 28px; margin: 0; }
.dcount { font-family: var(--sans); font-size: 14px; }
.dlist { flex: 1; overflow: auto; padding: 0 24px; overscroll-behavior: contain; }
.dfoot { padding: 18px 24px 24px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.dfoot p { margin: 0; }
.dtotal { font-size: 18px; }
.closebtn { width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .3s var(--ease), background .2s; }
.closebtn:hover { transform: rotate(90deg); background: var(--surface); }

.line { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: inRight .5s var(--ease) both; }
@keyframes inRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.line.out { animation: outLine .3s ease forwards; }
@keyframes outLine { to { opacity: 0; transform: translateX(50px) scale(.95); } }
.thumb { width: 84px; height: 84px; background: var(--plate); border-radius: 12px; overflow: hidden; flex: none; display: block; }
.thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.line-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.line-title { font-weight: 600; text-decoration: none; }
.line-foot { margin-top: 8px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; height: 44px; }
.qty button { width: 40px; height: 42px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; border-radius: 999px; transition: background .2s; }
.qty button:hover:not([disabled]) { background: var(--surface); }
.qty button[disabled] { opacity: .3; cursor: not-allowed; }
.qty input { width: 36px; border: 0; text-align: center; font-weight: 600; background: transparent; -moz-appearance: textfield; appearance: textfield; padding: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: none; }
.qty span { min-width: 24px; text-align: center; font-size: 14px; font-weight: 600; }
.qty-sm { height: 36px; }
.qty-sm button { width: 34px; height: 34px; }
.xbtn { width: 32px; height: 32px; border: 0; background: transparent; border-radius: 999px; display: flex; align-items: center; justify-content: center; color: var(--muted); flex: none; }
.xbtn:hover { background: var(--surface); color: var(--ink); }

/* ---------- Quick view ---------- */
.qv { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; padding: 24px; }
.qv-scrim { position: absolute; inset: 0; background: rgba(13, 12, 11, .42); animation: fade .35s ease both; }
.qv-panel { position: relative; background: var(--bg); border-radius: 24px; width: min(1120px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); overflow: auto; box-shadow: 0 40px 90px -30px rgba(13, 12, 11, .5); animation: zoomIn .6s var(--ease) both; outline: none; overscroll-behavior: contain; }
.qv.closing .qv-panel { animation: zoomOut .3s ease forwards; }
.qv.closing .qv-scrim { animation: fadeOut .3s ease forwards; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.4); } to { opacity: 1; transform: none; } }
@keyframes zoomOut { to { opacity: 0; transform: scale(.94); } }
.qv-close { position: absolute; top: 16px; right: 16px; z-index: 5; }
.qv-body { min-height: 360px; }
.qv-loading { display: flex; align-items: center; justify-content: center; min-height: 420px; }
.qv-grid { display: grid; grid-template-columns: 1.05fr 1fr; }
.qv-media { background: var(--plate); }
.qv-media .gallery { position: sticky; top: 0; }
.qv-info { padding: 36px 36px 32px; }
.qv-title { font-size: 42px; line-height: 1; margin: 0 0 18px; }
.qv-error { padding: 48px; text-align: center; }

/* ---------- Galeri ---------- */
.gallery { position: relative; }
.gstage { position: relative; aspect-ratio: 1 / 1; background: var(--plate); overflow: hidden; border-radius: inherit; cursor: zoom-in; }
.gphoto { width: 100%; height: 100%; transition: transform .8s var(--ease); transform-origin: var(--zx, 50%) var(--zy, 50%); }
.gstage.zoom .gphoto { transform: scale(1.6); }
.fit-contain { object-fit: contain; mix-blend-mode: multiply; }
.gstage .fit-contain { padding: 6%; }
.fit-cover { object-fit: cover; }
.gphoto.swap { animation: swap .6s var(--ease); }
@keyframes swap { 0% { opacity: 0; transform: scale(1.06); filter: blur(8px); } 100% { opacity: 1; transform: none; filter: none; } }
.gtag { position: absolute; top: 16px; left: 16px; }
.gthumbs { display: flex; gap: 8px; padding: 12px; overflow-x: auto; scrollbar-width: none; }
.gthumbs::-webkit-scrollbar { display: none; }
.gthumb { width: 64px; height: 64px; flex: none; border-radius: 12px; border: 2px solid transparent; background: var(--plate); padding: 0; overflow: hidden; box-shadow: 0 6px 16px -10px rgba(13, 12, 11, .5); transition: border-color .25s, transform .25s var(--ease); }
.gthumb:hover { transform: translateY(-2px); }
.gthumb.on { border-color: var(--accent); }
.gthumb img { width: 100%; height: 100%; }
.pdp .gallery { border-radius: 24px; overflow: hidden; background: var(--plate); }

/* ---------- Konfigurator ---------- */
.config { display: flex; flex-direction: column; gap: 22px; }
.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.lbl { font-size: 13px; font-weight: 600; margin: 0 0 10px; padding: 0; display: flex; justify-content: space-between; gap: 12px; width: 100%; }
.lbl span { font-weight: 400; color: var(--muted); }
.bigprice { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bigprice b { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.bigprice.pop b, .bigprice.pop .off { animation: pricePop .5s var(--spring); }
@keyframes pricePop { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: none; } }
.soldout-note { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--surface); font-size: 14px; }
.swrow { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.sw { width: 48px; height: 48px; border-radius: 999px; border: 1px solid rgba(13, 12, 11, .12); padding: 0; background-color: var(--plate); background-size: 260%; background-position: center; background-repeat: no-repeat; transition: transform .35s var(--spring), box-shadow .35s; }
.sw:hover { transform: scale(1.1); }
.sw.on { box-shadow: 0 0 0 3px var(--bg), 0 0 0 4.5px var(--accent); transform: scale(1.06); }
.more { margin-left: 4px; }
.lopts { display: flex; flex-direction: column; gap: 8px; }
.lopt, .ship-opt { display: flex; gap: 12px; align-items: center; text-align: left; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: var(--card); cursor: pointer; position: relative; transition: border-color .25s, background .25s, transform .2s; }
.lopt:hover, .ship-opt:hover { border-color: var(--accent); }
.lopt:active, .ship-opt:active { transform: scale(.99); }
.lopt input, .ship-opt input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.lopt:has(input:checked), .ship-opt:has(input:checked) { border-color: var(--accent); background: rgba(201, 173, 131, .08); }
.lopt.on, .ship-opt.on { border-color: var(--accent); background: rgba(201, 173, 131, .08); }
.lopt:has(input:focus-visible), .ship-opt:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rdot { width: 18px; height: 18px; border-radius: 999px; border: 1.5px solid #B9B5AE; flex: none; position: relative; transition: border-color .2s; }
.rdot::after { content: ''; position: absolute; inset: 3px; border-radius: 999px; background: var(--fill); transform: scale(0); transition: transform .35s var(--spring); }
input:checked + .rdot { border-color: var(--accent); }
input:checked + .rdot::after { transform: scale(1); }
.lt { flex: 1; min-width: 0; }
.lt strong { display: block; font-size: 14px; font-weight: 600; }
.lt small { display: block; font-size: 12px; color: var(--muted); margin-top: 1px; }
.lp { text-align: right; font-size: 14px; font-weight: 600; white-space: nowrap; }
.lp s { display: block; font-size: 11px; font-weight: 400; color: var(--muted-2); }
.rx-wrap { animation: inUp .45s var(--ease) both; }
.rx-grid.is-locked .rx-h[data-cyl] { color: var(--muted-2); opacity: .7; }
.rx-grid select:disabled { border-style: dashed; background-color: var(--surface); color: var(--muted-2); cursor: not-allowed; opacity: .75; }
.rx-more { margin-top: 12px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px; border: 1px solid var(--line); background: var(--surface); animation: inUp .45s var(--ease) both; }
.rx-more-f { display: flex; flex-direction: column; justify-content: space-between; gap: 6px; min-width: 0; font-size: 12px; color: var(--muted); }
.rx-more-f b { color: var(--ink); font-weight: 600; }
.rx-more select { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--line); padding: 0 26px 0 10px; font-size: 14px; background: var(--bg); color: inherit; -webkit-appearance: none; appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239A938A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; border-radius: 2px; }
.rx-more select:has(option[value=""]:checked) { color: var(--muted); }
.rx-more select option { color: initial; }
.rx-more select:focus { outline: none; border-color: var(--accent); }
.rx-more-help { grid-column: 1 / -1; margin: 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.rx-more-help b { color: var(--ink); font-weight: 600; }
.rx-info { margin: 12px 0 0; display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border: 1px solid #3A3226; background: rgba(201, 173, 131, .06); border-radius: 2px; font-size: 13px; line-height: 1.5; color: #D6CEC2; }
.rx-info svg { flex: none; margin-top: 1px; color: var(--accent); }
.rx-info b { color: var(--ink); }
.rx-info a { font-weight: 600; }
.rx-fee { margin: 12px 0 0; padding: 10px 12px; border: 1px solid var(--line-2); border-left: 2px solid var(--accent); border-radius: 2px; font-size: 13px; line-height: 1.5; color: var(--ink); }
.lbl .lbl-l { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: inherit; }
.rx-badge { font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 8px; border-radius: 2px; background: var(--accent); color: #0D0C0B; }
.ltypes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ltype { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: inherit; text-align: left; cursor: pointer; transition: border-color .25s, background .25s; }
.ltype:hover { border-color: var(--accent); }
.ltype.on { border-color: var(--accent); background: rgba(201, 173, 131, .08); }
.ltype-dot { width: 24px; height: 24px; border-radius: 50%; flex: none; border: 1px solid var(--line-2); background-size: cover; background-position: center; }
.ltype-t { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ltype-t b { font-size: 14px; font-weight: 600; overflow-wrap: anywhere; }
.ltype-t small { font-size: 12.5px; color: var(--muted); }
.ltype.on .ltype-t small { color: #D6CEC2; }
.ltype-one { margin: 0; font-size: 13px; color: var(--muted); }
.ltype-one b { color: var(--ink); font-weight: 600; }
.lsizes ul { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.lsz { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; font-size: 14px; border-top: 1px solid var(--line); transition: background .25s, color .25s; }
.lsz:first-child { border-top: 0; }
.lsz b { font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums; }
.lsz.is-off { color: var(--muted-2); }
.lsz.is-off b { font-weight: 400; font-size: 12px; }
.lsz.on { background: rgba(201, 173, 131, .14); box-shadow: inset 3px 0 0 var(--accent); }
.lsz.on span::after { content: ' · ukuran Anda'; font-size: 12px; color: var(--muted); }
.lsizes .note.warn-text { color: #E0907F; }
.seg { display: inline-flex; background: var(--surface); border-radius: 999px; padding: 4px; flex-wrap: wrap; gap: 2px; }
.seg label { position: relative; }
.seg span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: 999px; cursor: pointer; font-size: 14px; transition: background .35s var(--ease), color .35s; }
.seg input:checked + span { background: var(--fill); color: var(--on-fill); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.rx-grid { margin-top: 12px; display: grid; grid-template-columns: 76px repeat(3, minmax(0, 1fr)); gap: 8px; align-items: center; animation: inUp .45s var(--ease) both; }
.rx-grid.is-minus { grid-template-columns: 76px minmax(0, 1fr); }
.rx-grid.is-minus [data-cyl] { display: none; }
.rx-h, .rx-eye { font-size: 12px; color: var(--muted); }
.rx-grid input, .rx-grid select { width: 100%; min-width: 0; height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; font-size: 14px; transition: border-color .2s; background: var(--bg); color: inherit; }
.rx-grid select { -webkit-appearance: none; appearance: none; padding-right: 26px; cursor: pointer; font-variant-numeric: tabular-nums; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%239A938A' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
.rx-grid select:has(option[value=""]:checked) { color: var(--muted); }
.rx-grid select option { color: initial; }
.rx-grid input:focus, .rx-grid select:focus { outline: none; border-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--ink); flex: none; }
.note { font-size: 13px; color: var(--muted); margin: 10px 0 0; }
.form-error { margin: 0; padding: 10px 14px; border-radius: 12px; background: rgba(224, 144, 127, .12); color: #E0907F; font-size: 14px; animation: shake .4s ease; }
@keyframes shake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.buy { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; }
.add-btn { height: 52px; }
.add-btn .add-done { display: none; align-items: center; gap: 10px; }
.add-btn .add-label { display: inline-flex; align-items: center; gap: 10px; }
.add-btn.done { background: var(--ok); border-color: var(--ok); }
.add-btn.done .add-label { display: none; }
.add-btn.done .add-done { display: inline-flex; animation: pop .45s var(--spring); }
.add-btn.loading { pointer-events: none; }
.add-btn.loading .add-label { opacity: .6; }
.wish-btn { position: static; width: 52px; height: 52px; padding: 0; box-shadow: none; border: 1px solid var(--line-2); }
.ship-note { margin: 0; }

/* ---------- Toast & animasi terbang ---------- */
.toasts { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 90; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 32px); }
.toast { background: var(--fill); color: var(--on-fill); border-radius: 999px; padding: 8px 8px 8px 18px; display: flex; align-items: center; gap: 14px; font-size: 14px; box-shadow: 0 18px 40px -16px rgba(13, 12, 11, .6); pointer-events: auto; animation: toastIn .55s var(--spring) both; max-width: 100%; }
.toast.err { background: #8E2A1E; padding-right: 18px; }
.toast.out { animation: toastOut .35s ease forwards; }
.toast span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.toast a, .toast button { height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: var(--card); color: var(--ink); font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; text-decoration: none; white-space: nowrap; flex: none; }
@keyframes toastIn { from { opacity: 0; transform: translateY(28px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(16px) scale(.96); } }
.flyer { position: fixed; z-index: 95; pointer-events: none; width: 96px; height: 96px; left: 0; top: 0; }
.flyer-in { width: 96px; height: 96px; background: var(--plate); border-radius: 20px; box-shadow: 0 14px 30px -10px rgba(13, 12, 11, .5); overflow: hidden; border: 3px solid #fff; }
.flyer-in img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

/* ---------- Halaman produk ---------- */
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.crumbs a { text-decoration: none; }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: start; }
.pdp-media { position: sticky; top: calc(var(--hdr) + 20px); }
.pdp-title { font-size: clamp(40px, 5vw, 60px); line-height: 1; margin: 0 0 20px; }
.pdp-more { border-top: 1px solid var(--line); }
.pdp-cols { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; padding-top: 24px; }
.sizes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; margin-bottom: 12px; }
.sizes div { background: var(--surface); border-radius: 12px; padding: 12px 8px; text-align: center; }
.sizes b { display: block; font-size: 18px; font-weight: 600; }
.sizes span { font-size: 11px; color: var(--muted); }

/* ---------- Keranjang, checkout, pesanan ---------- */
.alert { padding: 14px 16px; border-radius: 14px; background: var(--surface); margin: 0 0 20px; display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.alert p { margin: 0; }
.alert-warn { background: rgba(216, 178, 90, .12); }
.alert-error { background: rgba(224, 144, 127, .12); color: #E0907F; }
.cart-layout, .checkout { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 40px; align-items: start; margin-top: 12px; }
.cart-lines .line:first-child { border-top: 1px solid var(--line); }
.summary-card { border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 12px; background: var(--card); }
.summary-card p { margin: 0; }
.sticky { position: sticky; top: calc(var(--hdr) + 20px); }
.steps { list-style: none; display: flex; gap: 8px; padding: 0; margin: 0 0 28px; font-size: 13px; flex-wrap: wrap; }
.steps li { display: flex; align-items: center; gap: 8px; color: var(--muted-2); }
.steps li::before { content: ''; width: 8px; height: 8px; border-radius: 999px; background: var(--line-2); }
.steps li + li::after { order: -1; content: ''; width: 24px; height: 1px; background: var(--line-2); }
.steps li.done, .steps li.on { color: var(--ink); }
.steps li.done::before { background: var(--ok); }
.steps li.on::before { background: var(--fill); box-shadow: 0 0 0 4px rgba(13, 12, 11, .1); }
.co-main { display: flex; flex-direction: column; gap: 20px; }
.co-card { border: 1px solid var(--line); border-radius: 20px; padding: 24px; background: var(--card); margin-bottom: 20px; }
.co-main .co-card { margin-bottom: 0; }
.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fgrid .ff:first-child, .addr .ff:first-child { grid-column: 1 / -1; }
.ff { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 500; }
.ff input, .ff textarea, .ff select { height: 48px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: 15px; font-weight: 400; background: var(--bg); transition: border-color .2s, box-shadow .2s; width: 100%; }
.ff textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 80px; }
.ff input:focus, .ff textarea:focus, .ff select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(13, 12, 11, .06); }
.ff.has-error input, .ff.has-error textarea { border-color: var(--err); }
.ferr { color: var(--err); font-weight: 400; font-size: 12px; }
.ship-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.addr { margin-bottom: 14px; animation: inUp .45s var(--ease) both; }
.mini-lines { list-style: none; margin: 0 0 6px; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.mini-lines li { display: flex; gap: 12px; align-items: center; }
.mini-thumb { position: relative; width: 56px; height: 56px; border-radius: 12px; background: var(--plate); flex: none; }
.mini-thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; border-radius: 12px; }
.mini-qty { position: absolute; top: -6px; right: -6px; min-width: 20px; height: 20px; border-radius: 999px; background: var(--fill); color: var(--on-fill); font-size: 11px; font-weight: 600; display: flex; align-items: center; justify-content: center; padding: 0 5px; }
.mini-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-body small { font-size: 12px; overflow-wrap: anywhere; }
.mini-price { font-weight: 600; font-size: 14px; white-space: nowrap; }
.total { padding-top: 12px; border-top: 1px solid var(--line); font-size: 17px; }
.total strong { font-size: 22px; }
.pay-btn { height: 54px; }
.pay-btn .spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: var(--on-fill); border-radius: 999px; animation: spin .8s linear infinite; }
.pay-btn.loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.secure { display: flex; gap: 8px; align-items: flex-start; }
.secure svg { flex: none; margin-top: 3px; }

.order-hero { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 4px; max-width: 640px; margin: 0 auto 36px; }
.order-hero .h2 { margin-bottom: 6px; }
.order-sub { margin: 0 0 16px; }
.status-icon { margin-bottom: 12px; }
.status-paid { color: var(--ok); }
.status-failed { color: var(--err); }
.status-pending { color: var(--ink); }
.ck-c { stroke-dasharray: 240; stroke-dashoffset: 240; animation: draw .8s .15s ease forwards; }
.ck-p { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .45s .8s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spin-arc { transform-origin: 44px 44px; animation: spin 1.6s linear infinite; }
.order-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 10px; }
.pay-pick { border: 0; padding: 0; margin: 6px auto 16px; max-width: 460px; text-align: left; min-width: 0; }
.pay-pick legend { padding: 0; margin-bottom: 8px; }
.pay-pick .ship-opts { margin-bottom: 0; }
.pay-opts { margin-bottom: 8px; }
.save-link { max-width: 460px; }
.timeline { list-style: none; padding: 0; margin: 0 auto 36px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); max-width: 860px; position: relative; }
.timeline li { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; font-size: 13px; color: var(--muted-2); position: relative; }
.timeline li::before { content: ''; position: absolute; top: 9px; left: -50%; width: 100%; height: 2px; background: var(--line); z-index: 0; }
.timeline li:first-child::before { display: none; }
.timeline li.done::before { background: var(--fill); transition: background .6s; }
.tl-dot { width: 20px; height: 20px; border-radius: 999px; background: var(--card); border: 2px solid var(--line-2); position: relative; z-index: 1; transition: background .4s, border-color .4s; }
.timeline li.done { color: var(--ink); }
.timeline li.done .tl-dot { background: var(--fill); border-color: var(--accent); }
.timeline li.current .tl-dot { border-color: var(--accent); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(13, 12, 11, .25); } 50% { box-shadow: 0 0 0 8px rgba(13, 12, 11, 0); } }
.order-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: start; }
.order-grid .co-card { display: flex; flex-direction: column; gap: 12px; }
.dl { margin: 0; display: grid; gap: 12px; }
.dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; font-size: 14px; }
.dl dt { color: var(--muted); }
.dl dd { margin: 0; overflow-wrap: anywhere; }
.pill { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--surface); }
.pill-paid { background: rgba(143, 196, 154, .14); color: #8FC49A; }
.pill-pending, .pill-unpaid { background: rgba(216, 178, 90, .14); color: #D8B25A; }
.pill-failed, .pill-expired { background: rgba(224, 144, 127, .12); color: #E0907F; }
.pill-refunded { background: rgba(179, 174, 240, .14); color: #B3AEF0; }
.howto { margin: 0; padding-left: 20px; display: grid; gap: 10px; }
.track-form { display: flex; flex-direction: column; gap: 14px; margin-top: 20px; }

.conf { position: fixed; top: -16px; width: 8px; height: 14px; border-radius: 2px; z-index: 99; pointer-events: none; animation: fall 2.4s cubic-bezier(.3, .6, .5, 1) forwards; }
@keyframes fall { 0% { transform: translateY(0) rotate(0); opacity: 1; } 100% { transform: translateY(105vh) rotate(720deg); opacity: 0; } }

/* ---------- Responsif ---------- */
@media (max-width: 1180px) {
  .nav { gap: 18px; }
  .search { width: 200px; }
  .search:focus-within { width: 240px; }
}
@media (max-width: 1100px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lens-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-flex; }
  .nav { position: fixed; left: 0; right: 0; top: var(--nav-top, 0); background: var(--bg); flex-direction: column; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 30px 40px -30px rgba(13, 12, 11, .3); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform .35s var(--ease), opacity .3s, visibility 0s linear .35s; }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .3s, visibility 0s; }
  .navlink { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .navlink::after { display: none; }
}
@media (max-width: 900px) {
  .hero, .lens-grid, .pdp, .pdp-cols, .cart-layout, .checkout, .order-grid, .qv-grid { grid-template-columns: 1fr; }
  .hero { gap: 16px; padding-top: 32px; }
  .hero-art { min-height: 340px; order: -1; }
  .pdp { gap: 28px; }
  .pdp-media { position: static; }
  .sticky { position: static; }
  .usp { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .usp > div:nth-child(3) { border-left: 0; }
  .usp > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .qv { padding: 0; align-items: flex-end; }
  .qv-panel { border-radius: 24px 24px 0 0; max-height: 92vh; max-height: 92dvh; animation: sheetUp .5s var(--ease) both; }
  .qv.closing .qv-panel { animation: sheetDown .3s ease forwards; }
  .qv-info { padding: 24px 20px 28px; }
  .qv-media .gallery { position: static; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .lens-list { padding-bottom: 64px; }
  .sizes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@keyframes sheetUp { from { transform: translateY(100%); } to { transform: none; } }
@keyframes sheetDown { to { transform: translateY(100%); } }
@media (max-width: 760px) {
  :root { --hdr: 62px; }
  body { font-size: 15px; }
  .wrap { padding: 0 16px; }
  .hdr-in { gap: 4px; }
  .search { display: none; }
  .wordmark { font-size: 15px; letter-spacing: .28em; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .info { padding: 12px 12px 14px; }
  .card-title { font-size: 15px; }
  .quick { opacity: 1; transform: none; left: 8px; right: 8px; bottom: 8px; }
  .quick .btn { height: 36px; font-size: 12px; padding: 0 10px; }
  .heart { width: 36px; height: 36px; top: 8px; right: 8px; }
  .tags { top: 8px; left: 8px; }
  .hchip { font-size: 12px; padding: 8px 12px; }
  .demo-cards { grid-template-columns: 1fr 1fr; gap: 12px; }
  .demo-card svg { width: 120px; height: 120px; }
  .lens-list { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; gap: 24px; }
  .visit-card { padding: 24px; }
  .fgrid { grid-template-columns: 1fr; }
  .dl div { grid-template-columns: 1fr; gap: 2px; }
  .timeline li { font-size: 11px; }
  .buy { grid-template-columns: auto 1fr; }
  .buy .wish-btn { display: none; }
  .bigprice b { font-size: 26px; }
  .rx-grid { grid-template-columns: 64px repeat(3, minmax(0, 1fr)); gap: 6px; }
  .rx-grid.is-minus { grid-template-columns: 64px minmax(0, 1fr); }
  .co-card, .summary-card { padding: 18px; }
}
@media (hover: none) {
  .quick { opacity: 1; transform: none; }
  .card:hover { transform: none; box-shadow: none; }
  .card:hover .p-main, .card.alt-ready:hover .p-main { opacity: 1; transform: none; }
  .card:hover .p-alt, .card.alt-ready:hover .p-alt { opacity: 0; }
  .gstage { cursor: default; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .12s !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
.spinner-dark { width: 28px; height: 28px; border: 2.5px solid var(--line); border-top-color: var(--ink); border-radius: 999px; animation: spin .8s linear infinite; display: inline-block; }
.total.pop strong { animation: pricePop .5s var(--spring); }
.hero > *, .pdp > *, .pdp-cols > *, .cart-layout > *, .checkout > *, .order-grid > *, .qv-grid > *, .lens-grid > *, .grid > * { min-width: 0; }

/* =====================================================================
   Penyelarasan dengan demodas.id: sudut tegas, tombol emas, huruf Marcellus/Figtree,
   menu dan footer sama dengan situs utama.
   ===================================================================== */
body { font-size: 16px; }
a:hover { color: var(--accent); }
::selection { background: var(--accent); color: var(--on-fill); }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .32em; color: var(--accent); }
.h2 { letter-spacing: 0; }
.h2 em, .serif em { color: var(--accent); }
/* Angka & kode produk memakai Figtree (angka Marcellus bergaya lama) */
.pdp-title, .qv-title, .usp b, .bigprice b, .sizes b, .total strong, .dtotal, .empty-title { font-family: var(--sans); font-weight: 500; letter-spacing: -.01em; }
.pdp-title { font-size: clamp(36px, 4.4vw, 54px); }

/* Sudut: tegas seperti situs utama; bulatan kecil tetap bulat */
.btn, .btn-sm, .fchip, .search, .sort select, .qty, .qty button, .seg, .seg span, .tag, .off, .toast, .toast a, .toast button, .pill,
.card, .demo-card, .lens-item, .visit-card, .qv-panel, .gthumb, .pdp .gallery, .thumb, .mini-thumb, .mini-thumb img, .flyer-in, .lopt, .ship-opt,
.rx-grid input, .rx-grid select, .soldout-note, .sizes div, .alert, .summary-card, .co-card, .ff input, .ff textarea, .ff select, .form-error, .hchip, .closebtn { border-radius: 2px; }
.card { border-color: var(--line); }
.card:hover { border-color: var(--accent); }

/* Tombol: emas terisi + garis emas, seperti tombol demodas.id */
.btn { font-weight: 700; letter-spacing: .01em; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--on-fill); box-shadow: 0 12px 26px -14px rgba(0, 0, 0, .8); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--on-fill); border-color: var(--accent); }
.add-btn.done { color: var(--on-fill); }
.toast.err { background: #8E2A1E; color: #fff; }
.toast a, .toast button { background: var(--bg); color: var(--ink); }
.toast.err a, .toast.err button { background: rgba(0, 0, 0, .3); color: #fff; }
.pay-btn .spinner { border-color: rgba(13, 12, 11, .25); border-top-color: var(--on-fill); }
.iconbtn:hover { background: var(--surface); color: var(--accent); }
.badge { box-shadow: 0 0 0 2px var(--bg); }
.heart { background: var(--bg); color: var(--ink); box-shadow: 0 4px 14px -8px rgba(0, 0, 0, .6); }
.lchip { border-color: var(--line-2); }
.rdot { border-color: var(--muted-2); }
.alert-error { color: #E0907F; }

/* Pengumuman & header (sama dengan menu demodas.id) */
.announce { background: var(--surface); color: var(--muted); border-bottom: 1px solid var(--line); }
.hdr { background: rgba(13, 12, 11, .9); border-bottom: 1px solid var(--line); }
.hdr.scrolled { box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .9); }
.hdr-in { gap: 26px; }
.brandlogo { display: block; flex: none; padding: 14px 0; }
.brandlogo img { display: block; height: 18px; width: auto; }
.nav { gap: 24px; }
.navlink { font-size: 15px; font-weight: 500; color: #D6CEC2; }
.navlink::after { background: var(--accent); height: 1px; }
.navlink:hover, .navlink[aria-current="page"] { color: var(--ink); }
.navlink[aria-current="page"]::after { transform: scaleX(1); }
.nav-shop { color: var(--accent); }
.search { border-color: var(--line-2); }
.search:focus-within { border-color: var(--accent); }

/* Footer: logo, tautan, dan hak cipta seperti demodas.id */
.foot { margin-top: 0; padding: 64px 0 40px; }
.foot-logo { width: min(240px, 60vw); height: auto; opacity: .92; display: block; }
.foot-tag { color: var(--muted); }
.foot-h { color: var(--accent); letter-spacing: .2em; font-weight: 500; font-size: 12px; }
.foot-links a, .foot-site a { text-decoration: none; color: var(--muted); }
.foot-links a:hover, .foot-site a:hover { color: var(--ink); }
.foot-site { display: flex; flex-wrap: wrap; gap: 8px 26px; justify-content: center; padding-top: 32px; margin-top: 32px; border-top: 1px solid var(--line); font-size: 14px; }
.foot-bottom { text-align: center; border-top: 0; padding-top: 18px; margin-top: 0; }

/* Lensa: kartu demo tetap terang (warna lensa dirancang untuk latar terang) */
.lensband { background: var(--surface); }
.lens-item { background: var(--bg); border: 1px solid var(--line); }
.demo-card .muted, .demo-card small { color: #5C554C; }
.uv-on .demo-card { background: #F6EEDC; }

@media (max-width: 1100px) {
  .nav { background: var(--bg); box-shadow: 0 30px 40px -30px rgba(0, 0, 0, .8); }
  .navlink { color: var(--ink); }
}
@media (max-width: 760px) {
  :root { --hdr: 62px; }
  .brandlogo img { height: 15px; }
}
.hero-title { font-size: clamp(40px, 5vw, 70px); line-height: 1.04; }

/* Deskripsi berformat & spesifikasi produk.
   Sama persis dengan editor admin (admin.css .pf-rich): Enter = baris baru, baris kosong = satu baris kosong. */
.rich { font-size: 16px; line-height: 1.7; overflow-wrap: anywhere; }
.rich p, .rich h3, .rich ol, .rich ul, .rich li { margin: 0; }
.rich ol, .rich ul { padding-left: 22px; }
.rich h3 { font-size: 17px; line-height: 1.6; color: var(--ink); font-weight: 600; }
.rich b, .rich strong { color: var(--ink); font-weight: 600; }
.specs-list { margin: 16px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0 20px; max-width: 62ch; }
.specs-list div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 14px; }
.specs-list dt { color: var(--muted); }
.specs-list dd { margin: 0; text-align: right; color: var(--ink); }
.sw.sw-txt { width: auto; height: auto; min-height: 40px; border-radius: 12px; padding: 8px 14px; background: var(--bg, #fff); font-size: 13px; font-weight: 600; line-height: 1.25; color: inherit; }
.sw.sw-txt:hover { transform: none; }
.sw.is-out { opacity: .38; position: relative; }
.sw.is-out::after { content: ''; position: absolute; left: 50%; top: 8%; bottom: 8%; width: 1.5px; background: var(--ink); transform: rotate(45deg); }
.lopt.is-off { opacity: .45; }
.lopt.is-off .lp { text-decoration: line-through; }
.more-wrap { display: flex; justify-content: center; margin-top: 28px; }

/* Kolom search di HP: baris kedua header + hasil langsung saat mengetik */
.hdr-break, .search-cancel, .search-clear { display: none; }
.sr-panel { display: none; }
@media (max-width: 760px) {
  .hdr-in { height: auto; flex-wrap: wrap; row-gap: 0; }
  .hdr-in > .menu-btn, .hdr-in > .iconbtn { margin: 9px 0; }
  .hdr-break { display: block; order: 9; flex: 0 0 100%; height: 0; }
  .search { display: flex; order: 10; flex: 1 1 0; width: auto; min-width: 0; height: 44px; margin: 0 0 12px; padding: 0 6px 0 14px; gap: 10px; background: var(--surface); color: var(--muted-2); }
  .search:focus-within { width: auto; }
  .search input { font-size: 16px; }
  .search input::placeholder { color: var(--muted-2); }
  .search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; display: none; }
  .search-clear:not([hidden]) { display: inline-flex; flex: none; width: 32px; height: 32px; border: 0; padding: 0; border-radius: 999px; background: var(--line); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
  .hdr.searching .search-cancel { display: inline-flex; order: 11; align-items: center; height: 44px; margin: 0 0 12px -14px; padding: 0 2px 0 0; border: 0; background: transparent; color: var(--accent); font: 600 15px/1 var(--sans); cursor: pointer; }
  html { scroll-padding-top: calc(var(--hdr) + 72px); }
  html.sr-open { overflow: hidden; }
  .sr-panel:not([hidden]) { display: block; position: fixed; left: 0; right: 0; top: var(--sr-top, 152px); bottom: 0; z-index: 39; background: var(--bg); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; animation: srIn .22s var(--ease) both; }
}
@keyframes srIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.sr-in { padding: 16px 16px 40px; }
.sr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 6px; }
.sr-label { font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.sr-count { font-size: 13px; color: var(--muted-2); }
.sr-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.sr-row:active { background: var(--surface); }
.sr-thumb { width: 60px; height: 60px; flex: none; background: var(--plate); overflow: hidden; }
.sr-thumb img { width: 84px; height: 84px; max-width: none; margin: -10px -12px; }
.sr-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.sr-code { font-size: 15px; font-weight: 600; overflow-wrap: anywhere; }
.sr-code mark { background: none; color: var(--accent); }
.sr-sub { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sr-price { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: 14px; font-weight: 600; white-space: nowrap; }
.sr-price s { font-size: 12px; font-weight: 400; color: var(--muted-2); }
.sr-from { font-size: 12px; font-weight: 400; color: var(--muted-2); }
.sr-out { font-size: 12px; font-weight: 500; color: var(--err); }
.sr-all { margin-top: 18px; }
.sr-hint { margin: 14px 0 0; text-align: center; font-size: 13px; color: var(--muted-2); }
.sr-empty { margin: 0; padding: 24px 0 4px; text-align: center; color: var(--muted); line-height: 1.6; }

/* Transfer manual: rekening, unggah bukti transfer, menunggu konfirmasi */
.mt-box { max-width: 460px; margin: 6px auto 16px; padding: 18px; border: 1px solid var(--line-2); background: var(--surface); text-align: left; display: flex; flex-direction: column; gap: 12px; }
.mt-rek { margin: 0; display: flex; flex-direction: column; }
.mt-rek div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.mt-rek dt { color: var(--muted); font-size: 14px; }
.mt-rek dd { margin: 0; display: flex; align-items: center; gap: 10px; font-weight: 600; text-align: right; }
.mt-num { font-size: 18px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.mt-sum { border-bottom: 0 !important; }
.mt-sum strong { font-size: 18px; color: var(--accent); }
.mt-copy { height: 32px; padding: 0 12px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); font: 600 13px var(--sans); cursor: pointer; }
.mt-copy:hover, .mt-copy.done { border-color: var(--accent); color: var(--accent); }
.mt-note { margin: 0; }
.mt-form { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.mt-file { position: relative; display: block; cursor: pointer; }
.mt-file input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; }
.mt-drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 22px 16px; border: 1px dashed var(--accent); text-align: center; color: var(--ink); }
.mt-drop svg { color: var(--accent); }
.mt-drop small { color: var(--muted); }
.mt-file:focus-within .mt-drop { outline: 2px solid var(--accent); outline-offset: 2px; }
.mt-preview { width: 100%; max-height: 320px; object-fit: contain; background: #000; margin-top: 10px; }
.mt-wait-head { display: flex; align-items: center; gap: 14px; }
.mt-wait-head strong { display: block; }
.mt-wait-head small { display: block; margin-top: 3px; }
.mt-proof { flex: none; width: 72px; height: 72px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.mt-proof img { width: 100%; height: 100%; object-fit: cover; }
.mt-again summary { cursor: pointer; color: var(--accent); font-size: 14px; padding: 4px 0; }
.mt-again[open] summary { margin-bottom: 12px; }
.mt-wait .btn svg { flex: none; }
.mt-form .btn { white-space: normal; height: auto; min-height: 54px; padding: 12px 18px; text-align: center; line-height: 1.3; }

/* ---------- v38: voucher di checkout ---------- */
.vc-box { display: flex; flex-direction: column; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vc-lbl { font-size: 13px; color: var(--muted); }
.vc-row { display: flex; gap: 8px; }
.vc-row input { flex: 1; min-width: 0; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 0 12px; background: var(--bg); color: var(--ink); font-size: 15px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.vc-row input::placeholder { letter-spacing: 0; font-weight: 400; text-transform: none; color: var(--muted-2); }
.vc-row input:focus { outline: none; border-color: var(--accent); }
.vc-row .btn { height: 44px; }
.vc-ok { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--accent); background: #1A1714; color: var(--ink); }
.vc-ok > svg { color: var(--accent); flex: none; }
.vc-ok span { flex: 1; display: flex; flex-direction: column; font-size: 13px; line-height: 1.35; }
.vc-ok strong { color: var(--accent); font-weight: 600; }
.vc-ok small { color: var(--muted); }
.vc-x { background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font-size: 13px; padding: 8px 4px; min-height: 36px; }
.vc-err { display: block; }
.vc-line, .vc-line span { color: var(--accent); }
.vc-save { font-size: 13px; }
.mini-strike { display: block; font-size: 11px; font-weight: 400; color: var(--muted-2); text-align: right; }

/* ---------- v38: batas bayar (batal otomatis) ---------- */
.dl-box { width: 100%; max-width: 460px; margin: 6px auto 14px; padding: 16px; border: 1px solid var(--accent); background: #1A1714; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.dl-head { margin: 0; display: flex; align-items: center; gap: 8px; color: var(--accent); font-weight: 600; }
.dl-clock { display: flex; align-items: flex-start; gap: 8px; }
.dl-clock span { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.dl-clock b { min-width: 60px; height: 50px; display: flex; align-items: center; justify-content: center; background: var(--bg); border: 1px solid var(--line-2); font-size: 24px; font-weight: 600; font-variant-numeric: tabular-nums; }
.dl-clock small { font-size: 11px; color: var(--muted); }
.dl-clock i { font-style: normal; color: var(--muted-2); font-size: 22px; line-height: 50px; }
.dl-note { margin: 0; }

/* ---------- v38: promo ---------- */
.tag-promo { background: var(--fill); color: var(--on-fill); }
.tags .tag-promo { background: #0D0C0B; color: var(--accent); border: 1px solid var(--accent); }
.promo-line { margin: 10px 0 0; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--muted); }
.promo-line b { color: var(--ink); font-variant-numeric: tabular-nums; }
.promo-chip { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; background: #0D0C0B; color: var(--accent); border: 1px solid var(--accent); font-size: 11px; font-weight: 700; letter-spacing: .05em; }
.promo-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 18px; background: var(--accent); color: #0D0C0B; text-decoration: none; }
.promo-bar-t { display: flex; flex-direction: column; line-height: 1.25; font-size: 12px; }
.promo-bar-t b { font-size: 13px; letter-spacing: .08em; }
.promo-bar-cd { display: flex; flex-direction: column; align-items: flex-end; font-size: 11px; line-height: 1.25; text-align: right; }
.promo-bar-cd b { font-size: 14px; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) {
  .promo-bar { justify-content: center; gap: 24px; }
  .promo-bar-t { flex-direction: row; align-items: baseline; gap: 10px; }
  .promo-bar-cd { flex-direction: row; align-items: baseline; gap: 6px; }
}

/* ---------- v42: ongkir otomatis, lacak resi, ulasan, kabari stok ---------- */
.ship-tag { font-style: normal; display: inline-flex; align-items: center; height: 20px; padding: 0 8px; margin-left: 6px; background: var(--fill); color: var(--on-fill); font-size: 11px; font-weight: 700; vertical-align: 1px; border-radius: 2px; }
.ship-hint, .ship-note { margin: 0; padding: 12px 14px; border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; }
.ship-note { border-style: solid; border-color: rgba(216, 178, 90, .45); color: var(--warn); }
.ship-more { display: flex; flex-direction: column; gap: 8px; }
.ship-more-btn { align-self: flex-start; min-height: 44px; padding: 0; border: 0; background: none; color: var(--accent); font: 500 13px var(--sans); text-align: left; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ship-opts.is-loading { opacity: .5; pointer-events: none; transition: opacity .2s; }
.ship-err { margin: 0 0 10px; }
.area-ff { margin-bottom: 14px; position: relative; }
.area-box { position: relative; }
.area-ico { position: absolute; left: 14px; top: 15px; color: var(--accent); pointer-events: none; }
.ff .area-box input { padding-left: 42px; }
.area-ff.has-error .area-box input { border-color: var(--err); }
.area-list { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px 0; list-style: none; background: var(--surface); border: 1px solid var(--line-2); max-height: 300px; overflow-y: auto; box-shadow: var(--shadow); }
.area-list li { padding: 10px 14px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; font-weight: 400; }
.area-list li b { font-weight: 600; font-size: 14px; }
.area-list li small { color: var(--muted); font-size: 12px; }
.area-list li[aria-selected="true"], .area-list li[role="option"]:hover { background: rgba(201, 173, 131, .12); }
.area-list .area-empty { cursor: default; color: var(--muted); font-size: 13px; }
.area-help { font-weight: 400; }

.st-on { fill: var(--accent); }
.st-off { fill: none; stroke: #6B6359; stroke-width: 1.6; }
.pdp-rating { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; margin: -4px 0 6px; font-size: 14px; color: var(--ink); text-decoration: none; }
.pdp-rating span { color: var(--muted); }
.pdp-rating:hover b { text-decoration: underline; }
.rv { display: flex; flex-direction: column; gap: 18px; border-top: 1px solid var(--line); }
.rv-sum { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; max-width: 560px; }
.rv-avg { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.rv-avg b { font-size: 44px; font-weight: 600; line-height: 1; }
.rv-stars { display: inline-flex; gap: 2px; }
.rv-dist { flex: 1 1 240px; display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.rv-dist div { display: flex; align-items: center; gap: 10px; }
.rv-dist div > span:first-child, .rv-dist div > span:last-child { width: 22px; flex: none; }
.rv-dist div > span:last-child { text-align: right; }
.rv-bar { flex: 1; height: 6px; background: var(--line); border-radius: 3px; overflow: hidden; }
.rv-bar span { display: block; height: 6px; background: var(--accent); }
.rv-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-list { display: flex; flex-direction: column; max-width: 720px; }
.rv-item { display: flex; flex-direction: column; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.rv-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.rv-head > span:first-child { display: flex; flex-direction: column; gap: 2px; }
.rv-head small { font-size: 12px; }
.rv-body { margin: 0; color: #D9D2C7; line-height: 1.6; }
.rv-photos { display: flex; gap: 8px; flex-wrap: wrap; }
.rv-photos img { width: 72px; height: 72px; object-fit: cover; background: var(--plate); display: block; }
.rv-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.rv-ok svg { color: var(--accent); }
.rv-reply { padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; color: var(--muted); line-height: 1.55; }
.rv-reply b { color: var(--ink); font-weight: 600; }
.rv-all { align-self: flex-start; }

.notify-btn { margin-top: 10px; border-color: var(--accent); color: var(--accent); gap: 8px; }
.nt-sheet { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); padding: 0; width: min(440px, calc(100vw - 32px)); max-width: none; }
.nt-sheet::backdrop { background: rgba(0, 0, 0, .6); }
.nt-in { padding: 22px 20px 24px; display: flex; flex-direction: column; gap: 12px; }
.nt-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.nt-head h2 { margin: 0; font-size: 22px; font-weight: 400; }
.nt-in p { margin: 0; }
.nt-ok { padding: 12px 14px; border: 1px solid var(--accent); color: var(--ink); background: rgba(201, 173, 131, .08); }
@media (max-width: 640px) {
  .nt-sheet[open] { margin: auto 0 0; width: 100vw; max-height: 90vh; }
}

.trk { display: flex; flex-direction: column; gap: 14px; }
.trk-head { display: flex; align-items: center; gap: 12px; }
.trk-ico { color: var(--accent); flex: none; }
.trk-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.trk-status { margin: 0; display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: rgba(201, 173, 131, .08); border: 1px solid var(--line-2); }
.trk-status span { width: 8px; height: 8px; border-radius: 999px; background: var(--accent); flex: none; }
.trk-status.is-done span { background: var(--ok); }
.trk-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.trk-list li { display: flex; gap: 12px; position: relative; padding-bottom: 14px; color: var(--muted); }
.trk-list li:not(:last-child)::before { content: ''; position: absolute; left: 5px; top: 16px; bottom: 0; width: 2px; background: var(--line-2); }
.trk-list li > span:last-child { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.trk-list small { font-size: 12px; color: var(--muted-2); }
.trk-dot { width: 12px; height: 12px; border-radius: 999px; border: 2px solid #5A534A; box-sizing: border-box; flex: none; margin-top: 4px; background: var(--bg); position: relative; z-index: 1; }
.trk-list li.now { color: var(--ink); font-weight: 600; }
.trk-list li.now .trk-dot { background: var(--accent); border-color: var(--accent); }
.rv-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.rv-cta h2 { margin: 0 0 4px; }
.rv-cta p { margin: 0; }

.rvf-page { max-width: 640px; }
.rvf { display: flex; flex-direction: column; gap: 16px; }
.rvf-item { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.rvf-prod { display: flex; gap: 12px; align-items: center; }
.rvf-prod img { width: 64px; height: 64px; object-fit: cover; background: var(--plate); flex: none; }
.rvf-prod div { display: flex; flex-direction: column; gap: 2px; }
.rvf-state { color: var(--accent); font-size: 12px; }
.rvf-stars { border: 0; padding: 0; margin: 0; }
.rvf-stars legend { margin-bottom: 6px; }
.rvf-star-row { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.rvf-star { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.rvf-star svg path { fill: none; stroke: #6B6359; stroke-width: 1.5; transition: fill .15s; }
.rvf-star.on svg path { fill: var(--accent); stroke: var(--accent); }
.rvf-star:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rvf-word { margin-left: 8px; font-weight: 600; color: var(--accent); }
.ff textarea { height: auto; padding: 12px 14px; line-height: 1.5; }
.rvf-photos { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.rvf-ph { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); cursor: pointer; }
.rvf-ph img { width: 64px; height: 64px; object-fit: cover; background: var(--plate); }
.rvf-ph-x { display: inline-flex; gap: 4px; align-items: center; }
.rvf-add { width: 64px; height: 64px; border: 1px dashed #5A534A; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--muted); font-size: 11px; cursor: pointer; }
.rvf-add:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 2px; }
.rvf-name { margin-top: 0; }
.alert-ok { background: rgba(143, 196, 154, .12); color: var(--ok); }

/* ---------- HP: halaman produk ala marketplace (v48) ----------
   Galeri digeser dengan penghitung 1/N, ringkasan pilihan (warna & tipe lensa), bilah bawah Chat · Keranjang · Beli Sekarang,
   dan lembar pilihan dari bawah. Di komputer elemen ini disembunyikan dan konfigurator tampil seperti biasa. */
.gswipe, .m-sum, .m-bar, .m-wish, .cfg-scrim, .cs-head, .cs-qty-l { display: none; }
.cfg-sheet, .cs-body, .cs-foot, .m-pricerow { display: contents; }

@media (max-width: 760px) {
  /* Galeri */
  .gallery .gstage { position: absolute; inset: 0 0 auto 0; visibility: hidden; pointer-events: none; }
  .gallery .gthumbs { display: none; }
  .gswipe { display: block; position: relative; background: var(--plate); }
  .gs-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; outline: none; }
  .gs-track::-webkit-scrollbar { display: none; }
  .gs-slide { flex: 0 0 100%; aspect-ratio: 1 / 1; scroll-snap-align: start; scroll-snap-stop: always; overflow: hidden; }
  .gs-slide img { display: block; width: 100%; height: 100%; }
  .gs-slide .fit-contain { padding: 6%; }
  .gs-count { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(13, 12, 11, .55); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
  .pdp .gallery { margin-inline: -16px; border-radius: 0; }
  .pdp { gap: 18px; }

  /* Harga + wishlist */
  .m-pricerow { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .m-pricerow .bigprice b { color: var(--accent); font-size: 28px; }
  .m-wish.heart { display: inline-flex; position: relative; top: auto; right: auto; flex: none; width: 44px; height: 44px; background: transparent; border: 1px solid var(--line-2); box-shadow: none; }

  /* Ringkasan pilihan */
  .m-sum { display: flex; flex-direction: column; margin-inline: -16px; }
  .qv-info .m-sum { margin-inline: -20px; }
  .m-sec { padding: 12px 16px 14px; border-top: 1px solid var(--line); }
  .qv-info .m-sec, .qv-info .m-ship { padding-inline: 20px; }
  .m-head { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 12px; padding: 0 0 10px; border: 0; background: none; color: var(--ink); font: 600 15px/1.3 var(--sans); text-align: left; cursor: pointer; }
  .m-head small { margin-left: 6px; font-size: 13px; font-weight: 400; color: var(--muted); }
  .m-head svg { color: var(--muted); flex: none; }
  .m-thumbs, .m-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; }
  .qv-info .m-thumbs, .qv-info .m-chips { margin-inline: -20px; padding-inline: 20px; }
  .m-thumbs::-webkit-scrollbar, .m-chips::-webkit-scrollbar { display: none; }
  .m-th { flex: none; width: 58px; height: 58px; padding: 0; border-radius: 8px; border: 1px solid var(--line-2); background: var(--plate); overflow: hidden; cursor: pointer; }
  .m-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .m-th:has(span) { width: auto; min-width: 58px; background: var(--surface); }
  .m-th span { display: flex; align-items: center; justify-content: center; height: 100%; padding: 0 12px; font-size: 13px; line-height: 1.2; color: var(--ink); text-align: center; white-space: nowrap; }
  .m-th.on { border: 2px solid var(--accent); }
  .m-th.is-out { opacity: .45; }
  .m-chip { flex: none; height: 38px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 500 14px var(--sans); white-space: nowrap; cursor: pointer; }
  .m-chip.on { border-color: var(--accent); color: var(--accent); background: rgba(201, 173, 131, .08); }
  .m-ship { display: flex; align-items: center; gap: 10px; margin: 0; padding: 12px 16px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ok); }
  .config .ship-note { display: none; }
  .qv-info .link-arrow { margin-top: 18px; }

  /* Animasi masuk tidak boleh meninggalkan transform pada induk: bilah bawah & lembar pilihan harus menempel di layar */
  .pdp-info.in-up, .pdp-media.in-up, .qv-panel { animation-fill-mode: backwards; }
  /* Bilah bawah */
  .m-bar { display: grid; grid-template-columns: 64px 70px minmax(0, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(58px + env(safe-area-inset-bottom, 0px)); padding: 0 env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); background: var(--surface); border-top: 1px solid var(--line); }
  .m-bar-ic { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 0; border: 0; border-right: 1px solid var(--line); background: none; color: var(--ink); font: 500 11px var(--sans); text-decoration: none; cursor: pointer; }
  .m-bar-buy { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; border: 0; background: var(--fill); color: var(--on-fill); font: 600 15px/1.2 var(--sans); cursor: pointer; }
  .m-bar-buy b { font-size: 13px; font-weight: 600; }
  .m-bar [disabled] { opacity: .45; cursor: not-allowed; }
  body:has(.pdp .m-bar) { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .qv-info { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
  body:has(.m-bar) .toasts { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }

  /* Lembar pilihan dari bawah */
  .cfg-scrim { display: block; position: fixed; inset: 0; z-index: 80; background: rgba(13, 12, 11, .6); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; }
  .cfg-sheet { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 81; max-height: 88vh; max-height: 88dvh; background: var(--bg); border-top: 1px solid var(--line-2); border-radius: 18px 18px 0 0; transform: translateY(100%); visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .config.m-open .cfg-scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
  .config.m-open .cfg-sheet { transform: none; visibility: visible; transition: transform .42s var(--ease); }
  .cs-head { display: flex; position: relative; gap: 14px; align-items: flex-end; padding: 16px 56px 14px 16px; border-bottom: 1px solid var(--line); }
  .cs-img { flex: none; width: 96px; height: 96px; border-radius: 10px; object-fit: cover; background: var(--plate); }
  .cs-sum { min-width: 0; }
  .cs-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin: 0; }
  .cs-price b { font-size: 22px; font-weight: 600; color: var(--accent); }
  .cs-price s { font-size: 13px; color: var(--muted-2); }
  .cs-stock, .cs-sel { margin: 3px 0 0; font-size: 13px; line-height: 1.4; color: var(--muted); }
  .cs-close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .cs-body { display: flex; flex-direction: column; gap: 22px; flex: 1 1 auto; min-height: 0; padding: 16px; overflow-y: auto; overscroll-behavior: contain; }
  .cs-foot { display: block; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
  .cs-foot .buy { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; }
  .cs-qty-l { display: block; font-weight: 600; }
  .cs-foot .add-btn { grid-column: 1 / -1; width: 100%; min-height: 50px; }
  .cs-foot .wish-btn { display: none; }
  html.m-lock, html.m-lock body { overflow: hidden; }
  /* Pilihan warna: kotak foto + nama, seperti marketplace */
  .cfg-sheet .swrow { gap: 8px; }
  .cfg-sheet .sw:not(.sw-txt) { display: inline-flex; align-items: center; width: auto; height: 46px; padding: 0 14px 0 48px; border-radius: 6px; border: 1px solid var(--line-2); background-color: var(--surface); background-size: 38px 38px; background-position: 4px center; background-repeat: no-repeat; transform: none; box-shadow: none; }
  .cfg-sheet .sw:not(.sw-txt)::after { content: attr(data-name); font-size: 14px; color: var(--ink); white-space: nowrap; }
  .cfg-sheet .sw.on { border-color: var(--accent); background-color: rgba(201, 173, 131, .1); box-shadow: none; transform: none; }
  .cfg-sheet .sw.is-out { opacity: .45; }
  /* Pilihan lensa: chip nama + harga */
  .cfg-sheet .lopts { flex-direction: row; flex-wrap: wrap; gap: 8px; }
  .cfg-sheet .lopt { flex-direction: column; align-items: flex-start; gap: 2px; padding: 8px 14px; border-radius: 6px; }
  .cfg-sheet .lopt .rdot, .cfg-sheet .lopt .lchip, .cfg-sheet .lopt .lt small, .cfg-sheet .lopt .lp s { display: none; }
  .cfg-sheet .lopt .lt strong { font-size: 14px; font-weight: 500; }
  .cfg-sheet .lopt .lp { text-align: left; font-size: 12px; font-weight: 500; color: var(--muted); }
  .cfg-sheet .lopt:has(input:checked) .lt strong, .cfg-sheet .lopt:has(input:checked) .lp { color: var(--accent); }
  .cfg-sheet .lopt.is-off { opacity: .4; }
}
@media (max-width: 760px) and (prefers-reduced-motion: reduce) {
  .cfg-sheet, .cfg-scrim, .config.m-open .cfg-sheet, .config.m-open .cfg-scrim { transition: none; }
}
