/* =========================================================
   ALLO NATUREL — FICHE PRODUIT
   ========================================================= */

.an-product-page {
  --an-green: #07574f;
  --an-orange: #ff9b43;
  --an-soft: #f5f2ec;
  --an-line: #ded8ce;
  --an-muted: #78918d;

  width: 100%;

  color: var(--an-green);

  font-family: "Geist", Arial, sans-serif;
}


/* =========================================================
   HERO
   ========================================================= */

.an-product-hero {
  width: min(1580px, calc(100% - 70px));

  margin: 28px auto 0;

  display: grid;

  grid-template-columns:
    minmax(0, 1.08fr)
    minmax(430px, .92fr);

  gap: clamp(60px, 7vw, 130px);

  align-items: start;
}


.an-product-hero__media,
.an-product-hero__info {
  min-width: 0;
}


.an-product-hero__info {
  padding-top: 18px;
}


/* =========================================================
   MARQUE
   ========================================================= */

.an-product-brand {
  margin-bottom: 9px;

  font-size: 10px;
  font-weight: 500;

  letter-spacing: .16em;

  text-transform: uppercase;

  color: #86a19d;
}


.an-product-brand a {
  color: inherit !important;

  text-decoration: none !important;
}


/* =========================================================
   TITRE
   ========================================================= */

.an-product-title {
  max-width: 720px;

  margin: 0 !important;

  font-family:
    "Bagrile",
    "Instrument Serif",
    Georgia,
    serif !important;

  font-size:
    clamp(49px, 4.15vw, 74px) !important;

  font-weight: 400 !important;

  line-height: .9 !important;

  letter-spacing: -.025em !important;

  color: var(--an-green) !important;
}


/* =========================================================
   ORIGINE
   ========================================================= */

.an-product-origin {
  margin-top: 18px;

  font-size: 11px;

  color: var(--an-green);
}


/* =========================================================
   META
   ========================================================= */

.an-product-meta {
  min-height: 23px;

  margin-top: 18px;

  display: flex;

  align-items: center;

  flex-wrap: wrap;

  gap: 7px;

  font-size: 11px;

  color: var(--an-green);
}


.an-product-meta__separator {
  opacity: .35;
}


.an-product-meta__stock.is-in-stock {
  color: var(--an-green);
}


/* =========================================================
   INTRO
   ========================================================= */

.an-product-intro {
  max-width: 650px;

  margin-top: 22px;

  font-size: 14px;

  line-height: 1.6;

  color: var(--an-green);
}


.an-product-intro p {
  margin: 0;
}


/* =========================================================
   GALERIE
   ========================================================= */

.an-product-gallery {
  position: relative;

  display: grid;

  grid-template-columns:
    74px
    minmax(0, 1fr);

  gap: 22px;

  align-items: start;
}


.an-product-gallery__main {
  grid-column: 2;

  min-height: 650px;

  display: flex;

  align-items: center;

  justify-content: center;

  background: #fff;
}


.an-product-gallery__main .carousel-inner,
.an-product-gallery__main .carousel-item {
  height: 100%;

  min-height: 650px;
}


.an-product-gallery__main
.carousel-item
picture {
  min-height: 650px;

  display: flex;

  align-items: center;

  justify-content: center;
}


.an-product-gallery__image {
  width: 100% !important;

  height: 650px !important;

  max-width: 680px;

  object-fit: contain;
}


/* =========================================================
   MINIATURES
   ========================================================= */

.an-product-gallery__thumbs {
  grid-column: 1;

  grid-row: 1;
}


.an-product-gallery__thumb-list {
  display: flex !important;

  flex-direction: column;

  gap: 10px;

  margin: 0 !important;

  padding: 0 !important;
}


.an-product-gallery__thumb {
  width: 64px;

  height: 64px;

  padding: 0 !important;

  overflow: hidden;

  background: #f7f5f0 !important;

  border:
    1px
    solid
    transparent !important;

  border-radius: 8px !important;
}


.an-product-gallery__thumb.active {
  border-color:
    var(--an-green) !important;
}


.an-product-gallery__thumb img {
  width: 100%;

  height: 100%;

  object-fit: cover;
}


.an-product-gallery
.carousel-control-prev,
.an-product-gallery
.carousel-control-next {
  display: none;
}


.an-product-gallery
.product__zoom {
  right: 14px;

  bottom: 14px;

  opacity: .75;
}


/* =========================================================
   PRIX
   ========================================================= */

.an-product-prices {
  margin-top: 25px;
}


.an-product-prices__discount {
  display: flex;

  align-items: center;

  gap: 10px;

  margin-bottom: 7px;
}


.an-product-prices__discount
.product__regular-price {
  font-size: 14px;

  color: #94a6a3;

  text-decoration: line-through;
}


.an-product-prices__badge {
  display: inline-flex;

  min-height: 26px;

  align-items: center;

  padding: 0 10px;

  border-radius: 999px;

  background: #ffe2bf;

  font-size: 10px;

  font-weight: 600;

  color: var(--an-green);
}


