
@font-face{font-family:"Frank Ruhl Libre";font-weight:400 900;font-display:swap;src:url(/assets/fonts/frl-hebrew.woff2) format("woff2");unicode-range:U+0307-0308,U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Frank Ruhl Libre";font-weight:400 900;font-display:swap;src:url(/assets/fonts/frl-latin.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
:root{--bg:#f6f0e6;--bg2:#efe6d6;--card:#fffbf4;--line:#e4d8c4;--ink:#2f2721;--ink2:#6f6255;--ink3:#9a8c7c;--acc:#a4552f;--acc2:#8a4424;--gold:#b08a4a;--chip:#f1e8d9;
--shadow:0 1px 2px rgba(60,40,20,.06),0 6px 20px rgba(60,40,20,.08);--serif:"Frank Ruhl Libre","Iowan Old Style",Palatino,Georgia,serif;
--sans:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans Hebrew","Arial Hebrew",Arial,sans-serif;--r:16px;--nav:64px;
--c-water:#00717c;--c-activity:#ac5c2e;--c-food:#8e3e3e;--c-tzaddik:#5a518a;--c-hikes:#526e2a;--c-history:#907326;--c-family:#b36670;--c-wine:#793d67;--c-beach:#2d7498;--c-catering:#8d5d1c;--c-minyan:#3f5885;--c-market:#8b682b;--c-bar:#6b4a7e;--c-mall:#2f6f6a;--c-stay:#3b6e8f;--c-museum:#43668a;--c-park:#4c7643;--c-views:#4f6470;--c-mikvah:#4b58a8}
:root[data-theme=dark]{--bg:#1d1915;--bg2:#26211b;--card:#2a241e;--line:#3b3229;--ink:#efe5d6;--ink2:#c3b5a2;--ink3:#8f8270;--acc:#d9875c;--acc2:#e79b72;--gold:#d2ac68;--chip:#332b23;--shadow:0 1px 2px rgba(0,0,0,.3),0 8px 24px rgba(0,0,0,.35);
--c-water:#62b4bd;--c-activity:#f0a27a;--c-food:#d28280;--c-tzaddik:#9a93cb;--c-hikes:#94b072;--c-history:#cfb473;--c-family:#eba0a8;--c-wine:#bb7fa7;--c-beach:#7ab7da;--c-catering:#d0a16b;--c-minyan:#8099c5;--c-market:#ceab76;--c-bar:#b496c8;--c-mall:#74b5ad;--c-stay:#7fb0d2;--c-museum:#87a8cb;--c-park:#90b887;--c-views:#a3b6c0;--c-mikvah:#9aa5e0}
*{box-sizing:border-box}html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.45 var(--sans);-webkit-font-smoothing:antialiased}
a{color:var(--acc)}button{font:inherit;color:inherit}
h1,h2,h3,.serif{font-family:var(--serif);font-weight:700;letter-spacing:-.01em}
.ico{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:none}
:focus-visible{outline:2.5px solid var(--acc);outline-offset:2px;border-radius:8px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}
/* top bar */
.topbar{position:sticky;top:0;z-index:30;display:flex;align-items:center;gap:8px;padding:10px 16px;padding-top:max(10px,env(safe-area-inset-top));background:color-mix(in srgb,var(--bg) 88%,transparent);backdrop-filter:saturate(1.2) blur(10px);-webkit-backdrop-filter:blur(10px)}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);font-family:var(--serif);font-weight:700;font-size:22px;margin-inline-end:auto}
.brand .mark{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--acc);color:#fff8ee}
.brand .mark .ico{width:18px;height:18px}
.tbtn{height:36px;min-width:36px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--card);display:inline-flex;align-items:center;justify-content:center;gap:6px;font-size:14px;font-weight:600;cursor:pointer;text-decoration:none;color:var(--ink)}
.tbtn.icon{padding:0;width:36px}
/* views */
.view{display:none}.view.on{display:block}
#v-map.on{display:block;position:fixed;inset:0;bottom:calc(var(--nav) + env(safe-area-inset-bottom));z-index:5}
/* hero */
.hero{position:relative;margin:0 12px;border-radius:24px;overflow:hidden;min-height:430px;color:#fffaf2;display:flex;flex-direction:column;justify-content:flex-end;background:#6b4a33}
.hero picture,.hero img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.hero:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(30,18,8,.05) 0%,rgba(30,18,8,.15) 40%,rgba(30,18,8,.72) 100%)}
.hero .in{position:relative;z-index:2;padding:22px 18px 18px}
.hero h1{font-size:34px;line-height:1.08;margin:0 0 8px;text-shadow:0 1px 12px rgba(0,0,0,.25)}
.hero p{margin:0 0 16px;font-size:15.5px;opacity:.95;max-width:34ch}
.search{position:relative}
.search .box{display:flex;align-items:center;gap:10px;background:var(--card);color:var(--ink);border-radius:14px;padding:0 14px;height:54px;box-shadow:0 8px 28px rgba(0,0,0,.18);border:1px solid var(--line)}
.search input{flex:1;border:0;background:transparent;font-size:16px;color:var(--ink);min-width:0;height:100%}
.search input::placeholder{color:var(--ink3)}
.search input:focus{outline:none}
.sugg{position:absolute;left:0;right:0;top:calc(100% + 6px);background:var(--card);color:var(--ink);border-radius:14px;box-shadow:var(--shadow);border:1px solid var(--line);overflow:hidden;z-index:40;max-height:60vh;overflow-y:auto}
.sugg button{display:flex;width:100%;align-items:center;gap:12px;padding:11px 14px;border:0;background:none;text-align:start;cursor:pointer;border-top:1px solid var(--line)}
.sugg button:first-child{border-top:0}
.sugg button:hover,.sugg button.act{background:var(--chip)}
.sugg .sub{display:block;font-size:12.5px;color:var(--ink2)}
.sugg .dot{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;flex:none}
.sugg .dot .ico{width:16px;height:16px}
.pill{display:inline-flex;align-items:center;gap:8px;height:42px;padding:0 16px;border-radius:999px;border:0;background:rgba(255,250,242,.94);color:#3b2c20;font-weight:700;font-size:15px;cursor:pointer;margin-top:12px;box-shadow:0 4px 14px rgba(0,0,0,.15)}
.pill .ico{color:var(--acc)}
/* sections */
.sec{padding:22px 16px 4px}
.sec h2{font-size:23px;margin:0 0 12px;display:flex;align-items:baseline;gap:8px}
.sec h2 a{margin-inline-start:auto;font:600 14px var(--sans);text-decoration:none}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}
.tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:10px;min-height:96px;padding:12px;border-radius:var(--r);border:1px solid color-mix(in srgb,var(--c) 22%,var(--line));background:color-mix(in srgb,var(--c) 11%,var(--card));color:var(--ink);text-decoration:none;cursor:pointer;text-align:start}
.tile .ic{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--c);color:#fff8ee}
.tile .ic .ico{width:20px;height:20px}
.tile b{font-size:13.5px;line-height:1.2;font-weight:650}
.tile small{position:absolute;top:12px;inset-inline-end:12px;font-size:11px;color:var(--ink2);font-weight:600}
.hscroll{display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 16px 8px;margin:0 -16px;scrollbar-width:none}
.hscroll::-webkit-scrollbar{display:none}
.rcard{flex:0 0 66%;max-width:260px;scroll-snap-align:start;border-radius:var(--r);overflow:hidden;position:relative;aspect-ratio:4/3;background:var(--bg2);color:#fffaf2;text-decoration:none;border:0;padding:0;cursor:pointer;text-align:start}
.rcard img{width:100%;height:100%;object-fit:cover;display:block}
.rcard:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(25,15,6,.7))}
.rcard span{position:absolute;z-index:2;left:12px;right:12px;bottom:10px;font-family:var(--serif);font-size:19px;font-weight:700;line-height:1.1}
.rcard span small{display:block;font:600 12px var(--sans);opacity:.9;margin-top:3px}
.pcard{flex:0 0 72%;max-width:280px;scroll-snap-align:start;background:var(--card);border:1px solid var(--line);border-radius:var(--r);padding:14px;text-align:start;cursor:pointer;box-shadow:var(--shadow)}
.pcard .k{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:var(--c);text-transform:uppercase;letter-spacing:.04em}
.pcard .k .ico{width:14px;height:14px}
.pcard h3{margin:6px 0 4px;font-size:18px;line-height:1.2}
.pcard p{margin:0;color:var(--ink2);font-size:13.5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.plan{display:flex;align-items:center;gap:14px;margin:6px 16px 0;padding:16px;border-radius:var(--r);background:linear-gradient(135deg,color-mix(in srgb,var(--gold) 22%,var(--card)),var(--card));border:1px solid var(--line);cursor:pointer;text-align:start;width:calc(100% - 32px)}
.plan .ic{width:46px;height:46px;border-radius:14px;background:var(--gold);color:#fffaf0;display:grid;place-items:center;flex:none}
.plan b{display:block;font-family:var(--serif);font-size:19px}.plan span{color:var(--ink2);font-size:14px}
.foot{padding:26px 16px calc(var(--nav) + 30px);color:var(--ink2);font-size:13px;text-align:center}
.foot a{color:var(--ink2)}
/* bottom nav */
.bnav{position:fixed;z-index:50;left:0;right:0;bottom:0;height:calc(var(--nav) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);display:grid;grid-template-columns:repeat(4,1fr);background:color-mix(in srgb,var(--card) 94%,transparent);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid var(--line)}
.bnav button{border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11.5px;font-weight:600;color:var(--ink3);cursor:pointer;position:relative}
.bnav button.on{color:var(--acc)}
.bnav .ico{width:23px;height:23px}
.bnav .badge{position:absolute;top:8px;left:calc(50% + 6px);min-width:17px;height:17px;border-radius:9px;background:var(--acc);color:#fff;font-size:10.5px;display:grid;place-items:center;padding:0 4px}
/* map view */
#map{position:absolute;inset:0;background:var(--bg2)}
.mapbar{position:absolute;z-index:6;top:0;left:0;right:0;padding:10px 12px 0;padding-top:max(10px,env(safe-area-inset-top));pointer-events:none}
.mapbar>*{pointer-events:auto}
.mapbar .row{display:flex;gap:8px;align-items:center}
.mapbar .search{flex:1}
.mapbar .search .box{height:46px;box-shadow:var(--shadow)}
.chips{display:flex;gap:8px;overflow-x:auto;padding:10px 12px 6px;margin:0 -12px;scrollbar-width:none}
.chips::-webkit-scrollbar{display:none}
.chip{flex:none;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 12px;border-radius:999px;border:1px solid var(--line);background:var(--card);font-size:13.5px;font-weight:600;cursor:pointer;box-shadow:0 1px 3px rgba(60,40,20,.08);white-space:nowrap}
.chip .ico{width:16px;height:16px;color:var(--c,var(--ink2))}
.chip.on{background:var(--c,var(--acc));color:#fffaf2;border-color:transparent}
.chip.on .ico{color:#fffaf2}
.chip.town{background:var(--ink);color:var(--bg);border-color:transparent}
.fab{position:absolute;z-index:6;inset-inline-end:12px;width:46px;height:46px;border-radius:50%;border:1px solid var(--line);background:var(--card);box-shadow:var(--shadow);display:grid;place-items:center;cursor:pointer}
.fab.loc{bottom:16px}.fab.lst{bottom:72px}
.maplibregl-ctrl-attrib{font-size:10px!important;background:color-mix(in srgb,var(--card) 80%,transparent)!important;color:var(--ink2)!important}
.maplibregl-ctrl-attrib a{color:var(--ink2)!important}
.maplibregl-ctrl-bottom-left,.maplibregl-ctrl-bottom-right{bottom:0}
.userdot{width:18px;height:18px;border-radius:50%;background:#3b82c4;border:3px solid #fff;box-shadow:0 0 0 6px rgba(59,130,196,.25)}
/* sheets */
.scrim{position:fixed;inset:0;z-index:60;background:rgba(20,12,4,.35);opacity:0;pointer-events:none;transition:opacity .2s}
.scrim.on{opacity:1;pointer-events:auto}
.sheet{position:fixed;z-index:70;left:0;right:0;bottom:0;max-height:88vh;background:var(--card);border-radius:22px 22px 0 0;box-shadow:0 -10px 40px rgba(30,18,8,.25);transform:translateY(105%);transition:transform .28s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom)}
.sheet.on{transform:none}
.sheet .grab{width:42px;height:5px;border-radius:3px;background:var(--line);margin:9px auto 2px;flex:none}
.sheet .hd{display:flex;align-items:center;gap:10px;padding:6px 16px 10px;flex:none}
.sheet .hd h2{margin:0;font-size:22px;flex:1}
.sheet .bd{overflow-y:auto;padding:0 16px 18px;-webkit-overflow-scrolling:touch}
.x{width:34px;height:34px;border-radius:50%;border:0;background:var(--chip);display:grid;place-items:center;cursor:pointer;flex:none}
/* place card */
.pk{display:inline-flex;align-items:center;gap:6px;font-size:12.5px;font-weight:700;color:var(--c);text-transform:uppercase;letter-spacing:.04em}
.pk .ico{width:15px;height:15px}
.ptitle{font-size:25px;line-height:1.15;margin:6px 0 2px}
.palt{color:var(--ink3);font-size:14px;margin:0 0 6px}
.pmeta{color:var(--ink2);font-size:14px;display:flex;flex-wrap:wrap;gap:6px 12px;margin:4px 0 10px}
.badges{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}
.bdg{display:inline-flex;align-items:center;gap:5px;height:28px;padding:0 10px;border-radius:999px;background:var(--chip);font-size:13px;font-weight:650}
.bdg[hidden]{display:none!important}   /* editor37 Nov 1: the place-page "Open now" badge (js-open, hidden until isOpen()) was always visible because .bdg display beat [hidden] */
.bdg.open{background:color-mix(in srgb,#3f7d4f 16%,var(--card));color:#2f6b3f}
:root[data-theme=dark] .bdg.open{color:#8fd19f}
.bdg.k-m{background:color-mix(in srgb,#8a2f2f 14%,var(--card))}.bdg.k-d{background:color-mix(in srgb,#2f5f8a 14%,var(--card))}.bdg.k-p{background:color-mix(in srgb,#5f7a2f 16%,var(--card))}
.hx{margin:10px 0 2px;padding:10px 12px;border-radius:12px;background:var(--chip);display:flex;gap:10px;align-items:flex-start}
.hx .ico{color:var(--gold);margin-top:2px}
.hx b{display:block;font-size:15px}.hx small{display:block;color:var(--ink3);font-size:12px;margin-top:1px}
.hxnote{font-size:11.5px;color:var(--ink3);margin:3px 2px 6px}
.pdesc{margin:10px 0;font-size:15.5px;line-height:1.5}
.acts{display:grid;grid-template-columns:1fr auto auto;gap:8px;margin:12px 0}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 16px;border-radius:14px;border:1px solid var(--line);background:var(--card);font-weight:700;font-size:15.5px;cursor:pointer;text-decoration:none;color:var(--ink)}
.btn.pri{background:var(--acc);border-color:var(--acc);color:#fffaf2}
.btn.sq{width:48px;padding:0}
.btn.on{color:#c0392b}.btn.on .ico{fill:#c0392b;stroke:#c0392b}
.dir{list-style:none;margin:6px 0;padding:0;border-top:1px solid var(--line)}
.dir li{display:flex;gap:12px;align-items:flex-start;padding:11px 2px;border-bottom:1px solid var(--line);font-size:15px}
.dir li .ico{color:var(--ink3);margin-top:1px}
.dir a{color:var(--ink);text-decoration:none;word-break:break-word}
.dir a:hover{text-decoration:underline}
.hours{margin:0;padding:0;list-style:none;font-size:14px;color:var(--ink2)}
.hours li{display:flex;justify-content:space-between;gap:10px;padding:1px 0}
.hours li.today{color:var(--ink);font-weight:700}
.note{font-size:13.5px;color:var(--ink2);background:color-mix(in srgb,var(--gold) 12%,var(--card));border-radius:12px;padding:10px 12px;margin:10px 0}
.more{display:block;margin:12px 0 4px;text-align:center;font-weight:650;font-size:14px}
/* list rows */
.rows{display:flex;flex-direction:column}
.prow{display:flex;gap:12px;align-items:center;padding:11px 2px;border:0;border-bottom:1px solid var(--line);background:none;text-align:start;cursor:pointer;width:100%}
.prow .dot{width:36px;height:36px;border-radius:50%;background:var(--c);color:#fffaf2;display:grid;place-items:center;flex:none}
.prow .dot .ico{width:18px;height:18px}
.prow b{display:block;font-size:15.5px;font-weight:650}
.prow span{display:block;color:var(--ink2);font-size:13px}
.prow em{margin-inline-start:auto;font-style:normal;color:var(--ink3);font-size:13px;white-space:nowrap}
.grp{margin:16px 0 4px;display:flex;align-items:center;gap:8px;font-family:var(--serif);font-size:19px}
.grp i{font-style:normal;font:700 12px var(--sans);color:var(--ink2);background:var(--chip);border-radius:999px;padding:2px 8px}
.empty{color:var(--ink2);text-align:center;padding:24px 8px}
/* settings */
.seg{display:flex;background:var(--chip);border-radius:12px;padding:3px;gap:3px}
.seg button{flex:1;border:0;background:none;height:38px;border-radius:9px;font-weight:650;cursor:pointer}
.seg button.on{background:var(--card);box-shadow:0 1px 4px rgba(0,0,0,.12)}
#setsheet .seg button{height:auto;min-height:44px}   /* editor28 Oct 31: Settings taps >=44px on phones too (was 38px below the tablet breakpoint) */
.set h3{font-size:16px;margin:16px 0 8px;font-family:var(--sans)}
.navopt{display:flex;align-items:center;gap:12px;width:100%;padding:14px;border-radius:14px;border:1px solid var(--line);background:var(--card);margin:8px 0;cursor:pointer;font-weight:650;font-size:16px}
.navopt .ap{width:36px;height:36px;border-radius:10px;display:grid;place-items:center;color:#fff;font-weight:800}
.chk{display:flex;align-items:center;gap:10px;margin:12px 2px;font-size:15px}
.chk input{width:20px;height:20px;accent-color:var(--acc)}
.toast{position:fixed;z-index:90;left:50%;bottom:calc(var(--nav) + 18px + env(safe-area-inset-bottom));transform:translateX(-50%) translateY(20px);background:var(--ink);color:var(--bg);padding:10px 16px;border-radius:12px;font-size:14px;font-weight:600;opacity:0;transition:.2s;pointer-events:none;max-width:90vw}
.toast.on{opacity:1;transform:translateX(-50%)}
/* trip / near pages inside app */
.page{padding:6px 16px calc(var(--nav) + 24px)}
.page h1{font-size:30px;margin:8px 0 6px}
.lead{color:var(--ink2);margin:0 0 14px}
@media (min-width:760px){.hero{min-height:520px;margin:0 24px}.tiles{grid-template-columns:repeat(4,1fr)}.sec,.page{max-width:980px;margin:0 auto}.rcard{flex-basis:30%}.pcard{flex-basis:30%}.sheet{max-width:560px;left:50%;transform:translate(-50%,105%)}.sheet.on{transform:translate(-50%,0)}.plan{max-width:948px;margin:6px auto 0;display:flex}}
@media (prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}
body.mapmode .topbar{display:none}body.mapmode{overflow:hidden}.mapbar .tbtn{height:46px;width:46px;box-shadow:var(--shadow)}
.sec .lead{margin-top:-6px}
.crumbs{font-size:13px;color:var(--ink2);margin:4px 0 0}.crumbs a{color:var(--ink2)}
.stat{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}
.ph{padding:6px 16px 0;max-width:980px;margin:0 auto}
.ph h1{font-size:32px;margin:10px 0 4px;line-height:1.1}
.mini{width:100%;height:220px;border-radius:16px;overflow:hidden;background:var(--bg2);display:block}

a.pcard,a.tile,a.rcard,a.prow,a.chip{text-decoration:none}
.bnav a{text-decoration:none;border:0;background:none;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;font-size:11.5px;font-weight:600;color:var(--ink3);position:relative}
.pcard h3{color:var(--ink)}

.hero{overflow:visible}
.hero picture{position:absolute;inset:0;border-radius:24px;overflow:hidden}
.hero:after{border-radius:24px}
.hero .sugg{z-index:30}

/* r2b: photo category tiles */
.tiles.photo{grid-template-columns:repeat(3,1fr);gap:9px}
.tile.ph{display:block;width:100%;box-sizing:border-box;padding:0 0 100%;height:0;min-height:0;overflow:hidden;border:0;background:var(--bg2);color:#fffaf2;justify-content:flex-end;box-shadow:var(--shadow)}
.tile.ph img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.tile.ph:hover img{transform:scale(1.04)}
.tile.ph:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(20,13,6,.05) 30%,rgba(20,13,6,.38) 55%,rgba(20,13,6,.82) 100%)}
.tile.ph .ic{position:absolute;z-index:2;top:8px;inset-inline-start:8px;width:28px;height:28px;border-radius:9px;background:var(--c);color:#fff8ee;box-shadow:0 1px 3px rgba(0,0,0,.25)}
.tile.ph .ic .ico{width:16px;height:16px}
.tile.ph b{position:absolute;z-index:2;left:0;right:0;bottom:25px;padding:0 9px;font-size:13px;line-height:1.15;font-weight:700;text-shadow:0 1px 2px rgba(0,0,0,.45)}
.tile.ph small{position:absolute;z-index:2;top:auto;left:0;right:0;bottom:8px;padding:0 9px;color:rgba(255,250,242,.85);font-size:11px;font-weight:600}
.tile.ph small:before{content:"";display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--c);margin-inline-end:5px;box-shadow:0 0 0 1.5px rgba(255,250,242,.7);vertical-align:0}
/* r2d: gap-free photo grid for any tile count (classes set by build2.py: p3 = half-row on phones, d4/d6 = third/half-row on desktop) */
@media (max-width:759px){.tiles.photo{grid-template-columns:repeat(6,1fr)}.tiles.photo .tile.ph{grid-column:span 2}.tiles.photo .tile.ph.p3{grid-column:span 3;padding-bottom:calc(66.667% - 3px)}}
@media (min-width:760px){.tiles.photo{grid-template-columns:repeat(12,1fr)}.tiles.photo .tile.ph{grid-column:span 3}.tiles.photo .tile.ph.d4{grid-column:span 4;padding-bottom:calc(75% - 2.25px)}.tiles.photo .tile.ph.d6{grid-column:span 6;padding-bottom:calc(50% - 4.5px)}}
@media (min-width:760px){.tiles.photo{grid-template-columns:repeat(4,1fr)}.tiles.photo .tile.ph:last-child:nth-child(4n+3){grid-column:span 2;padding-bottom:calc(50% - 4.5px)}}

/* settings: directions app list + reset (settings + near me round) */
.optlist{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:14px;overflow:hidden;background:var(--card)}
.opt{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:0 14px;border:0;border-top:1px solid var(--line);background:none;color:inherit;font:inherit;font-size:16px;font-weight:600;text-align:start;cursor:pointer}
.opt:first-child{border-top:0}
.opt .tick{width:20px;height:20px;color:var(--acc);visibility:hidden;flex:none}
.opt.on .tick{visibility:visible}
.opt:focus-visible{outline:2px solid var(--acc);outline-offset:-2px}
.set .reset{display:flex;width:100%;margin:22px 0 4px;color:#b3261e}
[data-theme=dark] .set .reset{color:#f2b8b5}
.lead.small{font-size:14px;margin-top:10px}

/* r2f: the search suggestions in the hero must sit above the photo tiles below it */
.hero{z-index:3}

/* round 2i: places to stay, Shabbos stay, half-height map sheet */
#placesheet{z-index:72}
#navsheet{z-index:74}   /* round 2o bug fix: the directions chooser opened BEHIND the place sheet, so Navigate looked dead until the full page */
.sheet.half{height:44vh;max-height:44vh;transition:transform .28s cubic-bezier(.2,.8,.2,1),height .25s ease,max-height .25s ease}
.sheet.half.full{height:88vh;max-height:88vh}
.sheet button.grab{display:block;border:0;padding:0;cursor:pointer;position:relative;height:5px;width:42px}
.sheet button.grab::before{content:"";position:absolute;inset:-12px -40px}
.hx.kn .ico{color:var(--c-stay)}
.prow .shul{display:flex;align-items:center;gap:5px;margin-top:3px;color:var(--ink2);font-size:12.5px}
.prow .shul .ico{width:14px;height:14px;color:var(--c-minyan);flex:none}
details.seeall{margin:2px 0 6px}
details.seeall summary{cursor:pointer;text-align:center;font-weight:650;font-size:14px;color:var(--acc);padding:10px 0;list-style:none}
details.seeall summary::-webkit-details-marker{display:none}
details.seeall[open] summary{border-bottom:1px solid var(--line)}
.btn.airbnb{margin:10px 0 4px;width:100%}
h2.grp#shabbos .ico{width:20px;height:20px;color:var(--c-catering)}
.sublead{color:var(--ink2);font-size:14px;margin:0 0 4px}
h3.sub{margin:14px 0 2px;font-size:16px;display:flex;align-items:center;gap:8px}
h3.sub i{font-style:normal;font:700 12px var(--sans);color:var(--ink2);background:var(--chip);border-radius:999px;padding:2px 8px}
.shablink{display:flex;align-items:center;gap:10px;margin:10px 0 0;padding:11px 14px;border-radius:14px;background:var(--card);border:1px solid var(--line);color:var(--ink);text-decoration:none;font-size:14px;font-weight:600}
.shablink .ico{width:18px;height:18px;color:var(--c);flex:none}
.shablink span{flex:1}
[dir=rtl] .shablink .ico:last-child{transform:scaleX(-1)}

/* round 2i: photo place labels + low-visibility photo credits link */
.tile.ph .loc{position:absolute;z-index:2;top:8px;inset-inline-end:7px;max-width:calc(100% - 46px);padding:2px 6px;border-radius:8px;background:rgba(20,13,6,.45);color:#fffaf2;font-size:9.5px;font-weight:600;line-height:1.25;text-align:end;white-space:normal;overflow-wrap:anywhere;backdrop-filter:blur(2px)}
.hero .hero-loc{position:absolute;z-index:3;top:10px;inset-inline-end:12px;padding:2px 8px;border-radius:999px;background:rgba(20,13,6,.4);color:#fffaf2;font-size:11px;font-weight:600}
.foot .pcred{margin-top:14px;font-size:10px;opacity:.55}.foot .pcred a{color:var(--ink3);text-decoration:none}

/* round 2i: desktop tile grid fix — an older 4-column rule overrode the 12-column grid, so every tile spanned 3 of 4 columns (one giant tile per row) */
@media (min-width:760px){.tiles.photo{grid-template-columns:repeat(12,1fr)}.tiles.photo .tile.ph{grid-column:span 3;padding-bottom:100%}.tiles.photo .tile.ph.d4{grid-column:span 4;padding-bottom:calc(75% - 2.25px)}.tiles.photo .tile.ph.d6{grid-column:span 6;padding-bottom:calc(50% - 4.5px)}.tile.ph .loc{font-size:11px}}

/* round 2i (Pinchas 11:34): place labels much more subtle — tiny single-line text at the bottom corner, no box, no pin */
.tile.ph .loc{top:auto;bottom:9px;inset-inline-end:8px;max-width:calc(100% - 64px);padding:0;border-radius:0;background:none;backdrop-filter:none;color:rgba(255,250,242,.75);font-size:10px;font-weight:500;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 2px rgba(0,0,0,.6);text-align:end;overflow-wrap:normal}
.hero .hero-loc{padding:0;background:none;color:rgba(255,250,242,.75);font-size:10.5px;font-weight:500;text-shadow:0 1px 2px rgba(0,0,0,.6)}
@media (min-width:760px){.tile.ph .loc{font-size:11px;bottom:10px;inset-inline-end:10px}}

/* round 2i: Hechsher filter (a native select styled as a chip) */
.hxsel{flex:none;position:relative;display:inline-flex;align-items:center;gap:6px;height:34px;padding:0 10px;border-radius:999px;border:1px solid var(--line);background:var(--card);font-size:13.5px;font-weight:600;box-shadow:0 1px 3px rgba(30,18,8,.08)}
.hxsel .ico{width:16px;height:16px;color:var(--gold)}
.hxsel.on{background:var(--gold);border-color:transparent;color:#fffaf2}.hxsel.on .ico{color:#fffaf2}
.hxsel select{appearance:none;-webkit-appearance:none;border:0;background:transparent;color:inherit;font:inherit;padding:0 2px;max-width:190px;cursor:pointer}
.hxsel .vh{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}

/* round 2j (Pinchas 12:29): homepage rows start inset like the section heading (16px), and snapping keeps the inset; mirrored in RTL by the logical properties */
.hscroll{padding-inline:16px;scroll-padding-inline:16px;margin-inline:-16px}
.hscroll::after{content:"";flex:0 0 4px}
/* round 2j: footer is one small muted line; credits live on the About page */
.foot{font-size:12px;color:var(--ink3)}
.foot a{color:var(--ink3)}
.credits-about{font-size:13px;color:var(--ink2)}

/* round 2j (Pinchas 12:34/12:37): three bits from the redesign layer only — grey sentence-case type label, olive kosher box, 8px corners on tiles/cards */
:root{--olive:#4F6332}
:root[data-theme=dark]{--olive:#A8BC85}
.pcard .k,.pk{text-transform:none;letter-spacing:0;font-weight:500;color:var(--ink2);font-size:13px}
.hx{background:color-mix(in srgb,var(--olive) 12%,var(--card));border:1px solid color-mix(in srgb,var(--olive) 25%,var(--line))}
.hx .ico{color:var(--olive)}
.optlist,h3.sub i,.shablink,.hxsel,.tile,.tile.ph,.tile.ph .ic,.plan,.pcard,.rcard{border-radius:8px}
.hero,.hero picture,.hero:after{border-radius:8px}
.sheet{border-radius:8px 8px 0 0}

/* round 2k (Pinchas 1:08 PM): photo-location labels smaller and not bold, softer white, light shadow; titles unchanged */
.tiles .tile.ph .loc,.tile.ph .loc{font-size:9px;font-weight:400;letter-spacing:.01em;color:rgba(255,250,242,.68);text-shadow:0 1px 1.5px rgba(0,0,0,.45)}
.hero .hero-loc{font-size:9.5px;font-weight:400;color:rgba(255,250,242,.68);text-shadow:0 1px 1.5px rgba(0,0,0,.45)}
@media (min-width:760px){.tiles .tile.ph .loc,.tile.ph .loc{font-size:10px}.hero .hero-loc{font-size:10px}}

/* round 3: Map / Satellite chip */
.basesw{position:absolute;z-index:5;bottom:30px;inset-inline-start:10px;width:60px;height:60px;padding:0;border:2px solid #fff;border-radius:10px;overflow:hidden;cursor:pointer;background:#ddd;box-shadow:0 1px 4px rgba(0,0,0,.35),0 0 0 .5px rgba(0,0,0,.12);display:block}
.basesw .bsimg{position:absolute;inset:0;background-size:cover;background-position:center}
.basesw .bslbl{position:absolute;left:0;right:0;bottom:0;padding:9px 2px 3px;font:600 10.5px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;text-align:center;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.65))}
.basesw[data-to=map] .bslbl{color:#fff}
.basesw:active{transform:scale(.96)}
.mapsat .maplibregl-ctrl-attrib{background:rgba(255,255,255,.75)!important}

/* round 2m: on Satellite the Esri credit stays open; keep it clear of the chip and the round buttons */
.mapsat .maplibregl-ctrl-attrib.maplibregl-compact-show{max-width:calc(100% - 78px);font-size:9.5px;line-height:1.3}
.mapsat .basesw{bottom:52px}

/* round 2n: tours (no pin; card shows kind, Operates in, phone / WhatsApp / website) */
.tlist{display:flex;flex-direction:column;gap:10px;margin:6px 0 4px}
.tcard{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:12px 14px;scroll-margin-top:80px}
.tcard:target{border-color:var(--c);box-shadow:0 0 0 2px color-mix(in srgb,var(--c) 35%,transparent)}
.tcard h3{font-size:17px;margin:4px 0 2px;line-height:1.25}
.tcard .palt{margin:0 0 2px;font-size:13.5px}
.tcard .tin{display:flex;gap:8px;align-items:flex-start;margin:6px 0 0;font-size:14px;color:var(--ink2)}
.tcard .tin .ico{width:16px;height:16px;flex:none;margin-top:2px;color:var(--c)}
.tcard .tin b{color:var(--ink);font-weight:650}
.tcard .tdesc{margin:6px 0 0;font-size:14px;color:var(--ink2)}
.tacts{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.tacts .btn{height:40px;padding:0 12px;font-size:14px;border-radius:12px;flex:1 1 auto}
.tacts .btn .ico{width:17px;height:17px}
.chip.tourchip{border-color:var(--c-activity)}

/* round 2o: Wolt search button (food cards in Wolt areas) */
.btn.wolt{width:100%;margin:0}
.wnote{font-size:11.5px;color:var(--ink3);text-align:center;margin:4px 2px 8px}
/* round 2o: multi-select hechsher filter (chip opens a checkbox sheet) */
button.hxsel{font:inherit;font-size:13.5px;font-weight:600;color:var(--ink);cursor:pointer}
button.hxsel.on{color:#fffaf2}
.hxsel .hxl{max-width:210px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#hxsheet{z-index:74}
.hxlist label{display:flex;align-items:center;gap:12px;padding:12px 4px;border-bottom:1px solid var(--line);font-size:15.5px;cursor:pointer}
.hxlist input{width:20px;height:20px;flex:none;accent-color:var(--gold)}
.hxbtns{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0;padding:12px 0 calc(8px + env(safe-area-inset-bottom));position:sticky;bottom:0;background:var(--card)}   /* always reachable, list scrolls under it */
/* round 2o: compass only when the map is rotated */
.maplibregl-ctrl-top-right .maplibregl-ctrl-group{display:none}
body.maprot .maplibregl-ctrl-top-right .maplibregl-ctrl-group{display:block}
body .maplibregl-ctrl-top-right{top:110px}   /* below the search bar + chips */
body.mapmode,html:has(body.mapmode){overscroll-behavior:none}   /* round 2o: no page bounce while dragging the map */
html.bootmap #v-home{display:none}   /* round 2o: see theme.js */

/* round 2p: tour booking line (no walk-ins) on tour cards and the "Tours in this area" sheet */
.tbook,.tabook{display:flex;gap:8px;align-items:flex-start;margin:8px 0 0;font-size:13.5px;font-weight:650;color:var(--ink)}
.tbook .ico,.tabook .ico{width:16px;height:16px;flex:none;margin-top:1px;color:var(--c-activity)}
.tabook{margin:0 0 10px;padding:9px 11px;border-radius:12px;background:color-mix(in srgb,var(--c-activity) 10%,transparent)}
a.prow.tarow{text-decoration:none;color:inherit}

/* round 2s: field label above the certifier names (Pinchas 8:23 PM: 'Kosher certification', not 'hechsher') */
.hx small.hxk{margin:0 0 2px;font-size:11.5px;font-weight:600;letter-spacing:.02em;color:var(--ink3);text-transform:none}
/* round 2s: FAQ (home + top town pages) and image sizing */
.faq{display:grid;gap:10px;margin:6px 0 14px}
.faq .qa{background:var(--card);border:1px solid var(--line);border-radius:14px;padding:12px 14px}
.faq h3{font-size:15px;margin:0 0 4px;line-height:1.35}
.faq p{margin:0;font-size:14px;line-height:1.5;color:var(--ink2)}
.faq a{color:inherit;text-decoration:underline;text-decoration-color:color-mix(in srgb,currentColor 35%,transparent)}
.faqsec{margin-top:6px}
:where(img[width][height]){height:auto}

/* ---------- round 2t: persistent bottom bar + safe areas + no overlaps (Pinchas 9:20/9:21 PM) ---------- */
:root{--sat:env(safe-area-inset-top,0px);--sab:env(safe-area-inset-bottom,0px);--barh:calc(var(--nav) + var(--sab))}
.bnav{z-index:80;height:var(--barh);padding-bottom:var(--sab)}
.bnav button,.bnav a{font-size:11px!important;font-weight:400!important;color:var(--ink3);gap:3px;text-decoration:none;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-width:0}
.bnav button.on,.bnav a.on{color:var(--acc);font-weight:500!important}
.bnav button span,.bnav a span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.bnav a .badge{position:absolute;top:8px;left:calc(50% + 6px);min-width:17px;height:17px;border-radius:9px;background:var(--acc);color:#fff;font-size:10.5px;display:grid;place-items:center;padding:0 4px}
.bnav a .badge:empty,.bnav button .badge:empty{display:none}
body:not(.mapmode){padding-bottom:var(--barh)}
.foot{padding-bottom:30px}
/* sheets open ABOVE the bar (the bar stays visible and tappable) and never taller than the visible screen (dvh, not vh: iPhone browser bars) */
.sheet{bottom:var(--barh);padding-bottom:0;max-height:calc(88vh - var(--barh));max-height:calc(100dvh - var(--barh) - var(--sat) - 16px)}
.sheet.half{height:44vh;height:44dvh;max-height:calc(100dvh - var(--barh) - var(--sat) - 16px)}
.sheet.half.full,.sheet.full{height:calc(88vh - var(--barh));height:calc(100dvh - var(--barh) - var(--sat) - 16px);max-height:calc(100dvh - var(--barh) - var(--sat) - 16px)}
.sheet .bd{flex:1 1 auto;min-height:0;overscroll-behavior:contain}
.hxbtns{padding-bottom:10px}
.sugg{max-height:50vh;max-height:calc(100dvh - var(--barh) - var(--sat) - 140px)}
.scrim{z-index:60}
/* back buttons */
.tbtn.backb{display:inline-flex;align-items:center;gap:3px;padding:0 12px 0 9px;font-size:14px;font-weight:500;white-space:nowrap;flex:none;text-decoration:none}
.tbtn.backb[hidden]{display:none}
.tbtn.backb span{font-size:20px;line-height:1;margin-top:-2px}
.mapbar .tbtn.backb{height:46px;box-shadow:var(--shadow)}
.mapbar .tbtn.backb{width:auto;min-width:0}
.mapbar .row{min-width:0}.mapbar .search,.mapbar .search .box,.mapbar .search input{min-width:0}
[dir=rtl] .maplibregl-ctrl-bottom-left{left:auto;right:0}   /* round 2t: in Hebrew the map buttons sit on the left, so the map credit (i) moves right instead of under the Near me button */
.basesw{bottom:40px}.mapsat .basesw{bottom:52px}   /* round 2t: clear of the map credit (i) button */

/* assurance 2026-10-25 (D-10): sheets take focus programmatically for keyboard/screen-reader users; no visible ring on the sheet itself */
.sheet:focus,.sheet:focus-visible{outline:none}

/* night Oct 26: grouped kosher certification filter (search, Mehadrin only, groups; Rabbanut by city collapsed) */
.hxtop{position:sticky;top:0;z-index:2;background:var(--card);padding:4px 0 8px;display:flex;flex-direction:column;gap:6px}
.hxq{font:inherit;font-size:16px;width:100%;box-sizing:border-box;padding:10px 12px;border:1px solid var(--line);border-radius:10px;background:var(--bg,transparent);color:var(--ink)}
.hxmeh{display:flex;align-items:center;gap:12px;padding:8px 4px;font-size:15.5px;font-weight:600;cursor:pointer}
.hxmeh input{width:20px;height:20px;flex:none;accent-color:var(--gold)}
.hxg{border-bottom:1px solid var(--line)}
.hxg>summary{cursor:pointer;padding:12px 4px;font-weight:700;font-size:15px;list-style-position:inside}
.hxg[hidden],.hxsub[hidden],.hxlist label[hidden]{display:none}
.hxsub h4{margin:10px 4px 2px;font-size:12.5px;font-weight:700;color:var(--ink3);text-transform:none}
.hxg .hxlist label,.hxg label{padding-inline-start:10px}
.hxnone{color:var(--ink3);padding:12px 4px;margin:0}

/* day round Oct 26 (D-13, Pinchas yes 11:35 AM): WCAG AA text contrast, palette kept. Secondary grey a few steps darker (light) / lighter (dark);
   in dark mode the filled accent button uses the brand terracotta #a4552f (white text 5.2:1) and selected chips / badges get dark text on their pastel (5.6:1+);
   light-mode selected chips are 12% deeper so every category passes 4.5:1 with white text. */
:root{--ink3:#706253}
:root[data-theme=dark]{--ink3:#a69885}
.chip.on{background:color-mix(in srgb,var(--c,var(--acc)) 88%,#000)}
:root[data-theme=dark] .chip.on{background:var(--c,var(--acc));color:#1d1915}
:root[data-theme=dark] .chip.on .ico{color:#1d1915}
:root[data-theme=dark] .chip.on[data-open] .ico{color:#fffaf2}
:root[data-theme=dark] .chip.on[data-open]{background:color-mix(in srgb,#3f7d4f 88%,#000);color:#fffaf2}
:root[data-theme=dark] .btn.pri{background:#a4552f;border-color:#a4552f;color:#fffaf2}
:root[data-theme=dark] .bnav .badge,:root[data-theme=dark] .bnav a .badge{color:#1d1915}
/* day round Oct 26 (D-06): visible keyboard focus on the main search box (the input itself hides its outline) */
.search .box:focus-within{border-color:var(--acc);box-shadow:0 0 0 2px var(--acc),0 8px 28px rgba(0,0,0,.18)}
.mapbar .search .box:focus-within{box-shadow:0 0 0 2px var(--acc),var(--shadow)}
.hx small.hxold{margin:0 0 4px;font-size:11.5px;color:var(--ink3)}   /* day round Oct 26 (K3): per-badge 'Last checked' when older than this month */

/* Deployed in the editor round Oct 26 (A).  Light-mode selected chips: the light palette is the vivid map palette (map.js VPAL), so after the 12% deepening
   6 categories are still under 4.5:1 with white text (measured live on 54d33969: water 3.36, activity 2.93, hikes 3.99, catering 3.36, market 2.6, park 4.17).
   These per-category rules bring every one to >=4.6:1 and leave the others as they are. Append to web/assets/app.css, rebuild, test, deploy. */
:root:not([data-theme=dark]) .chip.on{background:var(--c,var(--acc))}
:root:not([data-theme=dark]) .chip.on[data-g=water]{background:color-mix(in srgb,var(--c) 73%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=activity]{background:color-mix(in srgb,var(--c) 68%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=food]{background:color-mix(in srgb,var(--c) 93%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=hikes]{background:color-mix(in srgb,var(--c) 80%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=history]{background:color-mix(in srgb,var(--c) 97%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=family]{background:color-mix(in srgb,var(--c) 87%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=beach]{background:color-mix(in srgb,var(--c) 88%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=catering]{background:color-mix(in srgb,var(--c) 73%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=market]{background:color-mix(in srgb,var(--c) 64%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=stay]{background:color-mix(in srgb,var(--c) 94%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=park]{background:color-mix(in srgb,var(--c) 83%,#000)}

:root:not([data-theme=dark]) .chip.on[data-g=views]{background:color-mix(in srgb,var(--c) 90%,#000)}
:root:not([data-theme=dark]) .chip.on[data-g=mikvah]{background:color-mix(in srgb,var(--c) 88%,#000)}

/* editor Oct 26: sub-filters inside a category, card tags, settings rows */
.chip.sub{height:30px;font-size:12.5px;border-style:dashed;border-color:color-mix(in srgb,var(--c) 55%,var(--line))}
.chip.sub.on{border-style:solid}
.bdg.tg{background:color-mix(in srgb,var(--acc) 12%,var(--card))}
.bdg.tg-oct7,.bdg.tg-memorial{background:color-mix(in srgb,var(--ink2) 14%,var(--card))}
.note.se,.note.fac{display:block}
.note.se .ico{width:16px;height:16px;vertical-align:-3px;margin-inline-end:4px}
.set .lead.sd{margin:0 0 6px;font-size:13.5px}
.set #s-kxv,.set #s-homev{margin:0 0 8px;font-weight:650;color:var(--ink)}
.set .seg+.seg{margin-top:6px}
.hsrch input{width:100%;height:42px;border-radius:12px;border:1px solid var(--line);background:var(--card);color:var(--ink);padding:0 12px;font-size:16px;margin:0 0 6px}
.hsrch .optlist:empty{display:none}
:root:not([data-theme=dark]) .chip.sub.on{background:color-mix(in srgb,var(--c) 68%,#000);color:#fff}

/* photos Oct 27: card photo (16:9, 8px radius) + small grey credit */
.p-photo{margin:0 0 10px}.p-photo img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:8px;background:var(--line)}.p-photo figcaption{margin:4px 2px 0;font-size:11px;line-height:1.35;color:var(--ink3)}.p-photo figcaption a{color:inherit;text-decoration:none}.p-photo figcaption a:hover{text-decoration:underline}

/* jewgo picks Oct 26: open/closed line on cards, Hebrew date + shkia strip on home, mikvah card */
.ohl{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:650;margin:-4px 0 10px}
.ohl .ico{width:16px;height:16px}
.ohl.op{color:#2f6b3f}.ohl.cl{color:#a4552f}
:root[data-theme=dark] .ohl.op{color:#8fd19f}:root[data-theme=dark] .ohl.cl{color:#e3a07f}
.hstrip{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:12px;font-size:13.5px;font-weight:600;color:#fffaf2;text-shadow:0 1px 8px rgba(0,0,0,.35)}
.hstrip:empty{display:none}
.hstrip span{display:inline-flex;align-items:center;gap:6px}
.hstrip .ico{width:15px;height:15px;opacity:.9}
.btn.mkcall{width:100%;height:48px;font-size:16px;margin:2px 0 10px;border-radius:8px}
.badges.mkt{margin-bottom:8px}
.bdg.mk{background:color-mix(in srgb,#4F6332 16%,var(--card));color:#3f5128}
:root[data-theme=dark] .bdg.mk{color:#c9d8a8}
.note.mkh{display:flex;gap:8px;align-items:flex-start}
.note.mkh .ico{width:16px;height:16px;flex:none;margin-top:2px}
.note.mkh div div{margin:2px 0}
.mksrc{display:block;color:var(--ink3);font-size:12px;margin-top:4px}

/* shuls Oct 27 */
.shchk{font-size:11.5px;color:var(--ink3);margin:4px 2px 2px}.shnear{margin:14px 0 4px}.shnear h3{font-family:inherit;font-size:13.5px;font-weight:600;color:var(--ink2);margin:0 2px 6px;letter-spacing:0}.shnear ul{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}.shnear li{border-bottom:1px solid var(--line)}.shn{display:flex;width:100%;justify-content:space-between;align-items:center;gap:12px;background:none;border:0;padding:10px 2px;font:inherit;font-size:14.5px;color:var(--ink);cursor:pointer;text-align:start}.shn:hover .shn-n{text-decoration:underline}.shn-n{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.shn-m{color:var(--ink3);font-size:12.5px;white-space:nowrap;flex:none}.nbk{color:var(--ink3);font-size:12px}

/* trails Oct 26: "Trails" chip above the Map/Satellite chip (same corner, same 60px width); terracotta when on */
.trsw{position:absolute;z-index:5;bottom:108px;inset-inline-start:10px;width:60px;height:30px;padding:0 4px;border:2px solid #fff;border-radius:10px;display:flex;align-items:center;justify-content:center;gap:3px;cursor:pointer;background:var(--card);color:var(--ink);font:600 10.5px/1 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif;box-shadow:0 1px 4px rgba(0,0,0,.35),0 0 0 .5px rgba(0,0,0,.12)}
.trsw.on{background:#a4552f;color:#fff}
.trsw:active{transform:scale(.96)}
.trsw:focus-visible{outline:2px solid var(--acc);outline-offset:2px}
.mapsat .trsw{bottom:120px}

.note.yz,.note.hk,.note.off{display:block}.note.yz .ico,.note.hk .ico,.note.off .ico{width:16px;height:16px;vertical-align:-3px;margin-inline-end:4px}.note.off a{color:inherit;font-weight:600;text-decoration:underline}   /* night28 */
/* plus Oct 27: core for the PLUS layer (needed at first paint; the rest is in plus.css, loaded after first paint) */
.bnav{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:1fr}
.bnav button span,.bnav a span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 2px}
.bnav button.on:before,.bnav a.on:before{content:"";position:absolute;top:0;inset-inline:32%;height:3px;border-radius:0 0 3px 3px;background:var(--acc)}
@media (min-width:900px){.bnav{left:50%;right:auto;bottom:16px;width:540px;height:62px;padding-bottom:0;transform:translateX(-50%);border:1px solid var(--line);border-radius:999px;box-shadow:var(--shadow);background:color-mix(in srgb,var(--card) 76%,transparent);backdrop-filter:blur(16px) saturate(1.3);-webkit-backdrop-filter:blur(16px) saturate(1.3);overflow:hidden}
 .bnav button.on:before,.bnav a.on:before{inset-inline:36%}}
/* desktop: place / list / town sheets dock as a 400px side panel on the map, no dimming */
@media (min-width:1000px){body.mapmode #placesheet,body.mapmode #listsheet,body.mapmode #townsheet{left:auto;right:auto;inset-inline-end:14px;inset-inline-start:auto;top:122px;bottom:92px;width:400px;max-width:400px;max-height:none;height:auto;border-radius:16px;box-shadow:0 10px 40px rgba(30,18,8,.28);transform:translateX(calc(100% + 30px))}
 [dir=rtl] body.mapmode #placesheet,[dir=rtl] body.mapmode #listsheet,[dir=rtl] body.mapmode #townsheet{transform:translateX(calc(-100% - 30px))}
 body.mapmode #placesheet.on,body.mapmode #listsheet.on,body.mapmode #townsheet.on,[dir=rtl] body.mapmode #placesheet.on,[dir=rtl] body.mapmode #listsheet.on,[dir=rtl] body.mapmode #townsheet.on{transform:none}
 body.mapmode #placesheet .grab,body.mapmode #listsheet .grab,body.mapmode #townsheet .grab{display:none}
 body.mapmode:not(:has(.sheet.on:not(#placesheet):not(#listsheet):not(#townsheet))) #scrim{opacity:0!important;pointer-events:none!important}}
/* Calm mode (Settings) and the phone's "reduce motion": no animations at all */
html.calm *,html.calm *:before,html.calm *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@media (prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* editor2 Oct 27 UX */
#placesheet{z-index:72}
.sheet.half.card{height:56vh;max-height:56vh}.sheet.half.card.full{height:calc(100dvh - var(--barh) - var(--sat) - 16px);max-height:calc(100dvh - var(--barh) - var(--sat) - 16px)}
.sheet.half.peek{height:236px;max-height:236px}.sheet.half.peek.full{height:88vh;max-height:88vh}
.sheet.half.near{height:50vh;max-height:50vh}.sheet.half.near.full{height:88vh;max-height:88vh}
.sheet .hd .x{min-width:44px;min-height:44px}
body.catpeek #listfab{display:none}
.nchips{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 10px;scrollbar-width:none;-webkit-overflow-scrolling:touch}.nchips::-webkit-scrollbar{display:none}.nchips .chip{min-height:44px;flex:none}
.pmeta .wx{white-space:nowrap}
.acts .btn.sq.trip.on{color:var(--c,#a4552f)}

/* editor2 C5 */
.hero{min-height:232px}
.hero .in>p{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.e2saved{margin:0 0 18px}.e2saved h2{margin:0 0 6px}.e2saved .prow{align-items:center}.e2saved .e2add{min-width:44px;min-height:44px;border:0;border-radius:8px;background:var(--chip,rgba(164,85,47,.12));color:var(--ink,inherit);font:inherit;font-size:15px;padding:0 12px;cursor:pointer;flex:none}.e2saved .e2add.on{opacity:.65}

/* editor2 Oct 27: keep the Near-me button above the category peek list */
body.catpeek .fab.loc{bottom:252px}

/* editor2 Oct 27 (Pinchas 2:39 PM: panels never cover the whole page): settings + certification sheets open as half sheets, scroll inside */
#setsheet,#hxsheet{max-height:62vh;max-height:62dvh;overflow-y:auto;-webkit-overflow-scrolling:touch}

/* ---- editor3 Oct 27 ---- */
.card .acts{display:flex;gap:8px;margin:10px 0 8px}.card .acts .btn.pri{flex:1}.card .acts .btn.sq{flex:none;min-height:48px}
.acts2{display:grid;grid-template-columns:repeat(auto-fit,minmax(0,1fr));gap:8px;margin:0 0 8px}.acts2 .btn{min-height:48px;justify-content:center;font-size:16px}
.card .btn.wolt{margin:0 0 10px}
.cnote{color:var(--ink2)}
.hkrow{display:flex;align-items:center;gap:10px;margin:10px 0 4px;min-height:44px;font-size:16px;line-height:1.35;font-weight:500;color:var(--ink)}
.hkrow .st{flex:1;display:flex;flex-wrap:wrap;align-items:center;column-gap:6px;row-gap:2px}.hkrow .st b{font-weight:700}.hkrow .sep{color:var(--ink3)}.hkrow .up{color:var(--ink2)}
.tdot{width:12px;height:12px;border-radius:50%;flex:none;box-shadow:0 0 0 2px #fff,0 0 0 3px rgba(0,0,0,.12)}
.hkmap{flex:none;border:0;padding:0;width:44px;height:44px;border-radius:8px;background:var(--chip);display:flex;align-items:center;justify-content:center;color:var(--acc);cursor:pointer}.hkmap svg{width:22px;height:22px}
.trmk{display:flex;flex-direction:column;align-items:center;pointer-events:none}
.trstart{position:relative;background:#2f6b2f;color:#fff;font-weight:700;font-size:13px;line-height:1;padding:7px 10px;border-radius:8px;box-shadow:0 2px 6px rgba(0,0,0,.3);white-space:nowrap;margin-bottom:6px}
.trdot{width:14px;height:14px;border-radius:50%;background:#fff;box-shadow:0 0 0 4px #2f6b2f,0 1px 6px rgba(0,0,0,.35)}

/* editor3: sub-chip tap area >=44px without changing look */
.chip.sub{position:relative}.chip.sub::after{content:'';position:absolute;left:0;right:0;top:-7px;bottom:-7px}

/* editor4 Oct 27 (UX 3): Save / Share word under the icon */
.acts .btn.sq:has(.sql){width:auto;min-width:56px;padding:4px 8px;flex-direction:column;gap:2px}.acts:has(.sql) .btn{height:auto;min-height:56px}.btn.sq .sql{display:block;font-size:14px;line-height:1.1;font-weight:600}

/* editor7 Oct 28 (Pinchas approved): sourced meat / dairy / pareve chip — plain text next to the kosher badge, no border, no fill */
.mdc{display:inline-block;font-size:13px;font-weight:600;line-height:1.35;letter-spacing:0;text-transform:none;white-space:nowrap;color:var(--ink2)}
.mdc.md-m,.mdc.md-md{color:#9a4c28}
.mdc.md-d{color:var(--olive)}
:root[data-theme=dark] .mdc.md-m,:root[data-theme=dark] .mdc.md-md{color:#e0956e}
.hx .hxh{display:flex;flex-wrap:wrap;align-items:baseline;column-gap:10px;row-gap:0;margin:0 0 2px}
.hx .hxh small.hxk{margin:0}
.pk .sep{color:var(--ink3);margin:0 1px}
.pk .mdc{font-size:13px}
.prow .mdc,.tp-k .mdc,.px-stop .mdc{font-size:13px}

/* editor12 Oct 29: (1) Explore Israel last row at >=760px: the d4 last tile must span 4 like its row (Bars squashed fix) */
@media (min-width:760px){.tiles.photo .tile.ph.d4:last-child:nth-child(4n+3){grid-column:span 4;padding-bottom:calc(75% - 2.25px)}}
/* editor12 (2): landscape phones - list sheet and place card leave the map visible; photo capped */
@media (orientation:landscape) and (max-height:500px){
 body.mapmode #listsheet.sheet,#listsheet.sheet.half{height:55vh!important;max-height:55vh!important}
 .sheet.half.card:not(.full){height:55vh!important;max-height:55vh!important}
 #placesheet img,#placesheet picture{max-height:35vh;object-fit:cover}
}
/* editor12 (3): mood chips centred on tablet/desktop; 44px tap targets for map filter chips + kosher selector */
@media (min-width:760px){.px-moods{justify-content:center}}
.mapbar .chips>button,.mapbar .chips .chip,.mapbar .hxsel,.chips>.hxsel{min-height:44px}
/* editor12 (3): 320px Hebrew - allow labels to wrap / tighten instead of "..." */
@media (max-width:340px){[dir=rtl] .bnav button span,[dir=rtl] .bnav a span{white-space:normal;text-overflow:clip;letter-spacing:-.3px;line-height:1.1}
 [dir=rtl] input::placeholder{letter-spacing:-.3px;font-size:14px}}
/* editor12: "Back to plan" pill on a place opened from the trip planner */
.tp-back{position:fixed;z-index:80;top:max(64px,calc(env(safe-area-inset-top) + 64px));inset-inline-start:12px;min-height:44px;padding:0 16px;border-radius:22px;border:1px solid var(--line);background:var(--card,#fff);color:var(--ink,#2a1d12);font:inherit;font-weight:600;box-shadow:var(--shadow)}

/* editor13 Oct 29: Mehadrin is a LEVEL: its toggle sits under the certifier list, above Clear/Done (same toggle style) */
.hxbtns .hxlvl{grid-column:1/-1;border-top:2px solid var(--line);border-bottom:1px solid var(--line);padding:10px 4px 12px;margin-top:-12px}
/* editor13 Oct 29: with a side panel open, search suggestions sit above it (the map bar is lifted while search is in use) */
.mapbar:focus-within,.mapbar:has(.sugg:not([hidden])){z-index:75}

/* editor16 Oct 30 (Instinct bug): the map view is its own layer (fixed, z 5) under the desktop side panels (z 70), so search suggestions slid behind an open Eat & Stay panel. With a side panel open on desktop the suggestions now end at the panel's edge, so nothing hides behind it (panel 400 px + 14 px margin; the search box ends 64 px from the edge). */
@media (min-width:1000px){body.mapmode:has(#placesheet.on) #v-map .sugg,body.mapmode:has(#listsheet.on) #v-map .sugg,body.mapmode:has(#townsheet.on) #v-map .sugg{inset-inline-end:360px}}

/* editor19 Oct 30 (Phase 4): homepage intent groups, small category links, one-tile group, Hebcal Shabbat line. Existing look: 8px, no borders, terracotta/olive. */
.grp19{margin:0 0 6px}
.grp19 .gh19{font-size:17px;font-weight:700;margin:14px 0 8px;color:var(--ink)}
.grp19:first-child .gh19{margin-top:2px}
.tiles.photo .tile.ph.w1{grid-column:1/-1;padding-bottom:42%}
@media (min-width:760px){.tiles.photo .tile.ph.w1{grid-column:1/-1;padding-bottom:28%}}
.more19{display:flex;flex-wrap:wrap;gap:8px;margin:8px 0 0}
.mc19{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 14px;border-radius:8px;background:var(--card);color:var(--ink);text-decoration:none;font-size:15px;font-weight:600}
.mc19 .ico{width:18px;height:18px;color:var(--c);flex:none}
.mc19 .ico:last-child{width:14px;height:14px;color:var(--ink3)}
[dir=rtl] .mc19 .ico:last-child{transform:scaleX(-1)}
.hstrip .zm{flex-basis:100%}
.t3-zm{display:flex;align-items:center;gap:6px}
.t3-zm .ico{width:16px;height:16px;flex:none}
.shabq19{display:flex;flex-direction:column;gap:6px;margin:6px 0 14px;font-size:15px;font-weight:600}
.shabq19 input{min-height:44px;padding:0 12px;border-radius:8px;border:0;background:var(--card);color:var(--ink);font-size:16px}
.shabr19 .grp{margin-top:18px}
.prow[hidden],.shabr19[hidden]{display:none}
.ntc19{display:flex;gap:8px}.ntc19 .ico{flex:none;width:18px;height:18px;margin-top:2px}.ntc19 small{display:block;color:var(--ink2);font-size:13px;margin-top:2px}.ed19 div+div{margin-top:4px}
.phero19{margin:6px 0 12px;border-radius:8px;overflow:hidden;background:var(--card)}.phero19 img{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;max-height:420px}.phero19 figcaption{padding:4px 8px;font-size:12px;color:var(--ink2)}.phero19 figcaption a{color:inherit}

/* editor21 Oct 30 (Phase 5): empty filter state, kosher "How we check" */
/* round 3: Map / Satellite chip */
/* round 2t: in Hebrew the map buttons sit on the left, so the map credit (i) moves right instead of under the Near me button */
.e21empty{padding:18px 6px;text-align:center}.e21empty p{font-size:16px;margin:0 0 14px}
.e21empty .e21b{display:flex;gap:10px;justify-content:center;flex-wrap:wrap}.e21empty .btn{min-height:44px}
.hxinfo{margin:2px 0 6px}.hxinfo summary{display:inline-flex;align-items:center;gap:8px;min-height:44px;cursor:pointer;font-size:15px;opacity:.85;list-style:none}
.hxinfo summary::-webkit-details-marker{display:none}.hxinfo .ii{display:inline-flex;width:20px;height:20px;border-radius:50%;border:1.5px solid currentColor;align-items:center;justify-content:center;font-size:14px;font-weight:700;font-style:normal;font-family:inherit}
.hxinfo p{font-size:15px;line-height:1.45;margin:2px 0 8px}

/* editor24 Oct 31: Book a table / Reservations required */
.btn.book{width:100%;margin:0}.card .btn.book{margin:0 0 10px}.rsvreq{display:flex;align-items:center;gap:6px;margin:0 0 8px;font-size:15px;font-weight:600;color:var(--acc)}.rsvreq .ico{width:18px;height:18px;flex:none}

/* editor27 Oct 31: clear no-results message in the search dropdown (EN+HE) */
.nores{padding:12px 14px;font-size:15px;line-height:1.45;color:var(--ink);text-align:start}.nores b{display:block;font-weight:700;margin-bottom:2px;overflow-wrap:anywhere}.nores span{color:var(--ink2)}
.pagebody .note.sb{font-size:15px;line-height:1.45}   /* editor27: separate-beach days on place pages, body size */
.ph.nf .lead{font-size:16px;line-height:1.5}.ph.nf .nfa{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:14px 0 6px;max-width:520px}.ph.nf .nfa .btn{min-height:48px;display:flex;align-items:center;justify-content:center;text-decoration:none}   /* editor27: not-found page */

.note.hn{display:block;font-size:15px;line-height:1.45}.note.hn .ico{width:16px;height:16px;vertical-align:-3px;margin-inline-end:4px}   /* editor28: stated show times */
.ohnote{margin:3px 0 0;font-size:11.5px;font-weight:400;color:var(--ink3);line-height:1.35}   /* editor33 Nov 1: tiny muted 'Based on info available online' under the hours list */

/* editor47 Nov 2 (fuller place pages): 4 action buttons in one row (Directions · Save · Share · Copy), small map with the pin, description source, trail line */
#pp .acts{grid-template-columns:1fr auto auto auto}
.pmini47{position:relative;display:block;height:180px;margin:12px 0 8px;border-radius:var(--r);overflow:hidden;border:1px solid var(--line);background:var(--bg2);-webkit-tap-highlight-color:transparent}
.pmini47[hidden]{display:none}
.pmini47 .pm47map{position:absolute;inset:0;pointer-events:none}
.pmini47 .pm47map .maplibregl-canvas{outline:0}
.pm47pin{position:absolute;left:50%;top:50%;z-index:2;width:34px;height:34px;margin:-34px 0 0 -17px;border-radius:50% 50% 50% 0;transform:rotate(-45deg);background:var(--c,var(--acc));border:2px solid #fff;box-shadow:0 2px 6px rgba(0,0,0,.3);display:flex;align-items:center;justify-content:center}
.pm47pin .ico{width:17px;height:17px;transform:rotate(45deg);fill:none;stroke:#fff;color:#fff}
.dsrc47{margin:-4px 0 10px;font-size:13px;color:var(--ink2)}.dsrc47 a{color:inherit}
.hk47 .ico{width:20px;height:20px;flex:none;color:var(--c,var(--acc))}

/* SEO-1 Nov 2: link chips on hub pages and list-page numbers are full-size tap targets */
.s1c .chip,.s1pg .chip{min-height:44px}.s1pg .chip{min-width:44px;justify-content:center}.s1c{flex-wrap:wrap}

/* SEO-2 Nov 2: kosher-restaurant city pages (/en|he/kosher-restaurants/<city>/), guide rows with photo / trail / closure note, 44 px links */
.kmore{display:flex;align-items:center;justify-content:center;min-height:44px;margin:10px 0 4px;font-size:15px}
.kcity .s1c{display:flex;gap:8px;padding:0 0 4px}
.ktg{display:block;height:0;scroll-margin-top:72px}
.kr span,.grow span{font-size:15px;line-height:1.35}
.kr .krc{color:var(--ink)}
.kr .kro,.grow .gtr{color:var(--ink2)}
.grow .gcl{color:var(--acc)}
.prow .gpic{width:64px;height:48px;border-radius:10px;object-fit:cover;flex:none;background:var(--bg2)}
.kpage .hxnote.kv{margin:12px 0 4px;font-size:15px}
.kpage .hxinfo{margin:4px 0 8px;font-size:15px}
.kpage .hxinfo summary{min-height:44px;display:flex;align-items:center;gap:8px;cursor:pointer}

/* SEO-4 Nov 2 (speed): place-page map preview. No map engine or tiles until the preview is tapped; the pin and a "Show the map" pill on a light map pattern. */
.pmini47.pm4s::before,.pmini47[data-state=loading]::before{content:"";position:absolute;inset:-12px;background:url(/assets/map/thumb-map.jpg) center/cover;filter:blur(4px);opacity:.6}
html[data-theme=dark] .pmini47.pm4s::before,html[data-theme=dark] .pmini47[data-state=loading]::before{opacity:.25}
.pm4lab{display:none}
.pmini47.pm4s .pm4lab{position:absolute;left:50%;bottom:12px;z-index:3;transform:translateX(-50%);display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 18px;border-radius:22px;background:var(--card);color:var(--ink);border:1px solid var(--line);box-shadow:var(--shadow);font-size:15px;font-weight:600;white-space:nowrap}
.pm4lab .ico{width:18px;height:18px;color:var(--acc)}
.pmini47[data-state=loading] .pm47pin{animation:pm4p 1s ease-in-out infinite alternate}@keyframes pm4p{to{opacity:.55}}
@media (prefers-reduced-motion:reduce){.pmini47[data-state=loading] .pm47pin{animation:none}}

.nsrc{margin:-4px 0 10px;font-size:15px;color:var(--ink2)}.nsrc a{color:inherit;display:inline-flex;align-items:center;min-height:44px}.note.nf{display:flex;gap:8px;align-items:center}.note.nf svg{flex:none}   /* nameonly_apply_nov3 */

/* MAPFIX-2 Nov 3 (Instinct full scan): a closed sheet sits above the bottom bar, so sliding it down by 105% of its own height left a strip of its header on screen ("Kosher certification" after the filter was closed, desktop and tablet). Closed sheets now slide fully below the screen. */
.sheet:not(.on){transform:translateY(calc(105% + var(--barh,0px) + 16px))}
@media (min-width:760px){.sheet:not(.on){transform:translate(-50%,calc(105% + var(--barh,0px) + 16px))}}

/* INSTINCT-N2 Nov 8 (Instinct night-2, Caballero): a phone number on a call button stays left-to-right and on one line in Hebrew (no RTL reordering / wrapping); in the Call / Website row a number too wide for half the row takes its own row */
.tnum,a[href^="tel:"] [dir=ltr],a[href^="tel:"][dir=ltr]{direction:ltr;unicode-bidi:isolate;white-space:nowrap}
.acts2{display:flex;flex-wrap:wrap}.acts2>.btn{flex:1 1 0;min-width:max-content;padding-inline:10px}
#c-call{gap:6px}
@media (max-width:400px){#c-call .tnum{font-size:15px}}

/* KOSHER-FILTER Nov 9 (Pinchas 9:35 AM): the small "Adjust your kosher certification settings ..." line (text 15px, tap area 44px) and the pre-built-page gate */
.hxadj{margin:6px 0 10px;font-size:15px;line-height:1.35;color:var(--ink3)}
.hxadj a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px;color:var(--acc);text-decoration:underline;text-underline-offset:2px;font-size:15px}
.hxadj.top{margin:0 0 4px}
.sugg .hxadj{margin:0;padding:0 12px;border-top:1px solid var(--line)}
.hxzero{font-size:16px;margin:10px 2px 0;color:var(--ink2)}
.shnear .hxadj{margin:4px 0 0}
html.hxp:not(.hxd) a.prow.kr:not([style*="--c-bar)"]):not([style*="--c-wine)"]),html.hxp:not(.hxd) .rows>a.prow[style*="--c-food)"],html.hxp:not(.hxd) .rows>a.prow[style*="--c-catering)"],html.hxp:not(.hxd) #pnb .prow[data-nbg="food"],html.hxp:not(.hxd) #pnb .prow[data-nbg="catering"]{display:none!important}

/* KOSHER-FILTER Nov 9 (Pinchas 4:55 PM + 7:16 PM): "Wineries, breweries & bars always show" note under the kosher picker (Settings + the map chip picker) */
.hxwine{margin:10px 0 4px;font-size:15px;line-height:1.4;color:var(--ink3)}
.hxbtns+.hxwine{padding:0 2px}

/* KEVARIM-N11 Nov 9 (Pinchas 9:33 AM): restricted-access warning box (IDF escort / worshippers only), red tint, text >=15px */
.wbox{display:flex;gap:10px;align-items:flex-start;font-size:16px;line-height:1.45;color:#8a1212;background:#fdeaea;border:1.5px solid #e2a3a3;border-inline-start:5px solid #c62828;border-radius:12px;padding:12px 14px;margin:12px 0}
.wbox b{font-weight:700}
.wbox .ico{flex:0 0 auto;width:22px;height:22px;stroke:#c62828;margin-top:1px}
:root[data-theme=dark] .wbox{color:#ffd6d6;background:#3a1818;border-color:#7a3030;border-inline-start-color:#ef5350}
:root[data-theme=dark] .wbox .ico{stroke:#ef9a9a}

/* PWA-1 Nov 11: Install app item (footer + Settings), iPhone/Android steps, offline page, standalone polish */
.instrow{margin:0 0 14px}.instrow[hidden],.instset[hidden],.js-inst[hidden]{display:none!important}
.instb{display:inline-flex;align-items:center;gap:8px;font:600 15px/1.2 var(--sans);color:var(--acc2);background:var(--chip);border:1px solid var(--line);border-radius:999px;padding:10px 16px;min-height:44px;cursor:pointer}
.instb .ic{flex:none}.seg .instb{border-radius:999px}
.inst .lead{font-size:16px}.insts{margin:10px 0 14px;padding-inline-start:22px;font-size:16px;line-height:1.5;color:var(--ink)}.insts li{margin:0 0 10px}.inst .sd{font-size:15px;color:var(--ink2)}
.offl{padding:max(24px,env(safe-area-inset-top)) 18px calc(30px + env(safe-area-inset-bottom));max-width:640px;margin:0 auto;font-size:16px}.offl h1{font-family:var(--serif);font-size:26px;margin:10px 0}.offl .btn{display:inline-block;margin:6px 6px 0 0;font-size:16px}.offl hr{border:0;border-top:1px solid var(--line);margin:26px 0}
html.pwa-sa body{overscroll-behavior-y:none}
html.pwa-sa .foot{padding-left:max(16px,env(safe-area-inset-left));padding-right:max(16px,env(safe-area-inset-right))}

/* ===== HOME-1 Nov 11 (Pinchas: "the homepage is too cluttered"): calm home, only under #v-home.home1 (classic home untouched) ===== */
#v-home.home1 .hero{min-height:300px}
#v-home.home1 .hero h1{font-size:30px;margin:0 0 14px}
#v-home.home1 .hero .pill{margin-top:10px}
#v-home.home1 .hstrip.h1line{display:block;margin-top:12px;font-size:15px;font-weight:500;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;gap:0}
#v-home.home1 .sec{padding:26px 16px 4px}
#v-home.home1 .h1cats{padding-top:22px;padding-inline:10px}
#v-home.home1 .h1grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px 2px}
#v-home.home1 a.h1c{display:flex;flex-direction:column;align-items:center;gap:7px;text-decoration:none;color:var(--ink);text-align:center;min-width:0}
#v-home.home1 a.h1c .ic{width:52px;height:52px;border-radius:16px;display:grid;place-items:center;background:color-mix(in srgb,var(--c) 14%,var(--card));color:var(--c);border:1px solid color-mix(in srgb,var(--c) 22%,var(--line))}
#v-home.home1 a.h1c .ic .ico{width:24px;height:24px}
#v-home.home1 a.h1c .lb{font-size:15px;font-weight:600;line-height:1.2;letter-spacing:-.15px;overflow-wrap:normal;word-break:normal;hyphens:manual;max-width:100%}
#v-home.home1 details.h1d{border:1px solid var(--line);border-radius:14px;background:var(--card);margin:0 0 10px}
#v-home.home1 details.h1d>summary{list-style:none;display:flex;align-items:center;gap:10px;min-height:50px;padding:0 14px;font-size:15.5px;font-weight:650;cursor:pointer;color:var(--ink)}
#v-home.home1 details.h1d>summary::-webkit-details-marker{display:none}
#v-home.home1 details.h1d>summary .ico{width:20px;height:20px;color:var(--ink2);flex:none}
#v-home.home1 details.h1d>summary:after{content:'';margin-inline-start:auto;width:8px;height:8px;border-right:2px solid var(--ink3);border-bottom:2px solid var(--ink3);transform:rotate(45deg);transition:transform .15s}
#v-home.home1 details.h1d[open]>summary:after{transform:rotate(-135deg)}
#v-home.home1 details.h1d .stat{margin:0;padding:2px 12px 14px}
#v-home.home1 .h1all{margin-top:18px}
#v-home.home1 .chip{font-size:15px}
#v-home.home1 .chip.h1a .ic{display:inline-grid;place-items:center}
#v-home.home1 .chip.h1a .ic .ico{width:16px;height:16px;color:var(--c,var(--ink2))}
#v-home.home1 #px-open h2{align-items:center}
#v-home.home1 .px-more{margin-inline-start:auto;display:inline-flex;align-items:center;gap:2px;border:0;background:none;color:var(--acc);font:600 15px var(--sans);cursor:pointer;padding:6px 0}
#v-home.home1 .px-more .ico{width:16px;height:16px}
#v-home.home1 .faqsec h2{font-size:21px}
#v-home.home1 .faq{gap:8px}
#v-home.home1 .faq details.qa{padding:0}
#v-home.home1 .faq details.qa>summary{list-style:none;cursor:pointer;padding:13px 14px;display:flex;align-items:center;gap:10px}
#v-home.home1 .faq details.qa>summary::-webkit-details-marker{display:none}
#v-home.home1 .faq details.qa>summary h3{margin:0;font-size:15.5px;flex:1}
#v-home.home1 .faq details.qa>summary:after{content:'';width:7px;height:7px;border-right:2px solid var(--ink3);border-bottom:2px solid var(--ink3);transform:rotate(45deg);flex:none}
#v-home.home1 .faq details.qa[open]>summary:after{transform:rotate(-135deg)}
#v-home.home1 .faq details.qa>p{padding:0 14px 13px;font-size:15px}
@media (min-width:760px){#v-home.home1 .hero{min-height:380px}#v-home.home1 .hero h1{font-size:40px}#v-home.home1 .h1grid{grid-template-columns:repeat(8,1fr)}#v-home.home1 .h1more{display:grid;grid-template-columns:1fr 1fr;gap:0 12px;align-items:start}}

/* ===== HOME-2 Nov 11 (Pinchas 3:09 PM chose "1": round photo circles); only under .h1cats.h1ph (HOME_ICONS='photo' in build2.py; 'icon' = HOME-1 tiles) ===== */
#v-home.home1 .h1cats.h1ph .h1grid{gap:16px 2px}
#v-home.home1 .h1cats.h1ph a.h1p{gap:8px}
#v-home.home1 .h1cats.h1ph a.h1p .ic.ph{width:68px;height:68px;border-radius:50%;overflow:hidden;padding:0;flex:none;border:2px solid var(--card);background:color-mix(in srgb,var(--c) 14%,var(--card));box-shadow:0 0 0 1.5px color-mix(in srgb,var(--c) 45%,var(--line)),0 3px 8px rgba(60,40,20,.16)}
#v-home.home1 .h1cats.h1ph a.h1p .ic.ph img{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%;transition:transform .2s}
#v-home.home1 .h1cats.h1ph a.h1p:hover .ic.ph img,#v-home.home1 .h1cats.h1ph a.h1p:focus-visible .ic.ph img{transform:scale(1.06)}
#v-home.home1 .h1cats.h1ph a.h1p:focus-visible{outline:none}
#v-home.home1 .h1cats.h1ph a.h1p:focus-visible .ic.ph{box-shadow:0 0 0 3px var(--acc)}
@media (min-width:760px){#v-home.home1 .h1cats.h1ph a.h1p .ic.ph{width:84px;height:84px}}
/* HOME-2 (Instinct HOME-1 #1): All categories chips wrap inside the phone screen (the long Shabbat-stays chip was 448px EN / 408px HE on a 390px phone) */
#v-home.home1 .h1all .stat{display:flex;flex-wrap:wrap;max-width:100%}
#v-home.home1 .chip.h1a{flex:0 1 auto;max-width:100%;min-width:0;height:auto;min-height:36px;padding:6px 12px;white-space:normal;line-height:1.25}
#v-home.home1 .chip.h1a .lb{min-width:0;overflow-wrap:anywhere}
#v-home.home1 .chip.h1a .ic{flex:none}
/* HOME-2 (Instinct HOME-1 #2): Recently viewed = one small row under Open right now, only when there is history */
#v-home.home1 #px-rv[hidden]{display:none}
#v-home.home1 #px-rv.px-rv1{padding-top:14px}
#v-home.home1 #px-rv.px-rv1 h2{font-size:17px;margin:0 0 8px}
#v-home.home1 #px-rv.px-rv1 .pxc.pxp.sm{flex-basis:34%;max-width:150px}
#v-home.home1 .h1cats.h1ph .h1all{margin-top:22px}   /* HOME-2: a little air between the 2-line labels and All categories */

/* PHOTOS-FIX-2 Nov 11: map/place card photo credit line (CARD_CREDIT switch), readable 15px */
.p-photo figcaption.p-cr{font-size:15px;line-height:1.35;color:var(--ink3);margin:6px 2px 0;word-break:break-word}
