/* ==========================================================================
   Variables globales
   ========================================================================== */
:root {
  --primary-color: #363636;
  --secondary-color: #b29450;
  --accent-color: #e63946;
  --light-gray: #f8f8f8;
  --border-color: #363636;
  --hover-bg: #ccc;
  --selected-bg: #f1f0f0;
  --selected-hover-bg: #ccc;
  --paid-header-bg: #2c2c2c;
  --paid-header-hover: #3c3c3c;
  --paid-header-active: #4c4c4c;
  --paid-indicator: #ffd700;
  --transition-speed: 0.3s;
}

/* ==========================================================================
   Layout de base
   ========================================================================== */
.van-configurator {
  width: 100%;
  margin: 0 auto;
  overflow: visible !important;
  padding-top: 10px;
}

.van-options-container {
  position: relative;
  overflow: visible !important;
}

.van-options-grid {
  display: grid;
  grid-template-columns: 1fr 40%;
  gap: 60px;
  align-items: start;
  position: relative;
  overflow: visible !important;
}

/* ==========================================================================
   Colonnes principales
   ========================================================================== */
.van-options-left {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
  min-width: 0;
}

.van-options-right {
  position: relative;
  min-width: 0;
  overflow: visible !important;
}

/* ==========================================================================
   Typographie
   ========================================================================== */

body {
  font-family: "Raleway", sans-serif;
}

h1,
h2,
h3 {
  font-family: "Montserrat"; /* Utilisation de Raleway pour les titres */
}
.van-configurator h1 {
  font-weight: 700;
  font-size: 2em;
  margin-bottom: 20px;
}

.van-configurator h2 {
  font-weight: 700;
  font-size: 2em;
  color: #363636;
  line-height: 1em;
}

.van-options-right h2 {
  padding-left: 10px;
}

/* ==========================================================================
   Accordéons - Structure commune
   ========================================================================== */
.accordion-item {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1px;
}

.accordion-content {
  display: none;
  transition: max-height var(--transition-speed) ease-in-out;
  overflow: hidden;
}

.accordion-item.active .accordion-content {
  display: block;
}
/* ==========================================================================
   Options payantes - Accordéon spécifique
   ========================================================================== */
.options-accordion {
  margin-top: 20px;
}
.paid-options-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px 10px 20px;
  background: var(--paid-header-bg);
  color: #fff;
  transition: background-color var(--transition-speed) ease;
  cursor: pointer;
}

.paid-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Indicateur de sélection */
.paid-category-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background-color var(--transition-speed) ease;
}

.has-paid-options .paid-category-indicator {
  background: var(--paid-indicator);
}

/* Chevron */
.paid-header-icon {
  font-size: 28px;
  transition: transform var(--transition-speed) ease;
  transform: rotate(0deg);
}

/* États */
.paid-options-header:hover {
  background: var(--paid-header-hover);
}

.accordion-item.active .paid-options-header {
  background: var(--paid-header-active);
}

.accordion-item.active .paid-header-icon {
  transform: rotate(90deg) !important;
}

/* ==========================================================================
   Options de série - Accordéon spécifique
   ========================================================================== */
.standard-option {
  margin-bottom: 0;
  border-bottom: 1px solid var(--border-color);
}

.standard-option-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 15px 30px;
  background: var(--paid-header-bg);
  color: white;
  cursor: pointer;
  transition: background-color var(--transition-speed) ease;
}

.standard-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.standard-header-left h3 {
  font-size: 1.2em;
  font-weight: 400;
  margin: 0;
  font-family: "Raleway"; /* Ajout de la police Montserrat */
}

/* Icône de flèche dans un cercle */
.standard-header-icon {
  font-weight: 400;
  background: var(--secondary-color);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  transition: all var(--transition-speed) ease;
  color: var(--primary-color); /* Couleur sombre pour le chevron */
  line-height: 1;
  padding-bottom: 5px; /* Ajustement fin du centrage */
}

.standard-option.active .standard-header-icon {
  transform: rotate(90deg);
  background: var(--primary-color);
  color: white;
}

.standard-option-title:hover .standard-header-icon {
  background: var(--primary-color);
  color: white;
}

.standard-option-title:hover {
  background: var(--paid-header-hover);
}

