/* ============================================================
   style.css – Pantau Tech
   Gaya: hitam pekat + hijau neon, judul tebal lebar
   (dipakai juga oleh toko.html)
   ============================================================ */

:root {
  /* Warna utama */
  --black:      #000000;
  --surface:    #0c0e0d;
  --surface-2:  #141816;
  --line:       #1f2622;
  --line-2:     #2c3530;
  --neon:       #39ff7e;
  --neon-soft:  rgba(57, 255, 126, .12);
  --neon-glow:  rgba(57, 255, 126, .45);
  --white:      #ffffff;
  --text:       #e9efeb;
  --muted:      #8d9892;
  --red:        #ff4d4d;

  /* Warna kategori */
  --global: #39ff7e;
  --bekas:  #ff8c42;
  --odm:    #ff4d4d;

  /* Alias lama (biar CSS lain tetap jalan) */
  --bg: var(--black);
  --surface2: var(--surface-2);
  --border: var(--line);
  --accent: var(--neon);
  --accent-dim: var(--neon-soft);
  --text-muted: var(--muted);

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --radius:    14px;
  --radius-sm: 10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  font-stretch: 100%;
  background: var(--black);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; }

:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Judul gaya konten: tebal, lebar, kapital */
.display {
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .95;
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.brand-logo {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px var(--line-2), 0 0 18px rgba(57, 255, 126, .25);
}

.brand-home { flex-shrink: 0; display: block; border-radius: 50%; }

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.brand-name {
  font-stretch: 125%;
  font-weight: 900;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .01em;
  color: var(--white);
  text-decoration: none;
  white-space: nowrap;
}

.brand-tiktok {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1;
  color: var(--neon);
  text-decoration: none;
  white-space: nowrap;
}

.brand-tiktok:hover { text-decoration: underline; }

.header-nav {
  display: flex;
  align-items: center;
  padding: 3px;
  gap: 2px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  flex-shrink: 0;
}

.nav-link {
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  color: var(--muted);
  white-space: nowrap;
  transition: color .15s ease, background-color .15s ease;
}

.nav-link:hover { color: var(--white); }

.nav-link-active,
.nav-link-active:hover {
  background: var(--neon);
  color: var(--black);
  font-weight: 700;
}

/* ============================================================
   HERO – bagian paling "konten TikTok"
   ============================================================ */
.hero {
  position: relative;
  text-align: center;
  padding: 26px 16px 22px;
  isolation: isolate;
}

/* glow hijau dari bawah, seperti thumbnail video */
.hero::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -110px;
  max-width: 820px;
  height: 280px;
  margin: 0 auto;
  background: radial-gradient(closest-side, rgba(57, 255, 126, .30), rgba(57, 255, 126, .08) 55%, transparent 100%);
  z-index: -1;
  pointer-events: none;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-stretch: 125%;
  font-weight: 900;
  text-transform: uppercase;
  line-height: .95;
  letter-spacing: -.015em;
}

.hero-line-top {
  font-size: clamp(17px, 5.2vw, 30px);
  color: var(--white);
}

.hero-line-big {
  font-size: clamp(27px, 8.6vw, 64px);
  color: var(--neon);
  text-shadow: 0 0 18px rgba(57, 255, 126, .55), 0 0 42px rgba(57, 255, 126, .25);
}

/* Pita "BUDGET 1-20 JUTA" dengan garis kiri-kanan */
.hero-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 14px auto 0;
  max-width: 440px;
}

.hero-band::before,
.hero-band::after {
  content: "";
  flex: 1;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, var(--neon));
  transform-origin: right center;
  animation: band-in .7s .15s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-band::after {
  background: linear-gradient(270deg, transparent, var(--neon));
  transform-origin: left center;
}

.hero-band span {
  padding: 6px 14px;
  border: 1.5px solid var(--neon);
  border-radius: 999px;
  background: rgba(0, 0, 0, .7);
  font-stretch: 125%;
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(57, 255, 126, .3), inset 0 0 10px rgba(57, 255, 126, .12);
}

@keyframes band-in {
  from { transform: scaleX(0); opacity: 0; }
  to   { transform: scaleX(1); opacity: 1; }
}

.hero-sub {
  margin-top: 12px;
  font-size: 14px;
  color: var(--muted);
}

/* ============================================================
   FILTER
   ============================================================ */
.filter-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4px 16px 0;
  display: grid;
  gap: 10px;
}

/* Tab kategori: satu baris, bisa digeser di HP */
.category-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 2px 16px;
}
.category-tabs::-webkit-scrollbar { display: none; }

.tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s;
}

.tab:hover { border-color: var(--muted); }

