/* ===== Beranda & komponen publik (revisi) =====
   Sistem jarak 4/8/12/16/24/32/48, radius 14-22, bayangan lembut. Memakai token dari beu.css. */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--text); color: var(--panel); padding: 10px 16px; border-radius: 10px; font-weight: 700; transition: top .15s; }
.skip-link:focus { top: 12px; text-decoration: none; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 6px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: none; }
.brand span { background: none; -webkit-text-fill-color: initial; color: var(--primary); }
.btn-lg { padding: 14px 24px; font-size: 16px; border-radius: 14px; min-height: 52px; }
.btn-light { background: #fff; color: var(--primary-dark); box-shadow: 0 6px 16px -8px rgba(0,0,0,.35); }
.btn-light:hover { background: #fff; color: var(--primary-dark); filter: none; }
.block { margin-top: 40px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.section-head a, .section-head .hint { font-size: 13.5px; font-weight: 600; }

.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; padding: 24px 0 8px; }
.hero .eyebrow { display: inline-block; margin: 0 0 12px; padding: 5px 12px; border-radius: 999px; background: color-mix(in srgb, var(--primary) 10%, transparent); color: var(--primary-dark); font-size: 13px; font-weight: 700; letter-spacing: .02em; }
.hero h1 { font-size: 56px; line-height: 1.02; letter-spacing: -.04em; margin: 0 0 12px; }
.hero h1 span { color: var(--primary); }
.hero .lead { font-size: 19px; line-height: 1.5; color: var(--muted); margin: 0; max-width: 34ch; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.hero-art { position: relative; display: grid; place-items: center; }
.hero-art::before { content: ""; position: absolute; width: 340px; height: 340px; max-width: 90%; border-radius: 50%; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--primary) 16%, transparent), transparent 70%); }
.hero-art img { position: relative; height: 440px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 14px 14px rgba(28,23,21,.16)); }

.finder { margin-top: 24px; }
.search-bar { position: relative; display: flex; align-items: center; gap: 8px; background: var(--panel); border: 1.5px solid var(--border-strong); border-radius: 16px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); transition: border-color .15s, box-shadow .15s; }
.search-bar:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px var(--ring); }
.search-bar .s-ico { color: var(--muted); }
.search-bar input { border: 0; background: transparent; padding: 12px 4px; min-width: 0; flex: 1; box-shadow: none; font-size: 16px; }
.search-bar input:focus { box-shadow: none; border: 0; }
.search-bar .btn { min-height: 46px; padding: 0 22px; }
.loc-row { display: flex; align-items: center; gap: 8px 14px; flex-wrap: wrap; margin-top: 12px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--surface-2); color: var(--text); font-size: 13px; font-weight: 600; }
.link-btn { background: none; border: 0; padding: 8px 0; color: var(--primary); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.cat-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.cat { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; height: 100%; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); color: var(--text); transition: transform .15s, box-shadow .15s, border-color .15s; }
a.cat:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); border-color: var(--border-strong); text-decoration: none; }
.cat-ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(150deg, var(--g1), var(--g2)); box-shadow: 0 8px 14px -8px var(--g1); }
.cat-ico .svc-glyph { width: 30px; height: 30px; }
.cat-txt strong { display: block; font-size: 15px; line-height: 1.25; letter-spacing: -.01em; }
.cat-txt small { display: block; margin-top: 2px; color: var(--muted); font-size: 12.5px; line-height: 1.35; }
.cat.soon { background: var(--surface-2); box-shadow: none; border-style: dashed; cursor: default; }
.cat.soon .cat-ico { filter: grayscale(.35); opacity: .75; }
.cat.soon .cat-txt small { font-weight: 600; }