.an-product-prices__main
.product__price {
  font-family:
    "Bagrile",
    "Instrument Serif",
    Georgia,
    serif !important;

  font-size: 43px !important;

  font-weight: 400 !important;

  line-height: 1 !important;

  color: var(--an-green) !important;
}


.an-product-prices__main
.product__unit-price {
  margin-top: 12px;

  font-size: 10px;

  color: #8ba09c;
}


.an-product-prices
.product__tax-infos,
.an-product-prices
.product__ecotax-price,
.an-product-prices
.product__taxless-price {
  font-size: 9px;

  color: #97aaa6;
}


/* =========================================================
   DÉCLINAISONS
   ========================================================= */

.an-product-variants {
  margin-top: 27px;
}


.an-product-variant {
  margin:
    0
    0
    19px !important;

  padding: 0 !important;

  border: 0 !important;
}


.an-product-variant
.product-variant__label {
  display: flex;

  align-items: baseline;

  gap: 5px;

  margin-bottom: 10px;
}


.an-product-variant
.product-variant__legend {
  margin: 0 !important;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: .13em;

  text-transform: uppercase;

  color: var(--an-green);
}


.an-product-variant
.product-variant__selected {
  display: none;
}


.an-product-variant__cards {
  display: flex !important;

  flex-wrap: wrap;

  gap: 8px;
}


.an-product-variant__card {
  position: relative;

  margin: 0 !important;

  padding: 0 !important;
}


.an-product-variant__card input {
  position: absolute !important;

  opacity: 0;

  pointer-events: none;
}


.an-product-variant__card label {
  min-width: 105px;

  min-height: 52px;

  margin: 0 !important;

  padding: 10px 14px;

  display: flex;

  align-items: center;

  border:
    1px
    solid
    var(--an-line);

  border-radius: 9px;

  background: #fff;

  cursor: pointer;

  transition:
    background .15s ease,
    border-color .15s ease,
    color .15s ease;
}


.an-product-variant__card
.form-check-label {
  font-size: 12px;

  font-weight: 600;

  line-height: 1.25;

  color: var(--an-green);
}


.an-product-variant__card
input:checked + label,
.an-product-variant__card
label:has(input:checked) {
  background: var(--an-green);

  border-color: var(--an-green);

  color: #fff;
}


.an-product-variant__card
input:checked
+ label
.form-check-label {
  color: #fff;
}


/* =========================================================
   ACHAT PRINCIPAL
   ========================================================= */

.an-product-buy {
  margin-top: 16px;
}


.an-product-buy__row {
  display: grid !important;

  grid-template-columns:
    112px
    minmax(0, 1fr);

  gap: 10px;

  align-items: stretch;
}


.an-product-buy__qty {
  min-width: 0;
}


.an-product-buy__qty
.input-group,
.an-product-buy__qty
.quantity-button {
  height: 52px;
}


.an-product-buy__qty input {
  min-height: 52px !important;

  border-color:
    var(--an-line) !important;

  border-radius:
    999px !important;

  text-align: center;

  color:
    var(--an-green) !important;

  box-shadow: none !important;
}


.an-product-buy__button {
  width: 100%;

  min-height: 52px !important;

  border: 0 !important;

  border-radius:
    999px !important;

  background:
    var(--an-green) !important;

  font-size: 13px !important;

  font-weight: 700 !important;

  color: #fff !important;

  box-shadow: none !important;
}


.an-product-buy__button:hover {
  background:
    #04483f !important;
}


.an-product-buy
.product__availability {
  margin-bottom: 11px;

  font-size: 11px;
}


/* =========================================================
   POINTS FORTS
   ========================================================= */

.an-product-highlights {
  margin-top: 22px;

  display: grid;

  gap: 10px;
}


.an-product-highlights__item {
  display: flex;

  gap: 9px;

  font-size: 11px;

  line-height: 1.55;
}


.an-product-highlights__dot {
  width: 4px;

  height: 4px;

  flex: 0 0 4px;

  margin-top: 7px;

  border-radius: 50%;

  background: var(--an-green);
}


/* =========================================================
   SERVICES
   ========================================================= */

.an-product-service {
  margin-top: 28px;

  padding-top: 20px;

  border-top:
    1px
    solid
    var(--an-line);

  display: grid;

  gap: 15px;
}


.an-product-service__item {
  display: grid;

  grid-template-columns:
    25px
    1fr;

  gap: 10px;

  align-items: start;
}


.an-product-service__icon {
  color: #5a928c;
}


.an-product-service__item strong,
.an-product-service__item small {
  display: block;
}


.an-product-service__item strong {
  margin-bottom: 3px;

  font-size: 10px;

  font-weight: 500;
}


.an-product-service__item small {
  font-size: 9px;

  color: #8ca19e;
}