.standard-option.active .standard-option-title {
  background: var(--paid-header-active);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
  .standard-option-title {
    padding: 12px 30px;
  }

  .standard-header-left h3 {
    font-size: 1em;
  }
}

/* Structure du contenu des options de série */
.option-content-flex {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 15px;
}

.option-image {
  flex: 0 0 200px;
  width: 140px;
}

.option-image img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.standard-option-detail {
  flex: 1;
  min-width: 0;
}

/* ==========================================================================
   Options individuelles
   ========================================================================== */
label {
  color: var(--primary-color);
  display: block;
  font-weight: 500;
  margin-bottom: 0px !important;
}

.option-item {
  padding: 12px 15px;
  transition: background-color var(--transition-speed) ease;
  border-bottom: 1px solid var(--border-color);
}

.option-item:last-child {
  border-bottom: none;
}

/* États des options */
.option-item:hover {
  background-color: var(--hover-bg);
}

.option-item.selected {
  background-color: var(--selected-bg);
}

.option-item.selected:hover {
  background-color: var(--selected-hover-bg);
}

/* Structure des options */
.option-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 12px 15px;
  position: relative;
}

.option-top {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1; /* Prend l'espace disponible */
  min-width: 0;
  /* margin-bottom: 10px; Supprimé */
}

.info-button {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  min-width: 32px;
  background: var(--secondary-color);
  border: none;
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
}

.option-label {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
}

.option-title {
  font-size: 1em;
  font-weight: 500;
  line-height: 1.1;
  text-align: left;
}

.option-controls {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0; /* Empêche les contrôles de rétrécir */
  /* justify-content: flex-end; Supprimé */
}

.price-info {
  font-size: 14px;
  color: #666;
}

.quantity-control {
  margin: 0 10px;
}

.total-price-display {
  min-width: 80px;
  text-align: right;
  font-weight: bold;
}

.included-text {
  color: #b29450;
  font-weight: bold;
}

select.quantity-select {
  appearance: auto;
  background-size: 0px;
  font-size: 1.2em;
  padding: 2px 8px 4px 8px;
}

.price-display {
  min-width: 80px;
  max-width: 100px;
  text-align: right;
  font-weight: 500;
  white-space: nowrap;
}

/* ==========================================================================
   Sticky Summary
   ========================================================================== */
.van-summary-wrapper {
  position: relative;
  top: -60px;
  z-index: 10;
  will-change: transform;
}

@media (max-width: 1024px) {
  .van-summary-wrapper {
    top: -80px;
  }
}

@media (max-width: 768px) {
  .van-summary-wrapper {
    top: -40px;
  }
}

.van-summary-sticky-container {
  width: 100%;
  filter: drop-shadow(-1px 6px 3px rgba(50, 50, 0, 0.3));
}

.van-summary-sticky {
  padding-top: 50px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 70px;
  background-color: var(--selected-bg);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 30px),
    50% 100%,
    0 calc(100% - 30px)
  );
}

.van-summary {
  padding-left: 10px;
}

/* Version mobile */
@media (max-width: 768px) {
  .van-options-right {
    margin-bottom: 30px;
  }

  .van-summary-sticky {
    padding-bottom: 40px;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 20px),
      50% 100%,
      0 calc(100% - 20px)
    );
  }
}

.van-options-right {
  position: relative;
}

.van-summary-sticky {
  position: relative;
  width: 100%;
}

/* ==========================================================================
   Résumé et prix
   ========================================================================== */
.van-name {
  font-size: 1.6em;
  font-weight: bold;
  color: var(--secondary-color);
}

.van-capacity {
  font-size: 1em;
  padding-bottom: 10px;
  color: var(--paid-header-active);
}
.selected-options h4 {
  padding-left: 10px;
}
.selected-options-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.selected-options-list .option-price {
  padding-right: 8px;
}

.selected-options-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px 8px 10px;
  border-bottom: 1px solid #363636;
  gap: 10px;
  position: relative;
  min-height: 40px;
}

.selected-options-list li:hover {
  background-color: #fafafa;
}

.option-name {
  font-weight: bold;
  line-height: 1;
}

.remove-option {
  position: absolute;
  right: 8px;
  /* top: 50%; */
  transform: translateY(-50%);
  margin: 0;
  background: var(--secondary-color); /* Rouge */
  border: none;
  width: 22px; /* Ajustez la taille selon vos besoins */
  height: 22px; /* Ajustez la taille selon vos besoins */
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background-color var(--transition-speed);
}

