/*
 * ADC Solution - Custom CSS (child_classic)
 */

 body{
  background-color: rgb(251, 248, 242) !important;
 }

/* Decale toute ancre cible (#xxx) sous le header sticky (63px) pour qu'un lien
   d'ancrage ne fasse jamais atterrir le contenu masque derriere le header. */
:target {
  scroll-margin-top: 150px;
}

/* =========================================================
   TYPOGRAPHIE
========================================================= */
p,
li,
ul {
  font-family: "Roboto", sans-serif !important;
}

b,
strong {
  font-weight: bold;
}

.h1accueil {
  font-weight: 400 !important;
  font-size: 34px !important;
  color: #424241 !important;
}

.h2accueil h3,
.h2accueil h2 {
  font-weight: 700 !important;
  font-size: 34px !important;
}

.h2accueil2 h2 {
  font-weight: 400 !important;
  font-size: 34px !important;
}

/* =========================================================
   LAYOUT / WRAPPER
========================================================= */
#wrapper {
  background: #fff;
  padding-top: 0;
}

.page-product #wrapper{

  background: #fbf8f2;
}

#wrapper .breadcrumb {
  padding: 30px 0;
}

nav.breadcrumb,
#category nav.breadcrumb {
  display: none;
}

.page-content.page-cms ul,
.page-content.page-cms dl,
.page-content.page-cms ol,
.page-content.page-cms p {
  margin-bottom: 0rem !important;
}

.page-authentication #content,
.page-registration #content {
  max-width: 1440px;
}

/* =========================================================
   HEADER
========================================================= */
.headermid.elementor-sticky--active .logoheader img {
  width: 150px;
}
#header a {
  text-transform: initial !important;
}

#header .header-nav .right-nav {
  display: flex;
  align-items: center;
}

.head-wishlist,
.head-compare {
  display: none;
}

.menu-item-type-account a span:after {
  content: "";
  background-color: #000;
  height: 1px;
  width: 80%;
  display: block;
  position: absolute;
  right: 20px;
  bottom: 5px;
}

/* =========================================================
   MEGAMENU
========================================================= */
.layout_layout1 .mm_menus_li {
  border: none;
  border-right: 1px solid transparent !important;
  border-left: 1px solid transparent !important;
}

/* .layout_layout1 .ets_mm_megamenu_content {
  background: #fff !important;
} */

.ets_mm_megamenu, .ets_mm_url{
  background-color: transparent !important;
}

.layout_layout1 .ets_mm_megamenu_content{
  background: transparent !important;
}


.layout_layout1 .ets_mm_megamenu_content {
  border-top: 1px solid transparent !important;
  border-bottom: 1px solid transparent !important;
}

.layout_layout1.ets_mm_megamenu .mm_columns_ul {
  border-color: #9fc52c !important;
}

.layout_layout1.ets_mm_megamenu .mm_columns_ul,
.layout_layout1.ybc_vertical_menu .mm_menus_ul {
  opacity: 1 !important;
}

.mm_columns_ul {
  height: auto !important;
}

body .layout_layout1.ets_mm_megamenu.bg_submenu::before {
  opacity: 0 !important;
}

.ets_mm_megamenu_content {
  display: flex;
}

.ets_mm_megamenu_content_content {
  width: 100%;
}

.layout_layout1 .ets_mm_block_content ul li a::before {
  display: none !important;
}

.mm_tab_toggle_title a {
  color: #000 !important;
}

.mm_tabs_li .mm_columns_contents_ul {
  border: 1px solid #9fc52c !important;
}

.mm_tab_li_content {
  border-color: #9fc52c !important;
}

.mm_menu_content_title {
  font-weight: normal;
}

.hook-default .ets_mm_megamenu_content .container,
.ets_mm_megamenu.mm_menu_center ul.mm_menus_ul {
  max-width: 1400px;
  width: 100%;
  justify-content: space-between;
}

/* =========================================================
   PANIER
========================================================= */
#cart .elementor-cart__toggle .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  text-decoration: none !important;
}

#cart .elementor-cart__toggle .elementor-button-icon {
  font-size: 32px !important;
  color: #333 !important;
  position: relative !important;
}

#cart.elementor-cart--items-indicator-bubble
  .elementor-cart__toggle
  .elementor-button-icon[data-counter]::before,
#cart
  .elementor-cart--items-indicator-bubble
  .elementor-cart__toggle
  .elementor-button-icon[data-counter]::before,
.elementor-element#cart
  .elementor-cart__toggle
  .elementor-button-icon[data-counter]::before {
  display: none !important;
  content: "" !important;
  min-width: 0 !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

#cart .elementor-cart__toggle .elementor-button-text {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  line-height: 1.2 !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111 !important;
}

#cart .elementor-cart__toggle .elementor-button-text::before {
  content: attr(data-count-label) !important;
  display: block !important;
  font-size: 11px !important;
  font-weight: 500 !important;
  color: #555 !important;
}

/* =========================================================
   SÉLECTEUR DE LANGUE
========================================================= */
.language-selector-pill {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: #25282b;
  border-radius: 50px;
  padding: 2px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
    Cantarell, sans-serif;
  animation: slideIn 0.4s ease-out;
}

.language-selector-pill:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

.language-selector-pill .language-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border: none;
  background: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 40px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 0.5px;
  white-space: nowrap;
  position: relative;
  min-width: 45px;
  text-align: center;
}

.language-selector-pill .language-btn:not(.active) {
  color: #5f6265 !important;
}

.language-selector-pill .language-btn:hover:not(.active) {
  color: #d3df7e !important;
  background: rgba(0, 0, 0, 0.05);
  transform: translateY(-1px);
}

.language-selector-pill .language-btn.active {
  background: linear-gradient(135deg, #484e56 0%, #3b4048 100%);
  color: #d3df7e !important;
  border: none;
  box-shadow:
    0 4px 4px rgba(0, 0, 0, 0.35),
    inset 0 0 0 0.6px #16181c;
  font-weight: 700;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================================================
   BOUTONS
========================================================= */
.btn-primary {
  background-color: #9fc52c;
  color: #fff;
  border: 1px solid #9fc52c;
}

.btn-primary:hover,
.btn-primary:active,
.lpsproaccount-button a:hover,
.lpsproaccount-button a:active {
  background-color: #fff !important;
  color: #9fc52c !important;
  border: 1px solid #9fc52c !important;
}

.done,
#blockcart-modal .product-name {
  color: #9fc52c !important;
}

.blocsxtrois {
  min-height: 450px !important;
}

.newsletter button {
  width: 300px !important;
}

/* =========================================================
   FORMULAIRES
========================================================= */
label {
  color: #9fc52c !important;
}

#customer-form label {
  color: #000 !important;
}

#customer-form label a {
  text-decoration: underline;
}

#customer-form label a:hover {
  color: #9fc52c !important;
}

#customer-form .form-control {
  border: 1px solid #9fc52c;
}

#customer-form > div > div.form-group.row.has-error > div.col-md-6 > a {
  padding: 5px 10px;
  background-color: #9fc52c;
  color: #fff;
  border-radius: 0;
}

#customer-form > div > div.form-group.row.has-error > div.col-md-6 > a:hover {
  background-color: black;
}

.custom-checkbox input[type="checkbox"] + span .checkbox-checked {
  color: #9fc52c !important;
}

.custom-checkbox input[type="checkbox"] {
  width: 17px !important;
  height: 17px !important;
  margin-top: 5px !important;
}

.custom-radio input[type="radio"]:checked + span {
  background-color: #9fc52c !important;
}

#field-lpsproaccount_siret {
  margin-bottom: 5px;
}

