:root {
  --fuel-topbar-mobile: 48px;
  --fuel-topbar-desktop: 110px;
  --fuel-shell-max: 1180px;
  --fuel-card-radius: 22px;
  --fuel-border: rgba(10, 58, 64, 0.1);
  --fuel-shadow: 0 20px 50px rgba(0, 78, 88, 0.08);
  --fuel-surface: rgba(255, 255, 255, 0.92);
  --fuel-strong: #014e58;
  --fuel-accent: #006874;
  --fuel-muted: #587074;
  --fuel-soft: #edf4f5;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  min-height: 100dvh;
  margin: 0;
  overflow-x: hidden;
  font-family: "Work Sans", sans-serif;
  background: #f5f8f8;
  color: #172123;
}

body {
  background:
    radial-gradient(circle at top left, rgba(149, 231, 240, 0.2), transparent 24%),
    linear-gradient(180deg, #f5f8f8 0%, #eef4f4 100%);
}

html.fuel-disclaimer-required,
html.fuel-disclaimer-required body {
  overflow: hidden;
}

button,
input,
a {
  font: inherit;
}

.custom-logo {
  font-family: "Parisienne", cursive !important;
}

.glass-button {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(0, 78, 88, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.fuel-shell {
  color: #172123;
}

html.fuel-disclaimer-required #globalTopMenu,
html.fuel-disclaimer-required #globalTopMenuMobile,
html.fuel-disclaimer-required .fuel-main {
  pointer-events: none;
  user-select: none;
}

#globalTopMenu,
#globalTopMenuMobile {
  z-index: 1300 !important;
}

#globalTopMenu {
  visibility: visible;
}

#globalTopMenuMobile {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 30px rgba(6, 28, 31, 0.08);
}

#mobileLangPanel,
#mobileMenuPanel {
  z-index: 2 !important;
}

#globalTopMenuMobile .custom-logo {
  font-size: clamp(1.65rem, 6vw, 2rem);
  line-height: 1;
  max-width: min(52vw, 220px);
  text-align: center;
}

.fuel-main {
  width: min(100%, var(--fuel-shell-max));
  margin: 0 auto;
  padding: 0.65rem 0.875rem 5.75rem;
}

.fuel-disclaimer-overlay {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(5, 21, 24, 0.5);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, visibility 0.18s ease;
}

html.fuel-disclaimer-required .fuel-disclaimer-overlay {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.fuel-disclaimer-panel {
  width: min(100%, 720px);
  max-height: min(calc(100dvh - 2rem), 760px);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 251, 251, 0.97) 100%);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.18);
  padding: 1.25rem;
}