.tab.active {
  background: var(--neon);
  border-color: var(--neon);
  color: var(--black);
  font-weight: 700;
}

.tab-habis.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
}
.dot-global { background: var(--global); }
.dot-bekas  { background: var(--bekas); }
.dot-odm    { background: var(--odm); }
.tab.active .dot { background: var(--black); }

/* Pencarian */
.search-wrap { position: relative; }

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-input {
  width: 100%;
  height: 44px;
  padding: 0 14px 0 42px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color .15s, box-shadow .15s;
}

.search-input::placeholder { color: var(--muted); }

.search-input:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px var(--neon-soft);
}

.search-input::-webkit-search-cancel-button { filter: grayscale(1) brightness(1.6); }

/* Baris Harga / Urutkan / Tier */
.control-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.price-dropdown-wrap { position: relative; }

.price-btn {
  width: 100%;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 0 12px 0 14px;
  background: var(--surface);
  border: 1px solid var(--line-2);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color .15s, color .15s, background-color .15s;
}

.price-btn span { overflow: hidden; text-overflow: ellipsis; }
.price-btn:hover { border-color: var(--muted); }

/* tombol yang sedang dipakai filternya jadi hijau */
.price-btn.is-set {
  border-color: var(--neon);
  color: var(--neon);
  background: var(--neon-soft);
}

.price-btn.open { border-color: var(--neon); }

.chevron { flex-shrink: 0; transition: transform .2s; }
.price-btn.open .chevron { transform: rotate(180deg); }

/* alias lama */
.price-btn-ghost { background: var(--surface); }

.price-menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 100%;
  width: max-content;
  max-height: 320px;
  overflow-y: auto;
  list-style: none;
  padding: 6px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .7);
  z-index: 60;
  scrollbar-width: thin;
  scrollbar-color: var(--line-2) transparent;
}

.control-row .price-dropdown-wrap:last-child .price-menu { left: auto; right: 0; }

.price-menu.open { display: block; animation: menu-in .14s ease-out; }

