/* Scoped so directory cards and review dialogs keep their own styles. */
.wf-winery-popup .leaflet-popup-content-wrapper { padding:0; border-radius:16px; overflow:hidden; box-shadow:0 12px 36px #27152330,0 2px 8px #27152318; }
.wf-winery-popup .leaflet-popup-content { margin:0; width:320px !important; max-width:calc(100vw - 68px); font:14px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#34272e; }
.wf-winery-popup .leaflet-popup-tip { background:#faf7f8; }
.leaflet-container .wf-winery-popup a.leaflet-popup-close-button { top:8px; right:8px; width:28px; height:28px; border-radius:50%; background:#fff; color:#63364c; line-height:26px; font-size:23px; z-index:2; }
.wf-pin-card,.wf-pin-card * { box-sizing:border-box; }
.wf-pin-header { display:flex; align-items:center; gap:14px; padding:24px 32px 20px 20px; background:linear-gradient(135deg,#f6edf1,#fffaf6); border-top:5px solid #652d48; }
.wf-pin-logo { flex:0 0 64px; width:64px; height:64px; object-fit:contain; border-radius:12px; padding:6px; background:white; border:1px solid #e9dce3; }
.wf-pin-title { min-width:0; }
.wf-winery-popup .wf-pin-eyebrow { margin:0 0 5px; font-size:10px; line-height:1.4; letter-spacing:.08em; font-weight:700; text-transform:uppercase; color:#775365; overflow-wrap:anywhere; }
.wf-pin-title h2 { font:600 21px/1.2 Georgia,"Times New Roman",serif; letter-spacing:-.02em; margin:0; color:#412134; overflow-wrap:anywhere; }
.wf-pin-body { padding:16px 20px 14px; }
.wf-pin-address { display:flex; gap:10px; margin:0 0 16px; align-items:flex-start; color:#665660; }
.wf-pin-address-icon { color:#7d4c64; font-size:20px; line-height:1.2; }
.wf-winery-popup .wf-pin-address p { margin:0; font-size:13px; overflow-wrap:anywhere; }
.leaflet-container a.wf-pin-primary { display:block; color:white; background:#652d48; border:1px solid #652d48; text-align:center; padding:11px 12px; border-radius:9px; text-decoration:none; font-weight:700; }
.leaflet-container a.wf-pin-primary:hover { background:#4b2035; border-color:#4b2035; }
.wf-pin-travel { display:flex; gap:8px; margin-top:9px; }
.leaflet-container a.wf-pin-secondary { flex:1; border:1px solid #decdd6; padding:9px 4px; text-align:center; border-radius:9px; color:#5d3047; text-decoration:none; font-weight:600; font-size:12px; }
.leaflet-container a.wf-pin-secondary:hover { background:#faf4f7; }
.wf-pin-detail { display:flex; gap:16px; flex-wrap:wrap; margin-top:13px; }
.wf-pin-text-button { background:none; border:0; padding:3px 0; color:#653d51 !important; font:600 12px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
.wf-pin-saved { display:flex; flex-wrap:wrap; gap:14px; background:#faf7f8; border-top:1px solid #ecdee5; padding:13px 20px; }
.wf-pin-save { display:inline-flex; gap:7px; align-items:center; cursor:pointer; margin:0; font-size:12px; font-weight:600; color:#5f3d4e; }
.wf-pin-save input { appearance:auto; width:16px; height:16px; margin:0; accent-color:#652d48; }
.leaflet-container a.wf-pin-signin { font-size:12px; color:#653d51; text-decoration:underline; text-underline-offset:3px; }
.wf-pin-message { padding:24px; min-width:220px; }
.wf-winery-popup .wf-pin-message p { margin:0 0 8px; }
.wf-pin-card a:focus-visible,.wf-pin-card button:focus-visible,.wf-pin-card input:focus-visible { outline:3px solid #ba8f23; outline-offset:3px; }
@media(max-width:380px) { .wf-pin-header { gap:10px; padding-left:16px; } .wf-pin-logo { flex-basis:48px; width:48px; height:48px; } .wf-pin-title h2 { font-size:19px; } .wf-pin-body { padding:14px 16px; } .wf-pin-saved { padding:12px 16px; } }

.wf-pin-feedback { flex-basis:100%; font-size:12px; color:#624d58; }
.wf-pin-feedback:empty { display:none; }

.wf-winery-popup .leaflet-popup-scrolled { border:0; }
