/* ================================================================
   TABLE-CARBURANT — vue /prix-diesel-limoges-87000/
   =====================================================     =========== */

:root {
  --color-primary: #007bff;
  --color-secondary: #6c757d;
  --color-light: #f5f5f5;
  --color-border: #dee2e6;
  --color-text: #212529;
  --trigger-bg: #01a384;
  --trigger-color: #fff;
  --trigger-bg-active: #000000;
  --trigger-color-active: #fff;
  --trigger-bg-light: rgba(236, 253, 245, 0.8);
}

/* Quand le bouton est ouvert, l'icône devient verte */
.carb-sort-trigger.is-open #carb-sort-icon svg {
  fill: #ffffff !important; /* vert */
}

/* Quand le bouton est fermé, l'icône reste grise (ou autre couleur) */
.carb-sort-trigger #carb-sort-icon svg {
  fill: #01a384 !important; /* gris */
  transition: fill 0.2s ease;
}

.carb-list .carb-item:first-child {
  margin-top: -9px;
}

.carb-item.best .carb-left {
  margin-top: 33px;
}
.carb-item.best .carb-right {
  margin-top: 15px;
}

.carb-logo-left {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  margin-top: 9px;
  mix-blend-mode: multiply;
}

.carb-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: rgba(18, 93, 72, 0.12);
  align-self: flex-start;
}

/* Conteneur mobile */
.carb-mobile {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0px 16px 16px 16px;
  border-radius: 20px;
  margin-top: 20px;

  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
.carb-header-mobile {
  margin-bottom: 20px;
}

.carb-header-top h1 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 22px;
  line-height: 1.15;
}

.carb-bell {
  font-size: 18px;
  line-height: 1;
}

/* ================================================================
   TRIGGERS ROW — les deux boutons côte à côte
   ================================================================ */

.carb-top-triggers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
  align-items: center; /* ✅ aligne tout sur la même ligne */
}

/* ================================================================
   TRIGGER CARBURANT
   ================================================================ */

.carb-fuel-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--trigger-bg-light) !important;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #000 !important;
  transition: all 0.2s;
  user-select: none;
}

.carb-fuel-trigger.is-open {
  border-color: #01a384 !important;
  background: #01a384 !important;
  color: #ffffff !important;
}
.carb-fuel-trigger__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f5faf4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.carb-fuel-trigger.is-open .carb-fuel-trigger__icon {
  background: #fff;
}
.carb-fuel-trigger__chevron {
  font-size: 10px;
  color: #01a384;
  transition:
    transform 0.2s,
    color 0.2s;
}
.carb-fuel-trigger.is-open .carb-fuel-trigger__chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

/* ================================================================
   TRIGGER TRI — même design pill que le trigger carburant
   ================================================================ */

.carb-sort-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--trigger-bg-light) !important;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: var(--trigger-bg-active) !important;
  transition: all 0.2s;
  user-select: none;
}

.carb-sort-trigger.is-open {
  border-color: #01a384 !important;
  background: #01a384 !important;
  color: #ffffff !important;
}
.carb-sort-trigger__icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #f5faf4;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.carb-sort-trigger.is-open .carb-sort-trigger__icon {
  background: #fff;
}
.carb-sort-trigger__label {
  /* hérite de la police du trigger */
}

.carb-sort-trigger__chevron {
  font-size: 10px;
  color: #01a384;
  transition:
    transform 0.2s,
    color 0.2s;
}
.carb-sort-trigger.is-open .carb-sort-trigger__chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

/* ================================================================
   DRAWER CARBURANT
   ================================================================ */

.carb-fuel-drawer {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    margin 0.25s;
}
.carb-fuel-drawer.is-open {
  max-height: 130px;
  opacity: 1;
  margin-top: 17px;
}

/* ================================================================
   DRAWER TRI — même animation, cards identiques aux fuel tabs
   ================================================================ */

.carb-sort-drawer {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  flex-wrap: nowrap;

  /* animation identique au fuel drawer */
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    margin 0.25s;
  overflow: hidden;
}
.carb-sort-drawer.is-open {
  max-height: 130px;
  opacity: 1;
  margin-top: 10px;
  overflow-x: auto;
  overflow-y: hidden;
}
.carb-sort-drawer::-webkit-scrollbar {
  display: none;
}