/* =========================================================
   ZONE BASSE
   ========================================================= */

.an-product-content,
.an-product-accessories {
  width:
    min(
      1580px,
      calc(100% - 70px)
    );

  margin-left: auto;

  margin-right: auto;
}


.an-product-content {
  margin-top: 90px;
}


.an-product-content.product__bottom {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr);
}


.an-product-content__reassurance {
  display: none;
}


.an-product-section-heading {
  margin:
    85px
    0
    35px;
}


.an-product-section-heading > span {
  display: block;

  margin-bottom: 12px;

  font-size: 9px;

  font-weight: 600;

  letter-spacing: .15em;

  text-transform: uppercase;
}


.an-product-section-heading h2 {
  max-width: 560px;

  margin: 0;

  font-family:
    "Bagrile",
    "Instrument Serif",
    Georgia,
    serif;

  font-size:
    clamp(54px, 4.2vw, 78px);

  font-weight: 400;

  line-height: .9;

  color: var(--an-green);
}


/* =========================================================
   STICKY ACHAT
   ========================================================= */

.an-product-sticky {
  position: fixed;

  z-index: 1050;

  left: 0;

  right: 0;

  bottom: 15px;

  width: 100%;

  padding: 0 38px;

  pointer-events: none;

  opacity: 0;

  visibility: hidden;

  transform:
    translateY(120%);

  transition:
    transform .16s ease,
    opacity .16s ease,
    visibility .16s ease;
}


/* =========================================================
   VISIBLE APRÈS PASSAGE DU BOUTON PRINCIPAL
   ========================================================= */

.an-product-sticky.is-visible {
  opacity: 1;

  visibility: visible;

  transform:
    translateY(0);
}


/* =========================================================
   DÉPOSÉ SOUS "COMPOSEZ VOTRE CURE"
   ========================================================= */

.an-product-sticky.is-parked {
  position: relative;

  z-index: 10;

  left: auto;

  right: auto;

  bottom: auto;

  width:
    min(
      1580px,
      calc(100% - 70px)
    );

  margin:
    30px
    auto
    0;

  padding: 0;

  opacity: 1;

  visibility: visible;

  transform: none;

  pointer-events: auto;
}


/* =========================================================
   EMPLACEMENT DU STICKY SOUS LA CURE
   ========================================================= */

.an-product-sticky-slot {
  width: 100%;

  margin: 0;

  padding: 0;
}


/* =========================================================
   INTÉRIEUR STICKY
   ========================================================= */

.an-product-sticky__inner {
  width:
    min(
      1460px,
      100%
    );

  min-height: 70px;

  margin: 0 auto;

  padding: 9px 18px;

  display: grid;

  grid-template-columns:
    minmax(260px, 1.4fr)
    .45fr
    .35fr
    auto;

  gap: 22px;

  align-items: center;

  border:
    1px
    solid
    var(--an-line);

  border-radius: 15px;

  background:
    rgba(
      255,
      255,
      255,
      .97
    );

  box-shadow:
    0
    14px
    40px
    rgba(7, 87, 79, .10);

  backdrop-filter:
    blur(10px);

  -webkit-backdrop-filter:
    blur(10px);

  pointer-events: auto;
}


/* Barre déposée dans la page */

.an-product-sticky.is-parked
.an-product-sticky__inner {
  width: 100%;

  box-shadow: none;
}


/* =========================================================
   IDENTITÉ STICKY
   ========================================================= */

.an-product-sticky__identity {
  min-width: 0;

  display: flex;

  align-items: center;

  gap: 12px;
}


.an-product-sticky__identity img {
  width: 44px;

  height: 44px;

  flex: 0 0 44px;

  object-fit: contain;

  border-radius: 7px;

  background: #f7f5f0;
}


.an-product-sticky__identity strong,
.an-product-sticky__identity small {
  display: block;
}


.an-product-sticky__identity strong {
  overflow: hidden;

  font-size: 11px;

  font-weight: 500;

  white-space: nowrap;

  text-overflow: ellipsis;
}


.an-product-sticky__identity small {
  margin-top: 2px;

  font-size: 9px;

  color: #8ca19e;
}


/* =========================================================
   PRIX STICKY
   ========================================================= */

.an-product-sticky__price {
  font-family:
    "Bagrile",
    "Instrument Serif",
    Georgia,
    serif;

  font-size: 26px;

  line-height: 1;

  color: var(--an-green);
}


/* =========================================================
   QUANTITÉ STICKY
   ========================================================= */

.an-product-sticky__qty {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  width: max-content;

  min-height: 34px;

  margin: 0 auto;

  border:
    1px
    solid
    #d7dfdc;

  border-radius: 999px;

  background: #fff;

  overflow: hidden;
}


