/* DermoPro - compléments du thème enfant PRS91_sketchy (en-tête, menu, boutons) */
/* Police du menu, comme sur peelings.net */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@400;600&display=swap');
:root {
  --dp-menu-font: "Exo 2", Arial, sans-serif;
  --dp-menu-color: #484848;
  --dp-brand: #2fb5d2;
  --dp-brand-dark: #1f97b1;
  --dp-ink: #262626;
  --dp-muted: #6b6b6b;
  --dp-soft: #f1fafc;
  --dp-line: #e9eef0;
}

/* ---------- Bandeau promo (noir), défilant ---------- */
.dp-promo-bar { position: relative; overflow: hidden; background: #111; }
.dp-promo-bar::before, .dp-promo-bar::after {
  content: ""; position: absolute; top: 0; bottom: 0; z-index: 2; width: 60px; pointer-events: none;
}
.dp-promo-bar::before { left: 0; background: linear-gradient(90deg, #111, rgba(17, 17, 17, 0)); }
.dp-promo-bar::after { right: 0; background: linear-gradient(270deg, #111, rgba(17, 17, 17, 0)); }
.dp-promo-bar a { display: block; color: #fff !important; font-size: 13px; line-height: 1.35; text-decoration: none; }
.dp-promo-bar__track { display: flex; width: max-content; animation: dp-promo-scroll 36s linear infinite; will-change: transform; }
.dp-promo-bar:hover .dp-promo-bar__track, .dp-promo-bar a:focus-visible .dp-promo-bar__track { animation-play-state: paused; }
.dp-promo-bar__group { display: flex; flex: none; align-items: center; }
.dp-promo-bar__item { display: inline-flex; align-items: center; gap: 14px; padding: 9px 0; white-space: nowrap; }
.dp-promo-bar__sep { padding: 0 34px; color: var(--dp-brand); font-size: 12px; }
.dp-promo-bar__tag {
  position: relative; overflow: hidden; padding: 3px 9px; border-radius: 3px; background: var(--dp-brand); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase;
}
.dp-promo-bar__tag::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; transform: skewX(-20deg);
  background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55), rgba(255, 255, 255, 0));
  animation: dp-promo-shine 3.2s ease-in-out infinite;
}
.dp-promo-bar__text { opacity: .92; }
.dp-promo-bar__cta { font-weight: 700; border-bottom: 1px solid rgba(255, 255, 255, .6); }
.dp-promo-bar__cta i { margin-left: 4px; font-size: 11px; animation: dp-promo-nudge 1.6s ease-in-out infinite; }
@keyframes dp-promo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes dp-promo-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes dp-promo-nudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@media (max-width: 767px) {
  .dp-promo-bar a { font-size: 12px; }
  .dp-promo-bar__item { gap: 10px; padding: 7px 0; }
  .dp-promo-bar__sep { padding: 0 22px; }
  .dp-promo-bar__tag { padding: 3px 7px; font-size: 10.5px; }
  .dp-promo-bar__track { animation-duration: 30s; }
  .dp-promo-bar::before, .dp-promo-bar::after { width: 24px; }
}
/* visiteurs qui ont demandé moins d'animations : message fixe et centré */
@media (prefers-reduced-motion: reduce) {
  .dp-promo-bar__track { width: auto; justify-content: center; animation: none; }
  .dp-promo-bar__group { flex: 0 1 auto; overflow: hidden; }
  .dp-promo-bar__group[aria-hidden="true"], .dp-promo-bar__group > :not(:first-child) { display: none; }
  .dp-promo-bar__tag::after, .dp-promo-bar__cta i { animation: none; }
}

/* ---------- Barre d'informations (turquoise) ---------- */
.dp-info-bar { background: var(--dp-brand); color: #fff; }
.dp-info-bar ul {
  display: flex; justify-content: space-between; align-items: center; gap: 10px 24px;
  max-width: 1400px; margin: 0 auto; padding: 8px 20px; list-style: none;
}
.dp-info-bar li, .dp-info-bar a {
  display: flex; align-items: center; gap: 8px; color: #fff !important; font-size: 12.5px;
  font-weight: 500; letter-spacing: .2px; white-space: nowrap; text-decoration: none;
}
.dp-info-bar a:hover span { text-decoration: underline; }
.dp-info-bar i { font-size: 13px; opacity: .9; }
@media (max-width: 1199px) {
  /* tablette et mobile : un message à la fois, qui tourne */
  .dp-info-bar ul { position: relative; height: 34px; padding: 0 12px; }
  .dp-info-bar li {
    position: absolute; left: 0; right: 0; top: 0; bottom: 0; justify-content: center;
    opacity: 0; animation: dp-info-rotate 18s infinite;
  }
  .dp-info-bar li:nth-child(2) { animation-delay: 3s; }
  .dp-info-bar li:nth-child(3) { animation-delay: 6s; }
  .dp-info-bar li:nth-child(4) { animation-delay: 9s; }
  .dp-info-bar li:nth-child(5) { animation-delay: 12s; }
  .dp-info-bar li:nth-child(6) { animation-delay: 15s; }
  .dp-info-bar li a { justify-content: center; }
}
@keyframes dp-info-rotate {
  0% { opacity: 0; transform: translateY(6px); visibility: visible; }
  3%, 14% { opacity: 1; transform: none; }
  17%, 100% { opacity: 0; transform: translateY(-6px); visibility: hidden; }
}

/* ---------- En-tête principal ---------- */
.dp-sec-main { border-bottom: 1px solid var(--dp-line); background: #fff; }
.dp-logo img { width: 200px; max-width: 100%; height: auto; }
.dp-search form, .dp-search .search-widget form { border-radius: 30px; }
.dp-search input[type="text"], .dp-search input[type="search"] {
  border-radius: 30px !important; border: 1.5px solid var(--dp-line) !important; background: #f7f9fa !important;
  height: 46px !important; padding-left: 20px !important; font-size: 14px;
}
.dp-search input[type="text"]:focus, .dp-search input[type="search"]:focus { border-color: var(--dp-brand) !important; background: #fff !important; }
.dp-sec-main .dp-search .input-wrapper { position: relative; }
/* recherche centrée dans l'en-tête : le formulaire occupe toute la colonne centrale (25 / 50 / 25) */
.dp-sec-main .dp-search form { display: flex !important; width: 100% !important; max-width: none !important; }
.dp-sec-main .dp-search .input-wrapper { flex: 1 1 auto; width: 100%; }
.dp-sec-main .dp-search .search-button {
  position: absolute; right: 5px; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; background: var(--dp-brand) !important;
}
.dp-sec-main .dp-search .search-button:hover { background: var(--dp-brand-dark) !important; }
.dp-sec-main .dp-search .search-button i, .dp-sec-main .dp-search .search-button svg { color: #fff; fill: #fff; font-size: 18px; }
.dp-sec-main .dp-search .search-button .submit-text { display: none; }
.dp-sec-main .dp-search .icon-container { right: 50px; }
.dp-cart .elementor-cart-icon[data-counter]::before { background-color: var(--dp-brand) !important; color: #fff !important; }
.dp-head-icon { margin-left: 22px; }
.dp-head-icon i, .dp-head-icon svg { font-size: 24px; }
.dp-head-icon a:hover, .dp-head-icon a:hover i { color: var(--dp-brand) !important; }

/* ---------- Barre de menu ---------- */
.dp-sec-menu { background: #fff; border-bottom: 1px solid var(--dp-line); }
.dp-menu-hmenu #_desktop_megamenu .menu-content { display: flex; flex-wrap: wrap; justify-content: center; }
.dp-menu-hmenu #_desktop_megamenu .menu-content > li > a {
  padding: 16px 16px; font-family: var(--dp-menu-font); font-size: 13px; font-weight: 400; letter-spacing: normal;
  text-transform: uppercase; color: var(--dp-menu-color);
}
.dp-menu-hmenu #_desktop_megamenu .menu-content > li:hover > a,
.dp-menu-hmenu #_desktop_megamenu .menu-content > li.active > a { color: var(--dp-brand); }
.dp-menu-hmenu #_desktop_megamenu .menu-content > li.dp-menu-promo > a { color: #FF6B6B; }
.dp-menu-hmenu #_desktop_megamenu .menu-content > li > a .icon-angle-down { font-size: 10px; margin-left: 4px; opacity: .6; }
@media (min-width: 1200px) and (max-width: 1365px) {
  .dp-menu-hmenu #_desktop_megamenu .menu-content > li > a { padding: 16px 11px; }
}
@media (min-width: 1025px) and (max-width: 1199px) {
  /* petits écrans d'ordinateur : le menu doit tenir sur une seule ligne (sinon le sous-menu s'éloigne de la rubrique) */
  .dp-menu-hmenu #_desktop_megamenu .menu-content > li > a { padding: 16px 7px; font-size: 12px; }
  .dp-menu-hmenu #_desktop_megamenu .menu-content > li > a .icon-angle-down { margin-left: 2px; }
}

/* ---------- Méga-menu ---------- */
.dp-menu-hmenu .avaorg-sub-menu.dp-mega { border-top: 3px solid var(--dp-brand); box-shadow: 0 18px 40px rgba(0, 0, 0, .10); }
.dp-menu-hmenu .avaorg-sub-menu.dp-mega .avaorg-sub-inner { max-width: 1340px; margin: 0 auto; padding: 28px 30px 30px; }
.dp-mega .column_title, .dp-mega h4.column_title {
  display: block; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--dp-line);
  font-family: var(--dp-menu-font); font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--dp-ink) !important;
}
.dp-mega a.column_title:hover { color: var(--dp-brand) !important; }
.dp-mega .ul-column .submenu-item > a { display: inline-block; padding: 4px 0; font-family: var(--dp-menu-font); font-size: 13px; line-height: 1.45; color: var(--dp-menu-color); transition: color .15s, transform .15s; }
.dp-menu-card__body { font-family: var(--dp-menu-font); }
/* menu mobile : même police */
#mobile-megamenu, #mobile-megamenu a, #mobile-megamenu .column_title { font-family: var(--dp-menu-font); }
#mobile-megamenu .menu-content > li > a { font-size: 14px; color: var(--dp-menu-color); }
.dp-mega .ul-column .submenu-item > a:hover { color: var(--dp-brand); transform: translateX(3px); }

/* cartes image du méga-menu */
.dp-menu-card { display: block; border-radius: 10px; overflow: hidden; background: var(--dp-soft); text-decoration: none; }
.dp-menu-card__img { display: block; overflow: hidden; aspect-ratio: 4 / 3; }
.dp-menu-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.dp-menu-card:hover .dp-menu-card__img img { transform: scale(1.05); }
.dp-menu-card__body { display: flex; flex-direction: column; gap: 2px; padding: 12px 14px 14px; }
.dp-menu-card__body strong { font-size: 14px; font-weight: 700; color: var(--dp-ink); }
.dp-menu-card__body em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--dp-brand); }
.dp-col-card .ul-column, .dp-col-card .submenu-item, .dp-col-card .html-block { margin: 0; padding: 0; list-style: none; }

/* ---------- En-tête tablette / mobile ---------- */
.dp-sec-mobile { background: #fff; border-bottom: 1px solid var(--dp-line); }
.dp-sec-mobile .dp-logo img { width: 150px; }
.dp-sec-mobile .dp-head-icon { margin-left: 14px; }
.dp-sec-mobile .dp-head-icon i { font-size: 22px; }

/* ---------- Boutons « Ajouter au panier » : casse normale en français ---------- */
.product-miniature .add-to-cart, .product-add-to-cart .add-to-cart { text-transform: none; }

/* =====================================================================
   Pages de listes (catégories, promotions, marques, recherche)
   ===================================================================== */

/* ---------- Bandeau titre de page ---------- */
#hero_section.hero-section { background: linear-gradient(120deg, #e9f7fb 0%, #f6fbfc 60%, #ffffff 100%) !important; border-bottom: 1px solid var(--dp-line); }
#hero_section .page-title-wrapper { min-height: 0 !important; padding: 28px 0 24px; }
#hero_section h1 { margin: 0 0 6px; font-size: 32px; font-weight: 700; letter-spacing: -.2px; color: var(--dp-ink); }
#hero_section .breadcrumb { margin: 0; padding: 0; background: none; font-size: 13px; }
#hero_section .breadcrumb a, #hero_section .breadcrumb li { color: var(--dp-muted); }
#hero_section .breadcrumb a:hover { color: var(--dp-brand); }
/* demande client : bloc compact, texte aligné à gauche, fil d'Ariane au-dessus du titre */
#hero_section .page-title-wrapper:not(.dp-co-head) {
  display: flex; flex-direction: column; align-items: flex-start; padding: 12px 0 14px; text-align: left;
}
#hero_section .page-title-wrapper:not(.dp-co-head) .breadcrumb { order: -1; margin: 0 0 2px; font-size: 12.5px; text-align: left; }
#hero_section .page-title-wrapper:not(.dp-co-head) .breadcrumb ol { display: flex; flex-wrap: wrap; justify-content: flex-start; margin: 0; padding: 0; }
#hero_section .page-title-wrapper:not(.dp-co-head) .page-header { margin: 0; text-align: left; }
#hero_section .page-title-wrapper:not(.dp-co-head) h1 { max-width: none; margin: 0; font-size: 24px; line-height: 1.25; text-align: left; }
@media (max-width: 767px) {
  #hero_section .page-title-wrapper { padding: 18px 0 16px; }
  #hero_section h1 { font-size: 24px; }
  #hero_section .page-title-wrapper:not(.dp-co-head) { padding: 10px 0 12px; }
  #hero_section .page-title-wrapper:not(.dp-co-head) h1 { font-size: 20px; }
}

/* ---------- Colonne de gauche : catégories ---------- */
#left-column .block-categories, #left-column #search_filters {
  background: #fff; border: 1px solid var(--dp-line); border-radius: 14px; padding: 20px 20px 14px;
  margin-bottom: 22px; box-shadow: none;
}
#left-column .block-categories .block-title, #left-column #search_filters > .block-title {
  margin: 0 0 12px; padding: 0 0 12px; border: 0; border-bottom: 2px solid var(--dp-brand); background: none;
}
#left-column .block-categories .block-title .title, #left-column #search_filters > .block-title .title {
  font-family: var(--dp-menu-font); font-size: 15px; font-weight: 600; letter-spacing: .5px;
  text-transform: uppercase; color: var(--dp-ink) !important; margin: 0;
}
#left-column .block-categories .block-content, #left-column .block-categories .category-sub-menu { margin: 0; padding: 0; list-style: none; }
#left-column .block-categories li { list-style: none; position: relative; }
#left-column .block-categories .category-sub-menu li a {
  display: block; padding: 7px 34px 7px 10px; margin: 1px 0; border-radius: 8px;
  font-size: 14px; line-height: 1.35; color: var(--dp-menu-color); transition: background .15s, color .15s;
}
#left-column .block-categories .category-sub-menu li a:hover { background: var(--dp-soft); color: var(--dp-brand); }
#left-column .block-categories .category-sub-menu li a.dp-current { background: var(--dp-brand); color: #fff; font-weight: 600; }
#left-column .block-categories .category-sub-menu .category-sub-menu { padding-left: 10px; border-left: 2px solid var(--dp-line); margin: 2px 0 6px 12px; }
#left-column .block-categories .category-sub-menu .category-sub-menu a { font-size: 13.5px; padding: 5px 10px; }
#left-column .block-categories .collapse-icons { position: absolute; right: 4px; top: 4px; width: 26px; height: 26px; display: flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--dp-muted); }
#left-column .block-categories .collapse-icons:hover { background: var(--dp-soft); color: var(--dp-brand); }