/* Card option tri — layout horizontal : icône gauche + texte droite */
.carb-sort-option {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 16px;
  background: #fff !important;
  border: 1.5px solid #e5e7eb !important;
  color: #1f2937;
  min-width: 200px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  text-align: left;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.carb-sort-option:hover {
  border: 1px solid #cbd5e1 !important;
  background: #f8fafc !important;
}
.carb-sort-option.is-active {
  background: rgba(236, 253, 245, 0.8);
  color: #01a384 !important;
}

/* Icône ronde */
.carb-sort-option__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--trigger-color);
  flex-shrink: 0;
  transition:
    background 0.2s,
    color 0.2s;
}

/* Bloc texte */
.carb-sort-option__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

/* Titre */
.carb-sort-option__label {
  font-size: 13px;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
}

/* Sous-titre */
.carb-sort-option__sublabel {
  font-size: 11px;
  font-weight: 400;
  color: #374151;
  white-space: nowrap;
}

/* Barre active en bas de la card — cachée par défaut */
.carb-sort-option__bar {
  display: none;
}

/* État actif */
.carb-sort-option.is-active {
  background: rgba(236, 253, 245, 0.8) !important;
}
.carb-sort-option.is-active .carb-sort-option__label {
  color: #000000;
}
.carb-sort-option.is-active .carb-sort-option__sublabel {
  color: #000000;
}
.carb-sort-option.is-active {
  background: #fff;
  color: #01a384;
}

/* ================================================================
   FUEL TABS — scroll horizontal dans le drawer carburant
   ================================================================ */

.carb-fuel-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  flex-wrap: nowrap;
}
.carb-fuel-tabs::-webkit-scrollbar {
  display: none;
}

.carb-fuel-tab {
  flex: 0 0 auto;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  background: #fff;
  border: 1.5px solid #e5e7eb;
  color: #374151;
  text-decoration: none !important;
  min-width: 72px;
  transition:
    border-color 0.2s,
    background 0.2s;
  cursor: pointer;
}
.carb-fuel-tab:hover {
  border-color: #cbd5e1;
}
.carb-fuel-tab__icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: transparent !important;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carb-fuel-tab__label {
  font-size: 12px;
  font-weight: 600;
}

.carb-fuel-tab.is-active {
  background: rgba(236, 253, 245, 0.8) !important;
}
.carb-fuel-tab.is-active .carb-fuel-tab__label {
  color: #000000;
  font-weight: 700;
}
.carb-fuel-tab.is-active .carb-fuel-tab__bar {
  display: block;
  background: #01a384;
}

@media (max-width: 375px) {
  .carb-fuel-tab {
    min-width: 64px;
    padding: 10px 8px 8px;
    border-radius: 12px;
  }
  .carb-fuel-tab__icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
  }
  .carb-fuel-tab__label {
    font-size: 11px;
  }
}

@media (max-width: 425px) and (min-width: 376px) {
  .carb-pub {
    font-size: 12px;
    font-weight: 500;
  }
}

/* Localisation */
.carb-location {
  margin: 15px 0;
  padding: 12px 14px;
  border-radius: 14px;
  background: #fff;
}

.price::after {
  content: "/L";
  font-size: 14px;
  font-weight: 400;
  color: #000000;
}

/* Liste stations */
.carb-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.carb-item {
  display: flex;
  position: relative;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 16px;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  box-shadow: 0 2px 8px rgba(18, 18, 18, 0.436);
  margin-bottom: 5px;
  margin-top: 5px;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.carb-item.best {
  background: rgba(236, 253, 245, 0.8) !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
}

/* Badge de score (optionnel - affiche le numéro) 
.carb-item::after {
  content: attr(data-score);
  position: absolute;
  top: 10px;
  right: 10px;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}*/

/* Afficher le badge seulement si data-score existe et > 0 */
.carb-item[data-score]:not([data-score="0"])::after {
  opacity: 0.65;
}

.carb-item.score-1::after {
  background: #22c55e;
  color: white;
}
.carb-item.score-2::after {
  background: #eab308;
  color: white;
}
.carb-item.score-3::after {
  background: #f97316;
  color: white;
}
.carb-item.score-4::after {
  background: #ef4444;
  color: white;
}
.carb-item.score-5::after {
  background: #dc2626;
  color: white;
}

/* ================================================================ */

.carb-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
  margin-top: 10px;
}
.carb-left > div {
  min-width: 0;
}

.carb-address {
  color: #000000;
  font-size: 13px;
}

.carb-meta2 {
  margin-top: 5px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 12px;
  color: #000000;
}

.carb-distance {
  color: #1f2937;
}
.carb-saving {
  margin-top: 4px;
  color: #7c4a03;
  font-size: 12px;
}

