/* TokoKu – gaya megastore: putih bersih, aksen oranye, navy untuk teks dan footer */
@font-face { font-family: "Jakarta"; src: url("../fonts/jakarta.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }

:root {
    --ink: #0E1A33; --text: #2A3552; --muted: #667089; --line: #E3E8F1; --soft: #F4F6FA; --white: #fff;
    --brand: #FF5A1F; --brand-d: #E24608; --brand-soft: #FFEDE4; --green: #16A06A; --red: #E5383B; --star: #FFB020;
    --r: 14px; --r-s: 9px; --shadow: 0 10px 30px -12px rgba(14, 26, 51, .22);
    --sat: env(safe-area-inset-top, 0px); --sab: env(safe-area-inset-bottom, 0px);
    --tab-h: 62px;
}
.tone-elektronik { --tile: #E5ECFF; --a: #fff; --b: #3B6BFF; --c: #0E1A33; }
.tone-fashion    { --tile: #FFE7EE; --a: #0E1A33; --b: #fff; --c: #FF4F81; }
.tone-rumah      { --tile: #E1F5EA; --a: #fff; --b: #1FA971; --c: #0E1A33; }
.tone-makanan    { --tile: #FFEFD9; --a: #fff; --b: #FF8A1F; --c: #4A2B14; }
.tone-lain       { --tile: #ECEFF5; --a: #fff; --b: #667089; --c: #0E1A33; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { margin: 0; font: 400 16px/1.55 "Jakarta", system-ui, -apple-system, "Segoe UI", sans-serif; color: var(--text); background: var(--white); }
h1, h2, h3, p, ul, dl, dd, fieldset { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid #5B8CFF; outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--muted); }
.i { flex: none; }

.h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; color: var(--ink); font-weight: 800; letter-spacing: -.02em; }
.h1-sm { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.h2 { font-size: clamp(1.25rem, 2.2vw, 1.6rem); line-height: 1.2; color: var(--ink); font-weight: 800; letter-spacing: -.015em; display: flex; align-items: center; gap: 10px; }
.h2 .i { color: var(--brand); }
.block { margin-top: clamp(36px, 5vw, 64px); }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--brand-d); }
.more:hover { gap: 10px; }
.more { transition: gap .2s; }

/* ---------- Tombol ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; text-align: center; transition: background .2s, transform .15s, box-shadow .2s; box-shadow: 0 8px 18px -8px rgba(255, 90, 31, .7); }
.btn:hover { background: var(--brand-d); }
.btn:active { transform: scale(.97); }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink); box-shadow: none; }
.btn-light:hover { background: var(--ink); color: #fff; }
.btn:disabled { opacity: .8; cursor: default; }
.btn .t-add { display: inline-flex; align-items: center; gap: 8px; }
.btn .t-done, .item-add .t-done { display: none; }
[data-state="done"] .t-add { display: none; }
[data-state="done"] .t-done { display: inline-flex; align-items: center; gap: 8px; }
.btn[data-state="done"] { background: var(--green); box-shadow: none; }

/* ---------- Topbar ---------- */
.topbar { background: var(--ink); color: #C9D2E8; font-size: .8125rem; }
.topbar .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 8px; }
.topbar p { display: flex; align-items: center; gap: 8px; }
.topbar-r { gap: 22px !important; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: #fff; transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px -14px rgba(14, 26, 51, .35); }
.head { display: flex; align-items: center; gap: 24px; padding-block: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 1.55rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); }
.brand b { color: var(--brand); font-weight: 800; }
.brand-mark { width: 34px; height: 34px; color: var(--brand); }
.back, .app-search { display: none; }

.search { position: relative; flex: 1; display: flex; max-width: 720px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; }
.search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.search select { border: 0; background: transparent; padding: 0 12px 0 20px; border-right: 1px solid var(--line); font-weight: 600; max-width: 200px; min-width: 170px; outline: none; border-radius: 999px 0 0 999px; color: var(--ink); }
.search input { flex: 1; min-width: 0; border: 0; padding: 12px 16px; background: transparent; outline: none; }
.search button { border: 0; background: var(--ink); color: #fff; width: 54px; border-radius: 0 999px 999px 0; display: grid; place-items: center; transition: background .2s; }
.search button:hover { background: var(--brand); }
.suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: 8px; z-index: 70; }
.suggest a, .sheet-results a { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px; border-radius: 10px; }
.suggest a:hover { background: var(--soft); }
.sr-art { display: block; width: 52px; aspect-ratio: 1; background: var(--tile); border-radius: 10px; padding: 4px; }
.sr-t strong { display: block; color: var(--ink); font-size: .9375rem; line-height: 1.25; }
.sr-t small { color: var(--muted); }
.sr-p { text-align: right; display: grid; }
.sr-p b { color: var(--ink); } .sr-p s { color: var(--muted); font-size: .8125rem; }

.cart-link { margin-left: auto; display: flex; align-items: center; gap: 12px; color: var(--ink); }
.cl-ic { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--soft); transition: background .2s; }
.cart-link:hover .cl-ic { background: var(--brand-soft); color: var(--brand-d); }
.cl-text small { display: block; color: var(--muted); font-size: .75rem; line-height: 1.2; }
.cl-text strong { font-size: .9375rem; }
.count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; display: grid; place-items: center; border-radius: 99px; background: var(--brand); color: #fff; font-size: .6875rem; font-weight: 800; border: 2px solid #fff; }
.count.pop { animation: pop .4s cubic-bezier(.3, 1.6, .5, 1); }
@keyframes pop { 0% { transform: scale(.4); } 100% { transform: scale(1); } }
.shake { animation: shake .45s; }
@keyframes shake { 20% { transform: rotate(-12deg) scale(1.1); } 50% { transform: rotate(10deg) scale(1.1); } 80% { transform: rotate(-4deg); } }
.bump { animation: bump .35s; }
@keyframes bump { 40% { transform: translateY(-3px); color: var(--brand-d); } }

/* ---------- Menu utama ---------- */
.mainnav { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.mn { display: flex; align-items: center; gap: 28px; }
.allcat { position: relative; }
.allcat-btn { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px; background: var(--brand); color: #fff; border: 0; font-weight: 700; border-radius: 0; }
.allcat-btn .i-chevron { transition: transform .25s; }
.allcat.open .i-chevron { transform: rotate(180deg); }
.mega { position: absolute; left: 0; top: 100%; width: 340px; background: #fff; border: 1px solid var(--line); border-top: 0; border-radius: 0 0 var(--r) var(--r); box-shadow: var(--shadow); padding: 8px; display: grid; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .22s; z-index: 70; }
.allcat.open .mega, .allcat:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega a { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 10px; }
.mega a:hover { background: var(--soft); }
.mega-art { width: 54px; flex: none; aspect-ratio: 1; padding: 5px; border-radius: 10px; background: var(--tile); }
.mega strong { display: block; color: var(--ink); line-height: 1.2; }
.mega small { color: var(--muted); }
.mn ul { display: flex; gap: 6px; }
.mn ul a { display: inline-flex; align-items: center; gap: 6px; min-height: 52px; padding: 0 14px; font-weight: 600; color: var(--ink); position: relative; }
.mn ul a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 0; height: 3px; background: var(--brand); transform: scaleX(0); transition: transform .25s; transform-origin: left; border-radius: 3px 3px 0 0; }
.mn ul a:hover::after, .mn ul a[aria-current="page"]::after { transform: scaleX(1); }
.mn ul a.hot { color: var(--brand-d); }

/* ---------- Hero ---------- */
.hero-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 20px; margin-top: 22px; }
.slider { position: relative; border-radius: 20px; overflow: hidden; min-width: 0; }
.slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.slides::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 12px; min-height: 420px; padding: 44px 48px 56px; }
.s1 { background: linear-gradient(120deg, #DCE6FF, #EEF3FF); }
.s2 { background: linear-gradient(120deg, #FFDDE7, #FFF1F5); }
.s3 { background: linear-gradient(120deg, #D6F2E3, #EFFAF4); }
.kicker { display: inline-block; font-size: .8125rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-d); }
.slide-text { display: grid; gap: 14px; justify-items: start; }
.slide-h { font-size: clamp(1.8rem, 3.4vw, 2.9rem); line-height: 1.08; letter-spacing: -.03em; color: var(--ink); font-weight: 800; }
.slide-text p:not(.kicker) { max-width: 40ch; color: var(--text); }
.slide-art { background: none; padding: 0; }
.slide-art .art { width: 100%; max-height: 330px; filter: drop-shadow(0 24px 24px rgba(14, 26, 51, .18)); }
.slide-art .art { animation: floaty 5s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-10px) rotate(1.5deg); } }
.dots { position: absolute; left: 48px; bottom: 22px; display: flex; gap: 8px; }
.dots button { width: 10px; height: 10px; border-radius: 99px; border: 0; background: rgba(14, 26, 51, .25); padding: 0; transition: width .3s, background .3s; }
.dots button[aria-current] { width: 30px; background: var(--brand); }

.side-banners { display: grid; gap: 20px; }
.sb { position: relative; overflow: hidden; border-radius: 20px; padding: 24px; display: grid; align-content: start; gap: 6px; min-height: 200px; transition: transform .3s, box-shadow .3s; }
.sb:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sb-a { background: #FFEBD2; } .sb-b { background: #DCE6FF; }
.sb strong { font-size: 1.25rem; line-height: 1.2; max-width: 11ch; color: var(--ink); font-weight: 800; }
.sb .more { margin-top: 8px; }
.sb i { position: absolute; right: -6px; bottom: -4px; width: 52%; background: none; padding: 0; }
.sb i .art { filter: drop-shadow(0 12px 12px rgba(14, 26, 51, .18)); transition: transform .4s; }
.sb:hover i .art { transform: scale(1.08) rotate(-3deg); }

/* ---------- Keunggulan ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; padding: 20px 24px; border: 1px solid var(--line); border-radius: 18px; }
.feat { display: flex; align-items: center; gap: 14px; }
.feat .i { color: var(--brand); stroke-width: 1.6; }
.feat strong { display: block; color: var(--ink); line-height: 1.25; }
.feat span { font-size: .875rem; color: var(--muted); }

/* ---------- Kategori: pita berjalan ---------- */
.cats { --gap: 20px; overflow: hidden; padding: 18px 0 26px; margin-block: -18px -26px;
        -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
        mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.cats-track { display: flex; width: max-content; animation: catRun 46s linear infinite; }
.cats:hover .cats-track, .cats:focus-within .cats-track { animation-play-state: paused; }
.cats-group { display: flex; gap: var(--gap); padding-right: var(--gap); }
.cat { position: relative; flex: none; width: 188px; display: grid; justify-items: center; gap: 2px; padding: 22px 16px 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s; }
.cat:hover, .cat:focus-visible { transform: translateY(-8px) scale(1.04); box-shadow: var(--shadow); border-color: transparent; }
.cat-art { position: relative; width: 72%; aspect-ratio: 1; padding: 12%; border-radius: 50%; background: var(--tile); margin-bottom: 12px; animation: catBob 4.2s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.9s); transition: transform .4s; }
.cat-art::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px dashed var(--ring, var(--brand)); opacity: .6; animation: spin 14s linear infinite; }
.cat:hover .cat-art, .cat:focus-visible .cat-art { transform: scale(1.1) rotate(-6deg); }
.cat:hover .cat-art::before { animation-duration: 3s; opacity: 1; }
.cat strong { color: var(--ink); font-size: 1.0625rem; }
.cat small { color: var(--muted); }
.cat-art.tone-elektronik { --ring: #3B6BFF; } .cat-art.tone-fashion { --ring: #FF4F81; } .cat-art.tone-rumah { --ring: #1FA971; } .cat-art.tone-makanan { --ring: #FF8A1F; }
@keyframes catRun { to { transform: translateX(-50%); } }
@keyframes catBob { 50% { transform: translateY(-9px); } }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Penawaran ---------- */
.deals { background: linear-gradient(180deg, var(--brand-soft), #fff 70%); border-radius: 22px; padding: clamp(20px, 3vw, 34px); border: 1px solid #FFD9C7; }
.deals-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.deals-head p { color: var(--muted); margin-top: 4px; }
.count { }
.deals .count { position: static; display: flex; gap: 8px; min-width: 0; height: auto; padding: 0; border: 0; background: none; }
.deals .count span { display: grid; justify-items: center; min-width: 64px; padding: 8px 10px; background: var(--ink); color: #fff; border-radius: 12px; }
.deals .count b { font-size: 1.5rem; line-height: 1.1; font-variant-numeric: tabular-nums; font-weight: 800; }
.deals .count small { font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: #AEB8D2; }

/* ---------- Promo lebar ---------- */
.promos { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo { position: relative; overflow: hidden; display: grid; gap: 12px; justify-items: start; align-content: center; min-height: 230px; padding: 32px; border-radius: 20px; color: #fff; transition: transform .3s; }
.promo:hover { transform: translateY(-4px); }
.promo .kicker { color: #FFD3BF; }
.promo strong { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.2; max-width: 16ch; font-weight: 800; }
.p1 { background: linear-gradient(120deg, #0E3D2C, #17805A); }
.p2 { background: linear-gradient(120deg, #1A2347, #3C2C7A); }
.promo i { position: absolute; right: 20px; bottom: -10px; width: 36%; background: none; padding: 0; }
.promo i .art { filter: drop-shadow(0 14px 14px rgba(0, 0, 0, .3)); transition: transform .4s; }
.promo:hover i .art { transform: scale(1.08) rotate(3deg); }

/* ---------- Tab ---------- */
.tabs-head { align-items: flex-end; }
.ptabs { display: flex; gap: 6px; flex-wrap: wrap; border-bottom: 2px solid var(--line); }
.tabs-head .ptabs { border: 0; }
.ptabs button { border: 0; background: none; padding: 10px 18px; font-weight: 700; color: var(--muted); border-radius: 999px; transition: .2s; }
.tabs-head .ptabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.tabs-head .ptabs button:hover:not([aria-selected="true"]) { background: var(--soft); color: var(--ink); }
.dtabs .ptabs button { border-radius: 0; padding: 14px 22px; position: relative; margin-bottom: -2px; border-bottom: 3px solid transparent; }
.dtabs .ptabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--brand); }
.js .panel[data-off] { display: none; }
.js .panel-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.panel-t { margin: 28px 0 14px; color: var(--ink); }
.panel { animation: fadeUp .4s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } }
.dtabs .panel { padding: 24px 0 0; max-width: 78ch; }
.dtabs .panel-t { margin-top: 0; }

/* ---------- Kartu produk ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.item { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.item:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.item-art { position: relative; display: block; aspect-ratio: 1 / .82; padding: 11%; background: var(--tile); overflow: hidden; }
.item-art .art { width: 100%; height: 100%; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.item:hover .item-art .art { transform: scale(1.1) rotate(-3deg); }
.badge { position: absolute; left: 12px; top: 12px; padding: 3px 10px; border-radius: 99px; background: var(--red); color: #fff; font-size: .8125rem; font-weight: 800; }
.item-body { padding: 14px 16px 6px; display: grid; gap: 4px; flex: 1; align-content: start; }
.item-cat { font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.item h3 { font-size: 1rem; line-height: 1.3; color: var(--ink); font-weight: 700; }
.item h3 a:hover { color: var(--brand-d); }
.item-meta { display: flex; align-items: center; gap: 10px; font-size: .8125rem; color: var(--muted); flex-wrap: wrap; }
.item-meta.big { font-size: .9375rem; gap: 14px; margin: 8px 0 4px; }
.stars { display: inline-flex; gap: 1px; }
.stars i { color: #D5DBE8; display: inline-flex; } .stars i.on { color: var(--star); }
.item-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.item-price strong { font-size: 1.1875rem; color: var(--ink); font-weight: 800; }
.item-price s, .price-big s { color: var(--muted); font-size: .875rem; }
.item-low { font-size: .8125rem; font-weight: 700; color: var(--red); }
.item-out { padding: 12px 16px 16px; font-weight: 700; color: var(--muted); }
.item-form { padding: 10px 16px 16px; }
.item-add { width: 100%; min-height: 42px; border: 2px solid var(--ink); border-radius: 999px; background: #fff; color: var(--ink); font-weight: 700; display: flex; align-items: center; justify-content: center; transition: .2s; }
.item-add .t-add, .item-add .t-done { display: inline-flex; align-items: center; gap: 8px; }
.item-add em { font-style: normal; }
.item-add:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.item-add[data-state="done"] { background: var(--green); border-color: var(--green); color: #fff; }
.item-add[data-state="done"] .t-add { display: none; }
.item-add .t-done { display: none; }
.item-add[data-state="done"] .t-done { display: inline-flex; }

/* ---------- Daftar produk ---------- */
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 18px; font-size: .875rem; color: var(--muted); }
.crumbs a:hover { color: var(--brand-d); }
.crumbs > :not(:last-child)::after { content: "/"; margin-left: 8px; color: #B6BED0; }
.crumbs span:last-child { color: var(--ink); font-weight: 600; }
.list-grid { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 32px; align-items: start; }
.side { position: sticky; top: 140px; }
.side-toggle { display: none; }
.side-body { display: grid; gap: 18px; }
.field { display: flex; align-items: center; gap: 10px; padding: 0 16px; min-height: 46px; border: 1.5px solid var(--line); border-radius: 999px; }
.field:focus-within { border-color: var(--brand); }
.field input { flex: 1; min-width: 0; border: 0; outline: none; background: none; }
.box { border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px 16px; }
.box legend { padding: 0 8px; font-weight: 800; color: var(--ink); }
.opt { display: flex; align-items: center; gap: 10px; padding: 8px 0; cursor: pointer; }
.opt input { accent-color: var(--brand); width: 18px; height: 18px; }
.opt em { margin-left: auto; font-style: normal; font-size: .8125rem; color: var(--muted); background: var(--soft); padding: 1px 9px; border-radius: 99px; }
.range { display: flex; align-items: center; gap: 8px; }
.range input, .sort select { width: 100%; min-height: 42px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; background: #fff; }
.range input:focus, .sort select:focus { border-color: var(--brand); outline: none; }
.hint { font-size: .8125rem; color: var(--muted); margin-top: 8px; }
.sort { display: grid; gap: 6px; font-weight: 800; color: var(--ink); }
.sort select { font-weight: 500; }
.reset { text-align: center; font-weight: 700; color: var(--brand-d); }
.apply { display: none; }
.js .apply { display: none; }
.list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; flex-wrap: wrap; }
#productGrid[aria-busy="true"] { opacity: .5; transition: opacity .2s; }
.empty { display: grid; justify-items: center; gap: 16px; text-align: center; padding: 56px 20px; border: 2px dashed var(--line); border-radius: 18px; }

/* ---------- Detail produk ---------- */
.detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.detail-media { position: sticky; top: 140px; display: grid; gap: 12px; min-width: 0; }
.detail-art { position: relative; aspect-ratio: 1 / .88; padding: 12%; background: var(--tile); border-radius: 22px; }
.detail-art .art { width: 100%; height: 100%; animation: floaty 6s ease-in-out infinite; filter: drop-shadow(0 22px 20px rgba(14, 26, 51, .18)); }
.detail-art .badge { left: 18px; top: 18px; font-size: 1rem; padding: 5px 14px; }
.detail-info { display: grid; gap: 12px; align-content: start; }
.detail-art .art-img { transition: opacity .18s; }
.detail-art .art-img.is-swap { opacity: .25; }
.detail-art.has-gal { padding-bottom: 104px; }
.gal { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: center; gap: 8px; margin: 0; padding: 8px; list-style: none; overflow-x: auto; scrollbar-width: none; background: rgba(255, 255, 255, .72); backdrop-filter: blur(8px); border-radius: 16px; }
.gal::-webkit-scrollbar { display: none; }
.gal li { flex: none; }
.gal-b { display: block; width: 56px; height: 56px; padding: 0; overflow: hidden; cursor: pointer; border: 2px solid transparent; border-radius: 12px; background: #fff; opacity: .72; transition: opacity .2s, border-color .2s, transform .2s; }
.gal-b img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gal-b:hover { opacity: 1; transform: translateY(-2px); }
.gal-b[aria-current="true"] { opacity: 1; border-color: var(--brand); }
.gal-b:focus-visible, .gal-nav:focus-visible, .vchip:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.gal-nav { position: absolute; top: calc(50% - 52px); z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(14, 26, 51, .35); cursor: pointer; transition: transform .2s, background .2s; }
.gal-nav:hover { background: #fff; transform: scale(1.08); }
.gal-nav.prev { left: 12px; } .gal-nav.next { right: 12px; } .gal-nav.next svg { transform: scaleX(-1); }
.gal-count { position: absolute; right: 16px; top: 16px; padding: 3px 11px; border-radius: 99px; background: rgba(14, 26, 51, .62); color: #fff; font-size: .8125rem; font-weight: 700; }
.gal-count b { font-weight: 800; }
.vopts { display: grid; gap: 14px; padding-block: 4px; }
.vopt-t { margin-bottom: 8px; font-size: .9375rem; font-weight: 700; color: var(--ink); }
.vopt-t b { font-weight: 600; color: var(--muted); }
.vopt-t b:not(:empty)::before { content: ": "; }
.vopt-l { display: flex; flex-wrap: wrap; gap: 8px; }
.vchip { min-height: 40px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font-weight: 700; color: var(--text); transition: .2s; }
.vchip:hover { border-color: var(--brand); }
.vchip[aria-pressed="true"] { border-color: var(--brand); background: var(--brand-soft); color: var(--brand-d); }
.vchip { display: inline-flex; align-items: center; gap: 8px; }
.vchip:has(.vchip-i) { padding-left: 6px; }
.vchip-i { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(14, 26, 51, .12); }

/* Foto asli: bingkai putih bersih, tanpa goyang/bayangan ilustrasi; zoom mengikuti kursor, klik = layar penuh */
.detail-art.has-photo { aspect-ratio: 1 / 1; padding: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; isolation: isolate; cursor: zoom-in; }
.detail-art.has-photo.has-gal { padding-bottom: 96px; }
.detail-art.has-photo .art { animation: none; filter: none; transform: none; border-radius: 12px; object-fit: contain; transition: transform .28s var(--out, ease-out), opacity .18s; will-change: transform; }
.detail-art.has-photo.zooming .art { transform: scale(2.2); }
.detail-art.has-photo .gal, .detail-art.has-photo .gal-nav, .detail-art.has-photo .zoom-btn { cursor: pointer; }
.zoom-btn { position: absolute; right: 12px; top: 12px; z-index: 2; width: 40px; height: 40px; display: none; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); box-shadow: 0 6px 16px -6px rgba(14, 26, 51, .35); transition: transform .2s; }
.js .zoom-btn { display: grid; }
.zoom-btn:hover { transform: scale(1.08); } .zoom-btn:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.has-gal .gal-count { right: 62px; top: 19px; }

/* Layar penuh */
.lb { width: 100vw; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #fff; }
.lb::backdrop { background: rgba(10, 16, 32, .93); backdrop-filter: blur(6px); }
.lb[open] { animation: lbIn .25s var(--out, ease-out); }
@keyframes lbIn { from { opacity: 0; } }
.lb-in { position: relative; height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.lb-top { display: flex; align-items: center; gap: 14px; padding: 14px 18px; }
.lb-cap { flex: 1; min-width: 0; margin: 0; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lb-count { font-size: .875rem; font-weight: 700; opacity: .75; }
.lb-tools { display: flex; gap: 8px; }
.lb-b { width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background .2s; }
.lb-b:hover { background: rgba(255, 255, 255, .28); } .lb-b:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lb-stage { display: flex; min-height: 0; overflow: auto; padding: 0 72px 24px; touch-action: pan-y pinch-zoom; overscroll-behavior: contain; }
.lb.zoomed .lb-stage { touch-action: auto; padding: 0; }
.lb-img { margin: auto; max-width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; border-radius: 12px; background: #fff; cursor: zoom-in; user-select: none; -webkit-user-drag: none; }
.lb-img.is-zoom { flex: none; max-width: none; max-height: none; width: 220%; border-radius: 0; cursor: zoom-out; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 52px; height: 52px; }
.lb-prev { left: 14px; } .lb-next { right: 14px; } .lb-next svg { transform: scaleX(-1); }
.lb.zoomed .lb-nav { display: none; }
html.lb-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
    .detail-art.has-photo .art, .lb[open] { transition: none; animation: none; }
}
.item-meta .ok { color: var(--green); font-weight: 700; } .item-meta .no { color: var(--red); font-weight: 700; }
.price-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; padding-block: 8px; }
.price-big strong { font-size: clamp(1.9rem, 3vw, 2.4rem); font-weight: 800; color: var(--brand-d); letter-spacing: -.02em; }
.save { padding: 3px 12px; background: #E3F7EE; color: #0D7A50; border-radius: 99px; font-weight: 700; font-size: .875rem; }
.desc { max-width: 56ch; }
.buy { display: flex; gap: 12px; margin-top: 8px; }
.buy .grow { flex: 1; min-height: 52px; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 42px; min-height: 48px; border: 0; background: none; display: grid; place-items: center; transition: background .15s; }
.stepper button:hover { background: var(--soft); }
.stepper input { width: 44px; min-height: 48px; border: 0; text-align: center; font-weight: 700; background: none; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.sm button { width: 34px; min-height: 38px; } .stepper.sm input { width: 38px; min-height: 38px; }
.perks { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .9rem; }
.perks li { display: flex; align-items: center; gap: 8px; } .perks .i { color: var(--brand); }
.dtabs { margin-top: clamp(32px, 5vw, 56px); }
.specs { display: grid; grid-template-columns: 160px 1fr; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.specs dt, .specs dd { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.specs dt { background: var(--soft); font-weight: 700; color: var(--ink); }
.specs dt:last-of-type, .specs dd:last-of-type { border-bottom: 0; }

/* ---------- Keranjang ---------- */
.cart-page > .h1 { margin-bottom: 22px; }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 28px; align-items: start; }
.ct-head, .ct-row { display: grid; grid-template-columns: minmax(0, 2.6fr) 1fr 1.1fr 1fr 40px; gap: 14px; align-items: center; }
.ct-head { padding: 12px 18px; background: var(--soft); border-radius: 12px; font-weight: 800; color: var(--ink); font-size: .875rem; }
.ct-row { padding: 16px 18px; border-bottom: 1px solid var(--line); transition: opacity .24s, transform .24s; }
.ct-row.leaving { opacity: 0; transform: translateX(24px); }
.ct-prod { display: flex; align-items: center; gap: 14px; }
.ct-prod strong { display: block; color: var(--ink); line-height: 1.3; } .ct-prod small { color: var(--muted); }
.ct-prod:hover strong { color: var(--brand-d); }
.ct-art { width: 76px; flex: none; aspect-ratio: 1; padding: 8px; background: var(--tile); border-radius: 12px; }
.ct-sub { color: var(--ink); font-weight: 800; }
.x-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 0; background: none; border-radius: 50%; color: var(--muted); transition: .2s; }
.x-btn:hover { background: #FDE8E8; color: var(--red); }
.link { border: 0; background: none; color: var(--brand-d); font-weight: 700; text-decoration: underline; }
.cart-table .more { margin-top: 20px; }
.summary { position: sticky; top: 140px; padding: 24px; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.summary h2 { font-size: 1.25rem; color: var(--ink); }
.summary dl { display: grid; gap: 10px; }
.summary dl div { display: flex; justify-content: space-between; gap: 12px; }
.summary .total { padding-top: 12px; border-top: 1px dashed var(--line); font-size: 1.25rem; font-weight: 800; color: var(--ink); }
.ship { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.ship i { display: block; height: 100%; width: calc(var(--p) * 100%); background: var(--brand); border-radius: 99px; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.ship.full i { background: var(--green); }
.summary .hint { margin: 0; text-align: center; }
.paybar { display: none; }

/* ---------- Footer ---------- */
.site-footer { margin-top: clamp(48px, 6vw, 80px); background: var(--ink); color: #B9C3DB; }
.news { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-block: 36px; border-bottom: 1px solid #25335A; }
.news h2 { color: #fff; font-size: 1.4rem; } .news p { margin-top: 4px; }
.news-form { display: flex; gap: 10px; flex: 1; max-width: 480px; min-width: 260px; }
.news-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 20px; border-radius: 999px; border: 0; background: #1C2A4D; color: #fff; }
.news-form input::placeholder { color: #8391B3; }
.foot { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 36px; padding-block: 44px; }
.foot h2 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.foot a:not(.brand) { display: block; padding: 4px 0; } .foot a:not(.brand):hover { color: #fff; }
.foot p { margin-top: 10px; font-size: .9375rem; }
.foot .brand { color: #fff; } .foot .brand-mark { color: var(--brand); }
.foot p .i { display: inline; vertical-align: -3px; }
.copy { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; padding-block: 20px; border-top: 1px solid #25335A; font-size: .875rem; }

/* ---------- Toast, terbang, pasang ---------- */
.toasts { position: fixed; left: 50%; bottom: calc(24px + var(--sab)); transform: translateX(-50%); z-index: 120; display: grid; gap: 8px; width: min(420px, calc(100% - 32px)); pointer-events: none; }
.toast { padding: 13px 18px; background: var(--ink); color: #fff; border-radius: 14px; font-weight: 600; box-shadow: var(--shadow); animation: toastIn .35s cubic-bezier(.3, 1.4, .5, 1); }
.toast.error { background: var(--red); }
.toast.out { opacity: 0; transform: translateY(8px); transition: .26s; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.fly { position: fixed; z-index: 130; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); box-shadow: 0 6px 16px rgba(255, 90, 31, .5); pointer-events: none; }
.install { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: calc(var(--tab-h) + var(--sab) + 12px); max-width: 460px; margin-inline: auto; display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 18px; background: var(--ink); color: #fff; border-radius: 18px; box-shadow: var(--shadow); animation: toastIn .4s; }
.install div { flex: 1; display: grid; font-size: .875rem; line-height: 1.35; } .install strong { font-size: 1rem; }
.install span { color: #B9C3DB; }
.install .btn { min-height: 40px; padding: 0 18px; box-shadow: none; }
.install .x { background: none; border: 0; color: #B9C3DB; width: 36px; height: 36px; display: grid; place-items: center; }
.tabbar, .sheet { display: none; }

/* ---------- Muncul saat digulir ---------- */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.js .rv.in { opacity: 1; transform: none; }
.js .item.rv.in { transition: opacity .6s ease, transform .3s, box-shadow .3s, border-color .3s; transition-delay: var(--d, 0ms), 0ms, 0ms, 0ms; }
.js .item.rv.in:hover { transform: translateY(-5px); }

/* ---------- 404 / offline ---------- */
.lost { display: grid; justify-items: center; gap: 14px; text-align: center; padding-block: clamp(60px, 10vw, 120px); }
.lost-code { display: flex; gap: 8px; font-size: clamp(4rem, 14vw, 8rem); font-weight: 800; line-height: 1; color: var(--brand); letter-spacing: -.04em; }
.lost-code span { animation: floaty 3s ease-in-out infinite; } .lost-code span:nth-child(2) { animation-delay: .3s; color: var(--ink); } .lost-code span:nth-child(3) { animation-delay: .6s; }
.lost-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.lead { color: var(--muted); max-width: 46ch; }
.btn-line { background: #fff; color: var(--ink); border: 2px solid var(--ink); box-shadow: none; }
.btn-line:hover { background: var(--ink); color: #fff; }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }

/* ====================== Tablet ====================== */
@media (max-width: 1100px) {
    .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .cats { grid-template-columns: repeat(4, 1fr); gap: 14px; }
    .features { grid-template-columns: repeat(2, 1fr); }
    .foot { grid-template-columns: 1fr 1fr; }
    .cart-grid { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 960px) {
    .hero-grid { grid-template-columns: 1fr; }
    .side-banners { grid-template-columns: 1fr 1fr; }
    .list-grid { grid-template-columns: 1fr; gap: 18px; }
    .side { position: static; }
    .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .detail { grid-template-columns: 1fr; }
    .detail-media { position: static; }
    .cart-grid { grid-template-columns: 1fr; }
    .summary { position: static; }
    .mn ul a { padding: 0 8px; }
}

/* ====================== HP: tampilan seperti aplikasi ====================== */
@media (max-width: 760px) {
    :root { --pad: 14px; }
    html { scroll-behavior: auto; }
    body { padding-bottom: calc(var(--tab-h) + var(--sab)); background: var(--soft); overscroll-behavior-y: none; }
    .wrap { width: calc(100% - 28px); }
    .topbar, .mainnav, .search, .cl-text { display: none; }
    .site-header { padding-top: var(--sat); background: var(--brand); color: #fff; }
    .head { padding-block: 10px; gap: 8px; min-height: 58px; }
    .site-header .brand { color: #fff; font-size: 1.35rem; } .site-header .brand b { color: var(--ink); } .site-header .brand-mark { color: #fff; width: 30px; height: 30px; }
    .site-header .brand-mark path:first-of-type { fill: var(--brand); }
    .back { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -8px; border-radius: 50%; color: #fff; }
    .back:active { background: rgba(255, 255, 255, .22); }
    .app-search { display: grid; place-items: center; width: 44px; height: 44px; margin-left: auto; border-radius: 50%; color: #fff; background: rgba(255, 255, 255, .18); }
    .cart-link { margin-left: 0; }
    .cl-ic { background: rgba(255, 255, 255, .18); color: #fff; width: 44px; height: 44px; }
    .count { border-color: var(--brand); background: var(--ink); }
    .page-home .head { padding-block: 10px; }

    .hero-grid { margin-top: 14px; gap: 12px; }
    .slider { border-radius: 18px; }
    .slide { grid-template-columns: 1fr; min-height: 0; padding: 22px 20px 48px; gap: 4px; }
    .slide-art { order: -1; justify-self: end; width: 46%; margin: -4px 0 -20px; position: relative; z-index: 0; align-self: end; }
    .slide { position: relative; }
    .slide-art { position: absolute; right: 10px; top: 14px; width: 40%; margin: 0; }
    .slide-text { position: relative; z-index: 1; min-height: 190px; align-content: start; }
    .slide-h { font-size: 1.5rem; max-width: 12ch; }
    .slide-text p:not(.kicker) { font-size: .875rem; max-width: 24ch; }
    .slide-text .btn { min-height: 42px; padding: 0 18px; }
    .dots { left: 20px; bottom: 16px; }
    .side-banners { display: none; }

    .features { grid-template-columns: repeat(2, 1fr); gap: 12px 10px; padding: 14px; margin-top: 12px; border-radius: 16px; background: #fff; }
    .feat { gap: 10px; } .feat .i { width: 24px; height: 24px; } .feat strong { font-size: .8125rem; } .feat span { font-size: .75rem; line-height: 1.3; display: block; }

    .block { margin-top: 26px; }
    .sec-head { margin-bottom: 14px; }
    .h2 { font-size: 1.1875rem; }
    .cats { --gap: 12px; padding-top: 12px; margin-top: -12px; }
    .cats-track { animation-duration: 34s; }
    .cat { width: 132px; padding: 14px 8px; border-radius: 16px; }
    .cat strong { font-size: .9375rem; }

    .deals { padding: 16px; border-radius: 18px; }
    .deals-head { gap: 10px; margin-bottom: 14px; }
    .deals-head p { font-size: .8125rem; }
    .deals .count span { min-width: 52px; padding: 6px 8px; } .deals .count b { font-size: 1.1875rem; }

    .promos { grid-template-columns: 1fr; gap: 12px; }
    .promo { min-height: 160px; padding: 20px; border-radius: 18px; } .promo i { width: 34%; right: 8px; }
    .promo strong { font-size: 1.125rem; }

    .tabs-head { display: grid; gap: 12px; align-items: stretch; }
    .tabs-head .ptabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: -14px; padding: 0 14px 4px; scrollbar-width: none; }
    .tabs-head .ptabs::-webkit-scrollbar { display: none; }
    .ptabs button { white-space: nowrap; background: #fff; }

    .grid, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .item { border: 0; border-radius: 16px; box-shadow: 0 2px 10px -6px rgba(14, 26, 51, .2); }
    .item:hover { transform: none; box-shadow: 0 2px 10px -6px rgba(14, 26, 51, .2); }
    .item:active { transform: scale(.98); }
    .item-body { padding: 10px 12px 4px; } .item h3 { font-size: .875rem; } .item-price strong { font-size: 1rem; }
    .item-cat { font-size: .6875rem; } .item-meta { font-size: .75rem; gap: 6px; } .item-meta span:last-child { display: none; }
    .item-form { padding: 8px 12px 12px; } .item-add { min-height: 38px; font-size: .875rem; }
    .badge { left: 8px; top: 8px; font-size: .75rem; padding: 2px 8px; }

    .crumbs { display: none; }
    .list-page { padding-top: 14px; }
    .list-head { margin-bottom: 12px; align-items: center; } .list-head .h1 { font-size: 1.375rem; }
    .side-toggle { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 48px; padding: 0 16px; background: #fff; border: 0; border-radius: 14px; font-weight: 700; color: var(--ink); }
    .side-body { display: none; margin-top: 10px; padding: 14px; background: #fff; border-radius: 14px; }
    .side-body.open { display: grid; animation: fadeUp .3s both; }
    .box { border-radius: 12px; }

    .page-detail .crumbs { display: none; }
    .detail-art.has-gal { padding-bottom: 92px; }
    .gal { left: 10px; right: 10px; bottom: 34px; padding: 6px; }
    .gal-b { width: 48px; height: 48px; }
    .gal-nav { top: calc(50% - 46px); width: 36px; height: 36px; }
    .detail-art.has-photo { border: 0; box-shadow: none; padding: 12px; }
    .detail-art.has-photo.has-gal { padding-bottom: 92px; }
    .has-gal .gal-count { top: 15px; }
    .lb-stage { padding: 0 8px 16px; }
    .lb-nav { width: 44px; height: 44px; } .lb-prev { left: 6px; } .lb-next { right: 6px; }
    .page-detail .detail { gap: 0; margin-inline: -14px; }
    .detail-art { border-radius: 0; aspect-ratio: 1 / .8; }
    .detail-info { background: #fff; border-radius: 24px 24px 0 0; margin-top: -24px; position: relative; padding: 20px 14px 18px; }
    .buy .btn { padding: 0 14px; font-size: .9375rem; }
    .page-detail .buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; margin: 0; padding: 10px 14px calc(10px + var(--sab)); background: #fff; box-shadow: 0 -10px 30px -16px rgba(14, 26, 51, .35); }
    .page-detail .tabbar { display: none; }
    .page-detail { padding-bottom: calc(76px + var(--sab)); }
    .page-detail .install { bottom: calc(80px + var(--sab)); }
    .dtabs { margin-inline: -14px; background: #fff; margin-top: 10px; padding: 8px 14px 18px; border-radius: 18px; }
    .dtabs .ptabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; } .dtabs .ptabs button { background: none; padding: 12px 14px; }
    .specs { grid-template-columns: 120px 1fr; }
    .perks { font-size: .8125rem; gap: 6px 14px; }

    .cart-page > .h1 { font-size: 1.375rem; margin-block: 14px; }
    .ct-head { display: none; }
    .ct-row { position: relative; grid-template-columns: 1fr auto; gap: 10px; padding: 14px; margin-bottom: 10px; background: #fff; border: 0; border-radius: 16px; }
    .ct-prod { grid-column: 1 / -1; padding-right: 36px; } .ct-art { width: 64px; }
    .ct-price { display: none; }
    .ct-del { position: absolute; top: 6px; right: 6px; }
    .ct-sub { text-align: right; }
    .summary { padding: 18px; border-radius: 16px; box-shadow: none; border: 0; }
    .summary .btn { display: none; }
    .paybar { display: flex; position: fixed; left: 0; right: 0; bottom: calc(var(--tab-h) + var(--sab)); z-index: 80; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: #fff; box-shadow: 0 -10px 30px -16px rgba(14, 26, 51, .35); }
    .paybar small { display: block; color: var(--muted); line-height: 1.1; } .paybar strong { font-size: 1.1875rem; color: var(--ink); }
    .paybar .btn { padding: 0 34px; }
    .page-cart { padding-bottom: calc(var(--tab-h) + 80px + var(--sab)); }
    .page-cart .toasts { bottom: calc(var(--tab-h) + 90px + var(--sab)); }

    .site-footer { margin-top: 32px; }
    .news { padding-block: 24px; } .news h2 { font-size: 1.125rem; } .news-form { max-width: none; width: 100%; }
    .foot { grid-template-columns: 1fr 1fr; gap: 22px; padding-block: 28px; } .foot > :first-child, .foot > :last-child { grid-column: 1 / -1; }
    .toasts { bottom: calc(var(--tab-h) + 16px + var(--sab)); }

    /* Navigasi bawah */
    .tabbar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; height: calc(var(--tab-h) + var(--sab)); padding-bottom: var(--sab); background: rgba(255, 255, 255, .94); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-top: 1px solid var(--line); view-transition-name: tabbar; }
    .tab { display: grid; justify-items: center; align-content: center; gap: 2px; font-size: .6875rem; font-weight: 700; color: var(--muted); -webkit-user-select: none; user-select: none; transition: color .2s; }
    .tab-ic { position: relative; display: grid; place-items: center; width: 52px; height: 30px; }
    .tab-pill { position: absolute; inset: 0; border-radius: 99px; background: var(--brand-soft); transform: scaleX(.4); opacity: 0; transition: .3s cubic-bezier(.3, 1.4, .5, 1); }
    .tab .i { position: relative; transition: transform .25s; }
    .tab[aria-current="page"] { color: var(--brand-d); }
    .tab[aria-current="page"] .tab-pill { transform: none; opacity: 1; }
    .tab:active .i { transform: scale(.85); }
    .tab .count { top: -4px; right: 6px; border-color: #fff; background: var(--brand); }

    /* Lembar pencarian */
    .sheet { display: block; position: fixed; inset: 0; z-index: 150; visibility: hidden; pointer-events: none; }
    .sheet.open { visibility: visible; pointer-events: auto; }
    .sheet-backdrop { position: absolute; inset: 0; background: rgba(14, 26, 51, .5); opacity: 0; transition: opacity .3s; }
    .sheet.open .sheet-backdrop { opacity: 1; }
    .sheet-panel { position: absolute; left: 0; right: 0; bottom: 0; max-height: calc(100% - 40px - var(--sat)); display: flex; flex-direction: column; padding: 0 16px calc(16px + var(--sab)); background: #fff; border-radius: 24px 24px 0 0; transform: translateY(calc(100% + var(--dy, 0px))); transition: transform .4s cubic-bezier(.2, .9, .25, 1); margin-bottom: var(--kb, 0px); }
    .sheet.open .sheet-panel { transform: translateY(var(--dy, 0px)); }
    .sheet-panel.drag { transition: none; }
    .sheet-grip { display: grid; place-items: center; height: 28px; touch-action: none; }
    .sheet-grip span { width: 40px; height: 5px; border-radius: 3px; background: #CDD4E4; }
    .sheet-form { display: flex; align-items: center; gap: 10px; padding: 4px 4px 4px 16px; border: 2px solid var(--brand); border-radius: 999px; }
    .sheet-form input { flex: 1; min-width: 0; border: 0; outline: none; min-height: 42px; font-size: 16px; background: none; }
    .sheet-form .btn { min-height: 40px; padding: 0 20px; box-shadow: none; }
    .sheet-chips { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0 4px; scrollbar-width: none; }
    .sheet-chips::-webkit-scrollbar { display: none; }
    .sheet-chips a { white-space: nowrap; padding: 7px 14px; border-radius: 99px; background: var(--soft); font-weight: 700; font-size: .875rem; color: var(--ink); }
    .sheet-label { margin: 14px 0 6px; font-size: .75rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
    .sheet-results { overflow-y: auto; overscroll-behavior: contain; }
    .sheet-results li { animation: fadeUp .35s both; animation-delay: calc(var(--i, 0) * 45ms); }
    .sheet-results a:active { background: var(--soft); }
    html.sheet-open, html.sheet-open body { overflow: hidden; }

    .install { animation: toastIn .4s; }
    .fly { background: var(--brand); }
}

@media (hover: none) {
    .item:hover .item-art .art, .cat:hover .cat-art, .sb:hover i .art { transform: none; }
    .cat:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    .js .rv { opacity: 1; transform: none; }
    .cats { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .cats-track { width: auto; }
    .cats-group[aria-hidden] { display: none; }
}

/* Ilustrasi produk */
.art { display: block; width: 100%; height: 100%; }
.fa { fill: var(--a); } .fb { fill: var(--b); } .fc { fill: var(--c); }
.sa { fill: none; stroke: var(--a); } .sc { fill: none; stroke: var(--c); }

/* Tema banner tambahan & konten */
.s4 { background: linear-gradient(120deg, #FFF0B8, #FFF9E0); }
.s5 { background: linear-gradient(120deg, #E6DCFF, #F4EFFF); }
.sb-c { background: #D6F2E3; }
.p3 { background: linear-gradient(120deg, #B34A12, #F08A24); }
.art-img { width: 100%; height: 100%; object-fit: contain; }
.announce { background: var(--brand); color: #fff; text-align: center; font-size: .875rem; font-weight: 600; padding: 8px 16px; } .announce a { color: #fff; text-decoration: underline; }
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 14px; }
.prose h2 { font-size: 1.25rem; margin: 22px 0 8px; }
.prose p { line-height: 1.75; margin-bottom: 10px; }
/* Bullet ceklis */
.prose ul { list-style: none; padding-left: 0; margin-bottom: 12px; }
.prose ul li { position: relative; padding-left: 2em; line-height: 1.7; margin-bottom: 6px; }
.prose ul li::before {
    content: "";
    position: absolute;
    left: 0; top: .18em;
    width: 1.15em; height: 1.15em;
    border-radius: 50%;
    background: var(--brand, #4f46e5);
    display: flex; align-items: center; justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8.5l3 3 7-7'/%3E%3C/svg%3E");
    background-size: 80%;
    background-repeat: no-repeat;
    background-position: center;
}
/* Nomor terformat */
.prose ol { list-style: none; padding-left: 0; margin-bottom: 12px; counter-reset: prose-ol; }
.prose ol li { position: relative; padding-left: 2.2em; line-height: 1.7; margin-bottom: 6px; counter-increment: prose-ol; }
.prose ol li::before {
    content: counter(prose-ol);
    position: absolute;
    left: 0; top: .15em;
    width: 1.3em; height: 1.3em;
    border-radius: 50%;
    background: var(--brand, #4f46e5);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}

.brand-img { border-radius: 9px; object-fit: cover; background: #fff; }

/* Checkout: pencarian tujuan & pilihan kurir */
.fld.dest { position: relative; display: block; }
.fld.dest > label span { display: block; margin-bottom: 6px; }
.dest-list { position: absolute; z-index: 20; left: 0; right: 0; top: 100%; margin: 4px 0 0; padding: 4px; list-style: none; max-height: 260px; overflow: auto;
    background: #fff; border: 1px solid var(--line, #e4e7ec); border-radius: 12px; box-shadow: 0 12px 32px rgba(16, 24, 40, .14); }
.dest-list li { padding: 10px 12px; border-radius: 8px; cursor: pointer; font-size: .9375rem; }
.dest-list li:hover, .dest-list li:focus { background: var(--soft); outline: none; }
.dest-list li.none { color: var(--muted); cursor: default; }
.dest-list li.none:hover { background: none; }
