/* Container and layout */
.fr-wrapper { display: grid; gap: 18px; }
.fr-header { display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.fr-title { font-size: 2.25rem; line-height: 1.1; margin: 0; text-transform: uppercase; font-weight: 800; }
.fr-search { position: relative; }
.fr-search input { }
.fr-search button { }
/* Suggestions dropdown */
.fr-suggestions { position: absolute; top: 100%; left: 0; right: 0; z-index: 10000; background: #0b0b0b; border: 1px solid #222; max-height: 260px; overflow-y: auto; box-shadow: 0 6px 12px rgba(0,0,0,.3); }
.fr-suggestion { display: flex; align-items: center; gap: 8px; padding: 10px 12px; cursor: pointer; border-bottom: 1px solid #111; }
.fr-suggestion:last-child { border-bottom: 0; }
.fr-suggestion:hover, .fr-suggestion[aria-selected='true'] { background: #111; }
.fr-suggestion-title { font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.fr-suggestion-address { color: #b3b3b3; font-size: .9rem; }
.fr-suggestion-empty { padding: 12px; color: #b3b3b3; }

.fr-map { width: 100%; height: 420px; background: #000; }
/* Ensure black background under tiles while map/tiles load */
.fr-map.leaflet-container { background: #000 !important; }
.fr-list-header .fr-divider { border-top: 1px dotted var(--color-primary, #E3FF6E); }

/* List grid */
.fr-list { display:grid; grid-template-columns: repeat(1,minmax(0,1fr)); gap: 18px; }
@media (min-width: 640px) { .fr-list { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width: 1024px) { .fr-list { grid-template-columns: repeat(4,minmax(0,1fr)); } }

.fr-list-item { border: 1px solid #222; background: #0b0b0b; padding: 18px; transition: transform .2s ease, border-color .2s ease; cursor: pointer; }
.fr-list-item:hover { transform: translateY(-2px); border-color: var(--color-primary, #E3FF6E); }
.fr-list-hd { display:flex; flex-direction:column; gap:6px; }
.fr-list-title { font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.fr-list-address { color:#b3b3b3; font-size:.95rem; display:inline-flex; align-items:start; gap:6px; }
.fr-list-actions { margin-top: 12px; display:flex; gap:8px; }

.fr-actions { display:flex; justify-content:center; margin-top: 8px; }

/* Popup card */
.fr-popup .leaflet-popup-content { margin:0; }
.fr-card { min-width: 260px; max-width: 320px; color:#000; }
.fr-card-hd { display:flex; gap:10px; align-items:flex-start; }
.fr-logo { width:48px; height:auto; object-fit:contain; background:#fff; padding:2px; border:1px solid #eee; }
.fr-card-title { font-weight:700; text-transform:uppercase; margin-bottom:2px; }
.fr-address { color:#333; font-size: .95rem; }
.fr-hours { margin-top:8px; font-size: .9rem; color:#222; white-space: pre-line; }
.fr-card-actions { margin-top:10px; }
.fr-btn { display:inline-block; padding:8px 10px; background:#000; color:#fff; text-decoration:none; border:1px solid #000; }
.fr-btn:hover { background:#333; }

/* Marker divIcon hover is handled via JS by updating fill */
.fr-pin svg { display:block; filter: drop-shadow(0 2px 4px rgba(0,0,0,.6)); }