.carb-right {
  text-align: right;
  flex: 0 0 auto;
}
.price {
  font-size: 26px;
  font-weight: 700;
  white-space: nowrap;
}

.badge-best {
  display: flex;
  align-items: center;
}
.badge-best {
  position: absolute;
  top: 6px;
  left: 5px;

  background: #01a384;
  color: #fff;
  border-radius: 55px;
  font-size: 12px;
  padding: 7px 14px;
  font-weight: 700;
  white-space: nowrap;
}
.arrow {
  color: #aaa;
  font-size: 18px;
}
.carb-btn {
  margin-top: 20px;
  padding: 14px;
  border-radius: 25px;
  text-align: center;
}

/* Responsive */
@media (max-width: 640px) {
  .carb-item {
    align-items: flex-start;
  }
  .carb-right {
    min-width: 74px;
  }
  .carb-left {
    gap: 8px;
  }

  .badge-best {
    padding: 6px 9px;
    font-size: 11px;
  }
}
@media (max-width: 375px) {
  .carb-pub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f0f9f4;
    padding: 8px 8px 8px 5px;
    gap: 12px;
  }

  .carb-sort-option {
    min-width: 175px;
    padding: 10px 12px;
    border-radius: 12px;
    gap: 8px;
  }
  .carb-sort-option__icon {
    width: 34px;
    height: 34px;
  }
  .carb-sort-option__label {
    font-size: 12px;
  }
  .carb-sort-option__sublabel {
    font-size: 10px;
  }

  .carb-mobile {
    padding: 12px;
    border-radius: 16px;
  }
  .carb-header-top h1 {
    font-size: 18px;
  }
  .carb-subtitle {
    font-size: 13px;
  }
  .carb-location {
    padding: 10px;
    font-size: 13px;
  }
  .carb-item {
    gap: 8px;
    padding: 10px;
    margin-bottom: 5px;
    margin-top: 5px;
  }
  .carb-left {
    gap: 8px;
  }
  .carb-logo {
    width: 36px;
    height: 36px;
  }
  .carb-address,
  .carb-meta,
  .carb-saving {
    font-size: 11px;
  }
  .price {
    font-size: 22px;
    margin-top: 7px;
  }
  .badge-best {
    padding: 6px 9px;
    font-size: 11px;
  }
}
@media (min-width: 768px) {
  .carb-mobile {
    max-width: 760px;
    padding: 24px;
  }
  .carb-header-top h1 {
    font-size: 26px;
  }
  .carb-subtitle {
    font-size: 15px;
  }
  .carb-item {
    padding: 18px;
    margin-bottom: 5px;
    margin-top: 5px;
  }
  .price {
    font-size: 20px;
  }
}
@media (min-width: 1024px) {
  .carb-mobile {
    max-width: 1100px;
    padding: 32px;
    border-radius: 24px;
    margin-top: 15px;
  }
  .carb-header-mobile {
    margin-bottom: 24px;
  }
  .carb-header-top h1 {
    font-size: 32px;
  }
  .carb-subtitle {
    font-size: 16px;
  }
  .carb-item {
    padding: 22px;
    border-radius: 20px;
  }
  .carb-logo {
    width: 55px;
    height: 55px;
    margin-top: 10px;
  }
  .price {
    font-size: 22px;
  }
  .carb-list {
    gap: 20px;
  }
  .carb-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    cursor: pointer;
  }
}
@media (min-width: 1400px) {
  .carb-mobile {
    max-width: 1200px;
  }
}

/* ================================================================
   SORT TABS (cachés, déclenchés par JS)
   ================================================================ */

.carb-sort-tabs {
  display: flex;
  gap: 4px;
  margin: 10px 0;
  background: #f0f0f0;
  border-radius: 20px;
  padding: 4px;
}

.carb-list {
  position: relative;
  transition: all 0.3s ease;
}

.carb-list.is-sorting {
  opacity: 0.5;
  pointer-events: none;
  filter: blur(2px);
}

.carb-list.is-sorting::after {
  content: "";
  position: absolute;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #2ecc71;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10;
}

@keyframes spin {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(360deg);
  }
}

/* ================================================================
   PRICE RANGE
   ================================================================ */

.carb-price-range {
  display: flex;
  gap: 10px;
  margin: 12px 0 18px;
}

.carb-price-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 14px;
}
.carb-price-box--green {
  background: #e8f7ef;
  color: #1a7f4b;
}
.carb-price-box--red {
  background: #fdecec;
  color: #c0392b;
}

.icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.carb-price-box--green .icon-circle {
  background: #d1f2e0;
}
.carb-price-box--red .icon-circle {
  background: #f9d6d5;
}

.carb-price-box .text {
  display: flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
}
.carb-price-box strong {
  font-size: 15px;
  font-weight: 700;
}
.carb-price-box span {
  font-size: 15px;
  opacity: 0.85;
  font-weight: 700;
  white-space: nowrap;
}

/* ================================================================
   VILLES PROCHES
   ================================================================ */

.carb-titre-section {
  font-size: 18px;
  color: #111;
  font-weight: 300;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
}

.carb-ville-principale {
  color: #01a384;
  margin-left: 6px;
}

.carb-villes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.carb-ville-card {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s;
  padding-top: 15px;
}

.carb-ville-nom {
  font-size: 1rem;
  color: #111;
  margin-bottom: 6px;
}

.carb-ville-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  color: #444;
}

.carb-nb-stations {
  color: #000000;
}

.carb-dot-interne {
  color: #000000;
}

.carb-distance {
  color: #000000;
}

@media (max-width: 480px) {
  .carb-villes-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ================================================================
   PUBLICITÉ
   ================================================================ */

.carb-ad-block {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #f0f0f0;
  overflow: hidden;
}
.carb-ad-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  width: 100%;
  padding: 14px;
}
.carb-ad-card__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.carb-ad-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 2px;
}
.carb-ad-card__text {
  font-size: 12px;
  color: #555;
  line-height: 1.4;
  margin: 0;
  word-break: break-word;
}
.carb-ad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  border: 1px solid #e5e7eb;
  background: #f9f9f9;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-top: 6px;
  width: fit-content;
}
.carb-ad-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.carb-ad-btn img {
  width: 14px;
  height: 14px;
}
@media (max-width: 480px) {
  .carb-ad-card__img {
    width: 50px;
    height: 50px;
  }
  .carb-ad-card__text {
    font-size: 11px;
  }
  .carb-ad-btn {
    padding: 5px 10px;
    font-size: 11px;
  }
}

/* ================================================================
   BADGES SECONDAIRES
   ================================================================ */

.price-sub {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 8px;
  margin-top: 6px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  background: #f3f4f6;
  color: #374151;
}

.price-sub:empty {
  display: none;
}

.verified {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #4b5563;
  font-size: 11px;
  font-weight: 500;
}

.carb-item--hidden {
  display: none !important;
  visibility: hidden !important;
}

.carb-voir-plus {
  display: block;
  width: 100%;
  text-align: center;
  margin: 12px 0;
  background: #ffffff !important;
  border: 1px solid var(--trigger-bg) !important;
}

.carb-voir-plus-text {
  color: var(--trigger-bg) !important;
}

/* ================================================================
   ÉTOILE FAVORI
   ================================================================ */

.star {
  margin-bottom: 3px;
  cursor: pointer;
  padding: 9px;
  transition: transform 0.15s ease;
  line-height: 1;
  -webkit-tap-highlight-color: transparent;
}
.star:active {
  transform: scale(1.2);
}

.star svg path {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.star input:checked ~ svg path {
  fill: #e11d48;
  stroke: #e11d48;
}

.carb-fav-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transition: all 0.22s ease;
  z-index: 9999;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}
.carb-fav-toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.carb-fav-toast.is-success {
  background: #065f46;
}
.carb-fav-toast.is-error {
  background: #991b1b;
}
.carb-fav-toast.is-info {
  background: #1f2937;
}

/* ================================================================
   FAVORIS — bouton cœur
   ================================================================ */

.carb-item-wrapper {
  position: relative;
}

.carb-back-link {
  text-decoration: none !important;
  color: #01a384 !important;
}

.carb-fav-btn {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: #f3f4f6;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.18s;
}
.carb-fav-btn:hover {
  background: #fde8e8;
  transform: scale(1.12);
}
.carb-fav-btn.is-active {
  background: transparent !important;
}

.carb-fav-icon {
  width: 16px;
  height: 16px;
  fill: #ccc;
  transition:
    fill 0.2s,
    transform 0.2s;
  pointer-events: none;
}
.carb-fav-btn.is-active .carb-fav-icon {
  fill: #fbbf24;
  stroke: #f59e0b;
  stroke-width: 1;
  transform: scale(1.15);
}