.an-product-sticky__qty-btn {
  appearance: none;

  -webkit-appearance: none;

  width: 32px;

  height: 32px;

  flex: 0 0 32px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  margin: 0;

  padding: 0;

  border: 0;

  background: transparent;

  font-family: inherit;

  font-size: 16px;

  font-weight: 400;

  line-height: 1;

  color: var(--an-green);

  cursor: pointer;

  transition:
    background .15s ease,
    color .15s ease;
}


.an-product-sticky__qty-btn:hover {
  background: #f0f6f5;
}


.an-product-sticky__qty-btn:focus-visible {
  outline:
    2px
    solid
    var(--an-green);

  outline-offset: -2px;
}


.an-product-sticky__qty-value {
  min-width: 28px;

  height: 32px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border: 0 !important;

  font-size: 11px;

  font-weight: 600;

  color: var(--an-green);
}


.an-product-sticky__qty span {
  width: auto;

  height: auto;

  border: 0;
}


/* =========================================================
   BOUTON STICKY
   ========================================================= */

.an-product-sticky__add {
  min-width: 205px;

  min-height: 48px;

  padding: 0 24px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border: 0;

  border-radius: 999px;

  background:
    var(--an-green);

  font-size: 12px;

  font-weight: 700;

  color: #fff;

  cursor: pointer;

  transition:
    background .18s ease,
    transform .18s ease;
}


.an-product-sticky__add:hover {
  background: #04483f;
}


.an-product-sticky__add:active {
  transform:
    scale(.985);
}


.an-product-sticky__add span {
  margin-left: 10px;
}


/* =========================================================
   RESPONSIVE BASE — TABLETTE
   ========================================================= */

@media (max-width: 1199px) {

  .an-product-hero,
  .an-product-content,
  .an-product-accessories {
    width:
      calc(100% - 50px);
  }


  .an-product-hero {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(380px, .9fr);

    gap: 55px;
  }


  .an-product-gallery__main,
  .an-product-gallery__main
  .carousel-inner,
  .an-product-gallery__main
  .carousel-item,
  .an-product-gallery__main
  .carousel-item
  picture {
    min-height: 540px;
  }


  .an-product-gallery__image {
    height:
      540px !important;
  }


  .an-product-sticky {
    padding-left: 25px;

    padding-right: 25px;
  }


  .an-product-sticky.is-parked {
    width:
      calc(100% - 50px);

    padding: 0;
  }


  .an-product-sticky__inner {
    grid-template-columns:
      minmax(200px, 1fr)
      auto
      auto
      auto;

    gap: 14px;
  }


  .an-product-sticky__add {
    min-width: 180px;
  }

}


/* =========================================================
   RESPONSIVE 900
   ========================================================= */

@media (max-width: 900px) {

  .an-product-hero {
    grid-template-columns: 1fr;
  }


  .an-product-hero__info {
    max-width: 760px;
  }


  .an-product-sticky__inner {
    grid-template-columns:
      minmax(0, 1fr)
      auto;
  }


  .an-product-sticky__price,
  .an-product-sticky__qty {
    display: none;
  }

}


/* =========================================================
   RESPONSIVE MOBILE
   ========================================================= */

@media (max-width: 767px) {

  .an-product-hero,
  .an-product-content,
  .an-product-accessories {
    width:
      calc(100% - 36px);
  }


  .an-product-hero {
    margin-top: 18px;

    gap: 34px;
  }


  .an-product-gallery {
    display: flex;

    flex-direction: column;

    gap: 12px;
  }


  .an-product-gallery__main {
    order: 1;

    min-height: 430px;
  }


  .an-product-gallery__main
  .carousel-inner,
  .an-product-gallery__main
  .carousel-item,
  .an-product-gallery__main
  .carousel-item
  picture {
    min-height: 430px;
  }


  .an-product-gallery__image {
    height:
      430px !important;
  }


  .an-product-gallery__thumbs {
    order: 2;

    width: 100%;

    overflow-x: auto;
  }


  .an-product-gallery__thumb-list {
    flex-direction: row;
  }


  .an-product-title {
    font-size:
      48px !important;
  }


  .an-product-buy__row {
    grid-template-columns:
      96px
      minmax(0, 1fr);
  }


  .an-product-highlights {
    font-size: 11px;
  }


  .an-product-content {
    margin-top: 60px;
  }


  .an-product-sticky {
    bottom: 10px;

    padding-left: 12px;

    padding-right: 12px;
  }


  .an-product-sticky.is-parked {
    width:
      calc(100% - 36px);

    margin-top: 24px;

    padding: 0;
  }


  .an-product-sticky__inner {
    min-height: 62px;

    padding:
      7px
      8px
      7px
      12px;

    grid-template-columns:
      minmax(0, 1fr)
      auto;

    gap: 8px 12px;

    border-radius: 13px;
  }


  .an-product-sticky__identity {
    gap: 8px;
  }


  .an-product-sticky__identity img {
    display: none;
  }


  .an-product-sticky__identity small {
    display: none;
  }


  .an-product-sticky__identity strong {
    font-size: 10px;
  }


  .an-product-sticky__price,
  .an-product-sticky__qty {
    display: none;
  }


  .an-product-sticky__add {
    min-width: 155px;

    min-height: 45px;

    padding: 0 16px;

    font-size: 11px;
  }

}


