/* ============================================================
   BOB STORE — 08-fixes.css
   Fix desktop strip Paling Laris
   Urutan load file CSS penting: jangan tukar urutannya di index.html
   ============================================================ */

/* ---------- desktop fix: Paling Laris strip ----------
         The strip's inner .wrap used to inherit the hero's two-column
         grid (the old ".hero .wrap" selector matched it too), which
         squeezed #bestRow into the 1.15fr column (~665px): cards were
         cut off behind a visible horizontal scrollbar. The grid is now
         scoped to the hero's direct .wrap child (".hero>.wrap"), and at
         desktop widths the intro + 6 cards share the full row width so
         every card — price and stock included — is fully visible with
         no horizontal scrollbar. Mobile keeps the swipeable row. */
      @media(min-width:1021px){
        .best-row{overflow-x:visible}
        .best-intro{flex:1.3 1 0;min-width:0}
        .best-card,.skel-best{flex:1 1 0;min-width:0}
      }
      
/* ---------- mobile smoothness (HP only, desktop tidak berubah) ----------
   Penyebab lag di HP: backdrop-filter blur di header + service switcher
   yang sticky (browser harus nge-blur ulang tiap frame scroll), shadow
   besar di elemen sticky, dan marquee yang jalan terus. Di layar kecil
   blur dimatikan (diganti background solid yang tampilannya sama),
   shadow sticky dikecilin, marquee dikasih will-change + diperlambat. */
@media (max-width: 820px) {
  #v2-header.scrolled,
  body.is-light-nav #v2-header {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, .97);
  }
  .sv2-nav {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 8px 20px -12px rgba(6, 19, 39, .16);
  }
  .sv2-wrap.is-stuck .sv2-nav {
    box-shadow: 0 8px 20px -10px rgba(6, 19, 39, .18);
  }
  .v2-mq-track {
    will-change: transform;
    animation-duration: 55s;
  }
  .pv2-card, .step-card, .mq-card {
    transition: border-color .2s ease;
  }
}

/* ---------- mobile: cegah zoom otomatis pas fokus ke input (iOS) ----------
   iOS Safari nge-zoom sendiri kalau font input < 16px. Di HP semua input
   dipaksa 16px biar posisi halaman tetap diam pas ngetik. */
@media (max-width: 820px) {
  input, select, textarea {
    font-size: 16px !important;
  }
}
