/* Yayan Digital v3.2 — bright, professional affiliate site (white + maroon + amber) */
:root {
  --bg: #ffffff;
  --bg-soft: #f7f6f3;
  --surface: #ffffff;
  --line: #e9e5df;
  --line-strong: #d9d3ca;
  --text: #1c1917;
  --text-2: #44403c;
  --muted: #78716c;
  --primary: #8a1538;
  --primary-2: #a61d47;
  --primary-soft: #fbeef2;
  --amber: #f59e0b;
  --amber-soft: #fff6e0;
  --shopee: #ee4d2d;
  --cyan: #25f4ee;
  --pink: #fe2c55;
  --brand: #8a1538;
  --brand-2: #a61d47;
  --nav-bg: rgba(255, 255, 255, .92);
  --glass: rgba(255, 255, 255, .92);
  --veil: 255, 255, 255;
  --star-off: #d6d3d1;
  --dot-off: rgba(28, 25, 23, .2);
  --ok: #15803d;
  --err: #b91c1c;
  --r: 16px;
  --shadow-sm: 0 1px 2px rgba(28, 25, 23, .06), 0 1px 3px rgba(28, 25, 23, .05);
  --shadow: 0 8px 24px -10px rgba(28, 25, 23, .18);
  --shadow-lg: 0 24px 48px -20px rgba(28, 25, 23, .28);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --head: "Manrope", "Segoe UI", system-ui, sans-serif;
  --body: "Inter", "Segoe UI", system-ui, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
@supports not (overflow: clip) { html, body { overflow-x: hidden; } }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--text); color: var(--bg); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 6px; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.015em; color: var(--text); }
h1 { font-size: clamp(2rem, 4.2vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 800; }
h3 { font-size: 1.08rem; font-weight: 700; }
.hl, .grad { color: var(--primary); }
.eyebrow, .kicker { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); margin-bottom: 10px; }
.gold { color: var(--primary); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 12px; font-weight: 600; border: 1px solid transparent; cursor: pointer; transition: background .2s, border-color .2s, box-shadow .2s, color .2s; text-align: center; white-space: nowrap; }
.btn-sm { padding: 8px 14px; font-size: .9rem; border-radius: 10px; }
.btn-block { width: 100%; }
.btn-primary, .btn-glow { background: var(--brand); color: #fff; box-shadow: 0 6px 16px -8px rgba(138, 21, 56, .6); }
.btn-primary:hover, .btn-glow:hover { background: var(--brand-2); }
.btn-outline, .btn-ghost { background: var(--surface); border-color: var(--line-strong); color: var(--text); }
.btn-outline:hover, .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-shopee { background: var(--shopee); color: #fff; }
.btn-shopee:hover { background: #d9411f; }
.btn-tiktok { background: #111; color: #fff; }
.btn-tiktok:hover { background: #000; box-shadow: -2px 0 0 var(--cyan), 2px 0 0 var(--pink); }
.link-arrow { font-weight: 600; color: var(--primary); white-space: nowrap; }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- socials ---------- */
.socials { display: flex; gap: 8px; flex-wrap: wrap; }
.soc { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--text-2); background: var(--bg-soft); border: 1px solid var(--line); transition: background .2s, color .2s, border-color .2s; }
.soc:hover { color: #fff; background: var(--brand); border-color: var(--brand); }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: var(--nav-bg); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav-in { width: min(1200px, 100% - 32px); margin-inline: auto; display: flex; align-items: center; gap: 22px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 800; font-size: 1.1rem; flex-shrink: 0; color: var(--text); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; overflow: hidden; flex-shrink: 0; box-shadow: var(--shadow-sm); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.07); }
.brand-name b { color: var(--primary); }
.nav-links { display: flex; gap: 2px; }
.nav-links a { padding: 8px 12px; border-radius: 10px; color: var(--text-2); font-weight: 600; font-size: .95rem; transition: background .2s, color .2s; }
.nav-links a:hover { background: var(--bg-soft); }
.nav-links a.is-active { color: var(--primary); background: var(--primary-soft); }
.nav-search { margin-left: auto; flex: 0 1 260px; }
.nav-search input { width: 100%; padding: 9px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); outline: 0; transition: border-color .2s, background .2s; }
.nav-search input:focus { border-color: var(--primary); background: var(--surface); }
.nav-socials { display: none; }
.nav-burger { display: none; margin-left: auto; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; flex-shrink: 0; }
.nav-burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-burger span:first-child { top: 16px; } .nav-burger span:last-child { top: 24px; }
.nav-burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mobile-menu { position: fixed; inset: 68px 0 0; z-index: 45; background: var(--bg); display: flex; flex-direction: column; padding: 20px 24px; gap: 4px; border-top: 1px solid var(--line); }
.mobile-menu[hidden] { display: none; }
.mobile-menu > a { font-family: var(--head); font-size: 1.3rem; font-weight: 700; padding: 12px 0; border-bottom: 1px solid var(--line); }
.mm-socials { margin-top: 20px; }

/* ---------- home hero ---------- */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: center; padding: 48px 0 20px; }
.hero h1 { margin-bottom: 16px; }
.hero h1 > span:first-child { display: block; }
.tw-wrap { position: relative; display: block; }
.tw-ghost { visibility: hidden; }
.tw-live { position: absolute; left: 0; top: 0; right: 0; }
.tw-live.is-typing::after { content: ""; display: inline-block; width: 3px; height: .9em; margin-left: 4px; vertical-align: -.06em; background: var(--amber); animation: blink 1s steps(1) infinite; }
.hero-sub { font-size: 1.08rem; color: var(--text-2); max-width: 54ch; margin: 0 0 24px; }
.hero-search { display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 16px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--surface); box-shadow: var(--shadow); max-width: 540px; color: var(--muted); }
.hero-search:focus-within { border-color: var(--primary); }
.hero-search input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 10px 0; background: none; color: var(--text); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; font-size: .88rem; color: var(--text-2); }
.hero-badges span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot-shopee { background: var(--shopee); } .dot-tiktok { background: #111; box-shadow: -2px 0 0 var(--cyan), 2px 0 0 var(--pink); }

/* ---------- slider (no zoom animation) ---------- */
.slider { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; display: block; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide picture, .slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(var(--veil), .95) 0%, rgba(var(--veil), .75) 38%, rgba(var(--veil), 0) 62%); }
.slide-copy { position: absolute; z-index: 2; left: 28px; top: 50%; transform: translateY(-50%); max-width: 46%; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.slide-tag { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 4px 10px; border-radius: 999px; }
.slide-title { font-family: var(--head); font-weight: 800; font-size: clamp(1.2rem, 2.2vw, 1.7rem); line-height: 1.2; color: var(--text); }
.slide-desc { color: var(--text-2); font-size: .92rem; }
.slide-cta { margin-top: 4px; font-weight: 700; color: #fff; background: var(--brand); padding: 9px 16px; border-radius: 10px; font-size: .9rem; }
.slider-dots { position: absolute; z-index: 3; bottom: 14px; left: 28px; display: flex; gap: 6px; }
.slider-dots button { width: 22px; height: 4px; border-radius: 4px; border: 0; background: var(--dot-off); cursor: pointer; padding: 0; transition: width .3s, background .3s; }
.slider-dots button.is-on { width: 38px; background: var(--brand); }

/* ---------- sections ---------- */
.section { padding: 56px 0 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.section-head h2 { margin: 0; }
.page-hero { padding: 44px 0 24px; }
.page-hero h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); }
.page-hero > p { max-width: 62ch; font-size: 1.04rem; color: var(--text-2); }

/* ---------- subtle reveal (fade only, no scaling) ---------- */
.reveal { opacity: 0; transition: opacity .5s ease; transition-delay: calc(var(--i, 0) * 50ms); }
.reveal.is-in { opacity: 1; }

/* ---------- categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { display: grid; grid-template-columns: 64px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.cat:hover { border-color: var(--primary); box-shadow: var(--shadow); }
.cat-ic { grid-row: span 2; width: 64px; height: 64px; border-radius: 14px; background: var(--amber-soft); display: grid; place-items: center; overflow: hidden; }
.cat-ic img { width: 56px; height: 56px; object-fit: contain; }
.cat-name { font-family: var(--head); font-weight: 700; align-self: end; }
.cat-sub { font-size: .82rem; color: var(--muted); align-self: start; }

/* ---------- product cards ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.pcard { position: relative; display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, box-shadow .2s, opacity .5s ease; min-width: 0; }
.pcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.pcard-media { position: relative; aspect-ratio: 1; background: var(--bg-soft); overflow: hidden; display: block; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; }
.pcard-ph { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--head); font-size: 3rem; font-weight: 800; color: rgba(255, 255, 255, .8); }
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; font-size: .72rem; font-weight: 700; z-index: 2; }
.pcard-media .badge { position: absolute; top: 10px; left: 10px; }
.pcard-media .badge-disc { left: auto; right: 10px; background: var(--amber); color: #3a2500; }
.badge-shopee { background: var(--shopee); color: #fff; }
.badge-tiktok { background: #111; color: #fff; }
.pcard-body { padding: 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.pcard-cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pcard-title { margin: 0; font-size: .98rem; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; font-family: var(--body); }
.pcard-note { margin: 0; font-size: .85rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-meta { display: flex; align-items: baseline; gap: 8px; margin-top: auto; flex-wrap: wrap; }
.price { font-family: var(--head); font-weight: 800; font-size: 1.12rem; color: var(--primary); }
.price-old { color: var(--muted); font-size: .84rem; }
.pcard-foot { display: flex; align-items: center; gap: 8px; min-height: 18px; flex-wrap: wrap; font-size: .82rem; }
.stars { --pct: calc(var(--r) / 5 * 100%); font-size: .82rem; letter-spacing: 1px; background: linear-gradient(90deg, var(--amber) var(--pct), var(--star-off) var(--pct)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pcard .btn { margin-top: 6px; padding: 10px 12px; font-size: .86rem; border-radius: 10px; white-space: normal; }
.pcard[hidden] { display: none; }

/* ---------- why ---------- */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 26px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.why-card { display: flex; gap: 14px; align-items: flex-start; }
.why-ic { width: 56px; height: 56px; flex-shrink: 0; border-radius: 14px; background: var(--surface); display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.why-ic img { width: 46px; height: 46px; object-fit: contain; }
.why-card h3 { margin-bottom: 4px; }
.why-card p { margin: 0; font-size: .92rem; }

/* ---------- blog ---------- */
.grid-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.bcard { display: flex; flex-direction: column; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .2s, box-shadow .2s, opacity .5s ease; min-width: 0; }
.bcard:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.cover { display: block; aspect-ratio: 16 / 9; overflow: hidden; position: relative; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-gen { display: grid; place-items: center; }
.cover-gen::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.35), transparent 55%); }
.cover-gen span { font-size: 3rem; position: relative; z-index: 1; }
.cover-wide { aspect-ratio: 21 / 9; border-radius: var(--r); }
.cover-wide span { font-size: 4rem; }
.bcard-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.bcard-meta { font-size: .8rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.bcard-title { font-family: var(--head); font-weight: 700; font-size: 1.1rem; line-height: 1.35; color: var(--text); }
.bcard-excerpt { color: var(--text-2); font-size: .92rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bcard .link-arrow { font-size: .9rem; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border-radius: 999px; background: var(--bg-soft); border: 1px solid var(--line); font-size: .8rem; font-weight: 600; color: var(--text-2); }
button.chip { cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
button.chip:hover { border-color: var(--primary); color: var(--primary); }
button.chip.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }
.chip small { opacity: .75; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 22px; }
.bwrap { display: contents; }
.bwrap[hidden] { display: none; }
.blog-hero { padding-top: 40px; }
.author-card { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; padding: 24px; border-radius: 20px; background: linear-gradient(135deg, var(--primary-soft), var(--amber-soft)); border: 1px solid var(--line); }
.author-photo { display: block; width: 180px; aspect-ratio: 1; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); }
.author-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.author-copy h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; }
.author-copy p { margin: 0 0 14px; max-width: 62ch; color: var(--text-2); }
.author-copy .soc { background: var(--surface); }

/* ---------- empty ---------- */
.empty { text-align: center; padding: 44px 20px; border-radius: var(--r); border: 1px dashed var(--line-strong); background: var(--bg-soft); }
.empty-ic, .empty-icon { display: inline-grid; place-items: center; margin-bottom: 8px; font-size: 2.6rem; }
.empty-ic img { width: 72px; height: 72px; }
.empty-art { width: 150px; height: auto; margin: 0 auto 6px; }
.empty p { max-width: 52ch; margin: 0 auto 18px; }
.empty-inline { text-align: center; padding: 30px; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.search { flex: 1 1 240px; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--muted); }
.search:focus-within { border-color: var(--primary); }
.search input { flex: 1; min-width: 0; background: none; border: 0; outline: 0; padding: 11px 0; color: var(--text); }
.seg { display: inline-flex; padding: 3px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line); max-width: 100%; }
.seg button { border: 0; background: none; padding: 8px 14px; border-radius: 9px; cursor: pointer; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.seg button.is-on { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
select { padding: 10px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); }

/* ---------- article ---------- */
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.read-progress span { display: block; height: 100%; width: 100%; background: var(--brand); transform-origin: left; transform: scaleX(0); }
.article { padding: 32px 0 0; }
.article-head { max-width: 820px; margin: 0 auto 34px; }
.article-head h1 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); margin: 12px 0 14px; overflow-wrap: anywhere; }
.lead { font-size: 1.12rem; color: var(--text-2); margin: 0 0 24px; }
.link-back { color: var(--muted); font-weight: 600; }
.link-back:hover { color: var(--primary); }
.article-layout { display: grid; grid-template-columns: 210px minmax(0, 720px); gap: 48px; justify-content: center; }
.article-layout:not(:has(.toc)) { grid-template-columns: minmax(0, 740px); }
.toc { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 2px; font-size: .88rem; border-left: 2px solid var(--line); padding-left: 14px; }
.toc strong { font-family: var(--head); margin-bottom: 8px; }
.toc a { color: var(--muted); padding: 4px 0; }
.toc a.is-on { color: var(--primary); font-weight: 600; }
.prose { font-size: 1.06rem; line-height: 1.8; min-width: 0; overflow-wrap: anywhere; color: var(--text-2); }
.prose h2 { font-size: 1.5rem; margin: 1.8em 0 .5em; scroll-margin-top: 90px; }
.prose h3 { font-size: 1.2rem; margin: 1.5em 0 .5em; }
.prose p, .prose ul, .prose ol { margin: 0 0 1.15em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose strong { color: var(--text); }
.prose a { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.5em 0; padding: 16px 20px; border-left: 3px solid var(--amber); background: var(--amber-soft); border-radius: 0 12px 12px 0; }
.prose blockquote p { margin: 0; }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--bg-soft); border: 1px solid var(--line); }
.prose pre { padding: 16px; border-radius: 12px; background: #1c1917; color: #f5f5f4; overflow-x: auto; max-width: 100%; }
.prose pre code { padding: 0; background: none; border: 0; }
.prose img { border-radius: 12px; margin: 1.3em 0; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.2em 0; }
.post-product { margin: 1.6em 0; max-width: 300px; }
.article-related, .article-more { max-width: 1000px; margin: 60px auto 0; }
.share { max-width: 740px; margin: 44px auto 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding-top: 20px; border-top: 1px solid var(--line); }
.share a, .share button { padding: 7px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; font-weight: 600; font-size: .88rem; }
.share a:hover, .share button:hover { border-color: var(--primary); color: var(--primary); }

/* ---------- jasa ---------- */
.jasa-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 36px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.stat { padding: 20px; border-radius: var(--r); background: var(--bg-soft); border: 1px solid var(--line); }
.stat b { display: block; font-family: var(--head); font-size: 2rem; font-weight: 800; color: var(--primary); }
.stat span { color: var(--muted); font-size: .88rem; }
.svc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { padding: 20px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.svc:hover { border-color: var(--line-strong); box-shadow: var(--shadow); }
.svc img { width: 56px; height: 56px; object-fit: contain; border-radius: 12px; margin-bottom: 14px; background: var(--amber-soft); padding: 6px; }
.svc p { margin: 0; font-size: .93rem; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.steps li { padding: 20px; border-radius: var(--r); background: var(--bg-soft); border: 1px solid var(--line); }
.step-no { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; font-family: var(--head); font-weight: 800; background: var(--brand); color: #fff; margin-bottom: 12px; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.work { border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; display: flex; align-items: center; gap: 14px; padding: 14px; min-width: 0; }
.work:hover { border-color: var(--accent, var(--primary)); box-shadow: var(--shadow); }
.work-img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 12px; overflow: hidden; background: var(--bg-soft); }
.work-img img { width: 100%; height: 100%; object-fit: cover; }
.work-body { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.work-body b { font-family: var(--head); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tags i { font-style: normal; font-size: .72rem; padding: 2px 8px; border-radius: 999px; background: var(--bg-soft); color: var(--muted); border: 1px solid var(--line); }
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 36px; border-radius: 20px; background: var(--bg-soft); border: 1px solid var(--line); }
.contact-alt { display: flex; flex-direction: column; gap: 6px; }
.contact-alt a { color: var(--primary); font-weight: 600; overflow-wrap: anywhere; }
.form { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .86rem; font-weight: 600; color: var(--text-2); }
.form input:not([type=checkbox]), .form textarea, .form select { width: 100%; padding: 11px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line-strong); color: var(--text); outline: 0; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(138, 21, 56, .12); }
.form textarea { resize: vertical; }
.form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; min-height: 1.4em; font-weight: 600; }
.form-msg.ok { color: var(--ok); } .form-msg.err { color: var(--err); }

/* ---------- jasa: inti, harga, checklist, faq ---------- */
.section-sub { margin: 8px 0 0; max-width: 60ch; }
.inti-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.inti { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.inti-no { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--primary-soft); color: var(--primary); font-family: var(--head); font-weight: 800; margin-bottom: 12px; }
.inti h3 { margin-bottom: 6px; }
.inti p { margin: 0; font-size: .94rem; }
.price-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); min-width: 0; }
.price-card.is-hot { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); }
.price-flag { position: absolute; top: -12px; left: 20px; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.price-card h3 { margin: 4px 0 0; font-size: 1.1rem; }
.price-for { margin: 0; font-size: .88rem; min-height: 3em; }
.price-amt { display: flex; align-items: baseline; gap: 6px; }
.price-amt small { color: var(--muted); font-weight: 600; }
.price-amt b { font-family: var(--head); font-size: 1.9rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.price-time { font-size: .8rem; font-weight: 600; color: var(--primary); background: var(--primary-soft); padding: 3px 10px; border-radius: 999px; align-self: flex-start; }
.price-card .btn { margin-top: auto; }
.check-list { list-style: none; padding: 0; margin: 4px 0 8px; display: flex; flex-direction: column; gap: 8px; font-size: .9rem; color: var(--text-2); }
.check-list li { position: relative; padding-left: 26px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--amber-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a1538' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.check-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; margin-top: 14px; }
.addon { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; border-radius: 16px; background: var(--bg-soft); border: 1px dashed var(--line-strong); flex-wrap: wrap; }
.addon h3 { margin: 0 0 4px; }
.addon p { margin: 0; font-size: .9rem; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 28px; align-items: start; }
.why-ai { padding: 24px; border-radius: 18px; background: linear-gradient(135deg, var(--primary-soft), var(--amber-soft)); border: 1px solid var(--line); }
.why-ai p { margin: 0 0 10px; }
.why-ai a { color: var(--primary); font-weight: 600; }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 860px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--surface); padding: 0 18px; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 28px 16px 0; font-weight: 700; font-family: var(--head); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 12px; font-size: 1.4rem; color: var(--primary); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 16px; font-size: .95rem; }

.faq-wrap { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.faq { max-width: none; }
.faq-aside { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 18px; background: linear-gradient(160deg, var(--primary-soft), var(--amber-soft)); border: 1px solid var(--line); }
.faq-aside img { width: 64px; height: 64px; }
.faq-aside h3 { margin: 0; font-size: 1.15rem; }
.faq-aside p { margin: 0; }
.faq-aside .check-list { margin: 2px 0; }
.jasa-hero { align-items: center; }
.split { align-items: stretch; }
.split > div:first-child { padding: 24px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.section-head h2 + .section-sub { margin-top: 8px; }
.svc { display: flex; flex-direction: column; }
.steps li { display: flex; flex-direction: column; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding-top: 90px; }
.nf .hero-actions { justify-content: center; }
.nf-code { display: inline-block; font-family: var(--head); font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; color: var(--primary); }

/* ---------- footer ---------- */
.footer { margin-top: 80px; border-top: 1px solid var(--line); background: var(--bg-soft); padding: 48px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; }
.footer-grid h4 { font-size: .95rem; margin-bottom: 12px; }
.footer-grid > div:not(:first-child) { display: flex; flex-direction: column; gap: 8px; }
.footer-grid a:not(.brand):not(.soc) { color: var(--text-2); overflow-wrap: anywhere; }
.footer-grid a:not(.brand):not(.soc):hover { color: var(--primary); }
.footer-grid p { color: var(--muted); }
.footer-socials { margin-top: 16px; }
.footer-socials .soc { background: var(--surface); }
.footer-note { margin-top: 34px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }

/* ---------- admin ---------- */
.admin { padding: 36px 0; }
.admin-login { max-width: 380px; margin: 60px auto; }
.admin-top { display: flex; justify-content: space-between; align-items: center; }
.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 22px 0 36px; }
.card { padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { flex-direction: row !important; align-items: center; }
.alert { padding: 12px 16px; border-radius: 12px; }
.alert.ok { background: #dcfce7; color: #166534; }
.alert.err { background: #fee2e2; color: #991b1b; }
.admin-token { margin: 12px 0; } .admin-token code { word-break: break-all; display: block; margin-top: 8px; padding: 10px; background: var(--bg-soft); border-radius: 10px; }
.table-wrap { overflow-x: auto; margin-bottom: 30px; }
.table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.table th, .table td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.is-admin .reveal { opacity: 1; }

/* ---------- v3.4: buttons (maroon + gold glass sheen) ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; white-space: nowrap; }
.btn::after { content: ""; position: absolute; inset: -2px; z-index: -1; pointer-events: none; opacity: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 214, 120, .0) 30%, rgba(255, 222, 140, .75) 46%, rgba(255, 255, 255, .9) 50%, rgba(255, 222, 140, .75) 54%, transparent 70%);
  transform: translateX(-120%); transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .2s; mix-blend-mode: soft-light; }
.btn:hover::after { transform: translateX(120%); opacity: 1; }
.btn-primary:hover, .btn-glow:hover { background: linear-gradient(135deg, #8a1538 0%, #a61d47 55%, #b8862b 100%); box-shadow: 0 0 0 1px rgba(245, 158, 11, .55), 0 10px 26px -10px rgba(138, 21, 56, .7); }
.btn-outline:hover, .btn-ghost:hover { border-color: #b8862b; color: var(--primary); background: linear-gradient(135deg, var(--surface) 0%, var(--amber-soft) 100%); }
.btn-buy { gap: 8px; }
.btn-buy .pi { flex-shrink: 0; }
.btn-shopee:hover { background: linear-gradient(135deg, #ee4d2d, #8a1538); box-shadow: 0 0 0 1px rgba(245, 158, 11, .55); }
.btn-tiktok:hover { background: linear-gradient(135deg, #111, #8a1538); box-shadow: 0 0 0 1px rgba(245, 158, 11, .55); }
.link-arrow:hover, a:hover .link-arrow { text-decoration: none; }

/* ---------- product card: clickable media + title (no underline) ---------- */
.pcard-media { border: 0; padding: 0; width: 100%; cursor: zoom-in; font: inherit; text-align: left; }
.pcard-title { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; color: var(--text); text-decoration: none; }
.pcard-title:hover { color: var(--primary); text-decoration: none; }
.pcard a, .pcard a:hover { text-decoration: none; }
.pcard-more { position: absolute; bottom: 10px; right: 10px; z-index: 2; font-size: .7rem; font-weight: 700; background: rgba(28, 25, 23, .72); color: #fff; padding: 3px 8px; border-radius: 999px; backdrop-filter: blur(4px); }
.pcard-nf { object-fit: contain !important; padding: 18%; background: var(--bg-soft); }

/* ---------- quick view ---------- */
.qv { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 20px; }
.qv[hidden] { display: none; }
.qv-backdrop { position: absolute; inset: 0; background: rgba(28, 25, 23, .55); backdrop-filter: blur(4px); animation: qvFade .25s ease; }
.qv-sheet { position: relative; width: min(920px, 100%); max-height: calc(100dvh - 40px); overflow: auto; display: grid; grid-template-columns: 1.05fr .95fr; background: var(--surface); border-radius: 22px; box-shadow: var(--shadow-lg); animation: qvUp .3s cubic-bezier(.2, .8, .2, 1); }
@keyframes qvFade { from { opacity: 0; } }
@keyframes qvUp { from { opacity: 0; transform: translateY(24px) scale(.98); } }
.qv-x { position: absolute; top: 10px; right: 10px; z-index: 5; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--glass); box-shadow: var(--shadow-sm); font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--text); }
.qv-gallery { position: relative; background: var(--bg-soft); aspect-ratio: 1; overflow: hidden; border-radius: 22px 0 0 22px; }
.qv-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.qv-track::-webkit-scrollbar { display: none; }
.qv-slide { position: relative; flex: 0 0 100%; height: 100%; scroll-snap-align: center; }
.qv-slide img { width: 100%; height: 100%; object-fit: cover; }
.qv-ai { position: absolute; left: 12px; bottom: 44px; font-size: .7rem; font-weight: 700; color: #fff; background: rgba(28, 25, 23, .6); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.qv-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--glass); box-shadow: var(--shadow-sm); font-size: 1.6rem; line-height: 1; cursor: pointer; color: var(--text); }
.qv-prev { left: 10px; } .qv-next { right: 10px; }
.qv-dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 6px; }
.qv-dots button { width: 8px; height: 8px; border-radius: 50%; border: 0; padding: 0; background: rgba(255, 255, 255, .7); box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); cursor: pointer; transition: width .25s; }
.qv-dots button.is-on { width: 22px; border-radius: 6px; background: var(--brand); }
.qv-info { padding: 26px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.qv-info h3 { font-size: 1.25rem; margin: 0; overflow-wrap: anywhere; }
.qv-info .price { font-size: 1.5rem; }
.qv-thumbs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.qv-thumbs button { flex: 0 0 56px; height: 56px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: var(--bg-soft); }
.qv-thumbs button.is-on { border-color: var(--primary); }
.qv-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.qv-note { margin: 0; font-size: .92rem; color: var(--text-2); }
.qv-disclaimer { margin: 0; font-size: .78rem; color: var(--muted); }
.qv-info .btn { margin-top: 6px; }
html.qv-open { overflow: hidden; }

/* ---------- go to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 46px; height: 46px; border-radius: 14px; border: 0; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, #8a1538, #a61d47); box-shadow: 0 10px 24px -10px rgba(138, 21, 56, .8); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s; display: grid; place-items: center; overflow: hidden; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 222, 140, .8) 50%, transparent 70%); transform: translateX(-120%); transition: transform .6s; }
.to-top:hover::after { transform: translateX(120%); }

/* ---------- scrollbar only while scrolling ---------- */
html { scrollbar-width: thin; scrollbar-color: transparent transparent; }
html.is-scrolling { scrollbar-color: rgba(138, 21, 56, .45) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: transparent; border-radius: 8px; }
html.is-scrolling ::-webkit-scrollbar-thumb { background: rgba(138, 21, 56, .45); }

/* ---------- hero typewriter + fade ---------- */
.tw-caret { display: inline-block; width: 3px; height: .95em; margin-left: 3px; vertical-align: -.08em; background: var(--amber); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.fade-in { opacity: 0; transform: translateY(10px); animation: fadeUp .7s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero > *, .jasa-hero > *, .split > *, .contact > * { min-width: 0; }
h1, h2, h3 { overflow-wrap: break-word; }

/* ---------- error pages ---------- */
.nf-art { width: min(420px, 90%); height: auto; margin: 0 auto 6px; }
.nf h1 { margin-top: 6px; }
.nf .nf-search { margin: 18px auto 6px; }
.nf .hero-actions { justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .nav-search { display: none; }
  .nav-tools { margin-left: auto; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; padding-top: 32px; gap: 28px; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid-posts { grid-template-columns: 1fr 1fr; }
  .why { grid-template-columns: 1fr; }
  .svc-grid, .steps { grid-template-columns: 1fr 1fr; }
  .work-grid { grid-template-columns: 1fr 1fr; }
  .jasa-hero, .contact, .admin-grid { grid-template-columns: 1fr; }
  .price-grid { grid-template-columns: 1fr 1fr; }
  .inti-grid, .split { grid-template-columns: 1fr; }
  .faq-wrap { grid-template-columns: 1fr; }
  .faq-aside { position: static; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .toc { display: none; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  .nav-in { height: 60px; }
  .mobile-menu { inset: 60px 0 0; }
  .hero h1 { font-size: 1.9rem; }
  .hero-search .btn { padding: 10px 14px; }
  .slider { aspect-ratio: 4 / 3; }
  .slide::after { background: linear-gradient(0deg, rgba(var(--veil), .97) 0%, rgba(var(--veil), .85) 45%, rgba(var(--veil), 0) 75%); }
  .slide img { object-position: 70% center; }
  .slide-copy { top: auto; bottom: 34px; transform: none; left: 18px; right: 18px; max-width: none; }
  .slider-dots { left: 18px; bottom: 14px; }
  .cat-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 6px; padding: 14px 8px; }
  .cat-ic { grid-row: auto; width: 56px; height: 56px; }
  .cat-ic img { width: 48px; height: 48px; }
  .grid-posts, .svc-grid, .steps, .work-grid, .footer-grid { grid-template-columns: 1fr; }
  .price-grid, .check-2col { grid-template-columns: 1fr; }
  .price-for { min-height: 0; }
  .addon .btn { width: 100%; }
  .jasa-hero .stat-grid { grid-template-columns: 1fr 1fr; }
  .stat b { font-size: 1.6rem; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pcard-body { padding: 10px; }
  .pcard .btn { font-size: .78rem; padding: 9px 6px; }
  .why { padding: 18px; }
  .section { padding-top: 44px; }
  .author-card { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 22px 18px; }
  .author-photo { width: 140px; }
  .author-copy .socials { justify-content: center; }
  .contact { padding: 22px; }
  .row2 { grid-template-columns: 1fr; }
  .seg { width: 100%; } .seg button { flex: 1; padding: 8px 6px; }
  select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; }
}

@media (max-width: 720px) {
  .wrap, .nav-in { width: calc(100% - 40px); }
  .eyebrow, .kicker { letter-spacing: .05em; font-size: .72rem; line-height: 1.4; }
  .hero-search { max-width: 100%; padding-left: 12px; }
  .hero-search .btn { flex-shrink: 0; padding: 10px 14px; }
  .hero-search input { font-size: 16px; }
  .btn { white-space: nowrap; }
  .pcard .btn { font-size: .82rem; padding: 10px 8px; gap: 6px; }
  .qv { padding: 0; align-items: end; }
  .qv-sheet { grid-template-columns: 1fr; max-height: 94dvh; border-radius: 20px 20px 0 0; }
  .qv-gallery { border-radius: 20px 20px 0 0; }
  .qv-info { padding: 18px 18px 22px; }
  .qv-nav { display: none; }
  .to-top { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .fade-in { opacity: 1; transform: none; animation: none; } .tw-caret { display: none; } }

/* ---------- v3.5: language switch + day/night toggle ---------- */
.nav-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lang-switch { display: inline-flex; align-items: center; padding: 3px; border-radius: 10px; background: var(--bg-soft); border: 1px solid var(--line); flex-shrink: 0; }
.lang-switch a { padding: 5px 9px; border-radius: 7px; font-size: .76rem; font-weight: 800; letter-spacing: .05em; color: var(--muted); line-height: 1.2; transition: background .2s, color .2s, box-shadow .2s; }
.lang-switch a:hover { color: var(--text); }
.lang-switch a.is-on { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.lang-lg a { padding: 7px 14px; font-size: .85rem; }
.lang-foot { align-self: flex-start; margin-top: 6px; }
.mm-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.theme-toggle { width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px; border: 1px solid var(--line); background: var(--bg-soft); color: var(--text); display: grid; place-items: center; cursor: pointer; padding: 0; transition: background .2s, border-color .2s, color .2s; }
.theme-toggle:hover { border-color: var(--primary); color: var(--primary); }
.tt-ic { overflow: visible; }
.tt-core { transform-box: fill-box; transform-origin: center; transition: transform .55s var(--ease); }
.tt-cut { transition: transform .55s var(--ease); }
.tt-rays { transform-box: view-box; transform-origin: 12px 12px; transition: transform .55s var(--ease), opacity .35s; }
[data-theme="dark"] .tt-core { transform: scale(1.55); }
[data-theme="dark"] .tt-cut { transform: translate(-7px, 7px); }
[data-theme="dark"] .tt-rays { transform: rotate(90deg) scale(.4); opacity: 0; }
.theme-toggle.is-spin .tt-ic { animation: ttSpin .6s var(--ease); }
@keyframes ttSpin { from { transform: rotate(-120deg) scale(.6); } }
.lang-note { display: inline-block; margin: 0 0 22px; padding: 7px 12px; border-radius: 10px; font-size: .86rem; background: var(--amber-soft); color: var(--text-2); border: 1px solid var(--line); }

/* theme switch animation: circular reveal (View Transitions) or a soft cross-fade fallback */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
html.theme-fade, html.theme-fade *, html.theme-fade *::before, html.theme-fade *::after {
  transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease, fill .5s ease !important; }

/* ---------- dark theme ---------- */
[data-theme="dark"] {
  --bg: #0f0d0c;
  --bg-soft: #171412;
  --surface: #1d1916;
  --line: #2d2723;
  --line-strong: #40372f;
  --text: #f6f1ec;
  --text-2: #d8d0c7;
  --muted: #a89f96;
  --primary: #f27a9e;
  --primary-2: #ff96b6;
  --primary-soft: #2c1720;
  --brand: #a61d47;
  --brand-2: #c0285a;
  --amber: #fbbf24;
  --amber-soft: #2a2114;
  --nav-bg: rgba(15, 13, 12, .86);
  --glass: rgba(29, 25, 22, .9);
  --veil: 15, 13, 12;
  --star-off: #4b433d;
  --dot-off: rgba(255, 255, 255, .22);
  --ok: #4ade80;
  --err: #f87171;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35);
  --shadow: 0 10px 26px -12px rgba(0, 0, 0, .7);
  --shadow-lg: 0 26px 50px -22px rgba(0, 0, 0, .8);
  color-scheme: dark;
}
[data-theme="dark"] .btn-tiktok { background: #000; border-color: #3a3330; }
[data-theme="dark"] .btn-primary:hover, [data-theme="dark"] .btn-glow:hover { background: linear-gradient(135deg, #a61d47 0%, #c0285a 55%, #b8862b 100%); }
[data-theme="dark"] .btn-outline:hover, [data-theme="dark"] .btn-ghost:hover { border-color: #d4a03a; color: var(--primary); }
[data-theme="dark"] .check-list li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f27a9e' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E"); }
[data-theme="dark"] .prose pre { background: #0a0908; border: 1px solid var(--line); }
[data-theme="dark"] .badge-tiktok, [data-theme="dark"] .dot-tiktok { background: #000; }
[data-theme="dark"] .pcard-media .badge-disc { background: var(--amber); color: #2a1a00; }
[data-theme="dark"] .alert.ok { background: #0f2a1a; color: #86efac; }
[data-theme="dark"] .alert.err { background: #2a1010; color: #fca5a5; }
[data-theme="dark"] html.is-scrolling, html[data-theme="dark"].is-scrolling { scrollbar-color: rgba(242, 122, 158, .45) transparent; }
html[data-theme="dark"].is-scrolling ::-webkit-scrollbar-thumb { background: rgba(242, 122, 158, .45); }
[data-theme="dark"] .brand-mark { box-shadow: 0 0 0 1px var(--line-strong); }
[data-theme="dark"] .cat-ic, [data-theme="dark"] .svc img { background: #2a2114; }
[data-theme="dark"] .why-ic { background: var(--bg-soft); }

@media (max-width: 720px) {
  .nav-in { gap: 10px; }
  .nav-tools { margin-left: auto; gap: 6px; }
  .nav-burger { margin-left: 0; }
  .nav-tools .lang-switch:not(.lang-lg) a.is-on { display: none; }
  .nav-tools .lang-switch a { padding: 6px 8px; }
  .theme-toggle { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .tt-core, .tt-cut, .tt-rays { transition: none; }
  .theme-toggle.is-spin .tt-ic { animation: none; }
}

/* ---------- quick view: promo video slide ---------- */
.qv-slide-video { background: #000; }
.qv-slide-video video { width: 100%; height: 100%; object-fit: contain; background: #000; display: block; }
.qv-vid { bottom: auto; top: 12px; background: var(--brand); }
.qv-thumbs button.is-video { position: relative; }
.qv-thumbs button.is-video::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8 5v14l11-7z'/%3E%3C/svg%3E") center / 20px no-repeat; }
.pcard-more svg { display: inline-block; vertical-align: -1px; }

/* ---------- v3.6: scroll lock for overlays, full-screen mobile menu, video sound button ---------- */
html.scroll-locked, html.scroll-locked body { overflow: hidden; overscroll-behavior: none; }
.mobile-menu { inset: 0; padding-top: 88px; height: 100vh; height: 100dvh; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 720px) { .mobile-menu { inset: 0; padding-top: 80px; } }
html.qv-open { overscroll-behavior: none; }
.qv-sheet { overscroll-behavior: contain; }
.qv-sound { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 3; border: 0; border-radius: 999px; padding: 8px 14px; font: inherit; font-size: .82rem; font-weight: 700; color: #fff; background: rgba(0, 0, 0, .65); backdrop-filter: blur(4px); cursor: pointer; }
.qv-sound[hidden] { display: none; }

/* ---------- v3.6: 24 categories (compact grid, 2-row scroller on phones) ---------- */
.cat-grid-all { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.cat-grid-all .cat { grid-template-columns: 1fr; text-align: center; justify-items: center; row-gap: 6px; padding: 14px 8px; }
.cat-grid-all .cat-ic { grid-row: auto; width: 60px; height: 60px; }
.cat-grid-all .cat-ic img { width: 52px; height: 52px; }
.cat-grid-all .cat-name { font-size: .92rem; line-height: 1.25; }
.cat-grid-all .cat-sub { font-size: .76rem; line-height: 1.3; }
.cat-ic-ph { font-family: var(--head); font-weight: 800; font-size: 1.3rem; color: var(--primary); }
@media (max-width: 1080px) { .cat-grid-all { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .cat-grid-all { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: 112px;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px; padding-bottom: 6px; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .cat-grid-all::-webkit-scrollbar { display: none; }
  .cat-grid-all .cat { scroll-snap-align: start; }
  .cat-grid-all .cat-sub { display: none; }
  .chips[data-f-cats] { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .chips[data-f-cats]::-webkit-scrollbar { display: none; }
  .chips[data-f-cats] .chip { flex-shrink: 0; }
}

/* ---------- v3.7: server-side catalogue paging ---------- */
.seg a { padding: 8px 14px; border-radius: 9px; font-weight: 600; color: var(--text-2); white-space: nowrap; }
.seg a.is-on { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
a.chip { cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
a.chip:hover { border-color: var(--primary); color: var(--primary); }
a.chip.is-on { background: var(--brand); color: #fff; border-color: var(--brand); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 28px 0 0; flex-wrap: wrap; }
.pager-info { color: var(--muted); font-size: .9rem; }
@media (max-width: 720px) { .seg a { flex: 1; text-align: center; padding: 8px 6px; } }

/* ---- v3.8: counts, 24/7 + flash-sale notes, welcome popup ---- */
.seg a small { font-size: .72rem; font-weight: 700; opacity: .7; margin-left: 2px; }
.seg a.is-on small { opacity: .85; }
.info-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 18px auto 0; max-width: 860px; }
.info-item { display: flex; align-items: flex-start; gap: 10px; margin: 0; padding: 10px 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); font-size: .86rem; line-height: 1.45; color: var(--text-2); text-align: left; flex: 1 1 320px; }
.info-item b { color: var(--text); }
.info-flash { background: var(--amber-soft); border-color: rgba(245, 158, 11, .45); }
.flash-ic { font-size: 1rem; line-height: 1.3; }
.live-dot { position: relative; flex: none; width: 10px; height: 10px; margin-top: 5px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 0 rgba(22, 163, 74, .55); animation: livePulse 1.8s infinite; }
@keyframes livePulse { 70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }
.qv-flash { margin: 0; padding: 8px 12px; border-radius: 10px; background: var(--amber-soft); border: 1px solid rgba(245, 158, 11, .4); font-size: .8rem; font-weight: 600; color: var(--text-2); }
[data-theme="dark"] .info-flash, [data-theme="dark"] .qv-flash { background: rgba(245, 158, 11, .12); border-color: rgba(245, 158, 11, .35); }

.wpop { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 20px; }
.wpop[hidden] { display: none; }
.wpop-backdrop { position: absolute; inset: 0; background: rgba(28, 25, 23, .58); backdrop-filter: blur(5px); opacity: 0; transition: opacity .25s ease; }
.wpop-card { position: relative; width: min(400px, 100%); max-height: calc(100dvh - 40px); overflow: auto; background: var(--surface); border-radius: 24px; box-shadow: var(--shadow-lg); opacity: 0; transform: translateY(28px) scale(.94); transition: opacity .3s var(--ease), transform .45s cubic-bezier(.2, 1.3, .3, 1); }
.wpop.is-in .wpop-backdrop { opacity: 1; }
.wpop.is-in .wpop-card { opacity: 1; transform: none; }
.wpop-media { position: relative; aspect-ratio: 1 / .82; overflow: hidden; background: var(--bg-soft); border-radius: 24px 24px 0 0; }
.wpop-media img { width: 100%; height: 100%; object-fit: cover; display: block; transform: scale(1.06); transition: transform 1.2s var(--ease); }
.wpop.is-in .wpop-media img { transform: none; }
.wpop-live { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 9px; border-radius: 999px; background: var(--glass); box-shadow: var(--shadow-sm); font-size: .74rem; font-weight: 700; color: var(--text); }
.wpop-live .live-dot { width: 8px; height: 8px; margin: 0; }
.wpop-x { position: absolute; top: 10px; right: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--glass); box-shadow: var(--shadow-sm); font-size: 1rem; cursor: pointer; color: var(--text); }
.wpop-body { padding: 18px 22px 22px; text-align: center; }
.wpop-hi { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .02em; color: var(--primary); }
.wpop-body h2 { margin: 4px 0 6px; font-family: var(--head); font-size: 1.32rem; line-height: 1.25; color: var(--text); }
.wpop-body p { margin: 0 0 10px; color: var(--text-2); font-size: .92rem; }
.wpop-body .wpop-flash { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--amber-soft); font-size: .78rem; font-weight: 600; }
[data-theme="dark"] .wpop-body .wpop-flash { background: rgba(245, 158, 11, .14); }
.wpop-actions { display: flex; gap: 10px; justify-content: center; margin-top: 6px; }
.wpop-actions .btn { flex: 1; }
@media (max-width: 560px) {
  .wpop { padding: 14px; }
  .wpop-body h2 { font-size: 1.18rem; }
  .info-item { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .wpop-card, .wpop-backdrop, .wpop-media img { transition: none; }
  .live-dot { animation: none; }
}

/* ---- v3.9: gold button sheen, tidy category grid ---- */
.btn::after {
  background: linear-gradient(115deg, transparent 24%, rgba(201, 146, 40, 0) 32%, rgba(222, 170, 62, .6) 43%, rgba(255, 213, 112, .95) 50%, rgba(222, 170, 62, .6) 57%, transparent 68%);
  mix-blend-mode: normal; }
.btn-outline::after, .btn-ghost::after { background: linear-gradient(115deg, transparent 24%, rgba(201, 146, 40, 0) 32%, rgba(214, 160, 52, .28) 43%, rgba(240, 190, 80, .45) 50%, rgba(214, 160, 52, .28) 57%, transparent 68%); }

.chips[data-f-cats] { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.chips[data-f-cats] .chip { display: flex; justify-content: space-between; gap: 8px; min-width: 0; padding: 8px 10px 8px 13px; border-radius: 12px; font-size: .84rem; line-height: 1.25; }
.chips[data-f-cats] .chip .cn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chips[data-f-cats] .chip small { flex-shrink: 0; min-width: 32px; padding: 1px 7px; border-radius: 999px; text-align: center; font-size: .72rem; font-weight: 700;
  opacity: 1; color: var(--text-2); background: var(--surface); border: 1px solid var(--line); }
.chips[data-f-cats] .chip:hover small { border-color: #d6a040; color: var(--primary); }
.chips[data-f-cats] .chip.is-on small { color: #fff; background: rgba(255, 255, 255, .18); border-color: transparent; }
@media (max-width: 1080px) { .chips[data-f-cats] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 860px) { .chips[data-f-cats] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  /* phones: three neat rows that scroll sideways */
  .chips[data-f-cats] { grid-template-columns: none; grid-auto-flow: column; grid-template-rows: repeat(3, auto); grid-auto-columns: max-content;
    overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 20px; margin-inline: -20px; padding: 0 20px 4px;
    -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .chips[data-f-cats] .chip { scroll-snap-align: start; min-width: 150px; padding: 8px 9px 8px 12px; font-size: .8rem; }
  .chips[data-f-cats] .chip .cn { overflow: visible; }
  .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .seg a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; padding: 6px 4px; line-height: 1.2; min-width: 0; }
  .seg a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
  .seg a small { margin: 0; }
}

/* ---- v3.10: smooth hover-out (no flick): the sheen fades out in place instead of sweeping back, and hover
   gradients live on a ::before layer that fades, because background gradients cannot transition ---- */
.btn::after { transition: opacity .25s ease, transform 0s linear .3s; }
.btn:hover::after { transition: transform .7s cubic-bezier(.2, .8, .2, 1), opacity .15s ease; }
.btn-primary::before, .btn-glow::before, .btn-outline::before, .btn-ghost::before, .btn-shopee::before, .btn-tiktok::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity .3s ease; }
.btn-primary::before, .btn-glow::before { background: linear-gradient(135deg, #8a1538 0%, #a61d47 55%, #b8862b 100%); }
.btn-outline::before, .btn-ghost::before { background: linear-gradient(135deg, var(--surface) 0%, var(--amber-soft) 100%); }
.btn-shopee::before { background: linear-gradient(135deg, #ee4d2d, #8a1538); }
.btn-tiktok::before { background: linear-gradient(135deg, #111, #8a1538); }
.btn:hover::before { opacity: 1; }
.btn-primary:hover, .btn-glow:hover { background: var(--brand); }
.btn-outline:hover, .btn-ghost:hover { background: var(--surface); }
.btn-shopee:hover { background: var(--shopee); }
.btn-tiktok:hover { background: #111; }
.btn { transition: border-color .3s ease, box-shadow .3s ease, color .3s ease; }
a.btn[data-hhref] { cursor: pointer; }
[data-theme="dark"] .btn-primary:hover, [data-theme="dark"] .btn-glow:hover { background: var(--brand); }
[data-theme="dark"] .btn-primary::before, [data-theme="dark"] .btn-glow::before { background: linear-gradient(135deg, #a61d47 0%, #c0285a 55%, #b8862b 100%); }
[data-theme="dark"] .btn-tiktok:hover { background: #000; }

/* ---- v3.10: year-end promo, 12 demo cards ---- */
.promo-pill { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 6px; margin-bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: .82rem; font-weight: 700;
  color: #7a4a00; background: linear-gradient(135deg, #fff3d6, #ffe2a6); border: 1px solid #f0c674; text-decoration: none; }
.promo-pill:hover { text-decoration: none; border-color: #d4a03a; }
.promo-bar { display: flex; align-items: center; gap: 16px; margin: 0 0 22px; padding: 16px 18px; border-radius: var(--r); color: #fff;
  background: linear-gradient(120deg, #6d0f2c 0%, #8a1538 45%, #b8862b 100%); box-shadow: 0 14px 30px -18px rgba(138, 21, 56, .8); }
.promo-bar img { width: 52px; height: 52px; flex-shrink: 0; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.promo-text { display: flex; flex-direction: column; gap: 3px; min-width: 0; flex: 1; }
.promo-text b { font-family: var(--head); font-size: 1.05rem; }
.promo-text span { font-size: .88rem; opacity: .92; }
.promo-count { display: flex; gap: 8px; flex-shrink: 0; }
.promo-count span { display: flex; flex-direction: column; align-items: center; min-width: 54px; padding: 6px 8px; border-radius: 12px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); }
.promo-count b { font-family: var(--head); font-size: 1.25rem; line-height: 1.1; font-variant-numeric: tabular-nums; }
.promo-count small { font-size: .68rem; opacity: .85; }
.price-card { position: relative; }
.price-off { position: absolute; top: 14px; right: 14px; padding: 3px 9px; border-radius: 999px; font-size: .75rem; font-weight: 800; color: #7a4a00; background: #ffe2a6; border: 1px solid #f0c674; }
.price-was { margin-top: 4px; color: var(--muted); font-size: .92rem; }
.price-was s { text-decoration-thickness: 1.5px; text-decoration-color: rgba(166, 29, 71, .7); }
.price-was + .price-amt b { color: var(--primary); }
.work { align-items: flex-start; }
.work-body .work-desc { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.work-new { font-style: normal; font-size: .66rem; font-weight: 800; padding: 2px 7px; border-radius: 999px; margin-left: 4px; vertical-align: 2px; color: #7a4a00; background: #ffe2a6; }
.work-img { background: var(--amber-soft); padding: 6px; }
.work-img img { object-fit: contain; }
[data-theme="dark"] .work-img { background: #2a2114; }
[data-theme="dark"] .price-off, [data-theme="dark"] .work-new { background: #4a3510; color: #ffd98a; border-color: #6b4d18; }
@media (max-width: 720px) {
  .promo-bar { flex-wrap: wrap; gap: 12px; padding: 14px; }
  .promo-bar img { width: 44px; height: 44px; }
  .promo-text { flex-basis: calc(100% - 60px); }
  .promo-count { width: 100%; }
  .promo-count span { flex: 1; min-width: 0; }
  .work { padding: 12px; gap: 12px; }
  .work-img { width: 56px; height: 56px; }
}

/* ===== v3.12: blog search, NEW badge, language hint ===== */
.blog-search { position: relative; display: flex; align-items: center; gap: 10px; margin: 26px 0 4px; padding: 6px 6px 6px 16px; border-radius: 999px; background: var(--surface); border: 1.5px solid var(--line-strong); box-shadow: var(--shadow-sm); transition: border-color .2s, box-shadow .2s; }
.blog-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(138, 21, 56, .12); }
.blog-search > svg { color: var(--muted); flex-shrink: 0; }
.blog-search input[type=search] { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 1rem; padding: 8px 0; }
.blog-search input[type=search]::-webkit-search-cancel-button { cursor: pointer; }
.blog-search .btn { flex-shrink: 0; }
.bs-suggest { position: absolute; z-index: 30; top: calc(100% + 8px); left: 0; right: 0; max-height: min(70vh, 460px); overflow-y: auto; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); padding: 6px; }
.bs-suggest a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; color: var(--text); text-decoration: none; }
.bs-suggest a strong { font-family: var(--head); font-weight: 700; font-size: .96rem; line-height: 1.35; }
.bs-suggest a small { color: var(--muted); font-size: .78rem; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.bs-suggest a:hover, .bs-suggest a.is-sel { background: var(--bg-soft); }
.bs-all { display: block; width: 100%; margin-top: 4px; padding: 10px 12px; border: 0; border-top: 1px solid var(--line); background: transparent; color: var(--brand); font: inherit; font-weight: 700; font-size: .88rem; text-align: left; cursor: pointer; border-radius: 0 0 10px 10px; }
.bs-all:hover { background: var(--bg-soft); }
.bs-none { margin: 0; padding: 14px 12px; color: var(--muted); font-size: .9rem; }
.blog-cats { margin-top: 16px; }
.blog-cats .chip { text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.blog-cats .chip:hover { border-color: var(--brand); color: var(--brand); }
.blog-cats .chip.is-on { background: var(--brand); border-color: var(--brand); color: #fff; }
.blog-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 14px; margin: 6px 0 18px; }
.blog-head h2 { margin: 0; font-size: 1.35rem; }
.bcard { position: relative; }
.badge-new { position: absolute; z-index: 2; top: 12px; left: 12px; display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: linear-gradient(135deg, #d4a24c, #f0c96b); color: #3b1d06; font: 800 .7rem/1 var(--head); letter-spacing: .08em; box-shadow: 0 4px 14px -4px rgba(212, 162, 76, .7); animation: newPulse 2.4s ease-in-out infinite; }
.badge-new[hidden] { display: none; }
.badge-new-inline { position: static; padding: 3px 8px; font-size: .64rem; box-shadow: none; animation: none; }
@keyframes newPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .badge-new { animation: none; } }
.lang-tag { display: inline-flex; padding: 1px 6px; border-radius: 6px; border: 1px solid var(--line-strong); font-size: .66rem; font-weight: 700; letter-spacing: .05em; color: var(--muted); }
.lang-hint { position: fixed; z-index: 60; left: 50%; bottom: 16px; transform: translate(-50%, 140%); display: flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); padding: 10px 10px 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-strong); box-shadow: var(--shadow-lg); font-size: .9rem; transition: transform .45s var(--ease); }
.lang-hint.is-in { transform: translate(-50%, 0); }
.lang-hint button { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--bg-soft); color: var(--text-2); font-size: 1.2rem; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  .blog-search { padding-left: 12px; gap: 8px; }
  .blog-search .btn { padding-inline: 14px; }
  .blog-cats { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scrollbar-width: none; }
  .blog-cats::-webkit-scrollbar { display: none; }
  .blog-cats .chip { flex-shrink: 0; }
  .lang-hint { flex-wrap: wrap; justify-content: center; border-radius: 18px; padding: 12px 14px; text-align: center; bottom: 12px; width: calc(100vw - 32px); }
  .lang-hint span { flex-basis: 100%; }
}
.byline{color:var(--muted,#6f6866);font-size:.92rem;margin:.2rem 0 1rem}.byline a{font-weight:600}
.about-why .why-card{display:flex;flex-direction:column;gap:6px;text-decoration:none;color:inherit}.about-why .why-card b{font-size:1.05rem}

/* ---- v3.13.3: price range filter (two-handle slider + histogram, "harga mulai" or "rentang" boxes) ---- */
.pfilter { margin: 14px 0 0; padding: 14px 16px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.pf-head { display: flex; align-items: center; justify-content: space-between; gap: 10px 14px; flex-wrap: wrap; }
.pf-title { display: inline-flex; align-items: center; gap: 7px; font-weight: 700; font-size: .9rem; color: var(--text); white-space: nowrap; }
.pf-title svg { color: var(--primary); flex: none; }
.pf-mode { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 3px; border-radius: 11px; background: var(--bg-soft); border: 1px solid var(--line); }
.pf-mode label { position: relative; cursor: pointer; }
.pf-mode input { position: absolute; opacity: 0; pointer-events: none; }
.pf-mode span { display: block; padding: 6px 12px; border-radius: 8px; font-size: .8rem; font-weight: 600; color: var(--text-2); text-align: center; white-space: nowrap; transition: background .2s, color .2s, box-shadow .2s; }
.pf-mode input:checked + span { background: var(--surface); color: var(--primary); box-shadow: var(--shadow-sm); }
.pf-mode input:focus-visible + span { outline: 2px solid var(--primary); outline-offset: 1px; }
.pf-slider { padding: 14px 0 2px; }
.pf-slider[hidden] { display: none; }
.pf-hist { display: flex; align-items: flex-end; gap: 1px; height: 38px; margin: 0 12px; }
.pf-hist i { flex: 1 1 0; min-width: 0; min-height: 2px; border-radius: 2px 2px 0 0; background: var(--line-strong); transition: background .15s; }
.pf-hist i.on { background: color-mix(in srgb, var(--brand) 70%, #d4a24c); }
.pf-track { position: relative; height: 28px; margin: 0 12px; }
.pf-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: var(--line); }
.pf-fill { position: absolute; top: 50%; height: 6px; margin-top: -3px; border-radius: 99px; background: linear-gradient(90deg, var(--brand), #d4a24c); }
.pf-r { position: absolute; top: 0; left: -12px; width: calc(100% + 24px); height: 28px; margin: 0; padding: 0; background: none; pointer-events: none; -webkit-appearance: none; appearance: none; z-index: 2; }
.pf-r:focus { outline: none; }
.pf-r::-webkit-slider-runnable-track { height: 28px; background: none; border: 0; }
.pf-r::-moz-range-track { height: 28px; background: none; border: 0; }
.pf-r::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 24px; height: 24px; margin-top: 2px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 6px rgba(28, 25, 23, .25); cursor: grab; transition: transform .15s, box-shadow .15s; }
.pf-r::-moz-range-thumb { pointer-events: auto; box-sizing: border-box; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); box-shadow: 0 2px 6px rgba(28, 25, 23, .25); cursor: grab; }
.pf-r:active::-webkit-slider-thumb { cursor: grabbing; transform: scale(1.12); }
.pf-r:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(138, 21, 56, .22); }
.pf-r:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 5px rgba(138, 21, 56, .22); }
.pf-r.is-top { z-index: 3; }
.pfilter[data-mode="from"] [data-pf-hi] { display: none; }
.pf-ends { display: flex; justify-content: space-between; margin: 2px 0 0; font-size: .74rem; font-weight: 600; color: var(--muted); }
.pf-boxes { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin-top: 12px; }
.pf-in { display: flex; flex-direction: column; gap: 5px; flex: 0 1 210px; min-width: 0; }
.pf-in small { font-size: .74rem; font-weight: 600; color: var(--muted); }
.pf-box { display: flex; align-items: center; gap: 6px; padding: 0 12px; border-radius: 12px; background: var(--bg-soft); border: 1px solid var(--line-strong); transition: border-color .2s, box-shadow .2s; }
.pf-box:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(138, 21, 56, .12); }
.pf-box b { font-size: .82rem; color: var(--muted); font-weight: 700; }
.pf-box input { flex: 1; min-width: 0; width: 100%; border: 0; outline: 0; background: none; padding: 10px 0; color: var(--text); font: inherit; font-weight: 600; font-variant-numeric: tabular-nums; }
.pf-dash { padding-bottom: 10px; color: var(--muted); font-weight: 700; }
.pfilter[data-mode="from"] .pf-dash, .pfilter[data-mode="from"] .pf-in-max { display: none; }
.pf-go { min-height: 44px; }
.pf-reset { align-self: flex-end; padding-bottom: 12px; font-size: .84rem; font-weight: 600; color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.empty-inline .btn { margin-top: 10px; }
@media (max-width: 720px) {
  .pfilter { padding: 12px 12px 14px; border-radius: 14px; }
  .pf-head { flex-direction: column; align-items: stretch; }
  .pf-mode { width: 100%; }
  .pf-mode span { padding: 8px 6px; }
  .pf-hist { height: 32px; }
  .pf-r::-webkit-slider-thumb { width: 26px; height: 26px; margin-top: 1px; }
  .pf-r::-moz-range-thumb { width: 26px; height: 26px; }
  .pf-boxes { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: end; gap: 10px 8px; }
  .pfilter[data-mode="from"] .pf-boxes { grid-template-columns: minmax(0, 1fr); }
  .pf-box { padding: 0 10px; }
  .pf-box input { font-size: 16px; padding: 11px 0; }   /* 16px stops iOS from zooming in */
  .pf-go { grid-column: 1 / -1; width: 100%; min-height: 46px; }
  .pf-reset { grid-column: 1 / -1; justify-self: center; padding-bottom: 0; }
}

/* ---- v3.13.4: /rss page ---- */
.feed-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.feed-card { display: flex; flex-direction: column; gap: 14px; padding: 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm); min-width: 0; }
.feed-top { display: flex; align-items: center; gap: 12px; }
.feed-top b { display: block; font-size: 1.05rem; }
.feed-top small { color: var(--muted); font-size: .82rem; }
.feed-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; color: #fff; background: linear-gradient(135deg, #f59e0b, #ea580c); }
.feed-url { display: flex; gap: 8px; min-width: 0; }
.feed-url input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--bg-soft); color: var(--text); font: inherit; font-size: .88rem; }
.feed-actions { display: flex; flex-wrap: wrap; gap: 8px; }
@media (max-width: 720px) {
  .feed-cards { grid-template-columns: 1fr; }
  .feed-url input { font-size: 16px; }
  .feed-actions .btn { flex: 1 1 0; text-align: center; }
}

/* ---- v3.13.5: live catalogue (results refresh in place) ---- */
.pf-results { transition: opacity .2s; }
.pf-results.is-loading { opacity: .45; pointer-events: none; }
.pf-status { align-self: flex-end; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; font-size: .9rem; font-weight: 700; color: var(--primary); }
.pf-status[hidden] { display: none; }
.pfilter.is-loading .pf-status::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid currentColor; border-right-color: transparent; animation: pfSpin .7s linear infinite; }
@keyframes pfSpin { to { transform: rotate(360deg); } }
.pf-reset[hidden] { display: none; }
@media (max-width: 720px) {
  .pf-status { grid-column: 1 / -1; justify-content: center; min-height: 0; padding: 2px 0 0; }
}
.pf-go[hidden] { display: none !important; }
