/* =========================================================
   PRODUCT.CSS — CLEAN CONSOLIDATED
   Product detail / gallery / options / request form
========================================================= */

/* =========================================================
   PRODUCT DETAIL — LAYOUT
========================================================= */

.mainsection_product_item.cc-product-detail {
  display: grid;
  grid-template-columns: minmax(0, 58%) minmax(320px, 42%);
  align-items: flex-start;
  column-gap: 4rem;
  width: 100%;
  margin-bottom: 4rem;
  overflow: visible;
}

.product-media {
  width: 100%;
  min-width: 0;
}

.product-details-wrap {
  position: sticky;
  top: 7rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  max-width: 520px;
  min-width: 0;
  margin: 0;
}

/* =========================================================
   PRODUCT DETAIL — TYPOGRAPHY
========================================================= */

.product-detail-name {
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 400;
}

/* =========================================================
   PRODUCT STATUS KICKERS
========================================================= */

.product-status-kicker,
.product-configurator-kicker,
[data-product-status-kicker] {
  margin: 0;

  font-size: .68rem;
  line-height: 1;
  font-weight: 300;

  letter-spacing: .08em;
  text-transform: uppercase;

  opacity: .45;
}

/* =========================================================
   PRODUCT DETAIL — CTA
========================================================= */

.product-detail-cta-wrap {
  position: relative;
  display: grid !important;
  grid-template-columns: auto auto;
  align-items: center;
  justify-content: space-between;
  column-gap: 1.5rem;
  width: 100%;
  margin-top: 4rem;
  padding-top: 1.25rem;
  padding-right: 2rem;
}

.product-detail-cta-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: rgba(0, 0, 0, 0.08);
}

.product-detail-price {
  grid-column: 1;
  justify-self: start;
  white-space: nowrap;
}

.cta-label-embed.w-embed {
  position: relative;
  z-index: 1;
  grid-column: 2;
  justify-self: end;
}