.fuel-disclaimer-eyebrow {
  margin: 0 0 0.5rem;
  color: var(--fuel-accent);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.fuel-disclaimer-title {
  margin: 0;
  color: var(--fuel-strong);
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.fuel-disclaimer-subtitle {
  margin: 0.65rem 0 0;
  color: rgba(23, 33, 35, 0.76);
  font-size: 0.92rem;
  line-height: 1.55;
}

.fuel-disclaimer-source {
  display: grid;
  gap: 0.35rem;
  margin-top: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(223, 246, 247, 0.8);
  border: 1px solid rgba(0, 104, 116, 0.16);
}

.fuel-disclaimer-source__label {
  margin: 0;
  color: rgba(1, 78, 88, 0.76);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fuel-disclaimer-source__title {
  margin: 0;
  color: var(--fuel-strong);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.4;
}

.fuel-disclaimer-source__link {
  color: var(--fuel-accent);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.fuel-disclaimer-copy {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
  max-height: min(23dvh, 170px);
  overflow-y: auto;
  padding-right: 0.35rem;
}

.fuel-disclaimer-copy p {
  margin: 0;
  color: #304245;
  font-size: 0.9rem;
  line-height: 1.62;
}

.fuel-disclaimer-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.fuel-disclaimer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 999px;
  padding: 0.72rem 1.15rem;
  border: 1px solid rgba(0, 104, 116, 0.16);
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease;
}

.fuel-disclaimer-btn:hover,
.fuel-disclaimer-btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.fuel-disclaimer-btn--primary {
  background: var(--fuel-accent);
  border-color: var(--fuel-accent);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 104, 116, 0.18);
}


.fuel-disclaimer-btn--secondary {
  background: #fff;
  color: var(--fuel-strong);
}

.fuel-site-footer {
  bottom: calc(env(safe-area-inset-bottom, 0px) + 0.5rem);
}

.fuel-page {
  display: grid;
  gap: 0.9rem;
}

.fuel-filter-card,
.fuel-map-panel,
.fuel-list-panel {
  min-width: 0;
  border: 1px solid var(--fuel-border);
  border-radius: var(--fuel-card-radius);
  background: var(--fuel-surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--fuel-shadow);
}

.fuel-filter-card,
.fuel-map-panel,
.fuel-list-panel {
  padding: 1rem;
}

.fuel-filter-card {
  display: grid;
  gap: 0.8rem;
}

.fuel-filter-meta {
  display: grid;
  gap: 0.55rem;
}

.fuel-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fuel-label {
  margin: 0;
  color: #405154;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.fuel-chip-row {
  display: grid;
  gap: 0.55rem;
}

.fuel-select-shell {
  position: relative;
}

.fuel-select {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid rgba(0, 104, 116, 0.16);
  border-radius: 18px;
  padding: 0.82rem 2.9rem 0.82rem 0.95rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 250, 250, 0.98) 100%);
  color: #1e2d30;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--fuel-accent) 50%),
    linear-gradient(135deg, var(--fuel-accent) 50%, transparent 50%);
  background-position:
    calc(100% - 1.2rem) calc(50% - 2px),
    calc(100% - 0.85rem) calc(50% - 2px);
  background-size: 8px 8px, 8px 8px;
  background-repeat: no-repeat;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.fuel-select:hover,
.fuel-select:focus-visible {
  border-color: rgba(0, 104, 116, 0.36);
  outline: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 0 0 4px rgba(0, 104, 116, 0.08);
}

.fuel-selector-note {
  margin: 0;
  color: rgba(23, 33, 35, 0.68);
  font-size: 0.78rem;
  line-height: 1.45;
}

.fuel-radius-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.fuel-radius-value {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.38rem 0.7rem;
  background: rgba(0, 104, 116, 0.08);
  color: var(--fuel-strong);
  font-size: 0.8rem;
  font-weight: 800;
  white-space: nowrap;
}

.fuel-radius-slider {
  width: 100%;
  margin: 0;
  accent-color: var(--fuel-accent);
}

.fuel-radius-hint {
  margin: 0;
  color: rgba(23, 33, 35, 0.68);
  font-size: 0.83rem;
  line-height: 1.45;
}

.fuel-freshness {
  margin: 0;
  color: rgba(23, 33, 35, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fuel-banner {
  border-radius: 16px;
  padding: 0.78rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 600;
}

.fuel-banner-info {
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(111, 121, 123, 0.18);
  color: #3f484a;
}

.fuel-banner-stale {
  background: rgba(255, 220, 198, 0.82);
  border: 1px solid rgba(150, 73, 0, 0.16);
  color: #723600;
}

.fuel-banner-error {
  background: rgba(255, 218, 214, 0.82);
  border: 1px solid rgba(186, 26, 26, 0.18);
  color: #93000a;
}

.fuel-content-grid {
  display: grid;
  gap: 0.9rem;
}

.fuel-map-panel {
  display: grid;
  gap: 0.9rem;
  height: fit-content;
}

.fuel-map-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
}

.fuel-map-subtitle {
  margin: 0.35rem 0 0;
  color: rgba(23, 33, 35, 0.7);
  font-size: 0.84rem;
  line-height: 1.45;
}

.fuel-map-canvas {
  width: 100%;
  height: 260px;
  border-radius: 18px;
  background: #dfe9ea;
  filter: saturate(0.78) contrast(0.94);
}

.fuel-map-selection {
  display: grid;
  gap: 0.65rem;
  padding-top: 0.35rem;
  border-top: 1px solid rgba(10, 58, 64, 0.08);
}

.fuel-map-selection__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.65rem;
}

.fuel-map-selection__summary {
  margin: 0;
  color: var(--fuel-strong);
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 800;
}

.fuel-map-selection__close {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  border: 1px solid rgba(10, 58, 64, 0.12);
  border-radius: 999px;
  background: #fff;
  color: #405154;
  cursor: pointer;
  line-height: 1;
  font-size: 1rem;
  font-weight: 800;
}

.fuel-map-link,
.fuel-map-recenter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.25rem;
  min-width: 0;
  border: 1px solid rgba(0, 104, 116, 0.14);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: #fff;
  color: var(--fuel-strong);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
}

