body {background: #fafafa!important;}

.elementor-widget-search .e-search-input {
    padding-left: var(--e-search-input-gap) !important;
}

/* ===============================
   EVBlue – Filters / Hero block
   =============================== */

.evb-tabs-wrapper { text-align: center; }

.evb-tabs {
  display: inline-block;
  margin: 15px;
  border: 1px solid #e5e5e5;
  padding: 5px;
  background: #fff !important;
  border-radius: 10px;
}

.evb-tabs-content h5 {
    margin-top: 0;
}

.evb-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px !important;
  background: var(--e-global-color-ff5935d) !important;
  color: var(--e-global-color-text) !important;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.evb-tab:not(.active):hover {
  background: #f2f6fb;
  color: var(--e-global-color-primary);
}

.evb-tab.active {
  background: var(--e-global-color-primary) !important;
  color: var(--e-global-color-ff5935d) !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

.evb-tab i {
  font-size: 15px;
  color: inherit;
  margin-right: 10px;
}

.evb-section { display: none; }
.evb-section.active { display: block; }

.evb-card {
  background: var(--e-global-color-ff5935d);
  border: 1px solid #eef2f6;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 1px 8px rgba(0,0,0,.04);
  position: relative;
}

#evb-section-buy h3,
#evb-section-sell h3 {
  margin: 0 auto 10px;
  text-align: center;
  color: var(--e-global-color-primary);
}

#evb-section-sell { text-align: center; }
#evb-section-sell p { font-size: 18px; margin: 30px; }

.evb-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 30px;
}
@media (max-width: 980px) { .evb-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .evb-grid { grid-template-columns: 1fr; margin: 20px 0 10px; } }

#evb-section-buy label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
  color: var(--e-global-color-primary);
}

.evb-field select {
  width: 100%;
  padding: .6rem .8rem;
  border: 1px solid #d6dee6;
  border-radius: 8px;
  background: var(--e-global-color-ff5935d);
  color: var(--e-global-color-primary);
}

.evb-actions {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.evb-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #07A3FF !important;
  color: var(--e-global-color-ff5935d) !important;
  padding: .8rem 1.2rem !important;
  border-radius: 10px !important;
  text-decoration: none !important;
  font-weight: 600;
  line-height: 1.1;
  border: none;
  font-size: 1.1em;
  transition: all .2s ease;
}
.evb-btn:hover { background: #0593e6 !important; }

/* ===============================
   EVBlue – Loader du bouton (Filtres)
   =============================== */

.evb-btn.loading {
  opacity: 0.8;
  pointer-events: none;
  position: relative;
}

@keyframes evb-spin { 
  to { transform: rotate(360deg); } 
}

.evb-btn .evb-btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  margin-left: 8px;
  vertical-align: middle;
  animation: evb-spin 0.8s linear infinite;
}

/* ===============================
   EVBlue – Featured Vehicles Slider
   =============================== */

.evb-featured-section {
  position: relative;
  padding: 40px 0;
}

.evb-featured-title {
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 10px;
}

.evb-featured-subtitle {
  text-align: center;
  font-size: 16px;
  color: #6b6b6b;
  margin-bottom: 25px;
}

.evb-featured-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 0 40px;
  margin-top: 60px;
}

/* Swiper */
.swiper { width: 100%; overflow: visible; }
.swiper-slide {
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease;
}

/* Flèches de navigation */
.evb-swiper-prev,
.evb-swiper-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #d8dee6;
  color: #7c8b9a;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.25s ease;
  z-index: 10;
}

.evb-swiper-prev:hover,
.evb-swiper-next:hover {
  background: #f5f7fa;
  color: #07A3FF;
  transform: translateY(-50%) scale(1.1);
}

.evb-swiper-prev { left: 10px; }
.evb-swiper-next { right: 10px; }

@media (max-width: 768px) {
  .evb-swiper-prev, .evb-swiper-next { display: none; }
}

/* Masques blancs transparents */
.evb-featured-wrapper::before,
.evb-featured-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.evb-featured-wrapper::before {
  left: 0;
  background: linear-gradient(to right, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0) 100%);
}
.evb-featured-wrapper::after {
  right: 0;
  background: linear-gradient(to left, rgba(255,255,255,0.95) 40%, rgba(255,255,255,0) 100%);
}
@media (max-width: 1024px) { .evb-featured-wrapper::before, .evb-featured-wrapper::after { width: 50px; } }
@media (max-width: 640px) { .evb-featured-wrapper::before, .evb-featured-wrapper::after { display: none; } }

