/** Shopify CDN: Minification failed

Line 202:0 Unexpected "<"
Line 273:0 Unexpected "<"

**/
variant-selects {
  display: block;
}

.product--no-media .product-form__input--pill,
.product--no-media .product-form__input--swatch,
.product--no-media .product-form__input--dropdown {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product--no-media .product-form__input.product-form__input--pill,
.product--no-media .product-form__input.product-form__input--swatch {
  flex-wrap: wrap;
  margin: 0 auto 1.2rem auto;
}

.product--no-media .product-form__input--dropdown {
  flex-direction: column;
  max-width: 100%;
}

:is(.product-form__input--pill, .product-form__input--swatch) .form__label {
  margin-bottom: 0.2rem;
}

.product-form__input input[type='radio'] {
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  position: absolute;
  height: 1px;
  width: 1px;
}

.product-form__input input[type='radio']:not(.disabled):not(.visually-disabled) + label > .label-unavailable {
  display: none;
}

.product-form__input--dropdown {
  --swatch-input--size: 2rem;
  margin-bottom: 1.6rem;
}

.product-form__input--dropdown .dropdown-swatch + select {
  padding-left: calc(2.4rem + var(--swatch-input--size));
}

.product-form__input--dropdown .dropdown-swatch {
  position: absolute;
  left: 1.6rem;
  top: calc(50% - var(--swatch-input--size) / 2);
  width: var(--swatch-input--size);
  height: var(--swatch-input--size);
  z-index: 1;
}

/* Custom styles for Pill display type - Gold Border */
.product-form__input--pill input[type='radio'] {
width: 0px; /* Cacher le bouton radio */
height: 0px; /* Cacher le bouton radio */
border-radius: 50%; /* Pour que le bouton radio soit rond */
background-color: rgb(255, 230, 230); /* Fond rouge clair */
transition: all 0.3s ease-in-out;
cursor: pointer;
position: relative;
}

/* Alignement des variantes - Flexbox pour les organiser horizontalement et les centrer */
.product-form__input--pill {
  display: flex;
  flex-direction: column; /* Si tu veux les aligner verticalement */
  align-items: center; /* Centre horizontalement les labels */
  justify-content: center; /* Centre verticalement si nécessaire */
  text-align: center; /* Assure que le texte dans les labels est centré */
  margin: 0.2rem 0;
}

/* Modification des angles et de la taille du label */
.product-form__input--pill input[type='radio'] + label {
width: 300px; /* Largeur du label personnalisé */
border: 2px solid #FFD700; /* Bordure dorée */
background-color: black; /* Fond noir par défaut */
color: white; /* Texte blanc */
border-radius: 12px; /* Bord arrondi */
display: inline-block;
margin: 0.5rem; /* Espacement */
padding: 1rem 2rem;
font-size: 1.4rem;
font-weight: normal; /* Texte normal par défaut */
letter-spacing: 0.1rem;
line-height: 1;
text-align: center;
transition: all 0.3s ease-in-out;
cursor: pointer;
position: relative;
}

/* Effet au survol */
.product-form__input--pill input[type='radio']:hover + label {
background: linear-gradient(90deg, black, ); /* Léger dégradé noir-gris */
border-color: #FFD700 !important; /* Bordure dorée */
font-weight: bold; /* Texte en gras */
box-shadow: 0 4px 10px rgba(255, 215, 0, 0.6) !important; /* Ombre dorée subtile */
transform: scale(1.05); /* Léger agrandissement */
}

/* Effet lorsqu’un bouton est sélectionné */
.product-form__input--pill input[type='radio']:checked + label {
background: black !important; /* Fond noir */
color: white !important; /* Texte blanc */
font-weight: bold !important; /* Texte en gras */
border-color: #FFD700 !important; /* Bordure dorée */
font-weight: bold; /* Texte en gras */
box-shadow: 0 6px 12px rgba(255, 215, 0, 0.8) !important; /* Ombre dorée plus marquée */
transform: scale(1.08); /* Effet d'agrandissement léger */
}

.product-form__input--pill input[type='radio'] + label:before {
  content: '';
  position: absolute;
  top: calc(var(--variant-pills-border-width) * -1);
  right: calc(var(--variant-pills-border-width) * -1);
  bottom: calc(var(--variant-pills-border-width) * -1);
  left: calc(var(--variant-pills-border-width) * -1);
  z-index: -1;
  border-radius: var(--variant-pills-radius);
  box-shadow: var(--variant-pills-shadow-horizontal-offset) var(--variant-pills-shadow-vertical-offset)
    var(--variant-pills-shadow-blur-radius) rgba(var(--color-shadow), var(--variant-pills-shadow-opacity));
}

.product-form__input--pill input[type='radio'] + label:hover {
  border-color: rgb(var(--color-foreground));
}

.product-form__input--pill input[type='radio']:checked + label {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
}

@media screen and (forced-colors: active) {
  .product-form__input--pill input[type='radio']:checked + label {
    text-decoration: underline;
  }

  .product-form__input--pill input[type='radio']:focus-visible + label {
    outline: transparent solid 1px;
    outline-offset: 2px;
  }
}

.product-form__input--pill input[type='radio']:checked + label::selection {
  background-color: rgba(var(--color-background), 0.3);
}

.product-form__input--pill input[type='radio']:disabled + label,
.product-form__input--pill input[type='radio'].disabled + label {
  border-color: rgba(var(--color-foreground), 0.1);
  color: rgba(var(--color-foreground), 0.6);
  text-decoration: line-through;
}

.product-form__input--pill input[type='radio'].disabled:checked + label,
.product-form__input--pill input[type='radio']:disabled:checked + label {
  color: rgba(var(--color-background), 0.6);
}
.product-form__input--pill input[type='radio']:focus-visible + label {
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0 0.5rem rgba(var(--color-foreground), 0.55);
}

/* Fallback */
.product-form__input--pill input[type='radio'].focused + label {
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0 0.5rem rgba(var(--color-foreground), 0.55);
}

/* Custom styles for Swatch display type */
.product-form__input--swatch {
  display: flex;
  flex-wrap: wrap;
}

.product-form__input--swatch .swatch-input__input + .swatch-input__label {
  --swatch-input--size: 3.6rem;

  margin: 0.7rem 1.2rem 0.2rem 0;
}

@media screen and (min-width: 750px) {
  .product-form__input--swatch .swatch-input__input + .swatch-input__label {
    --swatch-input--size: 2.8rem;
  }
}
/* End custom styles for Swatch display type */

<style>
.variant-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  justify-content: flex-start;
  font-family: "Clash Display", system-ui, sans-serif !important;
}

.variant-card {
  width: calc(50% - 0.6rem);
  background: #B674C8;
  border: 0.125rem solid transparent;
  border-radius: 0.625rem;
  padding: 1rem 1.125rem;
  cursor: pointer;
  transition: all .2s ease-in-out;
  color: #fff;
  position: relative;
  text-align: left;
}

.variant-card:hover,
.variant-card.selected {
  background: #9E58B5;
  border-color: #fff;
  box-shadow: 0 0 .375rem rgba(255, 255, 255, .2);
}

.variant-info {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}

.variant-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  flex-wrap: nowrap;
}

.left-group {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-grow: 1;
}

.variant-grammage {
  font-weight: 700;
  font-size: 1.4rem;
}

.variant-price {
  font-weight: 700;
  font-size: 1.6rem;
  color: #fff;
}

@media (max-width: 650px) {
  .variant-card {
    width: calc(50% - 0.6rem);
  }

  .variant-top {
    flex-direction: column;
    align-items: flex-start;
  }
}
</style>