.remove-option:hover {
  background: #444; /* Gris foncé */
}

.remove-option svg {
  width: 12px; /* Ajustez la taille de l'icône */
  height: 12px; /* Ajustez la taille de l'icône */
}

/* Prix */
.price-details {
  width: 100%;
  margin: 20px 0;
}

.price-details > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin: 5px 0;
}

.price-details span {
  flex: 0 0 auto;
}

.total-price-container {
  margin-top: 16px !important;
  border: 2px solid #363636;
  padding: 10px;
  font-weight: bold;
  font-size: 1.2em;
  background-color: #fff;
  cursor: pointer;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.total-price-container:hover {
  border-color: #b29450;
  box-shadow: 0 0 0 2px rgba(178, 148, 80, 0.2);
}

/* Mise en valeur de l'accordéon Pays de Livraison */
#country-delivery-accordion.highlighted {
  animation: highlightPulse 0.5s ease-in-out;
  border: 2px solid #b29450;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(178, 148, 80, 0.4);
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(178, 148, 80, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(178, 148, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(178, 148, 80, 0);
  }
}

.total-price-box .country-select-wrapper {
  position: relative;
  display: block;
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  padding: 0;
  cursor: pointer;
  transition: border-color 0.3s;
  margin-bottom: 8px;
  min-height: 36px;
}

.total-price-box .country-select-wrapper:hover {
  border-color: #b29450;
}

.country-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 100%;
  pointer-events: none;
  position: relative;
  z-index: 0;
  padding: 6px 10px;
  box-sizing: border-box;
}

.country-select-text {
  flex: 1;
  font-size: 0.9em;
  font-weight: normal;
  color: #333;
}

.country-select-arrow {
  margin-left: 8px;
  color: #666;
  font-size: 0.7em;
  transition: transform 0.3s;
  flex-shrink: 0;
}

.country-select-wrapper:focus-within .country-select-arrow {
  transform: rotate(180deg);
  color: #b29450;
}

.country-select-wrapper .country-select {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  min-height: 36px;
  opacity: 0;
  cursor: pointer;
  z-index: 10;
  border: none;
  background: transparent;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 16px;
}

.country-select-wrapper .country-select:focus {
  outline: none;
}

.total-price {
  text-align: right;
  min-width: 0;
  font-size: 1.2em;
  font-weight: bold;
}

.country-delivery-note {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 0.75em;
  font-style: italic;
  color: #666;
  line-height: 1.4;
  padding: 0;
}

.base-price-container {
  font-style: italic;
  font-size: 14px;
}

.options-price-container {
  padding-left: 10px;
  padding-right: 10px;
}

.base-price-container {
  padding-left: 10px;
  padding-right: 10px;
}

.indication-base-price-container {
  padding-left: 10px;
  padding-right: 10px;
}

#country-select {
  background: #fff;
  color: #333;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1.4rem;
  font-family: "Raleway", sans-serif;
  line-height: 1;
  height: auto;
  padding: 0.75rem;
  width: 100%;
  box-shadow: none;
  outline: none;
  appearance: none; /* enlève la flèche native */
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23333' height='16' viewBox='0 0 20 20' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M5.516 7.548a.625.625 0 0 1 .884-.088L10 10.293l3.6-2.833a.625.625 0 1 1 .796.976l-4 3.15a.625.625 0 0 1-.796 0l-4-3.15a.625.625 0 0 1-.088-.884z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 16px 16px;
  cursor: pointer;
  transition: border-color 0.3s;
}

#country-select:focus {
  border-color: #b29450;
}

#country-select option {
  background: #fff;
  color: #333;
}

/* Styles pour le conteneur du sélecteur de pays */
.country-select-container {
  width: 100%;
}

/* Indicateur pour le pays sélectionné */
#country-delivery-header .paid-category-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s;
}

#country-delivery-header.has-selection .paid-category-indicator {
  background: #b29450;
}

#country-delivery-header.has-selection {
  background: rgba(178, 148, 80, 0.05);
}

/* Ouvrir l'accordéon du pays de livraison par défaut */
.accordion-item:first-child {
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 1px;
}

