/* ═══════════════════════════════════════════════════════
   C-livrer — Sirop Grenadine · Unbounded + Sora
   100% claire · zéro dégradé · zéro couleur foncée
═══════════════════════════════════════════════════════ */
:root {
  --a:    #F97316;
  --a2:   #FFB347;
  --a-hv: #EA6A0A;
  --a2-hv:#E09000;
  --bg:   #FFF7ED;
  --bg2:  #FED7AA;
  --surface: #FFFFFF;
  --text:  #111111;
  --text2: #444444;
  --text3: #888888;
  --border: #FDBA74;
  --border2:#F97316;
  --ok:    #EA6A0A;
  --ok-bg: #FFF7ED;
  --display: 'Unbounded', sans-serif;
  --ui:      'Sora', sans-serif;
  --r:  14px;
  --r-sm: 10px;
  --r-lg: 20px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box }
html, body { height: 100% }
button { font-family: var(--ui); cursor: pointer }
a { text-decoration: none }
input, textarea, select { font-family: var(--ui) }

body.g-body {
  margin: 0;
  font-family: var(--ui);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

/* ═══════════════════════════════════════════
   MAP SHELL (desktop split-layout)
══════════════════════════════════ */
.g-shell {
  height: 100vh;
  display: flex;
  overflow: hidden;
}

/* ── Sidebar panel ── */
.g-panel {
  width: 380px;
  min-width: 320px;
  background: var(--surface);
  border-right: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  gap: 0;
  padding: 0;
}

/* ── Panel header (white, top section) ── */
.g-panel-head {
  background: var(--surface);
  padding: 16px 18px 14px;
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
}
.g-panel-brand {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.g-brand__logoimg {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
}
.g-panel-auth {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.g-authbtn {
  height: 34px;
  padding: 0 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--ui);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.g-authbtn:hover { border-color: var(--border2); background: var(--bg); }
.g-authbtn--primary {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
}
.g-authbtn--primary:hover { background: var(--a-hv); border-color: var(--a-hv); }
.g-authuser { font-size: 11px; font-weight: 700; color: var(--text3); }

/* ── Search in panel ── */
.g-panel-search {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--r-sm);
  padding: 9px 13px;
  display: flex;
  align-items: center;
  gap: 9px;
}
.g-panel-search svg { flex-shrink: 0; }
.g-panel-search-input {
  background: transparent;
  border: 0;
  outline: none;
  font-family: var(--ui);
  font-size: 13px;
  color: var(--text);
  width: 100%;
}
.g-panel-search-input::placeholder { color: var(--text3); }

/* ── Filters bar ── */
.g-panel-filters {
  display: flex;
  gap: 7px;
  padding: 10px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.g-panel-filters::-webkit-scrollbar { display: none; }

/* ── Radius / commune ── */
.g-panel-radius {
  display: flex;
  gap: 7px;
  padding: 8px 14px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1.5px solid var(--border);
  background: var(--bg);
  flex-shrink: 0;
}
.g-panel-radius::-webkit-scrollbar { display: none; }
.g-panel-helper {
  padding: 5px 14px 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text3);
  border-bottom: 1.5px solid var(--border);
  flex-shrink: 0;
  background: var(--bg);
}
.g-panel-commune {
  margin: 0;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: 13px 18px;
  flex-shrink: 0;
}
.g-commune {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 13px 18px;
  background: var(--bg);
  border-bottom: 1.5px solid var(--border);
}
.g-commune__title {
  font-family: var(--display);
  font-size: 14px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.01em;
}
.g-commune__text { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text3); }
.g-commune__form { display: flex; gap: 8px; align-items: center; }
.g-commune__actions { display: flex; gap: 7px; flex-wrap: wrap; }
.g-input--commune { min-width: 0; flex: 1; }
.g-input--commune-top { width: min(300px, 100%); }

/* ── Section header ── */
.g-panel-sec {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px 8px;
  flex-shrink: 0;
  background: var(--surface);
}
.g-panel-sec-title {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.01em;
}
.g-panel-sec-count { font-size: 11px; font-weight: 700; color: var(--text3); }
.g-panel-loading { padding: 16px 18px; font-size: 13px; color: var(--text3); }

/* ── Foodtruck cards list ── */
.g-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--surface);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.g-card {
  display: grid;
  grid-template-columns: 66px 1fr auto;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1.5px solid var(--border);
  background: var(--surface);
  text-decoration: none;
  color: inherit;
  align-items: center;
  transition: background .12s;
  border-radius: 0;
}
.g-card:last-child { border-bottom: 0; }
.g-card:hover { background: var(--bg); }
.g-card__img {
  width: 66px;
  height: 66px;
  border-radius: var(--r-sm);
  background: var(--bg);
  background-size: cover;
  background-position: center;
  border: 1.5px solid var(--border);
  flex-shrink: 0;
}
.g-card__body { min-width: 0; flex: 1; }
.g-card__name {
  font-family: var(--display);
  font-size: 12px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.01em;
  line-height: 1.25;
  margin-bottom: 4px;
}
.g-card__meta {
  font-size: 10px;
  font-weight: 600;
  color: var(--text3);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.g-card__sub {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--a);
  text-transform: uppercase;
  letter-spacing: .07em;
}
.g-badge {
  font-family: var(--ui);
  font-size: 9.5px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1.5px solid;
  white-space: nowrap;
  letter-spacing: .03em;
}
.g-badge.is-open {
  background: var(--ok-bg);
  color: var(--ok);
  border-color: var(--border);
}
.g-badge.is-closed {
  background: #f5f5f5;
  color: #aaa;
  border-color: #e0e0e0;
}
.g-star { color: #F59E0B; }
.g-sep { opacity: .5; }
.g-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--a); flex-shrink: 0; }

