/* Home page cafe list: location + search, craving chips, filters, cafe grid (Zomato-style). */
.dloc { display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0 14px; height: 100%; font-weight: 700; cursor: pointer; max-width: 240px; min-width: 0; }
.dloc svg:first-child { color: var(--red); }
.dloc span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dloc .chev { width: 16px; height: 16px; color: var(--ink-3); }
.dsep { width: 1px; height: 26px; background: var(--line); flex: none; }
.dq { flex: 1; display: flex; align-items: center; gap: 8px; padding: 0 14px; min-width: 0; color: var(--ink-3); }
.dq input { border: 0; outline: none; width: 100%; height: 48px; font-size: 15.5px; background: none; color: var(--ink); }
.sec-title { font-size: clamp(22px, 3vw, 28px); margin: 18px 0 14px; }
.crave { display: flex; gap: 22px; overflow-x: auto; padding: 4px 2px 12px; scrollbar-width: thin; }
.crave-item { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 14.5px; color: var(--ink-2); width: 104px; text-align: center; }
.crave-img { width: 96px; height: 96px; border-radius: 50%; background: var(--red-soft) center/cover; border: 3px solid transparent; transition: border-color .15s; }
.crave-item.on .crave-img { border-color: var(--red); }
.crave-item.on { color: var(--red); }
@media (max-width: 600px) { .crave { gap: 14px; } .crave-item { width: 80px; font-size: 13px; } .crave-img { width: 72px; height: 72px; } }
.filters-row { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 14px; margin-top: 6px; scrollbar-width: none; position: sticky; top: 76px; background: #fff; z-index: 10; }
.filters-row::-webkit-scrollbar { display: none; }
@media (max-width: 860px) { .filters-row { position: static; } }
.sort select { border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; height: 42px; font-weight: 700; background: #fff; cursor: pointer; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.fchip { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0 14px; height: 42px; font-weight: 700; color: var(--ink-2); cursor: pointer; box-shadow: 0 1px 4px rgba(0,0,0,.04); white-space: nowrap; }
.fchip[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.fclear { flex: none; border: 0; background: none; color: var(--red); font-weight: 800; padding: 0 8px; cursor: pointer; white-space: nowrap; }
.list-title { font-size: clamp(24px, 3.4vw, 32px); margin: 10px 0 4px; }
.list-sub { margin: 0 0 18px; }
.join-band { background: var(--ink); color: #fff; border-radius: 24px; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.join-band .muted { color: rgba(255,255,255,.7); }
.ov { position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 50; }
.locpop { position: fixed; z-index: 51; left: 50%; top: 90px; transform: translateX(-50%); width: min(460px, calc(100% - 24px)); max-height: calc(100vh - 120px); overflow-y: auto; background: #fff; border-radius: 20px; padding: 18px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.locpop-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.locpop .x { border: 0; background: var(--bg); width: 40px; height: 40px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.loc-opt { display: flex; align-items: center; gap: 12px; width: 100%; text-align: start; border: 0; background: none; padding: 12px 10px; border-radius: 12px; cursor: pointer; }
.loc-opt:hover { background: var(--bg); }
.loc-opt b { display: block; }
.loc-opt small { color: var(--ink-3); }
.loc-opt.gps { color: var(--red); }
.loc-opt.gps small { color: var(--ink-3); }
.loc-group { font-size: 12px; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin: 10px 10px 2px; }
.crave-img { display: grid; place-items: center; font-size: 34px; font-weight: 800; color: var(--red); }
@media (max-width: 600px) { .zimg { aspect-ratio: 16 / 8.5; } .zimg-letter { font-size: 44px; } }

/* ---------- Home head (hero) ---------- */
.ohero { position: relative; overflow: hidden; padding: 56px 0 64px; color: #fff;
  background: radial-gradient(700px 380px at 88% 20%, rgba(255,140,90,.55), transparent 60%), radial-gradient(600px 400px at 0% 100%, rgba(120,0,10,.55), transparent 60%), linear-gradient(135deg, #E0161E, #A50D14); }
.ohero::after { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 22px 22px; pointer-events: none; }
.ohero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.ohero-kicker { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.25); padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; margin: 0 0 18px; }
.ohero-kicker .dot { width: 8px; height: 8px; border-radius: 50%; background: #3BE07A; box-shadow: 0 0 0 0 rgba(59,224,122,.7); animation: ping 1.8s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 9px rgba(59,224,122,0); } 100% { box-shadow: 0 0 0 0 rgba(59,224,122,0); } }
.ohero h1 { font-size: clamp(38px, 6.2vw, 68px); line-height: 1.02; letter-spacing: -.03em; margin: 0; color: #fff; }
.ohero h1 em { font-style: normal; color: #FFD9A8; }
.ohero-lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: rgba(255,255,255,.88); max-width: 560px; margin: 18px 0 26px; }
.osearch { display: flex; align-items: center; background: #fff; color: var(--ink); border-radius: 18px; padding: 6px; box-shadow: 0 18px 40px rgba(60,0,0,.35); max-width: 640px; min-width: 0; }
.osearch .dloc { height: 50px; max-width: 200px; }
.osearch .dq { flex: 1; }
.osearch .dq input { height: 50px; }
.ofind { min-height: 50px; padding: 0 22px; border-radius: 14px; flex: none; }
.ohero-ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 20px 0 0; font-weight: 700; font-size: 14.5px; color: rgba(255,255,255,.95); }
.ohero-ticks span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #fff; color: var(--red); font-size: 12px; margin-inline-end: 4px; }
.ohero-art { position: relative; height: 440px; }
.plate { position: absolute; border-radius: 50%; overflow: hidden; border: 6px solid rgba(255,255,255,.95); box-shadow: 0 24px 50px rgba(60,0,0,.45); background: #fff; }
.plate img { width: 100%; height: 100%; object-fit: cover; display: block; }
.p1 { width: 270px; height: 270px; left: 12%; top: 40px; animation: float 6s ease-in-out infinite; }
.p2 { width: 160px; height: 160px; right: 0; top: 0; animation: float 7s ease-in-out -2s infinite; }
.p3 { width: 150px; height: 150px; right: 4%; bottom: 10px; animation: float 8s ease-in-out -4s infinite; }
@keyframes float { 50% { transform: translateY(-12px); } }
.fcard { position: absolute; background: #fff; color: var(--ink); border-radius: 16px; padding: 12px 14px; box-shadow: 0 16px 36px rgba(0,0,0,.25); font-size: 13px; }
.fcard small { display: block; color: var(--ink-3); font-size: 11.5px; font-weight: 600; }
.fcard b { font-size: 16px; }
.fcard b.red { color: var(--red); }
.f1 { left: 0; bottom: 70px; display: grid; grid-template-columns: auto auto auto; grid-template-rows: auto auto; grid-auto-flow: column; column-gap: 12px; align-items: center; }
.f1 .eq { grid-row: 1 / span 2; font-size: 22px; font-weight: 800; color: var(--green); }
.f2 { right: 22%; top: 230px; display: flex; gap: 10px; align-items: center; }
.pulse { width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex: none; box-shadow: 0 0 0 4px rgba(30,142,78,.2); }
.f3 { left: 6%; top: 0; }
@media (prefers-reduced-motion: reduce) { .plate, .ohero-kicker .dot { animation: none; } }
@media (max-width: 900px) {
  .ohero { padding: 36px 0 40px; }
  .ohero-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ohero-art { display: none; }
}
@media (max-width: 600px) {
  .osearch { flex-direction: column; align-items: stretch; padding: 8px; gap: 6px; border-radius: 16px; }
  .osearch .dsep { display: none; }
  .osearch .dloc { max-width: none; border: 1px solid var(--line); border-radius: 12px; height: 46px; }
  .osearch .dq { border: 1px solid var(--line); border-radius: 12px; }
  .osearch .dq input { height: 44px; }
  .ofind { width: 100%; }
  .ohero-ticks { font-size: 13.5px; gap: 6px 14px; }
}
.ocafes { padding: 28px 0 40px; scroll-margin-top: 60px; }
.ocafes .filters-row { top: 68px; }
@media (max-width: 600px) {
  .ohero { padding: 22px 0 26px; }
  .ohero-kicker { margin-bottom: 12px; font-size: 12.5px; }
  .ohero h1 { font-size: 34px; }
  .ohero h1 br:first-of-type { display: none; }
  .ohero-lead { font-size: 15px; margin: 12px 0 16px; }
  .ohero-ticks { margin-top: 14px; }
  .ocafes { padding-top: 14px; }
}
/* "What are you craving?": items share the full width; scroll only when there are too many */
.crave { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(104px, 1fr); gap: 12px; }
.crave-item { width: auto; min-width: 0; padding: 6px 4px; border-radius: 18px; }
.crave-item:hover { background: var(--red-soft); }
.crave-img { width: min(100%, 132px); height: auto; aspect-ratio: 1; }
.crave-item span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (max-width: 600px) { .crave { grid-auto-columns: minmax(78px, 1fr); gap: 6px; } .crave-item { width: auto; } .crave-img { width: min(100%, 76px); height: auto; } }