.accordion-item:first-child .accordion-content {
  display: block;
}

.accordion-item:first-child .paid-header-icon {
  transform: rotate(90deg);
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .van-options-grid {
    grid-template-columns: 1fr;
  }

  .van-summary-sticky {
    position: relative;
    /* top: 0; */
  }
}

@media (max-width: 768px) {
  .van-configurator {
    padding: 0px;
  }

  .van-configurator h2 {
    font-size: 1.6em;
    padding-bottom: 10px;
  }

  .van-options-left h2 {
    padding-left: 30px;
  }

  .option-item {
    padding: 8px 12px;
  }

  .option-main {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px 0;
    align-items: flex-start;
    position: relative;
  }

  /* Première ligne : bouton info + nom + prix unitaire */
  .info-button {
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-size: 16px;
    flex-shrink: 0;
    align-self: flex-start;
  }

  .option-label {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    margin-right: 8px;
  }

  .option-title {
    font-size: 0.9em;
    line-height: 1.2;
  }

  /* Prix unitaire sur la première ligne à droite */
  .option-controls {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding-left: 36px; /* Aligner avec le bouton info */
    margin-top: 0;
  }

  /* Extraire price-info pour le mettre sur la première ligne */
  .option-controls > .price-info {
    position: absolute;
    right: 0;
    top: -24px; /* Remonter sur la première ligne */
    font-size: 0.85em;
    white-space: nowrap;
    text-align: right;
    color: #666;
  }

  /* Deuxième ligne : quantité et prix total */
  .quantity-control {
    flex-shrink: 0;
    margin: 0;
  }

  .quantity-select {
    padding: 4px 14px;
    font-size: 0.9em;
    min-width: 50px;
  }

  .total-price-display {
    flex-shrink: 0;
    text-align: right;
    font-size: 0.9em;
    min-width: 70px;
    font-weight: bold;
  }

  .option-content-flex {
    flex-direction: column;
  }

  .option-image {
    flex: none;
    width: 160px;
    margin-top: 10px;
  }

  .accordion-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0px;
  }

  .paid-options-header {
    padding: 15px 15px 10px 10px;
  }

  .paid-options-header h3 {
    font-size: 1.2em;
  }

  .van-colors {
    padding-top: 0px !important;
  }

  .van-colors-block {
    padding: 20px;
  }

  .color-section .section-header {
    margin-bottom: 10px;
    min-height: 0px;
  }

  .color-section .section-header h3 {
    font-size: 1.3em;
  }

  .color-section .section-header .subtitle {
    font-size: 1em;
  }

  .van-options-grid {
    gap: 0px;
  }
}

/* ==========================================================================
   Sélecteur de couleurs
   ========================================================================== */
.van-colors {
  display: flex;
  gap: 1rem;
  max-width: 1200px;
  padding-top: 30px;
  padding-bottom: 45px;
  margin: 0 auto;
}

.color-section {
  flex: 1;
  border: 1px solid var(--border-color);
  padding: 1rem;
  background-color: #fff;
}

.van-colors h3 {
  font-size: 1.8em;
  line-height: 1em;
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 5px;
}

/* Titre et sous-titre */
.section-header {
  margin-bottom: 1rem;
  /* min-height: 80px; */
}

.section-header h3 {
  font-size: 1.6em;
  margin: 0;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1.2; /* Ajout d'une hauteur de ligne fixe */
  min-height: 0em; /* Hauteur minimale pour 2 lignes */
}

.subtitle {
  font-size: 1.2em;
  line-height: 1.2;
  color: #666;
  margin: 0.5rem 0 0;
}

/* Grille de couleurs */
.color-palette {
  display: flex;
  flex-direction: row; /* Modification: row au lieu de column */
  flex-wrap: wrap; /* Permet le retour à la ligne si nécessaire */
  gap: 0.5rem;
  justify-content: flex-start;
  padding-top: 0px; /* Ajout d'un padding en haut pour réserver l'espace du tooltip */
}

.color-swatch {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-color);
  display: block;
  transition: transform 0.2s ease; /* Ajout de cette ligne */
}