/* ===============================
   EVBlue – Vehicle Card (grid/slider)
   =============================== */

/* Lien global cliquable */
.evb-vehicle-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform .25s ease, box-shadow .25s ease;
}
.evb-vehicle-card-link:hover .evb-vehicle-card {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

/* Carte */
.evb-vehicle-card {
  width: 100%;
  max-width: 560px;
  background: #fff;
  border: 1px solid #e9eff5;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
  transition: box-shadow .25s ease;
}

/* Image uniforme */
.evb-vehicle-image {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
}
@media (min-width: 1200px) {
  .evb-vehicle-image { height: 300px; } /* plus immersif desktop */
}
.evb-vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-bottom: 1px solid #eef2f6;
}

/* Badge */
.evb-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 6px 12px;
  background: #07A3FF;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(7,163,255,0.3);
  z-index: 2;
}

/* Contenu */
.evb-vehicle-body {
  padding: 18px 22px 22px;
}
.evb-vehicle-body h3 {
  margin: 0 0 8px;
  font-size: 18px;
  color: var(--e-global-color-primary);
}

.evb-autonomy {
  font-size: 14px;
  color: #6b6b6b;
  margin-bottom: 5px;
  font-weight: 300;
}
.evb-autonomy i {
  color: var(--e-global-color-accent);
  margin-right: 5px;
}

.evb-price {
  font-weight: bold;
  color: var(--e-global-color-primary);
  font-size: 17px;
  margin: 8px 0;
}

.evb-details-hint {
  font-size: 13px;
  color: var(--e-global-color-accent);
  margin-top: 10px;
}

/* Filters */

.evb-filters .evb-field {
    margin-bottom: 15px;
}

.evb-filters .evb-actions {margin-top: 30px;}
#evb-count {font-size: 1.2em;}

/* ===============================
   EVBlue – Page Véhicules (Layout)
   =============================== */

.evb-vehicle-list-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

/* === Filtres (colonne gauche) === */
.evb-filters {
  flex: 0 0 250px;
  position: sticky;
  top: 120px; /* reste visible lors du scroll */
  align-self: flex-start;
  background: #fff;
  border: 1px solid #e3e7ec;
  border-radius: 14px;
  padding: 20px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,.05);
  z-index: 5;
  max-height: calc(100vh - 140px);
  overflow-y: auto;
}

.evb-filters h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--e-global-color-primary);
}

.evb-filters label {
  font-weight: 500;
  color: var(--e-global-color-primary);
}

.evb-filters select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d6dee6;
  border-radius: 8px;
  background: #fff;
  color: #333;
}

/* === Résultats (grid droite) === */
#evb-results {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  width: 100%;
}

@media (max-width: 1280px) {
  #evb-results { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 980px) {
  .evb-vehicle-list-wrapper { flex-direction: column; }
  .evb-filters {
    position: relative;
    top: 0;
    max-height: unset;
    width: 100%;
    box-shadow: none;
    border: none;
    padding: 10px 0;
  }
  #evb-results { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  #evb-results { grid-template-columns: 1fr; }
}

/* === Cartes individuelles === */
#evb-results .evb-vehicle-card-link {
  display: block;
  width: 100%;
  text-decoration: none;
  color: inherit;
}

#evb-results .evb-vehicle-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e9eff5;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#evb-results .evb-vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

#evb-results .evb-vehicle-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

#evb-results .evb-vehicle-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#evb-results .evb-vehicle-body {
  padding: 14px 18px 20px;
}

#evb-results .evb-vehicle-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--e-global-color-primary);
  margin: 0 0 6px;
}

#evb-results .evb-autonomy {
  font-size: 13px;
  color: #6b6b6b;
  margin-bottom: 5px;
}

#evb-results .evb-price {
  font-weight: 700;
  font-size: 16px;
  color: var(--e-global-color-primary);
  margin-top: 4px;
}

#evb-results .evb-details-hint {
  font-size: 12px;
  color: var(--e-global-color-accent);
  margin-top: 6px;
}

/* Page véhicule */

.evb-vehicle-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.evb-vehicle-meta li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #333;
  font-size: 15px;
}

.evb-vehicle-meta i {
  color: #07A3FF;
  font-size: 15px;
}

/* ===============================
   EVBlue – Vehicle Gallery (auto + overlay)
   =============================== */

.evb-gallery-wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

/* === Slider principal === */
.evb-gallery-main {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
}

