/* Merapp public ordering UX v1. Scoped: public location landing + Geoapify picker.
   Overlays the deployed release. Integrate into React/TS source after live promotion. */
:root{--merapp-ux-ink:#17212b;--merapp-ux-orange:#b84d20;--merapp-ux-orange-deep:#8e3415;--merapp-ux-cream:#fff7ee;--merapp-ux-green:#166447}

/* Public portal */
.opl-shell{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:radial-gradient(circle at 100% -8%,#f8d0b04d,transparent 38%),linear-gradient(165deg,#fff7ee 0%,#ffffff 46%,#f9fafb 100%);min-height:100dvh}
.opl-container{width:min(1080px,calc(100% - 36px));padding-top:46px;padding-bottom:52px}
.opl-hero{max-width:710px;margin-bottom:27px}
.opl-brand-mark{width:70px;height:70px;border-radius:22px;margin-bottom:15px;background:#fff;box-shadow:0 12px 34px #9c4f1c19}
.opl-hero h1{font-size:clamp(34px,5vw,54px);line-height:1.06;letter-spacing:-.048em;color:var(--merapp-ux-ink)}
.opl-kicker{color:var(--merapp-ux-orange-deep);letter-spacing:.17em;font-size:11px}
.opl-subtitle{margin-top:11px;color:#59616a;line-height:1.55}
.opl-journey{margin-top:18px;color:#64707c;font-size:12px;gap:9px}
.opl-journey-current{color:var(--merapp-ux-orange-deep);font-weight:800}
.opl-location-section{border-radius:26px;background:#fffcf9;border:1px solid #ecdfd2;padding:22px;box-shadow:0 20px 55px #543b2010;backdrop-filter:none}
.opl-section-heading{margin-bottom:18px;align-items:center}
.opl-section-heading h2{font-size:21px;line-height:1.25}
.opl-location-grid{gap:14px}
.opl-location-card{background:#fff;border-color:#ede1d8;min-height:132px;border-radius:19px;padding:17px;gap:14px;grid-template-columns:48px minmax(0,1fr) auto;box-shadow:0 7px 22px #4a35200b;transition:border-color .18s,box-shadow .18s,transform .18s}
.opl-location-card:hover{border-color:#dd987b;box-shadow:0 13px 30px #8e4a2417;transform:translateY(-2px)}
.opl-location-card:focus-visible{outline:3px solid #ab481e;outline-offset:3px}
.opl-location-pin{border-radius:16px;width:48px;height:48px;color:var(--merapp-ux-orange-deep);background:linear-gradient(145deg,#fff0e2,#fff7ef)}
.opl-location-copy{gap:5px}
.opl-location-copy strong{font-size:16px;letter-spacing:-.02em;line-height:1.3;color:#19242d}
.opl-location-copy>span{font-size:12px;color:#6b7280;line-height:1.45}
.opl-location-action{gap:6px;color:var(--merapp-ux-orange-deep);font-size:12px;white-space:nowrap}
.merapp-branch-status{display:flex;gap:5px 9px;flex-wrap:wrap;align-items:center;padding-top:4px}
.merapp-branch-badge{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:5px 9px;border-radius:999px;font-weight:800;font-size:10px;line-height:1.25;white-space:normal}
.merapp-branch-badge:before{content:"";height:7px;width:7px;border-radius:50%;background:currentColor;flex-shrink:0}
.merapp-branch-badge[data-tone="open"]{background:#e7f5ed;color:#176644}
.merapp-branch-badge[data-tone="soon"]{background:#fff4d9;color:#8d5810}
.merapp-branch-badge[data-tone="closed"]{background:#f4f2f0;color:#715d55}
.merapp-branch-badge[data-tone="paused"]{background:#fff0df;color:#92531a}
.merapp-branch-hours{font-size:11px;color:#66717a;line-height:1.4;overflow-wrap:anywhere}
.opl-footer{font-weight:500;color:#827569}

/* Geoapify: the confirmation area stays in the viewport; the map flexes. */
.oo-pin-dialog-v2{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;min-height:0}
.oo-pin-header-v2,.oo-pin-search-v2,.oo-pin-footer-v2{flex-shrink:0}
.oo-pin-map-wrap-v2{flex:1 1 0;min-height:150px;overflow:hidden}
.oo-pin-footer-v2{position:relative;z-index:3;border-top:1px solid #e6e9e8;box-shadow:0 -9px 22px #1c30330a;background:#fff;gap:9px}
.oo-pin-confirm-v2{min-height:54px;border-radius:14px;background:var(--merapp-ux-green);box-shadow:0 7px 16px #17644726}
.oo-pin-confirm-v2:not(:disabled):active{transform:scale(.99)}
.oo-pin-confirm-v2:focus-visible{outline:3px solid #166447;outline-offset:3px}
.oo-pin-position-v2 span{line-height:1.45}

@media(max-width:760px){
 .opl-container{width:min(100% - 24px,630px);padding-top:30px}
 .opl-hero{margin-bottom:20px}
 .opl-brand-mark{width:62px;height:62px;margin-bottom:13px}
 .opl-hero h1{font-size:clamp(32px,9vw,42px)}
 .opl-subtitle{font-size:13px;margin-top:10px}
 .opl-journey{font-size:11px;gap:7px;margin-top:13px}
 .opl-location-section{padding:15px;border-radius:21px}
 .opl-location-card{min-height:125px;padding:15px;gap:12px}
 .opl-location-grid{gap:10px}
 .opl-section-heading h2{font-size:18px}
}
@media(max-width:600px){
 .oo-pin-overlay-v2{inset:0;padding:0;align-items:flex-end;overscroll-behavior:contain}
 .oo-pin-dialog-v2{width:100%;height:100dvh;max-height:100dvh;min-height:0;border-radius:20px 20px 0 0;display:flex;flex-direction:column;overflow:hidden}
 .oo-pin-dialog-v2:before{content:"";height:5px;width:42px;margin:7px auto 0;border-radius:10px;background:#cbd5d4;flex:0 0 auto}
 .oo-pin-header-v2{padding:10px 17px 6px;gap:10px}
 .oo-pin-header-v2 h3{font-size:19px;line-height:1.13;margin:3px 0 4px}
 .oo-pin-header-v2 p{font-size:11px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .oo-pin-header-v2 button{min-width:40px;min-height:40px;flex-shrink:0}
 .oo-pin-search-v2{padding:6px 14px 8px;gap:8px}
 .geoapify-search-box-v1 input{font-size:16px;min-height:42px;padding:8px 11px}
 .geoapify-places-panel-v2{padding:4px 12px 5px;gap:3px}
 .geoapify-places-panel-v2>button{min-height:36px;font-size:12px}
 .geoapify-places-panel-v2 ul{max-height:min(110px,18dvh)}
 .oo-pin-map-wrap-v2{flex:1 1 0;min-height:105px}
 .oo-pin-footer-v2{padding:10px 16px calc(12px + env(safe-area-inset-bottom,0px));gap:8px;box-shadow:0 -7px 20px #1c303318}
 .oo-pin-position-v2{gap:2px}
 .oo-pin-position-v2 strong{font-size:12px}
 .oo-pin-position-v2 span{font-size:11px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 .oo-pin-confirm-v2{min-height:51px;font-size:14px;flex-shrink:0}
 .oo-pin-footer-v2>.geoapify-attribution-v1{font-size:9px;line-height:1.3}
}
@media(max-width:430px){
 .opl-container{width:calc(100% - 16px);padding-top:23px}
 .opl-location-section{padding:13px}
 .opl-location-card{grid-template-columns:40px minmax(0,1fr) 20px;gap:9px;padding:12px;min-height:120px}
 .opl-location-pin{width:40px;height:40px;border-radius:13px}
 .opl-location-copy strong{font-size:14px}
 .opl-location-action>span{display:none}
 .opl-section-heading{flex-direction:row;align-items:center}
 .opl-section-heading h2{font-size:16px}
 .opl-section-heading small{font-size:10px;padding:5px 8px}
}
@media(max-height:650px) and (max-width:600px){
 .oo-pin-header-v2 p{display:none}
 .oo-pin-header-v2 h3{font-size:17px}
 .geoapify-places-panel-v2>button{min-height:32px}
 .oo-pin-map-wrap-v2{min-height:90px}
 .oo-pin-footer-v2{gap:6px;padding-top:8px}
 .oo-pin-confirm-v2{min-height:46px}
}
@media(prefers-reduced-motion:reduce){.opl-location-card,.oo-pin-confirm-v2{transition:none!important;transform:none!important}}
