/* Yayan Digital Shop v1.0 — two storefront looks:
   .st-global    minimal editorial (modelled on Shopify "Horizon"): white, soft grey product stage, black buttons, tight type
   .st-nusantara warm & friendly (modelled on Shopify "Sense"): cream, lime/peach gradients, aubergine buttons, round cards
   Pages without a store (account, invoice links) use the site's maroon palette. */
.shop-page {
  --s-bg: var(--bg); --s-soft: var(--bg-soft); --s-card: var(--surface); --s-ink: var(--text); --s-ink2: var(--text-2); --s-muted: var(--muted);
  --s-line: var(--line); --s-btn: var(--brand); --s-btn-ink: #fff; --s-btn-h: var(--brand-2); --s-accent: var(--amber-soft); --s-badge: var(--brand); --s-badge-ink: #fff;
  --s-r: 14px; --s-r-sm: 10px; --s-head: var(--head); --s-shadow: var(--shadow); --s-ann: var(--brand); --s-ann-ink: #fff; --s-stage: var(--bg-soft);
}
.st-global {
  --s-bg: #ffffff; --s-soft: #f6f6f5; --s-card: #ffffff; --s-ink: #121212; --s-ink2: #3d3d3d; --s-muted: #6f6f6f; --s-line: #e7e7e4;
  --s-btn: #121212; --s-btn-ink: #fff; --s-btn-h: #333; --s-accent: #f1f1ef; --s-badge: #121212; --s-badge-ink: #fff; --s-r: 8px; --s-r-sm: 6px;
  --s-head: "Inter", "Segoe UI", system-ui, sans-serif; --s-shadow: none; --s-ann: #121212; --s-ann-ink: #fff; --s-stage: #f1f1ef;
}
.st-nusantara {
  --s-bg: #f3f1ea; --s-soft: #fbf8f2; --s-card: #ffffff; --s-ink: #2b2236; --s-ink2: #4a4157; --s-muted: #776e83; --s-line: #e6dfd2;
  --s-btn: #2b2236; --s-btn-ink: #e3fb9c; --s-btn-h: #3d3150; --s-accent: #e3fb9c; --s-badge: #5d2b55; --s-badge-ink: #fff; --s-r: 20px; --s-r-sm: 12px;
  --s-head: "Poppins", "Manrope", system-ui, sans-serif; --s-shadow: 0 14px 30px -20px rgba(43, 34, 54, .35); --s-ann: #dff79a; --s-ann-ink: #2b2236; --s-stage: #faf1e7;
}
[data-theme="dark"] .st-global { --s-bg: #0e0e0e; --s-soft: #171717; --s-card: #141414; --s-ink: #f3f3f3; --s-ink2: #cfcfcf; --s-muted: #9a9a9a; --s-line: #2a2a2a; --s-btn: #f3f3f3; --s-btn-ink: #111; --s-btn-h: #d9d9d9; --s-accent: #1d1d1d; --s-badge: #f3f3f3; --s-badge-ink: #111; --s-ann: #f3f3f3; --s-ann-ink: #111; --s-stage: #1b1b1b; }
[data-theme="dark"] .st-nusantara { --s-bg: #1c1723; --s-soft: #241e2d; --s-card: #282131; --s-ink: #f4effa; --s-ink2: #d9d0e4; --s-muted: #a99fb7; --s-line: #3a3146; --s-btn: #e3fb9c; --s-btn-ink: #2b2236; --s-btn-h: #d3ef7d; --s-badge: #e3fb9c; --s-badge-ink: #2b2236; --s-stage: #302838; }
.st, .st main { background: var(--s-bg); }
.st #main { color: var(--s-ink); }
.st-nusantara #main { font-family: "Poppins", var(--body); }
.st-main { width: min(1240px, 100% - 32px); margin: 0 auto; padding-bottom: 40px; }

/* bars */
.st-test { background: #fff4d6; color: #5b4300; border-bottom: 1px solid #f0d98c; text-align: center; padding: 7px 16px; font-size: .84rem; }
.st-test-inline { display: table; border: 1px solid #f0d98c; border-radius: 999px; padding: 6px 14px; margin: 0 0 14px; }
[data-theme="dark"] .st-test { background: #3a2e0c; color: #f8e3a2; border-color: #5b4712; }
.st-announce { background: var(--s-ann); color: var(--s-ann-ink); text-align: center; font-size: .84rem; font-weight: 600; padding: 9px 16px; letter-spacing: .01em; }
.st-bar { background: var(--s-bg); border-bottom: 1px solid var(--s-line); position: relative; z-index: 5; }
.st-bar-in { width: min(1240px, 100% - 32px); margin: 0 auto; display: flex; align-items: center; gap: 22px; min-height: 64px; }
.st-logo { font-family: var(--s-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; color: var(--s-ink); white-space: nowrap; }
.st-global .st-logo { font-weight: 700; letter-spacing: -.03em; }
.st-nusantara .st-logo { letter-spacing: .14em; text-transform: uppercase; font-weight: 700; font-size: 1.05rem; }
.st-cats { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; flex: 1; min-width: 0; }
.st-cats::-webkit-scrollbar { display: none; }
.st-cats a { padding: 8px 12px; border-radius: var(--s-r-sm); font-size: .9rem; font-weight: 500; color: var(--s-ink2); white-space: nowrap; transition: background .2s, color .2s; }
.st-cats a:hover { background: var(--s-soft); color: var(--s-ink); }
.st-cats a.is-on { color: var(--s-ink); font-weight: 700; box-shadow: inset 0 -2px 0 var(--s-ink); border-radius: 0; }
.st-nusantara .st-cats a.is-on { background: var(--s-accent); box-shadow: none; border-radius: 999px; color: #2b2236; }
.st-tools { display: flex; align-items: center; gap: 6px; }
.st-search { position: relative; display: flex; align-items: center; }
.st-search input { width: 190px; padding: 9px 34px 9px 14px; border-radius: 999px; border: 1px solid var(--s-line); background: var(--s-soft); color: var(--s-ink); outline: 0; font-size: .88rem; transition: width .25s var(--ease), border-color .2s; }
.st-search input:focus { width: 240px; border-color: var(--s-ink); background: var(--s-card); }
.st-search .si { position: absolute; right: 12px; color: var(--s-muted); pointer-events: none; }
.st-ic { position: relative; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 999px; color: var(--s-ink); transition: background .2s; }
.st-ic:hover { background: var(--s-soft); }
.st-count { position: absolute; top: 3px; right: 1px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--s-btn); color: var(--s-btn-ink); font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.st-count.bump { animation: stBump .45s var(--ease); }
@keyframes stBump { 40% { transform: scale(1.35); } }

/* buttons */
.st-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: var(--s-r-sm); border: 1px solid var(--s-btn); background: var(--s-btn); color: var(--s-btn-ink); font-weight: 700; font-size: .95rem; cursor: pointer; transition: background .2s, transform .15s, box-shadow .2s; text-decoration: none; font-family: inherit; }
.st-btn:hover { background: var(--s-btn-h); }
.st-btn:active { transform: scale(.98); }
.st-btn[disabled], .st-btn.is-busy { opacity: .6; pointer-events: none; }
.st-btn-ghost { background: transparent; color: var(--s-ink); border-color: var(--s-ink); }
.st-btn-ghost:hover { background: var(--s-ink); color: var(--s-bg); }
.st-btn-block { width: 100%; }
.st-global .st-btn { border-radius: 999px; }
.st-nusantara .st-btn { border-radius: 14px; }
.st-link { background: none; border: 0; padding: 6px 0; color: var(--s-ink2); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: .9rem; display: inline-block; }
.st-kicker { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); margin-bottom: 8px; }

/* hero */
.st-hero { position: relative; margin: 22px 0 8px; border-radius: var(--s-r); overflow: hidden; }
.st-hero-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; scroll-behavior: smooth; }
.st-hero-track::-webkit-scrollbar { display: none; }
.st-slide { flex: 0 0 100%; scroll-snap-align: start; position: relative; min-height: clamp(380px, 46vw, 560px); display: flex; align-items: center; background: var(--s-stage) var(--bg) center / cover no-repeat; }
.st-global .st-slide { justify-content: flex-start; text-align: left; }
.st-global .st-slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 10, 10, .62) 0%, rgba(10, 10, 10, .32) 42%, rgba(10, 10, 10, 0) 72%); }
.st-slide-in { position: relative; max-width: 620px; padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.st-global .st-slide-in { align-items: flex-start; color: #fff; padding-left: clamp(24px, 5vw, 64px); }
.st-global .st-slide-in h1, .st-global .st-slide-in .st-h { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.02; margin: 0; font-family: var(--s-head); }
.st-global .st-slide-in p { margin: 0; font-size: 1.08rem; color: rgba(255, 255, 255, .9); }
.st-global .st-slide .st-btn { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .9); color: #fff; backdrop-filter: blur(6px); }
.st-global .st-slide .st-btn:hover { background: #fff; color: #111; }
.st-nusantara .st-hero { border-radius: 26px; }
.st-nusantara .st-slide { background: none; padding: 34px 0; min-height: 0; }
.st-nusantara .st-slide::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: 64%; border-radius: 26px; background: var(--bg) center / cover no-repeat; box-shadow: var(--s-shadow); }
.st-nusantara .st-slide-in { z-index: 2; margin-left: 2%; width: min(430px, 46%); min-height: 330px; justify-content: center; border-radius: 26px; padding: 36px; background: linear-gradient(150deg, #e3fb9c 0%, #fbe1cf 62%, #fdd5c5 100%); box-shadow: var(--s-shadow); }
.st-nusantara .st-slide-in h1, .st-nusantara .st-slide-in .st-h { margin: 0; font-family: var(--s-head); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.12; color: #2b2236; letter-spacing: -.01em; }
.st-nusantara .st-slide-in p { margin: 0; color: #4a4157; }
.st-nusantara .st-slide .st-btn { align-self: flex-start; background: #2b2236; color: #e3fb9c; border-color: #2b2236; }
.st-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; z-index: 3; }
.st-dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; padding: 0; background: rgba(255, 255, 255, .55); cursor: pointer; transition: width .3s var(--ease), background .3s; }
.st-dots button.is-on { width: 28px; background: #fff; }
.st-nusantara .st-dots { bottom: 4px; }
.st-nusantara .st-dots button { background: rgba(43, 34, 54, .25); }
.st-nusantara .st-dots button.is-on { background: #2b2236; }

/* sections */
.st-sec { padding: 46px 0 0; }
.st-head { display: flex; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 20px; flex-wrap: wrap; }
.st-head h1, .st-head h2 { margin: 0; font-family: var(--s-head); color: var(--s-ink); letter-spacing: -.02em; }
.st-global .st-head h2 { font-weight: 600; font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.st-nusantara .st-head h2 { font-weight: 500; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.st-head > a { font-weight: 600; font-size: .92rem; color: var(--s-ink); text-decoration: underline; text-underline-offset: 4px; }
.st-crumbs { font-size: .84rem; color: var(--s-muted); margin-bottom: 6px; }
.st-crumbs a:hover { color: var(--s-ink); }
.st-crumbs-p { padding-top: 18px; }
.st-count-txt { margin: 4px 0 0; color: var(--s-muted); font-size: .9rem; }
.st-sort label { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--s-muted); }
.st-sort select { padding: 9px 12px; border-radius: var(--s-r-sm); border: 1px solid var(--s-line); background: var(--s-card); color: var(--s-ink); }
.st-empty { text-align: center; padding: 50px 20px; border-radius: var(--s-r); background: var(--s-soft); border: 1px dashed var(--s-line); }

/* product cards */
.sp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 20px; }
.sp-card { display: flex; flex-direction: column; min-width: 0; animation: spIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 40ms); }
@keyframes spIn { from { opacity: 0; transform: translateY(10px); } }
.sp-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; background: var(--s-stage); border-radius: var(--s-r); }
.sp-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s ease, transform .7s var(--ease); }
.sp-media .sp-alt { opacity: 0; }
.sp-card:hover .sp-media .sp-alt { opacity: 1; }
.sp-card:hover .sp-media img { transform: scale(1.03); }
.sp-badge { position: absolute; left: 12px; top: 12px; z-index: 2; padding: 4px 10px; border-radius: 999px; background: var(--s-badge); color: var(--s-badge-ink); font-size: .74rem; font-weight: 700; }
.sp-badge-out { left: auto; right: 12px; background: rgba(255, 255, 255, .92); color: #333; }
.st-global .sp-badge { border-radius: 4px; }
.st-nusantara .sp-badge { top: auto; bottom: 12px; }
.st-nusantara .sp-card { background: var(--s-card); border-radius: var(--s-r); box-shadow: var(--s-shadow); padding: 10px 10px 16px; }
.st-nusantara .sp-media { border-radius: 14px; }
.sp-body { display: flex; flex-direction: column; gap: 6px; padding: 12px 2px 0; flex: 1; }
.sp-title { font-weight: 500; color: var(--s-ink); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.sp-rate { font-size: .8rem; color: var(--s-muted); display: flex; align-items: center; gap: 4px; }
.sp-stars { position: relative; display: inline-block; color: var(--s-line); letter-spacing: 1px; font-size: .82rem; line-height: 1; }
.sp-stars::before { content: "★★★★★"; position: absolute; left: 0; top: 0; width: calc(var(--r) / 5 * 100%); overflow: hidden; color: #f2b01e; white-space: nowrap; }
.st-global .sp-stars::before { color: #121212; }
.sp-price { font-weight: 700; color: var(--s-ink); font-size: 1rem; }
.sp-price small { font-weight: 500; color: var(--s-muted); font-size: .78rem; }
.sp-price s { font-weight: 500; color: var(--s-muted); font-size: .86rem; margin-left: 4px; }
.st-nusantara .sp-price { color: #5d2b55; }
[data-theme="dark"] .st-nusantara .sp-price { color: #e3fb9c; }
.sp-quick { margin-top: auto; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px; border-radius: var(--s-r-sm); border: 1px solid var(--s-line); background: transparent; color: var(--s-ink); font-weight: 600; font-size: .86rem; cursor: pointer; transition: background .2s, border-color .2s, color .2s; text-decoration: none; font-family: inherit; }
.sp-quick:hover { background: var(--s-btn); color: var(--s-btn-ink); border-color: var(--s-btn); }
.st-global .sp-quick { border-radius: 999px; }

/* categories, story, trust */
.st-cat-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.st-cat { display: flex; flex-direction: column; gap: 4px; }
.st-cat-img { display: block; aspect-ratio: 1; border-radius: var(--s-r); overflow: hidden; background: var(--s-stage); margin-bottom: 8px; }
.st-cat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.st-cat:hover .st-cat-img img { transform: scale(1.05); }
.st-cat b { color: var(--s-ink); font-weight: 600; }
.st-cat small { color: var(--s-muted); }
.st-nusantara .st-cat-img { width: min(160px, 100%); border-radius: 50%; border: 6px solid var(--s-card); box-shadow: var(--s-shadow); }
.st-nusantara .st-cat { text-align: center; align-items: center; }
.st-story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 34px; align-items: center; }
.st-story h2 { font-family: var(--s-head); font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.03em; margin: 0 0 12px; color: var(--s-ink); }
.st-story p { color: var(--s-ink2); max-width: 46ch; }
.st-story img { width: 100%; border-radius: var(--s-r); aspect-ratio: 16 / 10; object-fit: cover; }
.st-nusantara .st-story { background: linear-gradient(150deg, #fbe1cf, #e3fb9c); border-radius: 26px; padding: 30px; margin-top: 46px; }
.st-nusantara .st-story h2, .st-nusantara .st-story p, .st-nusantara .st-story .st-kicker { color: #2b2236; }
.st-nusantara .st-story .st-btn-ghost { border-color: #2b2236; color: #2b2236; }
.st-trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-top: 54px; padding: 22px; border-radius: var(--s-r); background: var(--s-soft); border: 1px solid var(--s-line); }
.st-trust > div { display: flex; gap: 12px; align-items: center; }
.st-trust span { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--s-card); color: var(--s-ink); flex: none; border: 1px solid var(--s-line); }
.st-trust p { margin: 0; display: flex; flex-direction: column; font-size: .88rem; color: var(--s-ink); }
.st-trust small { color: var(--s-muted); }

/* product page */
.pd { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 44px; padding-top: 14px; align-items: start; }
.pd-gallery { position: sticky; top: 84px; }
.pd-main { position: relative; aspect-ratio: 1; border-radius: var(--s-r); overflow: hidden; background: var(--s-stage); touch-action: pan-y; }
.pd-main img { width: 100%; height: 100%; object-fit: cover; animation: pdFade .35s ease; }
@keyframes pdFade { from { opacity: .3; } }
.pd-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); color: #111; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .2s; box-shadow: 0 4px 14px rgba(0, 0, 0, .12); }
.pd-main:hover .pd-nav { opacity: 1; }
.pd-prev { left: 12px; } .pd-next { right: 12px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.pd-thumbs button { flex: 0 0 76px; height: 76px; padding: 0; border-radius: var(--s-r-sm); overflow: hidden; border: 2px solid transparent; background: var(--s-stage); cursor: pointer; opacity: .7; transition: opacity .2s, border-color .2s; }
.pd-thumbs button.is-on { border-color: var(--s-ink); opacity: 1; }
.pd-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-info h1 { font-family: var(--s-head); font-size: clamp(1.6rem, 2.8vw, 2.3rem); letter-spacing: -.025em; line-height: 1.15; margin: 0 0 10px; color: var(--s-ink); }
.st-global .pd-info h1 { font-weight: 600; }
.st-nusantara .pd-info h1 { font-weight: 600; }
.pd-rate { margin: 0 0 12px; }
.pd-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 14px; }
.pd-price b { font-size: 1.6rem; color: var(--s-ink); }
.pd-price s { color: var(--s-muted); }
.pd-price em { font-style: normal; font-size: .8rem; font-weight: 800; padding: 3px 9px; border-radius: 999px; background: var(--s-badge); color: var(--s-badge-ink); }
.pd-price em[hidden] { display: none; }
.pd-short { color: var(--s-ink2); margin: 0 0 18px; }
.pd-form { display: flex; flex-direction: column; gap: 14px; padding: 18px 0; border-top: 1px solid var(--s-line); }
.pd-opt { border: 0; padding: 0; margin: 0; }
.pd-opt legend { font-size: .88rem; color: var(--s-muted); margin-bottom: 8px; padding: 0; }
.pd-opt legend b { color: var(--s-ink); }
.pd-vals { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-vals label { position: relative; }
.pd-vals input { position: absolute; opacity: 0; pointer-events: none; }
.pd-vals span { display: inline-flex; min-width: 46px; justify-content: center; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--s-line); background: var(--s-card); color: var(--s-ink); font-weight: 600; font-size: .88rem; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.pd-vals span:hover { border-color: var(--s-ink); }
.pd-vals input:checked + span { background: var(--s-btn); color: var(--s-btn-ink); border-color: var(--s-btn); }
.pd-vals input:focus-visible + span { outline: 2px solid var(--s-ink); outline-offset: 2px; }
.pd-vals label.is-out span { text-decoration: line-through; opacity: .45; }
.pd-stock { margin: 0; font-size: .88rem; font-weight: 600; color: #15803d; display: flex; align-items: center; gap: 7px; }
.pd-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pd-stock.is-low { color: #c2410c; }
.pd-stock.is-out { color: #b91c1c; }
.pd-buy { display: flex; gap: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--s-line); border-radius: var(--s-r-sm); background: var(--s-card); overflow: hidden; flex: none; }
.st-global .qty { border-radius: 999px; }
.qty button { width: 40px; height: 46px; border: 0; background: none; color: var(--s-ink); font-size: 1.2rem; cursor: pointer; }
.qty button:hover { background: var(--s-soft); }
.qty input { width: 42px; border: 0; text-align: center; background: none; color: var(--s-ink); font-weight: 700; -moz-appearance: textfield; outline: 0; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.pd-perks { list-style: none; padding: 16px 0; margin: 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--s-line); font-size: .9rem; color: var(--s-ink2); }
.pd-perks li { display: flex; gap: 10px; align-items: center; }
.pd-acc { border-top: 1px solid var(--s-line); }
.pd-acc summary { list-style: none; cursor: pointer; padding: 16px 0; font-weight: 700; color: var(--s-ink); display: flex; justify-content: space-between; }
.pd-acc summary::-webkit-details-marker { display: none; }
.pd-acc summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.pd-acc[open] summary::after { transform: rotate(45deg); }
.pd-desc { padding: 0 0 16px; color: var(--s-ink2); font-size: .95rem; }
.pd-desc p:first-child { margin-top: 0; }
.pd-desc ul { padding-left: 20px; }
.pd-spec { display: grid; grid-template-columns: 140px 1fr; gap: 8px 14px; margin: 0; }
.pd-spec dt { color: var(--s-muted); } .pd-spec dd { margin: 0; }
.pd-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--s-card); border-top: 1px solid var(--s-line); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .2); transform: translateY(110%); transition: transform .3s var(--ease); }
.pd-sticky.is-on { transform: none; }
.pd-sticky[hidden] { display: flex; }
.pd-sticky span { display: flex; flex-direction: column; min-width: 0; }
.pd-sticky b { font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--s-ink); }
.pd-sticky small { color: var(--s-muted); }

/* cart drawer */
.cd { position: fixed; inset: 0; z-index: 90; }
.cd[hidden] { display: none; }
.cd-backdrop { position: absolute; inset: 0; background: rgba(15, 12, 10, .45); opacity: 0; transition: opacity .3s; }
.cd.is-on .cd-backdrop { opacity: 1; }
.cd-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--s-card); color: var(--s-ink); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .35s var(--ease); box-shadow: -20px 0 50px -20px rgba(0, 0, 0, .35); }
.cd.is-on .cd-panel { transform: none; }
.st-nusantara .cd-panel { border-radius: 24px 0 0 24px; }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; border-bottom: 1px solid var(--s-line); font-size: 1.1rem; }
.cd-x { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--s-soft); color: var(--s-ink); font-size: 1.4rem; cursor: pointer; }
.cd-free { padding: 12px 20px 0; font-size: .85rem; color: var(--s-ink2); }
.cd-free:empty { display: none; }
.cd-bar { height: 6px; border-radius: 9px; background: var(--s-soft); margin-top: 8px; overflow: hidden; }
.cd-bar i { display: block; height: 100%; background: var(--s-btn); border-radius: 9px; transition: width .5s var(--ease); }
.st-nusantara .cd-bar i { background: linear-gradient(90deg, #b9e35a, #5d2b55); }
.cd-body { flex: 1; overflow-y: auto; padding: 8px 20px; overscroll-behavior: contain; }
.cd-empty { text-align: center; color: var(--s-muted); padding: 40px 0; }
.cd-line { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--s-line); align-items: start; }
.cd-line img { width: 72px; height: 72px; object-fit: cover; border-radius: var(--s-r-sm); background: var(--s-stage); }
.cd-line a { font-weight: 600; font-size: .9rem; color: var(--s-ink); line-height: 1.3; display: block; }
.cd-line small { display: block; color: var(--s-muted); font-size: .8rem; margin: 2px 0 8px; }
.cd-line .qty button { width: 32px; height: 32px; font-size: 1rem; }
.cd-line .qty input { width: 32px; font-size: .88rem; }
.cd-line-r { text-align: right; display: flex; flex-direction: column; align-items: flex-end; gap: 8px; font-weight: 700; font-size: .92rem; }
.cd-rm { border: 0; background: none; color: var(--s-muted); font-size: .78rem; text-decoration: underline; cursor: pointer; padding: 0; }
.cd-foot { padding: 16px 20px calc(16px + env(safe-area-inset-bottom)); border-top: 1px solid var(--s-line); display: flex; flex-direction: column; gap: 10px; }
.cd-foot[hidden] { display: none; }
.cd-row { display: flex; justify-content: space-between; gap: 12px; font-size: .95rem; padding: 4px 0; color: var(--s-ink2); }
.cd-row b { color: var(--s-ink); }
.cd-total { font-size: 1.1rem; padding-top: 10px; margin-top: 4px; border-top: 1px solid var(--s-line); }
.cd-total b { font-size: 1.25rem; }
.cd-note { margin: 0; font-size: .8rem; color: var(--s-muted); }
.cd-problems { margin: 6px 0; padding: 10px 12px; border-radius: var(--s-r-sm); background: #fff4e5; color: #8a4b00; font-size: .85rem; }
.st-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 95; background: var(--s-ink); color: var(--s-bg); padding: 12px 18px; border-radius: 999px; font-weight: 600; font-size: .9rem; opacity: 0; transition: opacity .25s, transform .3s var(--ease); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.st-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* cart page */
.cart-page h1 { font-family: var(--s-head); margin: 0 0 20px; color: var(--s-ink); }
.cart-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.cart-lines .cd-line { grid-template-columns: 96px 1fr auto; }
.cart-lines .cd-line img { width: 96px; height: 96px; }
.cart-sum { position: sticky; top: 90px; padding: 22px; border-radius: var(--s-r); background: var(--s-soft); border: 1px solid var(--s-line); display: flex; flex-direction: column; gap: 6px; }
.cart-sum[hidden] { display: none; }

/* checkout + pay */
.co-top { width: min(1100px, 100% - 32px); margin: 22px auto 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.co-secure { display: inline-flex; align-items: center; gap: 6px; color: #15803d; font-weight: 700; font-size: .86rem; }
.co-steps { width: min(1100px, 100% - 32px); margin: 18px auto 0; display: flex; gap: 6px; counter-reset: st; }
.co-steps span { flex: 1; position: relative; padding-top: 14px; font-size: .8rem; font-weight: 600; color: var(--s-muted); counter-increment: st; }
.co-steps span::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; border-radius: 9px; background: var(--s-line); }
.co-steps span.is-done::before { background: #15803d; }
.co-steps span.is-on::before { background: var(--s-btn); }
.co-steps span.is-on { color: var(--s-ink); }
.co { width: min(1100px, 100% - 32px); margin: 26px auto 50px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.co-form { display: flex; flex-direction: column; gap: 14px; }
.co-form h2 { font-family: var(--s-head); font-size: 1.2rem; margin: 10px 0 0; color: var(--s-ink); }
.co-form label, .acc-box label, .acc-card label { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; color: var(--s-ink2); }
.co-form input:not([type=checkbox]), .co-form select, .co-form textarea, .acc-box input, .acc-card input, .acc-card select {
  width: 100%; padding: 12px 14px; border-radius: var(--s-r-sm); border: 1px solid var(--s-line); background: var(--s-card); color: var(--s-ink); outline: 0; font: inherit; font-weight: 400; transition: border-color .2s, box-shadow .2s; }
.co-form input:focus, .co-form select:focus, .co-form textarea:focus, .acc-box input:focus, .acc-card input:focus { border-color: var(--s-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-ink) 12%, transparent); }
.co-form input[readonly] { background: var(--s-soft); color: var(--s-muted); }
.co-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-row-3 { grid-template-columns: 1.2fr 1fr .8fr; }
.co-check { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 500 !important; }
.co-check input { width: 18px; height: 18px; accent-color: var(--s-btn); }
.co-pass[hidden] { display: none !important; }
.co-form .hp, .acc-box .hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.co-hint { margin: -6px 0 0; font-size: .88rem; color: var(--s-muted); }
.co-hint a { color: var(--s-ink); font-weight: 700; text-decoration: underline; }
.co-submit { margin-top: 8px; padding: 16px; font-size: 1.02rem; }
.co-legal, .pay-legal { font-size: .78rem; color: var(--s-muted); margin: 0; }
.co-err { padding: 12px 14px; border-radius: var(--s-r-sm); background: #fdecec; color: #9f1d1d; border: 1px solid #f6caca; font-size: .9rem; }
.co-err p { margin: 2px 0; }
.co-ok { padding: 12px 14px; border-radius: var(--s-r-sm); background: #e9f8ee; color: #14632f; border: 1px solid #bfe8cc; font-size: .9rem; }
[data-theme="dark"] .co-err { background: #3a1616; color: #fbb; border-color: #5b2323; }
[data-theme="dark"] .co-ok { background: #12301d; color: #b5f0c6; border-color: #1f4d2f; }
.co-sum { position: sticky; top: 90px; padding: 22px; border-radius: var(--s-r); background: var(--s-soft); border: 1px solid var(--s-line); display: flex; flex-direction: column; gap: 6px; }
.co-sum h2 { font-family: var(--s-head); font-size: 1.1rem; margin: 0 0 6px; color: var(--s-ink); }
.co-lines .cd-line { grid-template-columns: 60px 1fr auto; padding: 10px 0; }
.co-lines .cd-line img { width: 60px; height: 60px; }
.co-pay-ic { margin: 10px 0 0; font-size: .78rem; color: var(--s-muted); letter-spacing: .03em; text-align: center; }
.pay-wrap { width: min(1100px, 100% - 32px); margin: 26px auto 60px; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pay-wrap-1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
.pay-card { padding: 28px; border-radius: var(--s-r); background: var(--s-card); border: 1px solid var(--s-line); box-shadow: var(--s-shadow); }
.pay-card h1 { font-family: var(--s-head); font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0 0 8px; color: var(--s-ink); letter-spacing: -.02em; }
.pay-card h2 { font-family: var(--s-head); font-size: 1.05rem; margin: 0 0 10px; color: var(--s-ink); }
.pay-sum { background: var(--s-soft); box-shadow: none; position: sticky; top: 90px; }
.pay-lines { display: flex; flex-direction: column; }
.pay-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--s-line); font-size: .9rem; }
.pay-img { position: relative; width: 64px; height: 64px; border-radius: var(--s-r-sm); background: var(--s-stage); display: block; }
.pay-img img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.pay-img i { position: absolute; top: -7px; right: -7px; min-width: 22px; height: 22px; border-radius: 99px; background: var(--s-muted); color: #fff; font-style: normal; font-size: .74rem; font-weight: 800; display: grid; place-items: center; padding: 0 5px; }
.pay-lt a { font-weight: 600; color: var(--s-ink); display: block; line-height: 1.3; }
.pay-lt small { color: var(--s-muted); }
.pay-ship { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--s-line); font-size: .88rem; color: var(--s-ink2); }
.pay-ship p { margin: 6px 0 0; }
.gw-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0 14px; }
.gw { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--s-r-sm); border: 1.5px solid var(--s-line); cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; background: var(--s-card); }
.gw:hover { border-color: var(--s-muted); }
.gw:has(input:checked) { border-color: var(--s-ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s-ink) 10%, transparent); background: var(--s-soft); }
.gw input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--s-btn); flex: none; }
.gw-b { display: flex; flex-direction: column; gap: 3px; }
.gw-b b { color: var(--s-ink); }
.gw-b small { color: var(--s-muted); font-size: .84rem; }
.gw-logos { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 6px; }
.gw-logos i { font-style: normal; font-size: .7rem; font-weight: 800; letter-spacing: .03em; padding: 3px 8px; border-radius: 6px; background: var(--s-bg); border: 1px solid var(--s-line); color: var(--s-ink2); }
.gw-simulator .gw-logos i { background: #fff4d6; color: #5b4300; border-color: #f0d98c; }
.pay-fx { font-size: .84rem; color: var(--s-ink2); background: var(--s-soft); border-radius: var(--s-r-sm); padding: 10px 12px; margin: 0 0 12px; }
.pay-btn { padding: 16px; font-size: 1.05rem; }
.pay-msg { min-height: 1.4em; margin: 10px 0; font-size: .9rem; color: #b91c1c; }
.pay-result { text-align: center; position: relative; overflow: hidden; }
.pr-icon { width: 92px; height: 92px; margin: 6px auto 16px; }
.pr-icon svg { width: 100%; height: 100%; fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.pr-icon circle { stroke: #16a34a; fill: #e9f8ee; stroke-dasharray: 160; stroke-dashoffset: 160; animation: prDraw .7s var(--ease) forwards; }
.pr-icon path { stroke: #16a34a; stroke-dasharray: 60; stroke-dashoffset: 60; animation: prDraw .45s .55s var(--ease) forwards; }
.pr-wait circle { stroke: #d97706; fill: #fff7e6; } .pr-wait path { stroke: #d97706; }
.pr-wait svg { animation: prPulse 2s ease-in-out infinite; }
.pr-err circle { stroke: #dc2626; fill: #fdecec; } .pr-err path { stroke: #dc2626; }
@keyframes prDraw { to { stroke-dashoffset: 0; } }
@keyframes prPulse { 50% { transform: scale(1.05); } }
.confetti { position: absolute; inset: 0; pointer-events: none; }
.confetti i { position: absolute; top: -12px; left: calc(var(--d) * 5.6%); width: 8px; height: 14px; border-radius: 2px; background: hsl(calc(var(--d) * 37), 85%, 60%); animation: cfFall 2.6s calc(var(--d) * 70ms) ease-in forwards; opacity: 0; }
@keyframes cfFall { 0% { opacity: 1; transform: translateY(0) rotate(0); } 100% { opacity: 0; transform: translateY(420px) rotate(540deg); } }
.pr-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 22px 0; text-align: left; }
.pr-meta div { padding: 12px 14px; border-radius: var(--s-r-sm); background: var(--s-soft); border: 1px solid var(--s-line); }
.pr-meta dt { font-size: .76rem; color: var(--s-muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.pr-meta dd { margin: 4px 0 0; font-weight: 700; color: var(--s-ink); overflow-wrap: anywhere; }
.pr-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; align-items: center; margin-top: 8px; }
.pr-tips { text-align: left; margin: 16px auto; max-width: 440px; color: var(--s-ink2); font-size: .9rem; }
.pr-count { font-size: .9rem; color: var(--s-muted); }
.pay-poll { display: inline-flex; align-items: center; gap: 8px; color: var(--s-muted); font-size: .88rem; }
.spin { width: 16px; height: 16px; border-radius: 50%; border: 2.5px solid var(--s-line); border-top-color: var(--s-ink); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: .78rem; font-weight: 700; background: var(--s-soft); border: 1px solid var(--s-line); color: var(--s-ink2); white-space: nowrap; }
.pill-paid, .pill-completed, .pill-processing, .pill-shipped { background: #e9f8ee; color: #14632f; border-color: #bfe8cc; }
.pill-pending { background: #fff7e6; color: #8a5300; border-color: #f6d9a3; }
.pill-failed, .pill-expired, .pill-cancelled { background: #fdecec; color: #9f1d1d; border-color: #f6caca; }
.sim { text-align: center; }
.sim-qr { width: 220px; margin: 18px auto; display: grid; grid-template-columns: repeat(21, 1fr); padding: 12px; background: #fff; border-radius: 12px; border: 1px solid #ddd; }
.sim-qr i { aspect-ratio: 1; background: #fff; }
.sim-qr i.on { background: #111; }
.sim-amt { font-size: 1.6rem; font-weight: 800; margin: 0 0 16px; color: var(--s-ink); }
.sim-actions { display: flex; flex-direction: column; gap: 10px; max-width: 360px; margin: 0 auto; text-align: left; }
.sim-actions label { display: flex; flex-direction: column; gap: 6px; font-size: .84rem; font-weight: 600; }
.sim-actions select { padding: 10px; border-radius: 10px; border: 1px solid var(--s-line); background: var(--s-card); color: var(--s-ink); }
.sim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* shop hub */
.hub { padding: 40px 0 60px; }
.hub h1 { max-width: 18ch; }
.hub-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 28px; }
.hub-card { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .3s var(--ease), box-shadow .3s; }
.hub-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.hub-img { aspect-ratio: 16 / 8; overflow: hidden; background: var(--bg-soft); display: block; }
.hub-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.hub-card:hover .hub-img img { transform: scale(1.04); }
.hub-global .hub-img { background: linear-gradient(135deg, #f1f1ef, #d9d9d4); }
.hub-nusantara .hub-img { background: linear-gradient(135deg, #fbe1cf, #e3fb9c); }
.hub-body { display: flex; flex-direction: column; gap: 8px; padding: 22px 24px 24px; }
.hub-body small { font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.hub-body b { font-family: var(--head); font-size: 1.6rem; letter-spacing: -.02em; }
.hub-global .hub-body b { font-family: "Inter", sans-serif; font-weight: 700; letter-spacing: -.04em; }
.hub-nusantara .hub-body b { font-family: "Poppins", var(--head); font-weight: 600; }
.hub-body > span { color: var(--text-2); }
.hub-body em { font-style: normal; font-size: .84rem; color: var(--muted); }
.hub-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--primary); margin-top: 6px; }
.hub-nusantara .hub-go { color: #5d2b55; }
[data-theme="dark"] .hub-nusantara .hub-go { color: #e3fb9c; }
.hub-foot { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; }
.hub-foot a { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-2); }

/* account */
.acc-auth { width: min(980px, 100% - 32px); margin: 40px auto 60px; display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.acc-side h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.acc-box { padding: 28px; border-radius: 20px; background: var(--s-card); border: 1px solid var(--s-line); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 14px; }
.acc-box form { display: flex; flex-direction: column; gap: 14px; }
.acc-box h1, .acc-box h2 { margin: 0; font-size: 1.3rem; }
.acc-tabs { display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 12px; background: var(--s-soft); border: 1px solid var(--s-line); }
.acc-tabs a { text-align: center; padding: 9px; border-radius: 9px; font-weight: 700; color: var(--s-muted); }
.acc-tabs a.is-on { background: var(--s-card); color: var(--s-ink); box-shadow: var(--shadow-sm); }
.acc-alt { margin: 0; text-align: center; font-size: .88rem; }
.acc-alt a { color: var(--primary); font-weight: 700; }
.acc { width: min(1100px, 100% - 32px); margin: 30px auto 60px; display: flex; flex-direction: column; gap: 18px; }
.acc-hello { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; }
.acc-hello h1 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.acc-hello p { margin: 4px 0 0; }
.acc-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.acc-stats div { padding: 18px; border-radius: 16px; background: var(--s-soft); border: 1px solid var(--s-line); }
.acc-stats b { display: block; font-family: var(--head); font-size: 1.4rem; overflow-wrap: anywhere; }
.acc-stats span { color: var(--s-muted); font-size: .86rem; }
.acc-card { padding: 22px; border-radius: 18px; background: var(--s-card); border: 1px solid var(--s-line); }
.acc-card h2 { font-size: 1.12rem; margin: 0 0 12px; }
.acc-card.form { gap: 12px; }
.acc-orders { display: flex; flex-direction: column; }
.acc-order { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--s-line); }
.acc-order .pay-img { width: 56px; height: 56px; }
.acc-o-main b { display: block; font-family: ui-monospace, Consolas, monospace; font-size: .92rem; }
.acc-o-main small { color: var(--s-muted); }
.acc-o-tot { white-space: nowrap; }
.acc-o-act { display: flex; gap: 10px; font-size: .86rem; font-weight: 700; }
.acc-o-act a { color: var(--primary); }
.acc-o-act .acc-pay { background: var(--brand); color: #fff; padding: 4px 10px; border-radius: 8px; }
.acc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; align-items: start; }
.acc-oh { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acc-oh h1 { margin: 0; font-size: 1.6rem; }
.acc-track { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); padding: 0; margin: 6px 0; counter-reset: t; }
.acc-track li { position: relative; text-align: center; font-size: .82rem; font-weight: 600; color: var(--s-muted); padding-top: 30px; }
.acc-track li span { position: absolute; top: 4px; left: 50%; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--s-line); z-index: 2; }
.acc-track li::before { content: ""; position: absolute; top: 12px; left: -50%; right: 50%; height: 3px; background: var(--s-line); }
.acc-track li:first-child::before { display: none; }
.acc-track li.is-done span, .acc-track li.is-done::before { background: #16a34a; }
.acc-track li.is-done { color: var(--s-ink); }
.acc-track li.is-now span { box-shadow: 0 0 0 5px rgba(22, 163, 74, .2); }
.acc-hist { list-style: none; padding: 0; margin: 0 0 14px; display: flex; flex-direction: column; gap: 8px; font-size: .88rem; }
.acc-hist li { display: flex; justify-content: space-between; gap: 10px; }
.acc-hist small { color: var(--s-muted); }

/* responsive */
@media (max-width: 1080px) {
  .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .st-cat-grid { grid-template-columns: repeat(5, minmax(120px, 1fr)); overflow-x: auto; }
  .st-search input { width: 150px; } .st-search input:focus { width: 180px; }
}
@media (max-width: 900px) {
  .st-bar-in { flex-wrap: wrap; gap: 6px 14px; padding: 10px 0; }
  .st-cats { order: 3; flex: 1 1 100%; }
  .st-tools { margin-left: auto; }
  .pd, .cart-grid, .co, .pay-wrap, .acc-auth, .acc-grid, .st-story { grid-template-columns: 1fr; }
  .pd-gallery, .co-sum, .pay-sum, .cart-sum { position: static; }
  .co-sum, .pay-sum { order: -1; }
  .st-trust { grid-template-columns: 1fr 1fr; }
  .acc-stats { grid-template-columns: 1fr 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .st-nusantara .st-slide { padding: 0 0 20px; flex-direction: column; align-items: stretch; }
  .st-nusantara .st-slide::after { position: relative; width: 100%; height: 240px; order: -1; display: block; border-radius: 22px; }
  .st-nusantara .st-slide-in { width: auto; margin: -50px 14px 0; min-height: 0; padding: 26px; }
}
@media (max-width: 640px) {
  .st-global .st-slide::before { background: linear-gradient(0deg, rgba(10, 10, 10, .7) 0%, rgba(10, 10, 10, .2) 70%); }
  .st-global .st-slide { align-items: flex-end; }
  .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .st-search input { width: 120px; } .st-search input:focus { width: 150px; }
  .st-logo { font-size: 1.05rem; }
  .st-nusantara .st-logo { letter-spacing: .05em; font-size: .95rem; }
  .st-search input, .st-search input:focus { width: 104px; }
  .st-slide { min-height: 420px; }
  .co-row, .co-row-3 { grid-template-columns: 1fr; }
  .st-trust { grid-template-columns: 1fr; }
  .pr-meta { grid-template-columns: 1fr; }
  .acc-order { grid-template-columns: 48px minmax(0, 1fr) auto; }
  .acc-order .pill { grid-column: 2; justify-self: start; }
  .acc-o-tot { grid-column: 3; grid-row: 1; }
  .acc-o-act { grid-column: 2 / -1; }
  .pay-card { padding: 20px; }
  .pd-buy { flex-wrap: wrap; }
  .pd-buy .st-btn { flex: 1; }
  .acc-track li { font-size: .7rem; }
  .st-nusantara .sp-card { padding: 8px 8px 12px; }
}
@media (prefers-reduced-motion: reduce) { .sp-card, .confetti i, .pr-icon *, .pr-wait svg { animation: none !important; stroke-dashoffset: 0 !important; } }