input#field-email {
  width: 100%;
}

.input-group .input-group-btn > .btn[data-action="show-password"] {
  background-color: #424241;
}

.ets_cfu_input_recaptcha {
  display: none;
}

.ets_cfu_form-control.ets_cfu-submit {
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 20px;
  outline: none !important;
  height: 64px;
  font-size: 15px;
  margin-top: 0;
}

.roja45quotationspro_button_container .qty {
  margin-right: 0.4rem;
  width: 118px !important;
}

.roja45quotationspro_button_container .input-group {
  flex-wrap: nowrap !important;
}

#registration header.page-header {
  margin-bottom: 0;
}

.register-form {
  text-align: center;
  margin-top: 10px;
}

.js-customer-form {
  text-align: left;
}

/* Validation mot de passe */
.field-password-policy {
  padding-bottom: 40px;
}

.field-password-policy .input-group {
  position: relative;
}

#errorMessage,
#passwordError {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 5px;
  font-size: 14px;
}

.error {
  color: red;
}

.success {
  color: #9fc52c;
}

/* =========================================================
   CHECKOUT
========================================================= */
body#checkout section.checkout-step .address-item.selected {
  border: #9fc52c 3px solid !important;
}

body#checkout section.checkout-step.-reachable.-current .step-number {
  background-color: #9fc52c !important;
}

.payment-option {
  display: inline-flex !important;
}

#checkout .condition-label {
  margin-top: 0rem !important;
}

.payment-option label img[src*="systempay"] {
  max-width: 110px !important;
  max-height: 45px !important;
}

#payment-option-2-container > label > span,
#payment-option-2-container label.payment-option-2 {
  font-size: 14px !important;
}

#payment-option-2-container img {
  max-width: 60px !important;
}

/* =========================================================
   CATALOGUE / PRODUITS
========================================================= */
.ce-product-badge {
  display: none !important;
}

.page-product #content-wrapper{

  background-color: #fbf8f2;
}

.elementor-4170101 .elementor-element.elementor-element-5b74c43c .elementor-heading-title{

  color: #123527 !important;
  font-family: "Newsreader";
}

h4.ce-product-name.elementor-heading-title {
  min-height: 55px !important;
}

#category h4.ce-product-name {
  min-height: 85px !important;
}

.elementor-widget-product-quantity input {
  appearance: textfield;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
}

.marque {
  height: 85px !important;
  width: auto !important;
  padding: 0px 10px 10px 10px !important;
}

#desc_courte img {
  max-width: 90px !important;
}

#main .images-container .js-qv-mask {
  margin: 0;
}

/* =========================================================
   CONTACT
========================================================= */
.wpcfu .form-control:not(.ets_cfu-file):not(.ets_cfu-select) {
  width: 100%;
  border: 0;
}

#contact #wpcfu-f2-o1 > form > h3,
.ets-cfu-form h3 {
  display: none !important;
}

#wpcfu-f3-o1 > form > div.ets_cfu_wrapper > div:nth-child(2) > div > div,
#text_produit {
  pointer-events: none !important;
}

/* =========================================================
   FOOTER
========================================================= */
#index #footer,
#footer {
  padding-top: 0 !important;
}

/* =========================================================
   FAQ
========================================================= */
.faq-container {
  width: 100%;
  padding: 2rem 0;
}

.faq-item {
  border-bottom: 1px solid #a4c835;
}

.faq-item:first-child {
  border-top: 1px solid #a4c835;
}

.faq-question {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 16px;
  width: 100%;
  background: none;
  border: none;
  padding: 18px 0;
  cursor: pointer;
  text-align: left !important;
  box-sizing: border-box;
}

.faq-plus {
  color: #a4c835;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.25s ease;
  display: inline-block !important;
}

.faq-item.open .faq-plus {
  transform: rotate(45deg);
}

.faq-label {
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 18px;
  color: #333;
  line-height: 1.4;
  text-align: left !important;
  flex: 1;
}

.faq-container .faq-item .faq-answer {
  display: none !important;
  padding: 0 0 18px 38px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  text-align: left !important;
}

.faq-container .faq-item.open .faq-answer {
  display: block !important;
}

/* =========================================================
   SLIDER ACCUEIL
========================================================= */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.slide {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
  z-index: 0;
}

.slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.slide:first-child {
  position: relative !important;
  opacity: 0;
  pointer-events: none;
}

.slide:first-child.active {
  opacity: 1;
  pointer-events: auto;
}

.slide a {
  display: block;
  width: 100%;
}

.slide a img,
.slide img {
  display: block;
  width: 100%;
  height: auto;
}

.slide-bg {
  position: absolute;
  inset: 0;
}

.slide-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background-color: #c8c8c8;
}

.slide-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px 24px 56px 24px;
}

.slide-badges {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-self: flex-start;
}

.slide-bottom {
  position: absolute;
  bottom: 50px;
  left: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
}

.slide-title {
  font-family: "Roboto", sans-serif;
  font-weight: 900;
  font-size: 40px;
  line-height: 100%;
  letter-spacing: 0%;
  color: #ffffff !important;
}

.slide-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 100%;
  letter-spacing: 0%;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  color: #ffffff !important;
  background-color: #a4c835;
  padding: 12px 24px;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

.slide-btn:hover {
  background-color: #8aaa2a;
  color: #ffffff;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background-color: #fff;
  padding: 0;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.dot.active {
  background-color: #a4c835;
  transform: scale(1.2);
}

/* =========================================================
   LIRE LA SUITE (extrait mobile)
========================================================= */
.ce-excerpt + .excerpt-toggle,
.excerpt-toggle {
  color: #9fc52c !important;
  height: 32px;
  width: 80%;
  margin: auto;
  border: 0 !important;
  display: block !important;
  text-align: center;
  background: none !important;
  font-weight: bold;
  margin-top: 0;
  text-transform: uppercase;
  text-decoration: none !important;
  font-size: 14px !important;
  cursor: pointer;
  font-family: "Roboto", sans-serif !important;
}

.excerpt-toggle .ti-chevron-down::after {
  content: " ";
  display: inline-block;
  border: solid #9fc52c;
  border-width: 0 2px 2px 0;
  padding: 3px;
  transform: rotate(45deg);
  margin-left: 8px;
  position: relative;
  top: -3px;
}

.excerpt-toggle.open .ti-chevron-down::after {
  transform: rotate(-135deg);
}

/* =========================================================
   DIVERS
========================================================= */
.carousel {
  margin-bottom: -15px !important;
}

.ybc_block_latest h4 {
  display: none !important;
}

#tmleftbanner img,
#tmrightbanner img {
  max-width: 100%;
}

#liste_prod_ico .elementor-widget .elementor-icon-list-item,
#liste_prod_ico .elementor-widget .elementor-icon-list-item a {
  align-items: center !important;
}

#handshake .elementor-icon:after {
  content: " ";
  border-radius: 200px;
  width: 100px;
  height: 100px;
  position: relative;
  top: 0;
  display: block;
  background-color: #347928;
  z-index: -10;
  margin-top: -75px;
  margin-left: -25px;
}

#desc_cat strong {
  color: #fff !important;
}

.elementor-widget-text-editor a {
  text-decoration: underline;
}