/* ---------- Colonne de gauche : filtres ---------- */
#search_filters .facet { padding: 14px 0 10px; border-top: 1px solid var(--dp-line); }
#search_filters .block-content > .facet:first-of-type, #search_filters #_desktop_search_filters_clear_all + .facet { border-top: 0; padding-top: 4px; }
#search_filters .facet .facet-title {
  margin: 0 0 10px; font-family: var(--dp-menu-font); font-size: 13px; font-weight: 600;
  letter-spacing: .5px; text-transform: uppercase; color: var(--dp-ink);
}
#search_filters .facet ul { margin: 0; padding: 0; }
#search_filters .facet li { list-style: none; margin: 0 0 7px; }
#search_filters .facet-label { display: flex; align-items: center; gap: 10px; margin: 0; cursor: pointer; }
#search_filters .facet-label a { display: flex; justify-content: space-between; flex: 1; gap: 8px; margin: 0; font-size: 14px; color: var(--dp-menu-color); }
#search_filters .facet-label a:hover { color: var(--dp-brand); }
#search_filters .facet-label .magnitude { color: #9aa3a6; font-size: 12.5px; }
#search_filters .custom-checkbox input[type="checkbox"] + span {
  width: 18px; height: 18px; margin: 0; border: 1.5px solid #c5d0d3; border-radius: 5px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center; transition: background .15s, border-color .15s;
}
#search_filters .custom-checkbox input[type="checkbox"]:checked + span,
#search_filters .facet-label.active .custom-checkbox span { background: var(--dp-brand); border-color: var(--dp-brand); }
#search_filters .custom-checkbox input[type="checkbox"] + span .checkbox-checked { font-size: 14px; color: #fff; }
#search_filters .ui-slider-horizontal { height: 4px; margin: 14px 8px 6px; border: 0; background: #e3eaec; border-radius: 4px; }
#search_filters .ui-slider .ui-slider-range { background: var(--dp-brand); }
#search_filters .ui-slider .ui-slider-handle {
  top: -7px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%;
  border: 3px solid var(--dp-brand); background: #fff; box-shadow: 0 2px 6px rgba(0, 0, 0, .15); cursor: grab;
}
#search_filters .facet p, #search_filters .facet [id^="facet_label_"] { font-size: 13.5px; color: var(--dp-menu-color); }
.active_filters { background: var(--dp-soft); border-radius: 12px; padding: 10px 14px; margin-bottom: 18px; }
.active_filters .filter-block { border-radius: 20px; background: #fff; border: 1px solid var(--dp-line); padding: 4px 10px; font-size: 13px; }

/* ---------- Barre d'outils (nombre de produits, tri, affichage) ---------- */
#js-product-list-top.products-selection {
  display: flex; flex-wrap: wrap; align-items: center; margin: 0 0 22px; padding: 10px 14px;
  background: #fff; border: 1px solid var(--dp-line); border-radius: 12px;
}
#js-product-list-top .total-products { display: flex; align-items: center; gap: 14px; }
#js-product-list-top .total-products p { margin: 0; font-size: 13.5px; color: var(--dp-muted); }
#js-product-list-top .sort-by-row { align-items: center; justify-content: flex-end; }
#js-product-list-top .sort-by { font-size: 13.5px; color: var(--dp-muted); text-align: right; }
#js-product-list-top .products-sort-order .select-title {
  border: 1px solid var(--dp-line); border-radius: 30px; padding: 9px 16px; background: #f7f9fa; font-size: 14px; color: var(--dp-ink);
}
#js-product-list-top .products-sort-order .dropdown-menu { border: 0; border-radius: 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, .12); padding: 6px; }
#js-product-list-top .products-sort-order .select-list { border-radius: 8px; padding: 8px 12px; font-size: 14px; }
#js-product-list-top .products-sort-order .select-list:hover { background: var(--dp-soft); color: var(--dp-brand); }
#js-product-list-top .grid_list li a { border-radius: 8px; }
#search_filter_toggler { border-radius: 30px; background: var(--dp-brand); border: 0; }