@media (min-width: 1024px) {
  .carb-item {
    padding-bottom: 22px;
  }
  .carb-fav-btn {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
  .carb-fav-icon {
    width: 18px;
    height: 18px;
  }
}

.carb-favoris-link-wrap {
  margin-top: 20px;
  text-align: center;
}
.carb-favoris-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 25px;
  background: #fff;
  border: 2px solid #e74c3c;
  color: #e74c3c;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.carb-favoris-link:hover {
  background: #e74c3c;
  color: #fff;
}
.carb-favoris-link svg {
  fill: currentColor;
  flex-shrink: 0;
}

.carb-fav-count-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
}

/* ================================================================
   TOAST
   ================================================================ */

.carb-toast {
  position: fixed;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 12px 20px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: bottom 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}
.carb-toast--visible {
  bottom: 24px;
}
.carb-toast--add {
  background: #01a384;
  color: #fff;
}
.carb-toast--remove {
  background: #555;
  color: #fff;
}
.carb-toast--error {
  background: #e74c3c;
  color: #fff;
}

/* ================================================================
   FAVORIS PAGE
   ================================================================ */

.carb-fav-total-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e74c3c;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.carb-fav-quota {
  margin: 12px 0 4px;
}
.carb-fav-quota__bar {
  height: 6px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
}
.carb-fav-quota__fill {
  height: 100%;
  border-radius: 999px;
  background: #01a384;
  transition:
    width 0.4s ease,
    background 0.3s;
}
.carb-fav-quota__fill.is-warning {
  background: #f59e0b;
}
.carb-fav-quota__fill.is-full {
  background: #e74c3c;
}
.carb-fav-quota__label {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: #6c757d;
  text-align: right;
}

.carb-fav-empty {
  text-align: center;
  padding: 48px 20px;
}
.carb-fav-empty__icon {
  font-size: 52px;
  margin-bottom: 12px;
}
.carb-fav-empty__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}
.carb-fav-empty__text {
  color: #6c757d;
  font-size: 14px;
  line-height: 1.6;
  max-width: 300px;
  margin: 0 auto 20px;
}

.carb-fav-saved-date {
  font-size: 11px;
  color: #aaa;
  margin-top: 4px;
}

.carb-btn--primary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 25px;
  background: #01a384;
  color: #fff;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.2s;
}
.carb-btn--primary:hover {
  background: #018a6e;
}

.carb-btn--danger {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 25px;
  background: #fff;
  color: #e74c3c;
  font-weight: 700;
  border: 2px solid #e74c3c;
  cursor: pointer;
  font-size: 14px;
  transition:
    background 0.2s,
    color 0.2s;
}
.carb-btn--danger:hover {
  background: #e74c3c;
  color: #fff;
}

/* ================================================================
   MODALE CONFIRMATION
   ================================================================ */

.carb-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carb-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
}
.carb-modal__box {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 20px;
  padding: 28px 24px;
  max-width: 320px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}
.carb-modal__title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}
.carb-modal__text {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
}
.carb-modal__actions {
  display: flex;
  gap: 10px;
}
.carb-modal__btn {
  flex: 1;
  padding: 12px;
  border-radius: 25px;
  border: none;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.carb-modal__btn:hover {
  opacity: 0.85;
}
.carb-modal__btn--cancel {
  background: #f3f4f6;
  color: #333;
}
.carb-modal__btn--confirm {
  background: #e74c3c;
  color: #fff;
}

/* ================================================================
   ECO SETTINGS
   ================================================================ */

.carb-eco-settings {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f0fdf4;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 8px 0 4px;
  gap: 8px;
}
.carb-eco-settings__left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #374151;
}
.carb-eco-settings__icon {
  display: flex;
  align-items: center;
}
.carb-eco-settings__info {
  background: none;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 11px;
  cursor: pointer;
  color: #6b7280;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.carb-eco-settings__modifier {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #374151;
  background: white;
  border: 1.5px solid #d1d5db;
  border-radius: 20px;
  padding: 6px 14px;
  cursor: pointer;
  white-space: nowrap;
}
.carb-eco-settings__modifier:hover {
  border-color: #9ca3af;
}