.color-item {
  position: relative; /* Ajout de cette ligne */
  cursor: pointer; /* Ajout de cette ligne */
  height: 40px; /* Hauteur fixe pour l'élément */
}
/* Tooltip */
.color-item::after {
  content: attr(data-name);
  position: absolute;
  top: -25px; /* Position fixe au-dessus au lieu de bottom */
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  border-radius: 4px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease; /* Modification de la transition */
  z-index: 100;
  margin-bottom: 5px;
  pointer-events: none;
}

.color-item:hover::after {
  opacity: 1;
  visibility: visible;
}

.color-item:hover .color-swatch {
  transform: scale(1.1);
}

.color-item.selected .color-swatch {
  border: 2px solid var(--primary-color);
  box-shadow: 0 0 0 0 var(--border-color);
}

@media (max-width: 768px) {
  .van-colors {
    flex-direction: column;
  }
}

.quantity-indicator {
  font-size: 0.9em;
  color: #666;
  margin-left: 5px;
}

/* Désactiver toutes les transitions */
.van-summary-sticky,
.van-summary-sticky * {
  transition: none !important;
  animation: none !important;
  transform: none !important;
}

.van-dimensions h2 {
  font-size: 1.6em;
  line-height: 1em;
}

.van-dimensions {
  position: relative;
  width: 100%;
  padding-top: 0px;
  top: -30px;
}

.dimensions-legend {
  font-style: italic;
  font-size: 0.9em;
  color: #666;
  margin-left: 5px;
}
/* Tableau normal (inchangé) */
.dimensions-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  margin-bottom: 5px;
}

.dimensions-table th,
.dimensions-table td {
  padding: 12px;
  text-align: center;
  border: 1px solid var(--border-color);
}

.dimensions-table td {
  background-color: #fff;
}

.dimensions-table th {
  background-color: var(--light-gray);
  font-weight: 600;
}

/* Version responsive */
@media (max-width: 768px) {
  .van-dimensions {
    padding-top: 0px;
  }
  .dimensions-table thead {
    display: none; /* Cache l'en-tête */
  }

  .dimensions-table table,
  .dimensions-table tbody,
  .dimensions-table tr {
    display: block;
    width: 100%;
  }

  .dimensions-table tr {
    margin-bottom: 1px;
  }

  .van-dimensions h2 {
    font-size: 1.6em;
  }

  .dimensions-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    padding: 8px 12px;
  }

  .dimensions-table th,
  .dimensions-table td {
    border: 0px !important;
  }

  .dimensions-table td:nth-child(odd) {
    background-color: var(--light-gray);
  }

  /* Affiche le label stocké dans data-label */
  .dimensions-table td::before {
    content: attr(data-label);
    font-weight: 500;
    padding-right: 10px;
  }
}
/* Styles pour la description */
.van-description {
  margin: 2rem 0;
}

.description-content {
  line-height: 1.6;
  color: var(--primary-color);
}

.description-content p {
  margin-bottom: 1rem;
}

.description-content ul,
.description-content ol {
  margin: 1rem 0;
  padding-left: 2rem;
}

.description-content li {
  margin-bottom: 0.5rem;
}

/* Préserver les styles de l'éditeur WordPress */
.description-content h1,
.description-content h2,
.description-content h3,
.description-content h4,
.description-content h5,
.description-content h6 {
  margin: 1rem 0 1rem;
}

.description-content strong,
.description-content b {
  font-weight: 600;
}

.description-content em,
.description-content i {
  font-style: italic;
}

/* Structure des détails d'options */
.option-details {
  display: none;
  padding: 15px;
  background-color: var(--light-gray);
  margin-top: 10px;
  border-radius: 4px;
}

.option-item.details-visible .option-details {
  display: block;
}

.option-details-content {
  display: grid !important;
  grid-template-columns: 140px 1fr !important;
  gap: 20px;
  align-items: start;
}