/* ---------- Cartes produits ---------- */
.products.product-loop .product-miniature .thumbnail-container {
  height: 100%; display: flex; flex-direction: column; margin-bottom: 0 !important;
  background: #fff; border: 1px solid var(--dp-line); border-radius: 14px; overflow: hidden;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
}
.products.product-loop .product-miniature:hover .thumbnail-container { box-shadow: 0 16px 34px rgba(17, 60, 72, .10); border-color: transparent; transform: translateY(-3px); }
.product-miniature .thumbnail-top { position: relative; padding: 12px; background: #fff; border: 0 !important; }
.product-miniature .product-thumbnail { border: 0 !important; }
/* 2e photo du produit au survol (img.dp-hover-img ajoutée par le gabarit de vignette du thème enfant) */
.product-miniature .thumbnail-top .product-thumbnail { position: relative; display: block; overflow: hidden; }
.product-miniature .thumbnail-container .product-thumbnail img.dp-hover-img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%; max-width: none; margin: 0; object-fit: contain; background: #fff;
  opacity: 0; pointer-events: none; transition: opacity .4s ease, transform .5s ease;
}
@media (hover: hover) {
  .product-miniature:hover .thumbnail-container .product-thumbnail img.dp-hover-img { opacity: 1; }
}
.product-miniature .product-thumbnail img { transition: transform .5s ease; }
.product-miniature:hover .product-thumbnail img { transform: scale(1.04); }
.product-miniature .product-description { display: flex; flex-direction: column; flex: 1; padding: 2px 16px 16px; text-align: left; }
.product-miniature .product-title { margin: 6px 0 8px; text-align: left; }
.product-miniature .product-title a {
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em;
  font-size: 14px; line-height: 1.4; font-weight: 500; color: var(--dp-ink);
}
.product-miniature .product-title a:hover { color: var(--dp-brand); }
.product-miniature .brand-title a { font-size: 11.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--dp-brand); }
.product-miniature .product-price-and-shipping { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: flex-start; gap: 4px 8px; margin: 0 0 14px; }
.product-miniature .product-price-and-shipping .price { font-size: 17px; font-weight: 700; color: var(--dp-ink); }
.product-miniature .product-price-and-shipping .regular-price { font-size: 13px; color: #9aa3a6; text-decoration: line-through; }
.product-miniature .product-price-and-shipping .discount-percentage, .product-miniature .product-price-and-shipping .discount-amount {
  font-size: 11.5px; font-weight: 700; color: #FF6B6B; background: #ffecec; border-radius: 20px; padding: 2px 8px;
}
.product-miniature .product-description > .product-add-to-cart { margin-top: auto; }
.products.product-loop .product-miniature .thumbnail-container .product-description .add-to-cart.btn {
  width: auto; height: 36px; padding: 0 18px; border: 0; border-radius: 30px; background: var(--dp-brand); color: #fff;
  font-size: 13px; font-weight: 600; letter-spacing: .1px; line-height: 36px; box-shadow: none; transition: background .2s;
}
.products.product-loop .product-miniature .thumbnail-container .product-description .add-to-cart.btn:hover { background: var(--dp-brand-dark); color: #fff; }
.products.product-loop .product-miniature .thumbnail-container .product-description .add-to-cart.btn:disabled,
.products.product-loop .product-miniature .thumbnail-container .product-description .add-to-cart.btn.disabled { background: #eef1f2; color: #8a9397; }
@media (max-width: 575px) {
  .products.product-loop .product-miniature .thumbnail-container .product-description .add-to-cart.btn { width: 100%; height: 34px; padding: 0 6px; font-size: 12px; line-height: 34px; letter-spacing: 0; white-space: nowrap; }
  .products.product-loop .product-miniature .product-description { padding: 2px 10px 12px; }
  .product-miniature .product-title a { font-size: 13px; }
  .product-miniature .product-price-and-shipping .price { font-size: 15px; }
}
.products.product-loop .product-miniature .thumbnail-container .product-description,
.products.product-loop .product-miniature .thumbnail-container .product-description .product-title,
.products.product-loop .product-miniature .thumbnail-container .product-description .product-title a { text-align: left; }
.products.product-loop .product-miniature .thumbnail-container .product-description .product-price-and-shipping { justify-content: flex-start; text-align: left; }
/* pas d'avis client pour l'instant : on n'affiche pas 5 étoiles vides */
.product-miniature .product-list-reviews:not(:has(.star-full .star)) { display: none; }
/* pastilles */
.product-miniature .product-flags { top: 12px; left: 12px; }
.product-miniature .product-flags li.product-flag {
  margin: 0 0 6px; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; letter-spacing: .3px;
  text-transform: uppercase; box-shadow: 0 3px 8px rgba(0, 0, 0, .08);
}
.product-miniature .product-flag.discount, .product-miniature .product-flag.discount-percentage,
.product-miniature .product-flag.discount-amount, .product-miniature .product-flag.on-sale { background: #FF6B6B; color: #fff; }
.product-miniature .product-flag.new { background: var(--dp-brand); color: #fff; }
.product-miniature .product-flag.out_of_stock { background: #6b7478; color: #fff; }
/* actions rapides (favoris, comparer, aperçu) */
.product-miniature .mini-actions .btn-action {
  width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--dp-ink);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .10); display: flex; align-items: center; justify-content: center;
}
.product-miniature .mini-actions .btn-action:hover { background: var(--dp-brand); color: #fff; }

/* ---------- Pagination ---------- */
nav.pagination { align-items: center; margin-top: 10px; font-size: 13.5px; color: var(--dp-muted); }
nav.pagination .page-list li a, nav.pagination .page-list li span {
  min-width: 38px; height: 38px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--dp-line); border-radius: 20px; background: #fff; color: var(--dp-ink); font-weight: 600;
}
nav.pagination .page-list li a:hover { border-color: var(--dp-brand); color: var(--dp-brand); }
nav.pagination .page-list li.current a { background: var(--dp-brand); border-color: var(--dp-brand); color: #fff; }

/* =====================================================================
   Fiche produit
   ===================================================================== */

/* médias collés depuis l'ancien site : jamais plus larges que leur colonne (sinon la page déborde, surtout sur mobile) */
.product-description img, .product-description video, .product-description table,
#description img, #description video, #description table, .rte img, .rte video { max-width: 100% !important; height: auto !important; }
.product-description iframe, #description iframe, .rte iframe { max-width: 100% !important; width: 100%; aspect-ratio: 16 / 9; height: auto !important; }
.product-description, #description { overflow-wrap: anywhere; }

/* galerie */
#product .images-container .product-cover { border: 0 !important; border-radius: 16px; overflow: hidden; background: #fff; }
#product .images-container .product-cover img { border: 0 !important; }
/* vignettes sans contour : la vignette affichée est à pleine opacité, les autres atténuées */
#product .images-container .product-images .thumb-container,
#product .images-container .product-images .thumb-container img,
#product .images-container .product-images img.thumb { border: 0 !important; border-radius: 10px; box-shadow: none !important; }
#product .images-container .product-images img.thumb { opacity: .55; transition: opacity .2s; }
#product .images-container .product-images img.thumb.selected,
#product .images-container .product-images .swiper-slide-thumb-active img.thumb,
#product .images-container .product-images img.thumb:hover { opacity: 1; }
/* le thème trace aussi des « outline » sur la photo principale et les vignettes, et un cadre gris autour du zoom */
#product .images-container picture, #product .images-container .thumb-container,
#product .images-container .swiper-slide { outline: 0 !important; }
#product .images-container .product-zoom-container { border: 0 !important; border-radius: 16px; overflow: hidden; box-shadow: 0 12px 32px rgba(17, 60, 72, .12); }
#product .product-cover .product-flags { top: 14px; left: 14px; }
#product .product-cover .product-flags li.product-flag { border-radius: 20px; padding: 5px 12px; font-size: 11.5px; font-weight: 700; text-transform: uppercase; }
#product .product-flag.discount, #product .product-flag.on-sale, #product .product-flag.discount-percentage { background: #FF6B6B; color: #fff; }
#product .product-flag.new { background: var(--dp-brand); color: #fff; }

/* titre, marque, prix */
#product h1.product-title { margin: 2px 0 14px; font-size: 28px; font-weight: 700; line-height: 1.25; letter-spacing: -.2px; color: var(--dp-ink); text-transform: none; }
#product .product-information .product-manufacturer a, #product .product-container a.brand-name { font-size: 12.5px; font-weight: 700; letter-spacing: .8px; text-transform: uppercase; color: var(--dp-brand); }
#product .product-prices { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; margin: 0 0 18px; }
#product .product-prices .product-discount, #product .product-prices .product-price { margin: 0; }
#product .product-prices .regular-price { font-size: 18px; color: #9aa3a6; text-decoration: line-through; }
#product .product-prices .current-price { display: flex; align-items: center; gap: 12px; }
#product .product-prices .current-price-value { font-size: 30px; font-weight: 700; color: var(--dp-ink); }
#product .product-prices .discount { margin: 0; padding: 5px 12px; border-radius: 20px; background: #ffecec; color: #FF6B6B; font-size: 12.5px; font-weight: 700; }
#product .product-prices .tax-shipping-delivery-label { flex-basis: 100%; margin: 0; font-size: 12.5px; color: var(--dp-muted); }

/* résumé (souvent collé avec de grands titres <h1> depuis l'ancien site) */
#product .product-information .product-description { margin: 0 0 18px; font-size: 14.5px; line-height: 1.65; color: #4a4a4a; }
#product .product-information .product-description h1, #product .product-information .product-description h2 { margin: 14px 0 6px !important; font-size: 19px !important; line-height: 1.35 !important; font-weight: 700; }
#product .product-information .product-description h3, #product .product-information .product-description h4 { margin: 12px 0 6px !important; font-size: 16px !important; line-height: 1.35 !important; }
#product .product-information .product-description h1 *, #product .product-information .product-description h2 *,
#product .product-information .product-description h3 * { font-size: inherit !important; }
#product .product-information .product-description p { margin: 0 0 10px; }
#product .product-information .product-description img, #product .product-information .product-description video { border-radius: 12px; }

/* déclinaisons */
#product .product-variants { margin: 6px 0 14px; padding-top: 16px; border-top: 1px solid var(--dp-line); }
#product .product-variants .control-label { display: block; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--dp-ink); }
#product .product-variants .input-container { margin: 0 8px 8px 0; }
#product .product-variants .radio-label {
  display: inline-block; min-width: 64px; padding: 9px 16px; border: 1.5px solid var(--dp-line); border-radius: 30px;
  background: #fff; box-shadow: none; text-align: center; font-size: 14px; font-weight: 600; color: var(--dp-ink); transition: all .15s;
}
#product .product-variants .input-radio:checked + .radio-label, #product .product-variants .radio-label:hover { border-color: var(--dp-brand); background: var(--dp-soft); color: var(--dp-brand); }
#product .product-variants select.form-control { border-radius: 30px; border: 1.5px solid var(--dp-line); height: 44px; }

/* quantité + boutons */
#product .product-add-to-cart .control-label { display: block; margin: 0 0 8px; font-size: 13.5px; font-weight: 600; color: var(--dp-ink); }
#product .product-add-to-cart .product-quantity { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
#product .product-add-to-cart .product-quantity .qty, #product .product-add-to-cart .product-quantity .add { margin: 0; }
#product .product-quantity .bootstrap-touchspin { height: 50px; border: 1.5px solid var(--dp-line); border-radius: 30px; overflow: hidden; background: #fff; box-shadow: none; }
#product .product-quantity #quantity_wanted { height: 100%; width: 54px; border: 0; background: transparent; text-align: center; font-size: 16px; font-weight: 600; }
#product .product-quantity .bootstrap-touchspin .btn { border: 0; background: transparent; }
#main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart {
  height: 50px; padding: 0 30px; border: 0; border-radius: 30px; background: var(--dp-brand); color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: .2px; text-transform: none; box-shadow: 0 8px 18px rgba(47, 181, 210, .28);
}
#main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart:hover { background: var(--dp-brand-dark); }
#main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart.js-buy-now { background: #fff; color: var(--dp-ink); border: 1.5px solid var(--dp-ink); box-shadow: none; }
#main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart.js-buy-now:hover { background: var(--dp-ink); color: #fff; }
#main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart:disabled { background: #eef1f2; color: #8a9397; border-color: #eef1f2; box-shadow: none; }
#main .product-add-to-cart .product-quantity .btn .material-icons { font-size: 20px; margin-right: 6px; vertical-align: -5px; }
#product .product-add-to-cart .action-button { display: flex; flex-wrap: wrap; gap: 6px 22px; margin: 16px 0 6px; }
#product .product-add-to-cart .action-button a { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--dp-muted); }
#product .product-add-to-cart .action-button a:hover { color: var(--dp-brand); }
#product #product-availability .alert { border: 0; border-radius: 12px; font-size: 13.5px; }
#product .js-mailalert { margin: 10px 0; padding: 14px; border-radius: 12px; background: var(--dp-soft); }
#product .js-mailalert .form-control { border-radius: 30px; height: 44px; margin-bottom: 8px; }
#product .js-mailalert .btn { border-radius: 30px; background: var(--dp-brand); border: 0; }
#product .social-share, #product .social-sharing { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13.5px; color: var(--dp-muted); }

/* réassurance (livraison, conseils, qualité, formations) */
#product .blockreassurance_product {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; margin: 18px 0 0; padding: 18px;
  border-radius: 14px; background: var(--dp-soft);
}
#product .blockreassurance_product > div { display: flex; align-items: center; gap: 12px; margin: 0; }
#product .blockreassurance_product > div.clearfix { display: none; }
#product .blockreassurance_product .item-product { flex: 0 0 auto; margin: 0; }
#product .blockreassurance_product .item-product img { width: 46px; height: 46px; object-fit: contain; }
#product .blockreassurance_product .content { margin: 0; }
#product .blockreassurance_product .block-title { display: block; margin: 0; font-size: 13.5px; font-weight: 700; color: var(--dp-ink) !important; }
#product .blockreassurance_product p { margin: 2px 0 0; font-size: 12.5px; line-height: 1.35; color: var(--dp-muted) !important; }
@media (max-width: 480px) { #product .blockreassurance_product { grid-template-columns: 1fr; } }

/* onglets (description, détails, documents) */
#product .tab_wrapper .tabs { margin-top: 30px; padding: 6px 30px 30px; border: 1px solid var(--dp-line); border-radius: 16px; background: #fff; box-shadow: none; }
#product .tab_wrapper .tabs .nav-tabs { display: flex; flex-wrap: wrap; gap: 4px 26px; border-bottom: 1px solid var(--dp-line); }
#product .tab_wrapper .tabs .nav-tabs .nav-link {
  padding: 16px 0 14px; border: 0; border-bottom: 3px solid transparent; background: none;
  font-family: var(--dp-menu-font); font-size: 14px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; color: var(--dp-muted);
}
#product .tab_wrapper .tabs .nav-tabs .nav-link.active, #product .tab_wrapper .tabs .nav-tabs .nav-link:hover { color: var(--dp-brand); border-bottom-color: var(--dp-brand); }
#product #description { font-size: 15px; line-height: 1.7; color: #4a4a4a; }
#product #description h1, #product #description h2 { font-size: 24px !important; line-height: 1.3 !important; margin: 26px 0 10px !important; }
#product #description h3, #product #description h4 { font-size: 19px !important; line-height: 1.35 !important; margin: 20px 0 8px !important; }
#product #description h1 *, #product #description h2 *, #product #description h3 * { font-size: inherit !important; }
@media (max-width: 767px) {
  #product h1.product-title { font-size: 22px; }
  #product .product-prices .current-price-value { font-size: 26px; }
  #main .product-add-to-cart .product-quantity .add { flex: 1; }
  #main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart { width: 100%; padding: 0 16px; }
  #main .product-add-to-cart .product-quantity .js-buy-now { flex-basis: 100%; }
  #product .tab_wrapper .tabs { padding: 4px 16px 20px; }
  #product .tab_wrapper .tabs .nav-tabs { gap: 4px 16px; }
  #product #description h1, #product #description h2 { font-size: 20px !important; }
}

/* corrections fiche produit */
#product .blockreassurance_product .content { display: block !important; }
/* prix affiché une seule fois : sous le titre (le second bloc, au-dessus du bouton, faisait doublon) */
#product .product-actions .product-prices { display: none; }
#product .product-details-top .product-prices .discount { display: inline-block !important; }

/* police de base : le thème déclare Inter sans police de repli (affichage en Times si Inter tarde à charger) */
body { font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }

/* méga-menu sur grand écran : panneau blanc sur toute la largeur, contenu centré (le thème imposait une marge de 15px à gauche) */
.dp-menu-hmenu #_desktop_megamenu .avaorg-sub-menu.dp-mega { background: #fff; }
.dp-menu-hmenu #_desktop_megamenu .avaorg-sub-menu.dp-mega .avaorg-sub-inner {
  max-width: 1400px; margin-left: auto !important; margin-right: auto !important; box-shadow: none;
}

/* =====================================================================
   Boutons principaux du site en turquoise
   (le CSS personnalisé du thème, chargé après celui-ci, les mettait en bleu marine : « body » le surclasse)
   ===================================================================== */
body .btn-primary, body .btn.btn-primary.add-to-cart, body .btn-lg, body #blockcart-content .cart-buttons .btn {
  background-color: var(--dp-brand); border-color: var(--dp-brand); color: #fff;
}
body .btn-primary:hover, body .btn-primary:focus, body .btn.btn-primary.add-to-cart:hover,
body .btn-lg:hover, body #blockcart-content .cart-buttons .btn:hover {
  background-color: var(--dp-brand-dark); border-color: var(--dp-brand-dark); color: #fff;
}
body .btn-primary:disabled, body .btn-primary.disabled { background-color: #eef1f2; border-color: #eef1f2; color: #8a9397; }

/* =====================================================================
   Couleurs des promotions (demande client) : réduction de prix #FF6B6B, vignette « Promo » en bleu principal
   ===================================================================== */
.product-miniature .product-flag.on-sale, #product .product-flag.on-sale { background: var(--dp-brand) !important; color: #fff !important; }
.product-miniature .product-flag.discount, .product-miniature .product-flag.discount-percentage, .product-miniature .product-flag.discount-amount,
#product .product-flag.discount, #product .product-flag.discount-percentage, #product .product-flag.discount-amount { background: #FF6B6B !important; color: #fff !important; }
#product .product-prices .discount { background: #FF6B6B; color: #fff; }

/* =====================================================================
   Mobile et tablette : pleine largeur (la mise en page « cartes » du thème ajoutait 15px de marge autour de toute la page)
   ===================================================================== */
@media (max-width: 1024px) { main#page { margin-left: 0 !important; margin-right: 0 !important; } }

/* =====================================================================
   Accueil : bandeau d'engagements compact noir et blanc (icônes de peelings.net)
   ===================================================================== */
.dp-labels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 24px; max-width: 1400px; margin: 0 auto; }
.dp-label { display: flex; align-items: center; justify-content: center; gap: 14px; padding: 4px 6px; text-decoration: none; }
.dp-label img { flex: 0 0 auto; width: 52px; height: 52px; object-fit: contain; transition: transform .25s ease; }
.dp-label:hover img { transform: scale(1.06); }
.dp-label__txt { display: flex; flex-direction: column; min-width: 0; }
.dp-label__txt strong { font-family: var(--dp-menu-font); font-size: 13px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase; line-height: 1.25; color: #111; }
.dp-label__txt span { margin-top: 2px; font-size: 12.5px; line-height: 1.3; color: #6b6b6b; }
.dp-label:hover strong { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1024px) { .dp-labels { grid-template-columns: repeat(2, 1fr); } .dp-label { justify-content: flex-start; } }
@media (max-width: 575px) {
  .dp-labels { gap: 10px 8px; }
  .dp-label { gap: 8px; padding: 2px; }
  .dp-label img { width: 38px; height: 38px; }
  .dp-label__txt strong { font-size: 11px; letter-spacing: .2px; }
  .dp-label__txt span { font-size: 11px; }
}

/* =====================================================================
   Accueil : blog (contenu statique)
   ===================================================================== */
.dp-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1400px; margin: 0 auto; }
.dp-post { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--dp-line); border-radius: 14px; background: #fff; transition: box-shadow .25s ease, transform .25s ease; }
.dp-post:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(17, 60, 72, .10); }
.dp-post__img { overflow: hidden; aspect-ratio: 16 / 9; }
.dp-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.dp-post:hover .dp-post__img img { transform: scale(1.04); }
.dp-post__body { padding: 16px 18px 20px; }
.dp-post__meta { display: inline-block; margin-bottom: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: .6px; text-transform: uppercase; color: var(--dp-brand); }
.dp-post h3 { margin: 0 0 8px; font-size: 16px; font-weight: 700; line-height: 1.35; color: var(--dp-ink); }
.dp-post p { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--dp-muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 1024px) { .dp-posts { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .dp-posts { grid-template-columns: 1fr; gap: 16px; } }

/* =====================================================================
   Pages CMS (contenu repris de peelings.net) : colonne de lecture centrée, typographie soignée
   (le CSS du thème limitait le contenu à 768 px, collé à gauche)
   ===================================================================== */
body#cms #wrapper #content.page-cms { max-width: 900px; min-width: 0; margin: 0 auto; padding: 40px 0 64px; color: #3f4649; }
body#cms #content.page-cms p, body#cms #content.page-cms li { font-size: 16px; line-height: 1.75; letter-spacing: .1px; }
body#cms #content.page-cms p { margin: 0 0 14px; }
body#cms #content.page-cms h1, body#cms #content.page-cms h2 {
  margin: 44px 0 16px; font-family: var(--dp-menu-font); font-size: 27px; font-weight: 600; line-height: 1.3;
  letter-spacing: .2px; text-transform: none; color: var(--dp-ink);
}
body#cms #content.page-cms h3, body#cms #content.page-cms h4 {
  margin: 30px 0 12px; font-family: var(--dp-menu-font); font-size: 20px; font-weight: 600; line-height: 1.35; letter-spacing: .2px; color: var(--dp-ink);
}
body#cms #content.page-cms :is(h1, h2, h3, h4) :is(strong, b) { font-weight: inherit; }
/* petit trait turquoise sous les titres centrés */
body#cms #content.page-cms :is(h1, h2)[style*="center"]::after {
  content: ""; display: block; width: 46px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: var(--dp-brand); opacity: .55;
}
body#cms #content.page-cms a:not(:has(img)) { color: var(--dp-brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
body#cms #content.page-cms a:not(:has(img)):hover { color: var(--dp-brand); }
/* boutons collés dans le contenu (ex. « Suivre mon colis ») */
body#cms #content.page-cms a.btn {
  display: inline-block; padding: 12px 30px; border: 0; border-radius: 30px; background: var(--dp-brand);
  font-family: "Inter", Arial, sans-serif; font-size: 15px; font-weight: 600; line-height: 1.3; letter-spacing: .2px;
  color: #fff !important; text-decoration: none; text-transform: none; box-shadow: 0 8px 18px rgba(47, 181, 210, .25); transition: background .2s;
}
body#cms #content.page-cms a.btn:hover { background: var(--dp-brand-dark); color: #fff !important; }
body#cms #content.page-cms :is(h1, h2, h3)[style*="center"]:has(a.btn) { margin: 18px 0; }
body#cms #content.page-cms :is(h1, h2)[style*="center"]:has(a.btn)::after { display: none; }
/* images : jamais plus larges que la colonne, coins arrondis, centrées quand elles sont seules */
body#cms #content.page-cms img { max-width: 100%; height: auto; vertical-align: middle; border-radius: 14px; }
body#cms #content.page-cms p > img:only-child, body#cms #content.page-cms p > em > img:only-child { display: block; margin: 8px auto 10px; }
body#cms #content.page-cms .container-parent > p:first-child > img:only-child {
  width: 100%; margin: 0 auto 8px; border-radius: 18px; box-shadow: 0 14px 34px rgba(17, 60, 72, .10);
}
body#cms #content.page-cms p:has(> img + img) img { margin: 6px; }
body#cms #content.page-cms a > img { transition: transform .2s ease, box-shadow .2s ease; }
body#cms #content.page-cms a:hover > img { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(17, 60, 72, .14); }
/* paragraphes vides collés depuis l'ancien site (marqués par templates/cms/page.tpl) : petits espaces au lieu de grands blancs */
body#cms #content.page-cms .dp-cms-gap { height: 10px; margin: 0 !important; overflow: hidden; font-size: 0; line-height: 0; }
body#cms #content.page-cms .dp-cms-gap + .dp-cms-gap,
body#cms #content.page-cms .container-parent > .dp-cms-gap:first-child,
body#cms #content.page-cms :is(h1, h2, h3, h4) + .dp-cms-gap { display: none; }
/* tableaux (page Catalogues) */
body#cms #content.page-cms table { border-collapse: separate; border-spacing: 0; }
body#cms #content.page-cms :is(table, tr, td, th) { border: 0 !important; background: none; }
body#cms #content.page-cms tr:nth-child(2) td:empty { padding: 0; }
body#cms #content.page-cms td { padding: 8px 14px; vertical-align: top; text-align: center; }
body#cms #content.page-cms tr:nth-child(3) td { padding-bottom: 30px; font-family: var(--dp-menu-font); font-size: 15px; font-weight: 600; color: var(--dp-ink); }
@media (max-width: 767px) {
  body#cms #wrapper #content.page-cms { padding: 24px 0 40px; }
  body#cms #content.page-cms p, body#cms #content.page-cms li { font-size: 15.5px; line-height: 1.7; }
  body#cms #content.page-cms [style*="justify"] { text-align: left !important; }
  body#cms #content.page-cms h1, body#cms #content.page-cms h2 { margin-top: 32px; font-size: 22px; }
  body#cms #content.page-cms h3, body#cms #content.page-cms h4 { font-size: 18px; }
  body#cms #content.page-cms .container-parent > p:first-child > img:only-child { border-radius: 14px; }
  body#cms #content.page-cms table { width: 100% !important; table-layout: fixed; }
  body#cms #content.page-cms td { padding: 6px; }
  body#cms #content.page-cms tr:nth-child(3) td { font-size: 13.5px; }
}

/* =====================================================================
   Fiche produit : modernisation (2e passe)
   Hiérarchie : marque, titre, note, prix, puis bloc d'achat en carte ; avis clients mis en avant ;
   listes de produits du bas centrées.
   ===================================================================== */

/* largeur maximale alignée sur l'en-tête (1400 px) et léger fond dégradé en haut de page */
@media (min-width: 1200px) { body#product #wrapper > .container { max-width: 1430px; margin-left: auto; margin-right: auto; } }
body#product #wrapper { background: linear-gradient(180deg, #f5fbfc 0, #ffffff 760px); }
html:has(body#product) { scroll-behavior: smooth; }

/* marque, titre */
#product .product-container .summary .brand-title { margin: 0 0 8px; }
#product .product-container .summary .brand-title a {
  display: inline-block; padding: 4px 12px; border-radius: 20px; background: var(--dp-soft);
  font-size: 11.5px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--dp-brand-dark);
}
#product .product-container .summary .brand-title a:hover { background: var(--dp-brand); color: #fff; }

