:root {
  --bg: #f7f8fc;
  --bg-soft: #f1f3f9;
  --surface: #ffffff;
  --surface-glass: rgba(255, 255, 255, .72);
  --ink: #131622;
  --ink-soft: #343949;
  --muted: #6d7487;
  --line: #e5e8f0;
  --line-strong: #d8dce7;
  --primary: #6857ed;
  --primary-dark: #5040cc;
  --primary-soft: #eeeaff;
  --accent: #18c7a3;
  --accent-soft: #e5faf5;
  --danger: #d94b61;
  --warning: #d88919;
  --success: #138967;
  --dark: #171a27;
  --shadow-sm: 0 8px 24px rgba(25, 29, 44, .07);
  --shadow: 0 24px 70px rgba(25, 29, 44, .12);
  --shadow-lg: 0 38px 100px rgba(25, 29, 44, .18);
  --radius-sm: 13px;
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 94px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
input, select, textarea { color: var(--ink); }
::selection { color: #fff; background: var(--primary); }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(780px, calc(100% - 40px)); }
.page-space { padding: 58px 0 92px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 999; padding: 10px 14px; color: #fff; background: var(--dark); border-radius: 10px; transition: top .2s ease; }
.skip-link:focus { top: 16px; }

/* Header */
.site-header, .admin-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 229, 239, .78);
  background: rgba(247, 248, 252, .82);
  backdrop-filter: blur(20px) saturate(1.35);
  transition: box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled, .admin-header.is-scrolled { background: rgba(255, 255, 255, .92); box-shadow: 0 10px 30px rgba(25, 29, 44, .06); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-mark { width: 46px; height: 46px; flex: 0 0 46px; display: grid; place-items: center; border-radius: 15px; background: rgba(255,255,255,.72); border: 1px solid rgba(255,255,255,.92); box-shadow: 0 12px 30px rgba(19, 120, 133, .14); }
.brand-logo { width: 39px; height: 39px; object-fit: contain; filter: drop-shadow(0 8px 14px rgba(7, 143, 154, .22)); }
.brand-copy { min-width: 0; line-height: 1.1; }
.brand-copy strong { display: block; font-size: 1.02rem; letter-spacing: -.025em; }
.brand-copy small { display: block; margin-top: 4px; color: var(--muted); font-size: .66rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 28px; color: #535a6d; font-size: .94rem; font-weight: 650; }
.main-nav > a:not(.btn) { position: relative; }
.main-nav > a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 2px; border-radius: 999px; background: var(--primary); transition: right .25s ease; }
.main-nav > a:not(.btn):hover::after { right: 0; }
.main-nav > a:hover { color: var(--ink); }
.nav-whatsapp { display: inline-flex; align-items: center; gap: 8px; }
.wa-dot { width: 9px; height: 9px; border-radius: 50%; background: #20c878; box-shadow: 0 0 0 5px rgba(32, 200, 120, .12); }
.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.nav-toggle > span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; border-radius: 999px; background: var(--ink); transition: transform .22s ease, opacity .22s ease; }
.nav-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Buttons */
.btn { position: relative; isolation: isolate; overflow: hidden; border: 0; border-radius: 14px; padding: 13px 20px; font-weight: 800; display: inline-flex; justify-content: center; align-items: center; gap: 9px; transition: transform .22s ease, box-shadow .22s ease, background .22s ease, border-color .22s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary), #826cef); box-shadow: 0 14px 30px rgba(104, 87, 237, .25); }
.btn-primary:hover { box-shadow: 0 18px 38px rgba(104, 87, 237, .34); }
.btn-dark { color: #fff; background: var(--dark); box-shadow: 0 12px 26px rgba(23, 26, 39, .18); }
.btn-ghost { background: rgba(255,255,255,.68); border: 1px solid rgba(216,220,231,.95); box-shadow: 0 10px 26px rgba(25,29,44,.05); }
.btn-outline { background: rgba(255,255,255,.55); border: 1px solid var(--line-strong); }
.btn-danger { color: #fff; background: var(--danger); }
.btn-success { color: #fff; background: var(--success); }
.btn-whatsapp { color: #fff; background: #1cbf72; box-shadow: 0 14px 30px rgba(28, 191, 114, .24); }
.btn-disabled { background: #dfe2e9; color: #8a90a0; cursor: not-allowed; box-shadow: none; }
.btn-sm { padding: 9px 14px; border-radius: 11px; font-size: .86rem; }
.btn-wide { width: 100%; }
.btn-arrow span { font-size: 1.1em; transition: transform .2s ease; }
.btn-arrow:hover span { transform: translate(2px, -2px); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.35); transform: scale(0); animation: ripple .55s linear; pointer-events: none; z-index: -1; }

/* Alerts */
.alert { margin-top: 18px; padding: 14px 17px; border: 1px solid; border-radius: 14px; font-weight: 650; }
.alert-success { color: #0c6f52; border-color: #bce9db; background: #eaf9f4; }
.alert-danger { color: #9f3042; border-color: #f1c5cd; background: #fff0f3; }
.alert ul { margin: 0; padding-left: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.modern-hero { padding: 86px 0 92px; background: radial-gradient(circle at 10% 10%, rgba(24,199,163,.10), transparent 27%), radial-gradient(circle at 86% 15%, rgba(104,87,237,.17), transparent 30%), linear-gradient(180deg, #fafbff 0%, #f4f5fb 100%); }
.hero-grid-lines { position: absolute; inset: 0; opacity: .28; background-image: linear-gradient(rgba(104,87,237,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(104,87,237,.06) 1px, transparent 1px); background-size: 56px 56px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 82%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(2px); animation: orbFloat 9s ease-in-out infinite alternate; }
.hero-orb-one { width: 420px; height: 420px; right: -220px; top: -160px; border: 1px solid rgba(104,87,237,.14); }
.hero-orb-two { width: 280px; height: 280px; left: -150px; bottom: -160px; border: 1px solid rgba(24,199,163,.15); animation-delay: -3s; }
.hero-grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 78px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); font-size: .76rem; font-weight: 850; letter-spacing: .105em; text-transform: uppercase; }
.eyebrow.plain { margin-bottom: 9px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(24,199,163,.13); animation: pulseRing 2.2s ease-out infinite; }
.hero h1 { max-width: 780px; margin: 20px 0 24px; font-size: clamp(3.4rem, 7vw, 6.55rem); line-height: .94; letter-spacing: -.073em; font-weight: 850; }
.hero h1 span { display: inline-block; color: var(--primary); background: linear-gradient(100deg, #6857ed, #947cf5 70%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-copy > p { max-width: 680px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.14rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 38px; }
.hero-proof strong, .hero-proof small { display: block; }
.hero-proof strong { font-size: .9rem; }
.hero-proof small { color: var(--muted); font-size: .76rem; }
.proof-avatars { display: flex; }
.proof-avatars span { width: 36px; height: 36px; display: grid; place-items: center; margin-left: -8px; color: #fff; border: 3px solid #f7f8fc; border-radius: 50%; font-weight: 900; font-size: .78rem; box-shadow: var(--shadow-sm); }
.proof-avatars span:first-child { margin-left: 0; background: #e62d3c; }
.proof-avatars span:nth-child(2) { background: #f1b621; }
.proof-avatars span:nth-child(3) { background: var(--primary); }
.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; perspective: 1200px; }
.visual-glow { position: absolute; width: 360px; height: 360px; border-radius: 50%; background: rgba(104,87,237,.28); filter: blur(68px); }
.dashboard-card { position: relative; z-index: 2; width: min(415px, 91%); min-height: 450px; padding: 26px; color: #fff; border: 1px solid rgba(255,255,255,.13); border-radius: 34px; background: linear-gradient(150deg, #171a27, #23273a 66%, #313653); box-shadow: 0 44px 100px rgba(20,23,36,.34); transform: rotateY(-4deg) rotateX(2deg) rotateZ(1deg); overflow: hidden; }
.dashboard-card::before { content: ""; position: absolute; inset: auto -100px -120px auto; width: 300px; height: 300px; border-radius: 50%; background: rgba(104,87,237,.46); filter: blur(4px); }
.dashboard-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 20%, rgba(255,255,255,.07) 48%, transparent 72%); transform: translateX(-120%); animation: cardShine 5s ease-in-out infinite; }
.dashboard-top, .dashboard-balance, .quick-services, .recent-transaction { position: relative; z-index: 2; }
.dashboard-top { display: flex; align-items: center; justify-content: space-between; }
.dashboard-brand { display: flex; align-items: center; gap: 9px; font-weight: 800; }
.dashboard-brand img { width: 36px; height: 36px; object-fit: contain; }
.live-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; color: #d5f9ec; border: 1px solid rgba(71,217,169,.2); background: rgba(33,190,139,.12); border-radius: 999px; font-size: .7rem; font-weight: 750; }
.live-pill i { width: 7px; height: 7px; border-radius: 50%; background: #36d5a5; box-shadow: 0 0 0 4px rgba(54,213,165,.11); }
.dashboard-balance { margin-top: 46px; }
.dashboard-balance span, .dashboard-balance small { display: block; color: #aeb6ce; }
.dashboard-balance strong { display: block; margin: 2px 0; font-size: 3.4rem; letter-spacing: -.06em; }
.quick-services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 30px; }
.quick-services > div { display: grid; justify-items: center; gap: 8px; padding: 13px 6px; border: 1px solid rgba(255,255,255,.08); border-radius: 16px; background: rgba(255,255,255,.055); }
.quick-services span { color: #c8cde0; font-size: .65rem; }
.service-symbol { width: 35px; height: 35px; display: grid; place-items: center; color: #fff; border-radius: 11px; font-style: normal; font-weight: 900; }
.service-symbol.telkomsel { background: linear-gradient(140deg,#eb3745,#bc1723); }
.service-symbol.indosat { background: linear-gradient(140deg,#ffd43b,#eea900); color: #222; }
.service-symbol.voucher { background: linear-gradient(140deg,#735eff,#9f86ff); }
.service-symbol.license { background: linear-gradient(140deg,#21c9a6,#159e82); }
.recent-transaction { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; margin-top: 22px; padding: 15px; border: 1px solid rgba(255,255,255,.09); border-radius: 17px; background: rgba(255,255,255,.065); }
.transaction-icon { width: 39px; height: 39px; display: grid; place-items: center; border-radius: 12px; background: rgba(104,87,237,.26); }
.recent-transaction strong, .recent-transaction small { display: block; }
.recent-transaction strong { font-size: .82rem; }
.recent-transaction small { color: #aeb6ce; font-size: .65rem; }
.recent-transaction > span { font-weight: 850; font-size: .82rem; }
.floating-card { position: absolute; z-index: 4; display: flex; align-items: center; gap: 12px; padding: 15px 17px; border: 1px solid rgba(255,255,255,.85); border-radius: 18px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); backdrop-filter: blur(15px); animation: floatCard 4.6s ease-in-out infinite; }
.floating-card strong, .floating-card small { display: block; }
.floating-card strong { font-size: .88rem; }
.floating-card small { color: var(--muted); font-size: .7rem; }
.floating-icon { width: 40px; height: 40px; display: grid; place-items: center; color: var(--primary); border-radius: 13px; background: var(--primary-soft); }
.floating-icon.secure { color: var(--success); background: var(--accent-soft); }
.floating-speed { left: -18px; top: 76px; }
.floating-secure { right: -20px; bottom: 72px; animation-delay: -2.1s; }
.floating-dot { position: absolute; z-index: 1; width: 11px; height: 11px; border-radius: 50%; }
.dot-one { left: 10%; bottom: 18%; background: var(--accent); box-shadow: 0 0 0 8px rgba(24,199,163,.1); }
.dot-two { right: 8%; top: 13%; background: var(--primary); box-shadow: 0 0 0 8px rgba(104,87,237,.1); }

/* Moving service strip */
.service-marquee { overflow: hidden; padding: 15px 0; color: #fff; background: var(--dark); }
.marquee-track { width: max-content; display: flex; align-items: center; gap: 28px; font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; animation: marquee 26s linear infinite; }
.marquee-track i { color: #8d7cf4; font-style: normal; }

/* Trust */
.trust-section { padding: 24px 0 0; background: var(--bg); }
.trust-grid-modern { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust-grid-modern article { display: grid; grid-template-columns: auto 1fr; gap: 13px; align-items: center; min-height: 100px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.75); box-shadow: var(--shadow-sm); }
.trust-grid-modern article > span { width: 40px; height: 40px; display: grid; place-items: center; color: var(--primary); border-radius: 12px; background: var(--primary-soft); font-weight: 900; }
.trust-grid-modern strong, .trust-grid-modern small { display: block; }
.trust-grid-modern strong { font-size: .9rem; }
.trust-grid-modern small { color: var(--muted); font-size: .72rem; line-height: 1.45; }

/* Section headings */
.catalog-section { padding: 92px 0 98px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 34px; margin-bottom: 30px; }
.section-heading h2, .why-copy h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.45rem); line-height: 1.04; letter-spacing: -.052em; }
.section-heading p { max-width: 650px; margin: 13px 0 0; color: var(--muted); }
.section-heading.centered { justify-content: center; text-align: center; }

.search-form { position: relative; width: min(410px, 100%); display: flex; gap: 9px; padding: 7px; border: 1px solid var(--line); border-radius: 17px; background: #fff; box-shadow: var(--shadow-sm); }
.search-form input { width: 100%; min-width: 0; padding: 10px 10px 10px 35px; border: 0; outline: 0; background: transparent; }
.search-icon { position: absolute; left: 18px; top: 50%; color: var(--muted); transform: translateY(-50%); }
.category-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.category-pills a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; color: var(--ink-soft); border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.8); font-size: .84rem; font-weight: 750; transition: .2s ease; }
.category-pills a span { min-width: 25px; padding: 2px 7px; text-align: center; color: var(--muted); border-radius: 999px; background: var(--bg-soft); font-size: .7rem; }
.category-pills a:hover, .category-pills a.active { color: #fff; border-color: var(--dark); background: var(--dark); transform: translateY(-1px); }
.category-pills a.active span, .category-pills a:hover span { color: #fff; background: rgba(255,255,255,.13); }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-card { position: relative; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); box-shadow: 0 12px 36px rgba(25,29,44,.06); transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease; }
.product-card:hover { transform: translateY(-7px); border-color: rgba(104,87,237,.25); box-shadow: 0 26px 65px rgba(25,29,44,.13); }
.product-image { position: relative; height: 210px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg,#f2f3f9,#fafaff); }
.product-backdrop { position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(104,87,237,.09); filter: blur(2px); transition: transform .35s ease; }
.product-card:hover .product-backdrop { transform: scale(1.16); }
.product-image img { position: relative; z-index: 2; width: 118px; height: 118px; padding: 12px; object-fit: contain; border-radius: 25px; background: rgba(255,255,255,.86); box-shadow: 0 18px 46px rgba(25,29,44,.13); transition: transform .3s ease; }
.product-card:hover .product-image img { transform: scale(1.05) rotate(-2deg); }
.product-placeholder { position: relative; z-index: 2; width: 112px; height: 112px; display: grid; place-items: center; color: #fff; border-radius: 28px; font-size: 2.6rem; font-weight: 900; background: linear-gradient(145deg,var(--primary),#9b82f7); box-shadow: 0 22px 48px rgba(104,87,237,.3); }
.product-placeholder.pulsa { background: linear-gradient(145deg,#18c7a3,#169b83); box-shadow: 0 22px 48px rgba(24,199,163,.28); }
.product-placeholder.voucher { background: linear-gradient(145deg,#ff9252,#e35e4c); }
.product-placeholder.lisensi { background: linear-gradient(145deg,#6857ed,#9b82f7); }
.product-placeholder.layanan { background: linear-gradient(145deg,#2e3449,#171a27); }
.product-image em { position: absolute; z-index: 3; top: 15px; left: 15px; padding: 6px 10px; color: #fff; border-radius: 999px; background: var(--primary); font-size: .66rem; font-style: normal; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }
.product-body { padding: 21px; }
.product-meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.product-category { color: var(--primary); font-size: .68rem; font-weight: 850; letter-spacing: .09em; text-transform: uppercase; }
.product-stock { display: inline-flex; align-items: center; gap: 6px; color: var(--success); font-size: .68rem; font-weight: 750; }
.product-stock::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.product-body h3 { margin: 9px 0 7px; font-size: 1.12rem; line-height: 1.35; letter-spacing: -.022em; }
.product-body h3 a:hover { color: var(--primary); }
.product-body > p { min-height: 50px; margin: 0; color: var(--muted); font-size: .82rem; line-height: 1.55; }
.product-footer { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-top: 19px; padding-top: 17px; border-top: 1px solid var(--line); }
.product-price del, .product-price strong { display: block; }
.product-price del { color: #9a9fad; font-size: .72rem; }
.product-price strong { font-size: 1.13rem; letter-spacing: -.02em; }
.circle-btn { width: 42px; height: 42px; display: grid; place-items: center; color: #fff; border-radius: 50%; background: var(--dark); transition: transform .2s ease, background .2s ease; }
.circle-btn:hover { background: var(--primary); transform: rotate(8deg); }

/* Why section */
.why-section { padding: 94px 0; color: #fff; background: var(--dark); overflow: hidden; }
.why-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; align-items: center; }
.why-copy h2 { color: #fff; }
.why-copy p { max-width: 520px; color: #afb5c9; }
.text-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 17px; color: #a99bff; font-weight: 800; }
.text-link:hover span { transform: translateX(4px); }
.text-link span { transition: transform .2s ease; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 15px; }
.feature-grid article { padding: 25px; border: 1px solid rgba(255,255,255,.09); border-radius: 21px; background: rgba(255,255,255,.055); transition: transform .25s ease, background .25s ease; }
.feature-grid article:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.feature-grid i { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 18px; color: #fff; border-radius: 14px; background: linear-gradient(145deg,var(--primary),#8d77f3); font-style: normal; }
.feature-grid strong { display: block; }
.feature-grid p { margin: 7px 0 0; color: #afb5c9; font-size: .82rem; }

/* FAQ */
.faq-section { padding: 96px 0; }
.faq-list { display: grid; gap: 12px; }
.faq-list details { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.faq-list summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 22px; cursor: pointer; font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { width: 28px; height: 28px; display: grid; place-items: center; color: var(--primary); border-radius: 9px; background: var(--primary-soft); transition: transform .2s ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list p { margin: 0; padding: 0 22px 21px; color: var(--muted); }

/* Footer */
.site-footer { padding: 66px 0 24px; color: #d6dae7; background: #11131d; }
.footer-grid { display: grid; grid-template-columns: 1.6fr .7fr 1fr; gap: 56px; }
.site-footer .brand-copy strong { color: #fff; }
.site-footer .brand-copy small { color: #898fa2; }
.site-footer .brand-mark { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.08); }
.footer-brand p { max-width: 490px; color: #9298aa; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-title { margin-bottom: 6px; color: #fff; }
.footer-grid a, .footer-grid span { color: #949aab; font-size: .88rem; }
.footer-grid a:hover { color: #fff; }
.copyright { display: flex; justify-content: space-between; gap: 20px; margin-top: 42px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); color: #747b8e; font-size: .76rem; }
.floating-whatsapp { position: fixed; z-index: 90; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 9px; padding: 12px 15px; color: #fff; border-radius: 999px; background: #1bbf72; box-shadow: 0 18px 44px rgba(18,132,76,.32); font-size: .8rem; font-weight: 850; transition: transform .2s ease, box-shadow .2s ease; }
.floating-whatsapp:hover { transform: translateY(-3px); box-shadow: 0 22px 50px rgba(18,132,76,.4); }
.floating-whatsapp svg { width: 23px; height: 23px; fill: currentColor; }

/* Forms and detail pages */
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 23px; color: var(--muted); font-size: .8rem; }
.breadcrumbs a:hover { color: var(--primary); }
.form-card, .order-summary, .payment-card, .status-card, .admin-panel, .login-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); }
.form-card { padding: clamp(24px, 4vw, 38px); }
.form-card h1, .payment-card h1, .status-card h1 { margin: 5px 0 10px; font-size: clamp(1.8rem,4vw,2.6rem); line-height: 1.12; letter-spacing: -.045em; }
.form-card > p, .payment-card > p, .track-card > p { color: var(--muted); }
.stack-form, .admin-form { display: grid; gap: 17px; }
.stack-form { margin-top: 25px; }
label { display: grid; gap: 7px; color: var(--ink-soft); font-size: .82rem; font-weight: 750; }
input, select, textarea { width: 100%; border: 1px solid var(--line-strong); border-radius: 13px; padding: 12px 14px; outline: none; background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
input:focus, select:focus, textarea:focus { border-color: rgba(104,87,237,.7); box-shadow: 0 0 0 4px rgba(104,87,237,.1); }
textarea { resize: vertical; }
.checkbox-label { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.checkbox-label input, .check-row input { width: 18px; height: 18px; flex: 0 0 18px; margin-top: 3px; accent-color: var(--primary); }
.checkout-grid, .payment-layout { display: grid; grid-template-columns: minmax(0,1.22fr) minmax(310px,.78fr); gap: 28px; align-items: start; }
.order-summary { padding: 25px; }
.order-summary.sticky { position: sticky; top: 100px; }
.order-summary h2 { margin: 0 0 20px; font-size: 1.16rem; }
.summary-product { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.summary-icon { width: 52px; height: 52px; display: grid; place-items: center; overflow: hidden; color: #fff; border-radius: 15px; background: linear-gradient(145deg,var(--primary),#947cf5); font-weight: 900; }
.summary-icon img { width: 100%; height: 100%; padding: 7px; object-fit: contain; background: #fff; }
.summary-product strong, .summary-product span { display: block; }
.summary-product span { color: var(--muted); font-size: .75rem; }
.summary-line, .summary-total { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.summary-line span { color: var(--muted); }
.summary-line strong { text-align: right; }
.summary-total { margin-top: 4px; border-bottom: 0; font-size: 1.1rem; }
.summary-note { margin-top: 15px; padding: 13px 14px; color: var(--muted); border-radius: 13px; background: var(--bg-soft); font-size: .76rem; }

.product-detail { display: grid; grid-template-columns: .92fr 1.08fr; gap: 50px; align-items: center; }
.detail-visual { min-height: 490px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(circle at center, rgba(104,87,237,.12), transparent 40%), linear-gradient(145deg,#f0f2f8,#fafaff); box-shadow: var(--shadow-sm); }
.detail-visual img { width: min(290px,65%); height: min(290px,65%); padding: 24px; object-fit: contain; border-radius: 35px; background: rgba(255,255,255,.88); box-shadow: var(--shadow); }
.detail-visual > span { width: 190px; height: 190px; display: grid; place-items: center; color: #fff; border-radius: 42px; background: linear-gradient(145deg,var(--primary),#9b82f7); font-size: 4.2rem; font-weight: 900; box-shadow: 0 30px 70px rgba(104,87,237,.3); }
.detail-content h1 { margin: 10px 0 13px; font-size: clamp(2.1rem,5vw,4rem); line-height: 1.02; letter-spacing: -.06em; }
.detail-description { color: var(--muted); }
.detail-price { margin: 23px 0; }
.detail-price del, .detail-price strong { display: block; }
.detail-price del { color: #999ead; }
.detail-price strong { font-size: 2rem; letter-spacing: -.04em; }
.detail-facts { display: grid; grid-template-columns: repeat(2,1fr); gap: 11px; margin-bottom: 22px; }
.detail-facts > div { padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.75); }
.detail-facts span, .detail-facts strong { display: block; }
.detail-facts span { color: var(--muted); font-size: .72rem; }
.detail-facts strong { margin-top: 3px; font-size: .84rem; }
.secure-note { margin: 14px 0 0; color: var(--muted); font-size: .76rem; text-align: center; }

.payment-card { padding: clamp(24px,4vw,38px); }
.qris-frame { max-width: 410px; margin: 27px auto 20px; padding: 14px; border: 1px solid var(--line); border-radius: 25px; background: #fff; box-shadow: var(--shadow-sm); }
.qris-frame img { width: 100%; max-height: 580px; object-fit: contain; border-radius: 16px; }
.amount-box { display: grid; grid-template-columns: 1fr auto; gap: 3px 15px; align-items: center; padding: 18px; border-radius: 16px; background: var(--dark); color: #fff; }
.amount-box span { color: #b9bed0; font-size: .76rem; }
.amount-box strong { font-size: 1.8rem; letter-spacing: -.04em; }
.amount-box button { grid-column: 2; grid-row: 1 / 3; padding: 8px 12px; color: #fff; border: 1px solid rgba(255,255,255,.15); border-radius: 10px; background: rgba(255,255,255,.08); }
.payment-instruction { margin: 20px 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--bg-soft); }
.payment-instruction ol { margin: 8px 0 0; padding-left: 20px; color: var(--muted); }
.payment-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 17px; }
.confirmation-note { margin: 13px 0 0; color: var(--muted); font-size: .75rem; text-align: center; }
.payment-confirmed-box { margin: 16px 0; padding: 15px; border: 1px solid #bce9db; border-radius: 15px; background: #eaf9f4; color: #0c6f52; font-weight: 750; }

.status-card { padding: clamp(24px,4vw,38px); }
.status-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; }
.status-head p { color: var(--muted); }
.timeline { display: grid; gap: 0; margin: 28px 0; }
.timeline > div { position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 13px; min-height: 75px; }
.timeline > div:not(:last-child)::after { content: ""; position: absolute; left: 20px; top: 40px; bottom: 0; width: 2px; background: var(--line); }
.timeline i { width: 42px; height: 42px; display: grid; place-items: center; color: var(--muted); border: 2px solid var(--line); border-radius: 50%; background: #fff; font-style: normal; font-weight: 850; }
.timeline .done i { color: #fff; border-color: var(--accent); background: var(--accent); }
.timeline .done:not(:last-child)::after { background: var(--accent); }
.timeline strong, .timeline span { display: block; }
.timeline span { color: var(--muted); font-size: .8rem; }
.status-details { display: grid; gap: 0; border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.status-details > div { display: flex; justify-content: space-between; gap: 18px; padding: 13px 15px; border-bottom: 1px solid var(--line); }
.status-details > div:last-child { border-bottom: 0; }
.status-details span { color: var(--muted); }
.status-details strong { text-align: right; overflow-wrap: anywhere; }
.delivery-box { margin-top: 20px; padding: 18px; border: 1px solid rgba(104,87,237,.18); border-radius: 16px; background: var(--primary-soft); }
.delivery-box > span { color: var(--primary); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.delivery-box pre { white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-weight: 700; }
.delivery-box button { padding: 8px 11px; border: 0; border-radius: 9px; background: #fff; }
.empty-state { padding: 70px 25px; text-align: center; border: 1px dashed var(--line-strong); border-radius: 22px; background: rgba(255,255,255,.65); }
.empty-state > div { font-size: 3rem; color: var(--primary); }

/* Admin */
.admin-body { background: #f3f5f9; }
.admin-main { padding: 42px 0 80px; }
.admin-title { display: flex; justify-content: space-between; align-items: end; gap: 22px; margin-bottom: 25px; }
.admin-title h1 { margin: 0; font-size: clamp(2rem,4vw,3.2rem); line-height: 1; letter-spacing: -.05em; }
.stat-grid { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 14px; margin-bottom: 22px; }
.stat-grid > div { padding: 21px; border: 1px solid var(--line); border-radius: 19px; background: #fff; box-shadow: var(--shadow-sm); }
.stat-grid span, .stat-grid strong { display: block; }
.stat-grid span { color: var(--muted); font-size: .74rem; }
.stat-grid strong { margin-top: 7px; font-size: 1.55rem; letter-spacing: -.04em; }
.admin-panel { padding: 25px; }
.panel-head { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 15px; }
.panel-head h2, .admin-panel h2 { margin: 0 0 14px; font-size: 1.15rem; }
.panel-head h2 { margin: 0; }
.admin-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th, td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); background: #fafbfc; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }
td { font-size: .82rem; }
td small { display: block; margin-top: 3px; color: var(--muted); }
td a { color: var(--primary); font-weight: 750; }
.product-admin-cell { display: flex; align-items: center; gap: 11px; min-width: 250px; }
.product-admin-thumb { width: 48px; height: 48px; flex: 0 0 48px; display: grid; place-items: center; overflow: hidden; color: #fff; border-radius: 13px; background: linear-gradient(145deg,var(--primary),#947cf5); font-weight: 900; }
.product-admin-thumb img { width: 100%; height: 100%; padding: 5px; object-fit: contain; background: #fff; }
.table-actions { display: flex; gap: 12px; }
.filter-links { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-links a { padding: 8px 11px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .78rem; }
.form-panel { max-width: 980px; }
.form-two { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.form-three { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.check-row { display: flex; flex-wrap: wrap; gap: 18px; }
.check-row label { display: flex; align-items: center; gap: 8px; }
.image-upload-box { display: grid; grid-template-columns: 140px 1fr; gap: 18px; align-items: center; padding: 17px; border: 1px dashed var(--line-strong); border-radius: 16px; background: var(--bg-soft); }
.image-preview { width: 140px; height: 120px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: #fff; }
.image-preview img { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.image-preview span { color: var(--muted); font-size: .75rem; }
.upload-hint { color: var(--muted); font-size: .74rem; }
.admin-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.badge { display: inline-flex; align-items: center; padding: 5px 9px; border-radius: 999px; font-size: .66rem; font-weight: 850; }
.badge-success { color: #0b6d50; background: #e5f8f2; }
.badge-warning { color: #925b08; background: #fff3dc; }
.badge-danger { color: #9e3042; background: #ffebef; }
.badge-muted { color: #686f80; background: #edf0f5; }
.settings-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 22px; }
.settings-preview { position: sticky; top: 102px; }
.settings-qris { max-width: 350px; margin: 0 auto; padding: 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; }
.settings-qris img { width: 100%; max-height: 500px; object-fit: contain; border-radius: 13px; }

/* Login */
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 30px 20px; background: radial-gradient(circle at 20% 20%, rgba(24,199,163,.13), transparent 26%), radial-gradient(circle at 80% 10%, rgba(104,87,237,.2), transparent 30%), #f5f6fb; }
.login-card { width: min(440px,100%); padding: clamp(26px,5vw,42px); }
.login-card h1 { margin: 25px 0 7px; font-size: 2rem; letter-spacing: -.04em; }
.login-card > p, .login-card > small { color: var(--muted); }
.login-card > small { display: block; margin-top: 18px; text-align: center; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.75,.2,1), transform .7s cubic-bezier(.2,.75,.2,1); transition-delay: var(--reveal-delay, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@keyframes pulseRing { 0%,100% { box-shadow: 0 0 0 6px rgba(24,199,163,.12); } 50% { box-shadow: 0 0 0 10px rgba(24,199,163,.02); } }
@keyframes floatCard { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }
@keyframes orbFloat { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(-18px,16px,0) scale(1.05); } }
@keyframes cardShine { 0%,58% { transform: translateX(-130%); } 78%,100% { transform: translateX(130%); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

@media (max-width: 1100px) {
  .hero-grid { gap: 42px; }
  .floating-speed { left: 0; }
  .floating-secure { right: 0; }
  .trust-grid-modern { grid-template-columns: repeat(2,1fr); }
  .product-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
  .stat-grid { grid-template-columns: repeat(3,1fr); }
}

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 30px)); }
  .nav-toggle { display: block; }
  .main-nav { position: fixed; inset: 79px 15px auto; display: grid; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.97); box-shadow: var(--shadow); transform: translateY(-15px) scale(.98); opacity: 0; visibility: hidden; transition: opacity .2s ease, transform .2s ease, visibility .2s; }
  .main-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
  .main-nav > a { padding: 12px 13px; border-radius: 11px; }
  .main-nav > a:hover { background: var(--bg-soft); }
  .main-nav > a::after { display: none; }
  .main-nav .btn { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .modern-hero { padding-top: 62px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { min-height: 485px; }
  .dashboard-card { transform: none; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search-form { width: 100%; }
  .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .why-grid { grid-template-columns: 1fr; gap: 38px; }
  .checkout-grid, .payment-layout, .product-detail, .settings-grid { grid-template-columns: 1fr; }
  .order-summary.sticky, .settings-preview { position: static; }
  .detail-visual { min-height: 390px; }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
  .admin-split { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 78px; }
  .container, .narrow { width: min(100% - 24px, var(--container)); }
  .nav-wrap { min-height: 70px; }
  .brand-mark { width: 41px; height: 41px; flex-basis: 41px; border-radius: 13px; }
  .brand-logo { width: 35px; height: 35px; }
  .brand-copy small { display: none; }
  .main-nav { top: 70px; }
  .page-space { padding: 35px 0 66px; }
  .modern-hero { padding: 52px 0 65px; }
  .hero h1 { font-size: clamp(3rem, 15.5vw, 4.6rem); }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-proof { align-items: flex-start; text-align: left; }
  .hero-visual { min-height: 420px; margin-top: 8px; }
  .dashboard-card { width: 94%; min-height: 390px; padding: 20px; border-radius: 27px; }
  .dashboard-balance { margin-top: 30px; }
  .dashboard-balance strong { font-size: 2.8rem; }
  .quick-services { gap: 6px; }
  .quick-services > div { padding: 10px 3px; }
  .quick-services span { font-size: .55rem; }
  .floating-card { padding: 11px 12px; }
  .floating-card small { display: none; }
  .floating-speed { left: -2px; top: 54px; }
  .floating-secure { right: -2px; bottom: 35px; }
  .trust-grid-modern { grid-template-columns: 1fr; }
  .catalog-section, .why-section, .faq-section { padding: 68px 0; }
  .product-grid { grid-template-columns: 1fr; }
  .product-image { height: 195px; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-grid > div:last-child { grid-column: auto; }
  .copyright { flex-direction: column; }
  .floating-whatsapp span { display: none; }
  .floating-whatsapp { width: 54px; height: 54px; justify-content: center; padding: 0; }
  .form-card, .order-summary, .payment-card, .status-card, .admin-panel { padding: 20px; border-radius: 19px; }
  .payment-actions { grid-template-columns: 1fr; }
  .status-head, .admin-title { align-items: stretch; flex-direction: column; }
  .status-details > div { flex-direction: column; gap: 5px; }
  .status-details strong { text-align: left; }
  .detail-visual { min-height: 320px; }
  .detail-visual img { width: 58%; height: 58%; padding: 15px; border-radius: 25px; }
  .detail-facts { grid-template-columns: 1fr; }
  .form-two, .form-three { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2,1fr); }
  .stat-grid > div:last-child { grid-column: 1 / -1; }
  .image-upload-box { grid-template-columns: 1fr; }
  .image-preview { width: 100%; height: 180px; }
}

@media (max-width: 420px) {
  .hero h1 { font-size: 2.75rem; }
  .hero-proof { display: none; }
  .hero-visual { min-height: 390px; }
  .dashboard-card { width: 100%; }
  .floating-card { font-size: .75rem; }
  .product-body { padding: 18px; }
  .stat-grid { grid-template-columns: 1fr; }
  .stat-grid > div:last-child { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}


/* ===== Play Digi upgrade: expiry, security UX, scroll-up, dense catalog ===== */
.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.scroll-top {
  position: fixed;
  z-index: 91;
  right: max(22px, env(safe-area-inset-right));
  bottom: calc(max(20px, env(safe-area-inset-bottom)) + 66px);
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(104,87,237,.18);
  border-radius: 15px;
  color: var(--primary);
  background: rgba(255,255,255,.92);
  box-shadow: 0 16px 40px rgba(25,29,44,.16);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(.92);
  transition: opacity .22s ease, transform .22s ease, visibility .22s ease;
  cursor: pointer;
}
.scroll-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.scroll-top:hover { transform: translateY(-3px) scale(1.03); }
.scroll-top svg { width: 24px; height: 24px; fill: currentColor; }

.payment-timer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 20px 0;
  padding: 15px 18px;
  border: 1px solid #f0d29a;
  border-radius: 17px;
  background: #fff8e9;
}
.payment-timer span, .payment-timer strong { display: block; }
.payment-timer span { color: var(--muted); font-size: .78rem; }
.payment-timer time {
  min-width: 112px;
  padding: 10px 13px;
  border-radius: 12px;
  color: #8a5600;
  background: #ffe6ae;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  text-align: center;
  letter-spacing: .04em;
}
.payment-timer.is-expired { border-color: #f3b8c0; background: #fff0f2; }
.payment-timer.is-expired time { color: #9b2237; background: #ffd6dc; }

.payment-expired {
  display: grid;
  gap: 13px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #f1bbc4;
  border-radius: 22px;
  background: linear-gradient(145deg, #fff8f9, #fff);
  text-align: center;
}
.payment-expired h1, .payment-expired p { margin: 0; }
.payment-expired p { color: var(--muted); }
.expired-icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  margin: 0 auto 4px;
  border-radius: 22px;
  background: #ffe7eb;
  font-size: 2rem;
}

.security-checklist { display: grid; gap: 10px; }
.security-checklist p {
  position: relative;
  margin: 0;
  padding: 12px 14px 12px 40px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: var(--bg-soft);
}
.security-checklist p::before {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 11px;
  color: var(--success);
  font-weight: 900;
}

.compact-form {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.product-image img {
  width: min(54%, 144px);
  height: min(54%, 144px);
  object-fit: contain;
  border-radius: 26px;
}
.product-card .product-image em {
  max-width: calc(100% - 30px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-pills {
  scrollbar-width: thin;
  scrollbar-color: rgba(104,87,237,.25) transparent;
}

@media (max-width: 900px) {
  .category-pills {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 9px;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }
  .category-pills a {
    flex: 0 0 auto;
    scroll-snap-align: start;
  }
}

@media (max-width: 680px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .product-card { border-radius: 18px; }
  .product-image { min-height: 145px; }
  .product-image img { width: 88px; height: 88px; border-radius: 20px; }
  .product-body { padding: 15px; }
  .product-body h3 { font-size: .98rem; }
  .product-body > p { min-height: 42px; font-size: .76rem; }
  .product-price strong { font-size: 1rem; }
  .product-meta { gap: 5px; }
  .product-stock { display: none; }
  .payment-actions { grid-template-columns: 1fr; }
  .payment-timer { align-items: stretch; flex-direction: column; }
  .payment-timer time { width: 100%; }
  .scroll-top { right: 14px; bottom: 82px; width: 43px; height: 43px; }
  .floating-whatsapp { right: 14px; bottom: 18px; }
}

@media (max-width: 390px) {
  .product-grid { grid-template-columns: 1fr; }
  .product-image { min-height: 175px; }
  .product-image img { width: 110px; height: 110px; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top { transition: none; }
}


/* ===== UI cache-safe fix & external product thumbnails ===== */
[hidden] { display: none !important; }
.product-image img,
.detail-visual img,
.summary-icon img {
  background: #fff;
  object-fit: contain;
}
.product-image img {
  padding: 16px;
  border: 1px solid rgba(229,232,240,.9);
}
.runtime-image-fallback {
  position: relative;
  z-index: 2;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #fff;
  background: linear-gradient(145deg, var(--primary), #9b82f7);
  box-shadow: 0 22px 48px rgba(104,87,237,.3);
  font-size: 2rem;
  font-weight: 900;
}
.detail-visual .runtime-image-fallback {
  width: 210px;
  height: 210px;
  border-radius: 42px;
  font-size: 4rem;
}
.summary-icon .runtime-image-fallback {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-size: 1rem;
  box-shadow: none;
}

/* Header desktop/mobile dibuat eksplisit agar tidak bentrok dengan cache CSS lama. */
@media (min-width: 901px) {
  .nav-toggle { display: none !important; }
  .main-nav { position: static !important; display: flex !important; }
}
@media (max-width: 900px) {
  .nav-toggle { display: block !important; }
  .main-nav { display: none; }
  .main-nav.is-open { display: flex; }
}

@media (max-width: 680px) {
  .runtime-image-fallback { width: 88px; height: 88px; border-radius: 20px; font-size: 1.55rem; }
  .detail-visual .runtime-image-fallback { width: 150px; height: 150px; border-radius: 32px; font-size: 3rem; }
}
