/* Interaction and layout only. Fonts, colours and surfaces use the existing route classes. */
.cups-location-page { position:relative; }
.cups-location-backdrop { position:absolute; inset:0 0 auto; height:calc(var(--cups-location-video-height,300px) + 120px); z-index:-1; overflow:hidden; background:#10110f; pointer-events:none; }
.cups-location-backdrop video { width:100%; height:100%; object-fit:cover; }
.cups-location-backdrop::after { content:''; position:absolute; inset:0; background:linear-gradient(180deg,#10110f66 0%,#10110f66 45%,#10110fb3 72%,#10110f 100%),linear-gradient(90deg,#10110f59,transparent 18%,transparent 82%,#10110f59); }
.cups-main > section:has(:is(.leaflet-container,.cups-google-map)) { padding-top:clamp(5.5rem, 12vh, 8rem); }
.cups-main > section:has(:is(.leaflet-container,.cups-google-map)) .container-page > .text-center { margin-bottom:.75rem; }
.cups-main .container-page > div:has(> :is(.leaflet-container,.cups-google-map)) { min-height:0; }
.cups-main .container-page > div:has(> :is(.leaflet-container,.cups-google-map)):not(.is-expanded) { border-color:#ffffff26; box-shadow:0 16px 50px #0003,0 0 32px #f582200a; }
.cups-main :is(.leaflet-container,.cups-google-map) { height:var(--cups-map-height,clamp(9rem, calc(100dvh - 19rem), 37.5rem)); }
.cups-main .leaflet-container + .pointer-events-none { display:none!important; }
.cups-map-legend { display:flex; flex-wrap:wrap; justify-content:center; gap:.5rem 1.25rem; margin-top:.75rem; }
.cups-map-expand { position:absolute; right:1rem; top:1rem; z-index:1000; padding:.55rem .9rem; font-size:.8rem; }
.cups-map-expand:focus-visible { outline:2px solid #f58220; outline-offset:3px; }
.cups-main .container-page > div.is-expanded:has(> :is(.leaflet-container,.cups-google-map)) { position:fixed; inset:0; z-index:5000; min-height:0; border:0; border-radius:0; }
.cups-main .is-expanded > :is(.leaflet-container,.cups-google-map) { height:100dvh; }
.cups-main .is-expanded > .cups-map-legend { position:absolute; left:1rem; bottom:2rem; z-index:1000; display:grid; gap:.4rem; max-width:calc(100% - 2rem); margin:0; padding:.75rem 1rem; border:1px solid #ffffff35; border-radius:.75rem; background:rgba(16,17,15,.9); color:#f2eee7; box-shadow:0 8px 25px #0004; }
.cups-map-legend span { display:inline-flex; align-items:center; gap:.4rem; }
.cups-map-legend i { width:.65rem; height:.65rem; border-radius:50%; }
.cups-map-pin svg { display:block; transform-origin:50% 100%; transition:transform .18s ease,filter .18s ease; }
.cups-map-pin:hover svg,.cups-map-pin:focus-visible svg,.cups-map-pin.is-selected svg { transform:translateY(-4px) scale(1.2); filter:drop-shadow(0 5px 5px #0005); }
.cups-map-popup-wrapper .leaflet-popup-content { margin:0; width:min(260px,65vw)!important; }
.cups-map-popup-wrapper .leaflet-popup-content-wrapper { overflow:hidden; padding:0; }
.cups-map-popup-wrapper .leaflet-popup-close-button { z-index:1; background:#fff!important; border-radius:50%!important; margin:7px; }
.cups-map-popup { color:#292724; max-height:min(300px,48vh); overflow:auto; }
.cups-map-popup img { display:block; width:100%; height:110px; object-fit:cover; }
.cups-map-popup-content { padding:14px 16px; }
.cups-map-popup-type { color:#a34d12; font-size:.68rem; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.cups-map-popup h2 { margin:.3rem 0 .5rem; font-size:1rem; font-weight:700; }
.cups-map-popup p,.cups-map-popup address { margin:.4rem 0; color:#514d49; font-size:.8rem; font-style:normal; line-height:1.45; white-space:pre-line; }
.cups-map-popup a { display:inline-block; margin-top:.4rem; color:#a34d12; font-weight:700; }
.cups-map-status { display:grid; place-items:center; min-height:100%; margin:0; color:#f2eee7b3; }
.cups-map-feedback { position:absolute; z-index:1000; bottom:22px; left:50%; transform:translateX(-50%); display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:8px 12px; max-width:calc(100% - 32px); padding:10px 14px; border:1px solid #ffffff35; border-radius:10px; background:#10110fed; color:#f2eee7; font-size:.875rem; text-align:center; }
.cups-map-feedback[hidden],.cups-map-feedback button[hidden] { display:none; }
.cups-map-feedback button { border:1px solid #f5822070; border-radius:6px; padding:6px 10px; color:#ffac62; background:#f5822018; font:inherit; cursor:pointer; }
.cups-map-feedback button:focus-visible { outline:2px solid #f58220; outline-offset:3px; }
@media(prefers-reduced-motion:reduce) { .cups-map-pin svg { transition:none; } }