/* note et nombre d'avis, juste sous le titre (gabarit catalog/_partials/custom/product-reviews.tpl) */
#product .product-details-top { display: flex; flex-direction: column; align-items: flex-start; }
#product .product-details-top .product-rating.dp-rating { order: -1; display: block; margin: -4px 0 16px; }
.dp-rating__link { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; line-height: 1.4; color: var(--dp-muted); text-decoration: none; }
.dp-rating__note, .dp-rating__count { font-weight: 600; color: var(--dp-ink); }
.dp-rating__sep { color: #b9c3c6; }
.dp-rating__cta { color: var(--dp-brand-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dp-rating__link:hover .dp-rating__cta, .dp-rating__link:hover .dp-rating__count { color: var(--dp-brand); }
/* étoiles : remplissage proportionnel à la note (--dp-score), dorées sur fond gris */
.dp-stars {
  display: inline-block; font-family: Arial, "Segoe UI Symbol", sans-serif; font-size: 17px; line-height: 1; letter-spacing: 1px; white-space: nowrap;
  background: linear-gradient(90deg, #f5b301 var(--dp-score, 0%), #d3dcdf var(--dp-score, 0%));
  -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.dp-stars--lg { font-size: 26px; letter-spacing: 2px; }

/* bloc d'achat remonté juste sous le prix, puis réassurance, puis résumé du produit */
#product .product-container .product-information { display: flex; flex-direction: column; }
#product .product-container .product-information > * { order: 5; }
#product .product-container .product-information > .product-customization { order: 1; }
#product .product-container .product-information > .product-actions { order: 2; }
#product .product-container .product-information > .blockreassurance_product { order: 3; }
#product .product-container .product-information > .product-description { order: 4; }
#product .product-information .product-actions {
  margin: 0 0 4px; padding: 22px 22px 16px; border: 1px solid var(--dp-line); border-radius: 16px; background: #fff;
  box-shadow: 0 12px 32px rgba(17, 60, 72, .06);
}
#product .product-information .product-actions .product-variants { margin-top: 0; padding-top: 0; border-top: 0; }
#product .product-information .product-actions .product-add-to-cart { margin: 0; }
#product .product-information .product-actions .social-sharing,
#product .product-information .product-actions .social-share { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--dp-line); }
#product .product-information .product-actions .product-comments-additional-info { display: none; } /* doublon du résumé d'avis */
/* quantité + « Ajouter au panier » sur toute la largeur, « Acheter maintenant » en dessous */
#main .product-add-to-cart .product-quantity { flex-wrap: wrap; max-width: none; margin-bottom: 0; }
#main .product-add-to-cart .product-quantity .add { flex: 1 1 200px; }
#main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart { width: 100%; height: 54px; max-height: none; font-size: 15.5px; }
#main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart.js-buy-now { flex: 1 1 100%; height: 48px; font-size: 14.5px; }
#product .product-quantity .bootstrap-touchspin { height: 54px; }
/* blocs vides du formulaire (déclinaisons, remises, disponibilité) : sans marge, pour éviter un blanc en haut de la carte */
#product .product-actions .product-variants:not(:has(*)), #product .product-actions .product-discounts:not(:has(*)),
#product .product-actions #product-availability:not(:has(*)) { display: none; }
#product .product-actions .product-minimal-quantity { margin: 8px 0 0; }
#product .product-add-to-cart .action-button { justify-content: center; margin: 14px 0 4px; }
#product #product-availability .alert { margin: 10px 0 0; padding: 10px 14px; }
#product .blockreassurance_product { margin-top: 16px; }
/* résumé du produit (description courte) */
#product .product-container .product-information > .product-description { margin: 22px 0 0; padding-top: 20px; border-top: 1px solid var(--dp-line); }
#product .product-information .product-description p:empty { display: none; }

/* onglets : centrés, texte en colonne de lecture */
#product .tab_wrapper .tabs { margin-top: 40px; }
#product .tab_wrapper .tabs .nav-tabs { justify-content: center; }
#product .tab_wrapper .tabs .tab-content { max-width: 980px; margin: 0 auto; padding-top: 12px; }

/* titres des sections du bas (avis, produits associés, même catégorie) */
body#product #main .product-accessories, body#product #main .featured-products { margin: 64px 0 0; padding: 0; }
body#product #main .product-accessories .products-section-title,
body#product #main .featured-products .products-section-title,
#dp-reviews .dp-reviews__title {
  margin: 0 0 30px; padding: 0 15px; font-family: var(--dp-menu-font); font-size: 26px; font-weight: 600; line-height: 1.25;
  letter-spacing: .2px; text-align: center; text-transform: none; color: var(--dp-ink);
}
body#product #main .product-accessories .products-section-title::after,
body#product #main .featured-products .products-section-title::after,
#dp-reviews .dp-reviews__title::after {
  content: ""; display: block; width: 46px; height: 3px; margin: 14px auto 0; border-radius: 3px; background: var(--dp-brand);
}
/* listes de produits du bas : cartes centrées (elles étaient alignées à gauche) */
body#product #main .product-accessories .products, body#product #main .featured-products .products { justify-content: center; }

/* section « Avis clients » (modules/productcomments/views/templates/hook/product-comments-list.tpl) */
#dp-reviews { margin: 0; scroll-margin-top: 24px; } /* l'espace au-dessus vient déjà des onglets */
#dp-reviews .dp-reviews__anchor { display: block; height: 0; margin: 0 !important; padding: 0; background: none !important; }
#dp-reviews .dp-reviews__header { margin: 0 0 28px; text-align: center; }
#dp-reviews .dp-reviews__header .dp-reviews__title { margin-bottom: 12px; }
#dp-reviews .dp-reviews__subtitle { max-width: 760px; margin: 0 auto; padding: 0 15px; font-size: 14.5px; line-height: 1.5; color: var(--dp-muted); }
#dp-reviews .dp-reviews__layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: stretch; max-width: 1100px; margin: 0 auto; }
#dp-reviews .dp-reviews__summary { display: flex; flex-direction: column; align-items: center; padding: 28px 24px; border-radius: 16px; background: var(--dp-soft); text-align: center; }
#dp-reviews .dp-reviews__score { font-family: var(--dp-menu-font); line-height: 1; color: var(--dp-ink); }
#dp-reviews .dp-reviews__avg { font-size: 54px; font-weight: 600; }
#dp-reviews .dp-reviews__max { margin-left: 2px; font-size: 20px; font-weight: 600; color: var(--dp-muted); }
#dp-reviews.dp-reviews--empty .dp-stars--lg { margin-top: 4px; font-size: 30px; }
#dp-reviews .dp-stars--lg { margin: 12px 0 8px; }
#dp-reviews .dp-reviews__count { margin: 0 0 20px; font-size: 14px; color: var(--dp-muted); }
#dp-reviews .dp-reviews__action { width: 100%; }
#dp-reviews .dp-reviews__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 48px; padding: 10px 18px;
  border: 0; border-radius: 30px; font-size: 14.5px; font-weight: 600; line-height: 1.3; letter-spacing: .2px; text-transform: none; white-space: normal;
  box-shadow: 0 8px 18px rgba(47, 181, 210, .25);
}
#dp-reviews .dp-reviews__btn .material-icons { font-size: 18px; }
#dp-reviews .dp-reviews__hint { margin: 12px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--dp-muted); }
#dp-reviews .dp-reviews__hint a { font-weight: 600; color: var(--dp-brand-dark); text-decoration: underline; text-underline-offset: 2px; }
#dp-reviews .dp-reviews__main { min-width: 0; }
#dp-reviews #empty-product-comment.dp-reviews__empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; margin: 0; padding: 34px 28px;
  border: 1.5px dashed #cfe3e8; border-radius: 16px; background: #fff; text-align: center;
}
#dp-reviews .dp-reviews__empty-icon { font-size: 42px; color: var(--dp-brand); }
#dp-reviews .dp-reviews__empty-title { margin: 10px 0 6px; font-family: var(--dp-menu-font); font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--dp-ink); }
#dp-reviews .dp-reviews__empty-text { max-width: 540px; margin: 0; font-size: 14px; line-height: 1.6; color: var(--dp-muted); }
/* avis publiés (chargés par le module) */
#dp-reviews #product-comments-list { margin: 0; }
#dp-reviews #product-comments-list .product-comment-list-item {
  margin: 0 0 14px; padding: 18px 20px; border: 1px solid var(--dp-line); border-radius: 14px; background: #fff;
}
#dp-reviews #product-comments-list .comment-infos { font-size: 13px; color: var(--dp-muted); }
#dp-reviews #product-comments-list .comment-infos .comment-author { font-weight: 600; color: var(--dp-ink); }
#dp-reviews #product-comments-list .comment-content .h4 { margin: 0 0 6px; font-size: 16px; font-weight: 700; color: var(--dp-ink); }
#dp-reviews #product-comments-list .comment-content p { font-size: 14.5px; line-height: 1.6; }
#dp-reviews #product-comments-list-pagination ul { display: flex; justify-content: center; gap: 6px; margin: 10px 0 0; padding: 0; list-style: none; }
#dp-reviews #product-comments-list-pagination li span {
  display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 8px;
  border: 1px solid var(--dp-line); border-radius: 20px; background: #fff; cursor: pointer;
}
#dp-reviews #product-comments-list-pagination li.active span, #dp-reviews #product-comments-list-pagination li span:hover { border-color: var(--dp-brand); color: var(--dp-brand); }

