/* Edenred-inspired palette: deep red, near-black, generous whitespace, soft cards. */
:root {
    --color-primary: #e2001a;
    --color-primary-dark: #b80014;
    --color-primary-soft: #ffe6ea;
    --color-ink: #0a1626;
    --color-ink-2: #2a3340;
    --color-muted: #6b7280;
    --color-line: #e6e8ec;
    --color-bg: #ffffff;
    --color-bg-alt: #f7f7f8;
    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 8px rgba(10, 22, 38, .06);
    --shadow: 0 12px 32px rgba(10, 22, 38, .10);
    --font: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
    font-family: var(--font);
    color: var(--color-ink);
    background: var(--color-bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.muted { color: var(--color-muted); }

.container { max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* Top bar (Edenred-inspired) */
.topbar {
    background: #fff;
    border-bottom: 1px solid var(--color-line);
    position: sticky; top: 0; z-index: 50;
}
.topbar-inner {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 16px 24px;
    gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--color-ink); font-weight: 700; }
.brand:hover { text-decoration: none; }
.brand-mark {
    display: inline-flex; width: 38px; height: 38px;
    background: var(--color-primary); color: #fff; border-radius: 10px;
    align-items: center; justify-content: center; font-size: 20px;
}
.brand-name { font-size: 1.05rem; letter-spacing: -.01em; }
.brand-name strong { color: var(--color-primary); }
.topnav {
    display: flex; gap: 32px; justify-content: center;
}
.topnav a {
    color: var(--color-ink-2); font-weight: 600; font-size: .95rem;
    position: relative; padding: 6px 0;
}
.topnav a:hover { color: var(--color-primary); text-decoration: none; }
.topnav a::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0;
    height: 2px; background: var(--color-primary);
    transform: scaleX(0); transform-origin: center;
    transition: transform .15s;
}
.topnav a:hover::after { transform: scaleX(1); }
.topbar-cta {
    background: var(--color-primary); color: #fff;
    padding: 11px 22px; border-radius: 999px;
    font-weight: 600; font-size: .9rem;
    transition: background .15s, transform .12s;
}
.topbar-cta:hover { background: var(--color-primary-dark); color: #fff; text-decoration: none; }
.topbar-cta:active { transform: scale(.97); }
@media (max-width: 900px) {
    .topbar-inner { grid-template-columns: auto auto; gap: 12px; }
    .topnav { display: none; }
}

/* Hero */
.hero {
    background: linear-gradient(180deg, #fff 0%, var(--color-bg-alt) 100%);
    padding: 64px 0 40px;
}
.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    font-weight: 800; letter-spacing: -.025em;
    margin: 0 0 16px;
}
.hero-title .hl { color: var(--color-primary); }
.hero-sub {
    color: var(--color-ink-2); font-size: 1.1rem; max-width: 640px; margin: 0 0 32px;
}

/* Search card */
.search-card {
    display: flex; gap: 8px; align-items: stretch;
    background: #fff; padding: 10px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 100%;
    border: 1px solid transparent;
    transition: border-color .15s, box-shadow .15s;
}
.search-card:focus-within {
    border-color: var(--color-primary);
    box-shadow: 0 16px 40px rgba(226, 0, 26, .12);
}
.search-icon {
    display: inline-flex; align-items: center; justify-content: center;
    padding-left: 14px; color: var(--color-muted);
}
.search-card:focus-within .search-icon { color: var(--color-primary); }
.search-field {
    flex: 1; display: flex; flex-direction: column;
    padding: 6px 12px; min-width: 0;
}
.search-label {
    font-size: .7rem; color: var(--color-muted);
    font-weight: 700; text-transform: uppercase; letter-spacing: .08em;
}
.search-field input {
    border: none; outline: none; font: inherit; font-size: 1.05rem;
    color: var(--color-ink); background: transparent; padding: 4px 0;
    width: 100%;
}
.search-field input::placeholder { color: #aab1bb; }
.search-clear {
    align-self: center; margin-right: 4px;
    width: 32px; height: 32px; border-radius: 50%;
    border: none; background: var(--color-bg-alt);
    cursor: pointer; font-size: 18px; color: var(--color-ink-2);
    transition: background .12s, color .12s;
}
.search-clear:hover { background: var(--color-primary-soft); color: var(--color-primary); }
.search-submit { padding: 14px 28px; border-radius: 12px; }
@media (max-width: 600px) {
    .search-submit { padding: 12px 16px; }
    .search-label { display: none; }
}
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    border: none; cursor: pointer; font: inherit; font-weight: 600;
    border-radius: 10px; padding: 14px 24px; transition: background .15s, transform .15s;
}
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-primary:active { transform: scale(.98); }
.btn-secondary {
    background: var(--color-ink); color: #fff; padding: 12px 18px; font-size: .95rem;
}
.btn-secondary:hover { background: var(--color-ink-2); text-decoration: none; }

/* Filter toggle (inside search-card) + popover */
.filter-toggle-wrap { position: relative; display: flex; }
.filter-toggle {
    display: inline-flex; align-items: center; gap: 8px;
    height: 100%; padding: 0 16px;
    background: var(--color-bg-alt); color: var(--color-ink);
    border: 1.5px solid var(--color-line);
    border-radius: 12px; cursor: pointer; font: inherit; font-weight: 600;
    transition: background .15s, border-color .15s, color .15s, transform .12s;
}
.filter-toggle:hover { border-color: var(--color-ink-2); }
.filter-toggle:active { transform: scale(.98); }
.filter-toggle[aria-expanded="true"] {
    background: var(--color-primary); color: #fff;
    border-color: var(--color-primary);
}
.filter-toggle .filter-count { background: var(--color-primary); color: #fff; }
.filter-toggle[aria-expanded="true"] .filter-count { background: rgba(255,255,255,.25); color: #fff; }

.filter-popover {
    position: absolute; right: 0; top: calc(100% + 10px);
    width: min(440px, 90vw);
    background: #fff; border: 1px solid var(--color-line);
    border-radius: var(--radius); box-shadow: var(--shadow);
    padding: 20px; z-index: 1100;
    animation: fadeSlide .15s ease-out;
    text-align: left;
}
.filter-toggle-wrap { z-index: 1100; }
@keyframes fadeSlide {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}
.filter-popover-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.filter-popover-head h3 {
    margin: 0; font-size: 1rem; font-weight: 700;
}
.filter-popover .filters-list {
    max-height: 320px; overflow-y: auto;
}
@media (max-width: 600px) {
    .filter-toggle-label { display: none; }
    .filter-toggle { padding: 0 12px; }
    .filter-popover { left: 0; right: 0; width: auto; }
}

/* Locator layout */
.locator {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    margin-top: 24px;
    margin-bottom: 64px;
}
@media (max-width: 900px) {
    .locator { grid-template-columns: 1fr; }
}
.filters {
    background: #fff; border: 1px solid var(--color-line);
    border-radius: var(--radius); padding: 20px;
    max-height: 720px; display: flex; flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: sticky; top: 90px;
}
.filters-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
}
.filters-title {
    margin: 0; font-size: 1.05rem; font-weight: 700;
    color: var(--color-ink); letter-spacing: -.01em;
    display: inline-flex; align-items: center; gap: 8px;
}
.filter-count {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 22px; height: 22px; padding: 0 6px;
    background: var(--color-primary); color: #fff;
    border-radius: 999px; font-size: .75rem; font-weight: 700;
}
.filter-clear {
    background: none; border: none; cursor: pointer;
    color: var(--color-primary); font: inherit; font-size: .85rem; font-weight: 600;
    padding: 4px 6px; border-radius: 6px;
}
.filter-clear:hover { background: var(--color-primary-soft); }

.filters-section { margin-bottom: 4px; }
.filters-section-label {
    display: block;
    font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
    color: var(--color-muted); font-weight: 700; margin-bottom: 10px;
}
.filters-list {
    display: flex; flex-wrap: wrap; gap: 6px;
    max-height: 240px; overflow-y: auto;
    padding: 2px 2px 8px;
}
.filter-chip {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border: 1.5px solid var(--color-line);
    border-radius: 999px; cursor: pointer; font-size: .85rem; font-weight: 500;
    background: #fff; user-select: none;
    transition: border-color .12s, background .12s, color .12s, transform .12s;
}
.filter-chip input { display: none; }
.filter-chip:has(input:checked) {
    background: var(--color-primary); color: #fff;
    border-color: var(--color-primary);
    font-weight: 600;
}
.filter-chip:hover { border-color: var(--color-primary); }
.filter-chip:active { transform: scale(.97); }

.filters-divider {
    height: 1px; background: var(--color-line);
    margin: 16px -20px;
}

.results-meta {
    font-size: .9rem; color: var(--color-muted);
    margin-bottom: 10px;
}
.results-meta strong {
    color: var(--color-ink); font-weight: 700;
    font-size: 1rem; margin-right: 2px;
}
.results-list {
    list-style: none; margin: 0; padding: 0; overflow-y: auto;
    flex: 1; display: flex; flex-direction: column; gap: 4px;
}
.results-list li {
    padding: 12px 14px; border-radius: 10px; cursor: pointer;
    border: 1px solid transparent;
    transition: background .12s, border-color .12s, transform .12s;
    display: flex; align-items: center; gap: 12px;
}
.r-main { flex: 1; min-width: 0; }
.r-zip {
    flex-shrink: 0;
    background: var(--color-bg-alt);
    color: var(--color-ink-2);
    font-size: .75rem; font-weight: 700;
    padding: 4px 8px; border-radius: 6px;
    letter-spacing: .04em;
    font-variant-numeric: tabular-nums;
}
.results-list li.active .r-zip,
.results-list li:hover .r-zip {
    background: var(--color-primary); color: #fff;
}
.results-list li:hover {
    background: var(--color-bg-alt); border-color: var(--color-line);
}
.results-list li.active {
    background: var(--color-primary-soft);
    border-color: var(--color-primary);
}
.results-list li.active .r-name { color: var(--color-primary); }
.results-list .r-name { font-weight: 600; font-size: .95rem; }
.results-list .r-addr {
    font-size: .8rem; color: var(--color-muted); margin-top: 2px;
}

/* Map */
.map-wrap {
    position: relative;
    border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--color-line);
    min-height: 720px;
}
#map { width: 100%; height: 720px; }
.detail-panel {
    position: absolute; right: 16px; top: 16px; bottom: 16px;
    width: 380px; max-width: calc(100% - 32px);
    background: #fff; border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px; overflow-y: auto;
    z-index: 1000;
}
.detail-close {
    position: absolute; right: 12px; top: 12px;
    background: #fff; border: none;
    width: 32px; height: 32px; border-radius: 50%;
    font-size: 20px; cursor: pointer; color: var(--color-ink);
    z-index: 10;
    box-shadow: 0 2px 6px rgba(0,0,0,.15);
    line-height: 32px; text-align: center;
}
.detail-close:hover { background: var(--color-primary-soft); color: var(--color-primary); }

/* Compact detail (slide-in panel) */
.panel-detail { display: flex; flex-direction: column; gap: 18px; }
.panel-detail-head { padding-right: 32px; }
.panel-image {
    position: relative;
    margin: -24px -24px 0;
    height: 160px;
    overflow: hidden;
    background: var(--color-bg-alt);
}
.panel-image img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.panel-eyebrow--over {
    position: absolute;
    left: 16px; bottom: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(10, 22, 38, .25);
}

/* Full-page detail image */
.detail-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--color-bg-alt);
    box-shadow: var(--shadow-sm);
}
.detail-image img {
    width: 100%; height: 320px; object-fit: cover; display: block;
}
.panel-eyebrow {
    display: inline-block; margin-bottom: 6px;
    font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
    font-weight: 700; color: var(--color-primary);
    background: var(--color-primary-soft);
    padding: 4px 10px; border-radius: 999px;
}
.panel-title {
    margin: 0 0 4px; font-size: 1.25rem; font-weight: 700;
    letter-spacing: -.01em; line-height: 1.25;
}
.panel-address { margin: 0; color: var(--color-muted); font-size: .9rem; }

