@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* Findr reference design: 3D intent cards, service tiles, pastel map, Airbnb-style place sheet. */
:root{--bg:#f6f8fb;--ink:#14171f;--text:#2b2f37;--muted:#6b7280;--line:#e7ebf0;--blue:#0a74ff;--blue-deep:#0860e0;--maroon:#8c1c22;--tile:#eef1f5;--white:#fff;--nav-h:78px;--shadow:0 2px 12px rgba(17,24,39,.07);--shadow-lg:0 10px 30px rgba(17,24,39,.14);font-family:Inter,-apple-system,'SF Pro Text',system-ui,'Segoe UI',Roboto,sans-serif;color:var(--ink);background:#e9edf3;font-synthesis:none;-webkit-font-smoothing:antialiased}
*{box-sizing:border-box}body{margin:0;min-height:100vh;background:#e9edf3}button,input,select{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer;padding:0}a{color:inherit;text-decoration:none}button,a{-webkit-tap-highlight-color:transparent}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8cc0ff;outline-offset:2px}[hidden]{display:none!important}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
svg{display:block}[data-icon]{display:inline-flex}
.app{max-width:480px;margin:0 auto;min-height:100vh;background:var(--bg);padding:14px 14px calc(var(--nav-h) + 24px + env(safe-area-inset-bottom));position:relative}
/* Top bar */
.topbar{display:flex;align-items:center;justify-content:space-between;padding:4px 2px 0}
.brand{display:flex;align-items:center;gap:7px}.brand img{height:44px;width:auto}.brand .wordmark{height:35px}
.top-actions{display:flex;gap:12px}
.round{width:50px;height:50px;border-radius:50%;background:#eceff4;display:grid;place-items:center;color:#1b1e25;position:relative}
.round svg{width:25px;height:25px}
.round .dot{position:absolute;top:9px;right:10px;width:11px;height:11px;border-radius:50%;background:#ff3b30;border:2px solid #eceff4}
.location{display:inline-flex;align-items:center;gap:9px;margin:12px 0 18px;background:#e8edf4;border-radius:999px;padding:11px 18px 11px 16px;font-size:17px;font-weight:500;color:#1b1e25;max-width:100%}
.location #locationLabel{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.loc-pin{color:var(--blue)}.loc-pin svg{width:20px;height:20px}.chev svg{width:18px;height:18px}
/* Intent cards: Explore's menu, three across; the chosen one is ringed in blue */
.service-rail{display:flex;overflow-x:auto;scroll-snap-type:x proximity;scroll-padding-inline:14px;scrollbar-width:none;-webkit-overflow-scrolling:touch;margin:0 -14px;padding:0 14px}
.service-rail::-webkit-scrollbar,.chips::-webkit-scrollbar{display:none}
.intent-rail{display:flex;gap:8px;padding:3px 0 4px}
.intent{flex:1 1 0;min-width:0;aspect-ratio:128/184;border-radius:22px;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:14px 6px 16px;position:relative;overflow:hidden;text-align:center;box-shadow:inset 0 0 0 1px rgba(255,255,255,.55);transition:box-shadow .15s}
.intent img{width:96%;height:62%;object-fit:contain;object-position:center bottom;pointer-events:none;filter:drop-shadow(0 6px 8px rgba(0,0,0,.08))}
.intent .service-label{font-size:20px;line-height:1.12;font-weight:800;letter-spacing:-.4px;color:#15181e}
.intent.delivery{background:linear-gradient(180deg,#fde8e9,#fcdcdd)}
.intent.table{background:linear-gradient(180deg,#fcf0e2,#fae6d0)}
.intent.service{background:linear-gradient(180deg,#e6f0fd,#d8e7fb)}
.intent.active{box-shadow:inset 0 0 0 3px var(--blue),0 6px 16px rgba(10,116,255,.22)}
.intent:active{transform:scale(.98)}
.dots{display:flex;justify-content:center;gap:7px;margin:14px 0 6px}.dots i{width:8px;height:8px;border-radius:50%;background:#d6dbe3;transition:background .2s}.dots i.on{background:var(--blue)}
/* Section titles */
.section-title{display:flex;align-items:baseline;justify-content:space-between;margin:14px 0 12px}
.section-title h2{margin:0;font-size:23px;font-weight:800;letter-spacing:-.5px}
#exploreTitle{font-size:clamp(18px,5.3vw,23px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.see-all{color:var(--blue);font-size:18px;font-weight:600}
/* Service tiles */
.service-rail{gap:4px;padding-bottom:2px}
.tile{flex:0 0 calc((100% - 16px)/4.9);min-width:0;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:8px;text-align:center}
.tile .tile-box{width:100%;aspect-ratio:74/68;border-radius:18px;background:linear-gradient(180deg,#f3f5f8,#e7ebf0);display:grid;place-items:center;box-shadow:inset 0 1px 0 #fff,0 1px 3px rgba(17,24,39,.06)}
.tile img{width:78%;height:78%;object-fit:contain}
.tile span{font-size:12.5px;font-weight:500;color:#23262d;line-height:1.2;letter-spacing:-.35px;white-space:nowrap}
.tile span{white-space:pre}
.tile.active .tile-box{box-shadow:inset 0 0 0 2.5px var(--blue),0 4px 12px rgba(10,116,255,.2)}.tile.active span{color:var(--blue);font-weight:700}
/* Map */
.content{display:flex;flex-direction:column}
body:not(.map-mode) .content .map-section{display:block}
.map-section{position:relative;height:232px;border-radius:22px;overflow:hidden;background:#e6e6e0;margin:14px 0 6px;box-shadow:var(--shadow);isolation:isolate}
#map{position:absolute;inset:0;background:#e6e6e0}
.leaflet-container{font-family:inherit;background:#e6e6e0}
.leaflet-control-attribution{font-size:9.5px!important;background:rgba(255,255,255,.7)!important;padding:0 5px!important;border-radius:6px 0 0 0}
.map-btn{width:46px;height:46px;border-radius:14px;background:#fff;display:grid;place-items:center;box-shadow:0 2px 10px rgba(17,24,39,.15);color:#1b1e25}
.map-btn svg{width:22px;height:22px}
.map-btn.expand{position:absolute;top:12px;right:12px;z-index:500}
.map-controls{position:absolute;right:14px;bottom:24px;z-index:500;display:none;flex-direction:column;gap:14px;align-items:center}
.map-controls #locate{width:54px;height:54px;border-radius:50%}
.zoom{display:flex;flex-direction:column;background:#fff;border-radius:16px;box-shadow:0 2px 10px rgba(17,24,39,.15);overflow:hidden}
.zoom .map-btn{box-shadow:none;border-radius:0;width:54px;height:54px}.zoom .map-btn+.map-btn{border-top:1px solid #edf0f4}.zoom svg{width:26px;height:26px}
.map-section .map-chips{position:absolute;top:16px;left:0;right:0;z-index:500;padding:0 14px;display:none}
#mapFallback{position:absolute;inset:0;display:grid;place-items:center;text-align:center;padding:20px;color:var(--muted);font-size:14px;z-index:400}
/* Pins */
.findr-pin{background:none;border:0}
.pin{position:relative;width:100%;height:100%;filter:drop-shadow(0 4px 5px rgba(0,0,0,.25));transition:transform .15s}
.pin svg{width:100%;height:100%;overflow:visible}
.pin .pin-logo{position:absolute;left:18.75%;top:15%;width:62.5%;aspect-ratio:1;border-radius:50%;overflow:hidden}
.pin .pin-logo img{width:100%;height:100%;object-fit:cover;background:#fff;display:block}
.pin.selected{transform:translateY(-2px)}
.user-dot{width:22px;height:22px;border-radius:50%;background:var(--blue);border:4px solid #fff;box-shadow:0 0 0 12px rgba(10,116,255,.18),0 2px 6px rgba(0,0,0,.25)}
/* Full map tab */
body.map-mode .home-only,body.map-mode .results,body.map-mode .results-head,body.map-mode .get-app{display:none!important}
body.map-mode{overflow:hidden}
body.map-mode .map-section{position:fixed;top:var(--map-top,150px);bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);height:auto;margin:0;border-radius:26px 26px 0 0;box-shadow:none}
body.map-mode .map-section .map-chips{display:flex}
body.map-mode .map-controls{display:flex;bottom:calc(var(--nav-h) + 34px + env(safe-area-inset-bottom))}
body.map-mode .map-btn.expand{display:none}
body.map-mode .leaflet-control-attribution{margin-bottom:calc(var(--nav-h) + env(safe-area-inset-bottom))!important}
body.map-mode.has-preview .map-controls{bottom:calc(var(--sheet-h,330px) + var(--nav-h) + 16px)}
/* Chips */
.chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;scroll-snap-type:x proximity}
.chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 16px;border-radius:999px;background:#fff;font-size:15.5px;font-weight:500;color:#1f232a;box-shadow:0 2px 8px rgba(17,24,39,.1);border:1px solid rgba(17,24,39,.04);scroll-snap-align:start;white-space:nowrap}
.chip svg{width:20px;height:20px}.chip img{width:24px;height:24px;object-fit:contain}.chip .emoji{font-size:18px;line-height:1}
.chip.active{background:var(--blue);color:#fff;box-shadow:0 4px 12px rgba(10,116,255,.35);border-color:transparent}
.results-head .chips{margin:0 -14px;padding:2px 14px 8px}
.results-head .chip{box-shadow:0 1px 4px rgba(17,24,39,.08)}
/* Views */
body:not([data-view="home"]) .home-only{display:none!important}
/* Explore: under the cards, its heading, then the service tiles (Book a Service) or the type chips */
body[data-view="home"] .results-head .view-title,body[data-view="home"] .service-hint,body[data-view="home"] .results-head .search,body[data-view="home"] .results>.section-title,body[data-view="home"] #count,body[data-view="home"] #notice:empty{display:none}
body[data-view="home"][data-mode="appointment"] .results-head,body:not([data-mode="appointment"]) .services-block,body[data-view="home"] #businessTypeSection,.type-rail:empty,.type-rail:empty+.dots,body[data-mode="table"] #typeDots{display:none}
body[data-mode="table"] .type-rail{margin-bottom:10px}
body:not([data-view="home"]) .map-section{display:none!important}
body.map-mode .map-section{display:block!important}
.results-head{margin-top:2px}
.view-title{display:flex;align-items:center;gap:10px;margin:2px 0 6px}
.view-title h1{margin:0;font-size:28px;font-weight:800;letter-spacing:-.7px}
.service-hint{margin:0 0 14px;color:var(--muted);font-size:15px;line-height:1.45}
.search{display:flex;align-items:center;gap:10px;background:#fff;border-radius:16px;padding:0 6px 0 16px;height:54px;box-shadow:var(--shadow);margin-bottom:14px;color:#7b8190}
.search svg{width:22px;height:22px}.search input{flex:1;border:0;outline:0;background:none;font-size:16.5px;min-width:0;color:var(--ink)}
.search input::placeholder{color:#9aa1ad}.search button{width:44px;height:44px;border-radius:12px;display:grid;place-items:center;color:#1b1e25}
body[data-view="saved"] .search,body[data-view="saved"] .chip-row-wrap{display:none}
.chip-row-wrap{margin-bottom:6px}
/* Business cards: full-width picture banners */
.count{margin:-6px 0 12px;color:var(--muted);font-size:14px}
.notice{margin:0 0 10px;color:var(--muted);font-size:13px}.notice:empty{display:none}
.list{display:flex;flex-direction:column;gap:16px}
.card{position:relative;background:#fff;border-radius:22px;overflow:hidden;box-shadow:var(--shadow);min-width:0}
.card-main{display:flex;flex-direction:column;align-items:stretch;width:100%;min-width:0;text-align:left}
.visual{width:100%;aspect-ratio:16/9;position:relative;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#eef2f8,#dfe6f0)}
.visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.visual>img.logo-only{object-fit:contain;padding:34px;background:#f7faff}
.visual .letter{font-size:54px;font-weight:800;color:#9aa7ba}
.card-body{padding:13px 16px 15px;min-width:0}
.card h3{margin:0 0 4px;font-size:18px;font-weight:700;letter-spacing:-.35px;line-height:1.22;overflow-wrap:anywhere}
.card .cuisines{margin:0 0 8px;color:var(--muted);font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.listing-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;font-size:12.5px;color:var(--muted);line-height:1.35}
.listing-meta .services{color:#14853f;font-weight:600}.listing-meta .services.unavailable{color:#8a633f}
.listing-meta .status{margin:0;font-weight:600;color:#14853f}.listing-meta .status.closed{color:#b42318}
.card .heart{position:absolute;top:12px;right:12px;z-index:2;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.93);display:grid;place-items:center;color:#1b1e25;box-shadow:0 3px 12px rgba(12,32,68,.16)}
.skeleton{height:100px;border-radius:20px;background:linear-gradient(90deg,#edf1f6 25%,#f7f9fb 37%,#edf1f6 63%);background-size:400% 100%;animation:sk 1.4s ease infinite}@keyframes sk{0%{background-position:100% 50%}100%{background-position:0 50%}}
.empty{text-align:center;padding:34px 18px;background:#fff;border-radius:22px;box-shadow:var(--shadow)}.empty>span{color:#a3abb8}.empty>span svg{width:34px;height:34px;margin:0 auto}
.empty h3{margin:10px 0 6px;font-size:19px}.empty p{margin:0 0 16px;color:var(--muted);font-size:15px;line-height:1.45}
.primary{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--blue);color:#fff;font-weight:600;font-size:16px;border-radius:14px;padding:13px 20px}
.primary svg{width:20px;height:20px}.primary.wide{width:100%}
.get-app{text-align:center;margin-top:22px}.install{display:inline-flex;align-items:center;gap:8px;background:#fff;color:var(--blue);font-weight:600;border-radius:999px;padding:11px 18px;box-shadow:var(--shadow)}.install svg{width:18px;height:18px}
.footer-note{color:#8b93a1;font-size:13px;margin:16px 0 0}
/* Bottom nav */
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(480px,100%);height:calc(var(--nav-h) + env(safe-area-inset-bottom));padding:8px 6px env(safe-area-inset-bottom);background:rgba(255,255,255,.97);backdrop-filter:blur(14px);border-top:1px solid #e8ebf0;display:grid;grid-template-columns:repeat(5,1fr);z-index:1000}
.bottom-nav button{display:flex;flex-direction:column;align-items:center;gap:5px;font-size:13.5px;font-weight:500;color:#5f6570}
.bottom-nav button svg{width:27px;height:27px}
.bottom-nav button.active{color:var(--blue)}.bottom-nav button.active svg [data-fill]{fill:currentColor}
/* Place sheet (map) */
.map-business-card{position:absolute;left:0;right:0;bottom:0;z-index:700;background:#fff;border-radius:28px 28px 0 0;padding:12px 16px calc(var(--nav-h) + 18px + env(safe-area-inset-bottom));box-shadow:0 -8px 30px rgba(17,24,39,.14)}
.sheet-handle{width:44px;height:5px;border-radius:5px;background:#d6dae1;margin:0 auto 14px}
.map-card-close{position:absolute;top:18px;right:14px;width:40px;height:40px;border-radius:50%;background:#f0f2f5;display:grid;place-items:center;z-index:2}.map-card-close svg{width:20px;height:20px}
.sheet-row{display:flex;gap:14px;align-items:flex-start}
.sheet-photo{flex:0 0 40%;max-width:170px;aspect-ratio:170/182;border-radius:16px;overflow:hidden;position:relative;background:#eef2f7}
.sheet-photo img{width:100%;height:100%;object-fit:cover}
.sheet-photo .heart,.detail-cover .heart{position:absolute;top:10px;left:10px;width:40px;height:40px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;color:#1b1e25;box-shadow:0 2px 6px rgba(0,0,0,.15)}
.heart svg{width:22px;height:22px}.heart.on{color:#ff2d55}.heart.on svg path{fill:currentColor}
.sheet-info{flex:1;min-width:0}
.sheet-title{display:flex;gap:10px;align-items:center;margin-bottom:8px;padding-right:40px}
.sheet-logo{flex:0 0 56px;height:56px;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.12)}.sheet-logo img{width:100%;height:100%;object-fit:cover}
.sheet-title strong{display:block;font-size:19px;font-weight:800;letter-spacing:-.4px;line-height:1.15}
.sheet-title span{display:block;font-size:14px;color:#5f6673;margin-top:3px}
.sheet-info p{margin:0;font-size:14.5px;line-height:1.4;color:#2b2f37;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.sheet-status{margin-top:6px!important;font-size:14px!important;font-weight:600;color:#14853f!important}.sheet-status.closed{color:#b42318!important}
.sheet-actions{display:flex;gap:12px;margin-top:16px}
.cta{flex:1;display:flex;align-items:center;justify-content:center;gap:10px;height:56px;border-radius:16px;font-size:19px;font-weight:700;color:#fff;background:linear-gradient(180deg,#1580ff,#0a66e8);box-shadow:0 6px 14px rgba(10,116,255,.3)}
.cta svg{width:24px;height:24px}
.cta.book-table{background:linear-gradient(180deg,#9d2128,#7a141a);box-shadow:0 6px 14px rgba(140,28,34,.32)}
.cta.book-now{background:#fff;color:var(--blue);box-shadow:inset 0 0 0 2px var(--blue)}
.square{flex:0 0 60px;height:56px;border-radius:16px;background:#fff;display:grid;place-items:center;color:var(--blue);box-shadow:inset 0 0 0 1px #e3e7ee,0 2px 6px rgba(17,24,39,.06)}.square svg{width:26px;height:26px}
.osm-credit{font-size:11px;color:#8b93a1;margin:10px 0 0}
/* Detail dialog */
dialog{border:0;padding:0;background:transparent;max-width:none;max-height:none}
dialog::backdrop{background:rgba(15,23,42,.45);backdrop-filter:blur(2px)}
#detail{width:min(480px,100%);margin:auto auto 0;max-height:92vh;overflow:auto;background:#fff;border-radius:28px 28px 0 0}
#detail .close{position:absolute;top:14px;right:14px;z-index:3;width:42px;height:42px;border-radius:50%;background:rgba(255,255,255,.92);display:grid;place-items:center;box-shadow:0 2px 6px rgba(0,0,0,.15)}#detail .close svg{width:20px;height:20px}
.detail-cover{height:220px;background:linear-gradient(135deg,#eef2f8,#dfe6f0);position:relative;display:grid;place-items:center;overflow:hidden}
.detail-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.detail-cover .letter{font-size:64px;font-weight:800;color:#a6b2c4}
.detail-cover .heart{top:14px;left:14px}
.detail-body{padding:16px 18px 6px}
.detail-heading{display:flex;gap:12px;align-items:center;margin-top:-50px;position:relative}
.detail-logo{width:76px;height:76px;border-radius:18px;object-fit:cover;border:3px solid #fff;background:#fff;box-shadow:0 2px 8px rgba(0,0,0,.15)}
.detail-heading h2{margin:34px 0 2px;font-size:24px;font-weight:800;letter-spacing:-.5px}.detail-heading p{margin:0;color:#5f6673;font-size:15px}
.detail-body>p{color:#2b2f37;font-size:15.5px;line-height:1.5}
.detail-meta{display:flex;flex-wrap:wrap;gap:8px}.detail-meta span{background:#f1f4f8;border-radius:999px;padding:7px 12px;font-size:13.5px;font-weight:600;color:#384050}
.preview{background:#f6f8fb;border-radius:18px;padding:12px;margin:12px 0}.preview-head{display:flex;justify-content:space-between;font-weight:700;font-size:15px;margin-bottom:10px}.preview-head small{color:var(--muted);font-weight:500}
.products{display:flex;gap:10px;overflow-x:auto;scrollbar-width:none}.product{flex:0 0 108px}.product img,.product-placeholder{width:108px;height:84px;border-radius:12px;object-fit:cover;background:#e5eaf1}.product p{margin:6px 0 0;font-size:13px;color:#2b2f37;line-height:1.3}
.small{font-size:13px;color:var(--muted);line-height:1.45}
.order-wrap{position:sticky;bottom:0;background:#fff;padding:12px 18px calc(18px + env(safe-area-inset-bottom));border-top:1px solid #eef1f5}
.service-actions{display:flex;gap:10px}
.service-action{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:56px;border-radius:16px;font-size:18px;font-weight:700}
.service-action.book{background:linear-gradient(180deg,#9d2128,#7a141a)}
.order-wrap small{display:block;text-align:center;margin-top:8px;color:#8b93a1;font-size:12.5px}
/* Sheets */
.sheet{width:min(480px,100%);margin:auto auto 0;background:#fff;border-radius:28px 28px 0 0;padding:20px 18px calc(22px + env(safe-area-inset-bottom))}
.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{margin:0;font-size:22px;font-weight:800}
.plain{width:40px;height:40px;border-radius:50%;background:#f0f2f5;display:grid;place-items:center}.plain svg{width:20px;height:20px}
.sheet p{color:var(--muted);font-size:15px;line-height:1.45}
.sheet label{display:block;font-weight:600;margin:16px 0 8px}.sheet select{width:100%;height:52px;border-radius:14px;border:1px solid #dfe4ea;padding:0 14px;background:#fff;font-size:16px;margin-bottom:6px}
.sheet .primary+.primary{margin-top:6px}
.all-caught-up{text-align:center;padding:26px 10px 10px;color:#a3abb8}.all-caught-up svg{width:40px;height:40px;margin:0 auto}.all-caught-up h3{color:var(--ink);margin:12px 0 4px;font-size:18px}
#toast{position:fixed;left:50%;bottom:calc(var(--nav-h) + 18px + env(safe-area-inset-bottom));transform:translateX(-50%);background:#1b1e25;color:#fff;border-radius:14px;padding:12px 16px;font-size:14.5px;z-index:2000;max-width:min(440px,calc(100% - 28px));box-shadow:var(--shadow-lg)}
@media (min-width:481px) and (max-width:899px){.app{box-shadow:0 0 0 1px #e1e6ee}}
@media (max-width:360px){.intent .service-label{font-size:17px}.section-title h2{font-size:20px}.tile span{font-size:12px}}
/* Desktop: the same design laid out wide. Tabs move into the top bar, every card and tile shows at
   once, the list sits beside a large map, and sheets become centred dialogs. */
@media (min-width:900px){
 :root{--nav-h:0px;--top-h:84px}
 body,.app{background:var(--bg)}
 .app{max-width:1240px;padding:0 32px 48px}
 .topbar{position:sticky;top:0;z-index:900;height:var(--top-h);padding:0;background:var(--bg)}
 .brand img{height:48px}.brand .wordmark{height:38px}
 .bottom-nav{top:0;bottom:auto;left:50%;transform:translateX(-50%);width:auto;height:var(--top-h);padding:0;background:none;backdrop-filter:none;border:0;display:flex;align-items:center;gap:4px;z-index:950}
 .bottom-nav button{flex-direction:row;gap:8px;font-size:15px;font-weight:600;padding:10px 14px;border-radius:12px}
 .bottom-nav button svg{width:22px;height:22px}
 .bottom-nav button.active{background:#e8f1ff}
 .location{margin:4px 0 22px}
 .intent-rail,.service-rail{overflow:visible;margin:0;padding:0;scroll-snap-type:none}
 .intent-rail{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
 .intent{flex:none;aspect-ratio:auto;height:250px;padding:20px 12px 22px}
 .intent img{height:66%}
 .intent .service-label{font-size:25px}
 .service-rail{display:grid;grid-template-columns:repeat(10,1fr);gap:10px}
 .tile{flex:none}.tile span{font-size:14px}
 .dots{display:none}
 .section-title{margin:30px 0 16px}.section-title h2{font-size:26px}
 body[data-view="home"] .content{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,46%);gap:28px;align-items:start;margin-top:8px}
 body[data-view="home"] .content .map-section{grid-column:2;grid-row:1;position:sticky;top:calc(var(--top-h) + 8px);height:min(620px,calc(100vh - var(--top-h) - 32px));margin:16px 0 0}
 body[data-view="home"] .content .results{grid-column:1;grid-row:1}
 .list{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:18px}
 body[data-view="home"] .list{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}
 @media (hover:hover){
  .intent,.tile .tile-box,.card{transition:transform .15s,box-shadow .15s}
  .intent:hover,.card:hover{transform:translateY(-2px);box-shadow:var(--shadow-lg)}
  .tile:hover .tile-box{transform:translateY(-2px);box-shadow:0 6px 16px rgba(17,24,39,.12)}
  .bottom-nav button:hover:not(.active){background:#eef1f5}
 }
 .results-head{max-width:860px}
 .view-title h1{font-size:34px}
 body.map-mode .map-section{left:50%;width:min(1240px,100%);border-radius:26px 26px 0 0}
 body.map-mode .leaflet-control-attribution{margin-bottom:0!important}
 body.map-mode .map-controls,body.map-mode.has-preview .map-controls{bottom:36px;right:24px}
 .map-business-card{left:24px;right:auto;bottom:24px;width:440px;border-radius:26px;padding:12px 18px 18px;box-shadow:var(--shadow-lg)}
 .get-app{display:none}
 #detail{margin:auto;width:min(600px,92vw);max-height:88vh;border-radius:28px}
 .order-wrap{padding-bottom:18px}
 .sheet{margin:auto;width:min(480px,92vw);border-radius:28px;padding-bottom:22px}
 #toast{bottom:28px}
}
/* Narrow desktops: the tabs keep their icons and names (for screen readers) but not the visible names. */
@media (min-width:900px) and (max-width:1099px){
 .bottom-nav button{font-size:0;gap:0;padding:11px}
 .bottom-nav button svg{width:24px;height:24px}
}

/* A business's site on a Findr panel, as in the app: Findr's header (close, name) over the
   site, no browser bar or address, the whole window on phones and desktops alike. */
#site{position:fixed;inset:0;width:100vw;height:100vh;height:100dvh;max-width:none;max-height:none;margin:0;padding:0;border:0;border-radius:0;box-shadow:none;background:#fff;overflow:hidden}
#site[open]{display:flex;flex-direction:column}
#site::backdrop{background:#fff;backdrop-filter:none}
.site-head{position:relative;flex:none;display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;padding:calc(6px + env(safe-area-inset-top)) 10px 6px;background:#fff;border-bottom:1px solid #e3e9f1}
.site-head h2{margin:0;text-align:center;font-size:16.5px;font-weight:700;letter-spacing:-.2px;color:#14171f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.site-close{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#14171f}
.site-close:hover{background:#f1f4f8}
.site-close svg{width:22px;height:22px}
.site-progress{position:absolute;left:0;right:0;bottom:-1px;height:3px;overflow:hidden;opacity:0;transition:opacity .25s}
#site.loading .site-progress{opacity:1}
.site-progress::before{content:'';position:absolute;top:0;bottom:0;left:0;width:35%;border-radius:2px;background:#0a74ff;animation:site-load 1.1s ease-in-out infinite}
@keyframes site-load{from{transform:translateX(-100%)}to{transform:translateX(300%)}}
#siteBody{position:relative;flex:1;min-height:0;padding-bottom:env(safe-area-inset-bottom);background:#fff}
#siteBody iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#fff}


/* First-party merchant content is Findr-owned; do not show a nested website. */
#siteBody:has(.tenant-shell),#siteBody:has(.tenant-pad){overflow-y:auto;overscroll-behavior:contain;background:#f6f8fb}
.tenant-shell,.tenant-pad{font:inherit;color:#14171f}
.tenant-pad{max-width:780px;margin:0 auto;padding:20px 16px 36px}
.tenant-pad h3,.tenant-heading h3{font-size:23px;font-weight:800;margin:0 0 8px;line-height:1.15}
.tenant-pad p,.tenant-heading p{font-size:14px;line-height:1.5;color:#627083;margin:7px 0 14px}
.tenant-banner{display:block;width:100%;max-height:230px;object-fit:cover}
.tenant-search,.tenant-field input,.tenant-field textarea{display:block;width:100%;min-height:48px;border:1px solid #dfe6ef;border-radius:13px;background:#fff;color:#14171f;font:inherit;font-size:15px;padding:12px 14px;margin:10px 0}
.tenant-search:focus-visible,.tenant-field input:focus-visible,.tenant-field textarea:focus-visible{outline:2px solid #0a74ff;outline-offset:2px}
.tenant-categories{display:flex;gap:9px;overflow-x:auto;scrollbar-width:none;padding:10px 0 15px}
.tenant-categories button{border:1px solid #e1e6ee;border-radius:99px;background:#fff;white-space:nowrap;padding:10px 16px;font-size:14px;font-weight:700}
.tenant-categories button.chosen{background:#0a74ff;border-color:#0a74ff;color:#fff}
.tenant-product{display:flex;align-items:center;gap:13px;width:100%;background:#fff;border:0;border-radius:16px;margin:0 0 10px;padding:11px;text-align:left;min-height:108px;cursor:pointer}
.tenant-product>img,.tenant-placeholder{flex:none;width:90px;height:86px;border-radius:12px;object-fit:cover;background:#f4f7fb}
.tenant-placeholder{display:grid;place-items:center;font-size:32px;color:#7a8fa8}
.tenant-product-copy{display:grid;flex:1;min-width:0;gap:6px}
.tenant-product-copy strong{font-size:16px;font-weight:750;color:#14171f}
.tenant-product-copy small{color:#718092;font-size:12px;line-height:1.3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.tenant-product-copy span{display:flex;align-items:center;gap:10px}
.tenant-product-copy b{color:#14171f;font-size:15px}
.tenant-product-copy del{color:#8290a0;font-size:12px}
.tenant-plus{display:grid;place-items:center;width:33px;height:33px;border-radius:50%;background:#0a74ff;color:#fff;font-size:23px}
.tenant-cartbar{position:sticky;bottom:0;background:#fff;border-top:1px solid #e3e9f1;padding:12px 16px calc(12px + env(safe-area-inset-bottom))}
.tenant-cartbar button,.tenant-main{display:block;min-height:54px;width:100%;border-radius:14px;background:#0a74ff;border:0;color:#fff;font-weight:800;font-size:16px;padding:12px 16px;text-align:center}
.tenant-cartbar button{display:flex;align-items:center;justify-content:space-between;gap:10px}
.tenant-main:disabled{background:#a4b7ce;cursor:not-allowed}
.tenant-more,.tenant-secondary{display:block;width:100%;padding:14px;color:#0a74ff;font-weight:700;text-align:center;background:transparent;border:0}
.tenant-message{padding:0 14px;color:#b42318;font-size:13px}
.tenant-empty{padding:30px 0}
.tenant-picker{position:fixed;inset:calc(52px + env(safe-area-inset-top)) 0 0;background:rgba(19,32,51,.3);z-index:40;display:flex;align-items:flex-end;justify-content:center}
.tenant-picker-panel{background:#fff;border-radius:23px 23px 0 0;max-height:95%;overflow:auto;width:min(100%,720px);padding:18px 18px calc(24px + env(safe-area-inset-bottom));box-shadow:0 -5px 30px rgba(0,0,0,.16)}
.tenant-picker-panel header{display:flex;align-items:center;justify-content:space-between;gap:15px}
.tenant-picker-panel header h3{margin:0 0 10px;font-size:20px}
.tenant-picker-panel header button{width:36px;height:36px;border-radius:50%;font-size:25px}
.tenant-picker-panel p{font-size:14px;color:#627083}
.tenant-picker-image{width:100%;max-height:170px;object-fit:contain}
.tenant-picker-panel h4,.tenant-checkout h4{font-size:15px;margin:20px 0 8px}
.tenant-choice{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e3e9f1;font-size:14px}
.tenant-choice span{flex:1}
.tenant-choice b{font-size:13px}
.tenant-qty{display:flex;align-items:center;gap:12px;margin:16px 0}
.tenant-qty button{width:36px;height:36px;border-radius:50%;background:#edf4ff;color:#0a74ff;font-size:22px}
.tenant-qty b{min-width:20px;text-align:center}
.tenant-line{display:flex;justify-content:space-between;align-items:center;gap:10px;border-radius:14px;background:#fff;padding:14px;margin:10px 0}
.tenant-line>div{flex:1;display:grid;gap:6px}
.tenant-line small{color:#6d798c;white-space:pre-line;font-size:12px}
.tenant-line strong{font-size:15px}
.tenant-subtotal{display:flex;align-items:center;justify-content:space-between;font-size:17px!important;font-weight:700;color:#14171f!important;border-top:1px solid #dce5ef;padding-top:16px;margin-top:20px!important}
.tenant-checkout .tenant-field{display:block;font-weight:700;font-size:14px;margin-top:12px}
.tenant-checkout fieldset{display:flex;flex-wrap:wrap;gap:12px;border:0;padding:8px 0 20px;margin:16px 0}
.tenant-checkout legend{font-size:15px;font-weight:700;margin-bottom:8px}
.tenant-checkout fieldset label{font-size:14px}
.tenant-address{display:flex;align-items:center;gap:10px;border:1px solid #e3e9f1;border-radius:14px;background:#fff;padding:14px;margin:8px 0}
.tenant-address span{display:grid;gap:4px}
.tenant-address small{color:#607083}
.tenant-checkout [data-address-form]{background:#fff;padding:16px;border-radius:14px}
.tenant-done{text-align:center;padding-top:70px}
.tenant-done strong{font-size:22px}
@media(min-width:800px){.tenant-pad{padding:26px 24px}.tenant-product{min-height:125px}}


/* The first-party tenant is local Findr UI, not a framed web page.
   Keep a compact Close affordance without duplicating the merchant title bar. */
#site.first-party .site-head{
 position:absolute;top:env(safe-area-inset-top);right:0;width:64px;
 min-height:56px;display:block;background:transparent;border:0;
 padding:8px;z-index:55;pointer-events:none;
}
#site.first-party .site-head h2,#site.first-party .site-progress,
#site.first-party .site-head > span{display:none}
#site.first-party .site-close{
 pointer-events:auto;position:absolute;right:12px;top:8px;
 display:grid;place-items:center;width:42px;height:42px;
 background:rgba(255,255,255,.96);border:1px solid #e3e9f1;
 box-shadow:0 2px 10px rgba(0,0,0,.1);z-index:56;
}
#site.first-party #siteBody{padding-top:env(safe-area-inset-top)}