/* fenêtre « Donnez votre avis » (module productcomments) */
.product-comment-modal .modal-content { border: 0; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .22); }
.product-comment-modal .modal-header { padding: 18px 24px; border-bottom: 1px solid var(--dp-line); }
.product-comment-modal .modal-header .h2 { font-family: var(--dp-menu-font); font-size: 22px; font-weight: 600; color: var(--dp-ink); }
.product-comment-modal .modal-body { padding: 20px 24px 24px; }
#post-product-comment-modal [itemprop="description"] { display: none; } /* la description complète (avec vidéo) alourdissait la fenêtre */
#post-product-comment-modal .product-cover img { border: 1px solid var(--dp-line); border-radius: 12px; }
#post-product-comment-modal .h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }
.product-comment-modal input, .product-comment-modal textarea { border: 1.5px solid var(--dp-line); border-radius: 12px; padding: 10px 14px; background: #fff; }
.product-comment-modal input:focus, .product-comment-modal textarea:focus { border-color: var(--dp-brand); outline: 0; box-shadow: 0 0 0 3px rgba(47, 181, 210, .15); }
.product-comment-modal .btn-comment { border-color: var(--dp-brand); border-radius: 30px; background: var(--dp-brand); color: #fff; }
.product-comment-modal .btn-comment:hover { border-color: var(--dp-brand-dark); background: var(--dp-brand-dark); color: #fff; }
body .product-comment-modal .btn.btn-comment-inverse { border: 1.5px solid #cfd8db; border-radius: 30px; background: #fff; color: var(--dp-ink); }
body .product-comment-modal .btn.btn-comment-inverse:hover { border-color: var(--dp-ink); background: #fff; color: var(--dp-ink); }

/* tablette (768 à 991 px) : galerie puis informations l'une sous l'autre, plutôt que deux colonnes trop étroites */
@media (min-width: 768px) and (max-width: 991px) {
  #product .product-container > .images, #product .product-container > .summary { width: 100%; max-width: 100%; flex: 0 0 100%; float: none; }
  #product .product-container > .images { position: static; max-width: 680px; margin: 0 auto 28px; }
  #dp-reviews .dp-reviews__layout { grid-template-columns: 260px minmax(0, 1fr); }
}
@media (max-width: 767px) {
  body#product #main .product-accessories, body#product #main .featured-products { margin-top: 44px; }
  body#product #main .product-accessories .products-section-title, body#product #main .featured-products .products-section-title,
  #dp-reviews .dp-reviews__title { font-size: 22px; }
  #product .product-information .product-actions { padding: 18px 16px 14px; }
  .dp-rating--empty .dp-rating__sep { display: none; }
  .dp-rating--empty .dp-rating__cta { flex-basis: 100%; }
  #product #description [style*="justify"], #product .product-information .product-description [style*="justify"] { text-align: left !important; }
  #dp-reviews .dp-reviews__layout { grid-template-columns: 1fr; gap: 14px; }
  #dp-reviews #empty-product-comment.dp-reviews__empty { padding: 24px 18px; }
  /* listes de produits du bas : défilement horizontal (carrousel) au lieu de plusieurs rangées */
  body#product #main .product-accessories .products, body#product #main .featured-products .products {
    flex-wrap: nowrap; justify-content: flex-start; gap: 12px; overflow-x: auto; overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory; padding: 4px 2px 14px; scrollbar-width: thin;
  }
  body#product #main .product-accessories .products > .product, body#product #main .featured-products .products > .product {
    flex: 0 0 64%; width: 64%; max-width: 64%; padding: 0; scroll-snap-align: start;
  }
  body#product #main :is(.product-accessories, .featured-products) .products > .product:first-child { margin-left: auto; }
  body#product #main :is(.product-accessories, .featured-products) .products > .product:last-child { margin-right: auto; }
}

/* panier latéral : casse normale sur les boutons (« Voir le panier », « Commander ») */
.elementor-cart__footer-buttons .elementor-button, .elementor-cart__footer-buttons .elementor-button-text { text-transform: none !important; }

/* =====================================================================
   Demandes client (lot 3)
   ===================================================================== */

/* ---------- FAQ (cms 9) : texte plus petit, émojis devant les titres comme sur peelings ---------- */
body#cms.cms-id-9 #content.page-cms p, body#cms.cms-id-9 #content.page-cms li { font-size: 14.5px; line-height: 1.65; }
body#cms.cms-id-9 #content.page-cms p { margin-bottom: 12px; }
body#cms.cms-id-9 #content.page-cms h2 { margin: 34px 0 14px; font-size: 21px; }
body#cms.cms-id-9 #content.page-cms h3 { font-size: 17px; }
@media (max-width: 767px) {
  body#cms.cms-id-9 #content.page-cms p, body#cms.cms-id-9 #content.page-cms li { font-size: 14px; }
  body#cms.cms-id-9 #content.page-cms h2 { margin-top: 28px; font-size: 18.5px; }
}

/* ---------- Garanties & Engagements (cms 6) : cartes, image, liste à puces cochées (texte inchangé) ---------- */
body#cms.cms-id-6 #wrapper #content.page-cms { max-width: 1080px; }
.dp-gar-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0 0 28px; }
.dp-gar-card {
  position: relative; padding: 30px 30px 28px; border: 1px solid var(--dp-line); border-radius: 18px; background: #fff;
  box-shadow: 0 14px 34px rgba(17, 60, 72, .07);
}
.dp-gar-card--garantie { border-color: rgba(47, 181, 210, .35); background: linear-gradient(160deg, #eaf7fa 0, #fff 72%); }
.dp-gar-card::before {
  display: flex; align-items: center; justify-content: center; width: 54px; height: 54px; margin: 0 0 18px; border-radius: 50%;
  background: var(--dp-soft); color: var(--dp-brand); font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-size: 22px; line-height: 1;
}
.dp-gar-card--paiement::before { content: "\f53c"; }
.dp-gar-card--garantie::before { content: "\f3ed"; background: var(--dp-brand); color: #fff; box-shadow: 0 8px 18px rgba(47, 181, 210, .3); }
body#cms #content.page-cms .dp-gar-card h2 {
  margin: 0 0 10px; font-size: 19px; line-height: 1.35; text-align: left; color: var(--dp-ink);
}
body#cms #content.page-cms .dp-gar-card p { margin: 0; font-size: 15px; line-height: 1.7; color: #50595c; }
.dp-gar-products {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: stretch; overflow: hidden;
  border-radius: 18px; background: var(--dp-soft);
}
.dp-gar-media { min-height: 100%; }
body#cms #content.page-cms .dp-gar-media img { display: block; width: 100%; height: 100%; margin: 0; object-fit: cover; border-radius: 0; box-shadow: none; }
.dp-gar-text { align-self: center; padding: 34px 38px; }
body#cms #content.page-cms .dp-gar-label {
  margin: 0 0 18px; font-family: var(--dp-menu-font); font-size: 15px; font-weight: 700; letter-spacing: 1.6px; color: var(--dp-brand-dark);
}
body#cms #content.page-cms .dp-gar-list { margin: 0; padding: 0; list-style: none; }
body#cms #content.page-cms .dp-gar-list li { position: relative; margin: 0 0 14px; padding: 2px 0 0 42px; font-size: 15px; line-height: 1.6; color: #3f4649; }
body#cms #content.page-cms .dp-gar-list li:last-child { margin-bottom: 0; }
.dp-gar-list li::before {
  content: "\f00c"; position: absolute; top: 0; left: 0; display: flex; align-items: center; justify-content: center; width: 28px; height: 28px;
  border-radius: 50%; background: var(--dp-brand); color: #fff; font-family: "Font Awesome 6 Free", "Font Awesome 5 Free"; font-weight: 900; font-size: 12px;
}
@media (max-width: 767px) {
  .dp-gar-cards, .dp-gar-products { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .dp-gar-card { padding: 24px 20px 22px; }
  .dp-gar-media { aspect-ratio: 16 / 10; }
  .dp-gar-text { padding: 24px 20px 26px; }
  body#cms #content.page-cms .dp-gar-card p, body#cms #content.page-cms .dp-gar-list li { font-size: 14.5px; }
}

/* ---------- Fiche produit : réassurance à gauche sous les photos (grands écrans) ---------- */
#product .dp-side-reassurance { display: none; }
@media (min-width: 992px) {
  #product .dp-side-reassurance { display: block; clear: both; margin: 24px 0 0; }
  #product .dp-side-reassurance .blockreassurance_product { margin: 0; padding: 20px 22px; }
  #product .product-container .product-information > .blockreassurance_product { display: none; }
}

/* ---------- Fiche produit : bloc d'informations en accordéon (style « Conseils d'utilisation » larosee) ---------- */
#product .product-container .product-information > .dp-pinfo { order: 3; }
.dp-pinfo {
  margin: 16px 0 0; padding: 4px 24px; border: 1px solid var(--dp-line); border-radius: 16px; background: #fff;
  box-shadow: 0 12px 32px rgba(17, 60, 72, .06);
}
.dp-pinfo__item + .dp-pinfo__item { border-top: 1px solid #dfe7ea; }
.dp-pinfo__head {
  display: flex; align-items: center; gap: 12px; padding: 16px 0; cursor: pointer; list-style: none; user-select: none;
  font-size: 14.5px; font-weight: 700; line-height: 1.35; color: var(--dp-ink); transition: color .2s;
}
.dp-pinfo__head::-webkit-details-marker { display: none; }
.dp-pinfo__head::marker { content: ""; }
.dp-pinfo__head:hover, .dp-pinfo__item[open] > .dp-pinfo__head { color: var(--dp-brand-dark); }
.dp-pinfo__head:focus-visible { outline: 2px solid var(--dp-brand); outline-offset: 2px; border-radius: 6px; }
.dp-pinfo svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.dp-pinfo__ico { flex: 0 0 22px; display: inline-flex; color: var(--dp-brand); }
.dp-pinfo__title { flex: 1 1 auto; min-width: 0; }
.dp-pinfo__count {
  display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px;
  background: var(--dp-soft); font-size: 12px; color: var(--dp-brand-dark);
}
.dp-pinfo svg.dp-pinfo__chev { flex: 0 0 20px; width: 20px; height: 20px; color: #7d8a8e; transition: transform .25s ease, color .2s; }
.dp-pinfo__item[open] svg.dp-pinfo__chev { transform: rotate(180deg); color: var(--dp-brand-dark); }
.dp-pinfo__body { padding: 0 0 18px 34px; font-size: 14px; line-height: 1.65; color: #4a5356; overflow-wrap: anywhere; animation: dpPinfoIn .25s ease; }
@keyframes dpPinfoIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.dp-pinfo__body > :first-child { margin-top: 0 !important; }
.dp-pinfo__body > :last-child { margin-bottom: 0 !important; }
.dp-pinfo__body p { margin: 0 0 10px; }
.dp-pinfo__body :is(h1, h2, h3, h4, h5, h6) {
  margin: 14px 0 6px !important; font-family: inherit; font-size: 14.5px !important; font-weight: 700; line-height: 1.4 !important;
  letter-spacing: 0; text-transform: none; color: var(--dp-ink);
}
.dp-pinfo__body :is(h1, h2, h3, h4, h5, h6) * { font-size: inherit !important; }
.dp-pinfo__body ul, .dp-pinfo__body ol { margin: 0 0 10px; padding-left: 18px; }
.dp-pinfo__body li { margin: 0 0 4px; }
.dp-pinfo__body img, .dp-pinfo__body video, .dp-pinfo__body table { max-width: 100% !important; height: auto !important; }
.dp-pinfo__body iframe { max-width: 100%; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.dp-pinfo__body a { color: var(--dp-brand-dark); text-decoration: underline; text-underline-offset: 3px; }
/* documents joints */
.dp-pinfo .dp-pinfo__docs { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.dp-pinfo .dp-pinfo__docs li { margin: 0; }
.dp-pinfo a.dp-pinfo__doc {
  display: flex; align-items: center; gap: 12px; padding: 11px 14px; border: 1px solid var(--dp-line); border-radius: 12px;
  background: var(--dp-soft); color: var(--dp-ink); text-decoration: none; transition: border-color .2s, background .2s;
}
.dp-pinfo a.dp-pinfo__doc:hover { border-color: var(--dp-brand); background: #fff; }
.dp-pinfo__doc-ico { flex: 0 0 38px; display: inline-flex; align-items: center; justify-content: center; height: 38px; border-radius: 10px; background: #fff; color: var(--dp-brand); }
.dp-pinfo__doc-text { flex: 1 1 auto; display: flex; flex-direction: column; min-width: 0; }
.dp-pinfo__doc-name { font-size: 14px; font-weight: 600; line-height: 1.35; }
.dp-pinfo__doc-desc { font-size: 12.5px; line-height: 1.4; color: var(--dp-muted); }
.dp-pinfo__doc-dl { flex: 0 0 auto; display: flex; flex-direction: column; align-items: flex-end; font-size: 13px; font-weight: 700; color: var(--dp-brand-dark); }
.dp-pinfo__doc-dl small { font-size: 11.5px; font-weight: 500; color: var(--dp-muted); }
@media (max-width: 767px) {
  .dp-pinfo { padding: 2px 16px; }
  .dp-pinfo__body { padding-left: 0; }
}

/* ---------- partage : message « Lien copié » ---------- */
.social-share .dp-share-copy { position: relative; }
.social-share .dp-share-copy.is-copied::after {
  content: attr(data-copied); position: absolute; bottom: calc(100% + 8px); left: 50%; z-index: 5; transform: translateX(-50%);
  padding: 6px 10px; border-radius: 8px; background: var(--dp-ink); color: #fff; font-size: 12px; font-weight: 600; line-height: 1.3;
  white-space: nowrap; pointer-events: none; box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
}

/* ---------- aperçu rapide : boutons arrondis comme sur l'accueil, résumé sans titres géants ---------- */
.modal.quickview .modal-content { border: 0; border-radius: 18px; overflow: hidden; }
.modal.quickview .product-add-to-cart .product-quantity { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.modal.quickview .product-add-to-cart .product-quantity .qty, .modal.quickview .product-add-to-cart .product-quantity .add { margin: 0; }
.modal.quickview .product-quantity .bootstrap-touchspin { height: 48px; border: 1.5px solid var(--dp-line); border-radius: 30px; overflow: hidden; background: #fff; box-shadow: none; }
.modal.quickview .product-quantity #quantity_wanted { height: 100%; border: 0; background: transparent; text-align: center; font-weight: 600; }
.modal.quickview .product-quantity .bootstrap-touchspin .btn { border: 0; background: transparent; }
.modal.quickview .btn.btn-primary, .modal.quickview .btn.add-to-cart { border-radius: 30px; }
.modal.quickview .product-add-to-cart .btn.btn-primary.add-to-cart {
  height: 48px; max-height: none; padding: 0 28px; border: 0; background: var(--dp-brand); color: #fff; font-size: 15px; font-weight: 600;
  letter-spacing: .2px; text-transform: none; box-shadow: 0 8px 18px rgba(47, 181, 210, .28);
}
.modal.quickview .product-add-to-cart .btn.btn-primary.add-to-cart:hover { background: var(--dp-brand-dark); }
.modal.quickview .product-add-to-cart .btn.btn-primary.add-to-cart.js-buy-now { background: #fff; color: var(--dp-ink); border: 1.5px solid var(--dp-ink); box-shadow: none; }
.modal.quickview .product-add-to-cart .btn.btn-primary.add-to-cart.js-buy-now:hover { background: var(--dp-ink); color: #fff; }
.modal.quickview .product-add-to-cart .btn .material-icons { font-size: 20px; margin-right: 6px; vertical-align: -5px; }
.modal.quickview .product-description { font-size: 14.5px; line-height: 1.65; color: #4a4a4a; }
.modal.quickview .product-description :is(h1, h2) { margin: 12px 0 8px !important; font-size: 19px !important; line-height: 1.35 !important; font-weight: 700; color: var(--dp-ink); }
.modal.quickview .product-description :is(h3, h4) { margin: 10px 0 6px !important; font-size: 16px !important; line-height: 1.35 !important; }
.modal.quickview .product-description :is(h1, h2, h3, h4) * { font-size: inherit !important; }

/* ---------- comparateur retiré (module désactivé) : aucun reste visible ---------- */
.btn-compare, .js-compare, .compare-count, .ava-compare { display: none !important; }

/* ---------- fiche produit : bloc d'achat moins large (demande client), aligné avec le bloc d'informations ---------- */
@media (min-width: 768px) {
  #product .product-container .product-information > .product-actions,
  #product .product-container .product-information > .dp-pinfo { width: 100%; max-width: 520px; }
  #main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart { height: 50px; font-size: 15px; }
  #main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart.js-buy-now { height: 46px; font-size: 14.5px; }
  #product .product-quantity .bootstrap-touchspin { height: 50px; }
}

/* =====================================================================
   Tunnel de commande : panier, commande, confirmation (lot 4)
   Même langage que le reste du site : cartes blanches arrondies, boutons ronds turquoise,
   champs arrondis, barre d'étapes, choix de livraison / paiement en cartes sélectionnables.
   ===================================================================== */
body#cart, body#checkout, body#order-confirmation {
  --dp-co-radius: 16px;
  --dp-co-border: #dfe7ea;
  --dp-co-shadow: 0 10px 30px rgba(17, 60, 72, .07);
  --dp-co-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f97b1' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- bandeau titre + barre d'étapes (panier et commande) ---------- */
.dp-co-head { display: flex; flex-direction: column; align-items: center; width: 100%; }
.dp-co-head .page-header { margin: 0; }
.dp-co-head__title { margin: 0; font-size: 30px; font-weight: 700; line-height: 1.2; color: var(--dp-ink); text-align: center; }
.dp-steps { width: 100%; max-width: 720px; margin: 22px auto 0; }
.dp-steps__list { display: flex; margin: 0; padding: 0; list-style: none; }
.dp-steps__item { position: relative; flex: 1 1 0; text-align: center; }
.dp-steps__item + .dp-steps__item::before {
  content: ""; position: absolute; top: 17px; right: calc(50% + 24px); left: calc(-50% + 24px);
  height: 2px; border-radius: 2px; background: #d6e6ea;
}
.dp-steps__item.is-done + .dp-steps__item::before { background: var(--dp-brand); }
.dp-steps__link { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: var(--dp-muted); font-size: 13px; font-weight: 600; text-decoration: none; }
a.dp-steps__link:hover, .dp-steps__item.is-clickable .dp-steps__link:hover { color: var(--dp-brand-dark); }
.dp-steps__item.is-clickable .dp-steps__link { cursor: pointer; }
.dp-steps__dot {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 2px solid #d6e6ea; border-radius: 50%; background: #fff; color: #93a3a8; font-size: 14px; font-weight: 700;
  transition: background .25s, border-color .25s, color .25s, box-shadow .25s;
}
.dp-steps__check { display: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.8; stroke-linecap: round; stroke-linejoin: round; }
.dp-steps__item.is-done .dp-steps__dot { border-color: var(--dp-brand); background: var(--dp-brand); color: #fff; }
.dp-steps__item.is-done .dp-steps__num { display: none; }
.dp-steps__item.is-done .dp-steps__check { display: block; }
.dp-steps__item.is-done .dp-steps__label { color: var(--dp-brand-dark); }
.dp-steps__item.is-current .dp-steps__dot { border-color: var(--dp-brand); color: var(--dp-brand-dark); box-shadow: 0 0 0 5px rgba(47, 181, 210, .16); }
.dp-steps__item.is-current .dp-steps__label { color: var(--dp-ink); font-weight: 700; }
@media (max-width: 575px) {
  .dp-co-head__title { font-size: 22px; }
  .dp-steps { margin-top: 16px; }
  .dp-steps__dot { width: 30px; height: 30px; font-size: 12.5px; }
  .dp-steps__check { width: 15px; height: 15px; }
  .dp-steps__item + .dp-steps__item::before { top: 14px; right: calc(50% + 20px); left: calc(-50% + 20px); }
  .dp-steps__link { gap: 6px; font-size: 11px; }
}

/* ---------- page commande : en-tête épuré ---------- */
body#checkout #header { margin-top: 0 !important; background: #fff; border-bottom: 1px solid var(--dp-line); }
body#checkout #header .dp-co-header { border-top: 3px solid var(--dp-brand); }
body#checkout #header .dp-co-header__inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; min-height: 84px; }
body#checkout #header .dp-co-header svg { flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body#checkout #header .dp-co-header__back {
  justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px 8px 10px;
  border-radius: 30px; color: var(--dp-ink); font-size: 14px; font-weight: 600; transition: background .2s, color .2s;
}
body#checkout #header .dp-co-header__back:hover { background: var(--dp-soft); color: var(--dp-brand-dark); }
body#checkout #header .dp-co-header__logo a { display: block; }
body#checkout #header .dp-co-header__logo img.logo { display: block; width: auto; max-width: 240px; max-height: 46px; }
body#checkout #header .dp-co-header__trust { justify-self: end; display: flex; align-items: center; gap: 20px; font-size: 14px; font-weight: 600; }
body#checkout #header .dp-co-header__secure { display: inline-flex; align-items: center; gap: 6px; color: var(--dp-brand-dark); }
body#checkout #header .dp-co-header__phone { display: inline-flex; align-items: center; gap: 6px; color: var(--dp-ink); }
body#checkout #header .dp-co-header__phone:hover { color: var(--dp-brand-dark); }
@media (max-width: 767px) {
  body#checkout #header .dp-co-header__inner { grid-template-columns: 44px 1fr 44px; gap: 8px; min-height: 64px; }
  body#checkout #header .dp-co-header__back { width: 40px; height: 40px; justify-content: center; padding: 0; background: var(--dp-soft); }
  body#checkout #header .dp-co-header__back span, body#checkout #header .dp-co-header__secure { display: none; }
  body#checkout #header .dp-co-header__logo { justify-self: center; }
  body#checkout #header .dp-co-header__logo img.logo { max-height: 34px; max-width: 190px; }
  body#checkout #header .dp-co-header__phone { width: 40px; height: 40px; justify-content: center; border-radius: 50%; background: var(--dp-soft); color: var(--dp-brand-dark); font-size: 0; }
}

/* ---------- mise en page : récapitulatif collant à droite ---------- */
body#checkout section#content.dp-checkout { margin-top: 10px; }
@media (min-width: 992px) {
  body#checkout .dp-co-aside { position: sticky; top: 20px; }
  body#cart .dp-co-aside { position: sticky; top: 20px; }
}

/* ---------- étapes de la commande en cartes ---------- */
body#checkout section.checkout-step {
  margin: 0 0 14px; padding: 0; overflow: hidden; background: #fff;
  border: 1px solid var(--dp-line); border-radius: var(--dp-co-radius) !important; transition: box-shadow .25s, border-color .25s;
}
body#checkout section.checkout-step.-current { border-color: #cbe8ef; box-shadow: var(--dp-co-shadow); }
body#checkout section.checkout-step .step-title {
  display: flex; align-items: center; gap: 14px; margin: 0; padding: 20px 26px;
  font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--dp-ink);
}
body#checkout section.checkout-step.-unreachable .step-title { color: #9aa7ab; }
body#checkout section.checkout-step .step-title .done { display: none !important; }
body#checkout section.checkout-step .step-number {
  flex: none; display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; margin: 0 !important;
  border: 2px solid #d6e6ea; border-radius: 50%; background: #fff; color: #9aa7ab; font-size: 15px; font-weight: 700;
}
body#checkout section.checkout-step.-current .step-number { border-color: var(--dp-brand); background: var(--dp-brand); color: #fff; }
body#checkout section.checkout-step.-complete:not(.-current) .step-number { display: inline-flex !important; border-color: var(--dp-brand); background: var(--dp-soft) var(--dp-co-check) center / 17px no-repeat; color: transparent; }
body#checkout section.checkout-step.-complete:not(.-current) .step-title { cursor: pointer; }
body#checkout section.checkout-step .step-edit { display: none !important; }
body#checkout section.checkout-step.-reachable.-complete:not(.-current) .step-edit {
  display: inline-flex !important; align-items: center; gap: 4px; float: none; margin: 0 0 0 auto !important; padding: 6px 14px;
  border: 1px solid var(--dp-co-border); border-radius: 30px; color: var(--dp-brand-dark) !important; font-size: 13px; font-weight: 600;
}
body#checkout section.checkout-step .step-edit .material-icons { font-size: 15px; }
body#checkout section.checkout-step .content { padding: 2px 26px 26px; }

/* onglets « Commander en tant qu'invité | Connexion » en sélecteur */
body#checkout #checkout-personal-information-step .nav-inline {
  display: inline-flex; flex-wrap: wrap; gap: 4px; margin: 0 0 20px !important; padding: 4px;
  background: var(--dp-soft); border: 1px solid #d9eef3; border-radius: 30px;
}
body#checkout #checkout-personal-information-step .nav-inline .nav-item { margin: 0; }
body#checkout #checkout-personal-information-step .nav-inline .nav-separator { display: none; }
body#checkout #checkout-personal-information-step .nav-inline .nav-link {
  display: block; margin: 0; padding: 9px 20px; border-radius: 30px; color: var(--dp-muted); font-size: 14px; font-weight: 600; transition: background .2s, color .2s;
}
body#checkout #checkout-personal-information-step .nav-inline .nav-link.active { background: #fff; color: var(--dp-brand-dark); box-shadow: 0 2px 8px rgba(17, 60, 72, .10); }
body#checkout #checkout-personal-information-step .identity { font-size: 15px; }
body#checkout #checkout-personal-information-step .forgot-password { margin: 4px 0 14px !important; }
body#checkout #checkout-personal-information-step .forgot-password a { color: var(--dp-brand-dark); font-size: 13.5px; font-weight: 600; }

/* ---------- formulaires : libellé au-dessus, champs arrondis ---------- */
body#checkout section.checkout-step #customer-form, body#checkout section.checkout-step #login-form,
body#checkout section.checkout-step #delivery-address, body#checkout section.checkout-step #invoice-address { margin: 0; }
body#checkout section.checkout-step .form-group.row { position: relative; display: flex; flex-wrap: wrap; max-width: 640px; margin: 0 0 16px; }
body#checkout section.checkout-step .form-group.row > .form-control-label {
  flex: 0 0 100%; max-width: 100%; margin: 0 0 6px; padding: 0; text-align: left; font-size: 13.5px; font-weight: 600; color: var(--dp-ink);
}
body#checkout section.checkout-step .form-group.row > .js-input-column { flex: 1 1 100%; max-width: 100%; padding: 0; }
body#checkout section.checkout-step .form-group.row > .form-control-comment {
  position: absolute; top: 0; right: 0; width: auto; max-width: none; padding: 0; font-size: 12px; font-weight: 500; color: #9aa7ab;
}
body#checkout section.checkout-step .form-group.row:has(.custom-checkbox) > .form-control-label { display: none; }
body#checkout section.checkout-step .js-input-column .form-control-comment { display: block; margin-top: 6px; font-size: 12.5px; line-height: 1.45; color: var(--dp-muted); }
body#checkout .form-control, body#checkout select.form-control, body#checkout textarea, body#cart .block-promo .promo-input {
  height: 48px; padding: 10px 16px; border: 1px solid var(--dp-co-border); border-radius: 12px; background-color: #fff;
  box-shadow: none; color: var(--dp-ink); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
body#checkout select.form-control { padding-right: 38px; }
body#checkout textarea, body#checkout textarea.form-control { height: auto; min-height: 96px; width: 100%; padding: 12px 16px; }
body#checkout .form-control:focus, body#checkout textarea:focus, body#cart .block-promo .promo-input:focus {
  border-color: var(--dp-brand); box-shadow: 0 0 0 4px rgba(47, 181, 210, .15); outline: 0;
}
body#checkout .form-control::placeholder { color: #a3b0b4; }
body#checkout .has-error .form-control, body#checkout .form-control.is-invalid { border-color: #e2725b; }
body#checkout .help-block, body#checkout .form-group .alert-danger { margin: 6px 0 0; font-size: 13px; }
/* mot de passe : bouton « Montrer » intégré au champ */
body#checkout section.checkout-step .input-group.js-parent-focus { display: flex; }
body#checkout section.checkout-step .input-group.js-parent-focus .form-control { border-radius: 12px 0 0 12px; }
body#checkout section.checkout-step .input-group .input-group-btn .btn {
  height: 48px; padding: 0 18px; border: 1px solid var(--dp-co-border); border-left: 0; border-radius: 0 12px 12px 0;
  background: var(--dp-soft); color: var(--dp-brand-dark); font-size: 13px; font-weight: 700; text-transform: none; box-shadow: none;
}
body#checkout section.checkout-step .input-group .input-group-btn .btn:hover { background: #e3f5f9; }
/* bloc « Créez votre compte (optionnel) » */
body#checkout section.checkout-step .form-informations {
  max-width: 640px; margin: 22px 0 16px; padding: 14px 18px; border-radius: 12px; background: var(--dp-soft); font-size: 14px; line-height: 1.5;
}
body#checkout section.checkout-step .form-informations-title { color: var(--dp-brand-dark); }
/* boutons radio et cases à cocher turquoise */
body#checkout .custom-radio, body#cart .custom-radio {
  width: 20px; height: 20px; margin-right: 8px; border: 2px solid #c5d6db; border-radius: 50%; background: #fff; transition: border-color .2s;
}
body#checkout .custom-radio:has(input:checked) { border-color: var(--dp-brand); }
body#checkout .custom-radio input[type=radio] { position: absolute; top: -2px; left: -2px; width: 20px !important; height: 20px !important; margin: 0; }
body#checkout .custom-radio input[type=radio]:checked + span { top: 3px; left: 3px; width: 10px; height: 10px; background-color: var(--dp-brand); }
body#checkout section.checkout-step .radio-inline { display: inline-flex; align-items: center; margin: 4px 24px 0 0; font-size: 15px; font-weight: 500; cursor: pointer; }
body#checkout .custom-checkbox > label {
  display: block; position: relative; margin: 0; padding-left: 32px; font-size: 14px; line-height: 1.5; color: #3f3f3f; text-align: left; cursor: pointer;
}
body#checkout .custom-checkbox > label > input[type=checkbox], body#checkout .custom-checkbox > label > input[type=checkbox] + span { position: absolute; top: 1px; left: 0; margin: 0; }
body#checkout .custom-checkbox input[type=checkbox] { top: 0; left: 0; width: 20px; height: 20px; margin: 1px 0 0; }
body#checkout .custom-checkbox input[type=checkbox] + span {
  position: relative; flex: none; display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; margin: 1px 0 0;
  border: 2px solid #c5d6db; border-radius: 6px; background: #fff; transition: background .2s, border-color .2s;
}
body#checkout .custom-checkbox input[type=checkbox]:checked + span { border-color: var(--dp-brand); background: var(--dp-brand); }
body#checkout .custom-checkbox input[type=checkbox]:focus-visible + span { box-shadow: 0 0 0 4px rgba(47, 181, 210, .2); }
body#checkout .custom-checkbox input[type=checkbox] + span .checkbox-checked { margin: 0; font-size: 16px; line-height: 1; color: #fff; }
body#checkout .custom-checkbox label em { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.5; color: var(--dp-muted); }

/* ---------- boutons ---------- */
body#checkout section.checkout-step .btn-primary, body#checkout #js-checkout-summary .btn-primary,
body#cart .cart-grid .cart-summary .btn-primary, body#cart .cart-grid .block-promo .btn-primary {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 34px;
  border: 0; border-radius: 30px !important; background: var(--dp-brand); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .2px;
  text-transform: none; box-shadow: 0 8px 18px rgba(47, 181, 210, .25); transition: background .2s, transform .2s, box-shadow .2s;
}
body#checkout section.checkout-step .btn-primary:hover, body#checkout #js-checkout-summary .btn-primary:hover,
body#cart .cart-grid .cart-summary .btn-primary:hover, body#cart .cart-grid .block-promo .btn-primary:hover {
  background: var(--dp-brand-dark); transform: translateY(-1px); box-shadow: 0 10px 22px rgba(31, 151, 177, .3);
}
body#checkout section.checkout-step .btn-primary.disabled, body#checkout section.checkout-step .btn-primary:disabled,
body#cart .cart-grid .cart-summary .btn-primary.disabled { opacity: .45; transform: none; box-shadow: none; }
body#checkout section.checkout-step .form-footer, body#checkout section.checkout-step .js-address-form footer {
  max-width: 640px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--dp-line);
}
body#checkout section.checkout-step .btn-primary.continue { float: right; }
body#checkout section.checkout-step .btn-primary.continue::after {
  content: ""; width: 16px; height: 16px; margin-left: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- adresses ---------- */
