/* ================= tokoserbagadget · bersih & lembut ================= */
:root {
  --bg: #eef4f1;
  --bg-2: #e2ece8;
  --card: #ffffff;
  --ink: #12201d;
  --ink-2: #4c5b57;
  --muted: #869490;
  --line: #dbe6e1;
  --jade: #0aa37f;
  --jade-d: #077f63;
  --jade-t: #d4f2e8;
  --salmon: #ff7a59;
  --salmon-t: #ffe3da;
  --butter: #ffd84d;
  --butter-t: #fff3c4;
  --sky: #4aa8ff;
  --sky-t: #dceeff;
  --r: 22px;
  --r-s: 14px;
  --sh: 0 1px 2px rgba(18, 32, 29, .05), 0 10px 30px -14px rgba(18, 32, 29, .22);
  --sh-l: 0 2px 4px rgba(18, 32, 29, .05), 0 24px 50px -20px rgba(18, 32, 29, .35);
  --out: cubic-bezier(.16, 1, .3, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --head: 'Sora', system-ui, sans-serif;
  --body: 'DM Sans', system-ui, sans-serif;
  --mono: 'Space Mono', ui-monospace, monospace;
  --w: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
svg { display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
::selection { background: var(--jade); color: #fff; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 2px; }
.wrap { width: min(var(--w), 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); }
.tn-jade { --tc: var(--jade); --tb: var(--jade-t); }
.tn-sky { --tc: var(--sky); --tb: var(--sky-t); }
.tn-butter { --tc: #b88a00; --tb: var(--butter-t); }
.tn-salmon { --tc: var(--salmon); --tb: var(--salmon-t); }

/* Buttons */
.b { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 999px; background: var(--card); color: var(--ink); font-weight: 700; font-size: .98rem; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .2s var(--spring), background .2s, box-shadow .2s, color .2s; }
.b:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.b:active { transform: scale(.97); }
.b svg { width: 18px; height: 18px; flex: none; }
.b-j { background: var(--jade); color: #fff; box-shadow: 0 8px 20px -8px rgba(10, 163, 127, .7); }
.b-j:hover { background: var(--jade-d); box-shadow: 0 12px 24px -8px rgba(10, 163, 127, .8); }
.b-k { background: var(--ink); color: #fff; box-shadow: none; }
.b-k:hover { box-shadow: 0 10px 24px -10px rgba(18, 32, 29, .7); }
.b-s { background: var(--salmon); color: #fff; box-shadow: 0 8px 20px -8px rgba(255, 122, 89, .7); }
.b-sm { height: 40px; padding: 0 16px; font-size: .88rem; }
.b-full { width: 100%; }
.b[disabled] { opacity: .45; pointer-events: none; }
.chip { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 15px; border-radius: 999px; background: var(--card); font-weight: 600; font-size: .88rem; white-space: nowrap; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .2s, box-shadow .2s, color .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink-2); }
.chip.on { background: var(--ink); color: #fff; box-shadow: none; }
.gr { display: inline-grid; place-items: center; min-width: 34px; height: 34px; padding: 0 6px; border-radius: 999px; background: var(--tb); color: var(--tc); font-family: var(--mono); font-weight: 700; font-size: .82rem; }
.gr.lg { min-width: 52px; height: 52px; font-size: 1.1rem; }
.pill-s { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; background: var(--bg); font-size: .74rem; font-weight: 700; color: var(--ink-2); }
.pill-s.j { background: var(--jade-t); color: var(--jade-d); }
.pill-s.s { background: var(--salmon-t); color: #c4451f; }
.pill-s.k { background: var(--ink); color: #fff; }

/* Header */
.ann { background: var(--ink); color: #dfe9e5; font-size: .82rem; text-align: center; padding: 8px 16px; }
.ann b { color: var(--butter); }
.hd { position: sticky; top: 0; z-index: 40; background: rgba(238, 244, 241, .85); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.hd-in { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; flex: none; }
.logo .mk { width: 40px; height: 40px; border-radius: 12px; background: var(--jade); display: grid; place-items: center; transform: rotate(-8deg); transition: transform .5s var(--spring); }
.logo:hover .mk { transform: rotate(8deg); }
.logo .mk svg { width: 24px; height: 24px; }
.logo b { color: var(--jade); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 14px; border-radius: 999px; font-weight: 600; font-size: .94rem; color: var(--ink-2); transition: background .2s, color .2s; }
.nav a:hover { background: var(--card); color: var(--ink); }
.nav a.on { background: var(--card); color: var(--jade-d); box-shadow: var(--sh); }
.srch { flex: 1; max-width: 320px; margin-left: auto; position: relative; }
.srch input { width: 100%; height: 46px; border: 0; border-radius: 999px; background: var(--card); padding: 0 16px 0 44px; outline: none; font-weight: 500; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.srch input:focus { box-shadow: inset 0 0 0 2px var(--jade); }
.srch svg { position: absolute; z-index: 1; left: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--muted); }
.ib { position: relative; width: 46px; height: 46px; border-radius: 50%; background: var(--card); display: grid; place-items: center; flex: none; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .25s var(--spring), box-shadow .2s; }
.ib:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--ink); }
.ib svg { width: 20px; height: 20px; }
.ib .n { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--salmon); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--bg); }
.ib .n[hidden] { display: none; }
.ib.bump { animation: bump .5s var(--spring); }
@keyframes bump { 40% { transform: scale(1.2); } }
.hd-r { display: flex; gap: 8px; }

/* Bottom tab bar (mobile) */
.tabbar { display: none; }

/* Page */
.page { animation: pIn .45s var(--out); padding-bottom: 20px; }
@keyframes pIn { from { opacity: 0; transform: translateY(10px); } }
.rv { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--out), transform .7s var(--out); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

/* Hero */
.hero { padding: 40px 0 30px; }
.hero-g { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--card); box-shadow: var(--sh); font-weight: 600; font-size: .86rem; }
.eyebrow .gr { min-width: 26px; height: 26px; font-size: .7rem; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.3rem); margin: 20px 0 16px; font-weight: 800; letter-spacing: -.045em; }
.hero h1 .u { position: relative; white-space: nowrap; color: var(--jade); }
.hero h1 .u svg { position: absolute; left: 0; right: 0; bottom: -.12em; width: 100%; height: .3em; }
.hero h1 .u path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.4s .5s var(--out) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero p.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 46ch; margin: 0 0 24px; }
.bigsrch { display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: var(--card); box-shadow: var(--sh-l); max-width: 540px; }
.bigsrch input { flex: 1; min-width: 0; border: 0; outline: none; padding: 0 16px; font-size: 1rem; font-weight: 500; background: transparent; }
.sugg { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 14px; font-size: .84rem; color: var(--muted); align-items: center; }
.sugg a { padding: 4px 11px; border-radius: 999px; background: var(--card); color: var(--ink-2); font-weight: 600; transition: background .2s, color .2s; }
.sugg a:hover { background: var(--jade-t); color: var(--jade-d); }
.hstats { display: flex; gap: 28px; margin-top: 30px; flex-wrap: wrap; }
.hstats b { display: block; font-family: var(--head); font-size: 1.7rem; letter-spacing: -.03em; }
.hstats small { color: var(--muted); font-weight: 600; font-size: .82rem; }

.stack { position: relative; height: 510px; }
.stack .blob { position: absolute; inset: 6% 4%; border-radius: 42% 58% 55% 45% / 50% 40% 60% 50%; background: radial-gradient(circle at 30% 30%, var(--jade-t), transparent 60%), radial-gradient(circle at 75% 70%, var(--butter-t), transparent 60%), var(--sky-t); animation: morph 12s ease-in-out infinite; }
@keyframes morph { 50% { border-radius: 58% 42% 40% 60% / 40% 60% 45% 55%; transform: rotate(6deg); } }
.fc { position: absolute; width: 230px; background: var(--card); border-radius: var(--r); box-shadow: var(--sh-l); padding: 14px; transition: transform .6s var(--spring); }
.fc .im { height: 150px; border-radius: var(--r-s); background: var(--tb, var(--bg)); display: grid; place-items: center; }
.fc img { max-height: 130px; max-width: 86%; object-fit: contain; }
.fc img.fr { border-radius: 10px; max-height: 120px; }
.fc b { display: block; font-family: var(--head); font-size: .98rem; margin-top: 10px; letter-spacing: -.02em; }
.fc small { color: var(--muted); font-size: .8rem; font-weight: 600; }
.fc.f1 { left: 2%; top: 4%; transform: rotate(-7deg); }
.fc.f2 { right: 4%; top: 2%; transform: rotate(6deg); }
.fc.f3 { left: 30%; bottom: 0; transform: rotate(-2deg); z-index: 2; }
.stack:hover .f1 { transform: rotate(-12deg) translate(-18px, -6px); }
.stack:hover .f2 { transform: rotate(11deg) translate(18px, -8px); }
.stack:hover .f3 { transform: rotate(0) translateY(10px); }
.ptag { position: absolute; top: -14px; right: 18px; transform-origin: 50% -18px; animation: swing 3.2s ease-in-out infinite; z-index: 3; }
.ptag::before { content: ''; position: absolute; left: 50%; top: -18px; width: 1.5px; height: 20px; background: var(--ink-2); }
.ptag span { display: block; padding: 7px 12px 7px 20px; background: var(--butter); font-family: var(--mono); font-weight: 700; font-size: .82rem; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); position: relative; }
.ptag span::after { content: ''; position: absolute; left: 9px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--card); }
@keyframes swing { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(7deg); } }
.okbadge { position: absolute; right: 2%; bottom: 18%; z-index: 3; background: var(--card); border-radius: 999px; padding: 10px 16px 10px 10px; display: flex; gap: 10px; align-items: center; box-shadow: var(--sh-l); font-weight: 700; font-size: .88rem; animation: floaty 5s ease-in-out infinite; }
.okbadge i { width: 30px; height: 30px; border-radius: 50%; background: var(--jade); display: grid; place-items: center; }
.okbadge i svg { width: 16px; height: 16px; color: #fff; }
@keyframes floaty { 50% { transform: translateY(-10px); } }

/* Sections */
.sec { padding: 50px 0; }
.sec-h { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.sec-h h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 800; }
.sec-h p { margin: 6px 0 0; color: var(--ink-2); }
.kicker { font-family: var(--mono); font-size: .76rem; font-weight: 700; color: var(--jade-d); letter-spacing: .04em; text-transform: uppercase; display: block; margin-bottom: 8px; }

.grades { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.gcard { padding: 20px; position: relative; overflow: hidden; transition: transform .35s var(--spring); }
.gcard:hover { transform: translateY(-4px); }
.gcard::after { content: attr(data-g); position: absolute; right: -6px; bottom: -26px; font-family: var(--head); font-weight: 800; font-size: 6rem; color: var(--tb); letter-spacing: -.06em; line-height: 1; }
.gcard h3 { font-size: 1.1rem; margin: 12px 0 4px; position: relative; z-index: 1; }
.gcard p { margin: 0; font-size: .88rem; color: var(--ink-2); position: relative; z-index: 1; max-width: 26ch; }
.gcard .cnt { position: relative; z-index: 1; display: inline-block; margin-top: 12px; font-weight: 700; font-size: .84rem; color: var(--tc); }

.cats { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.cat { padding: 14px 10px 16px; text-align: center; display: grid; justify-items: center; gap: 8px; font-weight: 700; font-size: .9rem; transition: transform .35s var(--spring), box-shadow .3s; }
.cat:hover { transform: translateY(-5px) rotate(-1deg); box-shadow: var(--sh-l); }
.cat .ci { width: 100%; aspect-ratio: 1.2; border-radius: var(--r-s); background: var(--tb); display: grid; place-items: center; }
.cat .ci img { max-width: 70%; max-height: 74%; object-fit: contain; transition: transform .5s var(--spring); }
.cat .ci img.fr { border-radius: 8px; max-width: 64%; max-height: 64%; }
.cat:hover .ci img { transform: scale(1.1) rotate(-4deg); }
.cat small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; }

/* Unit card */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.uc { position: relative; display: flex; flex-direction: column; transition: transform .35s var(--spring), box-shadow .3s; min-width: 0; }
.uc:hover { transform: translateY(-5px); box-shadow: var(--sh-l); }
.uc-im { margin: 10px 10px 0; aspect-ratio: 1 / .86; border-radius: 16px; background: var(--tb, var(--bg)); display: grid; place-items: center; position: relative; overflow: hidden; }
.uc-im img { max-width: 76%; max-height: 80%; object-fit: contain; transition: transform .5s var(--spring); }
.uc-im img.fr { border-radius: 10px; max-width: 70%; max-height: 66%; box-shadow: 0 10px 20px -10px rgba(18, 32, 29, .45); }
.uc:hover .uc-im img { transform: scale(1.06); }
.uc .gr { position: absolute; top: 20px; left: 20px; z-index: 2; box-shadow: 0 0 0 3px var(--card); }
.uc .fav { position: absolute; top: 18px; right: 18px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .9); display: grid; place-items: center; transition: transform .3s var(--spring), color .2s; }
.uc .fav svg, .fav svg { width: 18px; height: 18px; }
.fav:hover { transform: scale(1.12); }
.fav.on { color: var(--salmon); }
.fav.on svg { fill: currentColor; }
.uc-b { padding: 12px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.uc-b .br { font-size: .76rem; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.uc-b h3 { font-size: 1rem; letter-spacing: -.02em; line-height: 1.25; }
.uc-b h3 a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.uc-b .tags { display: flex; gap: 4px; flex-wrap: wrap; margin-top: 4px; }
.uc-f { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: end; gap: 8px; }
.pr { font-family: var(--head); font-weight: 700; font-size: 1.12rem; letter-spacing: -.02em; }
.pr small { display: block; font-family: var(--body); font-weight: 600; font-size: .74rem; color: var(--jade-d); letter-spacing: 0; }
.cmpb { position: relative; z-index: 2; height: 34px; padding: 0 11px; border-radius: 999px; font-size: .76rem; font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--line); display: inline-flex; align-items: center; gap: 5px; transition: background .2s, color .2s, box-shadow .2s; flex: none; }
.cmpb svg { width: 14px; height: 14px; }
.cmpb.on { background: var(--sky); color: #fff; box-shadow: none; }
.uc.sold { opacity: .6; }
.uc.sold .uc-im::after { content: 'TERJUAL'; position: absolute; inset: auto 0 14px; margin: auto; width: max-content; padding: 6px 14px; border-radius: 999px; background: var(--ink); color: #fff; font-family: var(--mono); font-weight: 700; font-size: .78rem; }

/* Trade-in band */
.tband { background: var(--jade); color: #fff; border-radius: 32px; padding: 40px; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 30px; align-items: center; position: relative; overflow: hidden; }
.tband::before { content: ''; position: absolute; width: 380px; height: 380px; right: -100px; top: -140px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.tband h2 { font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; position: relative; }
.tband p { color: #d9f6ec; margin: 12px 0 22px; max-width: 46ch; position: relative; }
.tband .b { position: relative; }
.swap { display: flex; align-items: center; justify-content: center; gap: 14px; position: relative; }
.swap .sw { width: 140px; height: 160px; border-radius: 20px; background: rgba(255, 255, 255, .95); display: grid; place-items: center; padding: 12px; box-shadow: var(--sh-l); }
.swap .sw img { max-height: 120px; object-fit: contain; }
.swap .sw:first-child { transform: rotate(-6deg); }
.swap .sw:last-child { transform: rotate(6deg); }
.swap .ar { width: 48px; height: 48px; border-radius: 50%; background: var(--butter); color: var(--ink); display: grid; place-items: center; animation: spin 6s linear infinite; flex: none; }
.swap .ar svg { width: 22px; height: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; counter-reset: s; }
.step { padding: 22px; position: relative; }
.step::before { counter-increment: s; content: '0' counter(s); font-family: var(--mono); font-weight: 700; color: var(--jade-d); font-size: .9rem; }
.step h3 { font-size: 1.08rem; margin: 10px 0 6px; }
.step p { margin: 0; color: var(--ink-2); font-size: .9rem; }
.step .bar { height: 6px; border-radius: 999px; background: var(--bg); margin-top: 16px; overflow: hidden; }
.step .bar i { display: block; height: 100%; width: 0; background: var(--jade); border-radius: 999px; transition: width 1.4s var(--out); transition-delay: var(--d, 0s); }
.step.rv.in .bar i { width: 100%; }

.revs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.rev { padding: 22px; }
.rev .st { color: #e2a400; letter-spacing: 1px; }
.rev p { margin: 10px 0 14px; color: var(--ink-2); }
.rev footer { display: flex; gap: 10px; align-items: center; font-size: .88rem; }
.rev .av { width: 38px; height: 38px; border-radius: 50%; background: var(--tb, var(--jade-t)); color: var(--tc, var(--jade-d)); display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--card); border-radius: var(--r-s); box-shadow: var(--sh); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 50px 16px 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 20px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .3s var(--spring); }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: 0; padding: 0 20px 16px; color: var(--ink-2); }

/* Footer */
.ft { margin-top: 50px; background: var(--ink); color: #c5d3ce; padding: 50px 0 26px; border-radius: 36px 36px 0 0; }
.ft-g { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 28px; }
.ft h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.ft ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .92rem; }
.ft a:hover { color: var(--butter); }
.ft .logo { color: #fff; }
.ft p { font-size: .9rem; max-width: 36ch; }
.ft-b { margin-top: 30px; padding-top: 18px; border-top: 1px solid #2c3d39; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #8ea19b; }

/* Katalog */
.ph { padding: 30px 0 20px; }
.crumb { display: flex; gap: 6px; flex-wrap: wrap; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 10px; }
.crumb a:hover { color: var(--jade-d); }
.ph h1 { font-size: clamp(1.9rem, 4.4vw, 3rem); font-weight: 800; }
.ph p { margin: 8px 0 0; color: var(--ink-2); }
.fbar { position: sticky; top: 72px; z-index: 20; padding: 12px 0; background: rgba(238, 244, 241, .9); backdrop-filter: blur(10px); margin-bottom: 8px; }
.frow { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.frow::-webkit-scrollbar { display: none; }
.frow + .frow { margin-top: 8px; }
.frow .lab { font-size: .76rem; font-weight: 700; color: var(--muted); align-self: center; text-transform: uppercase; letter-spacing: .05em; flex: none; margin-right: 2px; }
.sel { height: 38px; border: 0; border-radius: 999px; background: var(--card); padding: 0 34px 0 14px; font-weight: 600; font-size: .86rem; outline: none; appearance: none; cursor: pointer; box-shadow: inset 0 0 0 1.5px var(--line); flex: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312201d' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 14px; }
.tgl { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px 0 8px; border-radius: 999px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-weight: 600; font-size: .86rem; cursor: pointer; flex: none; }
.tgl input { appearance: none; width: 34px; height: 20px; border-radius: 999px; background: var(--line); position: relative; margin: 0; cursor: pointer; transition: background .2s; }
.tgl input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; transition: transform .25s var(--spring); }
.tgl input:checked { background: var(--jade); }
.tgl input:checked::after { transform: translateX(14px); }
.kbar { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; margin: 6px 0 16px; font-size: .92rem; }
.empty { grid-column: 1 / -1; text-align: center; padding: 50px 20px; }
.empty .ill { width: 110px; height: 110px; margin: 0 auto 14px; border-radius: 50%; background: var(--jade-t); display: grid; place-items: center; animation: floaty 4s ease-in-out infinite; }
.empty .ill svg { width: 50px; height: 50px; color: var(--jade-d); }
.empty h3 { font-size: 1.4rem; margin-bottom: 6px; }
.empty p { color: var(--ink-2); max-width: 44ch; margin: 0 auto 18px; }

/* Produk */
.pd { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.gal { position: sticky; top: 92px; }
.gal-m { aspect-ratio: 1 / .9; border-radius: 28px; background: var(--tb, var(--bg-2)); display: grid; place-items: center; position: relative; overflow: hidden; }
.gal-m img { max-width: 76%; max-height: 80%; object-fit: contain; transition: opacity .25s, transform .35s var(--spring); }
.gal-m img.fr { border-radius: 16px; max-width: 70%; max-height: 72%; box-shadow: var(--sh-l); }
.gal-m img.sw { opacity: 0; transform: scale(.94); }
.gal-m .gr { position: absolute; left: 18px; top: 18px; }
.gal-m .sticker { position: absolute; right: 18px; bottom: 18px; background: var(--card); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: .84rem; box-shadow: var(--sh); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumbs button { width: 76px; height: 76px; border-radius: 16px; background: var(--card); padding: 8px; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s; }
.thumbs button.on { box-shadow: inset 0 0 0 2.5px var(--jade); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pi .top { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.pi h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; margin: 12px 0 8px; }
.pi .meta { display: flex; gap: 14px; flex-wrap: wrap; color: var(--ink-2); font-size: .9rem; font-weight: 500; }
.price-box { margin: 18px 0; padding: 18px 20px; }
.price-box .now { font-family: var(--head); font-size: 2.2rem; font-weight: 800; letter-spacing: -.04em; }
.price-box .was { color: var(--muted); font-size: .9rem; margin-top: 2px; }
.price-box .was s { margin-right: 6px; }
.price-box .save { color: var(--jade-d); font-weight: 700; }
.nego-ok { margin-top: 10px; padding: 8px 12px; border-radius: 12px; background: var(--butter-t); font-weight: 700; font-size: .86rem; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 18px; }
.fact { padding: 14px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--sh); min-width: 0; }
.fact small { display: block; color: var(--muted); font-weight: 700; font-size: .74rem; text-transform: uppercase; letter-spacing: .04em; }
.fact b { display: block; margin-top: 3px; font-size: .95rem; }
.batt { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.batt .cell { flex: 1; height: 16px; border-radius: 5px; box-shadow: inset 0 0 0 2px var(--ink); padding: 3px; position: relative; }
.batt .cell::after { content: ''; position: absolute; right: -6px; top: 4px; width: 4px; height: 8px; border-radius: 0 2px 2px 0; background: var(--ink); }
.batt .cell i { display: block; height: 100%; border-radius: 2px; background: var(--jade); width: 0; transition: width 1.2s var(--out); }
.batt .cell.mid i { background: #e2a400; }
.batt .cell.low i { background: var(--salmon); }
.batt b { font-family: var(--mono); font-size: .92rem; }
.minusbox { padding: 12px 14px; border-radius: 14px; background: var(--salmon-t); color: #a63a1a; font-weight: 600; font-size: .9rem; margin-bottom: 14px; display: flex; gap: 10px; }
.minusbox svg { width: 20px; height: 20px; flex: none; }
.note { padding: 12px 14px; border-radius: 14px; background: var(--card); box-shadow: inset 0 0 0 1.5px var(--line); font-size: .92rem; color: var(--ink-2); margin-bottom: 16px; }
.acts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.acts .wide { grid-column: 1 / -1; }
.panel-h { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin: 36px 0 14px; flex-wrap: wrap; }
.panel-h h2 { font-size: 1.5rem; font-weight: 800; }
.insp { padding: 8px 22px; }
.insp li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.insp li:last-child { border: 0; }
.insp ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 40px; }
.insp li { break-inside: avoid; }
.insp i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--jade-t); color: var(--jade-d); font-style: normal; }
.insp i svg { width: 14px; height: 14px; }
.insp li.w i { background: var(--salmon-t); color: #c4451f; }
.insp li small { color: var(--muted); font-weight: 600; font-size: .78rem; }
.insp-h { display: flex; align-items: center; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.insp-h .score { font-family: var(--head); font-size: 2rem; font-weight: 800; color: var(--jade-d); }
.spec { padding: 6px 22px; }
.spec div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.spec div:last-child { border: 0; }
.spec span { color: var(--muted); font-weight: 600; }
.two-c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.others { display: grid; gap: 10px; }
.orow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--card); box-shadow: var(--sh); transition: transform .3s var(--spring); }
.orow:hover { transform: translateX(4px); }
.orow small { color: var(--muted); font-weight: 600; font-size: .8rem; display: block; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 120; background: rgba(18, 32, 29, .45); backdrop-filter: blur(4px); display: grid; place-items: center; padding: 16px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.on { opacity: 1; pointer-events: auto; }
.mbox { width: min(460px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 24px; transform: translateY(20px) scale(.97); transition: transform .4s var(--spring); }
.modal.on .mbox { transform: none; }
.mbox h3 { font-size: 1.3rem; }
.mx { float: right; width: 36px; height: 36px; border-radius: 50%; background: var(--bg); display: grid; place-items: center; }
.mx svg { width: 16px; height: 16px; }
.chat { display: grid; gap: 8px; margin: 16px 0; max-height: 260px; overflow-y: auto; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 18px; font-size: .92rem; animation: pIn .3s var(--out); }
.msg.me { justify-self: end; background: var(--jade); color: #fff; border-bottom-right-radius: 6px; }
.msg.them { background: var(--bg); border-bottom-left-radius: 6px; }
.msg.typing { color: var(--muted); font-style: italic; }
.offer { display: flex; gap: 8px; }
.offer .cur { position: relative; flex: 1; min-width: 0; }
.offer .cur span { position: absolute; left: 16px; top: 50%; translate: 0 -50%; font-weight: 700; color: var(--muted); }
.offer input { width: 100%; height: 50px; border: 0; border-radius: 999px; background: var(--bg); padding: 0 16px 0 46px; font-weight: 700; font-size: 1.05rem; outline: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.offer input:focus { box-shadow: inset 0 0 0 2px var(--jade); }
.quick { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.quick button { padding: 5px 11px; border-radius: 999px; background: var(--bg); font-weight: 600; font-size: .8rem; }
.quick button:hover { background: var(--jade-t); }

/* Fields */
.fs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.fs .full { grid-column: 1 / -1; }
.f label { display: block; font-weight: 700; font-size: .82rem; margin: 0 0 6px 4px; color: var(--ink-2); }
.f input, .f select, .f textarea { width: 100%; height: 50px; border: 0; border-radius: var(--r-s); background: var(--bg); padding: 0 16px; font-weight: 600; font-size: 1rem; outline: none; box-shadow: inset 0 0 0 1.5px var(--line); transition: box-shadow .2s, background .2s; }
.f textarea { height: 90px; padding-top: 12px; resize: vertical; }
.f select { appearance: none; cursor: pointer; }
.f input:focus, .f select:focus, .f textarea:focus { box-shadow: inset 0 0 0 2px var(--jade); background: #fff; }
.f .er { display: none; color: #d0461f; font-size: .8rem; font-weight: 700; margin: 6px 4px 0; }
.f.bad input, .f.bad select, .f.bad textarea { box-shadow: inset 0 0 0 2px var(--salmon); background: #fff4f0; }
.f.bad .er { display: block; }

/* Tukar tambah */
.tt { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.tq { padding: 22px; }
.tq + .tq { margin-top: 14px; }
.tq h3 { font-size: 1.08rem; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.tq h3 .no { width: 30px; height: 30px; border-radius: 50%; background: var(--jade-t); color: var(--jade-d); font-family: var(--mono); font-size: .8rem; display: grid; place-items: center; flex: none; }
.opts { display: flex; gap: 8px; flex-wrap: wrap; }
.opts button { padding: 10px 16px; border-radius: 14px; background: var(--bg); font-weight: 600; font-size: .9rem; box-shadow: inset 0 0 0 1.5px transparent; transition: background .2s, box-shadow .2s, transform .2s var(--spring); }
.opts button:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.opts button.on { background: var(--jade-t); box-shadow: inset 0 0 0 2px var(--jade); color: var(--jade-d); transform: translateY(-1px); }
.est { position: sticky; top: 92px; padding: 24px; text-align: center; }
.est .val { font-family: var(--head); font-size: 2.3rem; font-weight: 800; letter-spacing: -.04em; color: var(--jade-d); margin: 6px 0; }
.est .range { color: var(--muted); font-weight: 600; font-size: .88rem; }
.est .meter { height: 10px; border-radius: 999px; background: var(--bg); margin: 16px 0; overflow: hidden; }
.est .meter i { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--salmon), var(--butter), var(--jade)); transition: width .8s var(--out); }
.tcredit { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--jade-t); font-weight: 700; font-size: .88rem; margin: 10px 0; flex-wrap: wrap; }
.tcredit button { text-decoration: underline; font-size: .8rem; }

/* Compare */
.cmp { overflow-x: auto; }
.cmp table { width: 100%; border-collapse: separate; border-spacing: 0; min-width: 640px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px dashed var(--line); font-size: .93rem; }
.cmp th { width: 170px; color: var(--muted); font-weight: 700; font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; }
.cmp td.best { color: var(--jade-d); font-weight: 800; }
.cmp td.best::after { content: ' ★'; color: #e2a400; }
.cmp .hcell { display: grid; gap: 8px; }
.cmp .hcell .im { height: 120px; border-radius: 16px; background: var(--tb, var(--bg)); display: grid; place-items: center; }
.cmp .hcell img { max-height: 100px; max-width: 80%; object-fit: contain; }
.cmp .hcell img.fr { border-radius: 8px; max-height: 84px; }
.cmp .hcell b { font-family: var(--head); letter-spacing: -.02em; }
.ctray { position: fixed; left: 50%; bottom: 18px; z-index: 60; translate: -50% 0; display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--ink); color: #fff; box-shadow: var(--sh-l); transform: translateY(140%); transition: transform .45s var(--spring); visibility: hidden; max-width: calc(100% - 32px); }
.ctray.on { transform: none; visibility: visible; }
.ctray .ims { display: flex; gap: 4px; }
.ctray .ims span { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: grid; place-items: center; overflow: hidden; }
.ctray .ims img { max-width: 80%; max-height: 80%; object-fit: contain; }
.ctray b { font-size: .9rem; white-space: nowrap; }
.ctray .x { color: #9fb4ad; font-size: .8rem; text-decoration: underline; white-space: nowrap; }

/* Cart & checkout */
.co { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 22px; align-items: start; }
.ci { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px; transition: opacity .3s, transform .3s var(--out); }
.ci + .ci { margin-top: 10px; }
.ci.bye { opacity: 0; transform: translateX(40px); }
.ci .im { width: 88px; height: 88px; border-radius: 16px; background: var(--tb, var(--bg)); display: grid; place-items: center; padding: 8px; }
.ci .im img { max-width: 100%; max-height: 100%; object-fit: contain; }
.ci b { display: block; font-family: var(--head); letter-spacing: -.02em; }
.ci small { display: block; color: var(--muted); font-weight: 600; font-size: .8rem; overflow-wrap: anywhere; }
.ci .r { display: grid; gap: 6px; justify-items: end; }
.ci .rm { font-size: .8rem; color: var(--ink-2); text-decoration: underline; }
.ci .rm:hover { color: #d0461f; }
.ci .was { font-size: .78rem; color: var(--muted); text-decoration: line-through; }
.sum { position: sticky; top: 92px; padding: 22px; }
.sum h3 { font-size: 1.15rem; margin-bottom: 10px; }
.kv { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; font-size: .93rem; }
.kv span:first-child { color: var(--ink-2); }
.kv b { text-align: right; min-width: 0; overflow-wrap: anywhere; }
.kv.minus b { color: var(--jade-d); }
.kv.tot { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 14px; align-items: baseline; }
.kv.tot span:first-child { color: var(--ink); font-weight: 700; }
.kv.tot b { font-family: var(--head); font-size: 1.6rem; letter-spacing: -.03em; }
.sec-box { padding: 22px; }
.sec-box + .sec-box { margin-top: 14px; }
.sec-box h3 { font-size: 1.1rem; margin-bottom: 14px; display: flex; gap: 10px; align-items: center; }
.sec-box h3 .no { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--mono); font-size: .8rem; display: grid; place-items: center; flex: none; }
.rcs { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.rc { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--bg); cursor: pointer; position: relative; min-width: 0; box-shadow: inset 0 0 0 1.5px transparent; transition: box-shadow .2s, background .2s; }
.rc:hover { box-shadow: inset 0 0 0 1.5px var(--line); }
.rc input { position: absolute; opacity: 0; pointer-events: none; }
.rc:has(input:checked) { background: var(--jade-t); box-shadow: inset 0 0 0 2px var(--jade); }
.rc:has(input:focus-visible) { outline: 3px solid var(--sky); outline-offset: 2px; }
.rc .pm { min-width: 50px; height: 30px; border-radius: 8px; color: #fff; display: grid; place-items: center; font-size: .66rem; font-weight: 800; padding: 0 6px; flex: none; }
.rc b { display: block; font-size: .9rem; line-height: 1.2; }
.rc small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.rc .sd { margin-left: auto; font-weight: 700; font-size: .86rem; white-space: nowrap; }
.vrow { display: flex; gap: 8px; margin: 12px 0 6px; }
.vrow input { flex: 1; min-width: 0; height: 44px; border: 0; border-radius: 999px; background: var(--bg); padding: 0 16px; font-family: var(--mono); font-weight: 700; text-transform: uppercase; outline: none; box-shadow: inset 0 0 0 1.5px var(--line); }
.vhint { display: flex; gap: 6px; flex-wrap: wrap; font-size: .76rem; color: var(--muted); align-items: center; }
.vhint button { font-family: var(--mono); font-size: .72rem; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--jade-t); color: var(--jade-d); }
.von { display: flex; justify-content: space-between; gap: 10px; align-items: center; padding: 10px 14px; border-radius: 14px; background: var(--jade-t); font-weight: 700; font-size: .86rem; margin: 12px 0 6px; }
.von button { text-decoration: underline; font-size: .8rem; }
.secure { display: flex; gap: 8px; align-items: center; justify-content: center; color: var(--muted); font-size: .78rem; font-weight: 600; margin-top: 10px; }
.secure svg { width: 14px; height: 14px; }

/* Pay overlay */
.payo { position: fixed; inset: 0; z-index: 130; background: rgba(238, 244, 241, .92); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 20px; opacity: 0; pointer-events: none; transition: opacity .3s; }
.payo.on { opacity: 1; pointer-events: auto; }
.payo-in { width: min(400px, 100%); padding: 28px; text-align: center; }
.payo h3 { font-size: 1.3rem; margin-bottom: 4px; }
.psteps { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; text-align: left; }
.psteps li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--bg); font-weight: 600; color: var(--muted); transition: background .3s, color .3s; }
.psteps li i { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--line); flex: none; font-style: normal; }
.psteps li i svg { width: 14px; height: 14px; }
.psteps li.run { color: var(--ink); background: var(--butter-t); }
.psteps li.run i { background: transparent; border: 3px solid var(--ink); border-right-color: transparent; animation: spin .8s linear infinite; }
.psteps li.ok { color: var(--ink); background: var(--jade-t); }
.psteps li.ok i { background: var(--jade); color: #fff; }

/* Order */
.done-h { text-align: center; padding: 26px 0 6px; }
.done-h .ok { width: 92px; height: 92px; margin: 0 auto 14px; border-radius: 50%; background: var(--jade); display: grid; place-items: center; animation: pop .6s var(--spring) both; box-shadow: 0 0 0 12px var(--jade-t); }
.done-h .ok svg { width: 44px; height: 44px; color: #fff; }
.done-h .ok path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s .35s var(--out) forwards; }
@keyframes pop { from { transform: scale(0); } }
.done-h h1 { font-size: clamp(1.8rem, 4.6vw, 2.8rem); font-weight: 800; }
.done-h p { color: var(--ink-2); max-width: 54ch; margin: 8px auto 0; }
.inv { padding: 24px; }
.inv-h { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: start; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.inv-h .id { font-family: var(--mono); font-weight: 700; }
.oi { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.oi .im { width: 64px; height: 64px; border-radius: 14px; background: var(--tb, var(--bg)); display: grid; place-items: center; padding: 6px; }
.oi .im img { max-width: 100%; max-height: 100%; object-fit: contain; }
.oi b { display: block; font-size: .95rem; }
.oi small { display: block; color: var(--muted); font-size: .78rem; font-weight: 600; }
.warr { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--sky-t); margin-top: 16px; font-size: .9rem; }
.warr svg { width: 26px; height: 26px; color: var(--sky); flex: none; }
.trk { list-style: none; padding: 0; margin: 16px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); position: relative; }
.trk::before { content: ''; position: absolute; top: 14px; left: 12.5%; right: 12.5%; height: 4px; border-radius: 999px; background: var(--bg-2); }
.trk .pg { position: absolute; top: 14px; left: 12.5%; height: 4px; border-radius: 999px; background: var(--jade); transition: width 1s var(--out); }
.trk li { text-align: center; position: relative; font-size: .8rem; font-weight: 700; color: var(--muted); }
.trk li i { width: 32px; height: 32px; margin: 0 auto 6px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-style: normal; font-family: var(--mono); font-size: .74rem; transition: background .4s, color .4s; }
.trk li.ok { color: var(--ink); }
.trk li.ok i { background: var(--jade); color: #fff; }
.trk li small { display: block; font-weight: 500; font-size: .72rem; }
.olist { display: grid; gap: 12px; }
.olr { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 20px; transition: transform .3s var(--spring); }
.olr:hover { transform: translateY(-3px); }
.olr .id { font-family: var(--mono); font-weight: 700; }
.olr .ims { display: flex; gap: 6px; margin-top: 10px; }
.olr .ims span { width: 46px; height: 46px; border-radius: 12px; background: var(--tb, var(--bg)); display: grid; place-items: center; padding: 4px; }
.olr .ims img { max-width: 100%; max-height: 100%; object-fit: contain; }

/* Credits */
.cr { padding: 8px 22px; font-size: .9rem; }
.cr div { padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cr div:last-child { border: 0; }
.cr a { color: var(--jade-d); text-decoration: underline; font-weight: 600; }

/* Toast */
.toasts { position: fixed; right: 18px; bottom: 18px; z-index: 150; display: grid; gap: 8px; justify-items: end; width: min(380px, calc(100% - 32px)); pointer-events: none; }
.toast { pointer-events: none; display: flex; gap: 10px; align-items: center; padding: 12px 16px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 600; font-size: .9rem; box-shadow: var(--sh-l); animation: tIn .45s var(--spring) both; }
.toast i { width: 22px; height: 22px; border-radius: 50%; background: var(--jade); flex: none; display: grid; place-items: center; }
.toast i svg { width: 12px; height: 12px; color: #fff; }
.toast.err i { background: var(--salmon); }
.toast.out { animation: tOut .3s forwards; }
@keyframes tIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
@keyframes tOut { to { opacity: 0; transform: translateY(10px); } }

/* Responsive */
@media (max-width: 1100px) {
  .srch { display: none; }
  .hd-r { margin-left: auto; }
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .grades, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .nav { display: none; }
  .hero-g, .pd, .co, .tt, .tband, .two-c { grid-template-columns: minmax(0, 1fr); }
  .stack { height: 400px; max-width: 520px; margin: 0 auto; width: 100%; }
  .gal, .sum, .est { position: static; }
  .revs { grid-template-columns: minmax(0, 1fr); }
  .ft-g { grid-template-columns: 1fr 1fr; }
  .insp ul { columns: 1; }
  .fbar { top: 64px; }
  .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 50; padding: 6px; border-radius: 22px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); box-shadow: var(--sh-l); }
  .tabbar a { display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 16px; font-size: .68rem; font-weight: 700; color: var(--muted); position: relative; transition: background .2s, color .2s; }
  .tabbar a svg { width: 22px; height: 22px; }
  .tabbar a.on { color: var(--jade-d); background: var(--jade-t); }
  .tabbar .n { position: absolute; top: 2px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px; background: var(--salmon); color: #fff; font-size: .62rem; display: grid; place-items: center; }
  .tabbar .n[hidden] { display: none; }
  body { padding-bottom: 86px; }
  .toasts { bottom: 96px; }
  .ctray { bottom: 96px; }
}
@media (max-width: 640px) {
  .ann { font-size: .74rem; }
  .hd-in { height: 64px; gap: 10px; }
  .logo { font-size: 1rem; }
  .logo .mk { width: 34px; height: 34px; }
  #cartTop, #favTop { display: none; }
  .ib { width: 42px; height: 42px; }
  .hero h1 { font-size: 2.3rem; }
  .bigsrch .b { padding: 0 16px; }
  .stack { height: 340px; }
  .fc { width: 170px; padding: 10px; }
  .fc .im { height: 110px; }
  .fc img { max-height: 96px; }
  .fc.f3 { left: 22%; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .uc-im { margin: 7px 7px 0; }
  .uc .gr { top: 14px; left: 14px; min-width: 30px; height: 30px; font-size: .74rem; }
  .uc .fav { top: 12px; right: 12px; width: 34px; height: 34px; }
  .uc-b { padding: 10px 11px 12px; }
  .uc-b h3 { font-size: .9rem; }
  .uc-b .br span:last-child { display: none; }
  .uc-f { flex-direction: column; align-items: stretch; }
  .cmpb { justify-content: center; }
  .pr { font-size: 1rem; }
  .cats { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .cat { font-size: .78rem; padding: 10px 6px 12px; }
  .cat small { display: none; }
  .grades { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
  .gcard { padding: 16px; }
  .gcard p { font-size: .8rem; }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .tband { padding: 26px; border-radius: 26px; }
  .swap .sw { width: 110px; height: 130px; }
  .swap .sw img { max-height: 96px; }
  .fs, .rcs, .facts { grid-template-columns: minmax(0, 1fr); }
  .acts { grid-template-columns: minmax(0, 1fr); }
  .spec div { grid-template-columns: 110px minmax(0, 1fr); }
  .ci { grid-template-columns: 70px minmax(0, 1fr); }
  .ci .im { width: 70px; height: 70px; }
  .ci .r { grid-column: 2; grid-auto-flow: column; justify-content: space-between; align-items: center; }
  .ft-g { grid-template-columns: minmax(0, 1fr); }
  .ft { border-radius: 26px 26px 0 0; }
  .ctray b { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .rv { opacity: 1; transform: none; }
}
@media (max-width: 1100px) { #srchM { display: grid !important; } }
.gal-m .gr { background: #fff; box-shadow: var(--sh); }
