/* =====================================================================================
   TOKO iOS — tema tampilan gaya iOS untuk etalase toko reseller (toko.html). [NEW 2026-09-24]
   Menggantikan tema/toko-plus.css (file lama TIDAK dihapus, cuma tidak dimuat lagi).
   Aktif kalau <html> punya class "tios". Logika toko TIDAK diubah sama sekali — ini murni tampilan.

   Prinsip:
   • Warna latar/teks/garis ikut palet sistem iOS (terang: #F2F2F7 / gelap: #000) supaya semua toko
     terasa seperti app iOS asli, termasuk semua style inline lama yang memakai var(--bg), var(--txt),
     var(--line), var(--glass), var(--mut) — variabel itu ditimpa di sini.
   • Warna AKSEN pilihan reseller tetap dipakai sebagai "tint" (warna tombol, tab aktif, harga),
     disesuaikan otomatis kecerahannya oleh toko-ios.js supaya tetap kebaca di mode terang & gelap.
   • Mode tampilan ikut pengaturan HP (Otomatis) sampai pembeli memilih sendiri di menu Akun.
   • Kepala toko bergaya halaman app di App Store: ikon besar, nama, tombol "Belanja", baris info.
   ===================================================================================== */

/* ---------- 1. token warna & huruf ---------- */
html.tios{
  --ios-font:-apple-system,BlinkMacSystemFont,"SF Pro Text","SF Pro Display","Helvetica Neue","Inter","Segoe UI",Roboto,Arial,sans-serif;
  --font-d:var(--ios-font)!important; --font-b:var(--ios-font)!important;
  --tint:var(--ios-tint,var(--vio,#007AFF));
  --tint-soft:color-mix(in srgb,var(--tint) 13%,transparent);
  --on-tint:var(--ios-on-tint,#fff);
  --spring:cubic-bezier(.32,.72,0,1);
  --r-cell:16px; --r-card:20px; --r-btn:14px;

  /* terang (default sebelum JS jalan juga aman) */
  --bg:#F2F2F7!important; --bg2:#FFFFFF!important;
  --glass:#FFFFFF!important; --glass2:rgba(120,120,128,.12)!important;
  --line:rgba(60,60,67,.14)!important;
  --txt:#000000!important; --mut:rgba(60,60,67,.62)!important;
  --ios-fill:rgba(120,120,128,.12); --ios-fill2:rgba(120,120,128,.08);
  --ios-sep:rgba(60,60,67,.18); --ios-label3:rgba(60,60,67,.32);
  --ios-sheet:#F2F2F7; --ios-cell:#FFFFFF; --ios-elev:#FFFFFF;
  --ios-bar:rgba(249,249,251,.8);
  --ios-shadow:0 1px 2px rgba(0,0,0,.04),0 6px 18px -10px rgba(0,0,0,.12);
  --green:#34C759!important; --red:#FF3B30!important; --amber:#FF9500!important; --cy:var(--tint)!important; --vio2:var(--tint)!important;
  color-scheme:light;
}
html.tios:not([data-theme="light"]){
  --bg:#000000!important; --bg2:#1C1C1E!important;
  --glass:#1C1C1E!important; --glass2:rgba(120,120,128,.24)!important;
  --line:rgba(84,84,88,.42)!important;
  --txt:#FFFFFF!important; --mut:rgba(235,235,245,.6)!important;
  --ios-fill:rgba(118,118,128,.24); --ios-fill2:rgba(118,118,128,.16);
  --ios-sep:rgba(84,84,88,.6); --ios-label3:rgba(235,235,245,.3);
  --ios-sheet:#1C1C1E; --ios-cell:#2C2C2E; --ios-elev:#2C2C2E;
  --ios-bar:rgba(22,22,24,.78);
  --ios-shadow:none;
  --green:#30D158!important; --red:#FF453A!important; --amber:#FF9F0A!important;
  color-scheme:dark;
}

/* ---------- 2. dasar halaman ---------- */
html.tios body{font-family:var(--ios-font);background:var(--bg)!important;color:var(--txt);font-size:15px;letter-spacing:-.01em;
  -webkit-font-smoothing:antialiased;-webkit-tap-highlight-color:transparent;text-rendering:optimizeLegibility}
html.tios .aurora{display:none!important}
html.tios ::selection{background:color-mix(in srgb,var(--tint) 28%,transparent)}
html.tios *{scrollbar-width:none}
html.tios ::-webkit-scrollbar{width:0;height:0}
html.tios :focus-visible{outline:2px solid var(--tint);outline-offset:2px;border-radius:8px}
html.tios #app .wrap{padding:0 16px 24px}
html.tios h1,html.tios h2,html.tios h3,html.tios h4{letter-spacing:-.022em}

/* efek "tekan" khas iOS: sedikit meredup, bukan riak */
html.tios .tk-ripple{display:none!important}
html.tios .btn:active,html.tios .iconbtn:active,html.tios .tab:active,html.tios .catchip:active{transform:scale(.97);opacity:.72}
html.tios .pcard:active{transform:scale(.98)}
html.tios .btn,html.tios .iconbtn,html.tios .pcard,html.tios .tab{transition:transform .35s var(--spring),opacity .2s,background-color .2s}

/* ---------- 3. loading skeleton ---------- */
html.tios .loading{background:var(--bg)!important}
html.tios .pskel-card{background:var(--ios-cell)!important;border:0!important;border-radius:var(--r-card)!important}
html.tios .pskel-bar{background:linear-gradient(90deg,var(--ios-fill2),var(--ios-fill),var(--ios-fill2))!important;background-size:200% 100%!important}

/* ---------- 4. nav bar (header) ---------- */
html.tios #app header{position:sticky;top:0;z-index:45;flex-wrap:nowrap;gap:10px;margin:0 -16px 6px;padding:calc(8px + env(safe-area-inset-top)) 16px 8px;
  background:transparent;transition:background-color .3s,box-shadow .3s}
html.tios.tp-scrolled #app header{background:var(--ios-bar);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 .5px 0 var(--ios-sep)}
html.tios #app header .brand{flex:1 1 auto;min-width:0;display:flex;align-items:center;gap:9px;transition:opacity .25s,transform .35s var(--spring)}
/* judul ringkas baru muncul setelah judul besar (kepala toko) tergulung — perilaku nav bar iOS */
html.tios.ios-bigtitle #app header .brand{opacity:0;transform:translateY(6px);pointer-events:none}
html.tios #app header .logo{width:30px;height:30px;border-radius:8px;font-size:13px;box-shadow:0 0 0 .5px var(--ios-sep)!important;background:var(--tint);color:var(--on-tint)}
html.tios #app header .storeName{font-size:17px;font-weight:600;letter-spacing:-.02em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.tios #app header .hdr-actions{flex:0 0 auto;margin-left:auto;display:flex;align-items:center;gap:8px}
html.tios .iconbtn{width:34px;height:34px;border:0!important;background:var(--ios-fill)!important;color:var(--tint)!important;box-shadow:none!important}
html.tios .iconbtn svg{width:18px;height:18px;stroke-width:2.1}
html.tios .iconbtn:hover{background:var(--ios-fill)!important}
html.tios .saldo{height:34px;border:0!important;background:var(--tint-soft)!important;color:var(--tint)!important;font-weight:600;font-size:14px;padding:0 12px;border-radius:99px;font-variant-numeric:tabular-nums}
html.tios .saldo svg{width:16px;height:16px}
html.tios #cartBadge,html.tios .notifBadge{background:var(--red)!important;color:#fff!important;font-weight:600;border:2px solid var(--bg)}
@media(max-width:640px){html.tios #app header #notifBell,html.tios #app header #btnHistory{display:none!important}}

/* menu akun = context menu iOS */
html.tios .acc-menu{left:auto;right:0;min-width:232px;padding:0;border:0!important;border-radius:14px!important;overflow:hidden;background:color-mix(in srgb,var(--ios-elev) 86%,transparent)!important;
  -webkit-backdrop-filter:saturate(180%) blur(30px);backdrop-filter:saturate(180%) blur(30px);box-shadow:0 18px 50px -12px rgba(0,0,0,.35),0 0 0 .5px var(--ios-sep)!important;transform-origin:top right}
html.tios .acc-menu.open{animation:iosPop .38s var(--spring)}
html.tios .acc-menu > div:first-child{padding:12px 14px!important;margin:0!important;border-bottom:.5px solid var(--ios-sep)!important}
html.tios #accMenuAvatar{background:var(--tint)!important;color:var(--on-tint)!important}
html.tios .acc-menu-name{font-weight:600;font-size:15px}
html.tios .acc-menu-item{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:0;border-radius:0;background:transparent;color:var(--txt);font:400 16px var(--ios-font);letter-spacing:-.02em;text-align:left;
  border-bottom:.5px solid var(--ios-sep)}
html.tios .acc-menu-item:last-child{border-bottom:0}
html.tios .acc-menu-item:hover,html.tios .acc-menu-item:active{background:var(--ios-fill2)}
html.tios .acc-menu-item svg{width:19px;height:19px;color:var(--txt);opacity:.85}
html.tios #btnLogout{color:var(--red)}html.tios #btnLogout svg{color:var(--red)}

/* notifikasi (dropdown lonceng) */
html.tios .notifDropdown{border:0!important;border-radius:14px!important;background:color-mix(in srgb,var(--ios-elev) 90%,transparent)!important;-webkit-backdrop-filter:blur(30px);backdrop-filter:blur(30px);box-shadow:0 18px 50px -12px rgba(0,0,0,.35),0 0 0 .5px var(--ios-sep)!important}
html.tios .notif-item{border-bottom:.5px solid var(--ios-sep)!important}

/* ---------- 5. kepala toko ala halaman app di App Store ---------- */
html.tios .tp-hero{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:16px;align-items:start;margin:4px 0 18px;padding:0;background:none;box-shadow:none;border-radius:0;color:var(--txt);overflow:visible}
html.tios .tp-hero-mesh,html.tios .tp-hero::before,html.tios .tp-hero::after{display:none!important}
html.tios .tp-hero-top{display:contents}
html.tios .tp-hero-logo{grid-row:1 / span 3;width:112px;height:112px;padding:0;border-radius:25px;background:none;animation:none!important;box-shadow:0 0 0 .5px var(--ios-sep),0 12px 28px -14px color-mix(in srgb,var(--tint) 60%,transparent)}
html.tios .tp-hero-logo > div{border-radius:25px;background:var(--tint);color:var(--on-tint);font-size:44px;font-weight:700}
html.tios .tp-hero-id{grid-column:2;align-self:end;padding-top:6px}
html.tios .tp-hero-id h2{font-size:24px;font-weight:700;letter-spacing:-.03em;line-height:1.12;color:var(--txt)}
html.tios .tp-hero-id h2 span{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html.tios .tp-hero-id h2 svg{color:#0A84FF;width:20px;height:20px}
html.tios .tp-hero-id h2 svg path:last-child{stroke:#fff}
html.tios .tp-hero-live{margin-top:3px;padding:0;background:none;border:0;font-size:14px;font-weight:400;letter-spacing:-.01em;color:var(--mut)}
html.tios .tp-hero-live i{width:7px;height:7px;background:var(--green);animation:none!important;box-shadow:none}
/* tombol: "Belanja" = kapsul tint (seperti tombol DAPATKAN), "Top up" = kapsul abu */
html.tios .tp-hero-cta{grid-column:2;display:flex;gap:8px;margin:12px 0 0;align-self:end}
html.tios .tp-hero-cta button{flex:0 0 auto;padding:7px 18px;border-radius:99px;font:600 15px var(--ios-font);letter-spacing:-.01em;box-shadow:none!important;border:0!important;transition:transform .35s var(--spring),opacity .2s}
html.tios .tp-hero-cta button svg{display:none}
html.tios .tp-hero-cta .a{background:var(--tint)!important;color:var(--on-tint)!important}
html.tios .tp-hero-cta .b{background:var(--ios-fill)!important;color:var(--tint)!important}
html.tios .tp-hero-cta button:hover{transform:none}
html.tios .tp-hero-cta button:active{transform:scale(.94);opacity:.7}
/* baris info: kolom dipisah garis tipis, seperti rating/umur/peringkat di App Store */
html.tios .tp-hero-stats{grid-column:1 / -1;order:5;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;margin:20px 0 0;padding:12px 0 0;border-top:.5px solid var(--ios-sep)}
html.tios .tp-hero-stats > div{padding:0 6px;background:none!important;border:0!important;border-left:.5px solid var(--ios-sep)!important;border-radius:0;-webkit-backdrop-filter:none;backdrop-filter:none;text-align:center}
html.tios .tp-hero-stats > div:first-child{border-left:0!important}
html.tios .tp-hero-stats b{justify-content:center;font-size:20px;font-weight:700;letter-spacing:-.02em;color:var(--mut)}
html.tios .tp-hero-stats b svg{width:15px;height:15px;color:var(--mut)}
html.tios .tp-hero-stats span{margin-top:3px;font-size:12px;font-weight:500;color:var(--ios-label3)}
html.tios .tp-hero p{grid-column:1 / -1;order:6;margin:14px 0 0;font-size:15px;line-height:1.45;color:var(--txt);max-width:62ch}
/* kalau reseller pakai banner sendiri, kepala toko tetap ringkas (tanpa ikon & deskripsi) */
html.tios .tp-hero.compact{display:flex;flex-direction:column;margin-top:14px}
html.tios .tp-hero.compact .tp-hero-stats{margin-top:0;border-top:0;padding-top:0}
html.tios .tp-hero.compact .tp-hero-cta{order:9;margin-top:14px}
html.tios .tp-hero.compact .tp-hero-cta button{flex:1;padding:11px 16px}

/* pita keunggulan → baris kapsul yang bisa digeser (tanpa berjalan sendiri) */
html.tios .tp-trust{margin:0 -16px 18px;padding:0 16px;overflow-x:auto;-webkit-mask:none;mask:none;scroll-snap-type:x proximity}
html.tios .tp-trust-track{animation:none!important;gap:8px}
html.tios .tp-trust-track > span[aria-hidden]{display:none!important}
html.tios .tp-trust span{scroll-snap-align:start;padding:8px 12px;border:0;border-radius:12px;background:var(--ios-cell);box-shadow:var(--ios-shadow);font-size:13px;font-weight:500;color:var(--txt)}
html.tios .tp-trust span svg{color:var(--tint)}

/* banner kustom reseller + blok */
html.tios #customHeroImg,html.tios .custom-hero-img{border-radius:var(--r-card)!important;border:0!important;box-shadow:var(--ios-shadow)!important;overflow:hidden}
html.tios #customHeroImg::after{display:none}
html.tios #customBioText{font-size:15px!important;color:var(--mut)!important;line-height:1.45!important;margin-top:10px}
html.tios .blk{border-radius:var(--r-card)!important}
html.tios .blk-banner img{border-radius:var(--r-card)!important}
html.tios .blk-text .h{font-weight:700;letter-spacing:-.02em}
html.tios .blk-button a{border-radius:var(--r-btn)!important;font-weight:600!important}
html.tios .blk-divider hr{border:0!important;border-top:.5px solid var(--ios-sep)!important}
html.tios .social-ic{width:44px!important;height:44px!important;border-radius:12px!important;border:0!important;background:var(--ios-cell)!important;box-shadow:var(--ios-shadow);color:var(--txt)!important}
html.tios .social-ic:hover{transform:none!important}

/* pengumuman toko → kartu notifikasi iOS */
html.tios #tenantBroadcastBanner{background:var(--ios-cell)!important;border:0!important;border-radius:var(--r-card)!important;box-shadow:var(--ios-shadow);padding:12px 14px!important;gap:12px!important}
html.tios #tenantBroadcastBanner .tp-bc-ic{width:30px;height:30px;border-radius:8px;background:var(--tint);color:var(--on-tint);display:grid;place-items:center;flex:0 0 auto}
html.tios #tenantBroadcastBanner .tp-bc-ic svg{width:17px;height:17px}
html.tios #tenantBroadcastText{font-size:14px!important;line-height:1.42!important}
html.tios .tp-bc-clamp{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
html.tios .tp-bc-more{display:inline-flex;align-items:center;gap:3px;margin-top:4px;padding:0;border:0;background:none;color:var(--tint);font:500 14px var(--ios-font);cursor:pointer}
html.tios .tp-bc-more svg{width:14px;height:14px;transition:transform .3s}
html.tios .tp-bc-more.on svg{transform:rotate(180deg)}

/* ---------- 6. tab kategori (kapsul filter) ---------- */
html.tios #catTabs{position:sticky;top:calc(50px + env(safe-area-inset-top));z-index:39;isolation:isolate;margin:0 -16px 12px!important;padding:6px 16px 8px!important;gap:8px;-webkit-mask:none;mask:none;transition:background-color .3s,box-shadow .3s}
html.tios #catTabs.tp-stuck{background:var(--ios-bar);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 .5px 0 var(--ios-sep)}
html.tios.tp-scrolled #catTabs.tp-stuck{box-shadow:0 .5px 0 var(--ios-sep)}
html.tios .tab{padding:7px 14px;border:0!important;border-radius:99px;background:var(--ios-fill)!important;color:var(--txt)!important;font-size:15px;font-weight:500;letter-spacing:-.015em;box-shadow:none!important;gap:6px}
html.tios .tab svg{width:16px;height:16px;color:var(--mut)}
html.tios .tab.on,html.tios #catTabs.tp-ind-on .tab.on{background:var(--tint)!important;color:var(--on-tint)!important}
html.tios .tab.on svg{color:currentColor}
html.tios #catTabs.tp-ind-on .tab.on{background:transparent!important}
html.tios .tp-tab-ind{position:absolute;z-index:0;left:0;top:0;border-radius:99px;pointer-events:none;background:var(--tint);box-shadow:none;transition:transform .5s var(--spring),width .5s var(--spring),height .3s}
/* tab di dalam sheet = segmented control */
html.tios .modal .tabs{display:flex;gap:0;padding:2px;margin:12px 0 14px!important;border-radius:9px;background:var(--ios-fill);-webkit-mask:none;mask:none;overflow-x:auto}
html.tios .modal .tabs .tab{flex:1 0 auto;justify-content:center;padding:6px 12px;border-radius:7px;background:transparent!important;color:var(--txt)!important;font-size:13px;font-weight:500}
html.tios .modal .tabs .tab.on{background:var(--ios-seg,#fff)!important;color:var(--txt)!important;font-weight:600;box-shadow:0 3px 8px rgba(0,0,0,.12),0 3px 1px rgba(0,0,0,.04)!important}
html.tios:not([data-theme="light"]) .modal .tabs .tab.on{--ios-seg:#636366}

/* ---------- 7. pencarian & chip ---------- */
html.tios .searchbar{height:38px;padding:0 10px;gap:6px;border:0!important;border-radius:11px!important;background:var(--ios-fill)!important;box-shadow:none!important;margin-bottom:12px}
html.tios .searchbar:focus-within{background:var(--ios-fill)!important;box-shadow:none!important}
html.tios .searchbar .ico{color:var(--mut)!important}
html.tios .searchbar .ico svg{width:17px;height:17px}
html.tios .searchbar input{font-size:17px!important;letter-spacing:-.02em;color:var(--txt);padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
html.tios .searchbar input::placeholder{color:var(--mut)}
html.tios .searchbar.tp-ph-fade input::placeholder{opacity:0}
html.tios .searchbar input::placeholder{transition:opacity .25s}
html.tios .catchips{-webkit-mask:none;mask:none;gap:6px}
html.tios .catchip,html.tios .fchip,html.tios .smm-tab{border:0!important;border-radius:99px!important;background:transparent!important;color:var(--mut)!important;font-size:14px;font-weight:500;padding:6px 12px;box-shadow:none!important;transform:none!important}
html.tios .catchip.on,html.tios .fchip.on,html.tios .smm-tab.on{background:var(--tint-soft)!important;color:var(--tint)!important;font-weight:600}
html.tios .fchip:hover{background:var(--ios-fill2)!important}
html.tios .smm-tab .cnt{background:var(--ios-fill)!important;color:inherit!important}

/* ---------- 8. kartu produk ---------- */
html.tios .pgrid{gap:12px}
html.tios .pcard{border:0!important;border-radius:var(--r-card)!important;background:var(--ios-cell)!important;box-shadow:var(--ios-shadow)!important;padding:14px;gap:8px;isolation:isolate;
  transition:transform .45s var(--spring),opacity .45s var(--spring)}
html.tios .pcard::before,html.tios .pcard::after{display:none!important}
html.tios .pcard-reveal{animation:none}
html.tios .pcard.tp-pre{opacity:0;transform:translateY(14px)}
html.tios .pcard.on{box-shadow:0 0 0 2px var(--tint)!important}
html.tios .pcard.flash{box-shadow:0 0 0 1.5px color-mix(in srgb,var(--amber) 70%,transparent),var(--ios-shadow)!important}
/* ikon produk = ikon app (squircle) */
html.tios .pcard .ptop{align-items:center;gap:11px}
html.tios .pcard .pic{width:54px;height:54px;border-radius:13px;border:0;background:var(--tint-soft);box-shadow:inset 0 0 0 .5px var(--ios-sep);font-size:26px}
html.tios .pcard .pic img{width:100%;height:100%;object-fit:cover;transition:none}
html.tios .pcard h3{font-size:15px;font-weight:600;line-height:1.25;letter-spacing:-.02em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html.tios .pcard .ptop > div > div{font-size:12.5px!important;color:var(--mut)!important;margin-top:2px!important}
html.tios .pcard .pdesc{font-size:13px;color:var(--mut);line-height:1.38;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
html.tios .pcard .pdesc:empty{display:none}
html.tios .pcard .pprices{align-items:baseline;gap:6px;flex-wrap:wrap}
html.tios .pcard .pnow{background:none!important;-webkit-text-fill-color:currentColor;color:var(--txt)!important;font-size:16px;font-weight:700;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
html.tios .pcard .pstrike{font-size:12.5px;color:var(--ios-label3)}
html.tios .pcard .pprices span[style*="--green"]{background:color-mix(in srgb,var(--green) 16%,transparent)!important;color:var(--green)!important;border-radius:6px!important;font-weight:600!important}
html.tios .pcard .pstok{font-size:12.5px;color:var(--mut);display:flex;align-items:center;gap:6px}
html.tios .pcard .pstok .plive{width:6px;height:6px;border-radius:50%;background:var(--green);box-shadow:none;animation:none}
html.tios .pcard .pstok.empty .plive{background:var(--ios-label3)}
html.tios .pcard .pstok.tp-low{color:var(--amber)}
html.tios .pcard .pstok.tp-low .plive{background:var(--amber)}
html.tios .pcard .pbadges{padding-right:34px;display:flex;gap:5px;flex-wrap:wrap}
html.tios .pcard .pbadges:empty{display:none}
html.tios .pcard .pbdg{border:0!important;border-radius:6px!important;font-size:11px!important;font-weight:700!important;letter-spacing:0!important;padding:3px 7px!important}
html.tios .pcard .pbdg.flash{background:color-mix(in srgb,var(--amber) 18%,transparent)!important;color:var(--amber)!important}
html.tios .pcard .pbdg.flash svg{width:11px;height:11px;vertical-align:-1px;margin-right:2px}
html.tios .tp-lowbadge{font-size:11px;font-weight:700;padding:3px 7px;border-radius:6px;color:var(--amber);background:color-mix(in srgb,var(--amber) 16%,transparent)}
/* tombol beli di kartu = kapsul "DAPATKAN" App Store */
html.tios .pcard .btn-primary{margin-top:2px;padding:7px 14px;border-radius:99px!important;background:var(--ios-fill)!important;color:var(--tint)!important;font-size:15px;font-weight:700;letter-spacing:-.01em;box-shadow:none!important;background-blend-mode:normal!important}
html.tios .pcard .btn-primary::before,html.tios .pcard .btn-primary::after{display:none!important}
html.tios .pcard .btn[disabled]{color:var(--ios-label3)!important;filter:none;opacity:1}
html.tios .pcard.tp-sold{filter:none}
html.tios .pcard.tp-sold .pic{opacity:.5}
/* layout grid / besar / ringkas milik reseller tetap dihormati */
html.tios .pcard.pcard-grid{padding:10px 10px 12px}
html.tios .pcard.pcard-grid .pic,html.tios .pcard.pcard-large .pic{width:100%!important;border-radius:14px}
html.tios .pcard.pcard-grid h3{font-size:13.5px!important;-webkit-line-clamp:1}
html.tios .pcard.pcard-grid .pnow,html.tios .pcard.pcard-compact .pnow{font-size:14px!important}
html.tios .pcard.pcard-compact{padding:10px 12px!important}
html.tios .pcard.pcard-compact .pic{width:48px!important;height:48px!important;border-radius:11px}
html.tios .pcard.pcard-compact .btn-primary{padding:6px 16px!important}
/* wishlist */
html.tios .pwish-btn{width:30px;height:30px;top:10px;right:10px;border:0!important;background:var(--ios-fill)!important;color:var(--mut)!important;box-shadow:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}
html.tios .pwish-btn.on{color:var(--red)!important;background:color-mix(in srgb,var(--red) 14%,transparent)!important}
html.tios .pwish-btn svg{width:16px;height:16px}
html.tios .pwish-btn.tp-pop{animation:iosHeart .5s var(--spring)}
.tp-burst{position:absolute;inset:0;pointer-events:none}
.tp-burst i{position:absolute;left:50%;top:50%;width:5px;height:5px;margin:-2.5px;border-radius:50%;background:var(--red);animation:tpBurst .6s ease-out forwards}
/* layanan lain (Top Up Game, SMM, Nokos, pulsa) */
html.tios .gcard,html.tios .nk-card,html.tios .svc,html.tios .list-item,html.tios .order-card,html.tios .card,html.tios .nk-panel,html.tios .smm-statbar{border:0!important;background:var(--ios-cell)!important;box-shadow:var(--ios-shadow)!important}
html.tios .gcard,html.tios .nk-card,html.tios .card{border-radius:var(--r-card)!important}
html.tios .svc,html.tios .list-item,html.tios .order-card,html.tios .nk-panel{border-radius:var(--r-cell)!important}
html.tios .svc:hover,html.tios .nk-card:hover{transform:none!important;box-shadow:var(--ios-shadow)!important}
html.tios .svc .price-pill{background:var(--tint-soft)!important;color:var(--tint)!important;border:0!important;box-shadow:none!important;border-radius:10px!important}
html.tios .svc .price-pill .n,html.tios .svc .price-pill .u{color:inherit!important}
html.tios .tag-s{border:0!important;border-radius:6px!important;font-weight:600!important}
html.tios .svc-head h1{background:none!important;-webkit-text-fill-color:currentColor;color:var(--txt)!important;font-size:28px!important;font-weight:700!important;letter-spacing:-.03em}
html.tios .svc-head h1::before{display:none!important}
html.tios .svc-head p{color:var(--mut)!important;font-size:15px!important}
html.tios .backbar{color:var(--tint)!important;font-size:17px!important;font-weight:400!important}
html.tios .tg-card{border-radius:var(--r-card)!important;border:0!important;box-shadow:var(--ios-shadow)}
html.tios .tg-card:hover{transform:none!important}
html.tios .tg-card .ov{background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.72))!important}
html.tios .tg-item{border:0!important;border-radius:14px!important;background:var(--ios-cell)!important;box-shadow:var(--ios-shadow)}
html.tios .tg-item.on,html.tios .tg-item.active,html.tios .tg-item.sel{box-shadow:0 0 0 2px var(--tint)!important;background:var(--tint-soft)!important}
html.tios .tg-item .p{color:var(--tint)!important}
html.tios .tg-search{border:0!important;background:var(--ios-fill)!important;border-radius:11px!important;box-shadow:none!important}
html.tios .tg-section h2{font-size:22px!important;font-weight:700!important;letter-spacing:-.03em}
html.tios .nk-select{border:0!important;background:var(--ios-fill)!important;border-radius:11px!important;box-shadow:none!important}
html.tios .nk-select select,html.tios .nk-select input{font-size:16px!important}
html.tios .smm-catsel{border:0!important;background:var(--ios-fill)!important;border-radius:11px!important}
html.tios .nk-loadmore{border-radius:99px!important}

/* ---------- 9. judul bagian & ulasan ---------- */
html.tios #reviewSecTk h2{font-size:22px!important;font-weight:700;letter-spacing:-.03em;padding-left:0!important}
html.tios #reviewSecTk h2 svg{display:none}
html.tios #reviewSecTk h2::before,html.tios #reviewSecTk h2::after{display:none!important}
html.tios #reviewSecTk .btn{background:transparent!important;color:var(--tint)!important;border:0!important;font-size:16px!important;font-weight:400!important;padding:4px 0!important}
html.tios #reviewSecTk .btn svg{display:none}
html.tios .rv-summary{border:0!important;border-radius:var(--r-card)!important;background:var(--ios-cell)!important;box-shadow:var(--ios-shadow)!important}
html.tios .rv-summary::before{display:none!important}
html.tios .rv-summary .rv-avg{background:none!important;-webkit-text-fill-color:currentColor;color:var(--txt)!important;font-size:46px!important;font-weight:700!important;letter-spacing:-.04em}
html.tios .rv-summary .rv-divider{background:var(--ios-sep)!important;width:.5px!important}
html.tios .rv-summary .rv-badgewrap{background:var(--ios-fill2)!important;border:0!important;border-radius:12px!important}
html.tios .rv-star,html.tios .rv-stars{color:var(--amber)!important}
html.tios .rv-scroll-wrap::before,html.tios .rv-scroll-wrap::after{display:none!important}
html.tios .rv-scroll{scroll-snap-type:x mandatory;gap:12px;padding-bottom:4px}
html.tios .rv-card{scroll-snap-align:start;border:0!important;border-radius:var(--r-card)!important;background:var(--ios-cell)!important;box-shadow:var(--ios-shadow)!important}
html.tios .rv-card::before,html.tios .rv-card .rv-quote{display:none!important}
html.tios .rv-card:hover{transform:none!important}
html.tios .rv-card .rv-avatar{background:var(--tint)!important;color:var(--on-tint)!important}
html.tios .rv-card .rv-name{font-weight:600}
html.tios .rv-card .rv-verified{color:#0A84FF!important}
html.tios .rv-card .rv-product{color:var(--mut)!important;background:var(--ios-fill2)!important;border:0!important;border-radius:6px!important}
html.tios .rv-card .rv-text{font-size:14px!important;line-height:1.42!important;color:var(--txt)!important}
html.tios .empty{color:var(--mut)}

/* ---------- 10. tombol, isian, formulir ---------- */
html.tios .btn{min-height:50px;padding:14px 18px;border-radius:var(--r-btn);font:600 17px/1.2 var(--ios-font);letter-spacing:-.02em;box-shadow:none}
html.tios .btn-sm{min-height:0}
html.tios .btn-primary{background:var(--tint)!important;color:var(--on-tint)!important;background-blend-mode:normal!important;box-shadow:none!important}
html.tios .btn-primary::after{display:none!important}
html.tios .btn-primary:hover{filter:none}
html.tios .btn-primary:disabled{background:var(--ios-fill)!important;color:var(--ios-label3)!important;opacity:1}
html.tios label{font-size:13px;font-weight:400;color:var(--mut);margin:16px 4px 7px;letter-spacing:-.005em}
html.tios input:not([type=checkbox]):not([type=radio]):not([type=range]),html.tios select,html.tios textarea{
  font-family:var(--ios-font);font-size:17px!important;letter-spacing:-.02em;color:var(--txt);background:var(--ios-cell)!important;border:0!important;border-radius:12px!important;padding:13px 14px;box-shadow:none!important;
  -webkit-appearance:none;appearance:none;transition:box-shadow .2s}
html.tios select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238E8E93' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 9 5 5 5-5'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 14px center!important;padding-right:36px!important}
html.tios #app > .wrap input:not([type=checkbox]):not([type=radio]):not(.searchbar input),html.tios #app > .wrap select,html.tios #app > .wrap textarea{box-shadow:var(--ios-shadow)!important}
html.tios input:focus,html.tios select:focus,html.tios textarea:focus{outline:none;box-shadow:0 0 0 2px color-mix(in srgb,var(--tint) 55%,transparent)!important}
html.tios input::placeholder,html.tios textarea::placeholder{color:var(--ios-label3)}
html.tios .pw-eye-btn{color:var(--mut)!important;background:none!important;border:0!important}
/* checkbox → sakelar iOS */
html.tios .modal input[type=checkbox]{-webkit-appearance:none;appearance:none;width:44px!important;height:27px!important;flex:0 0 auto;border-radius:99px;background:var(--ios-fill);position:relative;cursor:pointer;transition:background-color .25s;margin:0}
html.tios .modal input[type=checkbox]::after{content:'';position:absolute;top:2px;left:2px;width:23px;height:23px;border-radius:50%;background:#fff;box-shadow:0 2px 6px rgba(0,0,0,.2),0 0 0 .5px rgba(0,0,0,.04);transition:transform .3s var(--spring)}
html.tios .modal input[type=checkbox]:checked{background:var(--green)}
html.tios .modal input[type=checkbox]:checked::after{transform:translateX(17px)}
html.tios .modal input[type=radio]{accent-color:var(--tint)}
html.tios .total{background:none!important;-webkit-text-fill-color:currentColor;color:var(--txt)!important;font-size:28px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
html.tios .msg{border:0!important;border-radius:12px!important;font-size:14px;line-height:1.4}
html.tios .msg.err{background:color-mix(in srgb,var(--red) 12%,transparent)!important;color:var(--red)!important}
html.tios .msg.ok{background:color-mix(in srgb,var(--green) 14%,transparent)!important;color:color-mix(in srgb,var(--green) 80%,var(--txt))!important}
html.tios .cred{background:var(--ios-fill2)!important;border:0!important;border-radius:12px!important}
html.tios .cred code{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:14px}
html.tios .cred .cp{color:var(--tint)!important;background:none!important;border:0!important;font-weight:600}
html.tios .snk-box{background:var(--ios-fill2)!important;border:0!important;border-radius:12px!important}
html.tios .order-card .oc-ic{border-radius:11px!important;background:var(--tint-soft)!important}
html.tios .order-card h4{font-weight:600;letter-spacing:-.02em}
html.tios .order-card .tot{color:var(--txt)!important;font-weight:700!important}
html.tios .order-card .toggle{color:var(--tint)!important}
html.tios .success-box .big{color:var(--green)!important}

/* ---------- 11. sheet (semua modal) ---------- */
html.tios .modal-bg{background:rgba(0,0,0,.36);-webkit-backdrop-filter:none;backdrop-filter:none;z-index:50}
html.tios .modal-bg.show{animation:iosFade .3s ease}
html.tios .modal{--glass:var(--ios-cell);--bg2:var(--ios-sheet);--ios-shadow:none;
  position:relative;background:var(--ios-sheet)!important;border:0!important;border-radius:14px 14px 0 0;padding:26px 16px calc(22px + env(safe-area-inset-bottom));max-height:92vh;
  box-shadow:0 -10px 40px -10px rgba(0,0,0,.28);overscroll-behavior:contain;will-change:transform}
html.tios .modal-bg.show > .modal{animation:iosSheet .5s var(--spring)}
html.tios .modal::before{content:'';position:absolute;top:6px;left:50%;width:36px;height:5px;margin-left:-18px;border-radius:3px;background:var(--ios-label3);z-index:3}
html.tios .modal.ios-dragging{transition:none!important;animation:none!important}
html.tios .modal.ios-snap{transition:transform .45s var(--spring)}
html.tios .modal h2{display:flex;align-items:center;gap:8px;font-size:22px;font-weight:700;letter-spacing:-.03em;margin:4px 0 14px}
html.tios .modal h2 svg,html.tios .modal h2 .tp-g{color:var(--tint)}
html.tios .closeX{float:right;display:grid!important;place-items:center;width:30px;height:30px;margin:-2px -2px 0 8px;border-radius:50%;background:var(--ios-fill)!important;color:var(--mut)!important;font-size:0!important;line-height:0;cursor:pointer;position:relative;transition:transform .3s var(--spring),opacity .2s}
html.tios .closeX::before{content:'';width:12px;height:12px;background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5 5 19'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='3.4' stroke-linecap='round'%3E%3Cpath d='M5 5l14 14M19 5 5 19'/%3E%3C/svg%3E") center/contain no-repeat}
html.tios .closeX > *{display:none}
html.tios .closeX:active{transform:scale(.88);opacity:.6}
html.tios .modal .btn{border-radius:var(--r-btn)}
html.tios .modal .btn:not(.btn-primary){background:var(--ios-cell);color:var(--tint);border:0!important}
html.tios .modal .btn:not(.btn-primary)[style*="transparent"]{background:transparent!important;color:var(--tint)!important}
html.tios .modal .empty{padding:32px 10px}
@media(min-width:720px){
  html.tios .modal-bg{align-items:center;padding:24px}
  html.tios .modal{border-radius:16px;max-width:540px;padding-bottom:24px;box-shadow:0 30px 80px -20px rgba(0,0,0,.4)}
  html.tios .modal::before{display:none}
  html.tios .modal-bg.show > .modal{animation:iosPop .42s var(--spring)}
}
/* pemilih varian → daftar grouped dengan tanda centang */
html.tios #buyModalBody > .li-name:first-child{font-size:22px!important;font-weight:700;letter-spacing:-.03em;margin-bottom:14px!important}
.tp-vhead{display:flex;align-items:center;gap:12px;margin:0 0 16px}
.tp-vhead .pic{width:60px;height:60px;border-radius:14px;overflow:hidden;flex:0 0 auto;display:grid;place-items:center;background:var(--tint-soft);font-size:26px;box-shadow:inset 0 0 0 .5px var(--ios-sep)}
.tp-vhead .pic img{width:100%;height:100%;object-fit:cover}
.tp-vhead b{display:block;font-size:20px;font-weight:700;letter-spacing:-.025em;line-height:1.2}
.tp-vhead span{font-size:13px;color:var(--mut);font-weight:400}
html.tios #buyModalBody .list-item{position:relative;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0!important;padding:14px 16px 14px 50px!important;border:0!important;border-radius:0!important;
  background:var(--ios-cell)!important;box-shadow:none!important;cursor:pointer;transition:background-color .2s}
html.tios #buyModalBody .list-item::after{content:'';position:absolute;left:50px;right:0;bottom:0;height:.5px;background:var(--ios-sep)}
html.tios #buyModalBody .list-item:first-of-type,html.tios #buyModalBody .tp-vhead + .list-item,html.tios #buyModalBody .li-name + .list-item{border-top-left-radius:12px!important;border-top-right-radius:12px!important}
html.tios #buyModalBody .list-item:has(+ :not(.list-item)),html.tios #buyModalBody .list-item:last-child{border-bottom-left-radius:12px!important;border-bottom-right-radius:12px!important;margin-bottom:14px!important}
html.tios #buyModalBody .list-item:has(+ :not(.list-item))::after,html.tios #buyModalBody .list-item:last-child::after{display:none}
html.tios #buyModalBody .list-item::before{content:'';position:absolute;left:16px;top:50%;width:22px;height:22px;margin-top:-11px;border-radius:50%;border:1.5px solid var(--ios-label3);transition:background-color .2s,border-color .2s}
html.tios #buyModalBody .list-item:active{background:var(--ios-fill2)!important;transform:none}
html.tios #buyModalBody .list-item.on::before,html.tios #buyModalBody .list-item.sel::before,html.tios #buyModalBody .list-item.active::before{border-color:var(--tint);background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center/14px no-repeat}
html.tios #buyModalBody .list-item.tp-sold{opacity:.45}
html.tios #buyModalBody .li-name{font-size:16px!important;font-weight:500!important;letter-spacing:-.02em}
html.tios #buyModalBody .li-sub{font-size:13px!important;color:var(--mut)!important}
html.tios #buyModalBody .li-price{flex:0 0 auto;padding:0;background:none!important;color:var(--txt)!important;font-weight:600;font-size:16px;font-variant-numeric:tabular-nums}
@media(hover:hover){html.tios #buyModalBody .list-item:hover{background:var(--ios-fill2)!important;transform:none}}
.tp-cheap{display:inline-block;margin-left:6px;padding:2px 6px;border-radius:5px;font-size:11px;font-weight:600;vertical-align:1px;color:var(--green);background:color-mix(in srgb,var(--green) 15%,transparent)}
/* ringkasan bayar */
html.tios .modal .total:not(.inv-row){display:flex!important;align-items:baseline;justify-content:space-between;gap:10px;margin:18px 0 6px!important;padding:14px 16px!important;border-radius:12px;background:var(--ios-cell)!important;border:0!important;font-size:22px!important}
html.tios .modal .total:not(.inv-row)::before{content:'Total';font-size:16px;font-weight:400;color:var(--txt);letter-spacing:-.02em}
.tp-step{display:flex;align-items:stretch;border:0;border-radius:9px;overflow:hidden;background:var(--ios-fill);width:max-content}
.tp-step button{width:48px;height:34px;flex:0 0 auto;border:0;background:transparent;color:var(--txt);font-size:20px;font-weight:500;cursor:pointer;position:relative}
.tp-step button + input{border-left:.5px solid var(--ios-sep)!important}
.tp-step input + button{border-left:.5px solid var(--ios-sep)}
.tp-step button:active{background:var(--ios-fill)}
.tp-step input{width:64px!important;min-width:0;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;text-align:center;font-weight:600!important;font-size:16px!important;background:transparent!important;-moz-appearance:textfield}
.tp-step input::-webkit-inner-spin-button,.tp-step input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
/* invoice */
html.tios .invoice-doc{border-radius:14px!important;border:0!important;background:var(--ios-cell)!important}
/* pop up promo */
html.tios #sitePopupModal .sp-box{border-radius:22px!important;overflow:hidden;padding:0!important}
html.tios #sitePopupModal .sp-box::before{display:none}
html.tios #sitePopupModal .sp-close{background:rgba(0,0,0,.45)!important;color:#fff!important;border:0!important;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
html.tios #sitePopupModal .sp-body h2{font-size:22px!important;font-weight:700!important}
html.tios #sitePopupModal .sp-cta{background:var(--tint)!important;color:var(--on-tint)!important;border-radius:var(--r-btn)!important;font-weight:600!important}
/* FAQ bantuan */
html.tios .helpfaq-item{border:0!important;border-radius:12px!important;background:var(--ios-cell)!important}
html.tios .helpfaq-item summary{font-weight:500!important}
html.tios .helpfaq-cat{color:var(--mut)!important;font-size:13px!important;font-weight:400!important;text-transform:none!important;letter-spacing:0!important}
html.tios .faq-cta-btn,html.tios #helpWaBtn{border-radius:var(--r-btn)!important}

/* ---------- 12. tab bar bawah (HP) ---------- */
@media(max-width:640px){
  html.tios{--bnav-h:calc(52px + env(safe-area-inset-bottom))!important;--fab-bottom:calc(var(--bnav-h) + 14px)!important}
  html.tios .bottom-nav{left:0;right:0;bottom:0;padding:5px 0 calc(1px + env(safe-area-inset-bottom));border:0;border-radius:0;justify-content:space-around;
    background:var(--ios-bar)!important;-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 -.5px 0 var(--ios-sep);animation:none}
  html.tios .bn-indicator{display:none!important}
  html.tios .bn-item{flex:1;gap:2px;padding:1px 0 3px;color:var(--mut);font:500 10px var(--ios-font);letter-spacing:.01em}
  html.tios .bn-item svg{width:25px;height:25px;stroke-width:1.9;transition:transform .3s var(--spring)}
  html.tios .bn-item.on{color:var(--tint)}
  html.tios .bn-item.on svg{transform:none}
  html.tios .bn-item.on span{transform:none}
  html.tios .bn-item.on svg path[data-fill="1"],html.tios .bn-item.on svg circle[data-fill="1"]{fill:currentColor;fill-opacity:1}
  html.tios .bn-item[data-dest="riwayat"].on svg path:not([data-fill]){stroke:var(--ios-bar-ink,currentColor)}
  html.tios .bn-item:active svg{transform:scale(.86)}
  html.tios .bn-badge{top:0;right:calc(50% - 20px);min-width:17px;height:17px;font-size:11px;font-weight:600;border:0;background:var(--red)}
  html.tios .bn-coach{bottom:calc(var(--bnav-h) + 8px)}
  html.tios .bn-coach-bubble{background:var(--ios-elev)!important;color:var(--txt)!important;font:500 14px var(--ios-font)!important;box-shadow:0 12px 30px -8px rgba(0,0,0,.3),0 0 0 .5px var(--ios-sep)!important;border-radius:14px!important}
  html.tios .bn-coach-bubble button{background:var(--ios-fill)!important;color:var(--mut)!important}
  html.tios .bn-coach-arrow{background:var(--ios-elev)!important}
  html.tios #app header{margin-bottom:4px}
}
/* ikon aktif diisi penuh: garis dalam ikon perlu warna latar bar supaya tetap kelihatan */
html.tios{--ios-bar-ink:#F9F9FB}
html.tios:not([data-theme="light"]){--ios-bar-ink:#161618}

/* ---------- 13. notifikasi melayang (toast) → kapsul ala Dynamic Island di atas ---------- */
html.tios #toast{top:calc(10px + env(safe-area-inset-top))!important;bottom:auto!important;max-width:min(92vw,420px);width:max-content;padding:12px 18px;border:0!important;border-radius:99px;
  background:rgba(28,28,30,.94)!important;color:#fff!important;font:500 15px/1.3 var(--ios-font);letter-spacing:-.015em;text-align:center;
  -webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);box-shadow:0 12px 36px -8px rgba(0,0,0,.45)!important;
  transform:translateX(-50%) translateY(-24px) scale(.6)!important;opacity:0;transition:transform .5s var(--spring),opacity .25s!important;z-index:300}
html.tios #toast.show{transform:translateX(-50%) translateY(0) scale(1)!important;opacity:1}

/* ---------- 14. tombol ke atas & bar posisi ---------- */
html.tios .tp-progress{display:none!important}
.tp-top{position:fixed;right:16px;bottom:calc(var(--fab-bottom,22px) + 64px);z-index:41;width:40px;height:40px;border-radius:50%;border:0;background:var(--ios-bar);-webkit-backdrop-filter:blur(20px);backdrop-filter:blur(20px);
  color:var(--tint);display:grid;place-items:center;cursor:pointer;box-shadow:0 6px 20px -6px rgba(0,0,0,.25),0 0 0 .5px var(--ios-sep);opacity:0;transform:scale(.6);pointer-events:none;transition:opacity .3s,transform .45s var(--spring)}
.tp-top.on{opacity:1;transform:none;pointer-events:auto}
.tp-top:active{transform:scale(.88)}
.tp-top svg{width:18px;height:18px}

/* ---------- 15. muncul halus saat di-scroll (sekali, tidak berlebihan) ---------- */
html.tios .tp-reveal{opacity:0;transform:translateY(14px);transition:opacity .6s var(--spring),transform .6s var(--spring)}
html.tios .tp-reveal.tp-in{opacity:1;transform:none}
html.tios #browseView.tp-view-in > *{animation:iosRise .42s var(--spring) both}
@media(prefers-reduced-motion:no-preference){
  html.tios .tp-hero{animation:iosRise .6s var(--spring) both}
}

/* ---------- 16. desktop ---------- */
@media(min-width:1024px){
  html.tios #app .wrap{transition:max-width .5s var(--spring)}
  html.tios #app .wrap:has(#prodGridInner){max-width:1100px}
  html.tios #app:not(.density-compact):not(.density-comfortable) .wrap:has(#prodGridInner) #prodGridInner{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:16px}
  html.tios .tp-hero{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr);margin-top:14px}
  html.tios .tp-hero-logo{width:132px;height:132px;border-radius:29px}
  html.tios .tp-hero-logo > div{border-radius:29px}
  html.tios .tp-hero-id h2{font-size:30px}
  html.tios .tp-hero-stats{grid-column:3;grid-row:1 / span 2;margin:0;border-top:0;padding:8px 0 0;align-self:center}
  html.tios .tp-hero p{grid-column:2 / -1}
  html.tios #catTabs{top:calc(52px + env(safe-area-inset-top))}
  @media(hover:hover){html.tios .pcard:hover{transform:translateY(-2px);box-shadow:0 2px 4px rgba(0,0,0,.04),0 16px 34px -18px rgba(0,0,0,.22)!important}}
}

/* ---------- 17. warna ikon pengganti emoji ---------- */
.tp-g{display:inline-flex;vertical-align:-.16em;line-height:1}
.tp-g.l{margin-right:.32em}
.tp-g svg{width:1.1em;height:1.1em}
html.tios .c-g{color:var(--green)}html.tios .c-r{color:var(--red)}html.tios .c-o{color:var(--amber)}html.tios .c-y{color:#FFCC00}
html.tios .c-p{color:#AF52DE}html.tios .c-b{color:#007AFF}html.tios .c-m{color:var(--mut)}
html.tios[data-theme="light"] .c-y{color:#B38600}
html.tios:not([data-theme="light"]) .c-p{color:#BF5AF2}html.tios:not([data-theme="light"]) .c-b{color:#0A84FF}

/* ---------- 18. animasi ---------- */
@keyframes iosSheet{from{transform:translateY(100%)}to{transform:none}}
@keyframes iosFade{from{opacity:0}to{opacity:1}}
@keyframes iosPop{from{opacity:0;transform:scale(.92)}to{opacity:1;transform:none}}
@keyframes iosRise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@keyframes iosHeart{0%{transform:scale(1)}35%{transform:scale(1.3)}65%{transform:scale(.92)}100%{transform:scale(1)}}
@keyframes tpBurst{from{transform:translate(0,0) scale(1);opacity:1}to{transform:translate(var(--bx),var(--by)) scale(.3);opacity:0}}
@media(prefers-reduced-motion:reduce){
  html.tios .pcard,html.tios .pcard.tp-pre,html.tios .tp-reveal{opacity:1!important;transform:none!important;transition:none!important}
  html.tios .modal-bg.show,html.tios .modal-bg.show > .modal,html.tios .tp-hero,html.tios #browseView.tp-view-in > *{animation:none!important}
  html.tios #toast{transition:opacity .2s!important}
}
html.tios .tp-hero.compact .tp-hero-top,html.tios .tp-hero.compact > p{display:none!important}
html.tios .tp-hero-logo{position:relative;flex:0 0 auto}
html.tios .tp-hero-logo > div{width:100%;height:100%;overflow:hidden;display:grid;place-items:center}
html.tios .tp-hero-logo img{width:100%;height:100%;object-fit:cover;display:block}
html.tios .tp-hero-id h2{display:flex;align-items:center;gap:6px;margin:0}
html.tios .tp-hero-live{display:inline-flex;align-items:center;gap:6px}
html.tios .tp-hero-live i{display:inline-block;border-radius:50%}
html.tios .tp-hero-stats b{display:flex;align-items:center;gap:4px;line-height:1.1;font-variant-numeric:tabular-nums}
html.tios .tp-hero-stats span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.tios .tp-hero-cta button{display:inline-flex;align-items:center;justify-content:center;cursor:pointer}
.tp-trust{position:relative}
.tp-trust-track{display:flex;width:max-content}
.tp-trust span{display:inline-flex;align-items:center;gap:7px;white-space:nowrap}
.tp-trust span svg{width:15px;height:15px}

/* ---------- 19. perbaikan hasil uji (2026-09-24) ---------- */
/* tombol "Top up saldo" di kepala toko → tombol bulat ikon dompet (tidak kepotong di HP kecil) */
html.tios .tp-hero-cta{min-width:0;flex-wrap:nowrap}
html.tios .tp-hero-cta .a{flex:0 1 auto;min-width:0;white-space:nowrap}
html.tios .tp-hero:not(.compact) .tp-hero-cta .b{flex:0 0 auto;width:34px;height:34px;padding:0;border-radius:50%;font-size:0!important;gap:0}
html.tios .tp-hero:not(.compact) .tp-hero-cta .b svg{display:block;width:17px;height:17px}
/* nama produk tidak ketimpa ikon hati */
html.tios .pcard .ptop{padding-right:30px}
html.tios .pcard.pcard-large .pic,html.tios .pcard.pcard-grid .pic{margin-right:0}
/* kolom pencarian & isian khusus: jangan ikut gaya kotak putih isian biasa */
html.tios .searchbar input:not([type=checkbox]):not([type=radio]):not([type=range]),
html.tios .tg-search input:not([type=checkbox]):not([type=radio]):not([type=range]),
html.tios .nk-select input:not([type=checkbox]):not([type=radio]):not([type=range]),
html.tios .nk-select select,
html.tios .tp-step input:not([type=checkbox]):not([type=radio]):not([type=range]){background:transparent!important;box-shadow:none!important;padding-left:0;padding-top:0;padding-bottom:0}
html.tios .nk-select select{background-image:none!important;padding-right:0!important}
html.tios .tp-step input:not([type=checkbox]):not([type=radio]):not([type=range]){padding:0!important;text-align:center}
html.tios .pw-field-wrap input:not([type=checkbox]){padding-right:44px!important}
/* deskripsi produk maksimal 2 baris walau isinya punya baris baru */
html.tios .pcard .pdesc{max-height:2.76em;white-space:normal}
html.tios .pcard .pdesc br{display:none}
/* tombol bantuan melayang */
html.tios #helpFab{box-shadow:0 8px 24px -8px rgba(0,0,0,.35)!important;border:0!important}
html.tios .pcard h3{overflow-wrap:anywhere}

/* =====================================================================================
   20. CHECKOUT ALA APPLE PAY [2026-09-24 tahap 2]
   ===================================================================================== */
/* pemilih varian: baris navigasi dengan panah ›, bukan tombol radio */
html.tios #buyModalBody .list-item{padding:14px 34px 14px 16px!important}
html.tios #buyModalBody .list-item::before{left:auto;right:14px;width:8px;height:14px;margin-top:-7px;border:0!important;border-radius:0;background:var(--ios-label3)!important;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 14'%3E%3Cpath d='M1 1l6 6-6 6' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
html.tios #buyModalBody .list-item::after{left:16px}
html.tios #buyModalBody .list-item + .list-item::after,html.tios #buyModalBody .list-item::after{display:block}
html.tios #buyModalBody .list-item:last-child::after,html.tios #buyModalBody .list-item:has(+ :not(.list-item))::after{display:none}
html.tios #buyModalBody .tp-vhead + .list-item{border-top-left-radius:12px!important;border-top-right-radius:12px!important}

/* kepala checkout: ikon + nama produk + varian */
.ios-ckhead{display:flex;align-items:center;gap:14px;margin:2px 36px 18px 0}
.ios-ckhead .pic{width:64px;height:64px;flex:0 0 auto;border-radius:15px;overflow:hidden;display:grid;place-items:center;background:var(--tint-soft);color:var(--tint);box-shadow:inset 0 0 0 .5px var(--ios-sep)}
.ios-ckhead .pic img{width:100%;height:100%;object-fit:cover}
.ios-ckhead .t{min-width:0}
.ios-ckhead b{display:block;font-size:20px;font-weight:700;letter-spacing:-.025em;line-height:1.2;overflow-wrap:anywhere}
.ios-ckhead span{display:block;margin-top:2px;font-size:15px;color:var(--mut);letter-spacing:-.015em}

/* deskripsi & S&K sebagai sel */
html.tios #buyModalBody .ios-desc{margin:0 0 4px!important;padding:12px 14px;border-radius:12px;background:var(--ios-cell);color:var(--txt)!important;font-size:14px!important;line-height:1.45!important;overflow:hidden;position:relative}
html.tios #buyModalBody .ios-desc.ios-clamp{max-height:98px}
html.tios #buyModalBody .ios-desc.ios-clamp::after{content:'';position:absolute;left:0;right:0;bottom:0;height:34px;background:linear-gradient(transparent,var(--ios-cell))}
html.tios .ios-more{display:block;margin:2px 0 10px auto;padding:4px 4px;border:0;background:none;color:var(--tint);font:400 15px var(--ios-font);cursor:pointer}
html.tios #buyModalBody .ios-snk{margin:10px 0 4px!important;padding:12px 14px!important;border-radius:12px!important;background:var(--ios-cell)!important;color:var(--mut)!important;font-size:13px!important;line-height:1.45!important}
html.tios #buyModalBody .ios-snk b{font-weight:600}

/* baris Jumlah */
html.tios .ios-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:14px;padding:8px 8px 8px 16px;border-radius:12px;background:var(--ios-cell)}
html.tios .ios-row label{margin:0!important;font-size:16px!important;color:var(--txt)!important;letter-spacing:-.02em}
html.tios .ios-row .tp-step{flex:0 0 auto}

/* kode promo: satu kolom, tombol "Pakai" di dalam */
html.tios .ios-coupon{position:relative;display:flex!important;align-items:center;gap:0!important;border-radius:12px;background:var(--ios-cell);overflow:hidden}
html.tios .ios-coupon input{flex:1;background:transparent!important;border-radius:0!important;text-transform:uppercase}
html.tios .ios-coupon input::placeholder{text-transform:none}
html.tios .ios-coupon .btn{flex:0 0 auto;min-height:0!important;margin:0!important;padding:8px 16px!important;background:transparent!important;border:0!important;color:var(--tint)!important;font-size:16px!important;font-weight:600!important}
html.tios #ckCouponMsg,html.tios #opCkCouponMsg,html.tios [id$="CouponMsg"]{margin:6px 4px 0!important;font-size:13px!important}

/* total & saldo */
html.tios #buyModalBody .total:has(+ .ios-saldo){margin-bottom:0!important;border-bottom-left-radius:0;border-bottom-right-radius:0}
html.tios .ios-saldo{margin:0 0 4px;padding:0 16px 12px;border-radius:0 0 12px 12px;background:var(--ios-cell);color:var(--mut);font-size:14px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 10px}
html.tios .ios-saldo::before{content:'';flex:1 0 100%;height:.5px;background:var(--ios-sep);margin:0 0 10px}
html.tios .ios-saldo b{color:var(--txt);font-weight:500;font-variant-numeric:tabular-nums}
html.tios .ios-saldo em{flex:1 0 100%;font-style:normal;color:var(--amber);font-size:13px}
html.tios #buyModalBody .btn-primary{margin-top:16px}
html.tios #buyModalBody .btn:not(.btn-primary){margin-top:10px}

/* =====================================================================================
   21. MENUNGGU PEMBAYARAN (QRIS)
   ===================================================================================== */
html.tios #payWaitModal .modal{padding-top:30px}
html.tios #payWaitModal h2{justify-content:center;font-size:20px;margin:6px 0 6px!important}
html.tios #payWaitModal .pw-skin-badge{width:44px;height:44px;margin-bottom:6px}
html.tios #pwtkHint{max-width:32ch;margin:0 auto 18px!important;font-size:14px!important;line-height:1.4;color:var(--mut)!important}
html.tios #pwtkQr{width:236px!important;height:236px!important;padding:14px!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 34px -14px rgba(0,0,0,.35),0 0 0 .5px rgba(0,0,0,.06)!important;margin-bottom:18px!important}
html.tios #pwtkStatus{display:inline-flex;align-items:center;gap:9px;margin:0 0 20px!important;padding:8px 14px;border-radius:99px;background:var(--ios-cell);color:var(--txt)!important;font-size:14px!important}
html.tios #pwtkStatus::before{content:'';width:15px;height:15px;flex:0 0 auto;border-radius:50%;
  background:conic-gradient(from 0deg,transparent 0 12%,var(--mut) 12% 100%);-webkit-mask:radial-gradient(circle,transparent 5px,#000 5.5px);mask:radial-gradient(circle,transparent 5px,#000 5.5px);animation:iosSpin .9s steps(12) infinite}
html.tios #pwtkReopenLink,html.tios #pwtkSaveQrBtn{display:flex;align-items:center;justify-content:center;gap:7px;min-height:50px;margin:0 0 10px!important;border:0!important;border-radius:var(--r-btn)!important;background:var(--ios-cell)!important;color:var(--tint)!important;font:600 17px var(--ios-font)!important;letter-spacing:-.02em;text-decoration:none!important}
html.tios #pwtkSaveQrBtn svg{width:17px!important;height:17px!important}
html.tios #payWaitModal .btn-secondary:not(#pwtkReopenLink){background:transparent!important;color:var(--red)!important;border:0!important;font-weight:400!important;min-height:44px;margin-top:2px}

/* =====================================================================================
   22. PESANAN BERHASIL
   ===================================================================================== */
html.tios #resultModal .modal{padding-top:34px}
html.tios .success-box{text-align:center}
html.tios .success-box .big{font-size:52px;line-height:1;margin:0 auto 14px}
html.tios .success-box.ios-ok .big{width:84px;height:84px}
html.tios .success-box.ios-ok .big svg{width:84px;height:84px;display:block}
html.tios .success-box.ios-ok .big circle{fill:var(--green);stroke:none;transform-origin:center;animation:iosPopIn .5s var(--spring) both}
html.tios .success-box.ios-ok .big path{fill:none;stroke:#fff;stroke-width:4.4;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:40;stroke-dashoffset:40;animation:iosDraw .45s ease-out .28s forwards}
html.tios #resultTitle{justify-content:center;font-size:24px!important;margin:0 0 4px!important}
html.tios #resultBody{margin-top:10px!important;padding:14px 16px;border-radius:12px;background:var(--ios-cell);color:var(--txt)!important;font-size:15px!important;line-height:1.5;text-align:left;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}
html.tios #resultBody:empty{display:none}
html.tios #resultBody > div{margin-top:12px!important;margin-left:-16px;margin-right:-16px;margin-bottom:-14px;padding:12px 16px 14px!important;border-radius:0 0 12px 12px!important;background:var(--ios-fill2)!important;color:var(--mut)!important;font-size:13px!important}
html.tios .ios-copy{margin-top:12px!important;background:var(--tint)!important;color:var(--on-tint)!important}
@keyframes iosPopIn{from{transform:scale(.3);opacity:0}to{transform:none;opacity:1}}
@keyframes iosDraw{to{stroke-dashoffset:0}}
@keyframes iosSpin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
  html.tios .success-box.ios-ok .big circle,html.tios .success-box.ios-ok .big path{animation:none!important;stroke-dashoffset:0}
  html.tios #pwtkStatus::before{animation:none}
}

/* =====================================================================================
   23. RIWAYAT & TAS: kartu pesanan
   ===================================================================================== */
html.tios .order-card{padding:14px!important;margin-bottom:10px!important}
html.tios .order-card .oc-top{display:flex;align-items:center;gap:12px}
html.tios .order-card .oc-ic{width:48px!important;height:48px!important;flex:0 0 auto;border-radius:12px!important;overflow:hidden;display:grid;place-items:center;font-size:22px;border:0!important;box-shadow:inset 0 0 0 .5px var(--ios-sep)}
html.tios .order-card h4{font-size:16px!important;line-height:1.25}
html.tios .order-card .meta{font-size:13px!important;color:var(--mut)!important;margin-top:2px}
html.tios .order-card .tot{margin-left:auto;font-size:16px!important;font-variant-numeric:tabular-nums}
html.tios .order-card .toggle{margin-top:12px;padding:9px 12px;border:0!important;border-radius:10px!important;background:var(--ios-fill2)!important;color:var(--tint)!important;font:600 14px var(--ios-font)!important}
html.tios .order-card .detail{border-top:0!important}
html.tios .order-card .detail.on{margin-top:12px}
html.tios .order-card .pbdg{border:0!important;border-radius:5px!important}
html.tios .order-card .btn-sm,html.tios .order-card .btn{min-height:40px!important;padding:9px 14px!important;font-size:15px!important;border:0!important;background:var(--ios-fill2)!important;color:var(--tint)!important;border-radius:10px!important}
/* keterangan status berwarna */
html.tios .order-card [style*="#a5f3c9"]{color:var(--green)!important}

/* =====================================================================================
   24. DETAIL KECIL: tip wishlist, tombol bantuan, panel bantuan
   ===================================================================================== */
html.tios #wishlistHint{background:var(--ios-cell)!important;border:0!important;border-radius:14px!important;box-shadow:var(--ios-shadow);padding:12px 12px 12px 14px!important;font-size:14px!important;color:var(--txt)}
html.tios #wishlistHint > span:first-child{display:grid;place-items:center;width:30px;height:30px;flex:0 0 auto;border-radius:8px;background:color-mix(in srgb,var(--red) 14%,transparent);color:var(--red)}
html.tios #helpFab{background:var(--tint)!important;color:var(--on-tint)!important;width:50px!important;height:50px!important}
html.tios #helpFab svg{color:var(--on-tint);stroke:currentColor}
html.tios #helpBoxWrap{background:var(--ios-sheet)!important;border:0!important;border-radius:18px!important;box-shadow:0 24px 60px -12px rgba(0,0,0,.4),0 0 0 .5px var(--ios-sep)!important;--glass:var(--ios-cell)}
html.tios #helpSearchInp{background:var(--ios-fill)!important;border:0!important;border-radius:10px!important;font-size:16px!important}

/* =====================================================================================
   TAHAP 3 [2026-09-24]
   ===================================================================================== */
/* ---------- 25. halaman layanan: Top Up Game, Pulsa, SMM, Nokos ---------- */
html.tios .svc-head{margin:6px 0 14px}
html.tios .svc-head h1{padding-left:0!important;margin:0 0 6px!important;line-height:1.1}
html.tios .svc-head h1 span{background:none!important;-webkit-text-fill-color:currentColor!important;color:var(--mut)!important;font-weight:600}
html.tios .svc-head p{line-height:1.45!important}
html.tios .svc-head p b{color:var(--txt)!important;font-weight:600}
html.tios .tg-search{display:flex;align-items:center;gap:6px;height:38px;padding:0 10px!important;margin:0 0 18px!important}
html.tios .tg-search .ico{display:flex;color:var(--mut)!important}
html.tios .tg-search .ico svg{width:17px;height:17px}
html.tios .tg-search input{flex:1;height:100%;font-size:17px!important}
html.tios .tg-section h2{display:flex;align-items:center;margin:0 0 12px!important}
html.tios .tg-bar{display:none!important}
html.tios .tg-grid{gap:12px!important}
html.tios .tg-card .ov{padding:12px!important}
html.tios .tg-card .ov b{font-size:15px!important;font-weight:700;letter-spacing:-.02em;color:#fff!important}
html.tios .tg-card .ov small{color:rgba(255,255,255,.75)!important;font-size:12px!important;text-transform:none!important;letter-spacing:0!important;font-weight:500!important}
html.tios .tg-card .ph{background:var(--tint-soft)!important;color:var(--tint)}
html.tios .backbar{display:inline-flex;align-items:center;gap:2px;margin:4px 0 10px;cursor:pointer}
/* kepala halaman game/provider ala App Store */
html.tios .tg-detail-head{display:flex!important;align-items:center;gap:16px!important;margin:6px 0 20px!important;padding:0!important;background:none!important;border:0!important}
html.tios .tg-detail-poster{width:96px!important;height:96px!important;flex:0 0 auto;border-radius:22px!important;overflow:hidden;box-shadow:0 0 0 .5px var(--ios-sep),0 10px 24px -14px rgba(0,0,0,.4);display:grid;place-items:center;background:var(--tint-soft);font-size:40px}
html.tios .tg-detail-poster img{width:100%;height:100%;object-fit:cover}
html.tios .tg-detail-head h1{font-size:24px!important;font-weight:700!important;letter-spacing:-.03em;line-height:1.15}
html.tios .tg-detail-head h1 + div{font-size:15px!important;margin-top:3px}
html.tios #browseView > h3{font-size:22px!important;font-weight:700;letter-spacing:-.03em;margin:0 0 12px!important}
html.tios .tg-items{gap:10px!important}
html.tios .tg-item{display:flex!important;flex-direction:column;align-items:flex-start;gap:4px;padding:13px 14px!important;text-align:left}
html.tios .tg-item b{font-size:15px!important;font-weight:600!important;letter-spacing:-.02em;color:var(--txt)!important}
html.tios .tg-item .p{font-size:14px!important;font-weight:600!important}
/* Nokos */
html.tios .nk-panel{padding:0!important;overflow:hidden}
html.tios .nk-row{gap:0!important;flex-direction:column}
html.tios .nk-select{background:transparent!important;border-radius:0!important;padding:10px 14px!important;border-bottom:.5px solid var(--ios-sep)!important}
html.tios .nk-select:last-child{border-bottom:0!important}
html.tios .nk-select .nk-ic{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:var(--tint-soft);color:var(--tint);font-size:15px}
html.tios .nk-select .nk-lbl{font-size:12px!important;color:var(--mut)!important;letter-spacing:0!important;text-transform:none!important;font-weight:500!important}
html.tios .nk-cats{gap:6px!important;margin:14px 0!important}
html.tios .nk-card{padding:14px!important;gap:6px!important}
html.tios .nk-card .nk-avatar{width:44px!important;height:44px!important;border-radius:11px!important;font-weight:700}
html.tios .nk-card h4{font-size:15px!important;font-weight:600!important}
html.tios .nk-card .nk-stock{font-size:12.5px!important;color:var(--mut)}
html.tios .nk-card .nk-price{font-size:16px!important;font-weight:700!important;color:var(--txt)!important;background:none!important;-webkit-text-fill-color:currentColor}
html.tios .nk-card .nk-hot{border:0!important;border-radius:6px!important;font-size:11px!important;font-weight:700!important;letter-spacing:0!important;background:color-mix(in srgb,var(--amber) 18%,transparent)!important;color:var(--amber)!important}
/* tombol Beli/Pesan di Nokos & SMM = kapsul DAPATKAN, sama seperti kartu produk */
html.tios .nk-card .btn-primary,html.tios .svc .btn-primary,html.tios .svc .btn{min-height:0;padding:7px 16px!important;border-radius:99px!important;background:var(--ios-fill)!important;color:var(--tint)!important;font-size:15px!important;font-weight:700!important;width:auto}
html.tios .nk-card .btn-primary{width:100%}
html.tios .nk-card .btn[disabled],html.tios .svc .btn[disabled]{color:var(--ios-label3)!important}
/* SMM */
html.tios .svc{gap:12px!important}
html.tios .svc .plat,html.tios .svc .ico{width:44px!important;height:44px!important;border-radius:11px!important;background:var(--tint-soft)!important;color:var(--tint)!important;border:0!important}
html.tios .svc b{font-size:15px!important;font-weight:600!important;letter-spacing:-.02em}
html.tios .svc .sm{color:var(--mut)!important;font-size:12.5px!important}
html.tios .smm-scroll-hint{color:var(--mut)!important;font-size:12.5px!important}
html.tios .smm-toolbar{gap:8px!important}
html.tios .smm-statbar{background:transparent!important;box-shadow:none!important;padding:0 4px!important;color:var(--mut)!important;font-size:12.5px!important}

/* ---------- 26. Refund & Garansi: formulir grouped ala Pengaturan ---------- */
html.tios #refundModal h2 svg,html.tios #refundModal h2 .tp-g{color:var(--green)}
html.tios #rfPaneRefund > div[style*="border-radius:12px"]{background:var(--ios-cell)!important;border:0!important}
html.tios #rfCalcBox{background:var(--ios-cell)!important;border:0!important}
html.tios #rfCalcBox > div:first-child{font-variant-numeric:tabular-nums}
html.tios #rfFormula{border-top:.5px solid var(--ios-sep)!important}
html.tios #refundModal input[type=date]{min-height:48px}

/* ---------- 27. halaman detail produk ---------- */
html.tios #iosPdModal .modal,html.tios #iosProfileModal .modal,html.tios #iosWishModal .modal{padding-top:30px}
.ios-pd-head{display:flex;gap:16px;align-items:flex-start;margin:0 36px 18px 0}
.ios-pd-icon{width:104px;height:104px;flex:0 0 auto;border-radius:24px;overflow:hidden;display:grid;place-items:center;background:var(--tint-soft);color:var(--tint);font-size:44px;box-shadow:0 0 0 .5px var(--ios-sep),0 12px 26px -16px rgba(0,0,0,.45)}
.ios-pd-icon img{width:100%;height:100%;object-fit:cover}
.ios-pd-id{min-width:0;padding-top:4px}
html.tios .ios-pd-id h2{display:block;margin:0!important;font-size:22px!important;line-height:1.15;overflow-wrap:anywhere}
.ios-pd-id > span{display:block;margin-top:3px;color:var(--mut);font-size:15px}
.ios-pd-cta{display:flex;align-items:center;gap:10px;margin-top:14px}
.ios-get{padding:7px 22px;border:0;border-radius:99px;background:var(--tint);color:var(--on-tint);font:700 15px var(--ios-font);cursor:pointer;transition:transform .3s var(--spring),opacity .2s}
.ios-get:disabled{background:var(--ios-fill);color:var(--ios-label3)}
.ios-get:active{transform:scale(.94);opacity:.75}
.ios-wish{width:34px;height:34px;border:0;border-radius:50%;display:grid;place-items:center;background:var(--ios-fill);color:var(--tint);cursor:pointer}
.ios-wish.on{color:var(--red);background:color-mix(in srgb,var(--red) 14%,transparent)}
.ios-wish.on svg{fill:currentColor}
.ios-pd-info{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding:12px 0;border-top:.5px solid var(--ios-sep);border-bottom:.5px solid var(--ios-sep);margin-bottom:6px}
.ios-pd-info > div{text-align:center;padding:0 6px;border-left:.5px solid var(--ios-sep);min-width:0}
.ios-pd-info > div:first-child{border-left:0}
.ios-pd-info b{display:block;font-size:16px;font-weight:700;letter-spacing:-.02em;color:var(--txt);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-variant-numeric:tabular-nums}
.ios-pd-info span{display:block;margin-top:2px;font-size:12px;color:var(--mut)}
.ios-sec{margin:20px 4px 8px;font-size:20px;font-weight:700;letter-spacing:-.025em}
.ios-pd-desc{padding:14px 16px;border-radius:12px;background:var(--ios-cell);font-size:15px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.ios-shelf{display:flex;gap:12px;overflow-x:auto;margin:0 -16px;padding:0 16px 4px;scroll-snap-type:x proximity}
.ios-shelf-it{flex:0 0 96px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:flex-start;gap:3px;padding:0;border:0;background:none;color:var(--txt);text-align:left;cursor:pointer;font-family:var(--ios-font)}
.ios-shelf-it .ic{width:96px;height:96px;border-radius:22px;overflow:hidden;display:grid;place-items:center;background:var(--ios-cell);font-size:36px;box-shadow:0 0 0 .5px var(--ios-sep);margin-bottom:4px}
.ios-shelf-it .ic img{width:100%;height:100%;object-fit:cover}
.ios-shelf-it b{width:100%;font-size:13px;font-weight:500;line-height:1.25;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.ios-shelf-it small{font-size:12px;color:var(--mut)}
/* baris grouped umum (dipakai detail produk, profil, wishlist) */
.ios-group{border-radius:12px;overflow:hidden;background:var(--ios-cell);margin-bottom:18px}
.ios-cellrow{position:relative;display:flex;align-items:center;gap:12px;width:100%;min-height:48px;padding:10px 14px 10px 16px;border:0;background:transparent;color:var(--txt);font:400 16px var(--ios-font);letter-spacing:-.02em;text-align:left;cursor:pointer}
.ios-cellrow + .ios-cellrow::before{content:'';position:absolute;top:0;right:0;left:16px;height:.5px;background:var(--ios-sep)}
.ios-cellrow:has(.tile) + .ios-cellrow::before,.ios-cellrow.prod + .ios-cellrow::before{left:58px}
.ios-cellrow:active{background:var(--ios-fill2)}
.ios-cellrow .l{flex:1;min-width:0}
.ios-cellrow .l small{display:block;font-size:13px;color:var(--mut);margin-top:1px}
.ios-cellrow .r{color:var(--mut);font-variant-numeric:tabular-nums}
.ios-cellrow > svg:last-child{flex:0 0 auto;color:var(--ios-label3)}
.ios-cellrow.off{opacity:.45;cursor:default}
.ios-cellrow.danger{justify-content:center;color:var(--red)}
.ios-cellrow.danger .l{flex:0 0 auto}
.ios-cellrow .tile{width:30px;height:30px;flex:0 0 auto;border-radius:8px;display:grid;place-items:center;color:#fff}
.ios-cellrow .ic{width:42px;height:42px;flex:0 0 auto;border-radius:10px;overflow:hidden;display:grid;place-items:center;background:var(--tint-soft);font-size:20px}
.ios-cellrow .ic img{width:100%;height:100%;object-fit:cover}
/* kartu produk: seluruh kartu bisa diketuk untuk lihat detail */
html.tios #browseView .pcard{cursor:pointer}

/* ---------- 28. pencarian: terakhir dicari & populer ---------- */
.ios-sugg{display:none;margin:-4px 0 14px;padding:4px 0 6px;border-radius:14px;background:var(--ios-cell);box-shadow:var(--ios-shadow),0 0 0 .5px var(--ios-sep)}
.ios-sugg.on{display:block;animation:iosRise .3s var(--spring)}
.ios-sugg .h{display:flex;align-items:center;justify-content:space-between;padding:10px 16px 6px}
.ios-sugg .h b{font-size:15px;font-weight:600;letter-spacing:-.02em}
.ios-sugg .h button{border:0;background:none;color:var(--tint);font:400 15px var(--ios-font);cursor:pointer}
.ios-sugg .chips{display:flex;flex-wrap:wrap;gap:8px;padding:2px 16px 8px}
.ios-sugg .chips button{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;border:0;border-radius:99px;background:var(--ios-fill);color:var(--txt);font:400 14px var(--ios-font);cursor:pointer}
.ios-sugg .chips svg{color:var(--mut)}
.ios-sugg .row{display:flex;align-items:center;gap:12px;width:100%;padding:8px 16px;border:0;background:none;color:var(--txt);font:400 16px var(--ios-font);text-align:left;cursor:pointer}
.ios-sugg .row:active{background:var(--ios-fill2)}
.ios-sugg .row .ic{width:36px;height:36px;border-radius:9px;overflow:hidden;flex:0 0 auto;display:grid;place-items:center;background:var(--tint-soft);font-size:18px}
.ios-sugg .row .ic img{width:100%;height:100%;object-fit:cover}
.ios-sugg .row .n{flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ios-sugg .row .p{color:var(--mut);font-size:14px;font-variant-numeric:tabular-nums}

/* ---------- 29. profil & dompet ---------- */
.ios-prof-head{text-align:center;margin:4px 0 18px}
.ios-prof-head .av{width:84px;height:84px;margin:0 auto 10px;border-radius:50%;display:grid;place-items:center;background:var(--tint);color:var(--on-tint);font-size:36px;font-weight:600}
html.tios .ios-prof-head h2{justify-content:center;margin:0!important;font-size:24px!important}
.ios-prof-head span{display:block;margin-top:2px;color:var(--mut);font-size:15px}
.ios-wallet{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px;padding:16px;border-radius:16px;color:#fff;
  background:linear-gradient(135deg,var(--tint),color-mix(in srgb,var(--tint) 62%,#000));box-shadow:0 14px 30px -18px color-mix(in srgb,var(--tint) 80%,transparent)}
.ios-wallet small{display:block;font-size:13px;opacity:.85}
.ios-wallet b{display:block;margin-top:2px;font-size:28px;font-weight:700;letter-spacing:-.03em;font-variant-numeric:tabular-nums}
.ios-wallet button{flex:0 0 auto;padding:8px 18px;border:0;border-radius:99px;background:rgba(255,255,255,.22);color:#fff;font:600 15px var(--ios-font);cursor:pointer;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.ios-wallet button:active{opacity:.7}
html.tios #iosWishModal h2{margin-top:0!important}

/* ---------- 30. sheet Masuk / Daftar ---------- */
html.tios .ios-auth > h2{display:none!important}
.ios-authhead{text-align:center;margin:6px 0 10px}
.ios-authhead .lg{width:72px;height:72px;margin:0 auto 12px;border-radius:17px;overflow:hidden;display:grid;place-items:center;background:var(--tint);color:var(--on-tint);font-size:30px;font-weight:700;box-shadow:0 0 0 .5px var(--ios-sep),0 10px 24px -14px rgba(0,0,0,.4)}
.ios-authhead .lg img{width:100%;height:100%;object-fit:cover}
html.tios .ios-authhead h2{justify-content:center;margin:0 0 6px!important;font-size:24px!important}
.ios-authhead p{max-width:30ch;margin:0 auto;color:var(--mut);font-size:15px;line-height:1.4}

/* ---------- 31. tampilan kosong & memuat ---------- */
html.tios .ios-empty{display:flex;flex-direction:column;align-items:center;gap:10px;padding:36px 20px!important;font-size:15px!important;line-height:1.4;color:var(--mut)!important;text-align:center}
html.tios .ios-empty::before{content:'';width:46px;height:46px;background:var(--ios-label3);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 13.5 6 5h12l2.5 8.5V19a1 1 0 0 1-1 1h-15a1 1 0 0 1-1-1z'/%3E%3Cpath d='M3.5 13.5h5l1 2h5l1-2h5'/%3E%3C/svg%3E") center/contain no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 13.5 6 5h12l2.5 8.5V19a1 1 0 0 1-1 1h-15a1 1 0 0 1-1-1z'/%3E%3Cpath d='M3.5 13.5h5l1 2h5l1-2h5'/%3E%3C/svg%3E") center/contain no-repeat}
html.tios .ios-empty-cta{margin-top:6px;padding:8px 20px;border:0;border-radius:99px;background:var(--tint);color:var(--on-tint);font:600 15px var(--ios-font);cursor:pointer}
html.tios .ios-loading{display:flex;align-items:center;justify-content:center;gap:10px;color:var(--mut)!important;font-size:15px!important}
html.tios .ios-loading::before{content:'';width:18px;height:18px;flex:0 0 auto;border-radius:50%;
  background:conic-gradient(from 0deg,transparent 0 12%,var(--mut) 12% 100%);-webkit-mask:radial-gradient(circle,transparent 6px,#000 6.5px);mask:radial-gradient(circle,transparent 6px,#000 6.5px);animation:iosSpin .9s steps(12) infinite}

/* ---------- 32. invoice = struk ala Apple ---------- */
html.tios .invoice-doc{background:#fff!important;color:#000!important;padding:22px 20px!important;box-shadow:0 0 0 .5px rgba(0,0,0,.08)}
html.tios .invoice-doc .inv-head{border-bottom:.5px solid rgba(60,60,67,.2)!important;padding-bottom:14px!important;margin-bottom:14px!important}
html.tios .invoice-doc .inv-brand{font-size:18px!important;font-weight:700!important;background:none!important;-webkit-text-fill-color:#000!important;color:#000!important}
html.tios .invoice-doc .inv-meta{color:rgba(60,60,67,.7)!important;font-size:12px!important}
html.tios .invoice-doc .inv-row{font-size:15px!important;border-bottom:.5px solid rgba(60,60,67,.14)!important;padding:10px 0!important}
html.tios .invoice-doc .inv-row.total{font-size:20px!important;font-weight:700!important;border-bottom:0!important;color:#000!important}
html.tios .invoice-doc .inv-status{border-radius:6px!important;font-weight:700!important;letter-spacing:0!important}
html.tios #invoiceModal .btn-primary{margin-top:14px!important}

/* ---------- 33. efek partikel Skin Toko dibuat lebih halus ---------- */
html.tios #storeEffectLayer{opacity:.45}
html.tios #storeEffectLayer > :nth-child(2n){display:none}
@media(prefers-reduced-motion:reduce){html.tios #storeEffectLayer{display:none}}

html.tios .invoice-doc .inv-row.total{display:flex!important;justify-content:space-between;margin:0!important;background:none!important;border-radius:0!important;-webkit-text-fill-color:#000!important}
html.tios #reviewSecTk h2 > span{display:none!important}

/* =====================================================================================
   34. PERBAIKAN TAMPILAN PC [2026-09-24]
   ===================================================================================== */
html.tios body{overflow-x:clip}
/* bar judul & tab kategori selebar layar (bukan cuma selebar kolom tengah) */
html.tios #app header,html.tios.tp-scrolled #app header{background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;isolation:isolate}
html.tios #app header::before{content:'';position:absolute;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);z-index:-1;pointer-events:none;opacity:0;transition:opacity .3s;
  background:var(--ios-bar);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 .5px 0 var(--ios-sep)}
html.tios.tp-scrolled #app header::before{opacity:1}
html.tios.ios-tabs-stuck #app header::before{box-shadow:none}
html.tios #catTabs{top:var(--ios-hh,50px)!important;background:transparent!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important}
html.tios #catTabs::before{content:'';position:absolute;top:0;bottom:0;left:50%;width:100vw;transform:translateX(-50%);z-index:-1;pointer-events:none;opacity:0;transition:opacity .25s;
  background:var(--ios-bar);-webkit-backdrop-filter:saturate(180%) blur(20px);backdrop-filter:saturate(180%) blur(20px);box-shadow:0 .5px 0 var(--ios-sep)}
html.tios #catTabs.ios-stuck::before{opacity:1}
html.tios #catTabs .tp-tab-ind{z-index:0}
/* gambar produk di layout Grid & Gambar Besar tidak lagi kepotong jadi pita tipis */
html.tios .pcard.pcard-grid .pic{height:auto!important;aspect-ratio:1;font-size:2.2rem}
html.tios .pcard.pcard-large .pic{height:auto!important;aspect-ratio:16/9;max-height:220px}
html.tios .pcard.pcard-grid .pic img,html.tios .pcard.pcard-large .pic img{width:100%;height:100%;object-fit:cover}
@media(min-width:900px){
  /* semua halaman etalase & layanan memakai lebar yang sama di PC */
  html.tios #app .wrap{max-width:1180px}
  html.tios #app:not(.density-compact):not(.density-comfortable) #prodGridInner{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important;gap:16px}
  html.tios #app .pgrid:has(.pcard-grid){grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important}
  html.tios .tg-grid{grid-template-columns:repeat(auto-fill,minmax(168px,1fr))!important;gap:16px!important}
  html.tios .tg-items{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important}
  html.tios .nk-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr))!important;gap:14px!important}
  html.tios .nk-row{flex-direction:row!important}
  html.tios .nk-select{flex:1;border-bottom:0!important;border-right:.5px solid var(--ios-sep)!important}
  html.tios .nk-select:last-child{border-right:0!important}
  html.tios .svc-list{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(420px,1fr));gap:12px!important}
  html.tios .svc-head p,html.tios .tp-hero p{max-width:70ch}
  html.tios #catTabs{justify-content:flex-start}
  html.tios .rv-card{min-width:300px}
}

/* =====================================================================================
   35. MASUK / DAFTAR ala Apple ID [2026-09-24]
   ===================================================================================== */
.ios-sr{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;margin:0!important;padding:0!important}
html.tios #loginModal .modal{max-width:440px;padding-left:20px;padding-right:20px}
html.tios #loginModal .ios-authhead{margin:4px 0 22px}
html.tios #loginModal .ios-authhead .lg{width:64px;height:64px;border-radius:15px;font-size:28px;margin-bottom:14px}
html.tios #loginModal .ios-authhead h2{font-size:26px!important;letter-spacing:-.035em}
html.tios #loginModal .ios-authhead p{font-size:15px}
/* email + password dalam satu kartu, dipisah garis tipis */
.ios-authgroup{border-radius:12px;background:var(--ios-cell);overflow:hidden}
html.tios .ios-authgroup input:not([type=checkbox]){display:block;width:100%;height:50px;margin:0!important;padding:0 16px!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
html.tios .ios-authgroup .pw-field-wrap{position:relative;border-top:.5px solid var(--ios-sep);margin:0!important}
html.tios .ios-authgroup .pw-field-wrap input{padding-right:48px!important}
html.tios .ios-authgroup .pw-eye-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:36px;height:36px;display:grid;place-items:center;border-radius:50%}
html.tios .ios-authgroup:focus-within{box-shadow:0 0 0 2px color-mix(in srgb,var(--tint) 45%,transparent)}
html.tios .ios-authgroup input:focus{box-shadow:none!important}
/* indikator kekuatan password: baru muncul saat mulai mengetik */
.ios-pwstr{margin:8px 4px 0!important}
.ios-pwstr > div:first-child{height:3px!important;background:var(--ios-fill)!important}
.ios-pwstr:not(:has(#pwStrengthTxtTk:not(:empty))){display:none}
html.tios #pwStrengthTxtTk{font-size:12.5px!important;margin-top:5px!important}
/* baris Ingat saya: teks kiri, sakelar kanan */
html.tios .ios-remember{display:flex!important;align-items:center;justify-content:space-between;gap:12px;margin:14px 0 0!important;padding:10px 12px 10px 16px;border-radius:12px;background:var(--ios-cell)}
html.tios .ios-remember label{flex:1;margin:0!important;font-size:16px!important;color:var(--txt)!important;letter-spacing:-.02em;line-height:1.25}
html.tios .ios-remember label small{display:block;font-size:13px;color:var(--mut);letter-spacing:-.01em;margin-top:1px}
html.tios #loginModal #btnDoLogin{margin-top:20px}
html.tios .ios-forgot{margin:14px 0 0!important}
html.tios .ios-forgot a{color:var(--tint)!important;font-size:15px!important;font-weight:400!important}
.ios-authfoot{display:flex;flex-direction:column;align-items:stretch;gap:10px;margin-top:22px;padding-top:18px;border-top:.5px solid var(--ios-sep);text-align:center}
.ios-authfoot span{color:var(--mut);font-size:14px}
html.tios .ios-authfoot .btn{margin:0!important;background:var(--ios-cell)!important;color:var(--tint)!important;border:0!important}
html.tios #loginMsg{margin-top:12px}
html.tios #tsWidget{margin:14px 0 0!important;display:flex;justify-content:center}
html.tios #loginModal .ios-authfoot #btnDoRegister{background:var(--ios-cell)!important;color:var(--tint)!important}

/* =====================================================================================
   36. TOMBOL TUTUP (✕) TIDAK LAGI MENDORONG ISI SHEET KE KIRI [2026-09-24]
   ===================================================================================== */
html.tios .modal > .closeX{float:none!important;position:absolute!important;top:14px;right:14px;margin:0!important;z-index:4}
html.tios .modal > h2:not(.ios-sr){padding-right:40px}
html.tios #payWaitModal > .modal > h2,html.tios .success-box h2,html.tios .ios-authhead h2,html.tios .ios-prof-head h2{padding-left:40px;padding-right:40px}
html.tios #sitePopupModal .sp-close{z-index:4}

/* =====================================================================================
   37. BANNER CAROUSEL [2026-09-24]
   ===================================================================================== */
.ios-car{position:relative;margin:0 -16px 16px}
.ios-car-track{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding:0 16px;padding:2px 16px 4px;scrollbar-width:none;-webkit-overflow-scrolling:touch;cursor:grab}
.ios-car-track::-webkit-scrollbar{display:none}
.ios-car-track.drag{scroll-snap-type:none;cursor:grabbing;scroll-behavior:auto}
.ios-car-track.drag img{pointer-events:none}
html.tios .ios-car-slide{flex:0 0 calc(100% - 24px);margin:0!important;scroll-snap-align:start;scroll-snap-stop:always;border-radius:var(--r-card)!important;overflow:hidden;opacity:1!important;transform:none!important}
html.tios .ios-car-slide img{width:100%;height:auto;aspect-ratio:2/1;max-height:none!important;object-fit:cover;border-radius:var(--r-card)!important;display:block;user-select:none;-webkit-user-drag:none;
  transform:scale(.94);opacity:.7;transition:transform .5s var(--spring),opacity .4s}
html.tios .ios-car-slide.on img{transform:none;opacity:1}
html.tios .ios-car-slide .cap{margin:8px 4px 0!important;text-align:left!important;font-size:14px!important;color:var(--mut)!important}
.ios-car-dots{display:flex;justify-content:center;gap:7px;margin-top:10px}
.ios-car-dots button{width:7px;height:7px;padding:0;border:0;border-radius:99px;background:var(--ios-label3);cursor:pointer;transition:width .35s var(--spring),background-color .25s}
.ios-car-dots button.on{width:20px;background:var(--txt)}
.ios-car-nav{position:absolute;top:calc(50% - 20px);width:36px;height:36px;margin-top:-18px;border:0;border-radius:50%;display:grid;place-items:center;cursor:pointer;z-index:2;
  background:color-mix(in srgb,var(--ios-elev) 82%,transparent);color:var(--txt);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);box-shadow:0 6px 18px -6px rgba(0,0,0,.35);opacity:0;transition:opacity .25s,transform .3s var(--spring)}
.ios-car-nav.prev{left:26px}.ios-car-nav.next{right:26px}
.ios-car-nav:active{transform:scale(.9)}
@media(hover:hover) and (pointer:fine){.ios-car:hover .ios-car-nav{opacity:1}}
@media(hover:none){.ios-car-nav{display:none}}
@media(min-width:900px){
  html.tios .ios-car-slide{flex-basis:calc(50% - 21px)}
  .ios-car{margin-left:0;margin-right:0}
  .ios-car-track{padding-left:0;padding-right:0;scroll-padding:0;gap:14px}
  html.tios .ios-car-slide img{transform:none;opacity:1}
  .ios-car-nav.prev{left:10px}.ios-car-nav.next{right:10px}
}
@media(prefers-reduced-motion:reduce){html.tios .ios-car-slide img{transition:none;transform:none;opacity:1}.ios-car-dots button{transition:none}}

/* =====================================================================================
   38. HASIL AUDIT [2026-09-24]
   ===================================================================================== */
/* tombol ✕ tetap kelihatan saat isi sheet panjang di-scroll (detail produk, refund, dll) */
html.tios .modal > .closeX{position:sticky!important;top:0;display:grid!important;margin:-12px -2px -30px auto!important;width:30px;height:30px;
  background:color-mix(in srgb,var(--ios-sheet) 40%,var(--ios-fill))!important;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px)}
html.tios .modal > .closeX:focus-visible{outline:2px solid var(--tint);outline-offset:2px}
html.tios #payWaitModal .modal > .closeX{margin-top:-14px!important}
html.tios .ios-pd-snk{color:var(--mut);font-size:14px}

/* =====================================================================================
   39. PERBAIKAN TAMPILAN HP (hasil audit 360px, 2026-09-24)
   ===================================================================================== */
/* nama produk tidak lagi dipotong per huruf */
html.tios .pcard h3{overflow-wrap:break-word!important;word-break:normal;hyphens:auto}
/* kartu ikon di layar sempit: ikon di atas, nama selebar kartu (tidak berebut tempat dengan ikon & tombol hati) */
@media(max-width:420px){
  html.tios .pcard:not(.pcard-grid):not(.pcard-large):not(.pcard-compact) .ptop{flex-direction:column;align-items:flex-start;gap:8px;padding-right:0}
  html.tios .pcard:not(.pcard-grid):not(.pcard-large):not(.pcard-compact) .pic{width:48px;height:48px;border-radius:12px}
  html.tios .pcard:not(.pcard-grid):not(.pcard-large):not(.pcard-compact) .ptop > div{width:100%}
  html.tios .pcard .pnow{font-size:15px}
}
/* harga di halaman detail produk tidak terpotong */
.ios-pd-info b{white-space:normal!important;font-size:15px;line-height:1.2}
/* label stok menipis: kontras cukup di mode terang */
html.tios[data-theme="light"] .tp-lowbadge,html.tios[data-theme="light"] .pcard .pstok.tp-low,html.tios[data-theme="light"] .pcard .pbdg.flash{color:#A04E00!important}
html.tios[data-theme="light"] .pcard .pstok.tp-low .plive{background:#C26100}