.panel-fuel-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    overflow: hidden;
}
.panel-fuel-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--color-line);
    background: #fff;
}
.panel-fuel-row:last-child { border-bottom: none; }
.panel-fuel-row:nth-child(even) { background: var(--color-bg-alt); }
.panel-fuel-name {
    font-size: .85rem; font-weight: 600; color: var(--color-ink-2);
}
.panel-fuel-value {
    font-size: 1.15rem; font-weight: 800; color: var(--color-primary);
    letter-spacing: -.01em;
}
.panel-fuel-unit { font-size: .85rem; margin-left: 1px; opacity: .7; font-weight: 600; }

.panel-services-label {
    display: block;
    font-size: .7rem; text-transform: uppercase; letter-spacing: .08em;
    font-weight: 700; color: var(--color-muted);
    margin-bottom: 8px;
}
.panel-services-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; gap: 6px;
}
.panel-service-tag {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    padding: 5px 12px; border-radius: 999px;
    font-size: .8rem; font-weight: 500;
}
.panel-service-tag--more {
    background: var(--color-bg-alt);
    color: var(--color-muted);
}

.panel-actions { display: flex; gap: 8px; align-items: center; }
.panel-action {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 44px;
    background: var(--color-bg-alt);
    border-radius: 12px; font-size: 1.2rem; flex-shrink: 0;
    color: var(--color-ink); transition: background .12s, transform .12s;
}
.panel-action:hover {
    background: var(--color-primary-soft);
    text-decoration: none; transform: translateY(-1px);
}
.panel-action--maps { color: #1a73e8; }
.panel-action--maps:hover { background: #e8f0fe; color: #1a73e8; }
.panel-action--waze { color: #33ccff; }
.panel-action--waze:hover { background: #e0f7fc; color: #33ccff; }
.panel-cta {
    flex: 1; padding: 12px 16px; font-size: .95rem;
    border-radius: 12px;
}

/* Detail (legacy, used in side panel popups) */
.station-detail-head {
    display: flex; align-items: flex-start; gap: 12px; margin-bottom: 8px;
}
.station-name { margin: 0; font-size: 1.4rem; font-weight: 700; }
.badge {
    display: inline-block; padding: 4px 10px; border-radius: 999px;
    font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em;
}
.badge--highway { background: var(--color-primary-soft); color: var(--color-primary); }
.badge--road { background: #eef2f6; color: var(--color-ink-2); }
.station-address { color: var(--color-ink-2); margin: 4px 0 16px; }
.station-description { color: var(--color-ink-2); margin: 0 0 16px; font-size: .95rem; }
.station-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.meta-link {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--color-bg-alt); padding: 8px 14px; border-radius: 999px;
    color: var(--color-ink); font-size: .9rem;
}
.meta-link:hover { background: var(--color-primary-soft); color: var(--color-primary); text-decoration: none; }

.section-title {
    margin: 20px 0 8px;
    font-size: .8rem; text-transform: uppercase;
    letter-spacing: .06em; color: var(--color-muted); font-weight: 700;
}
.fuel-list { list-style: none; padding: 0; margin: 0 0 8px; }
.fuel-row {
    display: flex; align-items: baseline; gap: 12px;
    padding: 8px 0; border-bottom: 1px solid var(--color-line);
}
.fuel-name { flex: 1; font-weight: 500; }
.fuel-value { font-weight: 700; color: var(--color-primary); }
.fuel-updated { font-size: .75rem; color: var(--color-muted); }
.services-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
    background: var(--color-bg-alt); padding: 4px 10px; border-radius: 999px; font-size: .8rem;
}
.hours-list { padding-left: 18px; margin: 0; }
.hours-list li { margin: 2px 0; font-size: .9rem; }

/* ===== Full-page station detail ===== */
.detail-hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, #8a000f 100%);
    color: #fff;
    padding: 32px 0 56px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}
.detail-hero::after {
    content: ''; position: absolute; inset: auto 0 -1px 0; height: 24px;
    background: var(--color-bg);
    border-radius: 24px 24px 0 0;
}
.detail-hero .back-link { color: rgba(255,255,255,.85); margin-bottom: 32px; display: inline-block; }
.detail-hero .back-link:hover { color: #fff; text-decoration: none; }
.detail-hero-head {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap;
}
.detail-eyebrow {
    display: inline-block;
    text-transform: uppercase; letter-spacing: .12em; font-size: .75rem;
    font-weight: 700; opacity: .85; margin-bottom: 8px;
}
.detail-title {
    margin: 0 0 12px; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800; letter-spacing: -.02em; line-height: 1.15;
}
.detail-address {
    margin: 0; opacity: 1; font-size: 1.05rem;
    display: flex; align-items: flex-start; gap: 8px;
}
.detail-address-icon { flex-shrink: 0; margin-top: 2px; opacity: 1; }

/* Rating (stars + score + count) */
.rating {
    display: flex; align-items: center; gap: 10px;
    margin: 4px 0 12px;
    color: #f5b400;
    font-weight: 700;
}
.rating-score { font-size: 1rem; }
.rating-stars {
    --rating: 0;
    --max: 5;
    position: relative;
    display: inline-block;
    font-size: 1.15rem;
    color: rgba(255, 255, 255, .9);
    letter-spacing: 1px;
    line-height: 1;
}
.rating-stars::before {
    content: '★★★★★';
}
.rating-stars::after {
    content: '★★★★★';
    position: absolute; left: 0; top: 0;
    color: #f5b400;
    width: calc(var(--rating) / var(--max) * 100%);
    overflow: hidden;
    white-space: nowrap;
}
.rating-count { font-size: .95rem; }

/* Open / closed status */
.open-status {
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 12px;
    font-weight: 700; font-size: 1rem;
    color: #fff;
}
.open-status--open svg { color: #6ee7b7; }
.open-status--closed svg { color: #ff8a8a; }
.detail-hero-badges { display: flex; flex-wrap: wrap; gap: 8px; }
.detail-hero-badges .badge {
    background: rgba(255,255,255,.18); color: #fff;
    backdrop-filter: blur(4px);
}
.detail-hero-badges .badge--highway { background: #fff; color: var(--color-primary); }
.badge--info { background: rgba(255,255,255,.18); color: #fff; }

.detail-body { padding-bottom: 64px; margin-top: -16px; position: relative; z-index: 1; }
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
}
@media (max-width: 900px) {
    .detail-grid { grid-template-columns: 1fr; }
}
.detail-main, .detail-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; overflow: hidden; }

.card {
    background: #fff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.card--soft { background: var(--color-bg-alt); box-shadow: none; }
.card--map { padding: 0; overflow: hidden; }
.card-title {
    margin: 0 0 16px; font-size: 1.15rem; font-weight: 700;
    letter-spacing: -.01em; color: var(--color-primary);
}
.card-text { margin: 0; color: var(--color-ink-2); }
.small { font-size: .85rem; }

.station-photo { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: var(--radius); }

.fuel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.fuel-card {
    position: relative;
    background: var(--color-bg-alt);
    border-radius: var(--radius-sm);
    padding: 16px;
    border: 1px solid var(--color-line);
    transition: transform .15s, border-color .15s;
}
.fuel-card:hover { transform: translateY(-2px); border-color: var(--color-primary); }
.fuel-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 32px; height: 32px;
    border-radius: 8px;
    margin-bottom: 10px;
    color: #fff;
    background: var(--fuel-color, var(--color-ink-2));
}
.fuel-card--gazole { --fuel-color: #f5a623; }
.fuel-card--sp95   { --fuel-color: #34a853; }
.fuel-card--sp98   { --fuel-color: #1f7a37; }
.fuel-card--e10    { --fuel-color: #87b842; }
.fuel-card--e85    { --fuel-color: #2196f3; }
.fuel-card--gpl    { --fuel-color: #e2001a; }
.fuel-card--adblue { --fuel-color: #0d6efd; }
.fuel-card--other  { --fuel-color: #6b7280; }
.fuel-card-name {
    font-size: .8rem; text-transform: uppercase; letter-spacing: .04em;
    color: var(--color-muted); font-weight: 600; margin-bottom: 6px;
}
.fuel-card-value {
    font-size: 1.5rem; font-weight: 800; color: var(--color-primary);
    letter-spacing: -.02em; line-height: 1;
}
.fuel-card-unit { font-size: .9rem; margin-left: 2px; opacity: .7; }
.fuel-card-date { margin-top: 10px; font-size: .7rem; color: var(--color-muted); }

.services-list--icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
}
.services-list--icons .service-tag--lg {
    display: flex; align-items: center; gap: 10px; height: 100%;
    background: var(--color-bg-alt);
    color: var(--color-ink);
    font-weight: 500; padding: 10px 14px; font-size: .85rem;
    border-radius: var(--radius);
    border: 1px solid #eee;
}
.service-icon {
    flex-shrink: 0;
    width: 22px; height: 22px;
}
.service-tag--lg {
    background: var(--color-primary-soft);
    color: var(--color-primary);
    font-weight: 600; padding: 8px 14px; font-size: .85rem;
}

/* Google updates / posts */
.updates-list {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}
.update {
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex; flex-direction: column;
    border: 1px solid var(--color-line);
    transition: transform .15s, box-shadow .15s;
}
.update:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.update-image { background: var(--color-line); aspect-ratio: 16/9; overflow: hidden; }
.update-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.update-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.update-date {
    font-size: .75rem; color: var(--color-muted);
    text-transform: uppercase; letter-spacing: .06em; font-weight: 700;
}
.update-text {
    margin: 0; color: var(--color-ink-2);
    font-size: .9rem; line-height: 1.5;
    white-space: pre-wrap;
}

/* Reviews carousel */
.reviews-head {
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
    margin-bottom: 16px;
}
.reviews-head .card-title { margin: 0; }
.reviews-summary {
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 700;
}
.rating-stars--inline { color: rgba(10,22,38,.15); font-size: .95rem; }
.rating-stars--inline::after { color: var(--color-primary); }
.reviews-summary .muted { color: var(--color-muted); font-weight: 500; font-size: .9rem; }
.reviews-carousel {
    position: relative;
}
.reviews-track {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 20px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review {
    flex: 0 0 340px; max-width: 85vw;
    scroll-snap-align: start;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--color-line);
    background: #fff;
    display: flex; flex-direction: column; gap: 14px;
}
.review-head { display: flex; align-items: center; gap: 12px; }
.review-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    background: #dfe3e8; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .95rem; color: var(--color-ink);
}
.review-meta { flex: 1; min-width: 0; }
.review-name { font-weight: 700; color: var(--color-ink); font-size: .95rem; }
.review-stars {
    display: flex; gap: 2px; margin-top: 2px;
}
.review-stars .star { color: var(--color-primary); font-size: .9rem; line-height: 1; }
.review-stars .star--empty { color: #ddd; }
.review-text {
    margin: 0; color: var(--color-ink);
    line-height: 1.6; font-size: .9rem;
    flex: 1;
}
.review-text::before { content: '\201C'; }
.review-text::after { content: '\201D'; }
.review-date {
    font-size: .8rem; color: var(--color-muted);
    text-align: right;
}
.reviews-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--color-line); background: #fff;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 2;
    box-shadow: 0 2px 6px rgba(0,0,0,.08);
    transition: box-shadow .15s;
}
.reviews-nav:hover { box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.reviews-nav--prev { left: -18px; }
.reviews-nav--next { right: -18px; }
.reviews-nav svg { width: 18px; height: 18px; stroke: var(--color-ink); }

/* Additional info groups */
.info-group { margin-bottom: 20px; }
.info-group:last-child { margin-bottom: 0; }
.info-group-title {
    margin: 0 0 10px;
    font-size: .8rem; text-transform: uppercase; letter-spacing: .08em;
    font-weight: 700; color: var(--color-muted);
}
.info-list {
    list-style: none; padding: 0; margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 8px 16px;
}
.info-item {
    display: flex; align-items: center; gap: 8px;
    font-size: .9rem; color: var(--color-ink-2);
}
.info-check {
    flex-shrink: 0;
    color: #22a06b;
    background: #eaf7f0;
    border-radius: 50%;
    padding: 3px;
    width: 22px; height: 22px;
    box-sizing: border-box;
}

.hours-list {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 4px;
}
.hours-row {
    display: flex; justify-content: space-between; align-items: center;
    gap: 24px;
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 1rem;
    transition: background .15s;
}
.hours-day { font-weight: 500; color: var(--color-ink); }
.hours-time { color: var(--color-ink-2); }
.hours-row--today {
    background: #ffd84a;
}
.hours-row--today .hours-day,
.hours-row--today .hours-time {
    font-weight: 700;
    color: var(--color-ink);
}

.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.contact-link {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 14px; background: var(--color-bg-alt);
    border-radius: 10px; color: var(--color-ink); font-weight: 500;
    transition: background .12s, color .12s;
}
.contact-link:hover { background: var(--color-primary-soft); color: var(--color-primary); text-decoration: none; }
.contact-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; font-size: 1.05rem;
}

/* Itinéraire square buttons */
.route-buttons { display: flex; gap: 12px; }
.route-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 64px; height: 64px;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s, box-shadow .15s;
    box-shadow: 0 2px 6px rgba(10, 22, 38, .1);
}
.route-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(10, 22, 38, .18);
    text-decoration: none;
}
.route-btn--maps { background: #fff; border: 1px solid var(--color-line); }
.route-btn svg { width: 100%; height: 100%; display: block; }

/* Legacy back-link reuse on home if needed */
.back-link {
    display: inline-block;
    color: var(--color-ink-2); font-weight: 500;
}

/* About */
.about { padding: 48px 24px; }
.about h2 { font-size: 1.6rem; margin: 0 0 24px; letter-spacing: -.01em; }
.about-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.about-card {
    background: var(--color-bg-alt); border-radius: var(--radius);
    padding: 24px;
}
.about-card h3 { margin: 0 0 8px; color: var(--color-primary); font-size: 1.1rem; }
.about-card p { margin: 0; color: var(--color-ink-2); }

/* Footer (Edenred-inspired) */
.site-footer {
    background: #0d1b2e;
    color: rgba(255, 255, 255, .8);
    padding: 64px 0 24px;
    margin-top: 80px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding: 0 24px 48px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
}
@media (max-width: 800px) {
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 500px) {
    .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .brand--footer {
    color: #fff; margin-bottom: 16px;
}
.footer-brand .brand--footer .brand-name { color: #fff; }
.footer-brand .brand--footer .brand-name strong { color: var(--color-primary); }
.footer-tagline {
    color: rgba(255, 255, 255, .6); font-size: .9rem; line-height: 1.6;
    margin: 0; max-width: 320px;
}
.footer-title {
    margin: 0 0 16px; font-size: .8rem;
    text-transform: uppercase; letter-spacing: .1em;
    font-weight: 700; color: #fff;
}
.footer-links {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-direction: column; gap: 10px;
}
.footer-links a {
    color: rgba(255, 255, 255, .7); font-size: .9rem;
    transition: color .12s;
}
.footer-links a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
    display: flex; align-items: center; justify-content: space-between;
    padding: 24px 24px 0;
    flex-wrap: wrap; gap: 12px;
}
.footer-copy { margin: 0; color: rgba(255, 255, 255, .5); font-size: .8rem; }
.footer-legal {
    list-style: none; padding: 0; margin: 0;
    display: flex; gap: 20px;
}
.footer-legal a {
    color: rgba(255, 255, 255, .5); font-size: .8rem;
    transition: color .12s;
}
.footer-legal a:hover { color: #fff; text-decoration: none; }

/* Leaflet tweaks */
.leaflet-popup-content-wrapper { border-radius: var(--radius-sm); }
.leaflet-popup-content { font-family: var(--font); }

/* Custom map pin (SVG teardrop with yellow inner circle + Edenred logo) */
.map-pin-wrapper { background: transparent; border: none; }
.map-pin-svg {
    display: block;
    filter: drop-shadow(0 3px 6px rgba(10, 22, 38, .3));
    transition: transform .15s ease-out, filter .15s;
    transform-origin: 50% 100%;
}
.map-pin-shape {
    fill: var(--color-primary);
    stroke: #fff;
    stroke-width: 2;
}
.map-pin--road .map-pin-shape { fill: var(--color-ink); }
.map-pin-inner-circle { fill: #ffd84a; }

.map-pin-wrapper:hover { z-index: 1000 !important; }
.map-pin-wrapper:hover .map-pin-svg,
.map-pin-wrapper.is-hovered .map-pin-svg {
    transform: scale(1.18);
    filter: drop-shadow(0 6px 14px rgba(226, 0, 26, .45));
}
.map-pin-wrapper.is-hovered .map-pin-shape,
.map-pin-wrapper:hover .map-pin--road .map-pin-shape {
    fill: var(--color-primary);
}

/* Marker cluster bubble (Edenred red) */
.map-cluster {
    background: transparent !important;
    border: none !important;
}
.map-cluster-inner {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-weight: 700; font-size: .9rem;
    display: flex; align-items: center; justify-content: center;
    border: 3px solid #fff;
    box-shadow: 0 4px 14px rgba(226, 0, 26, .35);
    transition: transform .15s;
}
.map-cluster:hover .map-cluster-inner {
    transform: scale(1.1);
}
/* Override leaflet.markercluster defaults */
.marker-cluster-small,
.marker-cluster-medium,
.marker-cluster-large {
    background: transparent !important;
}
.marker-cluster-small div,
.marker-cluster-medium div,
.marker-cluster-large div {
    background: transparent !important;
}
