/* ===== Beu! design system v2 (dimuat paling akhir) =====
   Tipografi: Plus Jakarta Sans. Warna: merah #E53935 (aksi utama), hijau #2E7D32 (lokal/alam), kuning #FFB300 & oranye #F4511E (aksen),
   charcoal #1C1715 (teks), putih hangat #FFFAF6 (dasar). Radius: 10 / 14 / 20. Bayangan: satu tingkat lembut. */

body { font-size: 15.5px; }
h1 { font-weight: 800; letter-spacing: -.02em; }
.hint { font-size: 13.5px; }

/* Kartu: pemisah dari bayangan lembut, bukan border di mana-mana */
.panel, .cat, .biz-card, .how li, .empty-card.solid { border-color: transparent; box-shadow: 0 1px 2px rgba(28,23,21,.05), 0 4px 14px -6px rgba(28,23,21,.12); }
:root[data-theme="dark"] .panel, :root[data-theme="dark"] .cat, :root[data-theme="dark"] .biz-card { border-color: var(--border); }
.panel { border-radius: var(--r-lg); }
a.panel:hover, a.cat:hover, .biz-card:hover { box-shadow: 0 2px 4px rgba(28,23,21,.06), 0 10px 24px -8px rgba(28,23,21,.18); transform: translateY(-1px); }

