/** Shopify CDN: Minification failed

Line 282:2 Expected ":"
Line 2589:16 Unexpected "{"
Line 2589:25 Expected ":"
Line 2590:2 Expected ":"
Line 2591:24 Expected identifier but found whitespace
Line 2591:26 Unexpected "{"
Line 2591:35 Expected ":"
Line 2591:89 Expected ":"
Line 2592:2 Expected ":"
Line 2603:6 Unexpected "@media"
... and 11 more hidden warnings

**/

product-info {
  display: block;
}

.product {
  margin: 0;
}

.product.grid {
  gap: 0;
}

.product--no-media {
  max-width: 57rem;
  margin: 0 auto;
}

.product__media-wrapper {
  padding-left: 0;
}

@media screen and (min-width: 750px) {
  .product__column-sticky {
    display: block;
    position: sticky;
    top: 3rem;
    z-index: 2;
  }

  .product--thumbnail .thumbnail-list {
    padding-right: var(--media-shadow-horizontal-offset);
  }

  .product__info-wrapper {
    padding: 0 0 0 5rem;
  }

  .product__info-wrapper--extra-padding {
    padding: 0 0 0 8rem;
  }

  .product--right .product__info-wrapper {
    padding: 0 5rem 0 0;
  }

  .product--right .product__info-wrapper--extra-padding {
    padding: 0 8rem 0 0;
  }

  .product--right .product__media-list {
    margin-bottom: 2rem;
  }

  .product__media-container .slider-buttons {
    display: none;
  }

  .product--right .product__media-wrapper {
    order: 2;
  }
}

@media screen and (min-width: 990px) {
  .product--large:not(.product--no-media) .product__media-wrapper {
    max-width: 65%;
    width: calc(65% - var(--grid-desktop-horizontal-spacing) / 2);
  }

  .product--large:not(.product--no-media) .product__info-wrapper {
    padding: 0 7rem 0 7rem;
    max-width: 35%;
    width: calc(35% - var(--grid-desktop-horizontal-spacing) / 2);
  }

  .product--large:not(.product--no-media).product--right .product__info-wrapper {
    padding: 0 4rem 0 0;
  }

  .product--medium:not(.product--no-media) .product__media-wrapper,
  .product--small:not(.product--no-media) .product__info-wrapper {
    max-width: 55%;
    width: calc(55% - var(--grid-desktop-horizontal-spacing) / 2);
  }

  .product--medium:not(.product--no-media) .product__info-wrapper,
  .product--small:not(.product--no-media) .product__media-wrapper {
    max-width: 45%;
    width: calc(45% - var(--grid-desktop-horizontal-spacing) / 2);
  }
}

/* Dynamic checkout */

.shopify-payment-button__button {
  font-family: inherit;
  min-height: 4.6rem;
}

.shopify-payment-button__button [role='button'].focused {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5) !important;
  outline-offset: 0.3rem;
  box-shadow: 0 0 0 0.1rem rgba(var(--color-button), var(--alpha-button-border)),
    0 0 0 0.3rem rgb(var(--color-background)), 0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3) !important;
}

.shopify-payment-button__button [role='button']:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: none !important;
}

.shopify-payment-button__button [role='button']:focus-visible {
  outline: 0.2rem solid rgba(var(--color-foreground), 0.5) !important;
  box-shadow: 0 0 0 0.1rem rgba(var(--color-button), var(--alpha-button-border)),
    0 0 0 0.3rem rgb(var(--color-background)), 0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3) !important;
}

.shopify-payment-button__button--unbranded {
  background-color: rgba(var(--color-button), var(--alpha-button-background));
  color: rgb(var(--color-button-text));
  font-size: 1.4rem;
  line-height: calc(1 + 0.2 / var(--font-body-scale));
  letter-spacing: 0.07rem;
}

.shopify-payment-button__button--unbranded::selection {
  background-color: rgba(var(--color-button-text), 0.3);
}

.shopify-payment-button__button--unbranded:hover,
.shopify-payment-button__button--unbranded:hover:not([disabled]) {
  background-color: rgba(var(--color-button), var(--alpha-button-background));
}