body#checkout section.checkout-step .address-selector { display: flex; flex-wrap: wrap; gap: 14px; margin: 0 0 6px; }
body#checkout section.checkout-step .address-item {
  flex: 1 1 260px; max-width: 100%; margin: 0; padding: 0; border: 1px solid var(--dp-co-border) !important; border-radius: 14px;
  background: #fff; transition: border-color .2s, box-shadow .2s, background .2s;
}
body#checkout section.checkout-step .address-item.selected { border-color: var(--dp-brand) !important; background: var(--dp-soft) !important; box-shadow: 0 0 0 3px rgba(47, 181, 210, .12); }
body#checkout section.checkout-step .address-item > header { min-height: 0; }
body#checkout section.checkout-step .address-item .radio-block { padding: 16px 18px; }
body#checkout section.checkout-step .address-alias { margin: 0 0 6px; font-size: 15px; font-weight: 700; color: var(--dp-ink); }
body#checkout section.checkout-step .address { margin-left: 30px; font-size: 14px; line-height: 1.55; color: #4a4a4a; }
body#checkout section.checkout-step .address-item hr { margin: 0; border-color: var(--dp-line); }
body#checkout section.checkout-step .address-footer { padding: 10px 18px; text-align: left; }
body#checkout section.checkout-step .address-footer a { font-size: 13px; font-weight: 600; color: var(--dp-brand-dark); }
body#checkout section.checkout-step .add-address { margin: 12px 0 0; }
body#checkout section.checkout-step .add-address a, body#checkout section.checkout-step a[data-link-action="different-invoice-address"] {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 18px; border: 1px dashed #a9dbe6; border-radius: 30px;
  color: var(--dp-brand-dark); font-size: 14px; font-weight: 600;
}
body#checkout section.checkout-step .add-address a:hover, body#checkout section.checkout-step a[data-link-action="different-invoice-address"]:hover { border-style: solid; background: var(--dp-soft); }
body#checkout section.checkout-step .add-address .material-icons { font-size: 18px; }

/* ---------- livraison : transporteurs en cartes ---------- */
body#checkout section.checkout-step .delivery-options > .row { border: 0; }
body#checkout section.checkout-step .delivery-options .delivery-option {
  position: relative; display: flex; flex-wrap: nowrap; align-items: center; min-height: 0; margin: 0 0 10px !important; padding: 16px 18px !important;
  background: #fff !important; border: 1px solid var(--dp-co-border); border-radius: 14px; cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
body#checkout section.checkout-step .delivery-options .delivery-option:hover { border-color: #a9dbe6; }
body#checkout section.checkout-step .delivery-options .delivery-option:has(input:checked) {
  border-color: var(--dp-brand); background: var(--dp-soft) !important; box-shadow: 0 0 0 3px rgba(47, 181, 210, .12);
}
body#checkout section.checkout-step .delivery-option > .col-sm-1 { flex: none; width: auto; max-width: none; padding: 0 14px 0 0; }
body#checkout section.checkout-step .delivery-option > .col-sm-1 .custom-radio { float: none !important; margin: 0; }
body#checkout section.checkout-step .delivery-option > label { flex: 1 1 0; min-width: 0; width: auto; max-width: none; margin: 0; padding: 0; cursor: pointer; }
body#checkout section.checkout-step .delivery-option > label > .row { display: flex; flex-wrap: wrap; align-items: center; margin: 0; }
body#checkout section.checkout-step .delivery-option > label > .row > div { padding: 0; }
body#checkout section.checkout-step .delivery-option > label > .row > .col-sm-5 { flex: 0 0 34%; max-width: 34%; padding-right: 14px; }
body#checkout section.checkout-step .delivery-option > label > .row > .col-sm-4 { flex: 1 1 0; max-width: none; padding-right: 14px; }
body#checkout section.checkout-step .delivery-option > label > .row > .col-sm-3 { flex: none; width: auto; max-width: none; margin-left: auto; text-align: right; }
body#checkout section.checkout-step .delivery-option .carrier { display: flex; align-items: center; gap: 10px; margin: 0; }
body#checkout section.checkout-step .delivery-option .carrier > div { width: auto; max-width: none; padding: 0 !important; }
body#checkout section.checkout-step .delivery-option .carrier-logo img { display: block; width: 46px; height: auto; border-radius: 8px; }
body#checkout section.checkout-step .delivery-option .carrier-name { margin: 0; font-size: 15px; font-weight: 700; line-height: 1.35; color: var(--dp-ink); }
body#checkout section.checkout-step .delivery-option .carrier-delay { font-size: 13px; line-height: 1.45; color: var(--dp-muted); }
body#checkout section.checkout-step .delivery-option .carrier-price { font-size: 15px; font-weight: 700; color: var(--dp-brand-dark); white-space: nowrap; }
body#checkout section.checkout-step .carrier-extra-content { margin: -4px 0 12px; padding: 0 4px; }
body#checkout section.checkout-step .order-options { margin-top: 18px; }
body#checkout section.checkout-step #delivery { max-width: 100%; }
body#checkout section.checkout-step #delivery label { margin: 0 0 8px; font-size: 13.5px; font-weight: 600; color: var(--dp-ink); text-align: left; }
@media (max-width: 767px) {
  body#checkout section.checkout-step .delivery-option > label > .row > .col-sm-5 { flex: 1 1 0; min-width: 0; max-width: none; padding-right: 10px; }
  body#checkout #checkout-personal-information-step .nav-inline { display: grid; grid-template-columns: 1fr 1fr; width: 100%; border-radius: 16px; }
  body#checkout #checkout-personal-information-step .nav-inline .nav-item:has(.nav-separator) { display: none; }
  body#checkout #checkout-personal-information-step .nav-inline .nav-link { display: flex; align-items: center; justify-content: center; height: 100%; padding: 9px 10px; border-radius: 12px; font-size: 13px; line-height: 1.3; text-align: center; }
  body#checkout section.checkout-step .delivery-option > label > .row > .col-sm-4 { order: 3; flex: 0 0 100%; margin-top: 4px; padding-right: 0; }
}