.fuel-map-link .material-symbols-outlined,
.fuel-map-recenter .material-symbols-outlined {
  font-size: 1rem;
}

.fuel-results-column {
  display: grid;
  gap: 0.9rem;
  min-width: 0;
}

.fuel-list-panel {
  display: grid;
  gap: 0.8rem;
}

.fuel-list-panel--featured {
  background:
    linear-gradient(180deg, rgba(241, 250, 250, 0.96) 0%, rgba(255, 255, 255, 0.96) 100%);
  border-color: rgba(0, 104, 116, 0.16);
}

.fuel-list-panel__head {
  display: grid;
  gap: 0.4rem;
}

.fuel-section-heading {
  margin: 0;
  color: var(--fuel-strong);
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.fuel-summary {
  margin: 0;
  color: #34484c;
  font-size: 0.9rem;
  line-height: 1.45;
  font-weight: 700;
}

.fuel-list {
  display: grid;
  gap: 0.7rem;
}

.fuel-station-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(10, 58, 64, 0.08);
  border-radius: 18px;
  background: #f8fbfb;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.fuel-station-card:hover {
  transform: translateY(-1px);
}

.fuel-station-card--featured {
  background:
    linear-gradient(180deg, rgba(223, 246, 247, 0.72) 0%, rgba(248, 251, 251, 1) 100%);
  border-color: rgba(0, 104, 116, 0.18);
}

.fuel-station-card__accent {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0.38rem;
  background: hsl(var(--marker-hue) 78% 40%);
}

.fuel-station-card__body {
  min-width: 0;
  padding: 0.95rem 0.95rem 0.95rem 1.12rem;
}

.fuel-station-card__top {
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  align-items: flex-start;
}

.fuel-station-card__content {
  min-width: 0;
}

.fuel-station-card__brand {
  margin: 0;
  color: #6b7c7f;
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fuel-station-card__title {
  margin: 0.22rem 0 0;
  font-size: 0.98rem;
  line-height: 1.25;
  font-weight: 900;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.fuel-station-card__address {
  margin: 0.24rem 0 0;
  color: #56686b;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.fuel-station-card__price {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  background: hsl(var(--marker-hue) 78% 94%);
  color: hsl(var(--marker-hue) 78% 28%);
  font-size: 0.8rem;
  font-weight: 900;
  white-space: nowrap;
}

.fuel-station-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.72rem;
  color: #5d6d70;
  font-size: 0.72rem;
  line-height: 1.45;
  font-weight: 700;
}

.fuel-station-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}

.fuel-pill {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  border-radius: 999px;
  padding: 0.38rem 0.68rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.fuel-pill-best {
  background: rgba(0, 82, 18, 0.08);
  color: #005212;
}

.fuel-marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.14));
  transition: transform 0.18s ease;
}

.fuel-marker:hover {
  transform: translateY(-1px) scale(1.02);
}