/* =========================================================
   ACCESSIBILITÉ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .an-product-sticky,
  .an-product-buy__button,
  .an-product-variant__card label {
    transition:
      none !important;
  }

}


/* =========================================================
   V1.1 — CORRECTION LARGEUR / GALERIE / ÉCHELLE
   ========================================================= */


/*
 * Le layout Hummingbird enferme parfois
 * le contenu dans un container étroit.
 *
 * On fait sortir uniquement la fiche produit.
 */

body#product
.an-product-page {
  position: relative;

  left: 50%;

  width: 100vw !important;

  max-width: none !important;

  margin-left:
    -50vw !important;

  margin-right:
    -50vw !important;
}


/* =========================================================
   LARGEUR DES GRANDES SECTIONS
   ========================================================= */

body#product
.an-product-hero,
body#product
.an-product-content,
body#product
.an-product-accessories {
  width:
    min(
      1580px,
      calc(100% - 70px)
    ) !important;

  max-width:
    1580px !important;

  margin-left:
    auto !important;

  margin-right:
    auto !important;
}


/* =========================================================
   HERO DESKTOP
   ========================================================= */

body#product
.an-product-hero {
  grid-template-columns:
    minmax(0, 1.02fr)
    minmax(500px, .98fr) !important;

  gap:
    clamp(
      70px,
      7vw,
      125px
    ) !important;

  padding-top: 20px;
}


/* =========================================================
   GALERIE — NEUTRALISATION HUMMINGBIRD
   ========================================================= */

body#product
.an-product-gallery {
  width: 100% !important;

  min-width: 0 !important;
}


body#product
.an-product-gallery__main,
body#product
.an-product-gallery__main
.carousel-inner,
body#product
.an-product-gallery__main
.carousel-item,
body#product
.an-product-gallery__main
.carousel-item
picture,
body#product
.an-product-gallery__main
.product__image {
  width: 100% !important;

  min-height:
    650px !important;

  height:
    650px !important;

  max-height:
    none !important;
}


body#product
.an-product-gallery__main
.carousel-item {
  display: none;
}


body#product
.an-product-gallery__main
.carousel-item.active {
  display:
    flex !important;

  align-items:
    center !important;

  justify-content:
    center !important;
}


body#product
.an-product-gallery__main img,
body#product
.an-product-gallery__image {
  display:
    block !important;

  width:
    auto !important;

  height:
    560px !important;

  max-width:
    90% !important;

  max-height:
    560px !important;

  margin:
    auto !important;

  object-fit:
    contain !important;

  transform:
    none !important;
}


/* =========================================================
   MINIATURES
   ========================================================= */

body#product
.an-product-gallery__thumbs {
  width:
    74px !important;
}


body#product
.an-product-gallery__thumb {
  width:
    66px !important;

  height:
    66px !important;
}


/* =========================================================
   FLAGS PRODUITS
   ========================================================= */

body#product
.an-product-gallery
.product-flags,
body#product
.an-product-hero__media
.product-flags {
  position:
    absolute !important;

  z-index: 3;

  top: 8px;

  left: 96px;

  display:
    flex !important;

  flex-wrap: wrap;

  gap: 6px;

  margin:
    0 !important;

  padding:
    0 !important;

  list-style:
    none !important;
}


body#product
.an-product-gallery
.product-flag,
body#product
.an-product-hero__media
.product-flag {
  min-height:
    28px !important;

  margin:
    0 !important;

  padding:
    7px
    11px !important;

  border:
    0 !important;

  border-radius:
    999px !important;

  background:
    #07574f !important;

  font-size:
    10px !important;

  font-weight:
    600 !important;

  line-height:
    1 !important;

  color:
    #fff !important;
}


body#product
.an-product-gallery
.product-flag.discount,
body#product
.an-product-gallery
.product-flag.discount-percentage,
body#product
.an-product-gallery
.product-flag.on-sale {
  background:
    #ffe2bf !important;

  color:
    #07574f !important;
}


/* =========================================================
   COLONNE INFO
   ========================================================= */

body#product
.an-product-hero__info {
  width:
    100% !important;

  max-width:
    680px !important;

  padding-top:
    28px !important;
}


body#product
.an-product-title {
  max-width:
    650px !important;

  font-size:
    clamp(
      58px,
      4.8vw,
      82px
    ) !important;

  line-height:
    .88 !important;
}


body#product
.an-product-intro {
  max-width:
    610px !important;

  font-size:
    14px !important;
}


body#product
.an-product-prices__main
.product__price {
  font-size:
    48px !important;
}


/* =========================================================
   ACHAT
   ========================================================= */

body#product
.an-product-buy__row {
  grid-template-columns:
    118px
    minmax(0, 1fr) !important;
}