.carb-temps {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

/* ================================================================
   MODALE ÉCONOMIE
   ================================================================ */

.carb-eco-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.carb-eco-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}
.carb-eco-modal__box {
  position: relative;
  background: white;
  border-radius: 20px 20px 0 0;
  padding: 14px 15px 89px 15px;
  width: 100%;
  max-width: 1200px;
  z-index: 1;
}
.carb-eco-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 16px;
}
.carb-eco-modal__close {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  color: #6b7280;
}
.carb-eco-modal__section {
  margin-bottom: 20px;
}
.carb-eco-modal__label {
  display: block;
  font-size: 13px;
  color: #6b7280;
  margin-bottom: 10px;
}
.carb-eco-modal__options {
  display: flex;
  gap: 10px;
}
.carb-eco-opt {
  flex: 1;
  padding: 10px;
  border: 1.5px solid #e5e7eb;
  border-radius: 10px;
  background: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.15s;
}
.carb-eco-opt.is-active {
  border-color: #16a34a !important;
  background: #f0fdf4 !important;
  color: #16a34a !important;
  font-weight: 600 !important;
}
.carb-eco-opt:not(.is-active):hover {
  border-color: #9ca3af;
  background: #f9fafb;
}
.carb-eco-modal__hint {
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 16px;
  line-height: 1.8;
  color: #374151;
}
.carb-eco-modal__apply {
  width: 100%;
  padding: 14px;
  background: #16a34a;
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* ================================================================
   STICKY HEADER
   ================================================================ */

.carb-sticky-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transform: translateY(-100%);
  transition: transform 0.25s ease;
  will-change: transform;
}
.carb-sticky-header.is-visible {
  transform: translateY(0);
}
.carb-sticky-header.is-reduced {
  transform: translateY(calc(-100% + 4px));
}

.carb-sticky-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
}
.carb-sticky-header__info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}
.carb-sticky-header__sep {
  color: #9ca3af;
}
.carb-sticky-header__carb {
  background: #01a384;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 99px;
  letter-spacing: 0.5px;
}
.carb-sticky-header__toggle {
  background: none;
  border: none;
  font-size: 12px;
  color: #6b7280;
  cursor: pointer;
  padding: 4px 8px;
  transition: transform 0.2s ease;
}
.carb-sticky-header.is-reduced .carb-sticky-header__toggle {
  transform: rotate(180deg);
}
.carb-sticky-header__pin {
  flex-shrink: 0;
  margin-right: 2px;
}
.carb-sticky-header__distance {
  font-size: 13px;
  font-weight: 500;
  color: var(--carb-text);
}
.carb-sticky-header__prix {
  font-size: 13px;
  font-weight: 700;
}
.carb-sticky-header__tri {
  font-size: 12px;
  font-weight: 600;
  color: #01a384;
  white-space: nowrap;
}

/* ================================================================
   TRIGGER CARBURANT
   ================================================================ */

/* Liste résultats */
.carb-vehicle-results {
  max-height: 220px;
  overflow-y: auto;
  padding: 0 8px 12px;
}
.carb-vehicle-results__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.carb-vehicle-results__loading {
  list-style: none;
  padding: 12px 8px;
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}
.carb-vehicle-results__empty {
  padding: 12px 8px;
  font-size: 13px;
  color: #9ca3af;
  text-align: center;
}

/* Animation sélection */
@keyframes carbCardPulse {
  0% {
    background: #f0fdf9;
  }
  50% {
    background: #d1fae5;
  }
  100% {
    background: #fff;
  }
}

.carb-volume-trigger {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--trigger-bg-light) !important;
  cursor: pointer;
  color: #000;
  font-size: 14px;
  font-weight: 600;
  user-select: none;
}
.carb-volume-trigger.is-open {
  border-color: #01a384 !important;
  background: #01a384 !important;
  color: #ffffff !important;
}
/*
.carb-volume-trigger:hover { 
  color: #fff !important;
}
.carb-fuel-trigger:hover { 
  color: #fff !important;
}
.carb-sort-trigger:hover { 
  color: #fff !important;
}*/
/* ================================================================
   VOLUME TRIGGER
   ================================================================ */

.carb-volume-trigger__chevron {
  font-size: 10px;
  color: #01a384;
  transition:
    transform 0.2s,
    color 0.2s;
}
.carb-volume-trigger.is-open .carb-volume-trigger__chevron {
  transform: rotate(180deg);
  color: #ffffff;
}

.carb-volume-drawer {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 6px;
  flex-wrap: nowrap;

  /* animation identique au sort drawer */
  max-height: 0;
  opacity: 0;
  margin-top: 0;
  transition:
    max-height 0.3s ease,
    opacity 0.25s ease,
    margin 0.25s;
  overflow: hidden;
}

.carb-volume-drawer.is-open {
  max-height: 200px;
  opacity: 1;
  margin-top: 17px;
  overflow-x: auto;
  overflow-y: hidden;
}
.carb-volume-drawer::-webkit-scrollbar {
  display: none;
}

/* Options spécifiques au volume drawer */
.carb-volume-drawer .carb-sort-option {
  min-width: 70px;
  padding: 10px 12px;
}

