/* =============================================================================
   SmartFuel — Design System (Plain CSS, framework-agnostic)
   Extracted from the Figma/React/Tailwind export.
   No build step, no Tailwind, no PostCSS required — just link this file.
   Font: Montserrat — self-hosted variable font (see @font-face below).
   ============================================================================= */

/* Self-hosted Montserrat (variable weight, latin subset — covers Portuguese).
   Served locally instead of Google Fonts: no third-party render-blocking request. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
}

/* ---------------------------------------------------------------------------
   1. DESIGN TOKENS  (change the brand here, everything else follows)
   --------------------------------------------------------------------------- */
:root {
  /* Brand — teal */
  --sf-primary:            #0b7b82;
  --sf-primary-tint:       #e6f4f5;  /* icon backgrounds, active chips        */
  --sf-primary-tint-hero:  #e8f5f5;  /* hero gradient top                     */
  --sf-primary-08:         rgba(11, 123, 130, 0.08);
  --sf-primary-12:         rgba(11, 123, 130, 0.12);
  --sf-primary-15:         rgba(11, 123, 130, 0.15);

  /* Text */
  --sf-foreground:         #111118;  /* headings, primary text                */
  --sf-muted:              #7a7a8c;  /* secondary text                        */
  --sf-faint:              #c0c0cc;  /* disabled / decorative (dots, ranks)   */

  /* Surfaces */
  --sf-bg:                 #f7f8fa;  /* page background                       */
  --sf-surface:            #ffffff;  /* cards, nav, footer                    */
  --sf-surface-alt:        #f9fafb;  /* inactive price column                 */
  --sf-fill:               #f0f1f4;  /* pills, segmented control, icon tiles  */
  --sf-fill-soft:          #f7f8fa;  /* search input field                    */

  /* Status */
  --sf-open-bg:            #edfbf4;
  --sf-open-fg:            #16a34a;
  --sf-closed-bg:          #fef2f2;
  --sf-closed-fg:          #dc2626;

  /* Lines & overlays */
  --sf-border:             rgba(0, 0, 0, 0.1);
  --sf-border-soft:        rgba(0, 0, 0, 0.05);
  --sf-overlay:            rgba(10, 14, 20, 0.5);

  /* Radii */
  --sf-r-md:   0.625rem;  /* 10px — small controls          */
  --sf-r-lg:   0.75rem;   /* 12px — icon tiles              */
  --sf-r-xl:   1rem;      /* 16px — chips, cards            */
  --sf-r-2xl:  1.5rem;    /* 24px — search card, modal      */
  --sf-r-full: 9999px;

  /* Shadows */
  --sf-shadow-card:   0 8px 40px rgba(11, 123, 130, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  --sf-shadow-sm:     0 1px 4px rgba(0, 0, 0, 0.08);
  --sf-shadow-lg:     0 10px 25px rgba(0, 0, 0, 0.12);
  --sf-shadow-2xl:    0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Typography scale (Tailwind-equivalents) */
  --sf-font:      'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sf-text-9:    0.5625rem;  /* 9px  */
  --sf-text-10:   0.625rem;   /* 10px */
  --sf-text-11:   0.6875rem;  /* 11px */
  --sf-text-xs:   0.75rem;    /* 12px */
  --sf-text-sm:   0.875rem;   /* 14px */
  --sf-text-base: 1rem;       /* 16px */
  --sf-text-lg:   1.125rem;   /* 18px */
  --sf-text-xl:   1.25rem;    /* 20px */
  --sf-text-2xl:  1.5rem;     /* 24px */
  --sf-text-3xl:  1.875rem;   /* 30px */
  --sf-text-hero: clamp(2.25rem, 6vw, 3.75rem); /* 36 → 60px responsive */

  /* Weights */
  --sf-w-normal:   400;
  --sf-w-medium:   500;
  --sf-w-semibold: 600;
  --sf-w-bold:     700;

  /* Layout widths */
  --sf-container:  64rem;  /* max-w-5xl — nav / hero / stats / features */
  --sf-content:    42rem;  /* max-w-2xl — search card / results        */

  /* Motion */
  --sf-transition: 150ms ease;
}

/* ---------------------------------------------------------------------------
   2. BASE
   --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; }

body {
  margin: 0;
  min-height: 100vh;
  /* Sticky footer: stack the page vertically so main grows to fill tall viewports
     (e.g. 4K) and the footer always rests at the bottom instead of floating mid-page. */
  display: flex;
  flex-direction: column;
  font-family: var(--sf-font);
  font-weight: var(--sf-w-normal);
  color: var(--sf-foreground);
  background: var(--sf-bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

body > main { flex: 1 0 auto; }
body > .sf-footer { flex-shrink: 0; }

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
img, iframe { display: block; max-width: 100%; }

/* Inline Lucide icons: align to the text baseline and never shrink in flex rows. */
.lucide { vertical-align: -0.125em; flex-shrink: 0; }

/* Layout helpers */
.sf-container { max-width: var(--sf-container); margin-inline: auto; padding-inline: 1.5rem; }
.sf-content   { max-width: var(--sf-content);   margin-inline: auto; padding-inline: 1.5rem; }
@media (min-width: 768px) {
  .sf-container, .sf-content { padding-inline: 2.5rem; }
}

/* ---------------------------------------------------------------------------
   3. NAVIGATION (sticky, translucent, blurred)
   --------------------------------------------------------------------------- */
.sf-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--sf-border);
}
.sf-header__inner {
  height: 3.5rem;
  display: flex; align-items: center; justify-content: space-between;
  max-width: var(--sf-container); margin-inline: auto;
  padding-inline: 1.5rem;
}
@media (min-width: 768px) { .sf-header__inner { padding-inline: 2.5rem; } }