.evb-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* === Miniatures === */
.evb-gallery-thumbs {
  margin-top: 15px;
  height: 90px;
  overflow: hidden;
  border-radius: 8px;
}

.evb-gallery-thumbs .swiper-slide {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s ease;
}

/* Image sans arrondi pour éviter le "rectangle dans un rond" */
.evb-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0; /* ✅ Supprime l’arrondi interne */
  display: block;
  transition: transform .25s ease, opacity .25s ease;
}

/* Bordure bleue bien intégrée sans coins coupés */
.evb-gallery-thumbs .swiper-slide-thumb-active {
  outline: 2px solid var(--e-global-color-accent, #07A3FF);
  outline-offset: -2px;
  border-radius: 8px;
  z-index: 2;
}

/* Overlay transparent au survol */
.evb-thumb-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: var(--e-global-color-accent, #07A3FF);
  opacity: 0;
  transition: opacity .25s ease;
  z-index: 2;
  border-radius: 8px;
}

.evb-gallery-thumbs .swiper-slide:hover .evb-thumb-overlay {
  opacity: 0.25;
}

.evb-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  display: block;
}

/* Slide actif */
.evb-gallery-thumbs .swiper-slide-thumb-active img {
  border: 2px solid var(--e-global-color-accent, #07A3FF);
}

/* === Boutons de navigation === */
.evb-gallery-wrapper .swiper-button-prev,
.evb-gallery-wrapper .swiper-button-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  background: var(--e-global-color-accent, #07A3FF) !important;
  color: #fff !important;
  border-radius: 50% !important;
  width: 38px !important;
  height: 38px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  opacity: 0.9 !important;
  transition: all .25s ease !important;
  box-shadow: 0 2px 8px rgba(0,0,0,.2) !important;
  z-index: 20 !important;
}

.evb-gallery-wrapper .swiper-button-prev:hover,
.evb-gallery-wrapper .swiper-button-next:hover {
  background: var(--e-global-color-primary, #004080) !important;
  transform: translateY(-50%) scale(1.1) !important;
  opacity: 1 !important;
}

.evb-gallery-wrapper .swiper-button-prev { left: 10px !important; }
.evb-gallery-wrapper .swiper-button-next { right: 10px !important; }

.evb-gallery-wrapper .swiper-button-prev::after,
.evb-gallery-wrapper .swiper-button-next::after {
  font-size: 16px !important;
  color: #fff !important;
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  .evb-gallery-main { height: 280px; }
  .evb-gallery-thumbs { height: 70px; }
}

/* ===============================
   EVBlue – Lightbox fullscreen
   =============================== */

.evb-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  cursor: zoom-out;
  animation: fadeIn .25s ease;
}

.evb-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
  object-fit: contain;
  cursor: default;
}

.evb-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 38px;
  color: #fff;
  cursor: pointer;
  transition: opacity .2s ease;
  opacity: 0.8;
  line-height: 1;
}

.evb-lightbox-close:hover { opacity: 1; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===============================
   EVBlue – Lightbox fullscreen (unifiée + flèches stylées)
   =============================== */

.evb-lightbox {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.25s ease;
}

.evb-lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
  object-fit: contain;
}

/* --- Bouton de fermeture --- */
.evb-lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  opacity: 0.85;
  line-height: 1;
  z-index: 10000;
  transition: opacity 0.2s ease;
}
.evb-lightbox-close:hover {
  opacity: 1;
}

/* --- Flèches navigation (même style que le slider) --- */
.evb-lightbox-prev,
.evb-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--e-global-color-accent, #07A3FF);
  color: #fff;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  opacity: 0.9;
  transition: all 0.25s ease;
  z-index: 10000;
}