/* ---------- paiement : moyens de paiement en cartes ---------- */
body#checkout section.checkout-step .payment-options { margin: 0 0 6px; }
body#checkout section.checkout-step .payment-options .payment-option {
  display: flex; align-items: center; margin: 0 0 10px; padding: 16px 18px; border: 1px solid var(--dp-co-border); border-radius: 14px;
  background: #fff; cursor: pointer; transition: border-color .2s, box-shadow .2s, background .2s;
}
body#checkout section.checkout-step .payment-options .payment-option:hover { border-color: #a9dbe6; }
body#checkout section.checkout-step .payment-options .payment-option:has(input:checked) {
  border-color: var(--dp-brand); background: var(--dp-soft); box-shadow: 0 0 0 3px rgba(47, 181, 210, .12);
}
body#checkout section.checkout-step .payment-options .payment-option .custom-radio { float: none !important; flex: none; margin: 0 14px 0 0; }
body#checkout section.checkout-step .payment-options .payment-option label {
  display: flex !important; flex: 1 1 auto; align-items: center; justify-content: space-between; gap: 12px; margin: 0;
  font-size: 15px; font-weight: 600; color: var(--dp-ink); text-align: left; cursor: pointer;
}
body#checkout section.checkout-step .payment-options .payment-option label img { width: auto; max-width: 120px; max-height: 28px; }
body#checkout .additional-information, body#checkout section.checkout-step .js-payment-option-form:not(.ps-hidden) > .ps_checkout-payment-option {
  margin: -4px 0 12px; padding: 14px 18px; border-radius: 12px; background: #f8fbfc; font-size: 13.5px; line-height: 1.6;
}
body#checkout .additional-information { margin-left: 0; }
body#checkout section.checkout-step #conditions-to-approve { padding-top: 6px; }
body#checkout section.checkout-step #conditions-to-approve ul { margin: 0; padding: 0; list-style: none; }
body#checkout section.checkout-step #conditions-to-approve li {
  display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px dashed #cfe0e5; border-radius: 12px; background: #fbfdfd;
}
body#checkout section.checkout-step #conditions-to-approve .float-xs-left { float: none !important; }
body#checkout section.checkout-step #conditions-to-approve .custom-checkbox input[type=checkbox] + span { margin-top: 1px; }
body#checkout .condition-label { margin: 0; padding: 0; }
body#checkout .condition-label label { margin: 0; font-size: 14px; line-height: 1.5; text-align: left; }
body#checkout .condition-label a, body#checkout .dp-co-footer__terms a { color: var(--dp-brand-dark); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body#checkout #payment-confirmation { margin-top: 18px; }
body#checkout #payment-confirmation .btn-primary { width: 100%; min-height: 54px; font-size: 16px; }
body#checkout #payment-confirmation .btn-primary::before {
  content: ""; width: 18px; height: 18px; margin-right: 10px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2.5'/%3E%3Cpath d='M8.5 10.5V8a3.5 3.5 0 0 1 7 0v2.5'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ---------- récapitulatif de commande (colonne de droite) ---------- */
body#checkout .cart-grid-right #js-checkout-summary.card, body#cart .cart-grid-right .card.cart-summary {
  margin: 0 0 16px; padding: 22px 24px !important; background: #fff !important; border: 1px solid var(--dp-line);
  border-radius: var(--dp-co-radius); box-shadow: var(--dp-co-shadow);
}
body#checkout #js-checkout-summary .card-block { margin: 0; padding: 0 !important; }
body#checkout #js-checkout-summary .cart-summary-products p:first-child { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--dp-ink); }
body#checkout #js-checkout-summary .js-show-details { display: inline-block; color: var(--dp-brand-dark); font-size: 13.5px; font-weight: 600; text-transform: none; }
body#checkout #js-checkout-summary .js-show-details::first-letter { text-transform: uppercase; }
body#checkout #js-checkout-summary .js-show-details .material-icons { font-size: 20px; vertical-align: -5px; }
body#checkout #cart-summary-product-list .media-list { margin: 10px 0 4px; padding: 0; }
body#checkout #cart-summary-product-list .media { display: flex; gap: 12px; margin: 0 0 12px; }
body#checkout #cart-summary-product-list .media-left { min-width: 0; padding: 0; }
body#checkout #cart-summary-product-list img { width: 58px; height: 58px; object-fit: contain; border: 1px solid var(--dp-line); border-radius: 10px; background: #fff; }
body#checkout #cart-summary-product-list .media-body { flex: 1; font-size: 13px; line-height: 1.45; }
body#checkout #cart-summary-product-list .product-name a { color: var(--dp-ink); font-weight: 600; }
body#checkout #cart-summary-product-list .product-quantity { color: var(--dp-muted); }
body#checkout #cart-summary-product-list .product-price { font-weight: 700; color: var(--dp-ink); }
body#checkout .cart-grid-right .card .card-block .cart-summary-subtotals-container { margin-top: 10px; padding: 14px 0; border-color: var(--dp-line); }
body#checkout .cart-summary-line .label, body#cart .cart-summary-line .label { color: var(--dp-muted); }
body#checkout .cart-summary-totals, body#cart .cart-summary-totals { margin: 0; padding: 0 !important; background: none; }
body#checkout .cart-summary-totals .cart-total, body#cart .cart-summary .cart-total {
  display: flex; align-items: baseline; justify-content: space-between; margin: 0; padding: 16px 0 4px !important; background: none;
}
body#checkout .cart-summary-totals .cart-total .label, body#cart .cart-summary .cart-total .label { font-size: 16px; font-weight: 700; color: var(--dp-ink); }
body#checkout .cart-summary-totals .cart-total::after, body#cart .cart-summary .cart-total::after { content: none; }
body#checkout .cart-summary-totals .cart-total .value, body#cart .cart-summary .cart-total .value { float: none; margin-left: auto; font-size: 22px; font-weight: 800; color: var(--dp-brand-dark); }
body#checkout .cart-summary-totals .cart-summary-line:not(.cart-total), body#cart .cart-summary-totals .cart-summary-line:not(.cart-total) { font-size: 13px; }
/* code promo */
body#checkout .block-promo, body#cart .cart-grid-right .block-promo { margin: 14px 0 0; padding: 14px 0 0; border-top: 1px dashed var(--dp-co-border); }
body#checkout .block-promo .promo-code-button, body#cart .block-promo .promo-code-button { padding: 0; text-align: left; }
body#checkout .block-promo .promo-code-button a, body#cart .block-promo .promo-code-button a,
body#checkout .block-promo .cancel-promo, body#cart .block-promo .cancel-promo { color: var(--dp-brand-dark); font-size: 14px; font-weight: 600; }
body#checkout .block-promo .promo-code, body#cart .block-promo .promo-code { padding: 12px 0 0; background: none; }
body#checkout .block-promo .promo-code form, body#cart .block-promo .promo-code form { display: flex; gap: 8px; }
body#checkout .block-promo .promo-input, body#cart .block-promo .promo-input {
  flex: 1 1 auto; min-width: 0; height: 44px; padding: 0 16px; border: 1px solid var(--dp-co-border); border-radius: 30px; text-indent: 0; font-size: 14px;
}
body#checkout .block-promo .promo-code .btn-primary, body#cart .cart-grid .block-promo .promo-code .btn-primary { min-height: 44px; padding: 0 20px; font-size: 14px; box-shadow: none; }
body#checkout .block-promo .promo-highlighted, body#cart .block-promo .promo-highlighted { margin: 12px 0 0; padding: 0; text-align: left; font-size: 13px; }
/* paiement sécurisé + réassurance sous le récapitulatif */
.dp-co-secure {
  display: flex; align-items: flex-start; gap: 12px; margin: 0 0 16px; padding: 14px 18px;
  background: var(--dp-soft); border: 1px solid #d9eef3; border-radius: 14px; font-size: 13px; line-height: 1.5; color: var(--dp-muted);
}
.dp-co-secure strong { display: block; color: var(--dp-ink); font-size: 14px; }
.dp-co-secure svg { flex: none; width: 26px; height: 26px; margin-top: 2px; fill: none; stroke: var(--dp-brand-dark); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body#checkout .dp-co-aside .blockreassurance_product, body#cart .dp-co-aside .blockreassurance_product {
  display: grid; gap: 14px; margin: 0 0 16px; padding: 18px 20px !important; background: #fff !important;
  border: 1px solid var(--dp-line); border-radius: var(--dp-co-radius);
}
body#checkout .dp-co-aside .blockreassurance_product > div, body#cart .dp-co-aside .blockreassurance_product > div { display: flex; align-items: center; gap: 12px; margin: 0; }
body#checkout .dp-co-aside .blockreassurance_product > div.clearfix, body#cart .dp-co-aside .blockreassurance_product > div.clearfix { display: none; }
body#checkout .dp-co-aside .blockreassurance_product .item-product, body#cart .dp-co-aside .blockreassurance_product .item-product { flex: none; margin: 0; }
body#checkout .dp-co-aside .blockreassurance_product .item-product img, body#cart .dp-co-aside .blockreassurance_product .item-product img { width: 40px; height: 40px; object-fit: contain; }
body#checkout .dp-co-aside .blockreassurance_product .content, body#cart .dp-co-aside .blockreassurance_product .content { display: block !important; margin: 0; padding: 0; }
body#checkout .dp-co-aside .blockreassurance_product .block-title, body#cart .dp-co-aside .blockreassurance_product .block-title { display: block; font-size: 13.5px; font-weight: 700; color: var(--dp-ink) !important; }
body#checkout .dp-co-aside .blockreassurance_product p, body#cart .dp-co-aside .blockreassurance_product p { margin: 1px 0 0; font-size: 12.5px; line-height: 1.4; color: var(--dp-muted) !important; }

/* ---------- page commande : pied de page DermoPro ---------- */
body#checkout #footer { padding: 0; background: #fff; border-top: 1px solid var(--dp-line); }
.dp-co-footer { padding: 26px 16px 30px; text-align: center; color: var(--dp-muted); font-size: 13px; }
.dp-co-footer__terms { max-width: 760px; margin: 0 auto 14px; line-height: 1.6; }
.dp-co-footer__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0 0 10px; padding: 0; list-style: none; }
.dp-co-footer__links a { color: var(--dp-ink); font-weight: 600; }
.dp-co-footer__links a:hover { color: var(--dp-brand-dark); }
.dp-co-footer__copy { margin: 0; font-size: 12.5px; color: #8a979b; }

/* ---------- page panier ---------- */
body#cart .cart-grid-body .card.cart-container {
  overflow: hidden; background: #fff; border: 1px solid var(--dp-line); border-radius: var(--dp-co-radius); box-shadow: var(--dp-co-shadow);
}
body#cart .cart-grid-body .card.cart-container > .card-block { margin: 0; padding: 20px 24px 16px; }
body#cart .dp-cart__title { margin: 0; font-size: 18px; font-weight: 700; line-height: 1.3; color: var(--dp-ink); }
body#cart .dp-cart__count { font-weight: 500; color: var(--dp-muted); }
body#cart .cart-container hr.separator { margin: 0; border-color: var(--dp-line); }
body#cart .cart-overview .cart-items { margin: 0; padding: 0; }
body#cart .cart-overview .cart-item { margin: 0; padding: 18px 24px; border-bottom: 1px solid var(--dp-line); }
body#cart .cart-overview .cart-item:last-child { border-bottom: 0; }
body#cart .product-line-grid { display: flex; flex-wrap: wrap; align-items: center; }
body#cart .product-line-grid-left .product-image img { width: 100%; max-width: 110px; border: 1px solid var(--dp-line); border-radius: 12px; background: #fff; }
body#cart .product-line-grid-body .product-line-info a.label { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--dp-ink); }
body#cart .product-line-grid-body .product-line-info a.label:hover { color: var(--dp-brand-dark); }
body#cart .product-line-grid-body > br { display: none; }
body#cart .product-line-grid-body .product-price { margin-top: 6px; }
body#cart .product-line-grid-right .price .product-price strong { font-size: 16px; font-weight: 800; color: var(--dp-ink); }
body#cart .product-line-grid-right > .row { display: flex; align-items: center; margin: 0; }
body#cart .product-line-grid-right > .row > .hidden-md-up { display: none; }
body#cart .product-line-grid-right > .row > .col-md-10 { flex: 1 1 auto; width: auto; max-width: none; padding: 0; }
body#cart .product-line-grid-right > .row > .col-md-10 > .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; }
body#cart .product-line-grid-right .qty, body#cart .product-line-grid-right .price { flex: none; width: auto; max-width: none; padding: 0; }
body#cart .product-line-grid-right > .row > .col-md-2 { flex: none; width: auto; max-width: none; padding: 0 0 0 12px; }
body#cart .cart-line-product-actions .remove-from-cart {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0;
  border-radius: 50%; color: #93a3a8; transition: background .2s, color .2s;
}
body#cart .cart-line-product-actions .remove-from-cart:hover { background: #fdeeee; color: #d9534f; }
body#cart .product-line-grid-right .bootstrap-touchspin {
  display: inline-flex; width: auto; height: 44px; overflow: hidden; border: 1px solid var(--dp-co-border); border-radius: 30px; background: #fff; box-shadow: none;
}
body#cart .product-line-grid-right .bootstrap-touchspin input.js-cart-line-product-quantity {
  width: 48px; height: 42px; padding: 0 0 0 10px; border: 0; background: none; box-shadow: none; text-align: center; font-size: 15px; font-weight: 700; color: var(--dp-ink);
}
body#cart .product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical { display: flex; flex-direction: column; width: 34px; border-left: 1px solid var(--dp-co-border); }
body#cart .product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical > .btn {
  flex: 1 1 50%; height: auto; margin: 0; padding: 0; border: 0; border-radius: 0 !important; background: #fff; color: var(--dp-ink); box-shadow: none;
}
body#cart .product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical > .btn:hover { background: var(--dp-soft); color: var(--dp-brand-dark); }
body#cart .product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical > .btn + .btn { border-top: 1px solid var(--dp-co-border); }
body#cart .product-line-grid-right .bootstrap-touchspin .input-group-btn-vertical i { position: static; font-size: 16px; line-height: 1; }
body#cart .dp-cart__continue {
  display: inline-flex; align-items: center; gap: 2px; margin: 16px 0 0; padding: 10px 20px 10px 12px;
  border: 1px solid var(--dp-co-border); border-radius: 30px; background: #fff; color: var(--dp-ink); font-size: 14px; font-weight: 600;
  transition: border-color .2s, color .2s;
}
body#cart .dp-cart__continue:hover { border-color: var(--dp-brand); color: var(--dp-brand-dark); }
body#cart .dp-cart__continue .material-icons { font-size: 20px; }
body#cart .cart-grid-right .card.cart-summary .card-block { margin: 0; padding: 0 !important; }
body#cart .cart-grid-right .cart-detailed-subtotals { padding: 0 0 4px !important; }
body#cart .cart-grid-right .cart-summary .cart-summary-line:not(.cart-total) .label,
body#cart .cart-grid-right .cart-summary .cart-summary-line:not(.cart-total) .value { font-size: 14px; }
body#cart .cart-grid-right .cart-summary .cart-total { border-top: 1px solid var(--dp-line); margin-top: 6px; }
body#cart .cart-grid-right .cart-detailed-actions { margin: 18px 0 0 !important; padding: 0 !important; }
body#cart .cart-grid-right .block-promo { margin-bottom: 0; padding-bottom: 2px; }
body#cart .cart-grid-right .cart-detailed-actions .btn-primary { width: 100%; min-height: 52px; font-size: 16px; }
@media (max-width: 767px) {
  body#cart .cart-overview .cart-item { padding: 16px; }
  body#cart .cart-grid-body .card.cart-container > .card-block { padding: 16px; }
  body#cart .product-line-grid-right { margin-top: 12px; }
}