.fuel-marker-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  padding: 0.2rem 0.44rem;
  border-radius: 0.72rem;
  border: 1.5px solid rgba(255, 255, 255, 0.94);
  background: hsl(var(--marker-hue) 78% 40%);
  color: #fff;
  font-size: 0.71rem;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.fuel-marker-tail {
  width: 0;
  height: 0;
  margin-top: -1px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 7px solid hsl(var(--marker-hue) 78% 40%);
}

.leaflet-div-icon.fuel-div-icon {
  background: transparent;
  border: 0;
}

.leaflet-control-attribution,
.leaflet-control-zoom {
  display: none;
}

.fuel-empty {
  border-radius: 18px;
  background: #f8fbfb;
  border: 1px solid rgba(10, 58, 64, 0.08);
  padding: 1rem;
  text-align: center;
  color: #4d6164;
  font-size: 0.88rem;
  font-weight: 600;
}

.hidden {
  display: none !important;
}

@media (min-width: 640px) {
  #globalTopMenu {
    display: flex !important;
  }

  #globalTopMenuMobile {
    display: none !important;
  }

  #globalTopMenuSpacer {
    display: block !important;
    height: var(--fuel-topbar-desktop);
  }

  .fuel-main {
    padding-top: 0.95rem;
    padding-left: 1rem;
    padding-right: 1rem;
    padding-bottom: 5rem;
  }
}

@media (min-width: 768px) {
  .fuel-map-canvas {
    height: 320px;
  }
}

@media (min-width: 1024px) {
  .fuel-content-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
    grid-template-areas: "results map";
    align-items: start;
  }

  .fuel-results-column {
    grid-area: results;
  }

  .fuel-map-panel {
    grid-area: map;
  }

  .fuel-map-canvas {
    height: 500px;
  }
}

@media (max-width: 639px) {
  #globalTopMenu {
    display: none !important;
  }

  #globalTopMenuMobile {
    display: block !important;
    min-height: var(--fuel-topbar-mobile);
  }

  #globalTopMenuSpacer {
    display: none !important;
  }

  #globalTopMenuMobile > div {
    min-height: var(--fuel-topbar-mobile);
    padding-top: 0.22rem;
    padding-bottom: 0.22rem;
  }

  #globalTopMenuMobile .glass-button {
    min-height: 2.05rem;
    min-width: 2.2rem;
    padding: 0.32rem 0.5rem;
  }

  .fuel-main {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
    padding-top: calc(var(--fuel-topbar-mobile) - 0.35rem);
    padding-bottom: 6.25rem;
  }

  .fuel-disclaimer-panel {
    padding: 1rem;
    border-radius: 24px;
  }

  .fuel-disclaimer-actions {
    flex-direction: column;
  }

  .fuel-disclaimer-btn {
    width: 100%;
  }

  .fuel-filter-card,
  .fuel-map-panel,
  .fuel-list-panel {
    padding: 0.9rem;
    border-radius: 20px;
  }

  .fuel-map-canvas {
    height: 248px;
  }

  .fuel-marker-price {
    min-width: 2.85rem;
    padding: 0.18rem 0.38rem;
    font-size: 0.66rem;
  }

  .fuel-marker-tail {
    border-left-width: 4px;
    border-right-width: 4px;
    border-top-width: 6px;
  }

  .fuel-map-selection__summary {
    font-size: 0.74rem;
  }

  .fuel-map-selection__close {
    width: 1.75rem;
    height: 1.75rem;
  }

  .fuel-station-card__top {
    flex-direction: column;
  }

  .fuel-station-card__price {
    align-self: flex-start;
  }

  .fuel-station-card__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fuel-map-link,
  .fuel-map-recenter {
    width: 100%;
  }

  .fuel-map-recenter {
    width: auto;
    min-height: 1.95rem;
    padding: 0.34rem 0.58rem;
    font-size: 0.66rem;
    gap: 0.25rem;
  }

  .fuel-map-recenter .material-symbols-outlined {
    font-size: 0.88rem;
  }
}