.evb-lightbox-prev:hover,
.evb-lightbox-next:hover {
  background: var(--e-global-color-primary, #004080);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

/* Position gauche/droite */
.evb-lightbox-prev {
  left: 40px;
}
.evb-lightbox-next {
  right: 40px;
}

/* Icônes flèches uniformisées */
.evb-lightbox-prev::before {
  content: "❮";
}
.evb-lightbox-next::before {
  content: "❯";
}

/* --- Animation fadeIn --- */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ===============================
   EVBlue – Vehicle Tabs Layout (Scoped)
   =============================== */

.evb-tabs-container,
.evb-tabs-container * {
  box-sizing: border-box;
}

.evb-tabs-container {margin-top: 15px;}

/* On scinde totalement du .evb-tabs de la home */
.evb-tabs-container .evb-tabs-nav {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: oklch(0.97 0 0);
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid oklch(0.922 0 0);
}

.evb-tabs-container .evb-tabs-nav li {
  text-align: center;
  padding: 12px 10px;
  font-weight: 600;
  color: #333;
  background: oklch(0.97 0 0);
  border-right: 1px solid oklch(0.922 0 0);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all .25s ease;
  font-size: 13px;
}

.evb-tabs-container .evb-tabs-nav li:last-child {
  border-right: none;
}

/* Onglet actif */
.evb-tabs-container .evb-tabs-nav li.active {
  background: oklch(1 0 0);
  color: var(--e-global-color-primary, #004080);
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  z-index: 2;
}

/* Hover */
.evb-tabs-container .evb-tabs-nav li:hover {
  background: oklch(0.985 0 0);
}

/* Contenu */
.evb-tabs-container .evb-tabs-content {
  border: 1px solid oklch(0.922 0 0);
  border-top: none;
  border-bottom-left-radius: 14px;
  border-bottom-right-radius: 14px;
  background: #fff;
  padding: 20px 24px;
  box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1),
              0 1px 2px -1px rgb(0 0 0 / 0.1);
}

/* Section active */
.evb-tabs-container .evb-tab {
  display: none;
  cursor: auto;
}
.evb-tabs-container .evb-tab.active {
    background: #fff !important;
    box-shadow: none;
    display: block;
    padding: 0 !important;
    cursor: auto;
    color: oklch(0.25 0 0) !important;
}

/* Icônes */
.evb-tabs-container .evb-tabs-nav i {
  color: var(--e-global-color-primary, #004080);
  font-size: 15px;
}

/* ===============================
   EVBlue – Onglet Équipements (refonte)
   =============================== */

/* Titre principal de section */
.evb-tabs-container h4 {
  margin: 0 0 20px;
  font-size: 18px;
  font-weight: 700;
  color: var(--e-global-color-primary, #004080);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Sous-catégories (ex: Autre, Confort, Sécurité...) */
.evb-equip-cat {
  font-size: 15px;
  font-weight: 600;
  color: oklch(0.2 0 0);
  margin: 20px 0 8px;
  padding-bottom: 4px;
  border-bottom: 1px solid oklch(0.9 0 0);
}

/* Liste condensée */
.evb-equipements-grid {
  list-style: none;
  padding: 0;
  margin: 0 0 15px;
  display: block;
  color: oklch(0.22 0 0);
  line-height: 1.6;
}

/* Icônes supprimées dans le flux (allègement visuel) */
.evb-equipements-grid li {
  display: inline;
  margin: 0;
  padding: 0;
}

.evb-equipements-grid li i {
  display: none !important;
}

.evb-equipements-grid:last-child {margin-bottom: 0;}

/* Espacement visuel global */
.evb-tab[data-tab="equipements"] {
  font-size: 14px;
  color: oklch(0.25 0 0);
}

.evb-tab[data-tab="equipements"] .evb-empty {
  background: oklch(0.26 0.1 258);
  color: #fff;
  padding: 20px;
  border-radius: 6px;
  font-weight: 500;
}

/* ===============================
   EVBlue – Équipements regroupés et stylés
   =============================== */

.evb-equip-cat {
  font-size: 15px;
  font-weight: 600;
  color: oklch(0.2 0 0);
  margin: 22px 0 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid oklch(0.9 0 0);
}

.evb-equipements-grid {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  font-size: 14px;
  line-height: 1.7;
  color: oklch(0.25 0 0);
  text-align: justify;
}

.evb-equipements-grid li {
  display: inline;
}

.evb-equipements-grid strong {
  font-weight: 700;
  color: var(--e-global-color-primary, #004080);
}

/* ===============================
   EVBlue – Spécifications Électriques (2 colonnes)
   =============================== */

.evb-specifications {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
  padding: 0
}

@media (max-width: 768px) {
  .evb-specifications {
    grid-template-columns: 1fr;
  }
}

/* Chaque colonne (groupement de specs) */
.evb-spec-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Ligne individuelle : label + valeur alignés */
.evb-spec-grid li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: none;
  background: none;
  padding: 6px 0;
  font-size: 15px;
  line-height: 1.5;
}

/* Label (texte gris) */
.evb-spec-grid li span {
  color: oklch(44.6% 0.03 256.802);
  font-weight: 500;
}

/* Valeur (texte noir et gras) */
.evb-spec-grid li strong,
.evb-spec-grid li .value {
  color: oklch(0.145 0 0);
  font-weight: 600;
}

/* Si valeur chiffrée importante (ex : SoH, autonomie, puissance) → vert ou accent */
.evb-spec-grid li .value-green {
  color: #16a34a; /* ou oklch(70% 0.2 145) si tu veux rester en oklch */
  font-weight: 600;
}

/* Titre principal */
.evb-tab[data-tab="1"] h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 700;
  color: var(--e-global-color-primary, #004080);
  margin-bottom: 20px;
}

ul.evb-spec-grid {
    padding: 0;
}

/* ===============================
   État du véhicule (EVB)
   =============================== */

.evb-etat-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.evb-etat-box {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 18px 20px;
  border-radius: 12px;
  border: 1px solid #e0e0e0;
  background: #fafafa;
}

.evb-etat-box.green {
  background: #f1fcf3;
  border-color: #b8f0c3;
}

.evb-etat-box.orange {
  background: #fff7ec;
  border-color: #ffd49b;
}

.etat-icon {
  font-size: 22px;
  color: #27ae60;
  flex-shrink: 0;
}

.evb-etat-box.orange .etat-icon {
  color: #e67e22;
}

.etat-content strong {
  font-size: 16px;
  display: block;
  margin-bottom: 6px;
  color: #222;
}

.etat-content p {
  margin: 0 0 10px;
  font-size: 14px;
  color: #555;
}

/* Table des dégâts */
.evb-degats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.evb-degats-table th {
  text-align: left;
  padding: 8px 10px;
  background: #f5f5f5;
  border-bottom: 1px solid #ddd;
  font-weight: 600;
}

.evb-degats-table td {
  padding: 8px 10px;
  border-bottom: 1px solid #eee;
  color: #333;
}

.evb-degats-table tr:last-child td {
  border-bottom: none;
}

.evb-etat-box i {
    font-size: 22px;
}

/* ===============================
   EVBlue – Car-Pass (onglet)
   =============================== */

.evb-carpass-card {
  background: #f8fafc;
  border: 1px solid #e0e6ed;
  border-radius: 10px;
  padding: 20px 24px;
  font-size: 15px;
  color: oklch(0.25 0 0);
  line-height: 1.6;
}

.evb-carpass-card i {
  color: var(--e-global-color-primary, #004080);
  margin-right: 8px;
}

.evb-carpass-card a {
  color: var(--e-global-color-accent, #07A3FF);
  font-weight: 600;
  text-decoration: none;
}

.evb-carpass-card a:hover {
  text-decoration: underline;
}

.evb-carpass-note {
  font-size: 14px;
  color: #555;
  margin-top: 8px;
}

.evb-carpass-card.evb-empty {
  background: #fffdf7;
  border-color: #f7e5b2;
}

/* ===============================
   EVBlue – Garantie (onglet)
   =============================== */

.evb-garanties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.evb-garantie-box {
  background: #f8fafc;
  border: 1px solid #e3e7ec;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}

.evb-garantie-box strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--e-global-color-primary, #004080);
  margin-bottom: 4px;
}

.evb-garantie-box p {
  font-size: 14px;
  color: oklch(0.3 0 0);
  margin: 0;
}

.evb-garantie-box.evb-empty {
  background: #fffdf7;
  border-color: #f7e5b2;
}

/* =========================
   FAQ BLOCK GLOBAL
   ========================= */
.evb-faq-wrapper {
    margin-top: 15px;
}

.evb-faq-block {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #e6e6e6;
}

.evb-faq-title {
    font-size: 22px;
    margin: 0 0 25px;
    font-weight: 700;
    color: var(--e-global-color-primary, #004080);
}

/* =========================
   FAQ ITEM
   ========================= */
.evb-faq-item {
    padding: 0;
}

.evb-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 14px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.evb-faq-question i {
    font-size: 14px;
    transition: transform .25s ease;
    opacity: 0.6;
}

.evb-faq-item.open .evb-faq-question i {
    transform: rotate(180deg);
    opacity: 1;
}

/* =========================
   ANSWERS (version animée)
   ========================= */
.evb-faq-answer {
    font-size: 14px;
    color: #444;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 30px; /* padding horizontal uniquement fermé */
    transition:
        max-height .35s ease,
        opacity .25s ease,
        padding .25s ease;
}

.evb-faq-item.open .evb-faq-answer {
    max-height: 500px;
    opacity: 1;
    padding: 0 30px 15px 30px;
}

.evb-faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.6;
}

/* =========================
   SEPARATORS
   ========================= */
.evb-faq-separator {
    height: 1px;
    width: 100%;
    background: #e6e6e6;
}

button.evb-faq-question {
    border-radius: unset !important;
    background: none !important;
    color: var(--e-global-color-primary) !important;
    font-weight: bold !important;
}

/* ======== PRICE BOX ======== */
.evb-price-box {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #e5e5e5;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
    max-width: 420px;
    margin: 0 auto;
}

.evb-price-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--e-global-color-primary);
}

.evb-price-sub {
    margin-top: 4px;
    font-size: 12px;
    margin-bottom: 15px;
    color: #666;
}

.evb-price-catalogue {
    margin: 15px 0 25px;
    font-size: 14px;
    color: #666;
}

.evb-price-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    padding: 12px 0;
    font-size: 15px;
    font-weight: 600;

    background: #fff!important;
    color: var(--e-global-color-primary)!important;
    border: 1px solid #dcdcdc;
    border-radius: 10px;

    margin-bottom: 10px;
    cursor: pointer;
    transition: all .25s ease;
}

.evb-price-btn i {
    font-size: 15px;
}

.evb-price-btn:hover {
  background: var(--e-global-color-primary)!important;
  color: #fff!important;
}

.evb-price-btn.main {
    background: var(--e-global-color-accent)!important;
    color: #fff !important;
    border-color: var(--e-global-color-accent)!important;
}

.evb-price-btn.main:hover {
    background: #0593e6!important;
    border-color: #0593e6!important;
}

/* ============================================
   Fade IN / OUT Elementor popup (EVB version)
   ============================================ */

/* État initial */
.elementor-popup-modal {
    transition: opacity .25s ease-in-out !important;
}

/* Ouverture */
.elementor-popup-modal.evb-open {
    opacity: 1 !important;
}

/* Fermeture */
.elementor-popup-modal.evb-closing {
    opacity: 0 !important;
}

/* ===== Détail du Prix ===== */
.evb-price-detail {
    background: #f7faff;
    border: 1px solid #dce7f3;
    border-radius: 10px;
    padding: 15px 18px;
    margin: 18px 0 25px;
    text-align: left;
}

.evb-price-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
    color: #333;
}

.evb-price-row strong {
    font-weight: 700;
}

.evb-price-row.red strong {
    color: #d12b2b;
}

.evb-price-row.total {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #ccd8e4;
    font-size: 15px;
}

.evb-price-row.total strong {
    color: var(--e-global-color-primary);
    font-size: 17px;
}

/* FAQ */

.evb-faq-item { border:1px solid #eee; background: #fff; border-radius:10px; margin-bottom:10px; }

.evb-faq-cats { display:flex; gap:15px; justify-content:center; flex-wrap:wrap; margin-bottom:40px; }

.evb-faq-cat-bubble {
    padding: 10px 20px;
    border-radius: 30px;
    background: #fff !important;
    border: 1px solid #ddd;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333 !important;
}

.evb-faq-section {
    margin-bottom: 60px;
}

.evb-faq-section:last-child {
    margin-bottom: 0px;
}

.evb-faq-cat-bubble i {
    font-size: 18px;
    color: var(--e-global-color-accent);
}

.evb-faq-cat-title i {
    font-size: 22px;
    margin-right: 10px;
    color: var(--e-global-color-accent);
}

/* =========================
   FAQ ITEM – Version améliorée
   ========================= */

/* Question */
.evb-faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: left;
    cursor: pointer;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background .25s ease, box-shadow .25s ease;
    border-radius: 10px;
}

/* Hover (effet carte) */
.evb-faq-item:hover {
    background: #f7faff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

/* Icône flèche */
.evb-faq-question .evb-arrow {
    font-size: 16px;
    color: #999;
    transition: transform .25s ease, color .25s ease;
}

/* Flèche tournée quand open */
.evb-faq-item.open .evb-arrow {
    transform: rotate(180deg);
    color: var(--e-global-color-primary);
}

/* Réponse (animée) */
.evb-faq-answer {
    font-size: 14px;
    color: #444;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    padding: 0 22px;
    transition: max-height .35s ease,
                opacity .25s ease,
                padding .25s ease;
}

.evb-faq-item.open .evb-faq-answer {
    max-height: 500px;
    opacity: 1;
    padding: 0 22px 18px;
}

.evb-faq-answer p {
    margin: 0 0 10px;
    line-height: 1.6;
}

/* /FAQ */