.shopify-payment-button__more-options {
  margin: 1.6rem 0 1rem;
  font-size: 1.2rem;
  line-height: calc(1 + 0.5 / var(--font-body-scale));
  letter-spacing: 0.05rem;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.shopify-payment-button__button + .shopify-payment-button__button--hidden {
  display: none;
}

/* Product form */

.product-form {
  display: block;
}

.product-form__error-message-wrapper:not([hidden]) {
  display: flex;
  align-items: flex-start;
  font-size: 1.3rem;
  line-height: 1.4;
  letter-spacing: 0.04rem;
  margin-bottom: 1.5rem;
}

.product-form__error-message-wrapper .svg-wrapper {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.7rem;
  margin-top: 0.25rem;
}

/* Form Elements */
.product-form__input {
  flex: 0 0 100%;
  padding: 0;
  margin: 0 0 1.2rem 0;
  max-width: 44rem;
  min-width: fit-content;
  border: none;
}

.product-form__input .form__label {
  padding-left: 0;
}

.product-form__input .select {
  max-width: 100%;
}

.product-form__input .svg-wrapper {
  right: 1.5rem;
}

.product-form__submit {
  margin-bottom: 1rem;
}

.product-form__submit[aria-disabled='true'] + .shopify-payment-button .shopify-payment-button__button[disabled],
.product-form__submit[disabled] + .shopify-payment-button .shopify-payment-button__button[disabled] {
  cursor: not-allowed;
  opacity: 0.5;
}

@media screen and (forced-colors: active) {
  .product-form__submit[aria-disabled='true'] {
    color: Window;
  }
}

/* Overrides */
.shopify-payment-button__more-options {
  color: rgb(var(--color-foreground));
}

.shopify-payment-button__button {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
}

/* Product info */

.product__info-container > * + * {
  margin: 0 0;
}

.product__info-container iframe {
  max-width: 100%;
}

.product__info-container .product-form,
.product__info-container .product__description,
.product__info-container .icon-with-text {
  margin: 2.5rem 0;
}

.product__text {
  margin-bottom: 0;
}

a.product__text {
  display: block;
  text-decoration: none;
  color: rgba(var(--color-foreground), 0.75);
}

.product__text.caption-with-letter-spacing {
  text-transform: uppercase;
}

.product__title {
  word-break: break-word;
  margin-bottom: 1.5rem;
}

.product__title > * {
  margin: 0;
}

.product__title > a {
  display: none;
}

.product__title + .product__text.caption-with-letter-spacing {
  margin-top: -1.5rem;
}

.product__text.caption-with-letter-spacing + .product__title {
  margin-top: 0;
}

.product__accordion .accordion__content {
  padding: 0 1rem;
}

.product .price .badge {
  margin-bottom: 0.5rem;
}

.product .price__container {
  margin-bottom: 0.5rem;
}

.product .price dl {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.product .price--sold-out .price__badge-sale {
  display: none;
}

@media screen and (min-width: 750px) {
  .product__info-container {
    max-width: 60rem;
  }

  .product__info-container .price--on-sale .price-item--regular {
    font-size: 1.6rem;
  }

  .product__info-container > *:first-child {
    margin-top: 0;
  }
}

.product__description-title {
  font-weight: 600;
}

.product--no-media .product__title,
.product--no-media .product__text,
.product--no-media .product__tax,
.product--no-media .product__sku,
.product--no-media shopify-payment-terms {
  text-align: center;
}

.product--no-media .product__media-wrapper,
.product--no-media .product__info-wrapper {
  padding: 0;
}

.product__tax {
  margin-top: -1.4rem;
}

.product--no-media .share-button {
  max-width: 100%;
}

.product--no-media .product-form__quantity,
.product--no-media .share-button,
.product--no-media .product__view-details,
.product--no-media .product__pickup-availabilities,
.product--no-media .product-form {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product--no-media .product-form {
  flex-direction: column;
}

.product--no-media .product-form > .form {
  max-width: 30rem;
  width: 100%;
}

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

.product-form__quantity .form__label {
  margin-bottom: 0.6rem;
}

.price-per-item__label.form__label {
  margin-bottom: 0rem;
}

.product-form__quantity-top .form__label {
  margin-bottom: 1.2rem;
}

.product-form__buttons {
  max-width: 44rem;
}

.product--no-media .product__info-container > modal-opener {
  display: block;
  text-align: center;
}

.product--no-media .product-popup-modal__button {
  padding-right: 0;
}

.product--no-media .price {
  text-align: center;
}

/* Product media */
.product__media-list video {
  border-radius: calc(var(--media-radius) - var(--media-border-width));
}

@media screen and (max-width: 749px) {
  .product__media-list {
    margin-left: -2.5rem;
    margin-bottom: 3rem;
    width: calc(100% + 4rem);
  }

  .product__media-wrapper slider-component:not(.thumbnail-slider--no-slide) {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }

  .slider.product__media-list::-webkit-scrollbar {
    height: 0.2rem;
    width: 0.2rem;
  }

  .product__media-list::-webkit-scrollbar-thumb {
    background-color: rgb(var(--color-foreground));
  }

  .product__media-list::-webkit-scrollbar-track {
    background-color: rgba(var(--color-foreground), 0.2);
  }

  .product__media-list .product__media-item {
    width: calc(100% - 3rem - var(--grid-mobile-horizontal-spacing));
  }

  .product--mobile-columns .product__media-item {
    width: calc(50% - 1.5rem - var(--grid-mobile-horizontal-spacing));
  }
}

@media screen and (min-width: 750px) {
  .product--thumbnail .product__media-list,
  .product--thumbnail_slider .product__media-list {
    padding-bottom: calc(var(--media-shadow-vertical-offset) * var(--media-shadow-visible));
  }

  .product__media-list {
    padding-right: calc(var(--media-shadow-horizontal-offset) * var(--media-shadow-visible));
  }

  .product--thumbnail .product__media-item:not(.is-active),
  .product--thumbnail_slider .product__media-item:not(.is-active) {
    display: none;
  }

  .product-media-modal__content > .product__media-item--variant.product__media-item--variant {
    display: none;
  }

  .product-media-modal__content > .product__media-item--variant:first-child {
    display: block;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .product__media-list .product__media-item:first-child {
    padding-left: 0;
  }

  .product--thumbnail_slider .product__media-list {
    margin-left: 0;
  }

  .product__media-list .product__media-item {
    width: 100%;
  }
}

.product__media-icon .icon {
  width: 1.2rem;
  height: 1.4rem;
}

.product__media-icon,
.thumbnail__badge {
  background-color: rgb(var(--color-background));
  border-radius: 50%;
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  color: rgb(var(--color-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  position: absolute;
  left: 1.2rem;
  top: 1.2rem;
  z-index: 1;
  transition: color var(--duration-short) ease, opacity var(--duration-short) ease;
}

.product__media-video .product__media-icon {
  opacity: 1;
}

.product__modal-opener--image .product__media-toggle:hover {
  cursor: zoom-in;
}

.product__modal-opener:hover .product__media-icon {
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
}

@media screen and (min-width: 750px) {
  .grid__item.product__media-item--full {
    width: 100%;
  }

  .product--columns .product__media-item:not(.product__media-item--single):not(:only-child) {
    max-width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
  }

  .product--large.product--columns .product__media-item--full .deferred-media__poster-button {
    height: 5rem;
    width: 5rem;
  }

  .product--medium.product--columns .product__media-item--full .deferred-media__poster-button {
    height: 4.2rem;
    width: 4.2rem;
  }

  .product--medium.product--columns .product__media-item--full .deferred-media__poster-button .icon {
    width: 1.8rem;
    height: 1.8rem;
  }

  .product--small.product--columns .product__media-item--full .deferred-media__poster-button {
    height: 3.6rem;
    width: 3.6rem;
  }

  .product--small.product--columns .product__media-item--full .deferred-media__poster-button .icon {
    width: 1.6rem;
    height: 1.6rem;
  }
}

@media screen and (min-width: 990px) {
  .product--stacked .product__media-item {
    max-width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
  }

  .product:not(.product--columns) .product__media-list .product__media-item:first-child,
  .product:not(.product--columns) .product__media-list .product__media-item--full {
    width: 100%;
    max-width: 100%;
  }

  .product__modal-opener .product__media-icon {
    opacity: 0;
  }

  .product__modal-opener:hover .product__media-icon,
  .product__modal-opener:focus .product__media-icon {
    opacity: 1;
  }
}

.product__media-item > * {
  display: block;
  position: relative;
}

.product__media-toggle {
  display: flex;
  border: none;
  background-color: transparent;
  color: currentColor;
  padding: 0;
}

.product__media-toggle::after {
  content: '';
  cursor: pointer;
  display: block;
  margin: 0;
  padding: 0;
  position: absolute;
  top: calc(var(--border-width) * -1);
  right: calc(var(--border-width) * -1);
  bottom: calc(var(--border-width) * -1);
  left: calc(var(--border-width) * -1);
  z-index: 2;
}

.product__media-toggle:focus-visible {
  outline: 0;
  box-shadow: none;
}

/* outline styling for Windows High Contrast Mode */
@media (forced-colors: active) {
  .product__media-toggle:focus-visible,
  .product__media-toggle:focus-visible:after {
    outline: transparent solid 1px;
    outline-offset: 2px;
  }
}
.product__media-toggle.focused {
  outline: 0;
  box-shadow: none;
}

.product__media-toggle:focus-visible:after {
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0rem 0.5rem rgba(var(--color-foreground), 0.5);
  border-radius: var(--media-radius);
}

.product__media-toggle.focused:after {
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0rem 0.5rem rgba(var(--color-foreground), 0.5);
  border-radius: var(--media-radius);
}

.product-media-modal {
  background-color: rgb(var(--color-background));
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  z-index: -1;
}

.product-media-modal[open] {
  visibility: visible;
  opacity: 1;
  z-index: 101;
}

.product-media-modal__dialog {
  display: flex;
  align-items: center;
  height: 100vh;
}

.product-media-modal__content {
  max-height: 100vh;
  width: 100%;
  overflow: auto;
}

.product-media-modal__content > *:not(.active),
.product__media-list .deferred-media {
  display: none;
}

@media screen and (min-width: 750px) {
  .product-media-modal__content {
    padding-bottom: 2rem;
  }

  .product-media-modal__content > *:not(.active) {
    display: block;
  }

  .product__modal-opener:not(.product__modal-opener--image) {
    display: none;
  }

  .product__media-list .deferred-media {
    display: block;
  }
}

/* ============================================================================
   📱 GALERIE MOBILE : RECADRAGE CENTRÉ ET SLIDES À 70%
   ============================================================================ */
@media screen and (max-width: 749px) {

  /* 1. Neutraliser les conteneurs parents pour coller au bord gauche */
  .product__media-wrapper,
  .slider-mobile-gutter,
  slider-component.page-width {
    padding: 0 !important;
    margin: 0 !important;
    width: 100vw !important;
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  /* 2. Piste du carrousel : Scroll libre (sans à-coups) et collé à gauche */
  ul.product__media-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    scroll-snap-type: none !important; /* DÉSACTIVE LES À-COUPS */
    -webkit-overflow-scrolling: touch !important;
    gap: 0 !important; 
    column-gap: 0 !important;
    padding: 0 !important;
    margin-left: 0 !important; /* L'image est collée tout à gauche */
    width: 100vw !important;
  }

  /* Cache la scrollbar horizontale */
  ul.product__media-list::-webkit-scrollbar {
    display: none !important;
  }

  /* 3. RÉGLAGE DES ELEMENTS DE SLIDE : 70%, ESPACEMENT 15PX */
  li.product__media-item.grid__item.slider__slide {
    width: 70vw !important;
    min-width: 70vw !important;
    max-width: 70vw !important;
    flex: 0 0 70vw !important;
    padding: 0 !important;
    margin-right: 1px !important; /* L'espace entre les images */
    margin-left: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    scroll-snap-align: none !important; /* DÉSACTIVE LES À-COUPS */
  }

  /* Espace après la toute dernière image */
  li.product__media-item.grid__item.slider__slide:last-child {
    margin-right: 15vw !important;
  }

  /* ========================================================================
     4. CADRAGE DES MÉDIAS DANS LE CARROUSEL
     ======================================================================== */

  /* A. On s'assure que tous les parents prennent bien 100% de la largeur */
  li.product__media-item.grid__item.slider__slide .product-media-container,
  li.product__media-item.grid__item.slider__slide modal-opener {
    display: block !important;
    width: 100% !important;
    height: auto !important;
  }

  /* B. Cadre carré par défaut pour les médias autres que les photos. */
  li.product__media-item.grid__item.slider__slide .media {
    padding-top: 100% !important; /* 100% de la largeur = Hauteur égale à la largeur (Carré) */
    height: 0 !important; 
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
  }

  /* Les photos gardent le même format 6:7 que la galerie sur ordinateur. */
  li.product__media-item.grid__item.slider__slide .media-type-image .media {
    padding-top: var(--ratio-percent) !important;
  }

  /* C. Remplir le cadre sans déformation, avec un recadrage centré. */
  li.product__media-item.grid__item.slider__slide .media img,
  li.product__media-item.grid__item.slider__slide .media video {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important; /* Centre l'image proprement */
  }

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

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

  /* 5. Remettre les marges standard uniquement pour les textes sous le carrousel */
  .product__info-wrapper {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
    margin-top: 1.5rem !important;
  }
}

.product-media-modal__content > * {
  display: block;
  height: auto;
  margin: auto;
}

.product-media-modal__content .media {
  background: none;
}

.product-media-modal__model {
  width: 100%;
}

.product-media-modal__toggle {
  background-color: rgb(var(--color-background));
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  border-radius: 50%;
  color: rgba(var(--color-foreground), 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  right: 2rem;
  padding: 1.2rem;
  position: fixed;
  z-index: 2;
  top: 2rem;
  width: 4rem;
}

.product-media-modal__content .deferred-media {
  width: 100%;
}

@media screen and (min-width: 750px) {
  .product-media-modal__content {
    padding: 2rem 11rem;
  }

  .product-media-modal__content > * {
    width: 100%;
  }

  .product-media-modal__content > * + * {
    margin-top: 2rem;
  }

  .product-media-modal__toggle {
    right: 5rem;
    top: 2.2rem;
  }
}

@media screen and (min-width: 990px) {
  .product-media-modal__content {
    padding: 2rem 11rem;
  }

  .product-media-modal__content > * + * {
    margin-top: 1.5rem;
  }

  .product-media-modal__content {
    padding-bottom: 1.5rem;
  }

  .product-media-modal__toggle {
    right: 5rem;
  }
}

.product-media-modal__toggle:hover {
  color: rgba(var(--color-foreground), 0.75);
}

.product-media-modal__toggle .icon {
  height: auto;
  margin: 0;
  width: 2.2rem;
}

/* Product popup */

.product-popup-modal {
  box-sizing: border-box;
  opacity: 0;
  position: fixed;
  visibility: hidden;
  z-index: -1;
  margin: 0 auto;
  top: 0;
  left: 0;
  overflow: auto;
  width: 100%;
  background: rgba(var(--color-foreground), 0.2);
  height: 100%;
}

.product-popup-modal[open] {
  opacity: 1;
  visibility: visible;
  z-index: 101;
}

.product-popup-modal__content {
  border-radius: var(--popup-corner-radius);
  background-color: rgb(var(--color-background));
  overflow: auto;
  height: 80%;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5rem;
  width: 92%;
  position: absolute;
  top: 0;
  padding: 0 1.5rem 0 3rem;
  border-color: rgba(var(--color-foreground), var(--popup-border-opacity));
  border-style: solid;
  border-width: var(--popup-border-width);
  box-shadow: var(--popup-shadow-horizontal-offset) var(--popup-shadow-vertical-offset) var(--popup-shadow-blur-radius)
    rgba(var(--color-shadow), var(--popup-shadow-opacity));
}

.product-popup-modal__content.focused {
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3),
    var(--popup-shadow-horizontal-offset) var(--popup-shadow-vertical-offset) var(--popup-shadow-blur-radius)
      rgba(var(--color-shadow), var(--popup-shadow-opacity));
}

.product-popup-modal__content:focus-visible {
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0.5rem 0.4rem rgba(var(--color-foreground), 0.3),
    var(--popup-shadow-horizontal-offset) var(--popup-shadow-vertical-offset) var(--popup-shadow-blur-radius)
      rgba(var(--color-shadow), var(--popup-shadow-opacity));
}

@media screen and (min-width: 750px) {
  .product-popup-modal__content {
    padding-right: 1.5rem;
    margin-top: 10rem;
    width: 70%;
    padding: 0 3rem;
  }

  .product-media-modal__dialog .global-media-settings--no-shadow {
    overflow: visible !important;
  }
}

.product-popup-modal__content img {
  max-width: 100%;
}

@media screen and (max-width: 749px) {
  .product-popup-modal__content table {
    display: block;
    max-width: fit-content;
    overflow-x: auto;
    white-space: nowrap;
    margin: 0;
  }

  .product-media-modal__dialog .global-media-settings,
  .product-media-modal__dialog .global-media-settings video,
  .product-media-modal__dialog .global-media-settings model-viewer,
  .product-media-modal__dialog .global-media-settings iframe,
  .product-media-modal__dialog .global-media-settings img {
    border: none;
    border-radius: 0;
  }
}

.product-popup-modal__opener {
  display: inline-block;
}

.product-popup-modal__button {
  font-size: 1.6rem;
  padding-right: 1.3rem;
  padding-left: 0;
  min-height: 4.4rem;
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 0.1rem;
  transition: text-decoration-thickness var(--duration-short) ease;
}

.product-popup-modal__button:hover {
  text-decoration-thickness: 0.2rem;
}

.product-popup-modal__content-info {
  padding-right: 4.4rem;
}

.product-popup-modal__content-info > * {
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

@media screen and (max-width: 749px) {
  .product-popup-modal__content-info > * {
    max-height: 100%;
  }
}

.product-popup-modal__toggle {
  background-color: rgb(var(--color-background));
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  border-radius: 50%;
  color: rgba(var(--color-foreground), 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: sticky;
  padding: 1.2rem;
  z-index: 2;
  top: 1.5rem;
  width: 4rem;
  margin: 0 0 0 auto;
}

.product-popup-modal__toggle:hover {
  color: rgba(var(--color-foreground), 0.75);
}

.product-popup-modal__toggle .icon {
  height: auto;
  margin: 0;
  width: 2.2rem;
}

.product__media-list .media > * {
  overflow: hidden;
}

.thumbnail-list {
  flex-wrap: wrap;
  grid-gap: 1rem;
}

/* Fix to show some space at the end of our sliders in all browsers to be applied on thumbnails */
.slider--mobile.thumbnail-list:after {
  content: none;
}

@media screen and (min-width: 750px) {
  .product--stacked .thumbnail-list {
    display: none;
  }

  .thumbnail-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
  }
}

.thumbnail-list_item--variant:not(:first-child) {
  display: none;
}

@media screen and (min-width: 990px) {
  .thumbnail-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .product--medium .thumbnail-list {
    grid-template-columns: repeat(5, 1fr);
  }

  .product--large .thumbnail-list {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media screen and (max-width: 749px) {
  .product__media-item {
    display: flex;
    align-items: center;
  }

  .product__modal-opener {
    width: 100%;
  }

  .thumbnail-slider {
    display: flex;
    align-items: center;
  }

  .thumbnail-slider .thumbnail-list.slider {
    display: flex;
    padding: 0.5rem;
    flex: 1;
    scroll-padding-left: 0.5rem;
  }

  .thumbnail-list__item.slider__slide {
    width: calc(33% - 0.6rem);
  }
}

@media screen and (min-width: 750px) {
  .product--thumbnail_slider .thumbnail-slider {
    display: flex;
    align-items: center;
  }

  .thumbnail-slider .thumbnail-list.slider--tablet-up {
    display: flex;
    padding: 0.5rem;
    flex: 1;
    scroll-padding-left: 0.5rem;
  }

  .product__media-wrapper .slider-mobile-gutter .slider-button {
    display: none;
  }

  .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
    width: calc(25% - 0.8rem);
  }

  .product--thumbnail_slider .slider-mobile-gutter .slider-button {
    display: flex;
  }
}

@media screen and (min-width: 900px) {
  .product--small .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
    width: calc(25% - 0.8rem);
  }

  .thumbnail-list.slider--tablet-up .thumbnail-list__item.slider__slide {
    width: calc(20% - 0.8rem);
  }
}

.thumbnail {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  height: 100%;
  width: 100%;
  padding: 0;
  color: rgb(var(--color-foreground));
  cursor: pointer;
  background-color: transparent;
}

.thumbnail:hover {
  opacity: 0.7;
}

.thumbnail.global-media-settings img {
  border-radius: 0;
}

.thumbnail[aria-current] {
  box-shadow: 0 0 0rem 0.1rem rgb(var(--color-foreground));
  border-color: rgb(var(--color-foreground));
}

.image-magnify-full-size {
  cursor: zoom-out;
  z-index: 1;
  margin: 0;
  border-radius: calc(var(--media-radius) - var(--media-border-width));
}

.image-magnify-hover {
  cursor: zoom-in;
}

.product__modal-opener--image .product__media-zoom-none,
.product__media-icon--none {
  display: none;
}

.product__modal-opener > .loading__spinner {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  position: absolute;
  display: flex;
  align-items: center;
  height: 48px;
  width: 48px;
}

.product__modal-opener .path {
  stroke: rgb(var(--color-button));
  opacity: 0.75;
}

@media (hover: hover) {
  .product__media-zoom-hover,
  .product__media-icon--hover {
    display: none;
  }
}

@media screen and (max-width: 749px) {
  .product__media-zoom-hover,
  .product__media-icon--hover {
    display: flex;
  }
}

.js .product__media {
  overflow: hidden !important;
}

.thumbnail[aria-current]:focus-visible {
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0rem 0.5rem rgba(var(--color-foreground), 0.5);
}

.thumbnail[aria-current]:focus,
.thumbnail.focused {
  outline: 0;
  box-shadow: 0 0 0 0.3rem rgb(var(--color-background)), 0 0 0rem 0.5rem rgba(var(--color-foreground), 0.5);
}

/* outline styling for Windows High Contrast Mode */
@media (forced-colors: active) {
  .thumbnail[aria-current]:focus,
  .thumbnail.focused {
    outline: transparent solid 1px;
  }
}
.thumbnail[aria-current]:focus:not(:focus-visible) {
  outline: 0;
  box-shadow: 0 0 0 0.1rem rgb(var(--color-foreground));
}

.thumbnail img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.thumbnail__badge .icon {
  width: 1rem;
  height: 1rem;
}

.thumbnail__badge .icon-3d-model {
  width: 1.2rem;
  height: 1.2rem;
}

.thumbnail__badge {
  color: rgb(var(--color-foreground), 0.6);
  height: 2rem;
  width: 2rem;
  left: auto;
  right: calc(0.4rem + var(--media-border-width));
  top: calc(0.4rem + var(--media-border-width));
}

@media screen and (min-width: 750px) {
  .product:not(.product--small) .thumbnail__badge {
    height: 3rem;
    width: 3rem;
  }

  .product:not(.product--small) .thumbnail__badge .icon {
    width: 1.2rem;
    height: 1.2rem;
  }

  .product:not(.product--small) .thumbnail__badge .icon-3d-model {
    width: 1.4rem;
    height: 1.4rem;
  }
}

.thumbnail-list__item {
  position: relative;
}

.thumbnail-list__item::before {
  content: '';
  display: block;
  padding-bottom: 100%;
}

.product:not(.featured-product) .product__view-details {
  display: none;
}

.product__view-details {
  display: block;
  text-decoration: none;
}

.product__view-details:hover {
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

.product__view-details .icon {
  width: 1.2rem;
  margin-left: 1.2rem;
  flex-shrink: 0;
}

/* Inventory status */

.product__inventory {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.product__inventory .svg-wrapper,
.product__inventory svg {
  width: 15px;
  height: 15px;
}

.product--no-media .product__inventory {
  justify-content: center;
}

/* This keeps the container from getting display: none; applied to it and to make sure we're not introducing some layout shift when switching to an unavailable variant */
.product__inventory.visibility-hidden:empty {
  display: block;
}

.product__inventory.visibility-hidden:empty::after {
  content: '#';
}

.product__inventory .icon-inventory-status circle:first-of-type {
  opacity: .3;
}

/* Icon with text */
.icon-with-text {
  --icon-size: calc(var(--font-heading-scale) * 3rem);
  --icon-spacing: calc(var(--font-heading-scale) * 1rem);
}

.icon-with-text--horizontal {
  display: flex;
  justify-content: center;
  column-gap: 3rem;
  flex-direction: row;
}

.icon-with-text--vertical {
  --icon-size: calc(var(--font-heading-scale) * 2rem);
}

.icon-with-text .svg-wrapper {
  fill: rgb(var(--color-foreground));
  height: var(--icon-size);
  width: var(--icon-size);
}

.icon-with-text--horizontal .svg-wrapper,
.icon-with-text--horizontal img {
  margin-bottom: var(--icon-spacing);
}

.icon-with-text--vertical .svg-wrapper {
  min-height: var(--icon-size);
  min-width: var(--icon-size);
  margin-right: var(--icon-spacing);
}

.icon-with-text img {
  height: var(--icon-size);
  width: var(--icon-size);
  object-fit: contain;
}

.icon-with-text--vertical img {
  margin-right: var(--icon-spacing);
}

.icon-with-text--horizontal .h4 {
  padding-top: calc(var(--icon-size) + var(--icon-spacing));
  text-align: center;
}

.icon-with-text--horizontal .svg-wrapper + .h4,
.icon-with-text--horizontal img + .h4,
.icon-with-text--horizontal.icon-with-text--text-only .h4 {
  padding-top: 0;
}

.icon-with-text__item {
  display: flex;
  align-items: center;
}

.icon-with-text--horizontal .icon-with-text__item {
  flex-direction: column;
  width: 33%;
}

.icon-with-text--vertical .icon-with-text__item {
  margin-bottom: var(--icon-size);
}

/* SKU block */

.product__sku.visibility-hidden::after {
  content: '#';
}

/* Product-thumbnail snippet */

.product-media-container {
  --aspect-ratio: var(--preview-ratio);
  --ratio-percent: calc(1 / var(--aspect-ratio) * 100%);
  position: relative;
  width: 100%;
  max-width: calc(100% - calc(var(--media-border-width) * 2));
}

/* Product photos use the packshot format (3000 × 3500), regardless of source size.
   Scope this to the gallery: the lightbox keeps the original image proportions. */
.product__media-list .product-media-container.media-type-image {
  --aspect-ratio: calc(6 / 7);
}

.product__media-list .media-type-image .product__media img {
  object-fit: cover;
  object-position: center !important;
}

.product-media-container.constrain-height {
  /* arbitrary offset value based on average theme spacing and header height */
  --viewport-offset: 400px;
  --constrained-min-height: 300px;
  --constrained-height: max(var(--constrained-min-height), calc(100vh - var(--viewport-offset)));
  margin-right: auto;
  margin-left: auto;
}

.product-media-container.constrain-height.media-fit-contain {
  --contained-width: calc(var(--constrained-height) * var(--aspect-ratio));
  width: min(var(--contained-width), 100%);
}

.product-media-container .media {
  padding-top: var(--ratio-percent);
}

.product-media-container.constrain-height .media {
  padding-top: min(var(--constrained-height), var(--ratio-percent));
}

@media screen and (max-width: 749px) {
  .product-media-container.media-fit-cover {
    display: flex;
    align-self: stretch;
  }

  .product-media-container.media-fit-cover .media {
    /* allow media img element to scale relative to modal-opener/product-media-container */
    position: initial;
  }
}

@media screen and (min-width: 750px) {
  .product-media-container {
    max-width: 100%;
  }

  .product-media-container:not(.media-type-image) {
    /* override to use actual media ratio (not poster ratio) for video/models on desktop */
    --aspect-ratio: var(--ratio);
  }

  .product-media-container.constrain-height {
    --viewport-offset: 170px;
    --constrained-min-height: 500px;
  }

  .product-media-container.media-fit-cover,
  .product-media-container.media-fit-cover .product__modal-opener,
  .product-media-container.media-fit-cover .media {
    height: 100%;
  }

  .product-media-container.media-fit-cover .deferred-media__poster img {
    object-fit: cover;
    width: 100%;
  }
}

.product-media-container .product__modal-opener {
  display: block;
  position: relative;
}

@media screen and (min-width: 750px) {
  .product-media-container .product__modal-opener:not(.product__modal-opener--image) {
    display: none;
  }
}

/* Recipient form */
.recipient-form {
  /* (2.88[line-height] - 1.6rem) / 2 */
  --recipient-checkbox-margin-top: 0.64rem;

  display: block;
  position: relative;
  max-width: 44rem;
  margin-bottom: 2.5rem;
}

.recipient-form-field-label {
  margin: 0.6rem 0;
}

.recipient-form-field-label--space-between {
  display: flex;
  justify-content: space-between;
}

.recipient-checkbox {
  flex-grow: 1;
  font-size: 1.6rem;
  display: flex;
  word-break: break-word;
  align-items: flex-start;
  max-width: inherit;
  position: relative;
  cursor: pointer;
}

.recipient-form > input[type='checkbox'] {
  position: absolute;
  width: 1.6rem;
  height: 1.6rem;
  margin: var(--recipient-checkbox-margin-top) 0;
  top: 0;
  left: 0;
  z-index: -1;
  appearance: none;
  -webkit-appearance: none;
}

.recipient-fields__field {
  margin: 0 0 2rem 0;
}

.recipient-fields .field__label {
  white-space: nowrap;
  text-overflow: ellipsis;
  max-width: calc(100% - 3.5rem);
  overflow: hidden;
}

.recipient-checkbox > svg {
  margin-top: var(--recipient-checkbox-margin-top);
  margin-right: 1.2rem;
  flex-shrink: 0;
}

.recipient-form .icon-checkmark {
  visibility: hidden;
  position: absolute;
  left: 0.28rem;
  z-index: 5;
  top: 0.4rem;
  width: 10px;
  height: 9px;
}

.recipient-form > input[type='checkbox']:checked + label .icon-checkmark {
  visibility: visible;
}

.js .recipient-fields {
  display: none;
}

.recipient-fields hr {
  margin: 1.6rem auto;
}

.recipient-form > input[type='checkbox']:checked ~ .recipient-fields {
  display: block;
  animation: animateMenuOpen var(--duration-default) ease;
}
.recipient-form > input[type='checkbox']:not(:checked, :disabled) ~ .recipient-fields,
.recipient-email-label {
  display: none;
}

.js .recipient-email-label.required {
  display: inline;
}

.recipient-form ul {
  line-height: calc(1 + 0.6 / var(--font-body-scale));
  padding-left: 4.4rem;
  text-align: left;
}

.recipient-form ul a {
  display: inline;
}

.recipient-form .error-message::first-letter {
  text-transform: capitalize;
}

@media screen and (forced-colors: active) {
  .recipient-fields > hr {
    border-top: 0.1rem solid rgb(var(--color-background));
  }

  .recipient-checkbox > svg {
    background-color: inherit;
    border: 0.1rem solid rgb(var(--color-background));
  }

  .recipient-form > input[type='checkbox']:checked + label .icon-checkmark {
    border: none;
  }
}
/* ============================================================================
   🖼️ MODAL (APERÇU IMAGE) : CARROUSEL HORIZONTAL & FLÈCHES
   ============================================================================ */

/* 1. Bloquer le scroll du site en arrière-plan quand la modale est ouverte */
body:has(.product-media-modal[open]) {
  overflow: hidden !important;
  touch-action: none !important;
}

/* 2. Transformer le conteneur vertical en vrai carrousel horizontal */
.product-media-modal__content {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important; /* Coupe le scroll vertical */
  scroll-snap-type: x mandatory !important; /* Effet aimant */
  -webkit-overflow-scrolling: touch !important;
  padding: 0 !important;
  align-items: center !important;
}

/* Cacher la barre de défilement pour faire plus propre */
.product-media-modal__content::-webkit-scrollbar {
  display: none !important;
}

/* 3. Chaque conteneur d'image prend exactement 100% de la largeur de l'écran */
.product-media-modal__content > * {
  flex: 0 0 100vw !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;
  scroll-snap-align: center !important; /* L'aimant s'arrête au centre */
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 4. L'image elle-même est contenue sans déborder */
.product-media-modal__content img,
.product-media-modal__content video,
.product-media-modal__content .media {
  max-width: 100vw !important;
  max-height: 85vh !important; /* 85vh pour ne pas toucher la croix de fermeture */
  object-fit: contain !important;
  width: 100% !important;
  height: 100% !important;
  background: transparent !important;
}

/* 5. Style des Flèches injectées par le JS */
.modal-nav-btn {
  display: none !important; /* Ajout : cachées par défaut */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 16px;
  color: #000;
  z-index: 105;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.2s ease; /* J'ai retiré opacity pour éviter le clignotement */
}

.modal-nav-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.modal-nav-btn.prev-btn { left: 15px; }
.modal-nav-btn.next-btn { right: 15px; }

@media screen and (max-width: 749px) {
  /* Optionnel : Rendre les flèches un peu plus petites sur mobile */
  .modal-nav-btn {
    width: 38px;
    height: 38px;
  }
}

/* ============================================================================
   ⏳ ANIMATION DE CHARGEMENT (SPINNER) POUR LA MODALE
   ============================================================================ */
.custom-modal-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  margin-left: -20px;
  border: 3px solid rgba(0, 0, 0, 0.05);
  border-top-color: rgb(var(--color-foreground)); /* Utilise la couleur du texte du thème */
  border-radius: 50%;
  animation: modal-spin 0.8s linear infinite;
  z-index: 10;
  pointer-events: none;
}

@keyframes modal-spin {
  to { transform: rotate(360deg); }
}

/* ============================================================================
   🤎 LIGNE MATÉRIAU + BOUTON FAVORIS (CLEAN)
   ============================================================================ */
.custom-material-row {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-top: 0 !important;
  margin-bottom: 10px !important; /* Crée l'espace avant le Titre du produit */
  padding: 0 !important;
}

/* S'assure que le texte reste figé à gauche quoi qu'il arrive */
.custom-material-text {
  text-align: left !important;
  margin: 0 !important;
  padding: 0 !important;
  flex-grow: 1 !important;
  display: block !important; 
}

/* Sécurité supplémentaire si Shopify génère une balise <p> cachée */
.custom-material-text p {
  text-align: left !important;
  margin: 0 !important;
}

/* Le bouton figé à droite */
.custom-wishlist-btn {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 0 0 0px !important;
  cursor: pointer !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important; 
}

.custom-wishlist-btn svg {
  width: 14px !important;
  height: 14px !important;
  display: block !important;
}

/* L'animation du coeur vide/rempli */
.custom-wishlist-btn:not(.is-active) .icon-heart-filled {
  display: none !important;
}
.custom-wishlist-btn.is-active .icon-heart-empty {
  display: none !important;
}


/* --- STYLE DES COULEURS EN CARRÉ (SANS JS) --- */
.custom-color-label {
  background-size: cover !important;
  background-position: center !important;
  color: transparent !important;
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  padding: 0 !important;
  margin: 0 10px 0 0 !important; 
  overflow: hidden !important;
  border-radius: 0 !important; /* 🔥 C'est ça qui force le CARRÉ ! */
  border: 1px solid #e5e5e5 !important;
  display: inline-block !important;
  float: left !important;
}

/* L'effet quand la couleur est sélectionnée */
input[type="radio"]:checked + .custom-color-label {
  border: 1.5px solid #211414 !important;
  box-shadow: inset 0 0 0 2px #ffffff !important; 
}



/* =========================================
    1. LE BLOC COLORIS
    ========================================= */
fieldset[data-color-row="true"] {
  display: block !important;
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  padding: 0 !important;
  border: none !important;
}

fieldset[data-color-row="true"]::after {
  content: "";
  display: table;
  clear: both;
}

fieldset[data-color-row="true"] legend {
  display: none !important; /* Cache le texte "Coloris" pour ne garder que les carrés */
}

fieldset[data-color-row="true"] label {
  display: inline-block !important;
  float: left !important;
  width: 25px !important;
  height: 25px !important;
  min-width: 25px !important;
  padding: 0 !important;
  margin: 0 10px 0 0 !important; 
  border-radius: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  color: transparent !important; 
  overflow: hidden !important;
  cursor: pointer !important;
  border: 1px solid #e5e5e5 !important;
}

fieldset[data-color-row="true"] input[type="radio"]:checked + label {
  border: 1.5px solid #211414 !important;
  box-shadow: inset 0 0 0 2px #ffffff !important; 
}

/* =========================================
    2. LE BLOC DIAMÈTRE / TAILLE 
    ========================================= */
.product-form__input[data-size-row="true"] {
  max-width: none;
}

fieldset[data-size-row="true"] {
  display: flex !important;
  flex-wrap: wrap !important;
  width: 100% !important;
  gap: 10px !important; 
  margin-top: 0 !important;
  margin-bottom: 1rem !important;
  padding: 0 !important;
  border: none !important;
}

/* 🌟 NOUVEAU : Formatage du titre et du lien guide des tailles */
fieldset[data-size-row="true"] legend {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important; 
  margin-bottom: 10px !important;
  font-weight: 400 !important;
  font-size: 1.4rem !important;
  padding: 0 !important;
  order: -1 !important; 
}

.size-guide-btn {
  font-size: 1.1rem !important;
  color: #666666 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px !important;
  cursor: pointer !important;
  text-transform: none !important;
  font-weight: 400 !important;
  transition: color 0.2s ease;
}
.size-guide-btn:hover {
  color: #211414 !important;
}

fieldset[data-size-row="true"] label {
  flex: 0 0 auto !important; /* Empêche le bouton de s'étirer sur toute la largeur */
  width: auto !important;
  min-width: 60px !important;
  padding: 0 20px !important;
  height: 38px !important; 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  border-radius: 0 !important; 
  border: 1px solid #e5e5e5 !important;
  background: #ffffff !important;
  color: #211414 !important;
  font-size: 1.1rem !important; 
  font-weight: 400 !important; 
  cursor: pointer !important;
  transition: all 0.2s ease !important;
}

fieldset[data-size-row="true"] input[type="radio"]:checked + label {
  border: 1px solid #211414 !important; 
  background: #211414 !important;
  color: #ffffff !important;
}

fieldset[data-color-row="true"] input[type="radio"],
fieldset[data-size-row="true"] input[type="radio"] {
  display: none !important;
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
}
.custom-benefits-grid {
  display: flex;
  flex-direction: column;
  gap: 16px; /* Espacement vertical régulier entre chaque ligne */
  margin-top: 15px;
  padding-top: 30px;
  padding-bottom: 10px;
  border-top: 1px solid #e5e5e5;
}
.benefit-item {
  display: flex;
  align-items: flex-start; 
  gap: 12px; /* Espace aéré entre l'icône et le texte */
}
.benefit-item svg {
  width: 15px; /* Icônes légèrement agrandies pour le format liste */
  height: 15px;
  flex-shrink: 0;
  margin-top: 2px; 
  color:rgb(88, 88, 88);
}
.benefit-item span {
  font-size: 1.15rem;
  color:rgb(88, 88, 88);
  line-height: 1.4; /* Interligne un peu plus respirant */
  font-weight: 400;
}


/* Cache le bouton Acheter maintenant */

/* Design du bouton "Ajouter au panier" */
.custom-buy-wrapper .product-form__submit {
  background-color: #211414 !important;
  border: 1px solid #211414 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  height: 47px !important;
  min-height: 47px !important;
  margin: 0 !important;
  width: 100% !important;
  padding: 0 5px !important;
  font-size: 1.1rem !important;
  white-space: nowrap !important;
}

.custom-buy-wrapper .product-form__submit span {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

.custom-buy-wrapper .product-form__submit .loading-overlay__spinner svg circle {
  stroke: #ffffff !important;
}

/* --- MISE EN PAGE FLEXBOX --- */

.custom-qty-btn-container {
  display: flex !important;
  align-items: flex-end !important;
  width: 100% !important;
  gap: 8px !important; /* Écart légèrement réduit */
  margin-bottom: 1.5rem !important;
}

/* ===================================================
    🔥 SÉLECTEUR DE QUANTITÉ ULTRA-COMPACT (80px) 🔥
    =================================================== */
.custom-qty-btn-container .product-form__quantity {
  flex: 0 0 80px !important; /* Taille absolue bloquée à 80px ! */
  max-width: 80px !important;
  width: 80px !important;
  margin: 0 !important;
}

.custom-qty-btn-container quantity-input.quantity {
  width: 100% !important;
  min-width: 0 !important; /* Détruit la limite de Dawn */
  max-width: 100% !important;
  height: 47px !important;
  min-height: 47px !important;
}

/* Destruction des marges sur les boutons + et - */
.custom-qty-btn-container quantity-input.quantity .quantity__button {
  width: 24px !important; /* Minuscule */
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

/* Réduction des icônes pour qu'elles rentrent */
.custom-qty-btn-container quantity-input.quantity .quantity__button svg {
  width: 11px !important;
}

/* Réduction de la zone du chiffre */
.custom-qty-btn-container quantity-input.quantity .quantity__input {
  width: 32px !important;
  min-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  font-size: 1.2rem !important;
  text-align: center !important;
}

.custom-qty-btn-container .quantity__label {
  margin-bottom: 6px !important;
  font-size: 1.1rem !important;
}

/* ===================================================
    🔥 BOUTON D'ACHAT (PREND TOUTE LA PLACE) 🔥
    =================================================== */
.custom-buy-wrapper {
  flex: 1 1 auto !important; 
  min-width: 0 !important; 
}
.custom-buy-wrapper product-form,
.custom-buy-wrapper .product-form__buttons {
  margin: 0 !important;
  width: 100% !important;
  max-width: none;
}

/* Design Bouton Essai Virtuel */
.ear-virtual-try-on-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background-color: #ffffff;
  border: 1px solid rgba(33, 20, 20, 0.15);
  border-radius: 2px;
  cursor: pointer;
  margin-top: 0 !important;
}
.ear-virtual-try-on-btn .ear-btn-text {
  color: #211414; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em;
}

.complementary-products {
  margin-left: 50px !important;
}
/* Sécurité pour le mobile : on réduit la marge pour ne pas casser l'affichage */
@media screen and (max-width: 749px) {
  .complementary-products {
    margin-left: 20px !important;
  }
}


/* =======================================================
    🎨 CSS DU BANDEAU COLLANT
    ======================================================= */

    /* Cache l'image mobile sur ordinateur */
.sticky-atc__featured-image-mobile {
  display: none;
}
.sticky-atc {
  position: fixed;
  /* On le cache en le descendant de -150px au lieu du transform */
  bottom: -150px; 
  left: 0;
  width: 100%;
  background: #ffffff;
  border-top: 1px solid #e5e5e5;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  z-index: 99980 !important;
  /* On anime le "bottom" pour forcer Chrome à recalculer la position */
  transition: bottom 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  /* On gère la zone de sécurité d'Apple (Safe Area) pour les iPhone récents */
  padding: 12px 15px calc(12px + env(safe-area-inset-bottom)); 
}
.sticky-atc.is-visible {
  /* Quand il est visible, il se colle au vrai 0 absolu */
  bottom: 0; 
}

.sticky-atc__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

/* Partie Gauche */
.sticky-atc__left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sticky-atc__left img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 1px solid #eee;
}
.sticky-atc__info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.sticky-atc__title {
  font-weight: 600;
  font-size: 1.2rem;
  text-transform: uppercase;
  color: #211414;
}
.sticky-atc__price {
  font-size: 1.2rem;
  color: #555;
  margin-top: 4px;
}

/* Partie Droite */
.sticky-atc__right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  justify-content: flex-end;
}

/* La ligne du haut contenant Titre + Sélecteurs */
.sticky-atc__top-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}

.sticky-atc__short-title {
  display: none;
  font-weight: 600;
  font-size: 1.2rem;
  color: #211414;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sticky-atc__selectors {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
}

/* --- MENU DÉROULANT CUSTOM POUR COULEURS --- */
.custom-color-dropdown {
  position: relative;
  height: 42px;
  width: 60px;
  min-width: 60px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.custom-color-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 10px;
}
.custom-color-preview {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.custom-color-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 1px solid #e5e5e5;
  display: block;
}
.custom-color-trigger svg {
  width: 8px;
  height: 5px;
  transition: transform 0.2s ease;
}
.custom-color-dropdown.is-open .custom-color-trigger svg {
  transform: rotate(180deg);
}
.custom-color-options {
  position: absolute;
  bottom: 100%;
  left: -1px;
  right: -1px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-bottom: none;
  display: none;
  flex-direction: column;
  z-index: 100;
}
.custom-color-dropdown.is-open .custom-color-options {
  display: flex;
}
.custom-color-option {
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.custom-color-option:hover {
  background: #f9f9f9;
}

/* --- MENU DÉROULANT CUSTOM POUR TEXTE (8mm) --- */
.custom-text-dropdown {
  position: relative;
  height: 42px;
  min-width: 80px;
  border: 1px solid #e5e5e5;
  background: #fff;
  cursor: pointer;
  user-select: none;
}
.custom-text-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 12px;
  font-size: 1.2rem;
  color: #211414;
}
.custom-text-trigger svg {
  width: 8px;
  height: 5px;
  transition: transform 0.2s ease;
  margin-left: 10px;
}
.custom-text-dropdown.is-open .custom-text-trigger svg {
  transform: rotate(180deg);
}
.custom-text-options {
  position: absolute;
  bottom: 100%;
  left: -1px;
  right: -1px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-bottom: none;
  display: none;
  flex-direction: column;
  z-index: 100;
}
.custom-text-dropdown.is-open .custom-text-options {
  display: flex;
}
.custom-text-option {
  padding: 10px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid #eee;
  font-size: 1.2rem;
  color: #211414;
  transition: background 0.2s;
}
.custom-text-option:hover {
  background: #f9f9f9;
}

/* Menus Déroulants classiques (ex: Tailles) */
.sticky-atc__select {
  height: 42px !important;
  border: 1px solid #e5e5e5 !important;
  background: #fff !important;
  color: #211414 !important;
  padding: 0 25px 0 12px !important;
  border-radius: 0 !important;
  font-size: 1.2rem !important;
  cursor: pointer !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23211414' d='M5 6L0 0h10z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 10px center !important;
  background-size: 8px 5px !important;
  min-width: 60px;
  width: auto !important;
  max-width: 100px !important;
}

/* Groupe Action (Quantité + Bouton) */
.sticky-atc__action-group {
  display: flex;
  align-items: center;
  gap: 8px;
}



/* Bouton d'ajout */
.sticky-atc__btn {
  height: 42px !important;
  background: #211414 !important;
  color: #fff !important;
  border: 1px solid #211414 !important;
  border-radius: 0 !important;
  padding: 0 25px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  font-size: 1.1rem !important;
  transition: opacity 0.2s;
}
.sticky-atc__btn:active {
  opacity: 0.8;
  transform: scale(0.98);
}


/* Adaptation Mobile : Ultra-minimaliste (Sélecteurs + Bouton) */
@media screen and (max-width: 749px) {
  /* 1. On affine le bandeau global */
  .sticky-atc {
    padding: 10px 15px !important;
    overflow: visible !important; /* 🔥 LA CORRECTION EST ICI : on libère les menus ! */
  }

  .sticky-atc__inner {
    gap: 0px !important;
  }

  .sticky-atc__left { display: none !important; }

  /* 2. 🚫 On cache l'image et le titre sur mobile */
  .sticky-atc__featured-image-mobile,
  .sticky-atc__top-row {
    display: none !important;
  }

  /* 3. 🌟 RECENTRAGE DU CONTENU (Plus de décalage à gauche) */
  .sticky-atc__right {
    display: flex;
    flex-direction: row;
    flex: 1;
    width: 100%;
    padding-left: 0px !important;
  }
  
  /* LA LIGNE PRINCIPALE */
  .sticky-atc__action-group { 
    width: 100%; 
    display: flex; 
    align-items: center; 
    gap: 10px; /* Espace net entre les sélecteurs et le bouton Ajouter */
  }

  /* Les sélecteurs collés à gauche */
  .sticky-atc__selectors { 
    display: flex; 
    justify-content: flex-start; 
    gap: 8px; 
    flex: 0 0 auto; 
  }

  /* Hauteur confortable pour le clic au doigt */
  .sticky-atc__select, .custom-color-dropdown, .custom-text-dropdown { 
    height: 42px !important; 
  }
  
  .sticky-atc__select { 
    max-width: 80px !important; 
    padding: 0 20px 0 10px !important; 
  }

  /* 4. Le bouton s'étend sur tout l'espace restant */
  .sticky-atc__btn { 
    flex: 1 1 auto; 
    height: 42px !important; 
    padding: 0 10px !important; 
    font-size: 1.1rem !important; 
  }
}

/* === STRUCTURE CONTENEUR PRINCIPAL === */
.sg-container {
  position: fixed !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  z-index: 2147483647 !important; /* Max absolu */
  display: flex !important;
  justify-content: flex-end !important;
  visibility: hidden;
  transition: visibility 0.4s;
  pointer-events: none !important;
  
  /* ✨ NOUVEAU : Application stricte de TA charte graphique (Figtree) */
  font-family: 'Figtree', sans-serif !important;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  -moz-osx-font-smoothing: grayscale !important;
}
.sg-container.is-open {
  visibility: visible !important;
  pointer-events: auto !important; 
}

/* === VOILE NOIR (BOUTON HTML) === */
.sg-backdrop {
  position: absolute !important;
  top: 0 !important; left: 0 !important; right: 0 !important; bottom: 0 !important;
  width: 100% !important; height: 100% !important;
  background: rgba(0, 0, 0, 0.5) !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  opacity: 0;
  transition: opacity 0.4s ease !important;
  cursor: pointer !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: block !important;
  pointer-events: none !important;
}
.sg-container.is-open .sg-backdrop {
  opacity: 1 !important;
  pointer-events: auto !important; 
}

/* === TIROIR === */
.sg-drawer {
  position: relative !important;
  width: 90% !important;
  max-width: 450px !important;
  height: 100vh !important;
  background: #fff !important;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1) !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: -10px 0 30px rgba(0,0,0,0.3) !important;
  overscroll-behavior-y: contain !important;
  touch-action: pan-y !important;
  pointer-events: auto !important;
  z-index: 10 !important;
  color: #000000 !important;
}
.sg-container.is-open .sg-drawer {
  transform: translateX(0) !important;
}

.sg-slide-hint {
  position: absolute; top: 50%; left: -60px; transform: translateY(-50%);
  width: 60px; height: 100px; display: flex; align-items: center; justify-content: center;
  pointer-events: none; z-index: 99997 !important;
  animation: sg-pulse-horizontal 1.5s infinite ease-in-out;
  opacity: 0; transition: opacity 0.3s;
}
.sg-container.is-open .sg-slide-hint { opacity: 1; }
.sg-slide-hint svg { width: 24px; height: 24px; stroke: white !important; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5)); }
@keyframes sg-pulse-horizontal { 0%, 100% { transform: translate(0, -50%); } 50% { transform: translate(10px, -50%); } }

.sg-body { flex: 1; overflow-y: auto; overflow-x: hidden; padding: 30px 25px; background: #fff; }

/* ✨ TEXTES DU TIROIR : Calqués sur ton design system Figtree */
.sg-intro { 
  font-size: 13px !important; 
  color: #444444 !important; 
  line-height: 1.5 !important; 
  margin-bottom: 20px !important; 
  font-weight: 400 !important;
}

.sg-table { width: 100%; border-collapse: collapse; margin-bottom: 25px !important; }
.sg-table th, .sg-table td { padding: 15px 10px !important; border-bottom: 1px solid #e5e5e5; }

.sg-table th { 
  font-family: 'Figtree', sans-serif !important;
  font-weight: 600 !important; 
  color: #000000 !important; 
  text-align: left; 
  background: #f9f9f9; 
  text-transform: uppercase !important; 
  letter-spacing: 0.05em !important; 
  font-size: 11px !important; 
}

.sg-table td { 
  font-size: 13px !important; 
  color: #000000 !important;
}
.sg-table td:first-child { font-weight: 500 !important; }
.sg-table td:last-child { color: #666666 !important; text-align: right; }

.sg-note { 
  font-size: 12px !important; 
  color: #888888 !important; 
  line-height: 1.4 !important; 
  text-align: justify; 
  font-weight: 400 !important;
}

/* --- NOUVEAU : GESTION UNIVERSELLE DE L'ORDRE (PC + MOBILE) --- */
/* 1. On cache toujours l'ancien fil d'ariane extérieur */
.breadcrumb-desktop { display: none !important; }

/* 2. On affiche le fil d'ariane intérieur partout */
.breadcrumb-mobile { 
  display: block !important; 
  order: -3; /* Force tout en haut */
  margin-bottom: 1.5rem; 
}

/* 3. On transforme la colonne info en Flexbox pour pouvoir tout trier */
.product__info-container {
  display: flex;
  flex-direction: column;
}

/* 4. Le titre (H1) avec le cœur vient juste après le fil d'ariane */
.title-heart-wrapper {
  order: -2 !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: flex-start !important; 
  gap: 15px;
}

.title-heart-wrapper .product__title, 
.title-heart-wrapper h1, 
.title-heart-wrapper .h1 {
  margin: 0 !important;
}

/* 5. Le bloc Matériau vient s'insérer en 3ème position, SOUS le titre */
.custom-material-row {
  order: -1 !important;
  margin-bottom: 1rem; /* Espace avant le prix */
}

/* 6. On cache définitivement le cœur en double qui était dans la ligne matériau */
.custom-material-row .custom-wishlist-btn {
  display: none !important;
}

    /* --- RÉGLAGE MOBILE --- */
    .section-{{ section.id }}-padding {
      padding-top: 0px !important; 
      padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px;
    }

/* NOUVEAU : Réduire la largeur du carrousel à 70% sur mobile */
@media screen and (max-width: 749px) {
  .product__media-list .product__media-item {
    width: 70vw !important;
    max-width: 70vw !important;
  }
}

    /* --- RÉGLAGE ORDINATEUR --- */
    @media screen and (min-width: 750px) {
      .section-{{ section.id }}-padding {
        padding-top: 0px !important; 
        padding-bottom: {{ section.settings.padding_bottom }}px;
      }
    }

/* Cache l'image du bouton sur ordinateur car elle est déjà à gauche */
@media screen and (min-width: 750px) {
  .sticky-atc__mobile-image {
    display: none !important;
  }
}

    /* --- FORCE LA MODALE PRODUIT AU-DESSUS DU HEADER --- */
    product-modal,
    .product-media-modal {
      z-index: 99999 !important;
    }


/* Mobile : 0rem par défaut */
.custom-product-margin {
  margin-top: 0rem;
}

/* Ordinateur (à partir de 750px de large) : 1.5rem */
@media screen and (min-width: 750px) {
  .custom-product-margin {
    margin-top: 1.5rem;
  }
}

/* Stock status follows the selected variant, alongside the size guide. */
.product-size-guide-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
  flex-shrink: 0;
}
.product__info-container .product-stock-badge,
.product__info-container .price__badge-sold-out {
  background: #d5aeae;
  color: #211414;
  border-color: #d5aeae;
}
.product__info-container .product-stock-badge {
  display: none;
  padding: 6px 12px;
  font-size: 1.1rem;
  line-height: 1.2;
  white-space: nowrap;
}
.product__info-container:has(.product-stock-badge) .price__badge-sold-out {
  display: none;
}
.product__info-container:has([id^="price-"]:not(.hidden) .price--sold-out) .product-stock-badge {
  display: inline-flex;
}