#content
  > div
  > div.elementor-section-wrap
  > section.elementor-element.elementor-element-7244432.elementor-section-full_width.elementor-section-stretched.elementor-section-height-default.elementor-section.elementor-top-section
  > div
  > div
  > div
  > div
  > div
  > section.elementor-element.elementor-element-9516bff.elementor-hidden-tablet.elementor-hidden-phone.elementor-section-boxed.elementor-section-height-default.elementor-section.elementor-inner-section
  > div
  > div
  > div
  > div
  > div
  > div
  > div
  > ul
  > li:nth-child(4)
  > span.elementor-icon-list-icon {
  padding-top: 5px;
}
/* .product_price .ce-tax-shipping-delivery-label::after {
  content: "/ le carton";
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 500;
  display: inline-flex;
  position: relative;
  padding-left: 5px;
  color: #000;
} */
.lpsproaccount-button {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
#login-form-particular-info {
  text-align: center;
  margin: 20px;
}
.no-account {
  display: none;
}
.page-content.page-cms ul,
dl,
ol,
p,
ul {
  margin-bottom: 0rem !important;
}
/* =========================================================
   RESPONSIVE
========================================================= */

/* Large desktop (≥ 1200px) */
@media (min-width: 1200px) {
  .container {
    width: 1440px !important;
  }
}

/* Desktop (≥ 1024px) */
@media screen and (min-width: 1024px) {
  #desc_mobile {
    display: none !important;
  }
  #mobile_header {
    display: none !important;
  }
}

/* Tablet (767px – 1023px) */
@media screen and (min-width: 767px) and (max-width: 1023px) {
  #desc_desktop {
    display: none !important;
  }
}

/* Tablet portrait (≤ 991px) */
@media (max-width: 991px) {
  #main .images-container .js-qv-mask {
    margin: 0;
  }
}

/* Smartphone + Tablet (≤ 1023px) : pas de sticky */
/* @media screen and (max-width: 1023px) {
  .headertop,
  .headermid,
  .headermenu {
    position: relative !important;
  }
} */

/* Smartphone (≤ 767px) */
@media screen and (max-width: 767px) {
  #desc_desktop {
    display: none !important;
  }

  #bouton_mobile a {
    font-size: 12px;
  }

  /* Header mobile */
  .headercol1 {
    order: 1;
  }

  .headercol1 .elementor-element {
    order: 4;
  }

  .headercol1 .elementor-element.langue {
    order: 1;
  }

  .headercol1 .elementor-element.phone {
    order: 2;
  }

  .headercol1 .elementor-element.socioz {
    order: 3;
  }

  .headercol1 .elementor-element.login {
    margin-left: auto;
  }

  .headercol2,
  .headercol3 {
    display: none;
  }

  .headercol4 {
    order: 4;
  }

  .headercol5 {
    order: 3;
  }

  .headercol6 {
    order: 2;
  }

  /* Megamenu mobile */
  .ets_mm_megamenu .container {
    background-color: #fff;
    padding: 0;
    border-radius: 1px;
    border: 1px solid #fff;
  }

  .ybc-menu-toggle {
    color: #000;
    padding: 10px 15px;
    font-weight: 400;
    font-size: 0;
  }

  .ybc-menu-toggle * {
    font-size: initial;
  }

  .ybc-menu-toggle .icon-bar {
    background-color: #000 !important;
  }

  .ets_mm_megamenu.hook-default {
    margin-top: 0;
    padding: 10px 0 5px 0;
  }

  /* Carousel */
  .carousel-control,
  .carousel-indicators {
    display: none !important;
  }

  /* Divers */
  .equipe {
    background-image: none !important;
  }

  /* FAQ */
  .faq-label {
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 0 14px 30px;
    font-size: 14px;
  }
  .col-lg,
  .col-lg-1,
  .col-lg-10,
  .col-lg-11,
  .col-lg-12,
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-md,
  .col-md-1,
  .col-md-10,
  .col-md-11,
  .col-md-12,
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-sm,
  .col-sm-1,
  .col-sm-10,
  .col-sm-11,
  .col-sm-12,
  .col-sm-2,
  .col-sm-3,
  .col-sm-4,
  .col-sm-5,
  .col-sm-6,
  .col-sm-7,
  .col-sm-8,
  .col-sm-9,
  .col-xl,
  .col-xl-1,
  .col-xl-10,
  .col-xl-11,
  .col-xl-12,
  .col-xl-2,
  .col-xl-3,
  .col-xl-4,
  .col-xl-5,
  .col-xl-6,
  .col-xl-7,
  .col-xl-8,
  .col-xl-9,
  .col-xs,
  .col-xs-1,
  .col-xs-10,
  .col-xs-11,
  .col-xs-12,
  .col-xs-2,
  .col-xs-3,
  .col-xs-4,
  .col-xs-5,
  .col-xs-6,
  .col-xs-7,
  .col-xs-8,
  .col-xs-9 {
    position: relative;
    min-height: 1px;
    padding-right: 10px;
    padding-left: 10px;
  }
  .product-line-grid-right .cart-line-product-actions .remove-from-cart,
  .product-line-grid-right .product-price .remove-from-cart {
    margin-top: 0 !important;
    margin-right: 20px !important;
  }
}

/* Mobile (≤ 480px) */
@media (max-width: 480px) {
  .language-selector-pill {
    padding: 3px;
  }

  .language-selector-pill .language-btn {
    padding: 6px 12px;
    font-size: 12px;
    min-width: 40px;
  }
}


/* ============================================================
 * ADC Product Sheet (module adcproductsheet) - CSS migré depuis
 * modules/adcproductsheet/views/css/front.css vers custom.css a la
 * demande de Guillaume (norme : tout le CSS vit dans le custom.css du
 * theme enfant). Re-migration du 2026-09-02 : la fusion precedente
 * s'etait perdue (custom.css ne contenait plus ces regles), refaite ici
 * a partir de la derniere sauvegarde complete de front.css.
 * ============================================================ */

/* ADC Product Sheet - front */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,400;0,500;1,400&display=swap');

.adcps-wrapper {
  --adcps-serif: 'Newsreader', Georgia, "Times New Roman", serif;
  --adcps-dark: #123527;
  --adcps-green: #6FA22A;
  --adcps-green-dark: #2E6B4F;
  --adcps-cream: #FBF8F2;
  --adcps-cream-dark: #F1EDE3;
  --adcps-border: #E3DED2;
  --adcps-text: #3D3B34;
  --adcps-text-light: #6E6A5F;
  --adcps-warn-bg: #FBF1DE;
  --adcps-warn-text: #A56C12;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--adcps-text);
  margin-top: 36px;
}

/* Le gras éditorial conserve exactement la typographie du texte environnant. */
.adcps-wrapper strong,
.adcps-wrapper b,
.adcps-hero strong,
.adcps-hero b,
.page-product .product-description strong,
.page-product .product-description b {
  font-family: inherit !important;
  font-size: inherit;
  font-style: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  font-weight: 700 !important;
}

/* Les emphases éditoriales gardent aussi la couleur du texte parent. */
.adcps-wrapper strong,
.adcps-wrapper b,
.page-product .product-description strong,
.page-product .product-description b {
  color: inherit !important;
}

.adcps-wrapper h2 {
  font-family: var(--adcps-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--adcps-dark);
  letter-spacing: -0.012em;
  margin: 0 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--adcps-green);
}

.adcps-wrapper h3.adcps-subtitle {
  font-family: var(--adcps-serif);
  font-size: 19px;
  font-weight: 500;
  color: var(--adcps-dark);
  margin: 22px 0 12px;
  padding-top: 18px;
  border-top: 1px solid var(--adcps-border);
}

.adcps-wrapper p { line-height: 1.65; margin: 0 0 10px; }
.adcps-wrapper .adcps-intro { color: var(--adcps-text-light); max-width: 720px; }