.option-details .option-image {
  width: 140px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.option-details .option-image img {
  width: 100% !important;
  height: auto !important;
  border-radius: 4px;
  display: block;
}

.option-details .option-description {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 0.9em;
  line-height: 1.4;
  color: var(--primary-color);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
  .option-details {
    padding: 10px;
  }

  .option-details-content {
    gap: 15px;
  }

  .option-details .option-image {
    width: 120px !important;
  }
}

/* Bouton info */
.info-button {
  position: relative;
  left: 0;
  background: var(--secondary-color);
  border: none;
  padding: 0;
  cursor: pointer;
  color: white;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
  width: 32px;
  height: 32px;
  min-width: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  z-index: 2;
}

.info-button .info-icon,
.info-button {
  font-family: "Times New Roman", serif;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  padding-bottom: 0px;
  padding-right: 0px;
}

.info-button:hover {
  background: var(--primary-color);
  transform: scale(1.1);
}

/* État actif du bouton quand les détails sont affichés */
.option-item.details-visible .info-button {
  background: var(--primary-color);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
  .option-title {
    line-height: 18px;
  }
}

* {
  cursor: default !important;
}

/* Pour garder le curseur pointer sur les éléments cliquables */
a,
button,
[role="button"],
input[type="checkbox"],
select,
.option-main {
  cursor: pointer !important;
}

/* Style du bouton de devis */
.quote-button {
  width: 100%;
  padding: 16px 32px;
  font-size: 1.2em;
  font-family: "Raleway", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  letter-spacing: 0.5px;
  color: white;
  background: var(--secondary-color);
  border: none;
  /* border-radius: 8px; */
  cursor: pointer;
  transition: all 0.3s ease;
  /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
  margin-top: 0px;
}

.quote-button:hover {
  background: #c6ab6b; /* Version plus claire de --secondary-color */
  transform: translateY(-2px);
  /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); */
}

.quote-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
  .quote-button {
    padding: 14px 28px;
    font-size: 1.1em;
  }
}

/* ==========================================================================
   Options de série - Accordéon spécifique
   ========================================================================== */
.standard-option-content {
  display: none;
  padding: 15px;
  background: var(--light-gray);
}

.standard-option.active .standard-option-content {
  display: block;
}

/* ==========================================================================
   Options payantes - Accordéon spécifique
   ========================================================================== */
.accordion-content {
  display: none;
}

.accordion-item.active .accordion-content {
  display: block;
}

/* ==========================================================================
   Options individuelles - Détails
   ========================================================================== */
.option-details {
  display: none;
  padding: 15px;
  background-color: var(--light-gray);
  margin-top: 10px;
  border-radius: 4px;
}

.option-item.details-visible .option-details {
  display: block;
}

/* Styles pour le select */
.quantity-select {
    padding: 5px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #fff;
    font-size: 14px;
    min-width: 40px;
    cursor: pointer;
}

/* Style pour l'option-controls */
.option-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Style pour le prix */
.price-display {
    min-width: 80px;
    text-align: right;
    font-weight: 500;
}

/* Style pour le texte "Inclus" */
.included-text {
    color: #4CAF50;
    font-weight: 500;
}

/* Ajustement de l'espacement dans option-main */
.option-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    gap: 15px;
}

/* Style pour le titre de l'option */
.option-title {
    flex: 1;
    margin-right: 15px;
}

/* Style pour les options sélectionnées dans la liste */
.selected-options-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px 8px 10px;
    border-bottom: 1px solid #363636;
    gap: 10px;
    position: relative;
    min-height: 40px;
}