@keyframes menu-in {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.price-option {
  display: block;
  width: 100%;
  text-align: left;
  padding: 9px 12px;
  background: transparent;
  border: none;
  border-radius: 8px;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.price-option:hover { background: rgba(255, 255, 255, .06); }

.price-option.active {
  background: var(--neon-soft);
  color: var(--neon);
  font-weight: 700;
}

/* Pilihan tier: cuma teks berwarna, latar polos */
.tier-opt { font-weight: 800; background: transparent !important; border: none !important; }
.tier-opt:hover { background: rgba(255, 255, 255, .06) !important; }
.tier-opt.active { background: rgba(255, 255, 255, .08) !important; }
.tier-opt.tier-s     { color: #c084fc; }
.tier-opt.tier-aplus { color: #fb923c; }
.tier-opt.tier-a     { color: #4ade80; }
.tier-opt.tier-bplus { color: #22d3ee; }
.tier-opt.tier-b     { color: #818cf8; }
.tier-opt.tier-c     { color: #a3a3a3; }

/* ============================================================
   PRODUK
   ============================================================ */
.products-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px 56px;
}

.result-count {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 12px;
  min-height: 20px;
}

.result-count strong { color: var(--white); font-weight: 700; }

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .18s;
}

.card:hover { border-color: rgba(57, 255, 126, .45); }

.card-img-wrap {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #ffffff;
  overflow: hidden;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge di atas foto */
.tier-badge,
.badge,
.badge-use {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  border-radius: 6px;
}

/* Tier: kiri atas (desain lama: latar gelap, garis & teks berwarna) */
.tier-badge {
  top: 8px;
  left: 8px;
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .04em;
}
.tier-s     { background: #1a0a2e; color: #c084fc; border: 1.5px solid #9333ea; }
.tier-aplus { background: #1a0f00; color: #fb923c; border: 1.5px solid #ea580c; }
.tier-a     { background: #0a1a00; color: #4ade80; border: 1.5px solid #16a34a; }
.tier-bplus { background: #001a1a; color: #22d3ee; border: 1.5px solid #0891b2; }
.tier-b     { background: #0a0a1a; color: #818cf8; border: 1.5px solid #4f46e5; }
.tier-c     { background: #1a1a0a; color: #a3a3a3; border: 1.5px solid #525252; }

/* Kategori: kanan atas (desain lama: pil kapital berwarna) */
.badge {
  top: 8px;
  right: 8px;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.badge-global { background: #0c2d1a; color: var(--global); border: 1px solid var(--global); }
.badge-bekas  { background: #2d1a08; color: var(--bekas);  border: 1px solid var(--bekas);  }
.badge-odm    { background: #2d0c0c; color: var(--odm);    border: 1px solid var(--odm);    }

/* Gaming / Teknik: kiri bawah */
.badge-use-row {
  position: absolute;
  left: 7px;
  bottom: 7px;
  display: flex;
  gap: 4px;
}
.badge-use {
  position: static;
  padding: 4px 7px;
  background: rgba(0, 0, 0, .82);
  color: var(--neon);
  border: 1px solid rgba(57, 255, 126, .5);
  border-radius: 999px;
  font-size: 10px;
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 11px 11px 12px;
}

.card-highlight {
  font-size: 10.5px;
  font-weight: 800;
  font-stretch: 112%;
  text-transform: uppercase;
  color: var(--neon);
  margin-bottom: 4px;
  line-height: 1.2;
}

.card-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-specs {
  list-style: none;
  margin: 8px 0 10px;
  display: grid;
  gap: 3px;
}

.card-specs li {
  position: relative;
  padding-left: 10px;
  font-size: 12px;
  line-height: 1.35;
  color: var(--muted);
}

.card-specs li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .5em;
  width: 4px;
  height: 4px;
  border-radius: 1px;
  background: var(--neon);
  opacity: .7;
}

.card-price {
  margin-top: auto;
  font-stretch: 118%;
  font-weight: 900;
  font-size: 17px;
  letter-spacing: -.01em;
  color: var(--neon);
  margin-bottom: 10px;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  height: 36px;
  padding: 0 8px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .1s;
}

.btn:active { transform: scale(.97); }

.btn-video {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--white);
}
.btn-video:hover { border-color: var(--white); }

.btn-shop {
  background: var(--neon);
  border: 1px solid var(--neon);
  color: var(--black);
}
.btn-shop:hover { background: #6dffa0; }

.btn-habis {
  background: rgba(255, 77, 77, .1);
  border: 1px solid rgba(255, 77, 77, .35);
  color: var(--red);
  font-size: 12px;
  cursor: default;
}

/* Produk habis: redup, tetap bisa dicari.
   Yang diredupkan isinya, bukan kartunya, supaya tombol "Lihat alternatifnya" tetap terang. */
.card-sold-out .card-img-wrap,
.card-sold-out .card-highlight,
.card-sold-out .card-title,
.card-sold-out .card-specs,
.card-sold-out .card-price,
.card-sold-out .btn-video,
.card-sold-out .btn-habis { opacity: .5; }
.card-sold-out:hover { border-color: var(--line); }

/* Tombol "Lihat alternatifnya": baris sendiri, selebar kartu */
.btn-alt {
  grid-column: 1 / -1;
  background: var(--neon-soft);
  border: 1px solid var(--neon);
  color: var(--neon);
  font-family: inherit;
  font-size: 12.5px;
}
.btn-alt:hover { background: rgba(57, 255, 126, .2); }

/* ── Jendela perbandingan: habis vs alternatif ──────────── */
.cmp-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(0, 0, 0, .8);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}

.cmp-overlay.open { opacity: 1; pointer-events: auto; }

.cmp-box {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid rgba(57, 255, 126, .3);
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .8), 0 0 40px rgba(57, 255, 126, .1);
  transform: translateY(10px);
  transition: transform .22s cubic-bezier(.2, .8, .2, 1);
}

.cmp-overlay.open .cmp-box { transform: translateY(0); }

.cmp-head {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 14px 12px 18px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.cmp-title {
  font-stretch: 125%;
  font-weight: 900;
  font-size: 17px;
  text-transform: uppercase;
  color: var(--white);
}

.cmp-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
}
.cmp-close:hover { border-color: var(--white); }

.cmp-body { padding: 14px 14px 18px; }

.cmp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.cmp-side { min-width: 0; }

.cmp-label {
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.cmp-side-alt .cmp-label { color: var(--neon); }

.cmp-img {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #ffffff;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line-2);
}
.cmp-img img { width: 100%; height: 100%; object-fit: cover; }
.cmp-img .tier-badge { top: 6px; left: 6px; font-size: 9.5px; padding: 3px 6px; }
.cmp-img .badge      { top: 6px; right: 6px; font-size: 9.5px; padding: 3px 7px; }

.cmp-side-alt .cmp-img { border-color: var(--neon); box-shadow: 0 0 18px rgba(57, 255, 126, .25); }
.cmp-side-habis .cmp-img img { filter: grayscale(1); opacity: .6; }

.cmp-name {
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--white);
}

.cmp-price {
  margin-top: 4px;
  font-stretch: 118%;
  font-weight: 900;
  font-size: 15px;
  color: var(--neon);
}
.cmp-side-habis .cmp-price { color: var(--muted); text-decoration: line-through; }

/* Selisih harga, tepat di bawah kolom kanan */
.cmp-diff {
  width: fit-content;
  margin: 8px 0 0 auto;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}
.cmp-diff-down { background: var(--neon-soft); color: var(--neon); border: 1px solid rgba(57, 255, 126, .5); }
.cmp-diff-up   { background: rgba(255, 140, 66, .12); color: var(--bekas); border: 1px solid rgba(255, 140, 66, .5); }
.cmp-diff-same { background: var(--surface-2); color: var(--text); border: 1px solid var(--line-2); }

/* Spek baris per baris */
.cmp-specs {
  margin-top: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}

.cmp-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 8px 10px;
  font-size: 12.5px;
  line-height: 1.35;
  color: var(--muted);
}
.cmp-row + .cmp-row { border-top: 1px solid var(--line); }
.cmp-row span { min-width: 0; overflow-wrap: anywhere; }
.cmp-row-diff span:last-child { color: var(--white); font-weight: 700; }

.cmp-reason {
  display: grid;
  gap: 3px;
  margin-top: 12px;
  padding: 10px 12px;
  background: var(--neon-soft);
  border: 1px solid rgba(57, 255, 126, .4);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}
.cmp-reason strong { color: var(--neon); font-size: 12px; }

.cmp-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 8px;
  margin-top: 14px;
}
.cmp-actions .btn { height: 42px; font-size: 14px; }

@media (max-width: 560px) {
  /* Di HP muncul dari bawah */
  .cmp-overlay { align-items: flex-end; padding: 0; }
  .cmp-box {
    max-width: none;
    max-height: 92vh;
    border-radius: 20px 20px 0 0;
    border-bottom: none;
    transform: translateY(100%);
  }
  .cmp-body { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
}
.card-sold-out .card-img { filter: grayscale(1); }
.card-sold-out .card-price { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1.5px; }

.badge-habis {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .55);
  color: var(--white);
  font-stretch: 125%;
  font-weight: 900;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

/* Judul bagian di mode pilihan mimin (selebar grid) */
.section-head {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line-2);
}

.section-head h2 {
  font-stretch: 125%;
  font-weight: 900;
  font-size: 17px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

.section-head span { font-size: 13px; color: var(--muted); }

.section-head-mimin { margin-top: 0; padding-top: 0; border-top: none; }
.section-head-mimin h2 { color: var(--neon); text-shadow: 0 0 14px rgba(57, 255, 126, .35); }

.section-empty {
  grid-column: 1 / -1;
  padding: 14px;
  border: 1px dashed var(--line-2);
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
}

/* Kosong */
.empty-state {
  text-align: center;
  padding: 48px 20px;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
}

.empty-title {
  font-stretch: 125%;
  font-weight: 900;
  font-size: 18px;
  text-transform: uppercase;
  color: var(--white);
}

.empty-text {
  margin-top: 6px;
  font-size: 14px;
  color: var(--muted);
}

.btn-reset {
  margin-top: 18px;
  padding: 11px 18px;
  border-radius: 999px;
  border: none;
  background: var(--neon);
  color: var(--black);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

/* ============================================================
   STOK DICEK (di hero)
   ============================================================ */
.stock-check {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 10px;
  padding: 5px 11px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(0, 0, 0, .55);
  font-size: 12px;
  color: var(--muted);
}

.stock-check time { color: var(--white); font-weight: 700; }

.stock-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 8px var(--neon);
}

/* ============================================================
   BANTU PILIH
   ============================================================ */
.guide { display: none; }

body.guide-open .guide { display: block; }
body.guide-open .filter-section,
body.guide-open .products-section { display: none; }

.guide {
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 16px 48px;
  scroll-margin-top: 70px;
}

.guide-step {
  padding: 22px 18px 20px;
  background: var(--surface);
  border: 1px solid rgba(57, 255, 126, .35);
  border-radius: 18px;
  box-shadow: 0 0 40px rgba(57, 255, 126, .08);
  text-align: center;
  animation: guide-in .25s ease-out;
}

.guide-step[hidden] { display: none; }

@keyframes guide-in {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.guide-title {
  font-stretch: 125%;
  font-weight: 900;
  font-size: 20px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--white);
}

.guide-text {
  margin: 8px auto 0;
  max-width: 36ch;
  font-size: 14px;
  color: var(--muted);
}

.guide-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.guide-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 56px;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .1s;
}

.guide-btn:active { transform: scale(.98); }

.guide-btn-title { font-size: 16px; font-weight: 800; line-height: 1.2; }
.guide-btn-sub   { font-size: 12.5px; font-weight: 500; line-height: 1.3; opacity: .8; }

.guide-btn-ghost {
  background: transparent;
  border: 1px solid var(--line-2);
  color: var(--white);
}
.guide-btn-ghost:hover { border-color: var(--white); }

.guide-btn-main {
  background: var(--neon);
  border: 1px solid var(--neon);
  color: var(--black);
  box-shadow: 0 0 20px rgba(57, 255, 126, .3);
}
.guide-btn-main:hover { background: #6dffa0; }

/* Pilihan harga */
.guide-prices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 18px;
}

.guide-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 58px;
  padding: 8px 6px;
  background: var(--surface-2);
  border: 1px solid var(--line-2);
  border-radius: 12px;
  color: var(--white);
  cursor: pointer;
  transition: border-color .15s, background-color .15s, transform .1s;
}

@media (hover: hover) {
  .guide-price:hover:not(:disabled) { border-color: var(--neon); background: var(--neon-soft); }
}
.guide-price:active:not(:disabled) { transform: scale(.97); }

.guide-price-all { grid-column: 1 / -1; min-height: 50px; border-color: rgba(57, 255, 126, .5); }

.guide-price-name {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
  white-space: nowrap;
}

.guide-price-count {
  font-size: 11px;
  color: var(--neon);
}

.guide-price:disabled { cursor: default; opacity: .4; }
.guide-price:disabled .guide-price-count { color: var(--muted); }

.guide-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 16px;
  padding: 6px 10px;
  background: none;
  border: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.guide-back:hover { color: var(--white); }

/* Keterangan setelah bantu pilih */
.guide-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
  padding: 10px 10px 10px 14px;
  background: var(--neon-soft);
  border: 1px solid rgba(57, 255, 126, .4);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--text);
}

.guide-notice[hidden] { display: none; }
.guide-notice strong { color: var(--neon); }

.guide-notice button {
  flex-shrink: 0;
  padding: 7px 11px;
  background: var(--black);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.guide-notice button:hover { border-color: var(--white); }

/* Baris jumlah + tombol bantu pilihin */
.result-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.result-row .result-count { margin-bottom: 0; }

.guide-reopen {
  flex-shrink: 0;
  padding: 6px 12px;
  background: transparent;
  border: 1px solid rgba(57, 255, 126, .5);
  border-radius: 999px;
  color: var(--neon);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.guide-reopen:hover { background: var(--neon-soft); }

@media (min-width: 640px) {
  .guide { padding-top: 12px; }
  .guide-step { padding: 30px 28px 26px; }
  .guide-title { font-size: 26px; }
  .guide-actions { grid-template-columns: 1fr 1fr; }
  .guide-prices { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 36px 16px 40px;
  border-top: 1px solid var(--line);
  text-align: center;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
  isolation: isolate;
}

.site-footer::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -140px;
  width: 520px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(57, 255, 126, .18), transparent);
  z-index: -1;
}

.footer-logo { border-radius: 50%; }

.footer-tiktok {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
}
.footer-tiktok:hover { color: var(--neon); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 400px) {
  .nav-extra-sm { display: none; }
}

@media (max-width: 560px) {
  .nav-extra { display: none; }
  .nav-link { padding: 7px 12px; }
}

@media (max-width: 350px) {
  .brand-text { display: none; }
  .card-body { padding: 10px 9px 11px; }
  .btn { font-size: 12px; }
  .btn-video svg { display: none; }
}

@media (min-width: 640px) {
  .hero { padding: 48px 24px 36px; }
  .hero-band span { font-size: 14px; padding: 7px 18px; }
  .hero-sub { font-size: 15px; }

  .filter-section {
    grid-template-columns: 1fr minmax(0, 420px);
    align-items: center;
    padding: 4px 24px 0;
  }
  .category-tabs { grid-column: 1 / -1; margin: 0; padding: 2px 0; }
  .products-section { padding: 20px 24px 64px; }

  .products-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .card-body { padding: 14px; }
  .card-title { font-size: 15px; }
  .card-price { font-size: 19px; }
  .tier-badge, .badge { font-size: 11.5px; }
  .header-inner { padding: 12px 24px; }
  .brand-logo { width: 38px; height: 38px; }
  .brand-name { font-size: 16px; }
  .brand-tiktok { font-size: 12.5px; }
}

@media (min-width: 960px) {
  .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .filter-section { grid-template-columns: auto 1fr minmax(0, 400px); }
  .category-tabs { grid-column: auto; }
  .hero { padding: 64px 24px 44px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}