/* ---------- mobile : cartes et boutons pleine largeur ---------- */
@media (max-width: 767px) {
  body#checkout section.checkout-step .step-title { gap: 12px; padding: 16px 18px; font-size: 16.5px; }
  body#checkout section.checkout-step .step-number { width: 30px; height: 30px; font-size: 14px; }
  body#checkout section.checkout-step .content { padding: 0 18px 20px; }
  body#checkout section.checkout-step .btn-primary.continue { float: none; width: 100%; }
  body#checkout section.checkout-step .payment-options .payment-option, body#checkout section.checkout-step .delivery-options .delivery-option { padding: 14px !important; }
  body#checkout .cart-grid-right #js-checkout-summary.card, body#cart .cart-grid-right .card.cart-summary { padding: 18px !important; }
}

/* ---------- confirmation de commande ---------- */
body#order-confirmation #content-hook_order_confirmation, body#order-confirmation #content.page-content,
body#order-confirmation #content-hook-payment-return, body#order-confirmation #registration-form {
  margin-bottom: 18px; padding: 22px 26px; background: #fff; border: 1px solid var(--dp-line) !important; border-radius: var(--dp-co-radius); box-shadow: var(--dp-co-shadow);
}
body#order-confirmation #content-hook_order_confirmation .card-title { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 700; color: var(--dp-ink); }
body#order-confirmation #content-hook_order_confirmation .card-title .done {
  display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0; padding: 0;
  border-radius: 50%; background: var(--dp-brand); color: #fff; font-size: 22px;
}
body#order-confirmation .btn-primary { border-radius: 30px !important; padding: 12px 30px; font-weight: 700; text-transform: none; }


/* =====================================================================
   Lot 7 : vignettes à hauteur de titre fixe, fiche produit sans carte d'achat
   ===================================================================== */
/* titre des vignettes : toujours 2 lignes de haut (… si plus long), quel que soit le nombre de caractères ;
   une règle du thème passe le lien en display: flow-root, d'où le !important */
.product-miniature .product-description .product-title { height: auto; margin: 6px 0 8px; overflow: hidden; }
.product-miniature .product-description .product-title a {
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  height: 2.8em !important; min-height: 0 !important; line-height: 1.4 !important; text-overflow: ellipsis; overflow-wrap: anywhere;
}

/* fiche produit : plus de carte autour du bloc d'achat */
#product .product-information .product-actions { margin: 4px 0 0; padding: 0 !important; border: 0 !important; border-radius: 0; background: none !important; box-shadow: none !important; }
#product .product-information .product-actions .product-variants { margin: 0 0 18px; }
/* quantité, « Ajouter au panier » et favoris sur la même ligne */
#main .product-add-to-cart .product-quantity { display: flex; flex-wrap: nowrap; align-items: stretch; gap: 10px; margin: 0; }
#main .product-add-to-cart .product-quantity .qty { flex: none; }
#main .product-add-to-cart .product-quantity .add { flex: 1 1 auto; min-width: 0; }
#main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart { width: 100%; height: 52px; padding: 0 22px; white-space: nowrap; }
#product .product-quantity .bootstrap-touchspin { height: 52px; }
#product .product-add-to-cart .dp-wish { flex: none; display: flex; }
#product .product-add-to-cart .dp-wish .my-wishlist-button {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin: 0; padding: 0;
  border: 1.5px solid var(--dp-line); border-radius: 50%; background: #fff; color: var(--dp-ink); font-size: 20px;
  transition: border-color .2s, color .2s, background .2s;
}
#product .product-add-to-cart .dp-wish .my-wishlist-button:hover,
#product .product-add-to-cart .dp-wish .my-wishlist-button.active { border-color: var(--dp-brand); color: var(--dp-brand); background: var(--dp-soft); }
#product .product-add-to-cart .dp-wish .icon-ava { margin: 0; font-size: 20px; line-height: 1; }
#product .product-add-to-cart .action-button:not(:has(*)) { display: none; }
@media (max-width: 575px) {
  #main .product-add-to-cart .product-quantity { gap: 8px; }
  #main .product-add-to-cart .product-quantity .btn.btn-primary.add-to-cart { padding: 0 12px; font-size: 14px; }
  #main .product-add-to-cart .product-quantity .btn.add-to-cart .material-icons { display: none; }
  #product .product-quantity #quantity_wanted { width: 44px; }
}
/* partage : sous le bandeau des 4 engagements (colonne de gauche sur grand écran, sous le bloc d'achat sinon) */
#product .dp-share { margin: 16px 0 0; }
#product .dp-share .social-share, #product .dp-share .social-sharing { margin: 0; padding: 0; border: 0; }
#product .dp-share--side { display: none; }
#product .product-container .product-information > .dp-share--inline { order: 3; }
@media (min-width: 992px) {
  #product .dp-share--side { display: block; }
  #product .dp-share--inline { display: none; }
}

/* ---------- Page contact : bloc « Informations » retiré, formulaire seul et centré (lot 8) ---------- */
body#contact #content-wrapper { flex: 0 0 100%; width: 100%; max-width: 100%; }
body#contact #content.page-content {
  max-width: 820px; margin: 0 auto 40px; padding: 30px 34px; background: #fff;
  border: 1px solid var(--dp-line); border-radius: 16px; box-shadow: 0 10px 30px rgba(17, 60, 72, .07);
}
body#contact .contact-form .form-group.row { position: relative; display: flex; flex-wrap: wrap; margin: 0 0 16px; }
body#contact .contact-form .form-group.row > .form-control-label {
  flex: 0 0 100%; max-width: 100%; margin: 0 0 6px; padding: 0; text-align: left; font-size: 13.5px; font-weight: 600; color: var(--dp-ink);
}
body#contact .contact-form .form-group.row > div[class*="col-md-"] { flex: 1 1 100%; max-width: 100%; padding: 0; }
body#contact .contact-form .form-group.row > .form-control-comment { position: absolute; top: 0; right: 0; width: auto; max-width: none; padding: 0; font-size: 12px; color: #9aa7ab; }
body#contact .contact-form .form-group.row > .offset-md-3:empty { display: none; }
body#contact .contact-form .form-control {
  height: 48px; padding: 10px 16px; border: 1px solid #dfe7ea; border-radius: 12px; background-color: #fff;
  box-shadow: none; color: var(--dp-ink); font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
body#contact .contact-form select.form-control { padding-right: 38px; }
body#contact .contact-form textarea.form-control { height: auto; min-height: 170px; padding: 12px 16px; }
body#contact .contact-form .form-control:focus { border-color: var(--dp-brand); box-shadow: 0 0 0 4px rgba(47, 181, 210, .15); outline: 0; }
body#contact .contact-form .bootstrap-filestyle { display: flex; width: 100%; }
body#contact .contact-form .bootstrap-filestyle .form-control { flex: 1 1 auto; border-radius: 12px 0 0 12px; }
body#contact .contact-form .bootstrap-filestyle .btn, body#contact .contact-form .group-span-filestyle .btn {
  display: inline-flex; align-items: center; height: 48px; padding: 0 18px; border: 1px solid #dfe7ea; border-left: 0; border-radius: 0 12px 12px 0;
  background: var(--dp-soft); color: var(--dp-brand-dark); font-size: 13px; font-weight: 700; text-transform: none; box-shadow: none;
}
body#contact .contact-form footer, body#contact .contact-form .form-footer { margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--dp-line); text-align: right; }
body#contact .contact-form .btn-primary, body#contact .contact-form input[type="submit"] {
  height: 48px; min-height: 48px; padding: 0 34px; border: 0; border-radius: 30px !important; background: var(--dp-brand); color: #fff;
  font-size: 15px; font-weight: 700; line-height: 48px; text-transform: none; box-shadow: 0 8px 18px rgba(47, 181, 210, .25); transition: background .2s;
}
body#contact .contact-form .btn-primary:hover, body#contact .contact-form input[type="submit"]:hover { background: var(--dp-brand-dark); }
@media (max-width: 767px) {
  body#contact #content.page-content { padding: 20px 16px; }
  body#contact .contact-form .btn-primary, body#contact .contact-form input[type="submit"] { width: 100%; }
}

/* ---------- Lot 9 : vignettes, bouton centré ---------- */
.products.product-loop .product-miniature .thumbnail-container .product-description .product-add-to-cart,
.products.product-loop .product-miniature .thumbnail-container .product-description .product-add-to-cart form { text-align: center; }

/* ---------- Lot 9 : bas de la fiche produit, « Indication » + accordéon côte à côte, largeur limitée ---------- */
#product .dp-pdesc { float: none; clear: both; margin: 44px 0 56px; padding: 0; }
#product .dp-pdesc__inner {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; align-items: start;
  max-width: 1180px; margin: 0 auto;
}
#product .dp-pdesc--no-desc .dp-pdesc__inner { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
#product .dp-pdesc--no-infos .dp-pdesc__inner { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
#product .dp-pdesc__main {
  min-width: 0; padding: 26px 30px 30px; background: #fff; border: 1px solid var(--dp-line); border-radius: 16px;
  box-shadow: 0 12px 32px rgba(17, 60, 72, .06);
}
#product .dp-pdesc__title {
  margin: 0 0 16px; padding: 0 0 14px; border-bottom: 1px solid var(--dp-line);
  font-size: 22px; font-weight: 700; line-height: 1.3; color: var(--dp-ink);
}
#product .dp-pdesc__text .product-description > *:first-child { margin-top: 0 !important; }
#product .dp-pdesc__side { min-width: 0; }
#product .dp-pdesc__side .dp-pinfo { width: 100%; max-width: none; margin: 0; }
@media (min-width: 992px) {
  #product .dp-pdesc__side { position: sticky; top: 20px; }
}
@media (max-width: 991px) {
  #product .dp-pdesc__inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
}
@media (max-width: 575px) {
  #product .dp-pdesc { margin: 30px 0 40px; }
  #product .dp-pdesc__main { padding: 18px 16px 20px; }
  #product .dp-pdesc__title { font-size: 19px; }
}

/* ---------- Fiche produit et aperçu rapide : flèches de quantité plus petites, à l'intérieur de l'arrondi ---------- */
#product .product-quantity .bootstrap-touchspin,
.modal.quickview .product-quantity .bootstrap-touchspin { display: inline-flex; align-items: center; width: auto; padding: 0 12px 0 6px; }
#product .product-quantity .bootstrap-touchspin #quantity_wanted,
.modal.quickview .product-quantity .bootstrap-touchspin #quantity_wanted { flex: none; width: 40px; padding: 0 2px; text-align: center; }
#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical,
.modal.quickview .product-quantity .bootstrap-touchspin .input-group-btn-vertical {
  display: flex; flex: none; flex-direction: column; justify-content: center; gap: 2px; width: 22px; height: auto; margin: 0;
}
#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical .btn,
.modal.quickview .product-quantity .bootstrap-touchspin .input-group-btn-vertical .btn {
  position: relative; display: flex; align-items: center; justify-content: center; width: 22px; height: 18px; min-height: 0;
  margin: 0; padding: 0; border: 0; border-radius: 6px; background: transparent; color: #6b7478; line-height: 1;
  transition: background .2s, color .2s;
}
#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical .btn:hover,
.modal.quickview .product-quantity .bootstrap-touchspin .input-group-btn-vertical .btn:hover { background: var(--dp-soft); color: var(--dp-brand-dark); }
#product .product-quantity .bootstrap-touchspin .input-group-btn-vertical .btn i,
.modal.quickview .product-quantity .bootstrap-touchspin .input-group-btn-vertical .btn i {
  position: static !important; width: auto; height: auto; font-size: 16px !important; line-height: 1; margin: 0;
}

/* ---------- Fiche produit : marge sous « Partager » et le résumé, avant « Indication » ----------
   le bloc produit est flottant : la marge haute de la section suivante est absorbée, on la place donc sous le bloc */
#product .product-container.js-product-container { margin-bottom: 48px; }
#product .dp-pdesc { margin-top: 0; }
#product .product-container .product-information > .dp-share--inline { margin-bottom: 10px; }
@media (max-width: 767px) {
  #product .product-container.js-product-container { margin-bottom: 32px; }
}

/* ---------- Accueil : carrousel produits à onglets (modèle sesderma.com), widget builder « Product Tabs » ---------- */
.dp-ptabs .widget-tabs-wrapper {
  display: flex; flex-wrap: nowrap; gap: 0 40px; margin: 0 0 28px; padding: 0; overflow-x: auto;
  border-bottom: 1px solid var(--dp-line); text-align: center; scrollbar-width: none;
}
.dp-ptabs .widget-tabs-wrapper::-webkit-scrollbar { display: none; }
/* centré, mais défilable sans couper le premier onglet si la place manque */
.dp-ptabs .widget-tabs-wrapper > .widget-tab-title:first-child { margin-left: auto; }
.dp-ptabs .widget-tabs-wrapper > .widget-tab-title:last-child { margin-right: auto; }
.dp-ptabs .widget-tab-title {
  position: relative; flex: none; margin: 0; padding: 4px 2px 14px; border: 0 !important; background: none !important; cursor: pointer;
  font-family: var(--dp-menu-font); font-size: 19px; font-weight: 600; letter-spacing: .3px; line-height: 1.3; color: #8a979b;
  white-space: nowrap; transition: color .2s;
}
.dp-ptabs .widget-tab-title::after {
  content: ""; position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; border-radius: 3px; background: var(--dp-brand);
  transform: scaleX(0); transition: transform .25s ease;
}
.dp-ptabs .widget-tab-title:hover, .dp-ptabs .widget-tab-title.active { color: var(--dp-ink); }
.dp-ptabs .widget-tab-title.active::after { transform: scaleX(1); }
.dp-ptabs .widget-tab-title:focus-visible { outline: 2px solid var(--dp-brand); outline-offset: 2px; border-radius: 4px; }
.dp-ptabs .widget-tab-title .icon:empty { display: none; }
@media (max-width: 767px) {
  .dp-ptabs .widget-tabs-wrapper { gap: 0 22px; margin-bottom: 20px; padding: 0 4px; }
  .dp-ptabs .widget-tab-title { padding-bottom: 12px; font-size: 15.5px; }
}
/* le widget impose 14 px et une majuscule à chaque mot : sélecteurs renforcés ; points de pagination sous les cartes */
.dp-ptabs .widget-tabs .widget-tabs-wrapper .widget-tab-title,
.dp-ptabs .widget-tabs .widget-tabs-wrapper .widget-tab-title .text {
  font-family: var(--dp-menu-font); font-size: 19px; font-weight: 600; letter-spacing: .3px; text-transform: none;
}
.dp-ptabs .widget-tabs .widget-tab-content .swiper-dots { position: relative; bottom: auto; margin-top: 18px; }
/* le widget ajoute une marge à droite de chaque titre : espacement géré uniquement par « gap » */
.dp-ptabs .widget-tabs .widget-tabs-wrapper { gap: 0 40px; }
.dp-ptabs .widget-tabs .widget-tabs-wrapper .widget-tab-title { margin: 0 !important; }
.dp-ptabs .widget-tabs .widget-tabs-wrapper .widget-tab-title:first-child { margin-left: auto !important; }
.dp-ptabs .widget-tabs .widget-tabs-wrapper .widget-tab-title:last-child { margin-right: auto !important; }
@media (max-width: 767px) {
  .dp-ptabs .widget-tabs .widget-tabs-wrapper { gap: 0 14px; padding: 0; }
  .dp-ptabs .widget-tabs .widget-tabs-wrapper .widget-tab-title,
  .dp-ptabs .widget-tabs .widget-tabs-wrapper .widget-tab-title .text { font-size: 14px; letter-spacing: 0; }
}
/* produit en rupture : le bouton grisé est hors du formulaire, il était étiré sur toute la carte */
.products.product-loop .product-miniature .thumbnail-container .product-description > .add-to-cart.btn { align-self: center; width: auto; margin-top: auto; }
@media (max-width: 575px) {
  .products.product-loop .product-miniature .thumbnail-container .product-description > .add-to-cart.btn { align-self: stretch; width: 100%; }
}