/* ── Chips / Filters ── */
.g-chip {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text2);
  font-family: var(--ui);
  font-weight: 700;
  font-size: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: border-color .14s, background .14s, color .14s;
  white-space: nowrap;
}
.g-chip:hover { border-color: var(--border2); }
.g-chip.is-active { background: var(--a); border-color: var(--a); color: #fff; }
.g-chip--location { background: var(--bg); border-color: var(--border); color: var(--text); }
.g-chip--location:hover { border-color: var(--border2); }
.g-chip--location.is-active { background: var(--a); border-color: var(--a); color: #fff; }
.g-chip--open { background: var(--bg); border-color: var(--border); color: var(--text2); }
.g-chip--open.is-active { background: var(--a); border-color: var(--a); color: #fff; }

/* ── Global button ── */
.g-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--r);
  border: 1.5px solid var(--a);
  background: var(--a);
  color: #fff;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: background .14s, border-color .14s, transform .14s;
}
.g-btn:hover { background: var(--a-hv); border-color: var(--a-hv); transform: translateY(-1px); }
.g-btn--ghost {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}
.g-btn--ghost:hover { border-color: var(--border2); background: var(--bg); }
.g-btn--cool {
  background: var(--a2) !important;
  border-color: var(--a2) !important;
  color: #fff !important;
}
.g-btn--cool:hover { background: var(--a2-hv) !important; border-color: var(--a2-hv) !important; }
.g-btn--wide { width: 100%; justify-content: center; }

/* ── PC bottom nav ── */
.g-bottomnav { display: none; }
.g-bottomnav--desktop {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  border-top: 1.5px solid var(--border);
  background: var(--surface);
  padding: 0;
}
.g-navbtn {
  flex: 1;
  border-radius: 0;
  background: transparent;
  border: 0;
  color: var(--text3);
  padding: 13px 8px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--ui);
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background .14s, color .14s;
}
.g-navbtn:hover { background: var(--bg); color: var(--text); }
.g-navbtn.is-active { background: var(--a); color: #fff; }
.g-navbtn svg { flex-shrink: 0; }
.g-navicon { font-size: 16px; }

/* ── Map ── */
.g-mapwrap { flex: 1; position: relative; background: #dde8d8; }
.g-map { position: absolute; inset: 0; }
.g-topbar {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 600;
  pointer-events: none;
}
.g-topbar--mobile-only { display: none; }
.g-topbar__search {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: min(480px, 70vw);
}
.g-topbar__chips {
  pointer-events: auto;
  display: flex;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.g-topbar__chips::-webkit-scrollbar { display: none; }
.g-topbar__chips .g-chip,
.g-topbar__radius .g-chip { flex: 0 0 auto; }
.g-topbar__radius { display: flex; gap: 7px; }
.g-topbar__commune { pointer-events: auto; display: flex; gap: 8px; align-items: center; }
.g-topbar__label { font-size: 11px; font-weight: 700; color: var(--text3); margin-left: 2px; }
.g-helper { font-size: 11px; color: var(--text3); font-weight: 600; }
.g-input {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--ui);
  font-size: 13px;
  outline: none;
  transition: border-color .14s, box-shadow .14s;
}
.g-input:focus { border-color: var(--a); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.g-input--top { background: rgba(255,255,255,.95); }

/* ── Mobile bottom sheet ── */
.g-mobilebar {
  display: none;
  position: absolute;
  left: 12px; right: 12px;
  bottom: 80px;
  z-index: 650;
  border-radius: 22px;
  padding: 8px 12px 12px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  box-shadow: 0 8px 32px rgba(249,115,22,.14);
}
.g-mobilebar__handle {
  width: 34px; height: 3px;
  border-radius: 99px;
  background: var(--border);
  margin: 4px auto 10px;
}
.g-mobilebar__kicker { font-size: 10px; font-weight: 700; color: var(--text3); letter-spacing: .08em; text-transform: uppercase; }
.g-mobilebar__name {
  font-family: var(--display);
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
  letter-spacing: -.01em;
  margin-top: 2px;
}
.g-mobilebar__header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.g-mobilebar__count { font-size: 11px; font-weight: 600; color: var(--text3); margin-top: 3px; }
.g-mobilebar__empty { font-size: 12px; font-weight: 600; color: var(--text3); padding: 4px 2px; }
.g-mobiledeck-wrap { position: relative; }
.g-mobiledeck {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 30px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.g-mobiledeck::-webkit-scrollbar { display: none; }
.g-mobiledeck__slide { flex: 0 0 100%; scroll-snap-align: start; }
.g-mobiledeck__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 28px; height: 28px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--surface);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.g-mobiledeck__nav span { font-size: 18px; line-height: 1; font-weight: 700; }
.g-mobiledeck__nav--prev { left: 0; }
.g-mobiledeck__nav--next { right: 0; }
.g-mobilecard {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 10px;
  border-radius: 16px;
  padding: 10px;
  background: var(--bg);
  border: 1.5px solid var(--border);
  min-height: 92px;
  text-decoration: none;
}
.g-mobilecard.is-active { border-color: var(--a); box-shadow: 0 0 0 3px rgba(249,115,22,.12); }
.g-mobilecard__img { width: 80px; height: 74px; border-radius: 12px; background: var(--surface); border: 1.5px solid var(--border); background-size: cover; background-position: center; }
.g-mobilecard__body { min-width: 0; }
.g-mobilecard__name { font-family: var(--display); font-size: 13px; font-weight: 900; color: var(--text); letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-mobilecard__meta { font-size: 10px; font-weight: 600; color: var(--text3); display: flex; gap: 5px; flex-wrap: wrap; margin-top: 5px; }
.g-mobilecard__sub { font-size: 10px; font-weight: 700; color: var(--a); text-transform: uppercase; letter-spacing: .07em; margin-top: 4px; }
.g-toast {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 90px;
  z-index: 700;
  background: var(--surface);
  color: var(--text);
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 18px rgba(249,115,22,.14);
  white-space: nowrap;
}

/* ── Leaflet ── */
.leaflet-control-attribution { display: none; }
.leaflet-container { background: #dde8d8; }
.g-marker {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--surface);
  border: 2.5px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(249,115,22,.18);
  transition: transform .14s;
}
.g-marker:hover { transform: scale(1.1); }
.g-marker.is-open { border-color: var(--a); }
.g-marker.is-closed { border-color: #ccc; }
.g-marker__emoji { font-size: 16px; }

/* ── Mobile app nav (map page) ── */
.g-map-mobilenav { display: none; }

/* ── Brand (legacy helpers) ── */
.g-brand--top { justify-content: space-between; }
.g-brand__left { display: flex; align-items: center; gap: 10px; }
.g-authcta { display: flex; align-items: center; gap: 8px; }
.g-empty { padding: 18px; color: var(--text3); }
.g-skeleton { padding: 16px 18px; color: var(--text3); font-size: 13px; }
.g-title { font-family: var(--display); font-size: 22px; font-weight: 900; color: var(--text); letter-spacing: -.01em; margin: 0; }

/* ═══════════════════════════════════════════
   RESPONSIVE — MOBILE FIRST
════════════════════════════════════════════ */
@media (max-width: 980px) {
  /* Shell becomes stacked */
  .g-shell { flex-direction: column; height: 100vh; }
  .g-panel { display: none; } /* hidden on mobile */
  .g-mapwrap { flex: 1; }

  /* Mobile topbar search */
  .g-topbar--mobile-only { display: block; }
  .g-topbar { top: 8px; left: 10px; right: 10px; }
  .g-topbar__search { width: min(100%, calc(100vw - 20px)); }
  .g-topbar__chips { margin-top: 6px; }
  .g-input--top { background: rgba(255,255,255,.96); font-size: 14px; padding: 12px 14px; border-color: var(--border); }

  /* Bottom sheet visible */
  .g-mobilebar { display: block; }

  /* Mobile app nav */
  .g-map-mobilenav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 10px; right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 950;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(249,115,22,.18);
  }
  .g-map-mni {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 9px 4px;
    border-radius: 16px;
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 700;
    color: var(--text3);
    text-decoration: none;
    position: relative;
    cursor: pointer;
    transition: background .14s, color .14s;
    -webkit-tap-highlight-color: transparent;
    border: 0;
    background: transparent;
  }
  .g-map-mni:hover { background: var(--bg); color: var(--text); }
  .g-map-mni.is-active { background: var(--a); color: #fff; }
  .g-map-mni-badge {
    position: absolute;
    top: 4px; right: 10px;
    min-width: 17px; height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--a2);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--surface);
  }
  .g-mobilebar { bottom: 82px; }
  .g-toast { bottom: 150px; }

  /* Hide legacy tabs */
  .g-mobiletabs, .g-mobiletab { display: none !important; }

  /* Other pages mobile nav */
  .g-mobile-appnav {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    left: 10px; right: 10px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 950;
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: 22px;
    padding: 6px;
    box-shadow: 0 8px 32px rgba(249,115,22,.18);
  }
  .g-mobile-appnav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 9px 4px;
    border-radius: 16px;
    font-family: var(--ui);
    font-size: 10px;
    font-weight: 700;
    color: var(--text3) !important;
    text-decoration: none !important;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    transition: background .14s, color .14s;
  }
  .g-mobile-appnav__item.is-active { background: var(--a); color: #fff !important; }
  .g-mobile-appnav__icon { font-size: 18px; line-height: 1; }
  .g-mobile-appnav__label { display: block; line-height: 1.1; }
  .g-mobile-appnav__badge {
    position: absolute;
    top: 4px; right: 10px;
    min-width: 17px; height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    background: var(--a2);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--surface);
  }

  /* Page padding for mobile nav */
  .g-body--mobile-nav { padding-bottom: 88px; }
  .g-body--mobile-nav .g-page,
  .g-body--mobile-nav .g-wrap { padding-bottom: max(16px, env(safe-area-inset-bottom)); }
  .g-body--mobile-nav .g-page__top {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--surface);
    border-bottom: 1.5px solid var(--border);
    margin-bottom: 8px;
  }
  .g-body--mobile-nav .g-wrap { padding-bottom: 110px; }
}

@media (min-width: 981px) {
  .g-mobile-appnav { display: none !important; }
  .g-map-mobilenav { display: none !important; }
  .g-topbar--mobile-only { display: none !important; }
  html, body { height: auto; min-height: 100%; }
  body.g-body { overflow-y: auto; overflow-x: hidden; }
}


/* ═══════════════════════════════════════════
   CORRECTIFS VISUELS — Desktop map layout
════════════════════════════════════════════ */

/* Sur desktop: topbar carte cachée car search est dans sidebar */
@media (min-width: 981px) {
  .g-topbar--mobile-only { display: none !important; }
  /* Garder la topbar principale invisible (pas de doublon) */
  .g-topbar:not(.g-topbar--mobile-only) { display: none !important; }
}

/* Panel : fond blanc avec header coloré en rose */
.g-panel-head {
  background: var(--bg) !important;
  border-bottom: 1.5px solid var(--border);
}

/* logo → voir section LOGO en fin de fichier */

/* Search bar dans le panel — style cohérent */
.g-panel-search {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 10px 13px;
}

/* Filtres : fond bg propre */
.g-panel-filters,
.g-panel-radius {
  background: var(--surface) !important;
  border-bottom: 1.5px solid var(--border);
}

/* Section title */
.g-panel-sec { background: var(--surface); border-bottom: 1.5px solid var(--border); }

/* Cards list */
.g-list { background: var(--surface); }
.g-card { background: var(--surface); }
.g-card:hover { background: var(--bg); }

/* PC nav — 4 items, icônes SVG, fond bg */
.g-bottomnav--desktop {
  background: var(--bg);
  border-top: 1.5px solid var(--border);
}
.g-navbtn {
  color: var(--text3);
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 12px 6px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--ui);
}
.g-navbtn:hover { background: var(--border); color: var(--text); }
.g-navbtn.is-active { background: var(--a); color: #fff; }
.g-navbtn svg { flex-shrink: 0; }

/* Badge panier dans nav PC */
.g-navbtn .g-map-mni-badge {
  position: absolute;
  top: 6px; right: 8px;
}


/* ═══════════════════════════════════════════
   TYPOGRAPHIE PROPRE — texte neutre, accent minimal
════════════════════════════════════════════ */

/* Reset global — texte = gris neutre, jamais rose */
body.g-body { color: #111111; }

/* Titres Unbounded — noir neutre */
.g-card__name,
.g-panel-sec-title,
.g-mobilebar__name,
.g-mobilecard__name { color: #111111 !important; }

/* Méta / sous-textes — gris moyen neutre */
.g-card__meta,
.g-panel-sec-count,
.g-mobilebar__kicker,
.g-mobilebar__count,
.g-mobilecard__meta,
.g-panel-loading,
.g-panel-helper,
.g-authuser { color: #888888 !important; }

/* Catégorie foodtruck — rose accent, pas trop fort */
.g-card__sub,
.g-mobilecard__sub { color: var(--a) !important; font-weight: 800; }

/* Badge OUVERT — lisible sur fond clair */
.g-badge.is-open {
  background: #FFF7ED;
  color: #C04A00;
  border-color: #FDBA74;
  font-weight: 800;
}
.g-badge.is-closed {
  background: #F5F5F5;
  color: #999999;
  border-color: #E0E0E0;
}

/* Chips — texte gris neutre par défaut */
.g-chip { color: #444444; }
.g-chip.is-active { color: #fff; }

/* Auth buttons — texte neutre */
.g-authbtn { color: #333333; }

/* Star — or, pas rose */
.g-star { color: #F59E0B !important; }

/* Inputs — texte noir */
.g-panel-search-input,
.g-input { color: #111111; }
.g-panel-search-input::placeholder,
.g-input::placeholder { color: #AAAAAA; }

/* Dot "Ouvert" dans chips — garde l'accent */
.g-dot { background: var(--a); }

/* Nav active bien visible */
.g-navbtn.is-active { background: var(--a); color: #fff; }
.g-map-mni.is-active { background: var(--a); color: #fff; }
.g-mobile-appnav__item.is-active { background: var(--a); color: #fff !important; }


/* ═══════════════════════════════════════════
   LOCALISATION PC — améliorations UX
════════════════════════════════════════════ */

/* Commune picker — visible et lisible sur PC */
.g-commune {
  background: var(--bg);
  border-bottom: 1.5px solid var(--border);
  padding: 13px 16px;
}
.g-commune__title {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 900;
  color: #111111;
  letter-spacing: -.01em;
  margin-bottom: 6px;
}
.g-commune__text {
  font-size: 12px;
  color: #888888;
  line-height: 1.55;
  margin-bottom: 10px;
}
.g-commune__form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.g-commune__form .g-input {
  flex: 1;
  font-size: 13px;
  padding: 10px 13px;
}
.g-commune__actions {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 8px;
}

/* Panel radius — visible après géoloc */
.g-panel-radius {
  display: flex;
  gap: 7px;
  padding: 8px 14px;
  background: var(--bg);
  border-bottom: 1.5px solid var(--border);
  overflow-x: auto;
  scrollbar-width: none;
}
.g-panel-radius::-webkit-scrollbar { display: none; }

/* Chip localisation — état actif bien visible */
.g-chip--location.is-active {
  background: var(--a);
  border-color: var(--a);
  color: #fff;
}

/* Message d'état sous les radius */
.g-panel-helper {
  padding: 6px 16px 8px;
  font-size: 11px;
  color: #888888;
  background: var(--bg);
  border-bottom: 1.5px solid var(--border);
}

/* Cercle de précision GPS — couleur palette */
.leaflet-interactive {
  stroke: var(--a) !important;
  fill: var(--a) !important;
}


/* ═══════════════════════════════════════════
   NAVY × PÊCHE — variables & overrides finaux
════════════════════════════════════════════ */
:root {
  --navy:     #0B2545;
  --navy-hv:  #0D2E58;
  --navy-2:   #163A6B;
  --accent:   #F97316;
  --accent-hv:#EA6A0A;
  --accent-bg:#FFF7ED;
  --accent-bd:#FDBA74;
}

/* Header panel : navy foncé, texte blanc */
.g-panel-head {
  background: var(--navy) !important;
  border-bottom: 1.5px solid var(--navy-2) !important;
}
.g-panel-head .g-panel-search {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.15) !important;
}
.g-panel-head .g-panel-search-input {
  color: rgba(255,255,255,.90) !important;
}
.g-panel-head .g-panel-search-input::placeholder {
  color: rgba(255,255,255,.40) !important;
}
.g-panel-head .g-panel-search svg { opacity: .45; }
.g-panel-head .g-panel-brand { margin-bottom: 12px; }

/* Auth buttons dans le header navy */
.g-panel-head .g-authbtn {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.20) !important;
  color: rgba(255,255,255,.85) !important;
}
.g-panel-head .g-authbtn:hover {
  background: rgba(255,255,255,.18) !important;
}
.g-panel-head .g-authbtn--primary {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
.g-panel-head .g-authbtn--primary:hover {
  background: var(--accent-hv) !important;
  border-color: var(--accent-hv) !important;
}
.g-panel-head .g-authuser {
  color: rgba(255,255,255,.60) !important;
}

/* Bouton principal → navy */
.g-btn--primary,
.g-btn:not(.g-btn--ghost):not(.g-btn--cool):not(.g-btn--cta) {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
}
.g-btn:not(.g-btn--ghost):not(.g-btn--cool):not(.g-btn--cta):hover {
  background: var(--navy-hv) !important;
  border-color: var(--navy-hv) !important;
}

/* CTA orange (panier, payer, ajouter) */
.g-btn--cta,
.g-btn--cool {
  background: var(--accent) !important;
  border-color: var(--accent) !important;
  color: #fff !important;
}
.g-btn--cta:hover,
.g-btn--cool:hover {
  background: var(--accent-hv) !important;
  border-color: var(--accent-hv) !important;
}

/* Chips actifs → navy */
.g-chip.is-active {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #fff !important;
}

/* Nav PC bottom → navy background */
.g-bottomnav--desktop {
  background: var(--navy) !important;
  border-top-color: var(--navy-2) !important;
}
.g-navbtn {
  color: rgba(255,255,255,.45) !important;
}
.g-navbtn:hover {
  background: rgba(255,255,255,.08) !important;
  color: #fff !important;
}
.g-navbtn.is-active {
  background: var(--accent) !important;
  color: #fff !important;
}

/* Nav mobile → fond navy */
.g-map-mobilenav {
  background: var(--navy) !important;
  border-color: var(--navy-2) !important;
}
.g-map-mni { color: rgba(255,255,255,.45) !important; }
.g-map-mni:hover { color: rgba(255,255,255,.85) !important; background: rgba(255,255,255,.08) !important; }
.g-map-mni.is-active { background: var(--accent) !important; color: #fff !important; }
.g-map-mni-badge { background: var(--accent) !important; border-color: var(--navy) !important; }

/* Mobile app nav (autres pages) → navy */
.g-mobile-appnav {
  background: var(--navy) !important;
  border-color: var(--navy-2) !important;
}
.g-mobile-appnav__item { color: rgba(255,255,255,.45) !important; }
.g-mobile-appnav__item.is-active { background: var(--accent) !important; color: #fff !important; }
.g-mobile-appnav__badge { background: var(--accent) !important; border-color: var(--navy) !important; }

/* Markers carte → orange accent pour open, gris pour closed */
.g-marker.is-open { border-color: var(--accent) !important; }
.g-marker.is-closed { border-color: #ccc !important; }

/* Badge OUVERT → texte navy sur fond pêche */
.g-badge.is-open {
  background: #FFF7ED !important;
  color: var(--navy) !important;
  border-color: #FDBA74 !important;
}

/* Liens, prix, accent texte → orange */
.g-link { color: var(--accent) !important; }
.g-card__sub { color: var(--accent) !important; }
.g-cat__title, .g-cat__title--soft { color: var(--accent) !important; }
.g-kicker { color: var(--accent) !important; }
.g-label { color: var(--accent) !important; }
.g-menu__price, .g-menu__price--soft { color: var(--navy) !important; }
.g-cart__line { color: var(--navy) !important; }
.g-total__v { color: var(--navy) !important; }
.g-recap__r { color: var(--navy) !important; }
.g-panel-sec-count { color: var(--accent) !important; }
.g-panel-sec-title { color: #111111 !important; }

/* Fond body → crème pêche clair */
body.g-body { background: #FFF7ED !important; }
.g-list { background: #ffffff !important; }
.g-card { background: #ffffff !important; }
.g-card:hover { background: #FFF7ED !important; }
.g-panel-filters, .g-panel-radius { background: #FFF7ED !important; border-bottom-color: #FDBA74 !important; }
.g-panel-sec { background: #ffffff !important; border-bottom: 1.5px solid #FDBA74 !important; }
.g-card { border-bottom-color: #FDBA74 !important; }
.g-card__img { border-color: #FDBA74 !important; }


/* ════════════════════════════════════════════
   LOGO — badge blanc sur fond navy
════════════════════════════════════════════ */

/* Fond clair : logo affiché directement */
.g-brand__logoimg,
.g-brand__wordmark img {
  display: block;
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 8px;
}

/* Fond NAVY : badge blanc → fond noir logo invisible, C et Livrer visibles */
.g-panel-head .g-brand__logoimg,
.g-panel-head .g-brand__wordmark img {
  background: #ffffff;
  padding: 5px 10px;
  border-radius: 10px;
  height: 36px;
}

.g-brand__logotext { display: none !important; }

.g-mobile-appnav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}


/* ════════════════════════════════════════════
   LOGO SVG INLINE — Fleur C-livrer
════════════════════════════════════════════ */

/* Le SVG logo s'affiche tel quel, pas de règle supplémentaire
   — les couleurs sont codées directement dans le SVG par contexte */
.g-logo {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

/* Assurer que la font Unbounded est chargée pour le SVG */
.g-panel-brand { align-items: center; }

/* Supprimer définitivement toutes les anciennes règles logo image */
.g-brand__logoimg { display: none !important; }
.g-brand__wordmark { display: contents; }
.g-brand__logotext { display: none !important; }
