/**
 * Surcharge thème falcon — Cross Variant Linker (bloc « Autres versions disponibles »)
 * Remplace modules/crossvariantlinker/views/css/front.css (le StylesheetManager
 * de PrestaShop cherche d'abord dans le thème). Couleurs/rayons alignés sur falcon :
 * orange prix #e6721d / primaire #fd7e14, bordures #ced4da (champ quantité),
 * séparateur #dee2e6 (réassurance), rayon 0.4rem, police héritée (Quicksand).
 */
.cvl-versions {
  margin: 1rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid #dee2e6;
}
.cvl-versions__title {
  margin: 0 0 .625rem;
  font-size: 1rem;
  font-weight: 600;
  color: #212529;
}
.cvl-versions__list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.cvl-version {
  display: flex;
  align-items: center;
  gap: .75rem;
  height: 100%;
  padding: .5rem .75rem .5rem .5rem;
  border: 1px solid #ced4da;
  border-radius: .4rem;
  background: #fff;
  color: #212529;
  text-decoration: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.cvl-version:hover,
.cvl-version:focus {
  border-color: #fd7e14;
  background: #fff8f2;
  color: #212529;
  text-decoration: none;
}
.cvl-version:focus-visible {
  outline: 2px solid #fd7e14;
  outline-offset: 2px;
}
.cvl-version--current {
  border-color: #fd7e14;
  box-shadow: inset 0 0 0 1px #fd7e14;
}
.cvl-version__img {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: .25rem;
  background: #fff;
  overflow: hidden;
}
.cvl-version__img img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.cvl-version__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .125rem;
}
.cvl-version__name {
  font-size: .8125rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: #2c2c2c;
  overflow-wrap: anywhere;
}
.cvl-version__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .625rem;
}
.cvl-version__price {
  font-size: 1rem;
  font-weight: 700;
  color: #e6721d;
  white-space: nowrap;
}
.cvl-version__stock {
  font-size: .8125rem;
  color: #6c757d;
  white-space: nowrap;
}
.cvl-version__stock::before {
  content: "";
  display: inline-block;
  width: .45rem;
  height: .45rem;
  margin-right: .3rem;
  border-radius: 50%;
  background: #28a745;
  vertical-align: .05rem;
}
.cvl-version__arrow {
  flex: 0 0 auto;
  width: .5rem;
  height: .5rem;
  border-top: 2px solid #adb5bd;
  border-right: 2px solid #adb5bd;
  transform: rotate(45deg);
  transition: border-color .15s ease;
}
.cvl-version:hover .cvl-version__arrow,
.cvl-version:focus .cvl-version__arrow {
  border-color: #fd7e14;
}
@media (max-width: 575.98px) {
  .cvl-versions__list { grid-template-columns: 1fr; }
  .cvl-version__img { flex-basis: 48px; width: 48px; height: 48px; }
}