/* Non actif — icône sombre */
.carb-sort-option .carb-sort-option__icon {
  color: #374151;
}

/* Actif — fond blanc, icône verte */
.carb-sort-option.is-active .carb-sort-option__icon {
  background: rgba(236, 253, 245, 0.8);
  color: #000000;
}

.carb-vehicule-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: #000000;
  padding: 6px 12px;
  border-radius: 8px;
  margin-bottom: 12px;
  margin-top: -15px;
}

.carb-vehicule-banner__left {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.carb-vehicule-banner__vol {
  color: #01a384;
  font-weight: 600;
  white-space: nowrap;
}

.carb-vehicule-banner__changer {
  flex-shrink: 0;
  font-size: 16px;
  color: #01a384;

  border-radius: 20px;

  text-decoration: none;
  white-space: nowrap;

  transition:
    background 0.2s,
    color 0.2s;
}

.carb-top-triggers {
  position: relative;
  z-index: 1;
}

.carb-fuel-trigger,
.carb-sort-trigger,
.carb-volume-trigger {
  position: relative;
  z-index: 1;
}

#carb-menu-dropdown {
  z-index: 99999 !important;
}

#carb-menu-btn {
  /* background: white !important;
  border: 1px solid #ddd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center; */
}

.carb-partager-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #000000 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  padding: 0;
  cursor: pointer;
}

.carb-pub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #f0f9f4;
  padding: 6px 12px;
  background: #ffffff !important;
  border-radius: 8px;
}

.carb-pub-btn {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
  background-color: #000 !important;
  border-radius: 20px;
  padding: 3px 10px;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 8px;
  transition:
    background 0.2s,
    color 0.2s;
}