/* Badges / garanties - bandeau plein largeur, grille d'icones (maquette 1a) */
.adcps-badges-section {
  background: #F4F9F5;
  border: 1px solid #DCE9E0;
  border-radius: 14px;
  padding: 24px 28px 26px;
  margin-bottom: 28px;
}
.adcps-badges-head { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 18px; }
.adcps-badges-head h2 { font-family: var(--adcps-serif); font-size: 24px; font-weight: 500; color: var(--adcps-dark); margin: 0; }
.adcps-badges-caption { font-size: 12.5px; color: var(--adcps-text-light); }
.adcps-brand-badge,
.adcps-wrapper h2 + .adcps-brand-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--adcps-dark);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--adcps-dark);
  margin-left: auto;
}
.adcps-badges-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 14px; }
.adcps-badge { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; }
.adcps-badge-icon { width: 56px; height: 56px; border-radius: 50%; }
.adcps-badge-label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; color: var(--adcps-green-dark); line-height: 1.3; }
@media (max-width: 991px) {
  .adcps-badges-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .adcps-badges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .adcps-brand-badge { margin-left: 0; }
}

/* Repli "Voir toutes les garanties" (2 lignes max par défaut, cf. front.js) */
.adcps-badges-collapsible { overflow: hidden; transition: max-height 0.35s ease; }
.adcps-badges-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  border: 0;
  background: none;
  padding: 0 0 2px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  color: var(--adcps-green-dark);
  text-decoration: none;
  border-bottom: 1px solid #A9C9B4;
}
.adcps-badges-toggle-chevron {
  display: inline-block;
  width: 7px;
  height: 7px;
  border: solid var(--adcps-green-dark);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  transition: transform 0.25s ease;
  margin-top: -4px;
}
.adcps-badges-toggle[aria-expanded="true"] .adcps-badges-toggle-chevron { transform: rotate(-135deg); margin-top: 2px; }
.adcps-badges-toggle[hidden] { display: none; }

/* Caracteristiques principales (specs) */
.adcps-specs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--adcps-border); border: 1px solid var(--adcps-border); border-radius: 12px; overflow: hidden; }
.adcps-specs-cell { background: #fff; padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.adcps-specs-label { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--adcps-text-light); }
.adcps-specs-value { font-size: 14px; font-weight: 600; color: var(--adcps-dark); }
@media (max-width: 991px) {
  .adcps-specs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) {
  .adcps-specs-grid { grid-template-columns: 1fr; }
}

/* Boutons de navigation des carrousels */
.adcps-carousel-nav { display: flex; align-items: center; gap: 8px; }
.adcps-carousel-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--adcps-border);
  background: #fff; color: var(--adcps-dark); font-size: 18px; line-height: 1; cursor: pointer;
  transition: background .15s, border-color .15s;
}
.adcps-carousel-btn:hover { background: var(--adcps-cream-dark); border-color: var(--adcps-green); }
.adcps-carousel-btn:disabled { opacity: 0.35; cursor: default; }