body#product
.an-product-buy__button {
  min-height:
    56px !important;

  font-size:
    13px !important;
}


/*
 * Évite que les composants natifs
 * réduisent les actions.
 */

body#product
.js-product-actions,
body#product
#add-to-cart-or-refresh,
body#product
.an-product-buy,
body#product
.an-product-buy__row {
  width:
    100% !important;

  max-width:
    none !important;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

body#product
.an-product-content {
  margin-top:
    95px !important;
}


body#product
.an-product-content__main {
  width:
    100% !important;
}


body#product
.an-product-content
.accordion-body,
body#product
.an-product-content
.product__description {
  max-width:
    none !important;

  font-size:
    14px !important;

  line-height:
    1.75 !important;
}


/* =========================================================
   DESKTOP XL
   ========================================================= */

@media (min-width: 1440px) {

  body#product
  .an-product-hero {
    min-height: 740px;
  }

}


/* =========================================================
   TABLETTE
   ========================================================= */

@media (max-width: 1199px) {

  body#product
  .an-product-hero,
  body#product
  .an-product-content,
  body#product
  .an-product-accessories {
    width:
      calc(100% - 50px) !important;
  }


  body#product
  .an-product-hero {
    grid-template-columns:
      minmax(0, 1fr)
      minmax(410px, .95fr) !important;

    gap:
      50px !important;
  }


  body#product
  .an-product-gallery__main,
  body#product
  .an-product-gallery__main
  .carousel-inner,
  body#product
  .an-product-gallery__main
  .carousel-item,
  body#product
  .an-product-gallery__main
  .carousel-item
  picture,
  body#product
  .an-product-gallery__main
  .product__image {
    min-height:
      540px !important;

    height:
      540px !important;
  }


  body#product
  .an-product-gallery__main img,
  body#product
  .an-product-gallery__image {
    height:
      480px !important;

    max-height:
      480px !important;
  }

}


/* =========================================================
   TABLETTE VERTICALE
   ========================================================= */

@media (max-width: 900px) {

  body#product
  .an-product-hero {
    grid-template-columns:
      1fr !important;
  }


  body#product
  .an-product-hero__info {
    max-width:
      none !important;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

  body#product
  .an-product-hero,
  body#product
  .an-product-content,
  body#product
  .an-product-accessories {
    width:
      calc(100% - 36px) !important;
  }


  body#product
  .an-product-gallery__main,
  body#product
  .an-product-gallery__main
  .carousel-inner,
  body#product
  .an-product-gallery__main
  .carousel-item,
  body#product
  .an-product-gallery__main
  .carousel-item
  picture,
  body#product
  .an-product-gallery__main
  .product__image {
    min-height:
      430px !important;

    height:
      430px !important;
  }


  body#product
  .an-product-gallery__main img,
  body#product
  .an-product-gallery__image {
    height:
      390px !important;

    max-height:
      390px !important;

    max-width:
      100% !important;
  }


  body#product
  .an-product-title {
    font-size:
      49px !important;
  }


  body#product
  .an-product-gallery
  .product-flags,
  body#product
  .an-product-hero__media
  .product-flags {
    left: 8px;
  }

}


/* =========================================================
   V1.2 — PALETTE ALLO NATUREL
   ========================================================= */

body#product {
  --bs-primary:
    #07574f;

  --bs-primary-rgb:
    7, 87, 79;

  --bs-link-color:
    #07574f;

  --bs-link-hover-color:
    #04483f;
}


/* =========================================================
   LIENS
   ========================================================= */

body#product a,
body#product
.link-primary,
body#product
.text-primary {
  color:
    #07574f !important;
}


body#product a:hover,
body#product a:focus {
  color:
    #04483f !important;
}


/* =========================================================
   BOUTONS BOOTSTRAP
   ========================================================= */

body#product
.btn-primary,
body#product
.btn-outline-primary:hover,
body#product
.btn-check:checked
+ .btn-outline-primary,
body#product
.btn-check:active
+ .btn-outline-primary {
  background-color:
    #07574f !important;

  border-color:
    #07574f !important;

  color:
    #fff !important;
}


body#product
.btn-outline-primary {
  background:
    transparent !important;

  border-color:
    #07574f !important;

  color:
    #07574f !important;
}


body#product
.btn-link {
  color:
    #07574f !important;
}


/* =========================================================
   BADGES / FLAGS
   ========================================================= */

body#product
.badge.bg-primary,
body#product
.bg-primary,
body#product
.product-flag,
body#product
.product-flags
.product-flag {
  background-color:
    #07574f !important;

  border-color:
    #07574f !important;

  color:
    #fff !important;
}


body#product
.product-flag.discount,
body#product
.product-flag.discount-percentage,
body#product
.product-flag.on-sale {
  background-color:
    #ffe2bf !important;

  border-color:
    #ffe2bf !important;

  color:
    #07574f !important;
}