.biz-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.biz-card { display: flex; gap: 14px; align-items: center; padding: 14px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); color: var(--text); transition: transform .15s, box-shadow .15s; }
.biz-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); text-decoration: none; }
.biz-ava { flex: none; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: color-mix(in srgb, var(--t) 14%, var(--panel)); color: var(--t); font-size: 24px; font-weight: 800; }
.biz-body { min-width: 0; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.biz-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.biz-top strong { font-size: 15.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.biz-meta { color: var(--muted); font-size: 13px; line-height: 1.4; }
.biz-meta strong { color: var(--text); }

.empty-card { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding: 20px; background: var(--panel); border: 1.5px dashed var(--border-strong); border-radius: 18px; color: var(--muted); }
.empty-card > div { flex: 1; min-width: 220px; }
.empty-card strong { display: block; color: var(--text); font-size: 16px; }
.empty-card p { margin: 2px 0 0; font-size: 14px; }

.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-top: 40px; padding: 32px; border-radius: 22px; background: var(--primary); color: #fff; }
.cta-band h2 { margin: 0 0 6px; font-size: 26px; letter-spacing: -.025em; color: #fff; }
.cta-band p { margin: 0; max-width: 46ch; font-size: 15.5px; line-height: 1.5; color: rgba(255,255,255,.92); }
.cta-actions { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.cta-link { color: #fff; font-weight: 600; font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }

.how { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(3, 1fr); }
.how li { display: flex; gap: 12px; padding: 16px; background: var(--panel); border: 1px solid var(--border); border-radius: 16px; }
.how .num { flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff; font-weight: 800; display: grid; place-items: center; }
.how strong { display: block; }
.how p { margin: 2px 0 0; color: var(--muted); font-size: 13.5px; }

.footer { margin-top: 48px; border-top: 1px solid var(--border); background: var(--panel); padding: 32px 0 24px; color: var(--muted); font-size: 14px; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1.4fr 1fr 1fr; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: var(--text); margin-bottom: 8px; }
.footer p { margin: 0; line-height: 1.6; }
.footer nav { display: flex; flex-direction: column; gap: 4px; }
.footer nav strong { color: var(--text); margin-bottom: 4px; }
.footer nav a { color: var(--muted); padding: 5px 0; }
.footer nav a:hover { color: var(--primary); }
.footer .footer-copy { margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--border); font-size: 13px; }

.tabbar { display: none; }
@media (min-width: 640px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .cat-grid { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  .topbar .wrap { height: 56px; }
  .brand img { height: 30px; width: auto; }
  .brand { font-size: 19px; }
  .nav .nav-desk { display: none; }
  main { padding-top: 12px; }
  h1 { font-size: 23px; }
  .hero { grid-template-columns: 1fr; gap: 12px; padding-top: 8px; text-align: left; }
  .hero-art { order: -1; justify-items: start; }
  .hero-art img { height: 200px; }
  .hero-art::before { width: 200px; height: 200px; }
  .hero h1 { font-size: 44px; }
  .hero .lead { font-size: 17px; }
  .hero .cta .btn { flex: 1 1 100%; }
  .block { margin-top: 32px; }
  .cta-band { padding: 24px 20px; }
  .cta-band h2 { font-size: 22px; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .cta-actions .btn { text-align: center; justify-content: center; }
  .search-bar .btn { padding: 0 16px; }
  body { padding-bottom: calc(88px + env(safe-area-inset-bottom)); }
  .tabbar { display: flex; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 30; background: var(--glass); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow-lg); padding: 6px; justify-content: space-around; }
  .tabbar a { flex: 1; min-height: 52px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 6px 4px; border-radius: 14px; color: var(--muted); font-size: 11.5px; font-weight: 700; }
  .tabbar a:hover { text-decoration: none; }
  .tabbar a.on { color: var(--primary); background: color-mix(in srgb, var(--primary) 11%, transparent); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; scroll-behavior: auto !important; } }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }

/* ===== Etalase: foto & harga ===== */
.biz-photo { flex: none; width: 76px; height: 76px; border-radius: 16px; object-fit: cover; background: var(--surface-2); }
.cover { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 18px; background: var(--surface-2); box-shadow: var(--shadow); }
.menu-row { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.menu-row:last-child { border-bottom: 0; }
.menu-row.off { opacity: .55; }
.menu-row img, .item-ph { flex: none; width: 88px; height: 88px; border-radius: 14px; object-fit: cover; background: var(--surface-2); }
.menu-info { flex: 1; min-width: 0; }
.price { font-weight: 800; color: var(--primary-dark); }

.etalase { display: flex; gap: 16px; padding: 14px; margin: 12px 0; border-radius: 16px; border: 1.5px solid var(--border-strong); background: var(--surface-2); }
.etalase.ok { border-color: color-mix(in srgb, var(--success) 40%, transparent); background: color-mix(in srgb, var(--success-bg) 60%, var(--panel)); }
.etalase.todo { border-color: color-mix(in srgb, var(--warn) 45%, transparent); background: color-mix(in srgb, var(--warn-bg) 55%, var(--panel)); }
.etalase-photo img, .etalase-ph { width: 128px; height: 96px; border-radius: 12px; object-fit: cover; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); }
.etalase-body { flex: 1; min-width: 0; }
.checks { list-style: none; margin: 6px 0 10px; padding: 0; font-size: 14px; }
.checks li { padding: 2px 0; color: var(--muted); }
.checks li.done { color: var(--success); font-weight: 600; }
.photo-form { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.photo-form input[type="file"] { width: auto; max-width: 100%; padding: 6px; font-size: 13px; }
.item-form { display: grid; gap: 10px; grid-template-columns: 2fr 1fr; margin: 10px 0 16px; align-items: end; }
.item-form .wide { grid-column: 1 / -1; }
.item-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--border); }
.item-row > img, .item-row > .item-ph { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; flex: none; }
.item-ph { display: grid; place-items: center; font-size: 11px; color: var(--muted); text-align: center; }
.item-info { flex: 1; min-width: 0; }
@media (max-width: 640px) {
  .etalase { flex-direction: column; }
  .etalase-photo img, .etalase-ph { width: 100%; height: 160px; }
  .item-form { grid-template-columns: 1fr; }
  .item-row { flex-wrap: wrap; }
  .menu-row img, .item-ph { width: 72px; height: 72px; }
}
.auth-card img { height: 104px; width: 104px; object-fit: contain; margin-bottom: 4px; }