/* Puces de certification inline (encart "Commander en confiance") */
.adcps-confidence-badges { display: flex; flex-wrap: wrap; gap: 10px 18px; padding-top: 12px; margin-top: 12px; border-top: 1px solid #DCE9E0; }
.adcps-confidence-badge { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 600; color: var(--adcps-dark); }
.adcps-confidence-badge img { width: 28px; height: 28px; border-radius: 50%; }

/* Layout */
.adcps-layout { display: grid; grid-template-columns: 244px minmax(0, 1fr); gap: 36px; align-items: start; }
.adcps-toc { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 6px; }
.adcps-toc-title { font-size: 11.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #8A857A; padding: 0 12px 10px; }
.adcps-toc a { font-size: 13.5px; color: var(--adcps-text); font-weight: 500; border-left: 2px solid var(--adcps-border); border-radius: 0 6px 6px 0; padding: 9px 12px; text-decoration: none; transition: background .15s, color .15s, border-color .15s; }
.adcps-toc a:hover { background: #F4F0E6; color: var(--adcps-dark); }
.adcps-toc a.adcps-toc-active { background: var(--adcps-cream-dark); color: var(--adcps-dark); font-weight: 600; border-left-color: var(--adcps-green); }
.adcps-toc-cta { margin-top: 10px; border-radius: 10px; background: #EFF5F0; border: 1px solid #CFE0D5; padding: 16px; }
.adcps-toc-cta-title { font-size: 13px; font-weight: 600; color: var(--adcps-dark); line-height: 1.4; }
.adcps-toc-cta-text { font-size: 12.5px; color: #4A6B58; line-height: 1.5; margin-top: 5px; }
.adcps-toc-cta-phone { display: inline-block; font-size: 13px; font-weight: 600; color: var(--adcps-green-dark); margin-top: 9px; text-decoration: none; }

.adcps-content { display: flex; flex-direction: column; gap: 34px; min-width: 0; }
.adcps-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; }
.adcps-link-more { font-size: 13px; font-weight: 600; color: var(--adcps-green-dark); text-decoration: none; border-bottom: 1px solid #A9C9B4; padding-bottom: 2px; }

.adcps-rich :last-child { margin-bottom: 0; }

/* Carousels / cards */
.adcps-carousel { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
.adcps-card, .adcps-step {
  flex: 0 0 280px; scroll-snap-align: start; border: 1px solid var(--adcps-border); border-radius: 12px;
  background: #fff; padding: 18px 20px; display: flex; flex-direction: column; gap: 8px; text-decoration: none; color: inherit;
}
.adcps-card:hover, .adcps-card-link:hover { border-color: var(--adcps-green); }
.adcps-card h3, .adcps-step h3 { font-size: 16px; font-weight: 600; color: var(--adcps-dark); margin: 0; }
.adcps-card p, .adcps-step p { font-size: 14px; color: var(--adcps-text); flex: 1; }
.adcps-card-icon { width: 42px; height: 42px; }
.adcps-card-photo { width: calc(100% + 40px); margin: -18px -20px 0; max-width: none; height: 140px; object-fit: cover; border-radius: 12px 12px 0 0; }
.adcps-tag { align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--adcps-green); background: #EFF5F0; border-radius: 999px; padding: 4px 10px; }
.adcps-tag-warning, .adcps-card-warning { color: var(--adcps-warn-text); }
.adcps-card-warning { background: #FDFAF3; border-color: #EADFC8; }
.adcps-tag-warning { background: var(--adcps-warn-bg); }
.adcps-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.adcps-chips span { font-size: 12px; background: #EFF5F0; border-radius: 999px; padding: 4px 10px; }
.adcps-note, .adcps-note-inline { font-size: 12.5px; line-height: 1.55; color: #6B5F45; background: #FAF5EA; border-left: 3px solid #D9CDB0; padding: 9px 11px; margin-top: auto; }
.adcps-reading-time { font-size: 12px; color: #8A857A; }

.adcps-step-head { display: flex; align-items: center; justify-content: space-between; }
.adcps-step-head img { width: 40px; height: 40px; }
.adcps-step-number { font-family: var(--adcps-serif); font-size: 30px; font-weight: 500; color: #B7D18C; line-height: 1; }

/* Verdict */
.adcps-verdict-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.adcps-verdict { border-radius: 12px; padding: 20px 22px; border: 1px solid var(--adcps-border); }
.adcps-verdict-yes { background: #EFF5F0; border-color: #CFE0D5; }
.adcps-verdict-title { font-weight: 600; margin-bottom: 10px; color: var(--adcps-dark); }
.adcps-verdict-line { font-size: 14px; padding: 4px 0; }

/* Fragrance calculator */
.adcps-frag-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 20px; align-items: start; }
.adcps-frag-box { border: 1px solid var(--adcps-border); border-radius: 12px; background: #fff; padding: 20px 22px; }
.adcps-frag-range { text-align: center; margin-bottom: 12px; }
.adcps-frag-value { font-family: var(--adcps-serif); font-size: 44px; font-weight: 500; color: var(--adcps-green-dark); line-height: 1; }
.adcps-frag-caption { font-size: 11px; font-weight: 700; text-transform: uppercase; color: var(--adcps-green); }
.adcps-frag-calc { border: 1px solid #CFE0D5; border-radius: 12px; background: #EFF5F0; padding: 20px; }
.adcps-frag-calc label { display: block; font-size: 12.5px; font-weight: 600; margin: 10px 0 6px; }
.adcps-frag-calc input[type="number"] { width: 100%; border: 1px solid #CFE0D5; border-radius: 8px; padding: 8px 10px; }
.adcps-frag-calc input[type="range"] { width: 100%; accent-color: var(--adcps-green); }
.adcps-frag-results { display: flex; gap: 10px; margin-top: 12px; }
.adcps-frag-results > div { flex: 1; background: #fff; border-radius: 8px; padding: 10px 12px; display: flex; justify-content: space-between; }
.adcps-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; }
.adcps-mini-card { border: 1px solid var(--adcps-border); border-radius: 10px; background: #fff; padding: 12px 14px; }
.adcps-mini-title { display: block; font-size: 13.5px; font-weight: 600; color: var(--adcps-dark); }
.adcps-mini-text { display: block; font-size: 12.5px; color: var(--adcps-text-light); margin-top: 4px; }

/* Compare table */
.adcps-compare-table { border: 1px solid var(--adcps-border); border-radius: 12px; overflow: hidden; background: #fff; }
.adcps-compare-head, .adcps-compare-row { display: grid; grid-template-columns: 1.1fr 1fr 1fr 1fr; }
.adcps-compare-head { background: var(--adcps-dark); color: #CFE0D5; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
.adcps-compare-head > div, .adcps-compare-row > div { padding: 12px 16px; }
.adcps-compare-row { border-top: 1px solid #EFEADF; font-size: 14px; }
/* .adcps-compare-self { background: #F6FAF7; font-weight: 600; color: #24352B; } */
.adcps-guide-list { display: flex; flex-direction: column; border: 1px solid var(--adcps-border); border-radius: 12px; overflow: hidden; background: #fff; }
.adcps-guide-block { padding: 18px 22px; border-bottom: 1px solid #EFEADF; }
.adcps-guide-block:last-child { border-bottom: 0; }
.adcps-guide-block h4 { margin: 0 0 6px; font-size: 15.5px; color: var(--adcps-dark); }

/* Two-column (store/certs) */
.adcps-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: start; }
.adcps-checklist { border: 1px solid var(--adcps-border); border-radius: 12px; background: #fff; padding: 18px 20px; margin-top: 12px; }
.adcps-checklist-title { font-size: 12.5px; font-weight: 600; color: var(--adcps-text-light); margin-bottom: 10px; }
.adcps-check-line { font-size: 14px; padding: 4px 0; }

/* FAQ accordion */
.adcps-accordion-item { border-top: 1px solid var(--adcps-border); }
.adcps-accordion-trigger {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer; padding: 16px 0;
  display: flex; align-items: flex-start; gap: 14px; font: inherit;
}
.adcps-accordion-num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--adcps-green); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.adcps-accordion-question { font-size: 15.5px; font-weight: 600; color: var(--adcps-dark); }
.adcps-accordion-panel { display: none; padding: 0 0 18px 38px; }
.adcps-accordion-item.adcps-open .adcps-accordion-panel { display: block; }

/* Responsive */
@media (max-width: 991px) {
  .adcps-layout { grid-template-columns: 1fr; }
  .adcps-toc { position: static; flex-direction: row; flex-wrap: wrap; }
  .adcps-verdict-grid, .adcps-two-col, .adcps-frag-grid { grid-template-columns: 1fr; }
  .adcps-compare-head, .adcps-compare-row { grid-template-columns: 1fr 1fr; }
  .adcps-compare-head > div:nth-child(4), .adcps-compare-row > div:nth-child(4) { display: none; }
}
@media (max-width: 575px) {
  .adcps-card, .adcps-step { flex-basis: 240px; }
  .adcps-wrapper h2 { font-size: 21px; }
}

/* =================================================================
 * HERO (page produit - thème child_classic, templates/catalog/product.tpl)
 * Ces règles s'appliquent en dehors de .adcps-wrapper : le hero est
 * rendu directement par le thème, pas par le hook displayFooterProduct.
 * ================================================================= */
.adcps-hero {
  --adcps-dark: #123527;
  --adcps-green: #6FA22A;
  --adcps-green-dark: #2E6B4F;
  --adcps-cream: #FBF8F2;
  --adcps-cream-dark: #F1EDE3;
  --adcps-border: #E3DED2;
  --adcps-text: #3D3B34;
  --adcps-text-light: #6E6A5F;
  --adcps-warn-bg: #FBF1DE;
  --adcps-warn-text: #A56C12;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--adcps-text);
  margin-bottom: 28px;
}

.adcps-hero-title {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--adcps-dark);
  line-height: 1.1;
  margin: 4px 0 22px;
}

.adcps-hero-grid {
  display: grid;
  grid-template-columns: minmax(260px, 440px) minmax(0, 1fr) minmax(280px, 340px);
  gap: 32px;
  align-items: start;
}

/* --- Gallery column --- */
.adcps-hero-gallery .images-container { display: block; }
.adcps-hero-gallery .product-cover {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--adcps-border);
  background: #fff;
}
.adcps-hero-gallery .js-qv-mask.mask { margin-top: 10px; }
.adcps-hero-gallery ul.product-images {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.adcps-hero-gallery ul.product-images li.thumb-container {
  flex: 0 0 calc(20% - 8px);
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
}
.adcps-hero-gallery ul.product-images img.js-thumb-selected { border-color: var(--adcps-green); }
.adcps-hero-gallery ul.product-images img { cursor: pointer; border-radius: 6px; }
.adcps-hero-flags .product-flags { list-style: none; padding: 0; margin: 0 0 10px; display: flex; gap: 8px; flex-wrap: wrap; }
.adcps-hero-flags .product-flags li {
  background: var(--adcps-dark); color: #F6F2E7; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 11px; border-radius: 6px;
}

/* --- Description column --- */
.adcps-hero-desc { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.adcps-hero-desc .product-description { font-size: 16px; line-height: 1.65; color: var(--adcps-text); }
.adcps-hero-desc .product-description p:last-child { margin-bottom: 0; }

.adcps-confidence-box {
  border-radius: 12px;
  border: 1px solid #CFE0D5;
  background: #EFF5F0;
  padding: 20px 22px;
}
.adcps-confidence-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--adcps-green-dark); margin-bottom: 14px;
}
.adcps-confidence-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.adcps-confidence-list li { display: flex; gap: 9px; align-items: baseline; font-size: 14px; color: #24352B; }
.adcps-confidence-check { color: var(--adcps-green); font-weight: 700; }
.adcps-confidence-docs { margin-top: 16px; padding-top: 16px; border-top: 1px solid #D6E3DA; }
.adcps-confidence-docs-title { font-size: 12px; font-weight: 700; color: #4A6B58; margin-bottom: 10px; }
.adcps-confidence-docs-list { display: flex; gap: 8px; flex-wrap: wrap; }
.adcps-doc-link {
  display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600;
  color: var(--adcps-dark); background: #FFFFFF; border: 1px solid #CFE0D5; border-radius: 8px;
  padding: 10px 14px; text-decoration: none;
}
.adcps-doc-link:hover { border-color: var(--adcps-green); background: #F6FAF7; color: var(--adcps-dark); }
.adcps-doc-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px;
  border-radius: 5px; background: #EFF5F0; color: var(--adcps-green-dark); font-size: 13px; flex: none;
}
.adcps-doc-meta { display: block; font-size: 11px; font-weight: 500; color: #8A857A; margin-top: 1px; }

/* --- Buybox (price) column --- */
.adcps-hero-buybox { position: sticky; top: 16px; display: flex; flex-direction: column; gap: 14px; }
.adcps-buybox-card {
  border-radius: 14px; border: 1px solid #E3DED2; background: #FFFFFF; overflow: hidden;
  box-shadow: 0 14px 34px -22px rgba(18,53,39,0.4);
}
.adcps-buybox-card .adcps-price-prefix-widget { padding: 16px 22px 0; margin: 0; }
.adcps-buybox-card .adcps-price-prefix { font-size: 12px; color: #6E6A5F; }
.adcps-buybox-card .ce-product-prices { padding: 2px 22px 18px; border-bottom: 1px solid #EFEADF; }
.adcps-buybox-card .ce-product-price-regular {
  display: block; font-size: 13px; color: #9A9488; text-decoration: line-through; margin-bottom: 4px;
}
.adcps-buybox-card .ce-product-price {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.adcps-buybox-card .ce-product-price > span:not(.screen-reader-text):not(.ce-product-badge) {
  font-family: Georgia, serif; font-size: 34px; font-weight: 500; color: #123527;
}
.adcps-buybox-card .ce-product-badge-sale {
  font-size: 11.5px; font-weight: 700; background: #FBF1DE; color: #A56C12; border-radius: 5px; padding: 4px 9px;
}
.adcps-buybox-card .ce-tax-shipping-delivery-label { font-size: 13px; color: #6E6A5F; margin-top: 4px; }
.adcps-buybox-card .screen-reader-text {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap;
}
.adcps-buybox-form { padding: 0px 22px 0px 22px; display: flex; flex-direction: column; gap: 10px; }
.adcps-buybox-card .adcps-buybox-form .elementor-button {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #123527; border-radius: 9px; min-height: 46px; width: 100%;
  font-size: 15px; font-weight: 600; color: #F6F2E7; text-decoration: none;
}
.adcps-buybox-card .adcps-buybox-form .elementor-button:hover { background: #0C2419; color: #F6F2E7; }
.adcps-buybox-card .adcps-buybox-form .elementor-button-icon { display: none; }
.adcps-buybox-card .adcps-quote-btn.elementor-widget-button .elementor-button {
  display: flex; align-items: center; justify-content: center; border: 1.5px solid #123527;
  color: #123527 !important; background: #fff; border-radius: 9px; font-size: 14.5px; font-weight: 600; min-height: 44px;
  text-decoration: none; width: 100%;
}
.adcps-buybox-card .adcps-quote-btn.elementor-widget-button .elementor-button:hover { background: #EFF5F0; color: #123527 !important; }
.adcps-buybox-card .adcps-quote-btn .elementor-button-icon { display: none; }
/* Regle generique .adcps-quote-btn (hors carte prix, ex. futur usage ailleurs) */
.adcps-quote-btn.elementor-widget-button .elementor-button {
  display: flex; align-items: center; justify-content: center; border: 1.5px solid #123527;
  color: #123527 !important; background: #fff; border-radius: 9px; font-size: 14.5px; font-weight: 600; min-height: 44px;
  text-decoration: none;
}
.adcps-quote-btn.elementor-widget-button .elementor-button:hover { background: #EFF5F0; color: #123527 !important; }

/* Ligne "quantite + ajouter au panier" (carte prix, cf. maquette) */
.adcps-buybox-card .adcps-qtycart-row { margin: 0; }
.adcps-buybox-card .adcps-qtycart-row .elementor-container { align-items: center; }
.adcps-buybox-card .adcps-qty-col,
.adcps-buybox-card .adcps-cart-col { padding: 0; }
.adcps-buybox-card .adcps-qty-widget .ce-product-quantity {
  display: flex; align-items: center; justify-content: center; height: 46px;
  border: 1px solid #E3DED2; border-radius: 9px; background: #FFFFFF; overflow: hidden;
}
.adcps-buybox-card .adcps-qty-widget .ce-product-quantity__btn {
  width: auto; height: 100%; padding: 0 12px; font-size: 17px; line-height: 44px;
  color: #6E6A5F; background: transparent; display: flex; align-items: center; justify-content: center;
  transition: color .2s;
}
.adcps-buybox-card .adcps-qty-widget .ce-product-quantity__btn:before { content: none !important; }
.adcps-buybox-card .adcps-qty-widget .ce-product-quantity__minus:after { content: "\2212"; }
.adcps-buybox-card .adcps-qty-widget .ce-product-quantity__plus:after { content: "\002B"; }
.adcps-buybox-card .adcps-qty-widget .ce-product-quantity__btn:hover { color: #123527; }
.adcps-buybox-card .adcps-qty-widget input[type=number] {
  width: 34px; margin: 0; padding: 0; border: 0; background: transparent;
  text-align: center; font-size: 15px; font-weight: 600; color: #123527;
}
.adcps-pro-cta { border-radius: 9px; background: var(--adcps-warn-bg); padding: 14px 16px; margin-top: 4px; }
.adcps-pro-cta-title { font-size: 13.5px; font-weight: 600; color: #7A4F0B; line-height: 1.4; }
.adcps-pro-cta-text { font-size: 12.5px; color: #8A6224; line-height: 1.5; margin-top: 4px; }
.adcps-pro-cta-links { display: flex; gap: 14px; margin-top: 10px; font-size: 13px; font-weight: 600; }
.adcps-pro-cta-links a { color: #7A4F0B; text-decoration: underline; }
.adcps-hero-phone { font-size: 12.5px; color: var(--adcps-text-light); line-height: 1.55; padding: 0 4px; }
.adcps-hero-phone strong { color: var(--adcps-green-dark); }

.adcps-pricing-box {
  border-radius: 12px; border: 1px solid #E3DED2; background: #FCFAF5; padding: 18px 20px;
}
.adcps-pricing-title {
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: #2E6B4F; margin-bottom: 12px;
}
.adcps-pricing-base { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.adcps-pricing-base-price { font-family: Georgia, serif; font-size: 22px; font-weight: 700; color: #123527; }
.adcps-pricing-ht-tag {
  font-size: 11px; font-weight: 700; color: #6E6A5F; text-transform: uppercase; letter-spacing: 0.03em;
  border: 1px solid #D9D2C2; border-radius: 4px; padding: 2px 6px; align-self: center;
}
.adcps-pricing-unit-label { font-size: 12.5px; color: #6E6A5F; }
.adcps-pricing-base-label {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: #8A857A; margin-left: auto;
}
.adcps-pricing-table {
  border-radius: 8px; overflow: hidden; border: 1px solid #E9E3D7;
}
.adcps-pricing-list-header {
  display: flex; justify-content: space-between; padding: 9px 12px; background: #F1EDE3;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: #6E6A5F; font-weight: 600;
}
.adcps-pricing-list {
  list-style: none; margin: 0; padding: 0;
}
.adcps-pricing-row {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-bottom: 1px solid #E9E3D7;
  font-size: 13.5px; background: #FFFFFF;
}
.adcps-pricing-row:nth-child(even) { background: #F6FAF7; }
.adcps-pricing-row:last-child { border-bottom: none; }

#product-details .elementor-row, #product-details .elementor-widget-wrap{
  gap: 10px;
}

.elementor-widget-breadcrumb{
  margin-bottom: 0 !important;
}

.adcps-quote-cta-btn{
  color: #F6F2E7 !important;
}

.adcps-quote-cta-row{
  margin-top: 20px;
}

/* Integration dans la carte prix (.adcps-buybox-card) : le bloc tarifs devient
   une section de la carte au lieu d'un encart autonome, comme dans la maquette. */
.adcps-buybox-card .adcps-pricing-box {
  border: none; border-radius: 0; background: #FCFAF5; margin: 0;
  padding: 16px 22px; border-bottom: 1px solid #EFEADF;
}
.adcps-buybox-card .adcps-pricing-base { margin-bottom: 12px; }
.adcps-buybox-card .adcps-pricing-base-price { font-size: 20px; }
.adcps-pricing-group { flex: 1; color: #24352B; font-weight: 500; }
.adcps-pricing-reduction {
  color: #2E6B4F; font-weight: 700; font-size: 12.5px; background: #EFF5F0;
  border-radius: 20px; padding: 2px 9px; flex: none;
}
.adcps-pricing-price { font-weight: 700; color: #123527; min-width: 74px; text-align: right; flex: none; }
.adcps-pricing-note {
  margin-top: 12px; padding-top: 12px; border-top: 1px solid #E9E3D7; font-size: 11.5px; color: #8A857A; line-height: 1.5;
}

@media (max-width: 991px) {
  .adcps-hero-grid { grid-template-columns: 1fr; }
  .adcps-hero-buybox { position: static; }
  .adcps-confidence-list { grid-template-columns: 1fr; }
}

/* -----------------------------------------------------------------
 * Bande "Commande en grandes quantites ?" + formulaire "Demander un devis"
 * (hook displayAdcpsQuoteForm) - calque au pixel pres sur la maquette.
 * ------------------------------------------------------------- */
.adcps-quote-usp {
  background: #123527; color: #CFE0D5; padding: 20px 40px;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px;
}
.adcps-quote-usp-item {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}
.adcps-quote-usp-item:not(:first-child) { border-left: 1px solid rgba(255,255,255,0.14); }

.adcps-quote-band { background: #EFEADF; padding: 44px 40px; }
.adcps-quote-band-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  max-width: 1200px; margin: 0 auto;
}

.adcps-quote-title {
  margin: 0 0 12px; font-family: 'Newsreader', Georgia, "Times New Roman", serif;
  font-size: 30px; font-weight: 500; color: #123527; line-height: 1.2;
}
.adcps-quote-intro p { margin: 0 0 8px; font-size: 15.5px; line-height: 1.65; color: #4A4841; }
.adcps-quote-intro p:last-of-type { margin-bottom: 20px; }
.adcps-quote-cta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.adcps-quote-cta-btn {
  background: #123527; color: #F6F2E7; font-size: 15px; font-weight: 600;
  padding: 13px 22px; border-radius: 9px; text-decoration: none; display: inline-block;
}
.adcps-quote-cta-btn:hover { background: #0C2419; color: #F6F2E7; }
.adcps-quote-phone { font-size: 15px; font-weight: 600; color: #2E6B4F; }

.adcps-quote-card {
  background: #FFFFFF; border-radius: 12px; padding: 26px 28px; border: 1px solid #E3DED2;
  scroll-margin-top: 100px;
}
.adcps-quote-card-title {
  font-family: 'Newsreader', Georgia, "Times New Roman", serif; font-size: 20px; color: #123527; margin-bottom: 16px;
}

.adcps-quote-alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; font-size: 13.5px; }
.adcps-quote-alert-success { background: #EAF7EE; color: #1C7C3F; border: 1px solid #BFE6CB; }
.adcps-quote-alert-error { background: #FBEAEA; color: #A12727; border: 1px solid #F0C4C4; }
.adcps-quote-alert-error ul { margin: 0; padding-left: 18px; }

.adcps-quote-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.adcps-quote-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.adcps-quote-grid .adcps-quote-span2,
.adcps-quote-product.adcps-quote-span2 { grid-column: span 2; }
.adcps-quote-grid input,
.adcps-quote-grid textarea {
  border: 1px solid #E3DED2; border-radius: 8px; padding: 11px 13px; font-size: 13.5px;
  color: #24352B; font-family: inherit; width: 100%; box-sizing: border-box; background: #FFFFFF;
}
.adcps-quote-grid input::placeholder,
.adcps-quote-grid textarea::placeholder { color: #9A9488; opacity: 1; }
.adcps-quote-grid input:focus,
.adcps-quote-grid textarea:focus { outline: none; border-color: #6FA22A; }
.adcps-quote-product {
  background: #FCFAF5; color: #24352B; display: flex; align-items: center;
  border: 1px solid #E3DED2; border-radius: 8px; padding: 11px 13px; font-size: 13.5px;
}
.adcps-quote-message-wrap { position: relative; }
.adcps-quote-message-wrap textarea { height: 76px; resize: vertical; padding-right: 60px; }
.adcps-quote-counter {
  position: absolute; right: 13px; bottom: 10px; font-size: 12px; color: #C0BAAC; pointer-events: none;
}

.adcps-quote-consent {
  display: flex; gap: 9px; align-items: flex-start; margin-top: 12px; font-size: 12px;
  color: #6E6A5F; line-height: 1.5; cursor: pointer;
}
.adcps-quote-consent input[type=checkbox] {
  appearance: none; -webkit-appearance: none; width: 15px; height: 15px;
  border: 1px solid #C0BAAC; border-radius: 3px; flex-shrink: 0; margin-top: 1px;
  position: relative; cursor: pointer; background: #fff;
}
.adcps-quote-consent input[type=checkbox]:checked { background: #123527; border-color: #123527; }
.adcps-quote-consent input[type=checkbox]:checked::after {
  content: ''; position: absolute; left: 4px; top: 1px; width: 4px; height: 8px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.adcps-quote-consent input[type=checkbox]:focus-visible { outline: 2px solid #6FA22A; outline-offset: 2px; }

.adcps-quote-submit {
  margin-top: 14px; width: 100%; background: #123527; color: #F6F2E7; text-align: center;
  font-size: 14.5px; font-weight: 600; padding: 13px; border-radius: 9px; border: none;
  cursor: pointer; font-family: inherit;
}
.adcps-quote-submit:hover { background: #0C2419; }

@media (max-width: 900px) {
  .adcps-quote-usp { grid-template-columns: 1fr 1fr; padding: 20px; }
  .adcps-quote-usp-item:nth-child(3) { border-left: none; }
  .adcps-quote-band { padding: 32px 20px; }
  .adcps-quote-band-inner { grid-template-columns: 1fr; gap: 24px; }
  .adcps-quote-grid { grid-template-columns: 1fr; }
  .adcps-quote-grid .adcps-quote-span2,
  .adcps-quote-product.adcps-quote-span2 { grid-column: span 1; }
}

/* --- Lien "Lire la suite" (sous la description courte) --- */
.adcps-readmore-widget { margin: -6px 0 4px; }
.adcps-readmore-widget .adcps-readmore-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 700; color: #2E6B4F;
  text-decoration: none; border-bottom: 1px solid #A9C9B4; padding-bottom: 2px;
}
.adcps-readmore-widget .adcps-readmore-link:hover { color: #123527; border-color: #123527; }
.adcps-readmore-arrow { font-size: 16px; line-height: 1; }

.adcps-readmore-link{
  margin: 15px 0px;
}


/* --- Bouton "Retour en haut" (global, toutes pages) --- */
.adcps-scrolltop {
  position: fixed;
  right: 24px;
  bottom: 44px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  background: #A4C835;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background-color 0.2s ease;
}
.adcps-scrolltop.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.adcps-scrolltop:hover,
.adcps-scrolltop:focus-visible {
  background: #8FAF2C;
}
.adcps-scrolltop svg { display: block; }
@media (max-width: 767px) {
  .adcps-scrolltop { right: 14px; bottom: 14px; width: 42px; height: 42px; }
}

/* --- Galerie produit : vignette + slide video Vimeo (au clic) --- */
.adcps-gallery-video-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
}
.adcps-gallery-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.adcps-gallery-video-badge {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(18, 53, 39, 0.85);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.adcps-gallery-video-slide {
  width: 100%;
  aspect-ratio: 1 / 1;
}
.adcps-gallery-video-facade {
  width: 100%;
  height: 100%;
  min-height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.adcps-gallery-video-facade iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.adcps-gallery-video-play {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  background: rgba(18, 53, 39, 0.85);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.2s ease;
}
.adcps-gallery-video-play:hover {
  background: #123527;
  transform: scale(1.06);
}

/* --- Lightbox video (lecture centree a l'ecran, au clic uniquement) --- */
body.adcps-video-lightbox-open {
  overflow: hidden;
}
.adcps-video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.adcps-video-lightbox.is-visible {
  opacity: 1;
}
.adcps-video-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 15, 0.88);
}
.adcps-video-lightbox-inner {
  position: relative;
  width: 100%;
  max-width: 960px;
}
.adcps-video-lightbox-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.adcps-video-lightbox-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.adcps-video-lightbox-close {
  position: absolute;
  top: -46px;
  right: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #FFFFFF;
  background: rgba(18, 53, 39, 0.9);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1;
  transition: background-color 0.2s ease;
}
.adcps-video-lightbox-close:hover {
  background: #123527;
}
@media (max-width: 767px) {
  .adcps-video-lightbox-close {
    top: 10px;
    right: 10px;
  }
}

/* Zoom par défaut sur les images natives de la galerie produit (masque les marges blanches du fichier source) */
.elementor-widget-product-images img.elementor-carousel-image {
  transform: scale(1.33);
  transform-origin: center center;
  transition: transform 0.3s ease;
}
/* Exclusion : la miniature/diapositive vidéo Vimeo ne doit jamais être zoomée */
.elementor-widget-product-images .adcps-gallery-video-thumb img.elementor-carousel-image {
  transform: none;
}

.swiper-slide {
  border-radius: 12px;
  cursor: pointer;
/*   border: 2px solid transparent; */
}

.elementor-4170101 .elementor-element.elementor-element-a49bf73 .ce-attachment:not(:last-child){
  margin-bottom: 0;
}

/* .swiper-wrapper > .swiper-slide-active {
  border: 2px solid #123527;
} */

/* Design des liens "Documents à télécharger" (widget natif CE "product-attachments")
   aligné sur la maquette : mêmes pastilles que .adcps-doc-link (confidence-box). */
.elementor-widget-product-attachments .ce-product-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.elementor-widget-product-attachments .ce-product-attachments .ce-display-small {
  width: 100%;
  font-size: 12px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
  color: #4A6B58;
  margin: 0 0 2px;
}
.elementor-widget-product-attachments .ce-product-attachments .ce-attachment.elementor-icon-box-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0;
  background: #FFFFFF;
  border: 1px solid #CFE0D5;
  border-radius: 8px;
  padding: 10px 14px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}
.elementor-widget-product-attachments .ce-product-attachments .ce-attachment.elementor-icon-box-wrapper:hover {
  border-color: #6FA22A;
  background: #F6FAF7;
}
.elementor-widget-product-attachments .ce-product-attachments .elementor-icon-box-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 5px;
  background: #EFF5F0;
  flex: none;
}
.elementor-widget-product-attachments .ce-product-attachments .elementor-icon-box-icon a,
.elementor-widget-product-attachments .ce-product-attachments .elementor-icon-box-icon i {
  color: #2E6B4F;
  font-size: 13px;
}
.elementor-widget-product-attachments .ce-product-attachments .elementor-icon-box-content {
  display: flex;
  flex-direction: column;
}
.elementor-widget-product-attachments .ce-product-attachments .elementor-icon-box-title {
  font-size: 13px;
  font-weight: 600;
  color: #123527;
  text-decoration: none;
  line-height: 1.3;
}
.elementor-widget-product-attachments .ce-product-attachments .elementor-icon-box-description {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: #8A857A;
  margin: 1px 0 0;
}
.elementor-widget-product-attachments .ce-product-attachments .elementor-icon-box-description:empty {
  display: none;
  margin: 0;
}

/*A SURVEILLER*/

.ce-product-price-regular{
  display: none;
}

.adcps-pricing-table{
  max-height: 120px;
  overflow: overlay;
}
.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated > .elementor-widget-wrap{
  gap: 0 !important;
}

#product-details > div.elementor-section-wrap > section.elementor-element.elementor-element-3847bd6c.elementor-section-full_width.elementor-section-height-default.elementor-section-height-default.elementor-section.elementor-top-section > div > div > div.elementor-element.elementor-element-690613a.ce-widgets-space--gap.adcps-hero-buybox.elementor-column.elementor-col-33.elementor-top-column > div > div > section > div > div > div > div > div > section > div > div > div > div > div > div > div > a{
  margin-top: 10px;
}

/* ============================================================
 * Mention HT/TTC sur les prix de la page panier (cart.tpl et
 * ses partials cart-detailed-*.tpl) - ajoutee a la demande de
 * Guillaume le 2026-09-15.
 * ============================================================ */
.cart-detailed-product .tax-mention,
.product-line-grid .tax-mention,
.cart-detailed-totals .tax-mention {
  font-size: 0.85em;
  font-weight: 400;
  color: #767676;
  white-space: nowrap;
}

/* ============================================================
 * Bloc "Produits associes" sur la page panier (hook natif
 * displayShoppingCartFooter, module adcproductsheet) - ajoute a
 * la demande de Guillaume le 2026-09-29.
 * ============================================================ */
.adcps-cart-accessories {
  margin-top: 20px;
}
.adcps-cart-accessories-title {
  margin-bottom: 15px;
}
.adcps-cart-accessories-products {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.adcps-cart-accessories-products .product-miniature {
  width: 100%;
  max-width: 200px;
}

/* ============================================================
 * Prix au kilo (prix/poids) sur les pages commande (confirmation
 * et "Mes commandes") - ajoute a la demande de Guillaume le
 * 2026-09-30. Meme style discret que .tax-mention.
 * ============================================================ */
.unit-price-order {
  font-size: 0.85em;
  font-weight: 400;
  color: #767676;
}

/* ============================================================
 * Page panier : suppression du cadre de promotion (badge -X% et
 * prix barre) - demande de Guillaume le 2026-09-30. Le template
 * cart-detailed-product-line.tpl ne genere plus ce bloc ; cette
 * regle couvre en plus le bloc "Produits associes" (qui reutilise
 * le composant miniature natif du catalogue, partage avec le
 * reste du site - on ne le masque donc que dans ce contexte precis
 * plutot que d'en modifier le fichier source commun).
 * ============================================================ */
.adcps-cart-accessories .discount-percentage,
.adcps-cart-accessories .discount-amount,
.adcps-cart-accessories .regular-price {
  display: none;
}

/* ============================================================
 * Mention "Franco - Livraison comprise" : page panier (a la
 * suite du prix et du prix au kilo) et fiche produit (a la suite
 * de la mention HT). Meme style discret que .tax-mention.
 * ============================================================ */
.adcps-franco-mention {
  font-size: 0.85em;
  font-weight: 400;
  color: #767676;
}