/* Tombol: solid, kontras tinggi, target sentuh nyaman */
.btn { background: var(--primary); box-shadow: none; border-radius: var(--r-md); min-height: 46px; padding: 0 22px; font-weight: 700; letter-spacing: 0; }
.btn:hover { background: var(--primary-dark); filter: none; box-shadow: none; transform: none; }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 40px; padding: 0 16px; border-radius: var(--r-sm); }
.btn-lg { min-height: 54px; border-radius: var(--r-md); }
.btn-ghost { background: transparent; color: var(--text); border: 1.5px solid var(--border-strong); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-danger { background: #b71c1c; }
.btn-danger:hover { background: #8e1515; }
.btn-light { background: #fff; color: var(--primary-dark); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .5; }
@media (pointer: coarse) { .btn-sm { min-height: 44px; } .link-btn { min-height: 44px; } .pick-tabs button { min-height: 46px; } }

/* Status pengiriman formulir: cegah klik berulang, tampilkan "memproses" */
.btn.is-loading { position: relative; color: transparent !important; pointer-events: none; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
.btn-ghost.is-loading::after { border-color: var(--border-strong); border-top-color: var(--text); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Input */
input, select, textarea { border-radius: var(--r-md); min-height: 46px; border: 1.5px solid var(--border-strong); }
textarea { min-height: 88px; }
input[type="checkbox"], input[type="radio"] { min-height: 0; width: 20px; height: 20px; }
label { font-weight: 700; }
.field-error { color: var(--danger); font-size: 13px; margin-top: 4px; }

/* Header & navigasi bawah: solid, tanpa kaca */
.topbar { box-shadow: 0 1px 0 var(--border); border-bottom: 0; }
.tabbar { background: var(--panel); border: 0; border-radius: var(--r-lg); box-shadow: 0 -2px 20px rgba(28,23,21,.10), 0 2px 6px rgba(28,23,21,.06); }
.tabbar a { position: relative; border-radius: var(--r-md); }
.tabbar a.on { background: color-mix(in srgb, var(--primary) 10%, transparent); }
.tabbar .dotbadge { position: absolute; top: 4px; left: calc(50% + 8px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; }

/* Ikon layanan: palet merek (merah, oranye, kuning, hijau, charcoal) */
.cat-ico { box-shadow: none; }
.cat-ico::after { display: none; }
.cat-ico .svc-glyph { filter: none; }
.cat { border-radius: var(--r-lg); }
.cat-txt strong { font-size: 15px; }
.cat.soon { background: transparent; border: 1.5px dashed var(--border-strong); box-shadow: none; }
.cat.soon .cat-ico { opacity: .55; filter: grayscale(.2); }
.badge-soon { font-size: 11.5px; font-weight: 700; color: var(--muted); background: var(--surface-2); padding: 2px 9px; border-radius: 999px; }

/* Sapaan & pesanan aktif di beranda */
.greet { display: flex; align-items: center; gap: 14px; padding: 18px 0 4px; }
.greet img { width: 64px; height: 64px; object-fit: contain; flex: none; }
.greet h1 { font-size: 24px; margin: 0; }
.greet p { margin: 2px 0 0; color: var(--muted); }
.active-orders { display: grid; gap: 10px; margin-top: 18px; }
.active-order { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: var(--r-lg); background: var(--panel); box-shadow: 0 1px 2px rgba(28,23,21,.05), 0 4px 14px -6px rgba(28,23,21,.12); color: var(--text); border-left: 4px solid var(--primary); }
.active-order:hover { text-decoration: none; }
.active-order .ao-ico { width: 42px; height: 42px; border-radius: var(--r-md); display: grid; place-items: center; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary); flex: none; }
.active-order strong { display: block; font-size: 15px; }
.active-order span.ao-sub { color: var(--muted); font-size: 13.5px; }
.active-order .ao-go { margin-left: auto; color: var(--primary); font-weight: 700; font-size: 13.5px; display: inline-flex; gap: 4px; align-items: center; white-space: nowrap; }

/* Status pesanan: garis waktu dengan langkah berikutnya */
.next-step { display: flex; gap: 12px; padding: 14px 16px; border-radius: var(--r-md); background: color-mix(in srgb, var(--primary) 8%, var(--panel)); margin: 14px 0; }
.next-step .ns-ico { flex: none; color: var(--primary); }
.next-step strong { display: block; }
.next-step p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.next-step.done { background: color-mix(in srgb, var(--success) 10%, var(--panel)); }
.next-step.done .ns-ico { color: var(--success); }
.next-step.cancelled { background: var(--surface-2); }
.next-step.cancelled .ns-ico { color: var(--muted); }
.timeline { list-style: none; margin: 14px 0; padding: 0; display: grid; gap: 0; }
.timeline li { position: relative; display: flex; gap: 12px; padding: 0 0 18px 0; color: var(--muted); font-size: 14px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 11px; top: 24px; bottom: 0; width: 2px; background: var(--border-strong); }
.timeline li:last-child::before { display: none; }
.timeline .tl-dot { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--panel); display: grid; place-items: center; flex: none; color: #fff; }
.timeline li.done { color: var(--text); }
.timeline li.done .tl-dot { background: var(--primary); border-color: var(--primary); }
.timeline li.done::before { background: var(--primary); }
.timeline li.now { color: var(--text); font-weight: 700; }
.timeline li.now .tl-dot { border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.timeline .tl-dot svg { width: 14px; height: 14px; }

/* Penjelasan alur (mis. estimasi vs total akhir laundry) */
.explain { display: grid; gap: 10px; margin: 12px 0; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); font-size: 14px; }
.explain ol { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
.explain b { color: var(--text); }

/* Halaman galat */
.err-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.err-card { max-width: 440px; text-align: center; }
.err-card img { width: 120px; height: 120px; object-fit: contain; }
.err-code { margin: 8px 0 0; font-weight: 800; color: var(--primary); letter-spacing: .12em; font-size: 14px; }
.err-card h1 { font-size: 26px; margin: 6px 0 8px; }
.err-text { color: var(--muted); margin: 0 0 22px; line-height: 1.6; }
.err-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* Halaman layanan: judul + kembali */
.page-head { display: flex; align-items: center; gap: 10px; margin: 4px 0 16px; }
.page-head .back { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); box-shadow: 0 1px 2px rgba(28,23,21,.08); color: var(--text); flex: none; }
.page-head .back:hover { text-decoration: none; background: var(--surface-2); }
.page-head h1 { margin: 0; font-size: 22px; }

/* Ringkasan harga */
.price-lines { display: grid; gap: 6px; }
.price-lines .pl { display: flex; justify-content: space-between; gap: 12px; }
.price-lines .pl.total { font-size: 18px; font-weight: 800; padding-top: 8px; margin-top: 4px; border-top: 1px dashed var(--border-strong); }
.price-lines .pl span:first-child { color: var(--muted); }
.price-lines .pl.total span:first-child { color: var(--text); }
.cash-note { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.cash-note svg { flex: none; margin-top: 2px; color: var(--green); }

/* Daftar periksa (etalase) tanpa emoji */
.checks li { display: flex; gap: 8px; align-items: center; }
.checks li svg { flex: none; }
.checks li.done svg { color: var(--success); }

/* Pilihan radio berbentuk kartu */
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--r-md); margin-bottom: 8px; cursor: pointer; font-weight: 400; }
.choice:has(input:checked) { border-color: var(--primary); background: color-mix(in srgb, var(--primary) 6%, var(--panel)); }
.choice input { margin-top: 2px; flex: none; }

/* ===== Mobile: beranda ringkas (360-430px) ===== */
.hero-reg { align-self: center; font-weight: 700; color: var(--primary); }
@media (max-width: 760px) {
  body { background: #FFFAF6; padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  :root[data-theme="dark"] body { background: var(--bg); }
  main { padding: 8px 0 24px; }
  /* Hero: teks kiri, maskot kanan, satu CTA utama */
  .hero { grid-template-columns: 1fr 112px; gap: 8px; align-items: end; padding: 4px 0 0; }
  .hero-art { order: 0; justify-items: end; align-self: end; }
  .hero-art img { height: 150px; }
  .hero-art::before { width: 130px; height: 130px; }
  .hero .eyebrow { margin: 0 0 6px; padding: 0; background: none; color: var(--green); font-size: 12.5px; }
  .hero h1 { font-size: 36px; margin: 0 0 6px; }
  .hero .lead { font-size: 14.5px; line-height: 1.45; max-width: none; }
  .hero-copy { min-width: 0; }
  .hero .cta { grid-column: 1 / -1; margin-top: 10px; gap: 8px; flex-wrap: nowrap; align-items: center; }
  .hero .cta .btn { flex: 1 1 auto; min-height: 48px; }
  .hero .cta .btn { white-space: nowrap; }
  .hero .cta .hero-reg { display: none; } /* "Daftar" sudah ada di header */
  /* Pencarian tepat di bawah hero */
  .finder { margin-top: 14px; }
  .search-bar { border-radius: var(--r-md); padding: 4px 4px 4px 12px; }
  .search-bar input { padding: 10px 2px; }
  .search-bar .btn { min-height: 42px; padding: 0 16px; }
  .loc-row { margin-top: 8px; }
  /* Grid layanan 3 kolom, ikon di atas, tanpa subteks */
  .block { margin-top: 20px; }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .cat { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 12px 6px; border-radius: var(--r-md); }
  .cat-ico { width: 44px; height: 44px; border-radius: var(--r-sm); background: color-mix(in srgb, var(--g1) 12%, #fff); }
  .cat-ico .svc-glyph { width: 28px; height: 28px; stroke: var(--g1); }
  .cat-txt strong { font-size: 13.5px; }
  .cat-txt small { display: none; }
  .cat.soon .cat-txt small { display: block; font-size: 11px; margin-top: 1px; }
  /* Navigasi bawah: padat, solid, status aktif jelas */
  .tabbar { left: 0; right: 0; bottom: 0; border-radius: var(--r-lg) var(--r-lg) 0 0; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); box-shadow: 0 -1px 0 var(--border), 0 -6px 20px rgba(28,23,21,.06); }
  .tabbar a { min-height: 48px; font-size: 11.5px; }
  .tabbar a.on { background: none; }
  .tabbar a.on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--primary); }
}

/* Chat per pesanan */
.chat summary { cursor: pointer; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.chat-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); }
.chat-log { display: flex; flex-direction: column; gap: 8px; max-height: 280px; overflow-y: auto; margin: 12px 0; padding: 2px; }
.chat .msg { max-width: 85%; align-self: flex-start; background: var(--surface-2); border-radius: var(--r-md); padding: 8px 12px; }
.chat .msg.mine { align-self: flex-end; background: color-mix(in srgb, var(--primary) 12%, var(--panel)); }
.chat .msg .who { display: block; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.chat .msg p { margin: 2px 0 0; overflow-wrap: anywhere; }
.chat-form { display: flex; gap: 8px; }
.chat-form input { flex: 1; min-width: 0; }
.pay-choice { display: grid; gap: 0; }

/* Halaman informasi (syarat, privasi, pengembalian dana, kontak) */
.legal { max-width: 720px; margin: 0 auto; padding-bottom: 24px; }
.legal h1 { font-size: 28px; margin: 6px 0 4px; }
.legal h2 { font-size: 18px; margin: 26px 0 8px; }
.legal p, .legal li { line-height: 1.7; }
.legal ul { padding-left: 20px; display: grid; gap: 6px; margin: 8px 0; }
.legal-contact { display: grid; grid-template-columns: 110px 1fr; gap: 8px 12px; margin: 12px 0 0; }
.legal-contact dt { color: var(--muted); font-weight: 700; }
.legal-contact dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .legal-contact { grid-template-columns: 1fr; gap: 2px; } .legal-contact dd { margin-bottom: 8px; } }
@media (min-width: 761px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }

/* Saran alamat saat mengetik */
.places { position: absolute; left: 0; right: 0; z-index: 800; margin: 4px 0 0; padding: 4px; list-style: none; background: var(--surface); border: 1.5px solid var(--border-strong, var(--border)); border-radius: 14px; box-shadow: 0 12px 32px rgba(0,0,0,.16); max-height: 280px; overflow-y: auto; }
.places li { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; cursor: pointer; line-height: 1.3; }
.places li strong { font-size: 15px; color: var(--text); }
.places li span { font-size: 13px; color: var(--muted); }
.places li:hover, .places li.on { background: var(--surface-2); }

/* ===== Beranda baru: logo, grid layanan 3D, banner, rekomendasi ===== */
.brand img { height: 34px; width: auto; filter: none; }
@media (max-width: 760px) { .brand img { height: 30px; } }

/* Grid layanan: 4 kolom, ikon 3D di atas label */
.svc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px 8px; }
.svc { display: flex; flex-direction: column; align-items: center; gap: 7px; height: 100%; text-align: center; color: var(--text); -webkit-tap-highlight-color: transparent; }
.svc:hover { text-decoration: none; }
a.svc:active .svc-ico { transform: scale(.95); }
.svc-ico { display: block; width: 100%; max-width: 76px; aspect-ratio: 1; border-radius: 22%; overflow: hidden; box-shadow: 0 8px 16px -10px rgba(28,23,21,.45); transition: transform .12s; }
.svc-ico img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-label { font-size: clamp(11px, 3.1vw, 13.5px); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere; }
.svc-note { margin-top: -3px; font-size: 10px; font-weight: 600; line-height: 1.2; color: var(--muted); }
.svc.soon { cursor: default; }
.svc.soon .svc-ico { filter: grayscale(.45); opacity: .6; box-shadow: none; }
.svc.soon .svc-label { color: var(--muted); }
@media (min-width: 560px) and (max-width: 899px) { .svc-ico { max-width: 88px; } }
@media (min-width: 900px) { .svc-grid { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 16px 12px; } .svc-label { font-size: 14px; } }


/* Rekomendasi: baris geser di ponsel, grid di layar lebar */
.rec-row { list-style: none; margin: 0; padding: 2px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.rec-card { display: flex; flex-direction: column; height: 100%; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); color: var(--text); }
.rec-card:hover { text-decoration: none; }
.rec-photo { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--surface-2); }
.rec-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.rec-ava { position: absolute; inset: 0; display: grid; place-items: center; font-size: 40px; font-weight: 800; color: var(--t); background: color-mix(in srgb, var(--t) 14%, var(--panel)); }
.rec-status { position: absolute; top: 8px; left: 8px; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: rgba(28,23,21,.72); color: #fff; }
.rec-status.open { background: #2e7d46; }
.rec-body { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px 14px; min-width: 0; }
.rec-body strong { font-size: 15px; line-height: 1.25; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.rec-meta { color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.rec-price { margin-top: 2px; font-size: 13px; }
.rec-price b { color: var(--primary); }
@media (max-width: 760px) {
  .rec-row { display: flex; margin: 0 -16px; padding: 2px 16px 10px; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rec-row::-webkit-scrollbar { display: none; }
  .rec-row > li { flex: 0 0 min(220px, 66vw); scroll-snap-align: start; }
}

/* Avatar akun di header ponsel */
.nav-avatar { display: none; }
@media (max-width: 760px) {
  .nav-avatar { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; font-size: 15px; }
  .nav-avatar:hover { text-decoration: none; background: var(--primary-dark); }
}
.loc-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 14px; }
.loc-row .link-btn { padding: 4px 0; }

/* Promo Spesial (ditulis admin) */
.promo-row { list-style: none; margin: 0; padding: 2px 0 8px; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.promo-card { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 16px 16px; border-radius: 18px; color: var(--text); background: linear-gradient(150deg, color-mix(in srgb, var(--accent) 22%, var(--panel)) 0%, var(--panel) 70%); border: 1px solid var(--border); box-shadow: var(--shadow); }
a.promo-card:hover { text-decoration: none; border-color: var(--primary); }
.promo-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.promo-top img { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; }
.promo-kind { padding: 3px 10px; border-radius: 999px; background: var(--primary); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.promo-title { font-size: 15px; line-height: 1.3; }
.promo-hl { font-size: 26px; font-weight: 800; letter-spacing: -.02em; line-height: 1.1; color: var(--primary); }
.promo-note { font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.promo-until { margin-top: auto; font-size: 12px; font-weight: 700; color: var(--muted); }
.promo-form .promo-dates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 760px) {
  .promo-row { display: flex; margin: 0 -16px; padding: 2px 16px 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .promo-row::-webkit-scrollbar { display: none; }
  .promo-row > li { flex: 0 0 min(250px, 72vw); scroll-snap-align: start; }
}

/* Kolom pencarian ala mockup: pil penuh, ikon di kiri, tanpa tombol terlihat (Enter / tombol cari di papan ketik) */
.search-bar { height: 54px; padding: 0 20px; gap: 10px; border: 1px solid var(--border); border-radius: 999px; background: var(--panel); box-shadow: 0 6px 20px -8px rgba(28,23,21,.22), 0 1px 3px rgba(28,23,21,.06); }
.search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring), 0 6px 20px -8px rgba(28,23,21,.22); }
.search-bar .s-ico { flex: none; width: 22px; height: 22px; color: var(--muted); }
.search-bar input { padding: 0; height: 100%; font-size: 16px; }
.search-bar input::placeholder { color: var(--muted); opacity: .85; font-size: 14.5px; }
.search-bar input::-webkit-search-cancel-button { -webkit-appearance: none; display: none; }
.search-bar .sr-only { position: absolute; width: 1px; height: 1px; min-height: 0; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); border: 0; white-space: nowrap; }

/* Deretan keunggulan di akhir beranda */
.value-strip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; margin-top: 32px; padding: 20px 16px; border-radius: 22px; background: var(--panel); border: 1px solid var(--border); box-shadow: var(--shadow); }
.vs-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.vs-item svg { margin-bottom: 4px; }
.vs-red { color: var(--primary); }
.vs-gold { color: #d99a1f; }
.vs-item strong { font-size: 14px; line-height: 1.25; }
.vs-item span { font-size: 12px; line-height: 1.4; color: var(--muted); }
@media (min-width: 640px) { .value-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 24px 20px; } .vs-item strong { font-size: 15px; } .vs-item span { font-size: 13px; } }

/* Tombol B di tengah menu bawah (ponsel) */
@media (max-width: 760px) {
  .tabbar { overflow: visible; }
  .tabbar .tab-b { flex: 0 0 72px; position: relative; padding: 0; background: none; }
  .tabbar .tab-b.on::before { display: none; }
  .tabbar .tab-b-ico { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); width: 62px; height: 62px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #fff 0%, #fff1ed 100%); border: 3px solid var(--primary); box-shadow: 0 0 0 4px var(--panel), 0 12px 22px -6px rgba(229,57,53,.55); transition: transform .12s; }
.tabbar .tab-b-ico img { width: 34px; height: auto; display: block; filter: drop-shadow(0 2px 3px rgba(198,40,40,.35)); }
.tabbar .tab-b:active .tab-b-ico { transform: translateX(-50%) scale(.94); }
  .tabbar .tab-b:focus-visible .tab-b-ico { outline: 3px solid var(--primary); outline-offset: 3px; }
}



/* Banner utama: kartu mengikuti tinggi teks, kepala maskot menyembul keluar dari tepi atas kartu */
.promo-banner { position: relative; margin-top: 46px; border-radius: 22px; color: #fff; isolation: isolate;
  background: radial-gradient(120% 140% at 92% 0%, #ff7a55 0%, rgba(255,122,85,0) 55%), linear-gradient(135deg, #e53935 0%, #c62828 100%); box-shadow: 0 14px 28px -16px rgba(198,40,40,.7); }
.pb-copy { position: relative; z-index: 1; padding: 20px 38% 20px 18px; min-width: 0; }
.pb-eyebrow { margin: 0 0 6px; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #ffd98a; }
.promo-banner h2 { margin: 0 0 8px; font-size: clamp(16px, 5vw, 28px); line-height: 1.12; letter-spacing: -.02em; color: #fff; }
.promo-banner h2 span { display: block; white-space: nowrap; }
.pb-sub { margin: 0; font-size: 13.5px; line-height: 1.45; color: rgba(255,255,255,.92); }
.pb-art { position: absolute; z-index: 2; right: 10px; bottom: 0; width: auto; max-width: 34%; height: calc(100% + 34px); object-fit: contain; object-position: center bottom; filter: drop-shadow(0 8px 12px rgba(0,0,0,.28)); pointer-events: none; }
@media (max-width: 360px) { .pb-copy { padding: 18px 36% 18px 14px; } .pb-art { right: 6px; } }
@media (min-width: 761px) {
  .promo-banner { margin-top: 64px; }
  .pb-copy { padding: 32px 230px 32px 36px; min-height: 236px; display: flex; flex-direction: column; justify-content: center; }
  .promo-banner h2 { font-size: 30px; }
  .pb-sub { font-size: 15px; }
  .pb-art { right: 48px; max-width: 170px; height: calc(100% + 56px); }
}

/* Banner ajakan mitra: sama dengan banner utama */
.pb-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 12px; }
.promo-banner .btn-light { min-height: 44px; padding: 0 16px; white-space: nowrap; }
.pb-link { color: #fff; font-size: 13.5px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pb-link:hover { color: #fff; }
.partner-banner { margin-top: 52px; }
@media (min-width: 761px) { .pb-actions { flex-direction: row; align-items: center; gap: 18px; } .pb-link { font-size: 15px; } }
.partner-banner .pb-copy { padding-right: 41%; }
@media (min-width: 761px) { .partner-banner { margin-top: 76px; } .partner-banner .pb-copy { padding-right: 230px; } }

/* Footer: hanya merek dan informasi hukum */
.footer-grid { grid-template-columns: 1fr; }
@media (min-width: 761px) { .footer-grid { grid-template-columns: 1.6fr 1fr; } }