@keyframes carbPopIn {
  from {
    transform: scale(0.85);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.carb-pub-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}
.carb-pub-icon {
  flex-shrink: 0;
  width: 27px;
  height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.carb-pub-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.carb-pub-text #carb-vehicule-nom {
  font-size: 13px;
  font-weight: 600;
  color: #111;
}
.carb-pub-text small {
  font-size: 12px;
  color: #555;
}

.carb-pub-btn:hover {
  transform: scale(1.04);
}

/* ============================================================
   SCORES CARDS — 123petrol
   ============================================================
   IMPORTANT : ce fichier doit être chargé APRÈS le CSS du thème.

   Trois familles indépendantes selon le mode de tri actif :
     .score-eco-{1..4}   → tri "Meilleure station" (surcoût total)
     .score-dist-{1..4}  → tri "Distance"           (surtemps_min)
     .score-prix-{1..3}  → tri "Prix"               (surcout_centimes_litre)

   Les anciennes classes score-N (sans préfixe) sont remises à zéro.
   ============================================================ */

/* ── Reset anciens score-N (rendu PHP initial, supprimés par JS mais on neutralise) ── */
.carb-item.score-1,
.carb-item.score-2,
.carb-item.score-3,
.carb-item.score-4 {
  background: rgba(255, 255, 255, 0.467) !important;
}

/* ── Pastille différentielle (sous le prix) ─────────────────────── */

.price-sub {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  margin-top: 3px;
  padding: 2px 7px;
  border-radius: 20px;
  line-height: 1.4;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.price-sub.is-economie {
  background: #f6f3f5;
  color: #6b7280;
}
.price-sub.is-surtemps {
  background: #dbeafe;
  color: #1d4ed8;
}
.price-sub.is-surcout-prix {
  background: #fef3c7;
  color: #92400e;
}

.price-sub:empty {
  display: none;
}

/* ============================================================
   MIXIN glassmorphism — même style que l'original
   score-1 / score-2 : blanc transparent
   score-3           : orange teinté transparent
   score-4           : rouge teinté transparent
   ============================================================ */

.price-sub.is-distance {
  background: #e0f2fe;
  color: #0369a1;
}
.price-sub.is-economie {
  background: #dcfce7;
  color: #15803d;
}

/* ── PRICE-SUB : couleur selon le score économique ── */

/* pastille-1 : vert (déjà le défaut d'is-economie, mais on explicite) */
.price-sub.is-economie.score-1 {
  background: #dcfce7;
  color: #15803d;
}

/* pastille-2 : jaune */
.price-sub.is-economie.score-2 {
  background: #fef9c3;
  color: #a16207;
}

/* pastille -3 : orange */
.price-sub.is-economie.score-3 {
  background: #ffedd5;
  color: #c2410c;
}

/* pastille-4 : rouge */
.price-sub.is-economie.score-4 {
  background: #fee2e2;
  color: #b91c1c;
}

/* ── TRI ÉCONOMIE ─────────────────────────────────────────── */

.carb-item.score-eco-1 {
  background: rgba(255, 255, 255, 0.749);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-eco-1 .price-sub.is-economie {
  background: #dcfce7;
  color: #15803d;
}

.carb-item.score-eco-2 {
  background: #ffffffd7;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-eco-2 .price-sub.is-economie {
  background: #fef9c3;
  color: #a16207;
}

.carb-item.score-eco-3 {
  background: #fef8f2d2;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-eco-3 .price-sub.is-economie {
  background: #fdf0d9;
  color: #bc7712;
}

.carb-item.score-eco-4 {
  background: #fdebeccf;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-eco-4 .price-sub.is-economie {
  background: #fddbdd;
  color: #e72644;
}

/* ── TRI DISTANCE ─────────────────────────────────────────── */

.carb-item.score-dist-1 {
  background: rgba(255, 255, 255, 0.749);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
/* Pas de pastille pour score-dist-1 (surtemps = 0, station la plus proche) */

.carb-item.score-dist-2 {
  background: #ffffffd7;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-dist-2 .price-sub.is-surtemps {
  background: #dbeafe;
  color: #1d4ed8;
}

.carb-item.score-dist-3 {
  background: #fef8f2d2;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-dist-3 .price-sub.is-surtemps {
  background: #fef3c7;
  color: #92400e;
}

.carb-item.score-dist-4 {
  background: #fdebeccf;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-dist-4 .price-sub.is-surtemps {
  background: #fee2e2;
  color: #991b1b;
}

/* ── TRI PRIX ─────────────────────────────────────────────── */

.carb-item.score-prix-1 {
  background: rgba(255, 255, 255, 0.467);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
/* Pas de pastille pour score-prix-1 (surcout = 0, station la moins chère) */

.carb-item.score-prix-2 {
  background: rgba(255, 248, 240, 0.474);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-prix-2 .price-sub.is-surcout-prix {
  background: #fef3c7;
  color: #92400e;
}

.carb-item.score-prix-3 {
  background: rgba(252, 236, 236, 0.559);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-item.score-prix-3 .price-sub.is-surcout-prix {
  background: #fee2e2;
  color: #991b1b;
}

/* ============================================================
   BADGE "Meilleur choix" (1ère station triée)
   ============================================================ */

.carb-item.best .badge-best {
  background: rgba(236, 253, 245, 0.8) !important;
  color: var(--trigger-bg) !important;
}

/* Économie et Prix → badge vert */
.carb-item.score-eco-1.best .badge-best,
.carb-item.score-prix-1.best .badge-best,
.carb-item.score-dist-1.best .badge-best {
  background: var(--trigger-bg);
  color: #ffffff;
}

/* ================================================================
     SCORES — Background selon le score économique
     ================================================================ */
.carb-item.score-1 {
  background: rgba(255, 255, 255, 0.467);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carb-item.score-2 {
  background: rgba(255, 255, 255, 0.467);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carb-item.score-3 {
  background: rgba(
    255,
    248,
    240,
    0.474
  ); /* #fff8f0 à 85% — couleur préservée */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.carb-item.score-4 {
  background: rgba(252, 236, 236, 0.559); /* #fcecec à 85% */
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.carb-banner-top {
  font-size: 14px;
  color: #000000;
  margin-top: 2px;
  margin-bottom: 4px;
  min-height: 20px;
}

.carb-villes-proches {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  color: black;

  padding: 15px;
  margin: 0 auto;
  max-width: 1168px;
}

.carb-icon-geo {
  width: 24px;
  height: 24px;
  margin-right: 12px;
  color: var(--trigger-bg);
}

.carb-ville-principale {
  color: var(--trigger-bg);
  margin-left: 6px;
}

.carb-sort-economie {
  background: #e6f7f3 !important;
}

.carb-sort-prix {
  background: #fffaea !important;
}

.carb-sort-distance {
  background: #f0f6fe !important;
}

/* ── Modulo Intelligent ── */
.carb-modulo-intelligent {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 15px;
  margin: 6px 12px 12px;
  background: #f0fdf9;
  border-radius: 6px;
}

@media (max-width: 768px) {
  .carb-modulo-intelligent {
    margin: 6px 16px 12px;
  }
}

.carb-modulo-phrase {
  margin: 0;
  font-size: 14px;
  color: #1f2937;
  line-height: 1.5;
}

.carb-modulo-date {
  font-size: 12px;
  color: #9ca3af;
}