/* =========================================================
   ACCORDÉONS / ONGLETS
   ========================================================= */

body#product
.accordion-button,
body#product
.accordion-button:not(.collapsed),
body#product
.nav-link,
body#product
.nav-tabs
.nav-link,
body#product
.product__accordion
.accordion-button {
  color:
    #07574f !important;
}


body#product
.accordion-button:not(.collapsed) {
  background-color:
    transparent !important;

  box-shadow:
    inset
    0
    -1px
    0
    #ded8ce !important;
}


body#product
.accordion-button:focus,
body#product
.nav-link:focus,
body#product
.nav-link:hover {
  border-color:
    transparent !important;

  box-shadow:
    none !important;
}


/* =========================================================
   FORMULAIRES
   ========================================================= */

body#product
.form-check-input:checked {
  background-color:
    #07574f !important;

  border-color:
    #07574f !important;
}


body#product
.form-control:focus,
body#product
.form-select:focus,
body#product
.form-check-input:focus {
  border-color:
    #5f948e !important;

  box-shadow:
    0
    0
    0
    .15rem
    rgba(7,87,79,.12) !important;
}


/* =========================================================
   ALERTES
   ========================================================= */

body#product
.alert-primary,
body#product
.alert-info {
  background:
    #f1f6f5 !important;

  border-color:
    #d8e6e3 !important;

  color:
    #07574f !important;
}


/* =========================================================
   STOCK / RÉFÉRENCES
   ========================================================= */

body#product
.product__availability,
body#product
.product-availability,
body#product
.product__stock,
body#product
.product__reference,
body#product
.product__manufacturer {
  color:
    #07574f !important;
}


/* =========================================================
   PAGINATION / ICÔNES
   ========================================================= */

body#product
.page-link,
body#product
.material-icons,
body#product
.icon,
body#product svg {
  color:
    #07574f;
}


body#product
.page-item.active
.page-link {
  background-color:
    #07574f !important;

  border-color:
    #07574f !important;

  color:
    #fff !important;
}


/* =========================================================
   LIENS DES BLOCS PRODUIT
   ========================================================= */

body#product
.product__description a,
body#product
.product__details a,
body#product
.product__attachments a,
body#product
.product__additional-info a,
body#product
.product__social-sharing a,
body#product
.product__comments a,
body#product
.product-comments a {
  color:
    #07574f !important;
}


/* =========================================================
   FLAGS ÉTATS
   ========================================================= */

body#product
.product-flag.out_of_stock,
body#product
.product-flag.online-only {
  background:
    #07574f !important;

  color:
    #fff !important;
}


/* =========================================================
   MASQUER CONDITION / NOUVEAUTÉ
   ========================================================= */

body#product
.product-flag.new,
body#product
.product-flag.used,
body#product
.product-flag.refurbished {
  display:
    none !important;
}


body#category
.product-flag.new,
body#category
.product-flag.used,
body#category
.product-flag.refurbished {
  display:
    none !important;
}

/* ==========================================================
   QUANTITÉ HAUT DE PAGE — VERSION NETTOYÉE
   Même logique visuelle que la barre sticky
   ========================================================== */

/* Ligne quantité + bouton panier */
body#product .an-product-buy__row {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Bloc quantité */
body#product .an-product-buy__qty {
  flex: 0 0 112px !important;
  width: 112px !important;
  min-width: 112px !important;
  height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
}

/* Capsule */
body#product .an-product-buy__qty > .quantity-button__group {
  position: relative !important;
  box-sizing: border-box !important;
  width: 112px !important;
  min-width: 112px !important;
  max-width: 112px !important;
  height: 34px !important;
  min-height: 34px !important;
  max-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  grid-template-columns: 34px 42px 34px !important;
  align-items: center !important;
  justify-items: center !important;
  overflow: hidden !important;
  border: 1px solid var(--an-line, #d7dfdc) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  line-height: 1 !important;
}

/* Boutons − / + */
body#product .an-product-buy__qty .js-decrement-button,
body#product .an-product-buy__qty .js-increment-button {
  position: static !important;
  box-sizing: border-box !important;
  width: 34px !important;
  min-width: 34px !important;
  max-width: 34px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  align-self: center !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--an-green, #07574f) !important;
  font-size: 0 !important;
  line-height: 1 !important;
  transform: none !important;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

/* Neutralisation complète des icônes Hummingbird */
body#product .an-product-buy__qty .js-decrement-button > *,
body#product .an-product-buy__qty .js-increment-button > * {
  display: none !important;
}

/* Symboles visuels */
body#product .an-product-buy__qty .js-decrement-button::before,
body#product .an-product-buy__qty .js-increment-button::before {
  display: grid !important;
  place-items: center !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: Arial, sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1 !important;
  color: var(--an-green, #07574f) !important;
  transform: translateY(-1px) !important;
}

body#product .an-product-buy__qty .js-decrement-button::before {
  content: "−" !important;
}