.product-detail-cta-wrap .cta-label {
  position: relative;
  display: inline-flex;
  padding: 0.35rem;
  color: #000;
  font-family: var(--_typographie-principale---font-family);
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.product-detail-cta-wrap .cta-label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-detail-cta-wrap:hover .cta-label::after,
.product-detail-cta-wrap:focus-within .cta-label::after {
  transform: scaleX(1);
  transform-origin: left center;
}

/* Vrai bouton Webflow invisible au-dessus du label */
.product-detail-cta-wrap .w-commerce-commerceaddtocartbutton,
.product-detail-cta-wrap .cc-add-to-cart-btn {
  position: absolute !important;
  top: 1.25rem;
  right: 2rem;
  z-index: 20;
  display: block !important;
  width: 9rem !important;
  height: 3rem !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: transparent !important;
  opacity: 0 !important;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

/* =========================================================
   PRODUCT INFO
========================================================= */

.info-product {
  width: 80%;
  max-width: 80%;
}

.info-product .Text_Presentation,
.info-product .Text_Material,
.info-product .Texte_LieuFabrication {
  line-height: 1.5;
}

.product-online-status {
  display: none !important;
}

/* =========================================================
   PRODUCT REQUEST FORM
========================================================= */

.product-request-intro {
  width: 100%;
  max-width: 32rem;
  margin-bottom: 2.5rem;
  color: rgba(0, 0, 0, 0.72);
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
  text-wrap: balance;
}

.product-request-form {
  width: 80%;
  margin-top: 2rem;
}

.demande-product {
  margin: 0 0 2rem;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.form-block-demande {
  width: 100%;
  margin: 0;
}

.form-demande {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1.75rem;
}

.title-form {
  margin-bottom: 0.45rem;
  color: #000;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.text-field-form {
  width: 100%;
  min-height: 2.75rem;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0.9rem;
  border: none;
  border-bottom: 1px solid rgba(0, 0, 0, 0.28);
  border-radius: 0;
  background-color: transparent;
  color: #000;
  font-size: 1rem;
  line-height: 1.4;
  transition:
    border-color 220ms ease,
    opacity 220ms ease;
}

.text-field-form:focus {
  border-bottom-color: #000;
  outline: none;
}

.text-field-form::placeholder {
  color: rgba(0, 0, 0, 0.42);
  letter-spacing: 0.02em;
}

textarea.text-field-form {
  resize: vertical;
}

.form-demande input[type="submit"] {
  display: none !important;
}

.btn-envoyer {
  position: relative;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: fit-content;
  max-width: 100%;
  border: none;
  background: transparent;
  color: #000;
  font-family: var(--_typographie-principale---font-family);
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.04em;
  text-align: right;
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.btn-envoyer::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-envoyer:hover::after,
.btn-envoyer:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.btn-envoyer:focus-visible {
  outline: none;
}

/* reCAPTCHA spacing */
.form-demande .w-form-formrecaptcha,
.form-demande .g-recaptcha,
.form-demande iframe[src*="recaptcha"] {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.form-demande .w-form-formrecaptcha {
  align-self: flex-start;
}

.form-demande .w-form-formrecaptcha + .btn-envoyer,
.form-demande .g-recaptcha + .btn-envoyer {
  margin-top: -3rem;
}

/* =========================================================
   PRODUCT OPTIONS / SIZE
========================================================= */

.select-field-size,
select[data-node-type="commerce-add-to-cart-option-select"] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.choose-option {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 3rem;
}

.choose-option > .w-richtext,
.choose-option > p,
.choose-option > div:first-child,
.choose-option > .text-block {
  margin-bottom: 1.5rem;
  color: #000;
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.option-list-size {
  width: 100%;
}

.option-size {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
}

.size-options-ui {
  display: flex;
  justify-content: flex-start !important;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.9rem;
  width: auto;
  margin-top: 0;
  padding-right: 0 !important;
}

.size-option-button {
  position: relative;
  padding: 0.35rem 0;
  border: 0;
  background: transparent;
  color: #000;
  font-family: var(--_typographie-principale---font-family);
  font-size: 1.15rem;
  line-height: 1;
  letter-spacing: 0.03em;
  opacity: 0.28;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.size-option-button::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0);
  transform-origin: right center;
  transition:
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.35s ease;
}

.size-option-button:hover {
  opacity: 0.65;
}

.size-option-button:hover::after,
.size-option-button.is-selected::after {
  opacity: 1;
  transform: scaleX(1);
  transform-origin: left center;
}

.size-option-button.is-selected {
  opacity: 1;
}

.size-option-button:focus-visible {
  outline: none;
  opacity: 1;
}

/* =========================================================
   PRODUCT OPTION — ERROR
========================================================= */

.product-option-error {
  margin: .45rem 0 0;

  font-size: .75rem;
  font-weight: 300;
  line-height: 1.35;

  color: #9c3b3b;
}

[data-product-option].has-error
[data-product-option-value] {
  border-bottom-color:
    #9c3b3b;
}

/* =========================================================
   CONFIGURATOR — STONE SWATCHES
========================================================= */

[data-configurator-stone] {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.configurator-stone-swatch {
  position: relative;

  width: .8rem;
  height: .8rem;

  flex: 0 0 auto;

  border:
    1px solid rgba(0, 0, 0, .18);

  border-radius: 50%;

  background: #fff;

  opacity: .7;
}


/* Sans pierre */

.configurator-stone-swatch[data-stone="none"] {
  background: #f5f3ee;
}


/* Onyx */

.configurator-stone-swatch[data-stone="onyx"] {
  background: #181818;
}


/* Quartz rose */

.configurator-stone-swatch[data-stone="rose_quartz"],
.configurator-stone-swatch[data-stone="pink_quartz"] {
  background: #ead8d5;
}


/* Calcédoine */

.configurator-stone-swatch[data-stone="chalcedony"] {
  background: #cbd9dc;
}


/* Cristal de roche */

.configurator-stone-swatch[data-stone="rock_crystal"] {
  background:
    rgba(255, 255, 255, .9);
}


/* Chrysoprase */

.configurator-stone-swatch[data-stone="chrysoprase"] {
  background: #a9c9b0;
}

[data-configurator-stone].is-active
.configurator-stone-swatch {
  opacity: 1;

  border-color:
    rgba(0, 0, 0, .85);
}

[data-configurator-stone].is-active
.configurator-stone-swatch::after {
  content: "";

  position: absolute;

  inset: -.2rem;

  border:
    1px solid rgba(0, 0, 0, .38);

  border-radius: 50%;

  pointer-events: none;
}

/* =========================================================
   CONFIGURATOR — GOLD SWATCHES
========================================================= */

[data-configurator-gold] {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}

.configurator-gold-swatch {
  position: relative;

  width: .8rem;
  height: .8rem;

  flex: 0 0 auto;

  border:
    1px solid rgba(0, 0, 0, .18);

  border-radius: 50%;

  opacity: .75;
}


/* Or jaune */

.configurator-gold-swatch[data-gold="yellow"] {
  background:
    #d5b56b;
}


/* Or blanc */

.configurator-gold-swatch[data-gold="white"] {
  background:
    #d9d9d6;
}


/* Actif */

[data-configurator-gold].is-active
.configurator-gold-swatch {
  opacity: 1;

  border-color:
    rgba(0, 0, 0, .85);
}

[data-configurator-gold].is-active
.configurator-gold-swatch::after {
  content: "";

  position: absolute;

  inset: -.2rem;

  border:
    1px solid rgba(0, 0, 0, .38);

  border-radius: 50%;

  pointer-events: none;
}

/* =========================================================
   MORE DETAIL PRODUCT
========================================================= */

.moredetail-product {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
  margin-top: 1rem;
  padding-left: 3rem;
  padding-right: 3rem;
}

.moredetail-product .w-dropdown {
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.moredetail-product .w-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 4.75rem;
  padding: 1.65rem 0;
  background: transparent;
  color: #000;
  font-family: var(--_typographie-principale---font-family);
  font-size: 1.15rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
  transition: opacity 0.25s ease;
}

.moredetail-product .w-dropdown-toggle:hover {
  opacity: 0.65;
}

.moredetail-product .w-dropdown-list {
  position: relative;
  padding: 0 0 2.25rem;
  background: transparent;
}

.moredetail-product .w-dropdown-list.w--open {
  position: relative;
}

.moredetail-product .w-dropdown-list > div,
.moredetail-product .w-richtext,
.moredetail-product .rich-text-block {
  width: 80%;
  max-width: 70ch;
  color: rgba(0, 0, 0, 0.72);
  font-size: 1rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
}

.moredetail-product .w-richtext p,
.moredetail-product .rich-text-block p {
  margin-top: 0;
  margin-bottom: 1rem;
}

.moredetail-product .w-richtext p:last-child,
.moredetail-product .rich-text-block p:last-child {
  margin-bottom: 0;
}

.moredetail-product .w-icon-dropdown-toggle {
  margin-right: 0;
  font-size: 0.7rem;
  opacity: 0.55;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.25s ease;
}

.moredetail-product .w-dropdown-toggle:hover .w-icon-dropdown-toggle {
  opacity: 1;
}

.moredetail-product .w-dropdown.w--open .w-icon-dropdown-toggle {
  transform: rotate(180deg);
}

/* =========================================================
   PRODUCT GALLERY
========================================================= */

.product-gallery-stage {
  position: relative;
  width: 100%;
  overflow: hidden;
  touch-action: pan-y;
}

.product-gallery-track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.35s ease;
}

.product-gallery-slide {
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  overflow: hidden;
}

.product-gallery-image {
  display: block;
  width: 100%;
  height: auto;
  user-select: none;
  -webkit-user-drag: none;
  transform-origin: center center;
  transition: transform 0.3s ease;
  will-change: transform;
}

.product-gallery-slide.is-zoomed .product-gallery-image {
  transform: scale(2);
  cursor: zoom-out;
}

.product-gallery-slide:not(.is-zoomed) .product-gallery-image {
  cursor: zoom-in;
}

.product-gallery-prev,
.product-gallery-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  width: 22%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  opacity: 1 !important;
  cursor: pointer;
  pointer-events: auto !important;
}

.product-gallery-prev {
  left: 0;
  justify-content: flex-start;
}

.product-gallery-next {
  right: 0;
  justify-content: flex-end;
}

.product-gallery-prev::before,
.product-gallery-next::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--black, #000);
  border-right: 1px solid var(--black, #000);
  pointer-events: none;
}

.product-gallery-prev::before {
  margin-left: 1rem;
  transform: rotate(-135deg);
}

.product-gallery-next::before {
  margin-right: 1rem;
  transform: rotate(45deg);
}

.product-gallery-prev:focus-visible,
.product-gallery-next:focus-visible {
  outline: none;
}

.product-gallery-progress {
  width: 100%;
  margin-top: 1rem;
}

.product-gallery-progress-segments {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
}

.product-gallery-progress-segment {
  position: relative;
  flex: 1 1 0;
  height: 1px;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: rgba(0, 0, 0, 0.18);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

.product-gallery-progress-segment::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--black, #000);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.3s ease;
}

.product-gallery-progress-segment.is-active::after,
.product-gallery-progress-segment.is-complete::after {
  transform: scaleX(1);
}

.product-gallery-progress-segment:focus-visible {
  outline: none;
}

/* =========================================================
   PRODUCT WISHLIST
========================================================= */

.product-wishlist-button {
  display: inline-flex;
  align-items: center;
  gap: .5rem;

  padding: 0;
  border: 0;
  background: transparent;

  font: inherit;
  color: inherit;

  cursor: pointer;

  opacity: .55;

  transition: opacity 220ms ease;
}

.product-wishlist-button:hover,
.product-wishlist-button.is-active {
  opacity: 1;
}

.product-wishlist-icon {
  font-size: .9rem;
  line-height: 1;
}

.product-wishlist-button.is-active
.product-wishlist-icon {
  font-size: 0;
}

.product-wishlist-button.is-active
.product-wishlist-icon::before {
  content: "♥";
  font-size: .9rem;
}

.product-wishlist-label {
  font-size: .85rem;
  font-weight: 300;
}

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

@media screen and (max-width: 991px) {
  .mainsection_product_item.cc-product-detail {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
  }

  .product-media,
  .product-details-wrap {
    width: 100%;
    max-width: none;
  }

  .product-details-wrap {
    position: relative;
    top: auto;
  }

  .product-detail-name {
    font-size: 1.35rem;
  }

  .info-product,
  .product-request-form {
    width: 100%;
    max-width: none;
  }

  .moredetail-product {
    margin-top: 4rem;
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
  }

  .moredetail-product .w-dropdown-toggle {
    min-height: 4.25rem;
    font-size: 1.05rem;
  }

  .moredetail-product .w-dropdown-list > div,
  .moredetail-product .w-richtext,
  .moredetail-product .rich-text-block {
    width: 100%;
    max-width: none;
  }

  .product-gallery-prev,
  .product-gallery-next {
    width: 18%;
  }

  .product-gallery-prev::before {
    margin-left: 0.8rem;
  }

  .product-gallery-next::before {
    margin-right: 0.8rem;
  }
}

/* =========================================================
   PRODUCT — MOBILE OPTIONS CENTER
========================================================= */

@media screen and (max-width: 767px) {
  .choose-option {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    text-align: center !important;
  }

   .option-size {
justify-content: center !important;
}

  .option-list-size {
    display: flex !important;
    flex-wrap: wrap !important;

    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    gap: 0.75rem !important;

    margin: 0 auto !important;
    text-align: center !important;
  }
}

/* =========================================================
   PRODUCT — MOBILE DETAIL REFINEMENTS
   status / CTA / dropdowns
========================================================= */

@media screen and (max-width: 767px) {
  /* Status */
  .product-status-kicker {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;

    margin: 0 0 1.25rem !important;
    padding: 0 1rem !important;

    text-align: center !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.08em !important;
    line-height: 1.25 !important;
  }

  /* Price + Commander */
  .product-detail-cta-wrap {
    align-items: center !important;

    margin-top: 2.75rem !important;
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;
    padding-left: 1rem !important;

    column-gap: 1rem !important;
  }

  .product-detail-price {
    align-self: center !important;
    line-height: 1 !important;
  }

  .product-detail-cta-wrap .cta-label {
    align-items: center !important;
    justify-content: center !important;

    min-height: 2.75rem !important;
    padding: 0 !important;

    font-size: 1.35rem !important;
    line-height: 1 !important;
  }

  .product-detail-cta-wrap .w-commerce-commerceaddtocartbutton,
  .product-detail-cta-wrap .cc-add-to-cart-btn {
    top: 1rem !important;
    right: 1rem !important;
    height: 2.75rem !important;
  }

  /* More details accordions */
  .moredetail-product {
    margin-top: 3rem !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .moredetail-product .w-dropdown-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    min-height: 4.25rem !important;
    padding:
  1.25rem
  var(--mobile-gutter)
  !important;

    font-size: 0.95rem !important;
    line-height: 1.15 !important;
    letter-spacing: 0.04em !important;
  }

  .moredetail-product .w-icon-dropdown-toggle {
    margin-right: 0 !important;
    flex: 0 0 auto !important;
  }

  .moredetail-product .w-dropdown-list {
    padding:
  0
  var(--mobile-gutter)
  2rem
  !important;
  }
}

/* =========================================================
   PRODUCT — MOBILE TITLE UNDERLINE FULL WIDTH
========================================================= */

@media screen and (max-width: 767px) {
  .title-product::after {
    width: 100% !important;
  }
}

/* =========================================================
   PRODUCT REQUEST FORM — MOBILE REFINEMENT
========================================================= */

@media screen and (max-width: 767px) {
  .product-request-form {
    width: 100% !important;
    max-width: none !important;
    margin-top: 2.5rem !important;
    padding-left: var(--mobile-gutter) !important;
    padding-right: var(--mobile-gutter) !important;
    box-sizing: border-box !important;
  }

  .demande-product {
    margin-bottom: 1.5rem !important;

    font-size: 1.2rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .product-request-intro {
    max-width: 32rem !important;
    margin: 0 auto 2.25rem !important;
    padding: 0 0.5rem !important;

    font-size: 1rem !important;
    line-height: 1.5 !important;
    text-align: center !important;
  }

  .form-block-demande,
  .form-demande {
    width: 100% !important;
  }

  .form-demande {
    gap: 0 !important;
  }

  .text-field-form {
    min-height: 2.5rem !important;

    padding: 0 0.5rem !important;
    margin: 0 !important;

    border: 0 !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.26) !important;
    border-radius: 0 !important;

    line-height: 1.2 !important;
  }

  textarea.text-field-form {
    min-height: 2rem !important;
    padding-top: 1.25rem !important;
    resize: vertical;
  }

  .text-field-form::placeholder {
    color: rgba(0, 0, 0, 0.42) !important;
  }

  .form-demande .w-form-formrecaptcha,
  .form-demande .g-recaptcha,
  .form-demande iframe[src*="recaptcha"] {
    margin-top: 1.5rem !important;
    margin-bottom: 1rem !important;
  }

  .btn-envoyer {
    align-self: flex-end !important;

    padding: 0 0 0.35rem !important;

    line-height: 1 !important;
  }

  .form-demande .w-form-formrecaptcha + .btn-envoyer,
  .form-demande .g-recaptcha + .btn-envoyer {
    margin-top: 1.5rem !important;
  }
}