/* Style pour le bouton check des options incluses */
.check-option.disabled {
    position: absolute;
    right: 8px;
    /* top: 50%; */
    transform: translateY(-50%);
    background-color: #cccccc;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Style pour le prix et le texte "Inclus" */
.selected-options-list .option-right {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-right: 30px;
}

.selected-options-list .option-price {
    min-width: 60px;
    text-align: right;
}

/* Style pour le nom de l'option */
.selected-options-list .option-name {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

/* Supprimer la bordure du dernier élément */
.selected-options-list li:last-child {
    border-bottom: none;
}

/* Style pour le select quand une option est sélectionnée */
.quantity-select:not([value="0"]) {
    background-color: #b29450;
    color: white;
    border-color: #b29450;
}

/* Style pour le bouton de suppression */
.remove-option {
    background: #b29450;
    border: none;
    border-radius: 4px;
    width: 24px;
    height: 24px;
    padding: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.remove-option:hover {
    background: #8e7640;
}

/* Indicateur de catégorie avec options sélectionnées */
.paid-options-header.has-paid-options .paid-category-indicator {
    background-color: #b29450;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
}

.paid-category-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 10px;
    background-color: #ddd;
}

/* Style pour le prix et le texte "Inclus" */
.option-price {
    min-width: 80px;
    text-align: right;
    font-weight: 500;
}

.included-text {
    color: #4CAF50;
    font-weight: 500;
}

/* Style pour le bouton de suppression des options incluses (sauf les couleurs) */
.selected-options-list li:not(.color-option)[data-price="0"] .remove-option {
    background: #cccccc !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    opacity: 0.6 !important;
}

/* Style normal pour les boutons de suppression des couleurs */
.selected-options-list .color-option .remove-option {
    background: #b29450;
    cursor: pointer !important;
    pointer-events: auto !important;
    opacity: 1 !important;
}

/* Hover pour les boutons de suppression des couleurs */
.selected-options-list .color-option .remove-option:hover {
    background: #8e7640;
}

/* Empêcher le hover sur les options incluses (sauf les couleurs) */
.selected-options-list li:not(.color-option)[data-price="0"] .remove-option:hover {
    background: #cccccc !important;
}

/* Style pour les selects désactivés (options incluses) */
.quantity-select[disabled] {
    background-color: #b29450;
    color: white;
    border-color: #b29450;
    opacity: 0.8;
    cursor: not-allowed;
}

/* Style pour l'option entière quand elle est incluse */
.option-item[data-preselected="1"] {
    background-color: rgba(178, 148, 80, 0.1);
}

.option-item[data-preselected="1"] .price-display {
    color: #4CAF50;
    font-weight: 500;
}

.presentation-version {
  padding-left: 0px !important;
  padding-top: 0px !important;
  font-size: 16px;
  font-weight: 400;
  color: #f1f0f0;
}

@media (max-width: 1024px) {
  .presentation-version {
    display: none;
  }
  .van-titre-page {
    display: none;
  }
}

.presentation-version-mobile {
  display: none;
}
.van-titre-page-mobile {
  display: none;
}
.model-precision {
  font-size: 12px;
  line-height: 1.1em;
  padding-bottom: 4px;
}

@media (max-width: 1024px) {
  .presentation-version-mobile {
    display: block;
    font-weight: 700;
    line-height: 1.1em;
  }

  .van-titre-page-mobile {
    font-weight: 700;
    font-size: 2.4em;
    line-height: 0.9em;
    display: block;
    color: #b29450;
    padding-bottom: 4px;
  }
}

@media (max-width: 768px) {
  .presentation-version-mobile {
    padding-left: 30px;
    padding-right: 30px;
  }
  .van-titre-page-mobile {
    padding-left: 30px;
    padding-right: 30px;
  }
  .model-precision {
    padding-left: 30px;
    padding-right: 30px;
  }
  .vignette-van {
    padding-left: 30px;
    padding-right: 30px;
  }
}

.plugin-options {
  align-items: left !important;
}

#plugin-options, #avantages, #poids-dimensions{
  background-color: #fafafa !important;
}

/* Modification du style pour les options de couleur dans la liste */
.selected-options-list .color-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px 8px 10px;
    border-bottom: 1px solid #363636;
    gap: 10px;
    position: relative;
    min-height: 40px;
}

.selected-options-list .color-option .option-name {
    flex: 1;
    min-width: 0;
    padding-right: 10px;
}

.selected-options-list .color-option .option-price {
    min-width: 60px;
    text-align: right;
    margin-right: 30px;
}

.selected-options-list .color-option .remove-option {
    position: absolute;
    right: 8px;
    /* top: 50%; */
    transform: translateY(-50%);
    background: #b29450;
    border: none;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-options-list .color-option .remove-option:hover {
    background: #8e7640;
}
#quote-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Styles pour l'accordéon du sélecteur de pays */
.country-select-container {
  width: 100%;
}

.country-select {
  width: 160px !important;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Raleway", sans-serif;
  font-size: 1.4rem;
  background: white;
  transition: border-color 0.3s;
  background-position: right 8px center;
}

.country-select:focus {
  border-color: #b29450;
  outline: none;
}

#country-delivery-header .paid-category-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background-color 0.3s;
}

#country-delivery-header.has-selection .paid-category-indicator {
  background: #fafafa;
}

#country-delivery-header.has-selection {
  background: #b29450;
}

/* Ouvrir l'accordéon du pays de livraison par défaut */
.accordion-item:first-child .accordion-content {
  display: block;
}

.accordion-item:first-child .paid-header-icon {
  transform: rotate(0deg);
}