body#product .an-product-buy__qty .js-increment-button::before {
  content: "+" !important;
}

/* Valeur centrale */
body#product .an-product-buy__qty #quantity_wanted {
  position: static !important;
  box-sizing: border-box !important;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 32px !important;
  min-height: 32px !important;
  max-height: 32px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: 0 !important;
  color: var(--an-green, #07574f) !important;
  font-family: inherit !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  line-height: 32px !important;
  text-align: center !important;
  vertical-align: middle !important;
  transform: translateY(-1px) !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

body#product .an-product-buy__qty #quantity_wanted::-webkit-inner-spin-button,
body#product .an-product-buy__qty #quantity_wanted::-webkit-outer-spin-button {
  margin: 0 !important;
  -webkit-appearance: none !important;
}

/* États */
body#product .an-product-buy__qty .js-decrement-button:hover,
body#product .an-product-buy__qty .js-increment-button:hover {
  background: #f0f6f5 !important;
}

body#product .an-product-buy__qty > .quantity-button__group:focus-within {
  border-color: var(--an-green, #07574f) !important;
  box-shadow: 0 0 0 2px rgba(7, 87, 79, .08) !important;
}

/* Bouton Ajouter au panier */
body#product .an-product-buy__submit {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#product .an-product-buy__button {
  width: 100% !important;
  margin: 0 !important;
}

/* Mobile : conserver la capsule compacte sans écrasement */
@media (max-width: 767px) {
  body#product .an-product-buy__row {
    gap: 10px !important;
  }

  body#product .an-product-buy__qty {
    flex-basis: 104px !important;
    width: 104px !important;
    min-width: 104px !important;
  }

  body#product .an-product-buy__qty > .quantity-button__group {
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
    grid-template-columns: 32px 40px 32px !important;
  }

  body#product .an-product-buy__qty .js-decrement-button,
  body#product .an-product-buy__qty .js-increment-button {
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
  }

  body#product .an-product-buy__qty #quantity_wanted {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
  }
}

/* ==========================================================
   ALLO NATUREL — DÉCLINAISON "GOÛTS"
   Vignettes plus grandes + nom du goût visible
   ========================================================== */

body#product .an-product-variant .product-variant__selected {
  display: inline-flex !important;
  align-items: center;
  margin-left: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #6f8884;
}

body#product .an-product-variant .product-variant__colors {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px 12px !important;
  align-items: center !important;
}

body#product .an-product-variant .product-variant__color {
  position: relative !important;
  margin: 0 !important;
}

body#product .an-product-variant .product-variant__color .input-color__input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body#product .an-product-variant .product-variant__color .input-color__label {
  min-height: 48px !important;
  margin: 0 !important;
  padding: 5px 13px 5px 5px !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  border: 1px solid #d9e2df !important;
  border-radius: 999px !important;
  background: #fff !important;
  cursor: pointer !important;
  transition:
    border-color .15s ease,
    background-color .15s ease,
    box-shadow .15s ease,
    transform .15s ease !important;
}

body#product .an-product-variant .product-variant__color .color {
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  min-height: 36px !important;
  flex: 0 0 36px !important;
  display: block !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: 0 0 0 1px rgba(7, 87, 79, .18) !important;
}

body#product .an-product-variant .product-variant__color .an-color-name {
  display: inline-block !important;
  max-width: 145px;
  font-family: "Geist", Arial, sans-serif;
  font-size: 12px;
  font-weight: 550;
  line-height: 1.15;
  color: #07574f;
  white-space: normal;
}

body#product .an-product-variant .product-variant__color .input-color__label:hover {
  border-color: #8cafaa !important;
  background: #f8fbfa !important;
}

body#product .an-product-variant .product-variant__color
.input-color__input:checked + .input-color__label,
body#product .an-product-variant .product-variant__color
.input-color__label--active {
  border-color: #07574f !important;
  background: #edf5f3 !important;
  box-shadow: 0 0 0 1px #07574f !important;
}

body#product .an-product-variant .product-variant__color
.input-color__input:checked + .input-color__label .color,
body#product .an-product-variant .product-variant__color
.input-color__label--active .color {
  box-shadow: 0 0 0 2px #07574f !important;
}

body#product .an-product-variant .product-variant__color
.input-color__input:focus-visible + .input-color__label {
  outline: 2px solid #f2a354 !important;
  outline-offset: 2px !important;
}

@media (max-width: 767px) {
  body#product .an-product-variant .product-variant__colors {
    gap: 8px !important;
  }

  body#product .an-product-variant .product-variant__color .input-color__label {
    min-height: 44px !important;
    padding: 4px 10px 4px 4px !important;
    gap: 7px !important;
  }

  body#product .an-product-variant .product-variant__color .color {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    flex-basis: 32px !important;
  }

  body#product .an-product-variant .product-variant__color .an-color-name {
    max-width: 120px;
    font-size: 11px;
  }
}