.sf-logo { display: flex; align-items: center; gap: 0.625rem; }
.sf-logo__mark {
  width: 1.75rem; height: 1.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--sf-r-lg);
  background: var(--sf-primary); color: #fff;
}
.sf-logo__name { font-weight: var(--sf-w-bold); font-size: var(--sf-text-base); letter-spacing: -0.02em; }

.sf-nav { display: none; gap: 1.5rem; }
@media (min-width: 768px) { .sf-nav { display: flex; align-items: center; } }
.sf-nav a {
  font-size: var(--sf-text-xs); font-weight: var(--sf-w-semibold);
  text-transform: uppercase; letter-spacing: 0.05em; color: var(--sf-muted);
  transition: color var(--sf-transition);
}
.sf-nav a:hover { color: var(--sf-foreground); }

/* ---------------------------------------------------------------------------
   4. HERO
   --------------------------------------------------------------------------- */
.sf-hero {
  position: relative; overflow: hidden;
  padding-block: 5rem;
  background: linear-gradient(180deg, var(--sf-primary-tint-hero) 0%, #ffffff 100%);
}
.sf-hero--compact {  /* state after a search: white, tighter */
  padding-block: 2rem 1.5rem;
  background: #fff;
}
.sf-hero__inner {
  max-width: var(--sf-container); margin-inline: auto;
  padding-inline: 1.5rem;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
@media (min-width: 768px) { .sf-hero__inner { padding-inline: 2.5rem; } }

.sf-hero__title {
  font-size: var(--sf-text-hero); font-weight: var(--sf-w-bold);
  line-height: 1.1; letter-spacing: -0.03em; margin: 0 0 1.25rem;
  max-width: 48rem;
}
.sf-hero__title em { color: var(--sf-primary); font-style: normal; }
.sf-hero__subtitle { font-size: var(--sf-text-base); color: var(--sf-muted); margin: 0 0 3rem; }

/* Live badge with pulsing dot */
.sf-live-badge {
  display: inline-flex; align-items: center; gap: 0.75rem;
  padding: 0.625rem 1rem; margin-bottom: 2.5rem;
  border-radius: var(--sf-r-xl);
  font-size: var(--sf-text-11); font-weight: var(--sf-w-semibold);
  color: var(--sf-primary);
  background: var(--sf-primary-08);
  border: 1px solid var(--sf-primary-15);
  backdrop-filter: blur(8px);
}
.sf-dot { position: relative; display: inline-flex; width: 0.5rem; height: 0.5rem; }
.sf-dot::before {
  content: ""; position: absolute; inset: 0; border-radius: 9999px;
  background: var(--sf-primary); opacity: 0.5;
  animation: sf-ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.sf-dot::after {
  content: ""; position: relative; width: 0.5rem; height: 0.5rem;
  border-radius: 9999px; background: var(--sf-primary);
}
@keyframes sf-ping { 75%, 100% { transform: scale(2); opacity: 0; } }

/* ---------------------------------------------------------------------------
   5. SEARCH CARD
   --------------------------------------------------------------------------- */
.sf-search {
  width: 100%; max-width: var(--sf-content);
  border-radius: var(--sf-r-2xl); overflow: hidden;
  background: #fff;
  box-shadow: var(--sf-shadow-card);
  border: 1px solid var(--sf-primary-12);
}
.sf-search__row { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0.75rem 0.75rem 0.5rem; }
.sf-search__field {
  flex: 1; min-width: 8rem; display: flex; align-items: center; gap: 0.625rem;
  padding: 0.75rem 1rem; border-radius: var(--sf-r-xl);
  background: var(--sf-fill-soft);
}
.sf-search__field input {
  flex: 1; min-width: 0; border: none; outline: none; background: transparent;
  font-size: var(--sf-text-sm); color: var(--sf-foreground);
}
.sf-search__field input::placeholder { color: var(--sf-muted); }

/* Location (crosshair) icon button before the search field */
.sf-search__geo {
  flex-shrink: 0; width: 2.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--sf-r-xl); background: var(--sf-fill-soft); color: var(--sf-muted);
  transition: color var(--sf-transition), background var(--sf-transition);
}
.sf-search__geo:hover { color: var(--sf-primary); }
.sf-search__geo:disabled { opacity: 0.5; }

/* Radius selector sharing the top row */
.sf-search__radius {
  flex-shrink: 0; border: 1px solid var(--sf-border); background: #fff;
  color: var(--sf-foreground); border-radius: var(--sf-r-xl);
  padding: 0 0.75rem; font-size: var(--sf-text-sm); font-weight: var(--sf-w-semibold);
}

.sf-search__controls {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding: 0.625rem 1rem 0.75rem;
  border-top: 1px solid var(--sf-border-soft);
}

/* Expandable amenity filter panel inside the search card */
.sf-search__filters {
  padding: 0.875rem 1rem 1rem;
  border-top: 1px solid var(--sf-border-soft);
}
.sf-search__filters[hidden] { display: none; }
.sf-filter-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
/* The chip's <input> is visually hidden; :has() reflects the checked state. */
.sf-chip:has(input:checked) {
  background: var(--sf-primary-tint); color: var(--sf-primary); border-color: var(--sf-primary);
}
.sf-chip:has(input:focus-visible) { outline: 2px solid var(--sf-primary); outline-offset: 2px; }

/* ---------------------------------------------------------------------------
   6. BUTTONS
   --------------------------------------------------------------------------- */
.sf-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: var(--sf-r-xl);
  font-size: var(--sf-text-sm); font-weight: var(--sf-w-semibold);
  transition: opacity var(--sf-transition), transform var(--sf-transition), background var(--sf-transition);
}
.sf-btn--primary { padding: 0.75rem 1.5rem; background: var(--sf-primary); color: #fff; }
.sf-btn--primary:hover  { opacity: 0.9; }
.sf-btn--primary:active { transform: scale(0.95); }
.sf-btn--outline {
  padding: 0.75rem 1.5rem; background: #fff;
  color: var(--sf-foreground); border: 1px solid var(--sf-border);
}
.sf-btn--outline:hover { background: var(--sf-fill); }
.sf-btn--block { width: 100%; }
.sf-btn--cta {  /* uppercase, full-width secondary action */
  width: 100%; padding: 0.875rem;
  border: 1px solid var(--sf-border); color: var(--sf-muted);
  font-size: var(--sf-text-xs); text-transform: uppercase; letter-spacing: 0.05em;
  border-radius: var(--sf-r-xl);
}
.sf-btn--cta:hover { background: var(--sf-fill); }

/* ---------------------------------------------------------------------------
   7. PILLS & CHIPS
   --------------------------------------------------------------------------- */
/* Fuel-type pill (radio-style) */
.sf-pill {
  padding: 0.375rem 0.75rem; border-radius: var(--sf-r-full);
  font-size: var(--sf-text-xs); font-weight: var(--sf-w-semibold);
  background: var(--sf-fill); color: #555566;
  transition: all var(--sf-transition);
}
.sf-pill.is-active { background: var(--sf-primary); color: #fff; }

/* Amenity chip (toggle) */
.sf-chip {
  display: inline-flex; align-items: center; gap: 0.375rem;
  padding: 0.375rem 0.75rem; border-radius: var(--sf-r-xl);
  font-size: var(--sf-text-xs); font-weight: var(--sf-w-medium);
  background: var(--sf-fill-soft); color: #666; border: 1px solid transparent;
  transition: all var(--sf-transition);
}
.sf-chip.is-active { background: var(--sf-primary-tint); color: var(--sf-primary); border-color: var(--sf-primary); }
.sf-chip.is-off    { color: var(--sf-faint); text-decoration: line-through; }

/* Status badge (open / closed) */
.sf-badge {
  display: inline-flex; align-items: center; gap: 0.25rem;
  padding: 0.125rem 0.5rem; border-radius: var(--sf-r-full);
  font-size: var(--sf-text-10); font-weight: var(--sf-w-semibold);
}
.sf-badge--open   { background: var(--sf-open-bg);   color: var(--sf-open-fg); }
.sf-badge--closed { background: var(--sf-closed-bg); color: var(--sf-closed-fg); }
.sf-badge--best   { background: var(--sf-primary-tint); color: var(--sf-primary); font-weight: var(--sf-w-bold); letter-spacing: 0.03em; }
.sf-badge--updated { background: var(--sf-open-bg); color: var(--sf-open-fg); }

/* ---------------------------------------------------------------------------
   8. SEGMENTED CONTROL (sort toggle)
   --------------------------------------------------------------------------- */
.sf-segment { display: inline-flex; gap: 0.125rem; padding: 0.125rem; border-radius: var(--sf-r-lg); background: var(--sf-fill); }
.sf-segment button {
  padding: 0.375rem 0.75rem; border-radius: var(--sf-r-md);
  font-size: var(--sf-text-11); font-weight: var(--sf-w-semibold);
  color: var(--sf-muted); text-transform: capitalize;
  transition: all var(--sf-transition);
}
.sf-segment button.is-active { background: #fff; color: var(--sf-foreground); box-shadow: var(--sf-shadow-sm); }

/* ---------------------------------------------------------------------------
   9. ICON TILE  (feature icons, info rows)
   --------------------------------------------------------------------------- */
.sf-icon-tile {
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--sf-r-lg); flex-shrink: 0;
}
.sf-icon-tile--primary { width: 2.25rem; height: 2.25rem; background: var(--sf-primary-tint); color: var(--sf-primary); }
.sf-icon-tile--neutral { width: 1.75rem; height: 1.75rem; background: var(--sf-fill); color: #555566; }

/* Amenity dot (in result cards) */
.sf-amenity-dot {
  display: inline-flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: var(--sf-r-lg);
  background: var(--sf-fill); color: var(--sf-faint);
}
.sf-amenity-dot.is-active { background: var(--sf-primary-tint); color: var(--sf-primary); }

/* ---------------------------------------------------------------------------
   10. STATION RESULT CARD
   --------------------------------------------------------------------------- */
.sf-results { display: flex; flex-direction: column; gap: 0.5rem; }

.sf-station {
  display: flex; overflow: hidden; cursor: pointer;
  background: #fff; border: 1px solid var(--sf-border);
  border-radius: var(--sf-r-xl);
  transition: box-shadow var(--sf-transition), transform var(--sf-transition);
}
.sf-station:hover { box-shadow: var(--sf-shadow-lg); transform: translateY(-1px); }
.sf-station.is-best { border-color: var(--sf-primary); }

.sf-station__price {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.125rem; width: 5rem; flex-shrink: 0;
  background: var(--sf-surface-alt);
}
.sf-station.is-best .sf-station__price { background: var(--sf-primary); color: #fff; }
.sf-station__rank  { font-size: var(--sf-text-9); font-weight: var(--sf-w-semibold); color: var(--sf-faint); }
.sf-station__value { font-size: var(--sf-text-lg); font-weight: var(--sf-w-semibold); line-height: 1.1; }
.sf-station__unit  { font-size: var(--sf-text-9); color: var(--sf-faint); }
.sf-station.is-best .sf-station__rank,
.sf-station.is-best .sf-station__unit { color: rgba(255,255,255,0.5); }

.sf-station__body { flex: 1; min-width: 0; padding: 0.875rem 1rem; border-left: 1px solid var(--sf-border); }
.sf-station.is-best .sf-station__body { border-left-color: var(--sf-primary-15); }
.sf-station__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem; margin-bottom: 0.25rem; }
.sf-station__name { font-weight: var(--sf-w-bold); font-size: var(--sf-text-sm); }
.sf-station__meta { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.625rem; font-size: var(--sf-text-11); color: var(--sf-muted); }

/* per-card amenity chips: row 1 = available (active), row 2 = unavailable (struck through) */
.sf-station__amenities { display: flex; flex-direction: column; gap: 0.375rem; }
.sf-station__amenity-row { display: flex; flex-wrap: wrap; gap: 0.375rem; }
.sf-station__amenities .sf-chip { font-size: var(--sf-text-10); padding: 0.1875rem 0.5rem; }

/* thin price bar */
.sf-bar { height: 2px; border-radius: 9999px; background: var(--sf-fill); overflow: hidden; margin-bottom: 0.625rem; }
.sf-bar__fill { height: 100%; border-radius: 9999px; background: #d1d5db; }
.sf-station.is-best .sf-bar__fill { background: var(--sf-primary); }

/* Pagination controls under the result list */
.sf-pager {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; margin-top: 1.5rem;
}
.sf-pager__status { flex-shrink: 0; }
.sf-btn:disabled { opacity: 0.4; cursor: default; pointer-events: none; }

/* ---------------------------------------------------------------------------
   11. STATS & FEATURES (landing)
   --------------------------------------------------------------------------- */
.sf-stats { border-block: 1px solid var(--sf-border); background: #fff; }
/* Same 3-column grid as .sf-features so the two landing rows line up column-for-column. */
.sf-stats__inner {
  max-width: var(--sf-container); margin-inline: auto; padding: 1.5rem 2.5rem;
  display: grid; grid-template-columns: 1fr;
}
@media (min-width: 640px) { .sf-stats__inner { grid-template-columns: repeat(3, 1fr); } }
.sf-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.25rem 1rem;
}
/* Divider only in the 3-column layout (would look odd on the stacked mobile layout). */
@media (min-width: 640px) { .sf-stat + .sf-stat { border-left: 1px solid var(--sf-border); } }
.sf-stat__value { font-size: var(--sf-text-2xl); font-weight: var(--sf-w-semibold); letter-spacing: -0.02em; color: var(--sf-primary); }
.sf-stat__label { font-size: var(--sf-text-11); color: var(--sf-muted); margin-top: 0.125rem; }

.sf-features {
  max-width: var(--sf-container); margin-inline: auto; padding: 5rem 1.5rem;
  display: grid; grid-template-columns: 1fr; gap: 2.5rem;
}
@media (min-width: 640px) { .sf-features { grid-template-columns: repeat(3, 1fr); padding-inline: 2.5rem; } }
.sf-feature__title { font-weight: var(--sf-w-bold); font-size: var(--sf-text-sm); margin: 1rem 0 0.5rem; }
/* text-wrap: pretty evens out the ragged line lengths so the three columns look balanced. */
.sf-feature__body  { font-size: var(--sf-text-sm); color: var(--sf-muted); line-height: 1.6; margin: 0; text-wrap: pretty; }

/* ---------------------------------------------------------------------------
   12. MODAL / SHEET
   --------------------------------------------------------------------------- */
.sf-modal__overlay {
  position: fixed; inset: 0; z-index: 50;
  display: flex; align-items: flex-end; justify-content: center; padding: 0;
  background: var(--sf-overlay); backdrop-filter: blur(6px);
}
@media (min-width: 640px) { .sf-modal__overlay { align-items: center; padding: 1.5rem; } }

.sf-modal {
  position: relative;
  width: 100%; max-height: 90vh; overflow: hidden;
  display: flex; flex-direction: column;
  background: #fff; box-shadow: var(--sf-shadow-2xl);
  border-radius: var(--sf-r-2xl) var(--sf-r-2xl) 0 0;  /* bottom sheet on mobile */
}
@media (min-width: 640px) { .sf-modal { max-width: 28rem; border-radius: var(--sf-r-2xl); } }

/* Scrollable content area (map scrolls with it; only the close button stays fixed). */
.sf-modal__body {
  flex: 1 1 auto; min-height: 0; overflow-y: auto;
  scrollbar-width: none;               /* Firefox: hide native scrollbar */
}
.sf-modal__body::-webkit-scrollbar { width: 0; height: 0; }  /* WebKit: hide native */

/* Custom overlay thumb — no reserved gutter; fades in only while scrolling (macOS/iOS style). */
.sf-scrollthumb {
  position: absolute; right: 3px; width: 6px; border-radius: 9999px;
  background-color: rgba(0, 0, 0, 0.28);
  opacity: 0; pointer-events: none; z-index: 400;
  transition: opacity 250ms ease;
}
.sf-modal.is-scrolling .sf-scrollthumb { opacity: 1; }

/* map excerpt at the top of the modal (Leaflet) */
.sf-modal__map {
  position: relative;
  width: 100%; height: clamp(150px, 22vh, 240px);
  flex-shrink: 0; background: var(--sf-fill); z-index: 0;
}
/* Soft fade so the map bleeds into the white of the modal at its bottom edge. */
.sf-modal__map::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 3.5rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), var(--sf-surface));
  pointer-events: none;
  z-index: 450; /* above tiles (200) / overlay (400), below markers (600) & controls */
}

.sf-modal__close {
  position: absolute; top: 0.75rem; right: 0.75rem; z-index: 500;
  width: 2rem; height: 2rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center;
  background: #fff; box-shadow: var(--sf-shadow-lg);
  transition: opacity var(--sf-transition);
}
.sf-modal__close:hover { opacity: 0.8; }
.sf-modal__section { padding: 1rem 1.5rem; border-bottom: 1px solid var(--sf-border); }
.sf-modal__section:last-child { border-bottom: none; }

/* Detail actions: full-width "Get Directions" + square "open in maps" button */
.sf-modal__actions { display: flex; gap: 0.5rem; }
.sf-modal__directions { flex: 1; }
.sf-modal__map-link { flex: 0 0 auto; padding-inline: 0.9rem; }

/* Header row: station info left, big selected price right */
.sf-modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; }
.sf-price-hero { flex-shrink: 0; text-align: right; }
.sf-price-hero__value {
  font-size: var(--sf-text-3xl); font-weight: var(--sf-w-semibold);
  line-height: 1; color: var(--sf-primary); white-space: nowrap;
}
.sf-price-hero__unit { font-size: var(--sf-text-sm); font-weight: var(--sf-w-semibold); margin-left: 0.15rem; }
.sf-price-hero__label { font-size: var(--sf-text-11); color: var(--sf-muted); margin-top: 0.25rem; }

/* All-prices grid of small boxes; the selected fuel is highlighted */
.sf-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(4.5rem, 1fr)); gap: 0.5rem; }
.sf-price-box {
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid transparent; border-radius: var(--sf-r-xl);
  text-align: center; background: var(--sf-fill);
}
.sf-price-box.is-active { background: var(--sf-primary); border-color: var(--sf-primary); color: #fff; }
/* Two equal halves: product name on top, price below — aligned across all boxes. */
.sf-price-box__label,
.sf-price-box__value {
  flex: 1; display: flex; align-items: center; justify-content: center;
  padding: 0.4rem 0.45rem;
}
.sf-price-box__label {
  font-size: var(--sf-text-10); color: var(--sf-muted);
  line-height: 1.2; overflow-wrap: break-word; hyphens: auto;
}
.sf-price-box.is-active .sf-price-box__label { color: rgba(255, 255, 255, 0.75); }
.sf-price-box__value {
  font-size: var(--sf-text-lg); font-weight: var(--sf-w-semibold);
}
.sf-price-box.is-active .sf-price-box__value { border-top-color: rgba(255, 255, 255, 0.25); }
.sf-price-box__unit { font-size: var(--sf-text-9); margin-left: 0.1rem; opacity: 0.7; }

/* icon + text info row (e.g. opening hours) */
.sf-info-row { display: flex; align-items: flex-start; gap: 0.75rem; }

/* small uppercase section label used across cards & modal */
.sf-eyebrow {
  font-size: var(--sf-text-10); font-weight: var(--sf-w-semibold);
  text-transform: uppercase; letter-spacing: 0.1em; color: var(--sf-muted);
}

/* ---------------------------------------------------------------------------
   13. FOOTER
   --------------------------------------------------------------------------- */
.sf-footer { border-top: 1px solid var(--sf-border); background: #fff; }
.sf-footer__inner {
  max-width: var(--sf-container); margin-inline: auto; padding: 1rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--sf-text-11); color: var(--sf-muted);
}
@media (min-width: 768px) { .sf-footer__inner { padding-inline: 2.5rem; } }
.sf-footer a { transition: color var(--sf-transition); }
.sf-footer a:hover { color: var(--sf-foreground); }

/* ---------------------------------------------------------------------------
   14. UTILITIES (the handful actually used by the design)
   --------------------------------------------------------------------------- */
.sf-text-muted { color: var(--sf-muted); }
.sf-text-xs    { font-size: var(--sf-text-xs); }
.sf-text-sm    { font-size: var(--sf-text-sm); }
.sf-font-bold  { font-weight: var(--sf-w-bold); }
.sf-tight      { letter-spacing: -0.02em; }
