/* Tab Store & checkout: dimuat hanya bila halaman menampilkan Store (dipisah dari bio.css 3 Des 2026). */
/* ---------- Tab Store (etalase): grid masonry ala Shopee, harga & diskon ala Tokopedia ----------
   Lengkung sudut seragam 6px (keputusan pemilik 22 Nov 2026). Warna diskon merah mengikuti
   mockup yang disetujui pemilik (design/mockup/BioStore.html). */
.etalase { --lk: 6px; --merah: #e02954; display: none; }
.bio:has(#sakelar-store:checked) .etalase { display: block; }
.bio:has(#sakelar-store:checked) .isi { gap: 16px; padding-top: 0; }
.etalase .toko-nav { position: sticky; top: 0; z-index: 4; display: flex; align-items: center; padding: 4px 6px 0 16px;
  background: var(--t-bg); }
.toko-kat { flex: 1; display: flex; gap: 20px; overflow-x: auto; scrollbar-width: none; margin-right: 4px; padding-right: 20px;
  -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
.toko-kat::-webkit-scrollbar { display: none; }
/* Area ketuk tiap kategori diperlebar tanpa mengubah tampilan (pemilik 22 Nov 2026): 10 px ke kiri-kanan (jarak
   antartombol jadi area ketuk, bukan celah mati) dan 14 px ke bawah (ketukan sedikit di bawah tulisan tidak jatuh ke
   kartu produk). Garis bawah aktif digambar ::after di posisi lama; baris dan tinggi bilah tetap (margin negatif). */
.toko-kat { gap: 0; margin-left: -10px; margin-bottom: -14px; }
.toko-kat button { position: relative; flex: none; padding: 10px 10px 24px; border: 0; background: none; color: var(--t-muted);
  font-size: 15px; line-height: 22px; font-weight: 700; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.toko-kat button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 14px; height: 3px; background: transparent; }
.toko-kat button[aria-pressed="true"] { color: var(--t-text); }
.toko-kat button[aria-pressed="true"]::after { background: var(--t-accent); }
.toko-ikon { position: relative; flex: none; width: 34px; height: 40px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: var(--t-text); }
.toko-ikon svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.toko-ikon svg circle { fill: var(--t-bg); }
.toko-ikon .titik { position: absolute; top: 9px; right: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--merah); box-shadow: 0 0 0 2px var(--t-bg); }
.toko-ikon .jml { position: absolute; top: 4px; right: -1px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: #fff;
  color: #111; box-shadow: 0 0 0 1.5px #111; font-size: 10px; line-height: 18px; font-weight: 800; text-align: center; }
.toko-cari { flex: 1; display: flex; align-items: center; gap: 8px; height: 36px; margin: 6px 6px 8px 0; padding: 0 4px 0 12px;
  border-radius: 999px; color: var(--t-text); background: color-mix(in srgb, var(--t-text) 6%, var(--t-bg));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-text) 12%, transparent); }
.toko-cari .cari-ikon { flex: none; display: grid; opacity: .55; }
.toko-cari svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.toko-cari input { flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none; font: inherit;
  font-size: 16px; color: var(--t-text); -webkit-appearance: none; appearance: none; }
.toko-cari input::placeholder { color: color-mix(in srgb, var(--t-text) 48%, transparent); }
.toko-cari input::-webkit-search-cancel-button { display: none; }
.cari-tutup { position: relative; flex: none; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 0;
  border-radius: 50%; background: color-mix(in srgb, var(--t-text) 10%, transparent); color: var(--t-text); }
.cari-tutup svg { width: 14px; height: 14px; stroke-width: 2.4; }
.cari-tutup::after { content: ""; position: absolute; inset: -8px; }
.toko-hasil { margin: 2px 16px 10px; font-size: 13px; line-height: 18px; color: var(--t-muted); }
.toko-hasil b { color: var(--t-text); font-weight: 600; }
.etalase.mencari .toko-kat, .etalase.mencari [data-filter], .etalase.mencari [data-cari] { display: none; }
.toko-tiada { padding: 48px 16px; text-align: center; color: var(--t-muted); }

.katalog { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 4px; column-gap: 8px; padding: 12px 10px 0; align-items: start; }
.katalog > * { margin-bottom: 8px; }
.katalog > .sisip { grid-column: 1 / -1; }
.katalog > .video-toko { grid-column: auto; }
.etalase .kartu { position: relative; background: #fff; color: #212121; border-radius: var(--lk); overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.etalase .kartu .foto { position: relative; display: block; aspect-ratio: 1; background: #fff; overflow: hidden; }
.foto-geser { position: absolute; inset: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.foto-geser::-webkit-scrollbar { display: none; }
.foto-geser img { flex: none; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.etalase .potong { position: absolute; top: 0; right: 0; padding: 3px 5px; border-radius: 0 0 0 var(--lk); background: var(--merah); color: #fff;
  font-size: 10.5px; line-height: 1; font-weight: 700; }
.etalase .info { display: grid; gap: 4px; padding: 8px 9px 10px; }
.etalase .info .nama { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; line-height: 18px; font-weight: 400; }
.etalase .varian { display: flex; align-items: center; gap: 5px; margin: 3px 0 2px; }
.etalase .varian button { width: 32px; height: 32px; padding: 0; border: 1px solid #e5e7eb; border-radius: 4px; overflow: hidden; background: #f3f4f6; }
.etalase .varian button[aria-pressed="true"] { border-color: #111; }
.etalase .varian img { width: 100%; height: 100%; object-fit: cover; }
.etalase .varian em { font-style: normal; font-size: 11px; font-weight: 600; color: #6b7280; }
.harga-baris { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 6px; }
.etalase .harga, .tk-lembar .harga { color: var(--merah, #e02954); font-size: 18px; line-height: 23px; font-weight: 800; letter-spacing: -.01em; }
.etalase .harga small, .tk-lembar .harga small { font-size: 11.5px; font-weight: 700; margin-right: 1px; }
.harga-baris s { font-size: 11.5px; color: #9ca3af; }
.etalase .ulas { font-size: 12px; color: #6b7280; } .etalase .ulas b { color: #f59e0b; font-weight: 400; } .etalase .ulas i { font-style: normal; margin: 0 4px; color: #d1d5db; }
.etalase .ulas.baru { color: #15803d; font-weight: 600; }
.nama-gambar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 10px 9px; color: #fff; font-size: 12.5px; line-height: 16px; font-weight: 700;
  text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.55)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nama-gambar.besar { padding: 40px 12px 12px; font-size: 16px; line-height: 20px; }
.outfit { display: grid; grid-template-columns: 1.08fr 1fr; grid-template-rows: 470px; gap: 10px; margin: 0 0 6px; }
.outfit-model, .outfit-k { position: relative; overflow: hidden; border-radius: var(--lk); background: #cfcfcf; }
.outfit-model img, .outfit-k img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.outfit-k img { object-position: 50% 30%; }
.outfit-isi { display: grid; grid-template-rows: repeat(3, minmax(0, 1fr)); gap: 10px; min-height: 0; }
.banner-toko { margin: 0 0 8px; }
.banner-geser { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; border-radius: var(--lk); }
.banner-geser::-webkit-scrollbar { display: none; }
.banner-geser button { flex: none; width: 100%; aspect-ratio: 2 / 1; padding: 0; border: 0; scroll-snap-align: start; background: #111; position: relative; }
.banner-geser img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.etalase .video-toko { margin: 0; aspect-ratio: 9 / 16; border-radius: var(--lk); }
.etalase .video-toko .putar { width: 52px; height: 52px; }
.kat-kotak { margin: 14px 0 8px; }
.kat-kotak h2 { margin: 0 0 12px; font-size: 17px; line-height: 25px; font-weight: 700; }
.kat-kotak-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kat-kotak-grid button { position: relative; aspect-ratio: 1; padding: 0; border: 0; border-radius: var(--lk); overflow: hidden; background: #c8c8c8; }
.kat-kotak-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; }
.kat-kotak-grid b { position: absolute; left: 0; right: 0; bottom: 12px; color: #fff; font-size: 17px; line-height: 25px; font-weight: 700;
  text-shadow: 0 1px 3px rgba(0,0,0,.45), 0 0 12px rgba(0,0,0,.25); }

/* Lembar bawah Store: detail produk, keranjang, checkout, bayar, filter. Selalu putih. */
.tk-latar { position: fixed; inset: 0; z-index: 30; background: rgba(15,23,42,.45); }
.tk-lembar { position: fixed; left: 50%; bottom: 0; z-index: 31; width: min(100%, 480px); max-height: 92vh; max-height: 92dvh; overflow-y: auto;
  transform: translateX(-50%); padding: 10px 16px calc(16px + env(safe-area-inset-bottom, 0px)); border-radius: 16px 16px 0 0;
  background: #fff; color: #0f172a; font-family: var(--font-sans); animation: tk-naik .25s ease; overscroll-behavior: contain; }
@keyframes tk-naik { from { transform: translate(-50%, 30%); opacity: .5; } }
.tk-lembar .pegang { display: block; width: 40px; height: 4px; margin: 0 auto 10px; border-radius: 4px; background: #cbd5e1; }
.tk-kepala { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.tk-kepala h2 { font-size: 18px; line-height: 24px; font-weight: 800; }
.tk-kepala button { border: 0; background: none; color: #475569; font-size: 14px; font-weight: 600; min-height: 44px; }
/* Fokus otomatis saat lembar dibuka: bingkai hanya untuk pengguna keyboard (:focus-visible), bukan sentuhan. */
.tk-lembar :focus:not(:focus-visible) { outline: none; }
.tk-foto { position: relative; aspect-ratio: 1; margin: 0 -16px; overflow: hidden; background: #f3f4f6; }
.tk-foto .foto-geser img { object-fit: cover; }
.tk-nama { margin-top: 12px; font-size: 18px; line-height: 24px; font-weight: 700; }
.tk-harga { margin-top: 4px; }
.tk-label { margin: 14px 0 8px; font-size: 13px; font-weight: 700; color: #334155; }
.tk-label span { font-weight: 500; color: #64748b; }
.tk-pil { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-pil button { min-width: 44px; min-height: 40px; padding: 0 12px; border: 1px solid #d1d5db; border-radius: var(--lk, 6px); background: #fff; font-size: 14px; font-weight: 600; color: #0f172a; }
.tk-pil button[aria-pressed="true"] { border: 2px solid #111; }
.tk-pil.warna button { padding: 0; width: 52px; height: 52px; overflow: hidden; }
.tk-pil.warna img { width: 100%; height: 100%; object-fit: cover; }
.tk-desk { margin-top: 12px; color: #475569; font-size: 14px; line-height: 21px; white-space: pre-line; }
.tk-jumlah { display: inline-flex; align-items: center; border: 1px solid #d1d5db; border-radius: var(--lk, 6px); }
.tk-jumlah button { width: 40px; height: 40px; border: 0; background: none; font-size: 18px; font-weight: 700; }
.tk-jumlah span { min-width: 32px; text-align: center; font-weight: 700; }
.tk-tombol { display: flex; gap: 8px; margin-top: 18px; }
.tk-btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 48px; padding: 0 16px; border: 1.5px solid #111;
  border-radius: var(--lk, 6px); background: #fff; color: #111; font-size: 15px; font-weight: 700; text-decoration: none; }
.tk-btn.utama { background: #111; color: #fff; }
.tk-btn.wa { background: #16a34a; border-color: #16a34a; color: #fff; }
.tk-btn[disabled] { opacity: .5; }
.tk-galat { margin-top: 10px; color: #b42318; font-size: 13px; font-weight: 600; }
.tk-baris { display: grid; grid-template-columns: 56px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid #f1f5f9; }
.tk-baris img { width: 56px; height: 56px; border-radius: var(--lk, 6px); object-fit: cover; background: #f3f4f6; }
.tk-baris b { display: block; font-size: 14px; line-height: 19px; font-weight: 600; }
.tk-baris small { display: block; color: #64748b; font-size: 12px; }
.tk-baris .tk-jumlah button { width: 32px; height: 32px; font-size: 16px; }
.tk-hapus { border: 0; background: none; color: #b42318; font-size: 12px; font-weight: 600; padding: 6px 0; }
.tk-ringkas { display: grid; grid-template-columns: 1fr auto; gap: 4px; margin-top: 12px; font-size: 14px; color: #475569; }
.tk-ringkas dd { margin: 0; text-align: right; } .tk-ringkas .total { color: #0f172a; font-size: 17px; font-weight: 800; padding-top: 6px; border-top: 1px solid #e2e8f0; }
.tk-form { display: grid; gap: 12px; margin-top: 8px; }
.tk-form label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: #334155; }
.tk-form input, .tk-form textarea { width: 100%; min-height: 44px; padding: 10px 12px; border: 1px solid #cbd5e1; border-radius: var(--lk, 6px); font: inherit; font-size: 15px; font-weight: 400; color: #0f172a; }
.tk-form textarea { min-height: 76px; resize: vertical; }
.tk-kode { margin: 4px 0 12px; padding: 12px; border-radius: var(--lk, 6px); background: #f8fafc; text-align: center; }
.tk-kode small { display: block; color: #64748b; font-size: 12px; } .tk-kode b { font-size: 22px; letter-spacing: .06em; }
.tk-qris { display: block; width: min(100%, 280px); margin: 8px auto; border-radius: var(--lk, 6px); border: 1px solid #e2e8f0; }
.tk-rek { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 8px; padding: 10px 12px; margin-top: 8px; border: 1px solid #e2e8f0; border-radius: var(--lk, 6px); }
.tk-rek small { color: #64748b; font-size: 12px; } .tk-rek b { font-size: 16px; letter-spacing: .03em; }
.tk-rek button { grid-row: 1 / 4; grid-column: 2; min-height: 40px; padding: 0 12px; border: 1px solid #111; border-radius: var(--lk, 6px); background: #fff; font-size: 13px; font-weight: 700; }
.tk-catatan { margin-top: 12px; padding: 10px 12px; border-radius: var(--lk, 6px); background: #fffbeb; color: #92400e; font-size: 13px; line-height: 19px; }
/* Tarik ke bawah untuk menutup: .tarik = mengikuti jari; .turun = meluncur keluar; .tetap = isi diganti tanpa animasi naik. */
.tk-lembar.tetap { animation: none; }
.tk-lembar.tarik { animation: none; transition: none; }
.tk-lembar:not(.tarik) { transition: transform .2s ease; }
.tk-lembar .pegang { touch-action: none; padding: 8px 0; margin: -8px auto 2px; background-clip: content-box; height: 20px; }
.tk-lembar.turun { animation: none; transform: translate(-50%, 100%) !important; transition: transform .22s ease-in; pointer-events: none; }
.tk-latar { transition: opacity .22s ease; }
.tk-latar.turun { opacity: 0 !important; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .tk-lembar, .tk-latar { animation: none; transition: none; } }
/* Blok Editorial (gaya Carhartt): foto di atas, panel warna pilihan pemilik, judul besar tebal kapital. */
.editorial { margin: 6px 0 14px; border-radius: var(--lk); overflow: hidden; background: var(--ed-bg); color: var(--ed-teks); }
.editorial-foto { position: relative; aspect-ratio: 1; background: color-mix(in srgb, var(--ed-bg) 70%, #000); }
.editorial-foto img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-panel { display: grid; justify-items: center; gap: 12px; padding: 28px 18px 30px; text-align: center; }
.editorial-panel h2 { font-size: 30px; line-height: 32px; font-weight: 800; letter-spacing: -.01em; text-transform: uppercase; }
.editorial-panel p { max-width: 320px; font-size: 15px; line-height: 22px; opacity: .88; }
.editorial-tombol { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; margin-top: 6px; padding: 0 24px;
  border: 2px solid var(--ed-teks); border-radius: var(--lk); background: transparent; color: var(--ed-teks);
  font-size: 15px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; }
.editorial-tombol:hover { background: var(--ed-teks); color: var(--ed-bg); }
/* Panel detail produk Store (lembar yang sama dengan tab Link): pilih ukuran & masukkan keranjang. */
.tk-ukuran { display: flex; flex-wrap: wrap; gap: 8px; }
.tk-ukuran button { min-width: 48px; min-height: 44px; padding: 0 14px; border: 1px solid #cbd5e1; border-radius: 10px; background: #ffffff;
  color: #0e0e0d; font-size: 14px; font-weight: 600; }
.tk-ukuran button[aria-checked="true"] { border: 2px solid #0e0e0d; font-weight: 700; }
/* Ukuran & sisa stok Store tepat di bawah pilihan model (pemilik 22 Nov 2026). */
.tk-pilihan { padding: 10px 16px 0; }
/* "Cek ukuran" di antara pilihan model dan ukuran: tombol pil kecil. */
.tk-cek { padding: 12px 16px 0; }
.tk-cek .cek-ukuran { margin: 0; padding: 7px 12px; border: 1px solid #cbd5e1; border-radius: 999px; text-decoration: none; font-size: 13px; }
.tk-pilihan .tk-ukuran { align-items: center; }
.tk-pilihan .cek-ukuran { margin-left: auto; }
.tk-ukuran button.habis, .tk-ukuran button:disabled { color: #a3acb9; border-style: dashed; text-decoration: line-through; cursor: not-allowed;
  background: #f8fafc linear-gradient(to top right, transparent calc(50% - .75px), #d5dbe3 calc(50% - .75px), #d5dbe3 calc(50% + .75px), transparent calc(50% + .75px)); }
.tk-sisa { margin-top: 8px; font-size: 13px; line-height: 18px; font-weight: 600; color: #475569; }
.tk-sisa.tipis { color: #e02954; }
.tk-baris small.tk-sisa { margin-top: 0; font-size: 12px; }
.tk-jumlah button:disabled { opacity: .35; }
.jempol.bervarian button.habis .gbr img { opacity: .4; filter: grayscale(1); }
.jempol.bervarian button.habis { cursor: not-allowed; }
.jempol.bervarian button.habis .nm { color: #a3acb9; }
.lembar.tk-habis .tk-dua a { opacity: .35; pointer-events: none; }
.etalase .kartu.habis .foto img { opacity: .55; filter: grayscale(.7); }
.etalase .kartu .stok-habis { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); padding: 6px 12px; border-radius: 999px;
  background: rgba(15,23,42,.8); color: #fff; font-size: 12.5px; line-height: 16px; font-weight: 700; white-space: nowrap; pointer-events: none; }
.bar-toko { display: grid; gap: 6px; }
.bar-toko .tk-galat { margin: 0; text-align: center; }
.tk-masuk { display: flex; align-items: center; justify-content: center; min-height: 50px; border-radius: 12px; background: #0e0e0d; color: #ffffff;
  font-size: 16px; font-weight: 700; text-decoration: none; }
/* Kartu Store: nama maks. 2 kata (1 baris, tebal) + sub judul 1 baris. */
.etalase .info .nama { display: block; -webkit-line-clamp: unset; font-size: 14px; line-height: 19px; font-weight: 700;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.etalase .info .sub { font-size: 12px; line-height: 16px; color: #6b7280; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Semua blok di katalog mengikuti kolom & jarak grid produk (2 kolom sama lebar, jarak 8px), supaya tepi
   Outfit, kartu, banner, editorial, dan kategori segaris. */
.etalase .katalog > .sisip { margin: 0 0 8px; }
.etalase .outfit { grid-template-columns: 1fr 1fr; gap: 8px; }
.etalase .outfit-isi { gap: 8px; }
.etalase .kat-kotak-grid { gap: 8px; }
.etalase .kat-kotak { padding-top: 6px; }
/* Panel Store: dua tombol — "+ Keranjang" (garis) dan "Beli" (hitam, harga & diskon di bawahnya). */
.tk-dua { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 8px; }
.tk-beli { min-width: 0; }
.tk-keranjang, .tk-beli { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 56px; padding: 6px 10px;
  border-radius: 12px; text-decoration: none; text-align: center; }
/* "Checkout langsung" polos bergaris, "+ Keranjang" hitam (pemilik 22 Nov 2026). */
.tk-beli { border: 1.5px solid #0e0e0d; background: #ffffff; color: #0e0e0d; gap: 2px; }
.tk-beli .kata { font-size: 15.5px; line-height: 20px; font-weight: 800; }
.tk-beli .hg { display: flex; align-items: center; justify-content: center; gap: 5px; max-width: 100%; font-size: 13px; line-height: 17px; white-space: nowrap; overflow: hidden; }
.tk-beli .hg b { font-weight: 700; }
.tk-beli .hg s { font-size: 12px; font-weight: 500; opacity: .6; }
@media (max-width: 360px) { .tk-beli .hg s { display: none; } }
.tk-beli .persen { padding: 0 5px; border-radius: 4px; background: var(--merah, #e02954); color: #fff; font-size: 11px; line-height: 16px; font-weight: 800; }
.tk-keranjang { gap: 2px; border: 1.5px solid #0e0e0d; background: #0e0e0d; color: #ffffff; padding: 6px 4px; }
.tk-keranjang svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.tk-keranjang span { font-size: 13px; line-height: 16px; font-weight: 700; white-space: nowrap; }
/* ---- Grid selebar layar gaya UNIQLO (pemilik, 22 Nov 2026): kartu tanpa lengkung & bayangan, foto tegak
   rata tepi, kolom dipisah garis 2px. Semua blok katalog ikut kolom & jarak yang sama. ---- */
.etalase .katalog { padding: 0; column-gap: 2px; }
.etalase .katalog > * { margin-bottom: 2px; }
.etalase .katalog > .sisip { margin: 0 0 2px; }
.etalase .kartu { border-radius: 0; box-shadow: none; }
/* Bingkai persegi 1:1 seperti Shopee (pemilik 22 Nov 2026): foto selalu utuh — persegi pas penuh, foto tegak
   (3:4) penuh atas-bawah dengan sisa putih tipis kiri-kanan; tidak ada yang terpotong. */
.etalase .kartu .foto { aspect-ratio: 1; background: #ffffff; }
.etalase .kartu .foto-geser img { object-fit: contain; }
.etalase .kartu .info { padding: 12px 14px 20px; gap: 5px; }
.etalase .potong { border-radius: 0; padding: 4px 6px; }
.etalase .outfit { gap: 2px; }
.etalase .outfit-isi { gap: 2px; }
.etalase .outfit-model, .etalase .outfit-k, .etalase .banner-geser, .etalase .video-toko, .etalase .kat-kotak-grid button { border-radius: 0; }
.etalase .kat-kotak { padding: 18px 0 0; }
.etalase .kat-kotak h2 { margin: 0 14px 12px; }
.etalase .kat-kotak-grid { gap: 2px; }

/* Editorial gaya hero UNIQLO: foto tegak penuh, teks putih di kiri bawah dengan gradasi gelap. */
.etalase .editorial { position: relative; margin: 0 0 2px; border-radius: 0; overflow: hidden; aspect-ratio: 4 / 5; background: #222; color: #ffffff; }
.etalase .editorial > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.editorial-teks { position: absolute; left: 0; right: 0; bottom: 0; display: grid; justify-items: start; gap: 10px; padding: 120px 24px 28px;
  background: linear-gradient(transparent, rgba(0,0,0,.62)); text-align: left; }
.editorial-label { padding: 5px 12px; border-radius: 999px; background: var(--ed-bg); color: var(--ed-teks); font-size: 12px; line-height: 16px;
  font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.editorial-teks h2 { font-size: 28px; line-height: 33px; font-weight: 600; letter-spacing: -.01em; text-transform: none; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.editorial-teks p { max-width: 340px; font-size: 15px; line-height: 22px; opacity: .92; }
.etalase .editorial-tombol { margin-top: 4px; border-color: #ffffff; color: #ffffff; border-radius: 0; min-height: 44px; }
.etalase .editorial-tombol:hover { background: #ffffff; color: #111111; }
/* ---- Padding & lengkung tipis (pemilik, 22 Nov 2026): grid dan semua blok katalog memakai jarak 8px dan
   lengkung yang sama dengan tombol link tab Link (--t-r tema, maks. 8px supaya tema "pil" tidak membulatkan foto). ---- */
.etalase { --lk: min(var(--t-r, 8px), 8px); }
.etalase .katalog { padding: 8px 8px 0; column-gap: 8px; }
.etalase .katalog > * { margin-bottom: 8px; }
.etalase .katalog > .sisip { margin: 0 0 8px; }
.etalase .kartu { border-radius: var(--lk); overflow: hidden; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.etalase .kartu .info { padding: 10px 10px 14px; }
.etalase .potong { border-radius: 0 0 0 var(--lk); }
.etalase .outfit, .etalase .outfit-isi, .etalase .kat-kotak-grid { gap: 8px; }
.etalase .outfit-model, .etalase .outfit-k, .etalase .banner-geser, .etalase .video-toko, .etalase .kat-kotak-grid button,
.etalase .editorial { border-radius: var(--lk); }
.etalase .kat-kotak h2 { margin: 0 4px 10px; }
.etalase .editorial-tombol { border-radius: var(--lk); }
/* Kartu Store: baris varian tepat di bawah foto (bisa digeser; yang terakhir terpotong bila banyak) + wishlist. */
.etalase .kartu-varian { display: flex; align-items: center; gap: 4px; padding: 8px 4px 0 10px; }
.etalase .kartu-varian .varian { flex: 1; min-width: 0; display: flex; gap: 5px; margin: 0; overflow-x: auto; scrollbar-width: none;
  overscroll-behavior-x: contain; padding: 2px 0; }
.etalase .kartu-varian .varian::-webkit-scrollbar { display: none; }
.etalase .kartu-varian .varian button { flex: none; }
.etalase .suka { flex: none; width: 36px; height: 36px; display: grid; place-items: center; padding: 0; border: 0; background: none; color: #111827; }
.etalase .suka svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.etalase .suka[aria-pressed="true"] svg { fill: var(--merah); stroke: var(--merah); }
/* Kartu Store gaya UNIQLO: hanya foto yang berbatas (lengkung tipis); rincian di bawahnya langsung di latar
   halaman tanpa kotak/bayangan. Warna teks mengikuti tema supaya terbaca di latar terang maupun gelap. */
.etalase .kartu { background: transparent; box-shadow: none; border-radius: 0; overflow: visible; color: var(--t-text); }
.etalase .kartu .foto { border-radius: var(--lk); overflow: hidden; }
.etalase .info .nama { color: var(--t-text); }
.etalase .info .sub, .etalase .ulas { color: var(--t-muted); }
.etalase .suka { color: var(--t-text); }
.etalase .katalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } .etalase .katalog > * { min-width: 0; }
/* Varian yang tidak muat: ujung baris memudar sebagai tanda bisa digeser. */
.etalase .kartu-varian .varian.lebih { -webkit-mask-image: linear-gradient(90deg, #000 72%, transparent); mask-image: linear-gradient(90deg, #000 72%, transparent); }
.etalase .kartu-varian .varian.lebih.ujung { -webkit-mask-image: none; mask-image: none; }
/* Kartu video = bentuk kartu produk: area 4:5 berlengkung, tombol putar, label "Video", rincian di bawah. */
.etalase .katalog > .kv { grid-column: auto; color: var(--t-text); }
.etalase .kv .foto.video { position: relative; display: block; margin: 0; aspect-ratio: 4 / 5; max-height: none; width: auto;
  border-radius: var(--lk); overflow: hidden; background: #111; }
.etalase .kv .foto img, .etalase .kv .foto iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.etalase .kv .putar { width: 52px; height: 52px; }
.tanda-video { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 4px 8px; border-radius: 999px;
  background: rgba(0,0,0,.6); color: #fff; font-size: 11px; line-height: 14px; font-weight: 700; }
.etalase .varian .vg { flex: none; width: 32px; height: 32px; border: 1px solid #e5e7eb; border-radius: 4px; overflow: hidden; background: #f3f4f6; }
.etalase .varian .vg img { width: 100%; height: 100%; object-fit: cover; }
.lihat-produk { display: inline-block; margin: 0 2px 16px; color: var(--t-text); font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.etalase a.nama { color: var(--t-text); text-decoration: none; }
/* Kartu video penuh: setinggi kartu produk (--tinggi-kartu dari bio.js), tanpa rincian di bawah. */
.etalase .kv .foto.video { aspect-ratio: auto; height: var(--tinggi-kartu, 388px); }
.etalase .kv { padding-bottom: 0; }
.kv-judul { bottom: 58px; }
.kv-produk { position: absolute; left: 8px; right: 8px; bottom: 8px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 6px 10px 6px 6px;
  border-radius: var(--lk); background: rgba(255,255,255,.94); color: #0e0e0d; text-decoration: none; box-shadow: 0 2px 8px rgba(0,0,0,.18); }
.kv-produk img { flex: none; width: 34px; height: 34px; border-radius: 4px; object-fit: cover; }
.kv-teks { flex: 1; min-width: 0; display: grid; }
.kv-teks b { font-size: 12.5px; line-height: 16px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.kv-teks span { font-size: 12px; line-height: 16px; font-weight: 700; color: var(--merah); }
.kv-panah { font-size: 20px; line-height: 1; font-weight: 600; }
.etalase .kv { position: relative; }
/* Jarak lebih lega (pemilik, 22 Nov 2026): tepi 14px, antar kolom 12px, antar baris grid 20px, antar section 28px. */
.etalase .katalog { padding: 12px 14px 0; column-gap: 12px; }
.etalase .katalog > * { margin-bottom: 20px; }
.etalase .katalog > .sisip { margin: 4px 0 28px; }
.etalase .katalog > .kv { margin: 0 0 20px; }
.etalase .outfit, .etalase .outfit-isi, .etalase .kat-kotak-grid { gap: 12px; }
/* Baris sejajar (bukan masonry) + video portrait terkunci 9:16. */
.etalase .katalog { grid-auto-rows: auto; align-items: start; }
.etalase .katalog > * { grid-row-end: auto !important; }
.etalase .kv .foto.video { height: auto; aspect-ratio: 9 / 16; }
/* Pil produk di kartu video muncul 3 detik setelah video terlihat (bio.js memberi .tunda lalu .muncul). */
.kv.tunda .kv-produk { opacity: 0; transform: translateY(10px); pointer-events: none; }
.kv.tunda.muncul .kv-produk { opacity: 1; transform: none; pointer-events: auto; transition: opacity .45s ease, transform .45s ease; }
@media (prefers-reduced-motion: reduce) { .kv.tunda.muncul .kv-produk { transition: none; } }
/* Ritme rincian kartu Store (pemilik, 22 Nov 2026) — satu-satunya tempat jarak rincian kartu diatur:
   foto → 8 → varian (36) → 6 → nama (19) → 2 → sub judul (16) → 6 → harga (22) → 2 → bintang & terjual (16).
   Harga dan rating dirapatkan supaya terbaca sebagai satu kelompok. */
.etalase .kartu-varian { padding: 8px 0 0; }
.etalase .kartu .info, .etalase .kv .info { display: grid; gap: 0; padding: 6px 2px 0; }
.etalase .info .nama { line-height: 19px; }
.etalase .info .sub { margin-top: 2px; line-height: 16px; }
.etalase .info .harga-baris { margin-top: 6px; }
.etalase .info .harga-baris > * { line-height: 22px; }
/* Rp kecil & harga coret tidak boleh menambah tinggi baris harga (tetap 22px). */
.etalase .info .harga small { line-height: 1; }
.etalase .info .harga-baris s { line-height: 16px; }
.etalase .info .ulas { margin-top: 2px; display: flex; align-items: center; font-size: 12px; line-height: 16px; }
.etalase .info .ulas b { margin-right: 3px; font-size: 12px; line-height: 16px; }
.etalase .info .ulas i { margin: 0 5px; }
/* ---- Bilah atas saat header tergulir (pemilik, 22 Nov 2026) ----
   Sakelar dipindah bio.js ke .bilah dan SELALU berukuran & berposisi sama (100×36 px, tengah atas), di tab
   Link maupun Store, jadi tidak melompat saat pindah tab.
   - Tab Link: bilah tak terlihat; hanya sakelar kaca yang mengambang.
   - Tab Store: bilah berkaca gaya bilah toko UNIQLO — logo kiri, sakelar di tengah, ikon cari & keranjang kanan;
     baris kategori menempel tepat di bawahnya dengan kaca yang sama. */
.bilah { display: none; }
.bilah.aktif { position: fixed; z-index: 6; top: var(--vvt, 0px); left: 50%; transform: translateX(-50%); width: 100%; max-width: 480px;
  height: calc(56px + env(safe-area-inset-top, 0px)); display: flex; align-items: center; justify-content: space-between;
  padding: env(safe-area-inset-top, 0px) 8px 0 14px; pointer-events: none; }
.bilah.aktif > * { pointer-events: auto; }
.bilah .sakelar { --kaca: var(--t-bg); --kaca-teks: var(--t-text);
  position: absolute; top: calc(10px + env(safe-area-inset-top, 0px)); left: 50%; transform: translateX(-50%);
  background: color-mix(in srgb, var(--kaca) 62%, transparent);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 55%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--kaca-teks) 10%, transparent),
    0 6px 20px rgba(15,23,42,.16); animation: sakelar-turun .2s ease-out; }
@keyframes sakelar-turun { from { opacity: 0; transform: translate(-50%, -8px); } to { opacity: 1; transform: translateX(-50%); } }
.bilah-logo, .bilah-ikon { visibility: hidden; }
.bilah-logo { flex: none; width: 34px; height: 34px; border-radius: min(var(--t-ir, 8px), 8px); object-fit: cover; }
.bilah-ikon { flex: none; display: flex; margin-left: auto; }
.bilah .toko-ikon svg circle { fill: none; }
/* Tab Store: bilah TRANSPARAN gaya UNIQLO (pemilik 22 Nov 2026) — tanpa latar & blur, isi terlihat langsung di
   belakangnya; logo & ikon tampil. Teks & ikon diberi halo warna latar supaya tetap terbaca di atas foto. */
.bio:has(#sakelar-store:checked) .bilah.aktif :is(.bilah-logo, .bilah-ikon) { visibility: visible; }
/* Baris kategori menempel tepat di bawah bilah, juga transparan; cari & keranjang sudah ada di bilah. */
.bio:has(.bilah.aktif) .etalase .toko-nav { top: calc(46px + env(safe-area-inset-top, 0px)); background: transparent; }
.bio:has(.bilah.aktif) .etalase .toko-nav [data-cari], .bio:has(.bilah.aktif) .etalase .toko-nav [data-keranjang] { display: none; }
/* Gradasi gelap gaya UNIQLO di belakang bilah & baris kategori (pemilik 22 Nov 2026): pekat di atas layar lalu
   memudar ke bawah, jadi menu putih tetap terbaca di atas isi apa pun tanpa latar padat. Dipasang sebagai
   ::before baris kategori (di bawah teksnya, di atas isi halaman), menjulur ke atas sampai tepi layar. */
.bio:has(.bilah.aktif) .etalase .toko-nav::before { content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 0; right: 0; top: calc(-46px - env(safe-area-inset-top, 0px)); height: calc(140px + env(safe-area-inset-top, 0px));
  background: linear-gradient(rgba(0,0,0,.66), rgba(0,0,0,.40) 50%, rgba(0,0,0,.14) 78%, rgba(0,0,0,0)); }
.bio:has(.bilah.aktif) .etalase .toko-kat button { color: rgba(255,255,255,.78); text-shadow: 0 1px 2px rgba(0,0,0,.28); }
.bio:has(.bilah.aktif) .etalase .toko-kat button[aria-pressed="true"] { color: #ffffff; }
.bio:has(.bilah.aktif) .etalase .toko-kat button[aria-pressed="true"]::after { background: #ffffff; }
.bio:has(.bilah.aktif) .etalase .toko-nav .toko-ikon, .bio:has(#sakelar-store:checked) .bilah .toko-ikon { color: #ffffff; }
.bio:has(.bilah.aktif) .etalase .toko-nav .toko-ikon svg circle, .bilah .toko-ikon svg circle { fill: none; }
.bio:has(.bilah.aktif) .etalase .toko-nav .titik { box-shadow: none; }
/* Tanpa blur: sakelar hampir padat. Transparansi dikurangi: bilah & baris kategori Store kembali padat. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .bilah .sakelar { background: color-mix(in srgb, var(--kaca) 94%, transparent); }
}
@media (prefers-reduced-transparency: reduce) {
  .bilah .sakelar, .bio:has(#sakelar-store:checked) .bilah.aktif, .bio:has(.bilah.aktif) .etalase .toko-nav { background: var(--t-bg); }
  .bio:has(.bilah.aktif) .etalase .toko-nav::before { display: none; }
  .bio:has(.bilah.aktif) .etalase .toko-kat button { color: var(--t-muted); text-shadow: none; }
  .bio:has(.bilah.aktif) .etalase .toko-kat button[aria-pressed="true"] { color: var(--t-text); }
  .bio:has(.bilah.aktif) .etalase .toko-kat button[aria-pressed="true"]::after { background: var(--t-accent); }
  .bio:has(.bilah.aktif) .etalase .toko-nav .toko-ikon, .bio:has(#sakelar-store:checked) .bilah .toko-ikon { color: var(--t-text); }
}
/* Pencarian saat bilah atas aktif (pemilik 22 Nov 2026): kotak cari = pil kaca seperti sakelar, muncul di tempat
   sakelar (sakelar & ikon cari bilah disembunyikan) lalu melebar mengisi ruang antara logo dan keranjang. */
.bio:has(.bilah.aktif) .etalase.mencari .toko-cari { position: fixed; z-index: 7; margin: 0;
  top: calc(var(--vvt, 0px) + 10px + env(safe-area-inset-top, 0px)); left: calc(50% + 4px); transform: translateX(-50%);
  width: calc(min(100vw, 480px) - 108px);
  background: color-mix(in srgb, var(--t-bg) 92%, transparent);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 55%, transparent), inset 0 0 0 1px color-mix(in srgb, var(--t-text) 10%, transparent),
    0 6px 20px rgba(15,23,42,.22);
  animation: cari-buka .34s cubic-bezier(.3,1.25,.5,1); }
@keyframes cari-buka { from { width: var(--sakelar-w); opacity: .3; } 40% { opacity: 1; } }
.bio:has(.etalase.mencari) .bilah .sakelar { visibility: hidden; }
/* Selama mencari Store setinggi layar, supaya hasil sedikit/kosong tidak memendekkan halaman (bilah tetap aktif).
   --vvt (bio.js) = geseran layar oleh keyboard di browser yang tetap menggeser (iPhone), supaya bilah tetap di atas. */
.etalase.mencari { min-height: 100vh; min-height: 100dvh; }
.bio:has(.etalase.mencari) .bilah [data-bilah="cari"] { display: none; }
/* Mode cari = layar pencarian yang bersih: bilah berlatar polos warna halaman (tanpa gradasi), kotak cari & ikon
   memakai warna teks tema, hasil dimulai tepat di bawah bilah. */
.bio:has(#sakelar-store:checked):has(.etalase.mencari) .bilah .toko-ikon { color: var(--t-text); }
/* Latar polos dilukis ::before baris kategori (di bawah kotak cari; bilah berada di lapisan atas isi halaman). */
.bio:has(.bilah.aktif) .etalase.mencari .toko-nav::before { height: calc(56px + env(safe-area-inset-top, 0px)); background: var(--t-bg);
  box-shadow: 0 1px 0 color-mix(in srgb, var(--t-text) 8%, transparent); }
.bio:has(.bilah.aktif) .etalase.mencari .toko-cari { background: color-mix(in srgb, var(--t-text) 6%, var(--t-bg));
  -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--t-text) 12%, transparent); }
.etalase.mencari .toko-hasil { margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .bio:has(.bilah.aktif) .etalase.mencari .toko-cari { animation: none; } }
@media (prefers-reduced-transparency: reduce) { .bio:has(.bilah.aktif) .etalase.mencari .toko-cari { background: var(--t-bg); } }

/* ---------- Checkout → Bayar → Terima kasih (lembar .tk-alur, 22 Nov 2026) ----------
   Kartu putih di atas latar abu, langkah 1-2-3, label mengambang, tombol utama menempel di bawah.
   Acuan: design/mockup/BioCheckout.html (pola Mobbin). */
.tk-alur { background: #f3f4f6; padding-bottom: 0; }
.tk-alur .tk-kepala { position: sticky; top: -10px; z-index: 2; margin: -10px -16px 0; padding: 6px 12px 4px; background: #f3f4f6; }
.tk-alur .tk-kepala h2 { flex: 1; text-align: center; font-size: 17px; }
.tk-alur .tk-kepala [data-tutup] { min-width: 44px; }
.tk-kembali { min-width: 44px; font-size: 26px !important; line-height: 1; color: #0f172a !important; order: -1; }
.tk-ikon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.tk-langkah { display: flex; margin: 4px 0 12px; padding: 0; list-style: none; }
.tk-langkah li { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; color: #94a3b8; text-align: center; }
.tk-langkah li + li::before { content: ''; position: absolute; top: 11px; right: 50%; width: 100%; height: 2px; background: #e2e8f0; z-index: 0; }
.tk-langkah li.selesai + li::before, .tk-langkah li.selesai::before, .tk-langkah li.aktif::before { background: #0e0e0d; }
.tk-langkah .bulat { position: relative; z-index: 1; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; font-size: 12px; font-weight: 800; color: #94a3b8; }
.tk-langkah .selesai .bulat { border-color: #0e0e0d; background: #0e0e0d; color: #fff; }
.tk-langkah .selesai .bulat .tk-ikon { width: 14px; height: 14px; stroke-width: 3; }
.tk-langkah .aktif .bulat { border-color: #0e0e0d; color: #0e0e0d; box-shadow: 0 0 0 4px rgba(14,14,13,.08); }
.tk-langkah .aktif, .tk-langkah .selesai { color: #0f172a; }

.tk-kartu { margin-top: 10px; padding: 14px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(15,23,42,.05); }
.tk-alur .tk-form { gap: 0; margin-top: 0; }
.tk-kartu-kepala { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: #0f172a; }
.tk-kartu-kepala h3 { flex: 1; font-size: 14px; line-height: 20px; font-weight: 800; }
.tk-tautan { border: 0; background: none; padding: 6px 0; color: #0f172a; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

.tk-item { display: grid; grid-template-columns: 48px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; }
.tk-item + .tk-item { border-top: 1px solid #f1f5f9; }
.tk-item img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; background: #f3f4f6; }
.tk-item b { display: block; font-size: 13.5px; line-height: 18px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tk-item small { display: block; margin-top: 2px; color: #64748b; font-size: 12px; line-height: 16px; }
.tk-item .harga-item { font-size: 13.5px; font-weight: 700; white-space: nowrap; }

/* Isian dengan label mengambang */
.tk-isian { position: relative; margin-top: 8px; }
.tk-alur .tk-form .tk-isian input, .tk-alur .tk-form .tk-isian textarea { display: block; width: 100%; min-height: 56px; padding: 24px 14px 8px; border: 1.5px solid #e2e8f0; border-radius: 12px;
  background: #fff; font: inherit; font-size: 16px; line-height: 22px; color: #0f172a; transition: border-color .15s, box-shadow .15s; }
.tk-alur .tk-form .tk-isian textarea { min-height: 76px; resize: none; }
.tk-isian label { position: absolute; left: 15px; top: 17px; right: 14px; pointer-events: none; color: #64748b; font-size: 15px; line-height: 20px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transform-origin: 0 0; transition: transform .15s, color .15s; }
.tk-isian.terisi label, .tk-isian :focus + label { transform: translateY(-10px) scale(.78); font-weight: 700; color: #475569; }
.tk-isian :focus { outline: none; border-color: #0e0e0d !important; box-shadow: 0 0 0 3px rgba(14,14,13,.08); }
.tk-isian.salah input, .tk-isian.salah textarea { border-color: #dc2626 !important; background: #fffafa !important; }
.tk-isian.salah label { color: #b42318; }
.tk-isian-galat { display: block; margin: 4px 2px 0; color: #b42318; font-size: 12.5px; line-height: 17px; font-weight: 600; }
.tk-bantu { margin-top: 8px; color: #64748b; font-size: 12.5px; line-height: 18px; }

.tk-metode { display: flex; align-items: center; gap: 12px; padding: 10px 0; }
.tk-metode + .tk-metode { border-top: 1px solid #f1f5f9; }
.tk-metode > .tk-ikon { width: 36px; height: 36px; padding: 8px; border-radius: 10px; background: #f1f5f9; }
.tk-metode b { display: block; font-size: 14px; font-weight: 700; }
.tk-metode small { display: block; color: #64748b; font-size: 12px; }
.tk-alur .tk-ringkas { margin-top: 0; gap: 8px 0; }
.tk-alur .tk-ringkas .total { padding-top: 10px; font-size: 18px; }

.tk-galat-kotak { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 12px 14px; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca;
  color: #991b1b; font-size: 13.5px; line-height: 19px; font-weight: 600; }
.tk-galat-kotak[hidden] { display: none; }
.tk-galat-kotak .tk-ikon { margin-top: 1px; color: #dc2626; }

/* Tombol utama menempel di bawah lembar */
.tk-kaki { position: sticky; bottom: 0; z-index: 2; margin: 14px -16px 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255,255,255,.96); border-top: 1px solid #e5e7eb; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tk-kaki-cat { margin: 0 0 8px; color: #64748b; font-size: 12px; line-height: 16px; text-align: center; }
.tk-kaki .tk-btn + .tk-kaki-cat { margin: 8px 0 0; }
.tk-btn.besar { width: 100%; min-height: 54px; border-radius: 14px; font-size: 16px; font-weight: 800; }
.tk-btn.utama.besar { justify-content: space-between; padding: 0 20px; }
.tk-btn.utama.besar:disabled { justify-content: center; opacity: .75; }
.tk-btn .jumlah { font-weight: 800; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.3); }
.tk-btn.wa .tk-ikon { width: 20px; height: 20px; }
.tk-putar { width: 18px; height: 18px; margin-right: 8px; border: 2.5px solid rgba(255,255,255,.35); border-top-color: #fff; border-radius: 50%; animation: tk-putar .7s linear infinite; }
@keyframes tk-putar { to { transform: rotate(360deg); } }

/* Pesanan berhasil */
.tk-sukses { padding: 18px 14px 14px; border-radius: 14px; background: #fff; text-align: center; }
.tk-sukses .centang { display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #16a34a; color: #fff; box-shadow: 0 0 0 8px #dcfce7; }
.tk-sukses .centang .tk-ikon { width: 30px; height: 30px; stroke-width: 2.6; }
.tk-sukses.baru .centang { animation: tk-pop .45s cubic-bezier(.2,1.4,.4,1) both; }
.tk-sukses.baru .centang path { stroke-dasharray: 24; stroke-dashoffset: 24; animation: tk-gores .35s .25s ease-out forwards; }
@keyframes tk-pop { from { transform: scale(.3); opacity: 0; } }
@keyframes tk-gores { to { stroke-dashoffset: 0; } }
.tk-sukses h3 { margin-top: 14px; font-size: 19px; line-height: 25px; font-weight: 800; }
.tk-sukses p { margin: 4px auto 0; max-width: 300px; color: #475569; font-size: 13.5px; line-height: 20px; }
.tk-sukses.besar { padding: 28px 16px 20px; }
.tk-sukses.besar .centang { width: 72px; height: 72px; box-shadow: 0 0 0 10px #dcfce7; }
.tk-sukses.besar .centang .tk-ikon { width: 38px; height: 38px; }
.tk-sukses .tk-kode { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 14px 0 0; padding: 10px 12px; border: 1.5px dashed #cbd5e1; border-radius: 12px; background: #f8fafc; text-align: left; }
.tk-sukses .tk-kode b { font-size: 18px; letter-spacing: .05em; }
.tk-salin { flex: none; min-height: 36px; padding: 0 14px; border: 1.5px solid #0e0e0d; border-radius: 999px; background: #fff; color: #0e0e0d; font-size: 13px; font-weight: 700; }
.tk-salin.ok { border-color: #16a34a; color: #15803d; background: #f0fdf4; }

.tk-total small { color: #64748b; font-size: 12.5px; }
.tk-total .baris-total { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 2px; }
.tk-total .baris-total b { font-size: 26px; line-height: 32px; font-weight: 800; letter-spacing: -.01em; }
.tk-info { display: flex; gap: 8px; margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: #fffbeb; color: #92400e; font-size: 12.5px; line-height: 18px; }
.tk-info .tk-ikon { width: 16px; height: 16px; margin-top: 1px; }

.tk-tab { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 10px; border-radius: 12px; background: #f1f5f9; }
.tk-tab button { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 40px; border: 0; border-radius: 9px; background: none; color: #64748b; font-size: 13.5px; font-weight: 700; }
.tk-tab button[aria-selected="true"] { background: #fff; color: #0f172a; box-shadow: 0 1px 3px rgba(15,23,42,.12); }
.tk-alur .tk-rek { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; margin-top: 0; padding: 12px 0; border: 0; border-radius: 0; }
.tk-alur .tk-rek + .tk-rek { border-top: 1px solid #f1f5f9; }
.tk-alur .tk-rek small { display: block; color: #64748b; font-size: 12px; line-height: 16px; }
.tk-alur .tk-rek b { display: block; font-size: 17px; line-height: 23px; letter-spacing: .03em; }
.tk-alur .tk-rek .tk-salin { grid-row: auto; grid-column: auto; }
.logo-bank { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 6px; background: #1e3a8a; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; }
.tk-qris-panel { text-align: center; }
.tk-alur .tk-qris { width: min(100%, 260px); margin: 4px auto 0; border-radius: 12px; }
.tk-urutan { margin: 0; padding: 0; list-style: none; counter-reset: u; display: grid; gap: 10px; }
.tk-urutan li { counter-increment: u; display: grid; grid-template-columns: 24px 1fr; gap: 10px; font-size: 13.5px; line-height: 20px; color: #334155; }
.tk-urutan li::before { content: counter(u); display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #0e0e0d; color: #fff; font-size: 12px; font-weight: 800; }
.tk-alur .tk-catatan { margin-top: 10px; border-radius: 12px; }

/* Linimasa status setelah konfirmasi */
.tk-lacak { margin: 0; padding: 0; list-style: none; }
.tk-lacak li { position: relative; padding: 0 0 16px 28px; color: #94a3b8; }
.tk-lacak li:last-child { padding-bottom: 0; }
.tk-lacak li::before { content: ''; position: absolute; left: 4px; top: 4px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid #cbd5e1; background: #fff; box-sizing: border-box; }
.tk-lacak li:not(:last-child)::after { content: ''; position: absolute; left: 9px; top: 18px; bottom: 2px; width: 2px; background: #e2e8f0; }
.tk-lacak li.selesai::before { background: #16a34a; border-color: #16a34a; }
.tk-lacak li.selesai::after { background: #16a34a; }
.tk-lacak li.aktif::before { border-color: #16a34a; box-shadow: 0 0 0 4px #dcfce7; }
.tk-lacak b { display: block; font-size: 14px; line-height: 20px; }
.tk-lacak small { display: block; font-size: 12px; line-height: 17px; }
.tk-lacak .selesai, .tk-lacak .aktif { color: #0f172a; }
.tk-lacak .selesai small, .tk-lacak .aktif small { color: #64748b; }
.tk-alur dl.tk-kartu { margin-top: 10px; }
.tk-alur > .tk-tombol { margin-top: 14px; }
.tk-tengah { margin: 8px 0 calc(16px + env(safe-area-inset-bottom, 0px)); text-align: center; }

.tk-terakhir { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: 14px; padding: 12px 14px; border: 1px solid #e2e8f0; border-radius: 12px; background: #f8fafc; text-align: left; }
.tk-terakhir > .tk-ikon { color: #16a34a; }
.tk-terakhir span:not(.panah) { flex: 1; }
.tk-terakhir small { display: block; color: #64748b; font-size: 12px; }
.tk-terakhir b { display: block; font-size: 14px; }
.tk-terakhir .panah { font-size: 22px; color: #94a3b8; }
@media (prefers-reduced-motion: reduce) {
  .tk-sukses.baru .centang, .tk-sukses.baru .centang path, .tk-putar { animation: none; stroke-dashoffset: 0; }
  .tk-isian label { transition: none; }
}
.tk-alur .tk-rek .tk-salin { min-height: 36px; padding: 0 14px; border: 1.5px solid #0e0e0d; border-radius: 999px; font-size: 13px; }
.tk-alur .tk-rek .tk-salin.ok { border-color: #16a34a; }
.tk-alur span.tk-kembali { display: block; width: 44px; }
.tk-galat-kotak .tk-tautan { color: #991b1b; font-size: inherit; padding: 0; }
.tk-alur .tk-tombol .tk-btn { white-space: nowrap; }

/* Isian alamat cepat: cari kecamatan/kota/kode pos → pilih kelurahan (22 Nov 2026) */
.tk-cari-wil > .tk-ikon { position: absolute; left: 14px; top: 19px; width: 18px; height: 18px; color: #64748b; pointer-events: none; }
.tk-alur .tk-form .tk-cari-wil input { padding-left: 42px; }
.tk-cari-wil label { left: 43px; }
.tk-saran { margin: 6px 0 0; padding: 4px; list-style: none; max-height: 280px; overflow-y: auto; border: 1px solid #e2e8f0; border-radius: 12px; background: #fff;
  box-shadow: 0 8px 24px rgba(15,23,42,.10); overscroll-behavior: contain; }
.tk-saran[hidden] { display: none; }
.tk-saran li[role="option"] { display: block; padding: 10px 12px; min-height: 44px; border-radius: 8px; cursor: pointer; }
.tk-saran li[role="option"] + li[role="option"] { border-top: 1px solid #f1f5f9; }
.tk-saran li[aria-selected="true"], .tk-saran li[role="option"]:hover { background: #f1f5f9; }
.tk-saran .kec { display: block; font-size: 14.5px; line-height: 20px; color: #334155; }
.tk-saran .kec b { color: #0f172a; font-weight: 800; }
.tk-saran small { display: block; margin-top: 1px; color: #64748b; font-size: 12px; line-height: 16px; }
.tk-saran-info { padding: 12px; color: #64748b; font-size: 13px; }
.tk-wil-pilih { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding: 12px 14px; border: 1.5px solid #0e0e0d; border-radius: 12px; background: #fff; }
.tk-wil-pilih[hidden] { display: none; }
.tk-wil-pilih > div { flex: 1; min-width: 0; }
.tk-wil-pilih b { display: block; font-size: 14px; line-height: 19px; }
.tk-wil-pilih small { display: block; color: #64748b; font-size: 12.5px; }
.tk-kel-w { margin-top: 8px; }
.tk-kel-w[hidden] { display: none; }
.tk-kel-w label { display: grid; gap: 4px; font-size: 12.5px; font-weight: 700; color: #475569; }
.tk-kel { width: 100%; min-height: 52px; padding: 0 40px 0 14px; border: 1.5px solid #e2e8f0; border-radius: 12px; font: inherit; font-size: 16px; color: #0f172a;
  -webkit-appearance: none; appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2364748b' stroke-width='1.8'/%3E%3C/svg%3E") no-repeat right 16px center; }
.tk-kel:focus { outline: none; border-color: #0e0e0d; box-shadow: 0 0 0 3px rgba(14,14,13,.08); }
.tk-kirimke { font-size: 14px; line-height: 20px; }
.tk-kirimke span { color: #475569; }
.tk-kirimke p { margin-top: 4px; color: #475569; font-size: 13.5px; line-height: 19px; }
.tk-kartu[hidden] { display: none; }

/* Metode pembayaran & rincian ala Shopee (22 Nov 2026) */
.tk-opsi { display: grid; }
.tk-opsi button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 60px; padding: 10px 0; border: 0; background: none; text-align: left; }
.tk-opsi button + button { border-top: 1px solid #f1f5f9; }
.tk-opsi .op-isi { flex: 1; min-width: 0; }
.tk-opsi .op-isi b { display: block; font-size: 14.5px; line-height: 20px; font-weight: 700; }
.tk-opsi .op-isi small { display: block; color: #64748b; font-size: 12px; line-height: 16px; }
.tk-opsi .radio { display: grid; place-items: center; width: 24px; height: 24px; flex: none; border: 1.5px solid #cbd5e1; border-radius: 50%; color: transparent; }
.tk-opsi .radio .tk-ikon { width: 14px; height: 14px; stroke-width: 3; }
.tk-opsi [aria-checked="true"] .radio { border-color: #e02954; background: #e02954; color: #fff; }
.logo-bank.qris { background: #fff; color: #0f172a; border: 1.5px solid #0f172a; font-size: 10px; }
.tk-rincian dt, .tk-rincian dd { font-size: 14px; color: #475569; }
.tk-rincian dd { color: #0f172a; }
.tk-rincian .minus { color: #e02954; }
.tk-rincian dt.minus { color: #475569; }
.tk-alur .tk-rincian .total { font-size: 15px; font-weight: 700; color: #0f172a; padding-top: 12px; }
.tk-alur .tk-rincian dd.total { font-size: 16px; font-weight: 800; }
.tk-kaki-total { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.tk-total-kaki { flex: 1; text-align: right; line-height: 1.2; }
.tk-total-kaki span { display: block; font-size: 14px; color: #334155; }
.tk-total-kaki span b { font-size: 20px; font-weight: 800; color: #e02954; letter-spacing: -.01em; }
.tk-total-kaki small { display: block; margin-top: 2px; font-size: 12.5px; color: #334155; }
.tk-total-kaki small b { color: #e02954; font-weight: 700; }
.tk-total-kaki small.netral { color: #64748b; }
.tk-btn.tk-buat { flex: none; min-width: 148px; min-height: 52px; border-radius: 12px; font-size: 16px; font-weight: 800; }
.tk-alur .tk-rek.dipilih { margin: 0 -8px; padding: 12px 8px; border-radius: 10px; background: #fff1f4; }

/* Revisi 22 Nov 2026 malam: penerima+alamat satu kartu, catatan di kartu pesanan, radio metode bayar dengan logo,
   halaman QRIS sederhana, tombol WhatsApp hanya untuk transfer. */
.tk-garis { margin: 14px 0 6px; border: 0; border-top: 1px dashed #e2e8f0; }
.tk-catatan-isian { margin-top: 4px; padding-top: 4px; border-top: 1px solid #f1f5f9; }
.tk-alur .tk-form .tk-catatan-isian textarea { min-height: 56px; }
.tk-opsi button { gap: 12px; }
.tk-opsi .radio { width: 22px; height: 22px; border: 2px solid #cbd5e1; background: #fff; }
.tk-opsi [aria-checked="true"] .radio { border-color: #e02954; background: #fff; box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 12px #e02954; }
.op-logo { flex: none; display: flex; align-items: center; justify-content: flex-end; width: 64px; }
.tk-logo-bayar { display: block; max-width: 64px; max-height: 24px; width: auto; height: auto; }
.tk-sukses.kecil { display: flex; align-items: center; gap: 14px; padding: 14px; text-align: left; }
.tk-sukses.kecil .centang { flex: none; width: 40px; height: 40px; box-shadow: 0 0 0 5px #dcfce7; }
.tk-sukses.kecil .centang .tk-ikon { width: 22px; height: 22px; }
.tk-sukses.kecil h3 { margin: 0; font-size: 16px; line-height: 22px; }
.tk-sukses.kecil p { margin: 2px 0 0; max-width: none; font-size: 13px; line-height: 18px; }
.tk-qr { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tk-qr[hidden] { display: none; }
.tk-qr-kepala { display: flex; align-items: center; gap: 10px; margin: 4px 0 10px; font-size: 13px; font-weight: 700; color: #334155; }
.tk-qr-kepala .tk-logo-bayar { max-height: 22px; }
.tk-alur .tk-qr .tk-qris { width: min(100%, 240px); margin: 0 0 12px; padding: 10px; border: 1px solid #e2e8f0; border-radius: 16px; background: #fff; }
.tk-qr small { color: #64748b; font-size: 12.5px; }
.tk-qr-jumlah { font-size: 26px; line-height: 32px; font-weight: 800; letter-spacing: -.01em; }
.tk-qr .tk-info { text-align: left; }
.tk-qr-cara { margin: 12px 0 14px; max-width: 300px; color: #475569; font-size: 13px; line-height: 19px; }
.tk-qr > .tk-btn { width: 100%; flex: none; }
.tk-kaki[hidden] { display: none; }
.tk-alur .tk-rek .op-logo { width: 56px; justify-content: flex-start; }
.tk-alur .tk-rek { grid-template-columns: 56px 1fr auto; }
.tk-tab button { min-height: 42px; font-size: 14px; }
.tk-alur .tk-total { margin-bottom: 4px; }
.tk-alur .tk-urutan { margin-top: 14px; }
.tk-alur .tk-panel + .tk-catatan { margin-top: 8px; }
.tk-alur .tk-rek { grid-template-columns: 64px 1fr auto; gap: 14px; }
.tk-alur .tk-rek .op-logo { width: 64px; }
.tk-alur .tk-rek .tk-logo-bayar { max-width: 60px; max-height: 20px; }
.tk-sukses.kecil .centang { margin-left: 5px; }

/* Saat mengetik di Checkout: bilah total disembunyikan, ruang gulir ditambah supaya kolom bisa naik ke atas. */
.tk-lembar.mengetik .tk-kaki { display: none; }
.tk-lembar.mengetik .tk-form { padding-bottom: 70vh; }
.tk-saran { max-height: none; }
/* Catatan untuk penjual: tumbuh mengikuti isi, satu baris saat kosong. */
.tk-alur .tk-form .tk-isian textarea { overflow-y: auto; }
.tk-alur .tk-form .tk-catatan-isian textarea { min-height: 56px; height: 56px; line-height: 22px; }
.tk-catatan-isian { margin-top: 8px; padding-top: 2px; border-top: 0; }
