/* ==========================================================================
   NT1100 Shop — refonte (déclinaison de la v2 xadvshop)
   Remplace xadv-2026.css quand elle est active (voir _partials/stylesheets.tpl).
   Chargée après custom.css. Typo titres : Barlow Condensed (auto-hébergée, OFL).
   Motifs : lignes de niveau "carte topo" + bandes rouges inclinées du logo.
   ========================================================================== */

@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: optional; src: url("../fonts/bc-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 600; font-display: optional; src: url("../fonts/bc-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/bc-700.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: italic; font-weight: 700; font-display: swap; src: url("../fonts/bc-700i.woff2") format("woff2"); }

:root {
  --xa-sur-accent: #131417;
  --xa-noir: #131417;
  --xa-noir-2: #1d1f23;
  --xa-texte: #26282c;
  --xa-gris: #6b6e73;
  --xa-gris-clair: #9a9da1;
  --xa-trait: #e3e3de;
  --xa-fond: #f4f4f1;
  --xa-fond-2: #ecece8;
  --xa-rouge: #a99375;
  --xa-rouge-fonce: #6f5c40;
  --xa-rouge-vif: #c5b399;
  --xa-or: #d2a23a;
  --xa-vert: #1f7a3a;
  --xa-rayon: 6px;
  --xa-rayon-l: 10px;
  --xa-ombre: 0 1px 2px rgba(19, 20, 23, .06);
  --xa-ombre-survol: 0 18px 32px -18px rgba(19, 20, 23, .45);
  --xa-cond: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --xa-topo: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='560' height='280' viewBox='0 0 560 280'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='1.2'%3E%3Cpath d='M-10 30C110 0 300 64 570 24'/%3E%3Cpath d='M-10 58C120 26 310 92 570 52'/%3E%3Cpath d='M-10 88C130 60 300 118 570 84'/%3E%3Cpath d='M-10 118C140 84 320 156 570 112'/%3E%3Cpath d='M-10 150C130 128 330 178 570 146'/%3E%3Cpath d='M-10 178C120 150 340 212 570 172'/%3E%3Cpath d='M-10 210C140 186 320 236 570 206'/%3E%3Cpath d='M-10 238C150 208 330 270 570 232'/%3E%3Cpath d='M-10 268C140 248 330 290 570 262'/%3E%3C/g%3E%3C/svg%3E");
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
/* Icônes : tant que la police d'icônes n'est pas chargée, le navigateur écrit le nom
   ("shopping_cart"...) en toutes lettres, ce qui décale l'en-tête puis toute la page.
   On réserve un carré de 1em dès le départ. */
.material-icons {
  display: inline-block;
  width: 1em;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: middle;
}
body {
  color: var(--xa-texte);
}
@media (min-width: 1024px) {
  #wrapper {
    background: linear-gradient(180deg, #ececE9 0%, #e3e3df 100%);
    padding-bottom: 2rem;
  }
  #wrapper > .container {
    background: #fff;
    box-shadow: 0 0 24px rgba(0, 0, 0, .06);
  }
  #wrapper #notifications .container {
    background: transparent;
    box-shadow: none;
  }
}
#wrapper > .container {
  padding-bottom: 1.5rem;
}

/* Boutons */
.btn-primary,
.btn-primary:focus {
  background: var(--xa-rouge);
  border-color: var(--xa-rouge);
  color: var(--xa-sur-accent);
  border-radius: var(--xa-rayon);
  box-shadow: none;
  font-family: var(--xa-cond);
  font-weight: 700;
  letter-spacing: .05em;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary:hover,
.btn-primary:active,
.btn-primary:active:hover,
.btn-primary:active:focus {
  background: var(--xa-rouge-fonce);
  border-color: var(--xa-rouge-fonce);
  color: #fff;
}
.btn-primary.disabled,
.btn-primary:disabled,
.btn-primary.disabled:hover,
.btn-primary:disabled:hover {
  background: #a3a5a8;
  border-color: #a3a5a8;
}
.btn-secondary,
.btn-tertiary {
  border-radius: var(--xa-rayon);
  box-shadow: none;
  font-family: var(--xa-cond);
  font-weight: 600;
  letter-spacing: .04em;
}
:focus-visible {
  outline: 2px solid var(--xa-rouge);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  body #header .header-nav,
  body#checkout #header .header-nav {
    background: var(--xa-noir);
    border-bottom: 0;
    box-shadow: inset 0 -3px 0 var(--xa-rouge);
  }
  /* Hauteur fixe : le texte de contact peut passer sur 2 lignes le temps que la police
     arrive, sans pousser toute la page vers le bas (décalage mesuré sur l'ancien site). */
  body #header .header-nav {
    height: 48px;
    max-height: 48px;
    overflow: visible;
  }
  #header .header-nav #_desktop_contact_link {
    display: flex;
    align-items: center;
    height: 45px;
  }
  #header .header-nav #contact-link {
    line-height: 1.25;
  }
  #header .header-nav .blockcart {
    background: transparent;
  }
  #header .header-nav .cart-preview.active {
    background: var(--xa-rouge);
  }
  #header .header-nav #search_widget form input[type="text"] {
    height: 36px;
    background: #fff;
    border: 0;
    border-radius: var(--xa-rayon);
    color: #222;
  }
  #header .header-nav #search_widget .material-icons.search {
    color: var(--xa-gris);
  }
  #header .header-top {
    padding-bottom: 0;
    border-bottom: 1px solid var(--xa-trait);
    box-shadow: 0 6px 16px -14px rgba(0, 0, 0, .5);
    position: relative;
  }
  #header #mega_menu_plus {
    margin-bottom: 0;
  }
  #header #mega_menu_plus ul.mg-menu {
    border-bottom: 0;
  }
}
#header a:hover {
  color: var(--xa-rouge-vif);
}
#header .header-top a:hover {
  color: var(--xa-rouge-fonce);
}

/* Menu principal (bamegamenu) */
@media (min-width: 992px) {
  #header #mega_menu_plus ul.mg-menu > li > a {
    padding-top: .15rem;
    padding-bottom: .35rem;
    background-image: linear-gradient(var(--xa-rouge), var(--xa-rouge));
    background-repeat: no-repeat;
    background-position: left bottom;
    background-size: 0 3px;
    transition: background-size .22s ease;
  }
  #header #mega_menu_plus ul.mg-menu > li:hover > a {
    background-size: 100% 3px;
  }
  #header #mega_menu_plus ul.mg-menu > li > a .menu-item-link-text {
    font-family: var(--xa-cond);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: .03em;
    color: var(--xa-noir);
    transition: color .15s ease;
  }
  #header #mega_menu_plus ul.mg-menu > li:hover > a .menu-item-link-text {
    color: var(--xa-rouge-fonce);
  }
  body #header #mega_menu_plus ul.mg-menu li div.sub {
    border: 0 !important;
    border-top: 3px solid var(--xa-rouge) !important;
    box-shadow: 0 24px 40px -20px rgba(0, 0, 0, .45) !important;
  }
  #header #mega_menu_plus .sub .menu-item-link-text {
    font-family: var(--xa-cond);
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: .02em;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #header #mega_menu_plus ul.mg-menu > li > a .menu-item-link-text {
    font-family: var(--xa-cond);
    font-size: 1.2rem;
    font-weight: 700;
  }
}

/* Menu "mobile" du module (affiché jusqu'à 991 px) */
@media (max-width: 991px) {
  #header #mega_menu_plus .mobi,
  #header #mega_menu_plus .mobi a {
    background: var(--xa-noir) !important;
    border-radius: var(--xa-rayon);
  }
  #header #mega_menu_plus .mobi a,
  #header #mega_menu_plus .mobi .menu-item-link-text {
    color: #fff !important;
    font-family: var(--xa-cond);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
  }
}
@media (min-width: 768px) and (max-width: 768px) {
  #header .header-nav #search_widget {
    display: none;
  }
}
@media (min-width: 768px) and (max-width: 1199px) {
  #header .header-nav #contact-link,
  #header .header-nav #contact-link a {
    font-size: 12px;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  #header #mega_menu_plus ul.mg-menu > li {
    padding-left: 4px;
    padding-right: 4px;
  }
  #header #mega_menu_plus ul.mg-menu > li > a .menu-item-link-text {
    font-size: 1.08rem;
    letter-spacing: 0;
  }
}

/* En-tête mobile */
@media (max-width: 767px) {
  #header {
    box-shadow: 0 6px 16px -14px rgba(0, 0, 0, .55);
  }
  #wrapper #content-wrapper {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  #rechercheM #search_widget form input[type="text"] {
    border-radius: var(--xa-rayon);
  }
}

/* --------------------------------------------------------------------------
   Fil d'Ariane
   -------------------------------------------------------------------------- */
#wrapper .breadcrumb {
  background: transparent;
  padding: .55rem 0 .7rem;
  margin: 0;
}
#wrapper .breadcrumb li,
#wrapper .breadcrumb li a {
  font-family: var(--xa-cond);
  font-size: .92rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--xa-gris);
}
#wrapper .breadcrumb li a:hover {
  color: var(--xa-rouge-fonce);
}
#wrapper .breadcrumb li:last-child,
#wrapper .breadcrumb li:last-child a,
#wrapper .breadcrumb li:last-child span {
  color: var(--xa-noir);
  font-weight: 700;
}
#wrapper .breadcrumb li::after {
  margin: 0 .4em;
  color: var(--xa-rouge-fonce);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   Titres de section (accueil, listes, accessoires, modules)
   -------------------------------------------------------------------------- */
#wrapper .featured-products h2.products-section-title,
#wrapper #products h2.products-section-title,
#wrapper .product-accessories h3.titreh3,
#wrapper h1#js-product-list-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 1.75rem 0 1.25rem;
  padding: 0;
  background: transparent;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
  text-align: left;
  text-transform: uppercase;
}
#wrapper .featured-products h2.products-section-title::before,
#wrapper #products h2.products-section-title::before,
#wrapper .product-accessories h3.titreh3::before,
#wrapper h1#js-product-list-header::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 6px 0 0 -1px rgba(169, 147, 117, .35);
  transform: skewX(-0deg);
}
#wrapper .featured-products h2.products-section-title::after,
#wrapper #products h2.products-section-title::after,
#wrapper .product-accessories h3.titreh3::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  margin-left: .4rem;
  background: linear-gradient(90deg, var(--xa-trait), transparent);
}

/* --------------------------------------------------------------------------
   Catégorie : bandeau (xadv-category-hero.tpl)
   -------------------------------------------------------------------------- */
.xa-hero {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 1.75rem;
  margin: 0 0 1.5rem;
  padding: 1.75rem 230px 1.75rem 1.75rem;
  overflow: hidden;
  border-radius: var(--xa-rayon-l);
  color: #fff;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 55%),
    var(--xa-topo),
    var(--xa-noir);
  box-shadow: 0 16px 30px -22px rgba(0, 0, 0, .7);
}
.xa-hero::before,
.xa-hero::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  transform: skewX(-0deg);
  pointer-events: none;
}
.xa-hero::before {
  right: 92px;
  width: 26px;
  background: var(--xa-rouge);
}
.xa-hero::after {
  right: 44px;
  width: 30px;
  background: repeating-linear-gradient(90deg, rgba(169, 147, 117, .55) 0 6px, transparent 6px 12px);
}
.xa-hero--noimg {
  grid-template-columns: minmax(0, 1fr);
}
.xa-hero__media {
  width: 132px;
  height: 132px;
  padding: 8px;
  border-radius: var(--xa-rayon);
  background: #fff;
  box-shadow: 0 10px 22px -12px rgba(0, 0, 0, .8);
}
.xa-hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.xa-hero__kicker {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .35rem;
  color: #c7b9a5;
  font-family: var(--xa-cond);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: .16em;
  line-height: 1.1;
  text-transform: uppercase;
}
.xa-hero__kicker::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--xa-rouge);
  transform: skewX(-0deg);
}
#main .xa-hero h1.xa-hero__title {
  margin: 0;
  color: #fff;
  font-family: var(--xa-cond);
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .005em;
  line-height: .98;
  text-transform: uppercase;
}
.xa-hero__desc,
.xa-hero__desc p,
.xa-hero__desc span {
  color: #cdced1;
  font-size: .95rem;
  line-height: 1.6;
}
.xa-hero__desc {
  max-width: 78ch;
  margin-top: .8rem;
}
.xa-hero__desc p {
  margin: 0 0 .4rem;
}
.xa-hero__desc p:last-child {
  margin-bottom: 0;
}
.xa-hero__desc a,
.xa-hero__desc strong,
.xa-hero__desc b {
  color: #fff;
  font-weight: 600;
}
.xa-hero__desc a {
  text-decoration: underline;
  text-decoration-color: rgba(169, 147, 117, .9);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.xa-hero__desc a:hover {
  color: #fff;
  text-decoration-color: #fff;
}
.js-xa-clamp.is-clamped {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}
.xa-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .55rem;
  padding: 0;
  border: 0;
  background: none;
  color: #fff;
  font-family: var(--xa-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.xa-more.is-pending {
  visibility: hidden;
}
.xa-more::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--xa-rouge-vif);
  border-bottom: 2px solid var(--xa-rouge-vif);
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.xa-more[aria-expanded="true"]::after {
  transform: translateY(2px) rotate(-135deg);
}

/* --------------------------------------------------------------------------
   Catégorie : sous-catégories
   -------------------------------------------------------------------------- */
#main #subcategories.xa-subcats {
  margin: 0 0 1.75rem;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
#main #subcategories.xa-subcats ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(165px, 1fr));
  gap: .8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#main #subcategories.xa-subcats ul::before,
#main #subcategories.xa-subcats ul::after {
  display: none;
}
#main #subcategories.xa-subcats ul li {
  position: relative;
  display: flex;
  flex-direction: column;
  float: none;
  width: auto;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: #fff;
  text-align: left;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
#main #subcategories.xa-subcats ul li::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--xa-rouge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
#main #subcategories.xa-subcats ul li a.img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 118px;
  padding: 12px;
  background: linear-gradient(180deg, #f7f7f5 0%, #ececE8 100%);
  line-height: 0;
}
#main #subcategories.xa-subcats ul li img,
#main #subcategories.xa-subcats ul li img:hover {
  width: auto;
  height: 94px;
  max-width: 100%;
  margin: 0;
  object-fit: contain;
  opacity: 1;
  mix-blend-mode: multiply;
  transition: transform .3s ease;
}
#main #subcategories.xa-subcats ul li h5 {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  margin: 0;
  padding: .6rem .75rem .7rem;
}
#main #subcategories.xa-subcats ul li .subcategory-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  width: 100%;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.1;
  text-transform: uppercase;
}
#main #subcategories.xa-subcats ul li .subcategory-name::after {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--xa-rouge);
  border-right: 2px solid var(--xa-rouge);
  transform: rotate(45deg);
  transition: transform .2s ease;
}
#main #subcategories.xa-subcats ul li .subcategory-name::before {
  /* toute la tuile est cliquable */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
@media (hover: hover) {
  #main #subcategories.xa-subcats ul li:hover {
    border-color: #cdcdc8;
    box-shadow: var(--xa-ombre-survol);
    transform: translateY(-3px);
  }
  #main #subcategories.xa-subcats ul li:hover::after {
    transform: scaleX(1);
  }
  #main #subcategories.xa-subcats ul li:hover img {
    transform: scale(1.06);
  }
  #main #subcategories.xa-subcats ul li:hover .subcategory-name {
    color: var(--xa-rouge-fonce);
  }
  #main #subcategories.xa-subcats ul li:hover .subcategory-name::after {
    transform: translateX(3px) rotate(45deg);
  }
}

/* --------------------------------------------------------------------------
   Liste : barre de tri, pagination
   -------------------------------------------------------------------------- */
#products .products-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0 0 1.25rem;
  padding: .55rem .5rem;
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
}
#products .products-selection .total-products p,
#products .products-selection .sort-by,
#products .products-selection .showing {
  margin: 0;
  padding-top: 0;
  color: var(--xa-gris);
  font-family: var(--xa-cond);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
}
#products .products-selection .sort-by-row {
  align-items: center;
}
#products .products-selection .sort-by {
  text-align: right;
  white-space: nowrap;
}
#products .products-sort-order .select-title {
  height: 40px;
  padding: .45rem .8rem;
  border: 1px solid #d3d3ce;
  border-radius: var(--xa-rayon);
  background: #fff;
  box-shadow: none;
  color: var(--xa-noir);
  font-weight: 600;
}
#products .products-sort-order .select-title:hover {
  border-color: var(--xa-noir);
}
#products .products-sort-order .dropdown-menu {
  border: 0;
  border-radius: var(--xa-rayon);
  box-shadow: var(--xa-ombre-survol);
}
#products .products-sort-order .select-list:hover {
  background: var(--xa-rouge);
  color: var(--xa-sur-accent);
}

.pagination {
  margin-top: 1rem;
  font-family: var(--xa-cond);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--xa-gris);
}
.pagination .page-list {
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.pagination .page-list li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 .65rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: #fff;
  color: var(--xa-noir);
  font-weight: 700;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.pagination .page-list li a:hover {
  border-color: var(--xa-noir);
  color: var(--xa-rouge-fonce);
}
.pagination .page-list li.current a {
  border-color: var(--xa-rouge);
  background: var(--xa-rouge);
  color: var(--xa-sur-accent);
}
.pagination .page-list li a .material-icons {
  font-size: 1.2rem;
}

/* --------------------------------------------------------------------------
   Rubriques de liste (pièces d'origine / marques phares / compatibles)
   -------------------------------------------------------------------------- */
#wrapper #produitsorigine,
#wrapper #produitsreco,
#wrapper #toutproduits {
  --accent: var(--xa-rouge);
  position: relative;
  display: flex;
  align-items: center;
  min-height: 72px;
  margin: 1.75rem 0 1.1rem;
  padding: .75rem 1.25rem .75rem 104px;
  overflow: hidden;
  border: 0;
  border-radius: var(--xa-rayon);
  background: linear-gradient(90deg, var(--xa-fond) 0%, #fafaf8 100%);
  box-shadow: inset 0 -2px 0 var(--accent);
}
#wrapper #produitsreco {
  --accent: var(--xa-or);
}
#wrapper #toutproduits {
  --accent: var(--xa-noir);
  display: block;
}
#wrapper #produitsorigine::before,
#wrapper #produitsreco::before,
#wrapper #toutproduits::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -22px;
  width: 104px;
  background: var(--accent);
  transform: skewX(-0deg);
}
#wrapper #toutproduits::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 24px;
  width: 40px;
  height: 40px;
  margin-top: -20px;
  border-radius: 50%;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23131417' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 22px no-repeat;
}
#wrapper #produitsorigine img,
#wrapper #produitsreco img {
  position: absolute;
  top: 50%;
  left: 18px;
  z-index: 1;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  padding: 3px;
  border-radius: 50%;
  background: #fff;
  object-fit: contain;
}
#wrapper #produitsoriginetext,
#wrapper #produitsrecotext {
  display: block;
  margin: 0;
}
#wrapper #produitsorigine h3,
#wrapper #produitsreco h3,
#wrapper #toutproduits h3 {
  margin: 0;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: .015em;
  line-height: 1.05;
  text-transform: uppercase;
}
#wrapper #produitsorigine p,
#wrapper #produitsreco p,
#wrapper #toutproduits p {
  margin: .2rem 0 0;
  color: var(--xa-gris);
  font-size: .88rem;
  font-style: normal;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Grilles de produits
   -------------------------------------------------------------------------- */
#wrapper #js-product-list .products,
#wrapper .featured-products .products,
#wrapper .product-accessories .products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 1.1rem;
  margin: 0 0 1.5rem;
  padding: 0;
}
#wrapper #js-product-list .products::before,
#wrapper #js-product-list .products::after,
#wrapper .featured-products .products::before,
#wrapper .featured-products .products::after,
#wrapper .product-accessories .products::before,
#wrapper .product-accessories .products::after {
  display: none;
}
#wrapper .products > .js-product.product {
  display: flex;
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
  flex: none;
  margin: 0;
  padding: 0;
}

/* --------------------------------------------------------------------------
   Vignette produit
   -------------------------------------------------------------------------- */
#wrapper .products .product-miniature {
  display: flex;
  width: 100%;
  margin: 0;
}
#wrapper .products .product-miniature .thumbnail-container {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
  container-type: inline-size;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
#wrapper .products .product-miniature .thumbnail-container::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 3px;
  background: var(--xa-rouge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s ease;
}
#wrapper .products .product-miniature .xa-card__media {
  position: relative;
}
#wrapper .products .product-miniature .product-thumbnail {
  display: flex;
  align-items: center;
  justify-content: center;
  height: auto;
  aspect-ratio: 1 / 1;
  padding: 10px;
  overflow: hidden;
  background: #fff;
}
#wrapper .products .product-miniature .product-thumbnail img {
  position: static;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  object-fit: contain;
  transition: transform .4s ease;
}
#wrapper .products .product-miniature img.manufacturer {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  width: auto;
  max-width: 42%;
  height: auto;
  max-height: 36px;
  margin: 0;
  padding: 2px 4px;
  border-radius: 3px;
  background: #fff;
  pointer-events: none;
}

/* Contenu des packs (vignettes des produits inclus) */
#wrapper .products .product-miniature .packitems {
  position: absolute;
  top: 70%;
  top: calc(100cqw - 54px);
  left: 10px;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 2px;
  pointer-events: none;
}
#wrapper .products .product-miniature .pack-item {
  flex: 0 0 auto;
  height: 40px;
  height: clamp(22px, 12.5cqw, 40px);
  margin: 0;
}
#wrapper .products .product-miniature .packitems img,
#wrapper .products .product-miniature .packitems img:hover {
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  border: 1px solid #c9c9c4;
  border-radius: 4px;
  background: #fff;
}
#wrapper .products .product-miniature .plus-item {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
}

/* Drapeaux (remise, promo, nouveau, pack) */
#wrapper .products .product-miniature .product-flags {
  position: absolute;
  top: 10px;
  right: 0;
  left: auto;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  width: auto;
  margin: 0;
  pointer-events: none;
}
#wrapper .products .product-miniature .product-flags li.product-flag {
  position: static;
  display: block;
  min-width: 0;
  min-height: 0;
  width: auto;
  margin: 0;
  padding: .18rem .65rem .18rem 1.05rem;
  border-radius: 0;
  background: var(--xa-noir);
  box-shadow: none;
  color: #fff;
  font-family: var(--xa-cond);
  font-size: 1rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.25;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}
#wrapper .products .product-miniature .product-flags li.product-flag.discount {
  background: var(--xa-rouge);
  font-size: 1.15rem;
}
#wrapper .products .product-miniature .product-flags li.product-flag.out_of_stock {
  background: var(--xa-gris);
}
#wrapper .products .product-miniature .product-price-and-shipping .discount-product {
  display: none;
}

/* Texte de la vignette */
#wrapper .products .product-miniature .product-description {
  position: relative;
  top: auto;
  bottom: auto;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: auto;
  height: auto;
  padding: .75rem .9rem .85rem;
  border-top: 1px solid #efefeb;
  background: #fff;
  text-align: left;
}
#wrapper .products .product-miniature .product-title {
  margin: 0 0 .55rem;
  padding: 0 2.4rem 0 0;
  overflow: visible;
  white-space: normal;
  text-align: left;
  text-transform: none;
}
#wrapper .products .product-miniature .product-title a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  min-height: 2.6em;
  overflow: hidden;
  color: var(--xa-texte);
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}
#wrapper .products .product-miniature .product-title a::after {
  /* toute la vignette est cliquable */
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
#wrapper .products .product-miniature .thumbnail-container .product-description {
  position: static;
}
#wrapper .products .product-miniature .product-price-and-shipping {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .1rem .5rem;
  margin-top: auto;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-weight: 700;
  text-align: left;
}
#wrapper .products .product-miniature .product-price-and-shipping .price {
  font-size: 1.55rem;
  line-height: 1;
}
#wrapper .products .product-miniature .product-price-and-shipping .regular-price {
  order: 2;
  color: var(--xa-gris-clair);
  font-size: 1.02rem;
  font-weight: 500;
  text-decoration: line-through;
}
#wrapper .products .product-miniature .product-price-and-shipping .regular-price ~ .price {
  color: var(--xa-rouge-fonce);
}
#wrapper .products .product-miniature .product-description::after {
  /* pastille flèche */
  content: "";
  position: absolute;
  top: auto;
  left: auto;
  right: .8rem;
  bottom: .8rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  opacity: 1;
  background: var(--xa-fond) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23131417' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: background-color .2s ease;
}
@media (hover: hover) {
  #wrapper .products .product-miniature .thumbnail-container:hover {
    border-color: #cfcfca;
    box-shadow: var(--xa-ombre-survol);
    transform: translateY(-4px);
  }
  #wrapper .products .product-miniature .thumbnail-container:hover::after {
    transform: scaleX(1);
  }
  #wrapper .products .product-miniature .thumbnail-container:hover .product-thumbnail img {
    transform: scale(1.04);
  }
  #wrapper .products .product-miniature .thumbnail-container:hover .product-title a {
    color: var(--xa-rouge-fonce);
  }
  #wrapper .products .product-miniature .thumbnail-container:hover .product-description::after,
  #wrapper .products .product-miniature .thumbnail-container:focus-within .product-description::after {
    /* le thème d'origine repositionne ce pseudo-élément en haut à gauche au survol */
    top: auto;
    left: auto;
    opacity: 1;
    background-color: var(--xa-rouge);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
  }
}

/* --------------------------------------------------------------------------
   Accueil
   -------------------------------------------------------------------------- */
#wrapper #super_counter {
  position: relative;
  width: auto;
  margin: 2rem 0;
  padding: 2rem 1rem 1.8rem;
  overflow: hidden;
  border-radius: var(--xa-rayon-l);
  background:
    radial-gradient(90% 140% at 50% 0%, rgba(255, 255, 255, .08), rgba(255, 255, 255, 0) 60%),
    var(--xa-topo),
    var(--xa-noir);
  color: #fff;
}
#wrapper #super_counter::before,
#wrapper #super_counter::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  width: 22px;
  background: var(--xa-rouge);
  transform: skewX(-0deg);
}
#wrapper #super_counter::before {
  left: 40px;
}
#wrapper #super_counter::after {
  right: 40px;
}
#wrapper #super_counter .super_counter_lbl {
  font-family: var(--xa-cond);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.2;
  text-transform: uppercase;
}
#wrapper #super_counter .super_counter_lbl_2 {
  color: #cdced1;
  font-family: inherit;
  font-size: .95rem;
  font-style: normal;
  font-weight: 400;
  letter-spacing: .01em;
  text-transform: none;
}
#wrapper #super_counter #super_counter_nb {
  margin: .2rem 0;
  font-family: var(--xa-cond);
  font-size: clamp(3.6rem, 11vw, 7rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1;
}

#wrapper #custom-text {
  margin: 1rem 0;
  padding: 1.5rem 15px;
}
#wrapper #custom-text h1 {
  margin: 0 0 .8rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.05;
  text-align: left;
  text-transform: uppercase;
}
#wrapper #custom-text h2 {
  margin: 0 0 1rem;
  color: #3a3c40;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}
#wrapper #custom-text p {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--xa-trait);
  color: var(--xa-gris);
  font-size: .86rem;
  line-height: 1.65;
  text-align: left;
}
#wrapper #custom-text img {
  border-radius: var(--xa-rayon);
}
#wrapper .page-home .banner img {
  border-radius: var(--xa-rayon-l);
}

/* --------------------------------------------------------------------------
   Fiche produit
   -------------------------------------------------------------------------- */
.xa-product__top {
  margin-top: .25rem;
}
.xa-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .35rem;
  color: var(--xa-rouge-fonce);
  font-family: var(--xa-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.xa-brand::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--xa-rouge);
  transform: skewX(-0deg);
}
.xa-brand:hover {
  color: var(--xa-rouge-fonce);
}
#product #encaps h1.h1 {
  margin: 0 0 .9rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.9rem, 3vw, 2.55rem);
  font-weight: 700;
  letter-spacing: .005em;
  line-height: 1.02;
  text-transform: uppercase;
}

/* Prix */
#product .product-prices {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .25rem .9rem;
  margin: 0 0 1rem;
}
#product .product-prices .product-price {
  margin: 0;
}
#product .product-prices .current-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem;
}
#product .product-prices .current-price-value {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(2.4rem, 4vw, 2.9rem);
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1;
}
#product .product-prices .has-discount .current-price-value {
  color: var(--xa-rouge-fonce);
}
#product .product-prices .product-discount {
  order: 2;
}
#product .product-prices .product-discount .regular-price {
  margin: 0;
  color: var(--xa-gris-clair);
  font-family: var(--xa-cond);
  font-size: 1.35rem;
  font-weight: 500;
}
#product .has-discount .discount,
#product .product-prices .discount {
  margin: 0;
  padding: .2rem .7rem .2rem 1rem;
  border-radius: 0;
  background: var(--xa-rouge);
  color: var(--xa-sur-accent);
  font-family: var(--xa-cond);
  font-size: 1.05rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}
#product .product-pack-price {
  flex-basis: 100%;
  margin: 0;
  padding: 0;
  background: none;
}
#product .product-pack-price span {
  display: inline-block;
  padding: .2rem .7rem .2rem 1rem;
  background: var(--xa-noir);
  color: #fff;
  font-family: var(--xa-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%);
}
#product .tax-label {
  color: var(--xa-gris);
  font-size: .9rem;
}
#product #reduc {
  flex-basis: 100%;
  padding: .6rem .8rem;
  border: 0;
  border-left: 3px solid var(--xa-rouge);
  border-radius: 0 var(--xa-rayon) var(--xa-rayon) 0;
  background: #f9f7f5;
}

/* Compatibilité */
.xa-compat {
  margin: 0 0 1.1rem;
  padding: .75rem .85rem .8rem;
  border: 1px solid #d5e7d9;
  border-radius: var(--xa-rayon);
  background: #f2f8f3;
}
.xa-compat__label {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .5rem;
  color: var(--xa-vert);
  font-family: var(--xa-cond);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.xa-compat__label::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--xa-vert) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5.5 12.5l4 4 9-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.xa-compat__list {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.xa-compat__list li {
  margin: 0;
  padding: .15rem .55rem;
  border: 1px solid #cfe2d4;
  border-radius: 4px;
  background: #fff;
  color: #20402a;
  font-family: var(--xa-cond);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: .02em;
  line-height: 1.3;
}

/* Description courte */
#product .xa-short,
#product .xa-short p {
  color: #3b3d42;
  font-size: .95rem;
  line-height: 1.65;
}
#product .xa-short ul {
  padding-left: 1.1rem;
}

/* Bloc d'achat */
#product .product-actions {
  margin-top: 1.25rem;
  padding: 1.15rem 1.25rem 1rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fafaf8;
}
#product .product-actions form {
  display: flex;
  flex-direction: column;
}
#product .product-actions form > * {
  order: 5;
}
#product .product-actions form > .product-variants {
  order: 1;
}
#product .product-actions form > .product-pack {
  order: 2;
}
#product .product-actions form > .product-discounts {
  order: 3;
}
#product .product-actions form > .product-add-to-cart {
  order: 4;
}
#product .product-actions form > .newpay {
  order: 6;
  margin: .75rem 0 0;
}
#product .product-actions form > .newpay img {
  max-width: 100%;
  height: auto;
  opacity: .9;
}
#product .product-actions .product-variants {
  margin: 0;
}
#product .product-actions .product-variants > .product-variants-item {
  margin: 0 0 .9rem;
}
#product .product-variants .control-label,
#product .product-add-to-cart .control-label {
  display: block;
  margin-bottom: .35rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}
#product .product-variants select.form-control {
  width: 100%;
  max-width: 100%;
  height: 46px;
  padding: 0 2.2rem 0 .8rem;
  border: 1px solid #cdcdc8;
  border-radius: var(--xa-rayon);
  background-color: #fff;
  box-shadow: none;
  color: var(--xa-noir);
  font-weight: 600;
}
#product .product-variants select.form-control:focus {
  border-color: var(--xa-noir);
}
#product .product-variants .input-color + span.color,
#product .product-variants .color {
  border-radius: 50%;
  box-shadow: 0 0 0 1px #cdcdc8;
}
#product .product-variants .input-color:checked + span {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--xa-rouge);
}
#product .product-variants .input-container .radio-label {
  border-radius: var(--xa-rayon);
  box-shadow: inset 0 0 0 1px #cdcdc8;
  font-weight: 600;
}
#product .product-variants .input-radio:checked + span {
  background: var(--xa-noir);
  color: #fff;
  box-shadow: none;
}
#product #product-availability {
  display: flex;
  align-items: center;
  gap: .3rem;
  margin: 0 0 .8rem;
  color: var(--xa-vert);
  font-family: var(--xa-cond);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: .01em;
}
#product #product-availability .material-icons {
  font-size: 1.35rem;
}
#product #product-availability .product-last-items,
#product #product-availability .product-unavailable {
  color: #c27200;
}
#product .product-quantity {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: .6rem;
}
#product .product-quantity .qty {
  flex: 0 0 auto;
  margin: 0;
}
#product .product-quantity #quantity_wanted {
  height: 54px;
  border-radius: var(--xa-rayon) 0 0 var(--xa-rayon);
  font-size: 1.05rem;
  font-weight: 700;
  text-align: center;
}
#product .product-quantity .input-group-btn-vertical .btn {
  height: 27px;
}
#product .product-quantity .add {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
}
#product .product-add-to-cart .add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  width: 100%;
  height: 54px;
  padding: 0 1.25rem;
  font-size: 1.3rem;
  letter-spacing: .06em;
  box-shadow: 0 10px 20px -12px rgba(169, 147, 117, .9);
}
#product .product-add-to-cart .add-to-cart {
  overflow: hidden;
  white-space: nowrap;
}
#product .product-add-to-cart .add-to-cart .material-icons {
  margin: 0;
  font-size: 1.5rem;
}
#product .product-minimal-quantity {
  margin: .4rem 0 0;
}
/* Doublon du module "déjà vus" dans le bloc d'achat (il reste affiché sous la fiche) */
#product .product-actions .featured-products {
  display: none;
}

/* Contenu d'un pack */
#product .product-pack {
  margin: 0 0 1rem;
}
#product .product-pack .h4 {
  font-family: var(--xa-cond);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#product .product-pack article .card {
  margin-bottom: .5rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  box-shadow: none;
}
#product .product-pack .pack-product-container {
  align-items: center;
}
#product .product-pack .pack-product-name a {
  color: var(--xa-texte);
  font-weight: 600;
}
#product .product-pack .pack-product-name a:hover {
  color: var(--xa-rouge-fonce);
}

/* Galerie */
#product .xa-product__gallery #content {
  max-width: 100%;
}
#product .product-cover {
  margin-bottom: .8rem;
}
#product .product-cover img {
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  box-shadow: none;
}
#product .product-cover .layer {
  border-radius: var(--xa-rayon-l);
}
#product .product-images .thumb {
  border: 2px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  box-shadow: none;
  transition: border-color .15s ease;
}
#product .product-images .thumb:hover {
  border-color: #b5b5b0;
}
#product .product-images .thumb.selected,
#product .product-images .thumb.selected:hover {
  border-color: var(--xa-rouge);
}
#product #content .product-flags {
  z-index: 2;
}
#product #content .product-flags li.product-flag {
  padding: .25rem .8rem .25rem 1.1rem;
  background: var(--xa-noir);
  box-shadow: none;
  color: #fff;
  font-family: var(--xa-cond);
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: .03em;
  clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%);
}
#product #content .product-flags li.product-flag.discount,
#product #content .product-flags li.product-flag.on-sale {
  background: var(--xa-rouge);
}

/* Réassurance */
#product #block-reassurance {
  margin-top: 1.25rem;
  border-radius: var(--xa-rayon-l);
  background: transparent;
  box-shadow: none;
}
#product #block-reassurance ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  margin: 0;
}
#product #block-reassurance li {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
}
#product #block-reassurance li .block-reassurance-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .45rem;
  height: 100%;
  padding: .85rem .9rem;
}
#product #block-reassurance li .block-reassurance-item img {
  width: 26px;
  height: auto;
  margin: 0;
}
#product #block-reassurance li .block-reassurance-item span {
  color: var(--xa-texte);
  font-size: .82rem;
  font-weight: 600;
  line-height: 1.35;
}

/* Onglets pleine largeur */
#product .xa-product__tabs {
  margin: 2.25rem 0 1rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#product .xa-product__tabs .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.5rem;
  border-bottom: 2px solid var(--xa-trait);
}
#product .xa-product__tabs .nav-tabs .nav-item {
  margin: 0 0 -2px;
}
#product .xa-product__tabs .nav-tabs .nav-link {
  padding: .45rem 0 .55rem;
  border: 0;
  border-bottom: 3px solid transparent;
  background: none;
  color: var(--xa-gris);
  font-family: var(--xa-cond);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
#product .xa-product__tabs .nav-tabs .nav-link.active,
#product .xa-product__tabs .nav-tabs .nav-link:hover {
  border-bottom-color: var(--xa-rouge);
  color: var(--xa-noir);
}
#product .xa-product__tabs .tab-content {
  padding: 1.5rem 0 .5rem;
}
#product .xa-product__tabs .product-description,
#product .xa-product__tabs .product-description p {
  color: #3b3d42;
  font-size: .95rem;
  line-height: 1.7;
}
#product .xa-product__tabs .product-description {
  max-width: 900px;
}
@media (min-width: 992px) {
  #product .xa-product__tabs .tab-content > #product-details.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    column-gap: 2.5rem;
  }
  #product .xa-product__tabs #product-details > * {
    grid-column: 1;
  }
  #product .xa-product__tabs #product-details > .product-features:has(.delivery-info-multi) {
    grid-column: 2;
    grid-row: 1 / span 12;
    margin-top: 0;
  }
}
#product #product-details .product-manufacturer {
  float: none;
  margin: 0 0 .75rem;
}
#product #product-details .manufacturer-logo {
  max-height: 60px;
  padding: 4px;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  box-shadow: none;
}
#product #product-details .product-reference {
  margin: 0 0 .5rem;
  color: var(--xa-texte);
  font-size: .95rem;
}
#product #product-details .product-reference .label {
  font-weight: 700;
}
#product .product-features {
  margin: 0 0 1.25rem;
}
#product .product-features h3 {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 1rem 0 .7rem;
  padding: 0;
  border: 0;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
#product .product-features h3::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 1em;
  background: var(--xa-rouge);
  transform: skewX(-0deg);
}
#product .product-features dl.data-sheet {
  display: grid;
  grid-template-columns: minmax(110px, max-content) minmax(0, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: #fff;
}
#product .product-features dl.data-sheet dt.name,
#product .product-features dl.data-sheet dd.value {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: .6rem .85rem;
  border-radius: 0;
  border-bottom: 1px solid var(--xa-trait);
  font-size: .9rem;
  line-height: 1.45;
  text-transform: none;
}
#product .product-features dl.data-sheet dt.name {
  background: var(--xa-fond);
  color: var(--xa-noir);
  font-weight: 700;
}
#product .product-features dl.data-sheet dd.value {
  background: #fff;
  color: #3b3d42;
  font-weight: 400;
}
#product .product-features dl.data-sheet dt.name:last-of-type,
#product .product-features dl.data-sheet dd.value:last-of-type {
  border-bottom: 0;
}
#product .delivery-info-multi {
  gap: .45rem 1rem;
  margin: 0;
  padding: .9rem 1rem .5rem;
  border-radius: var(--xa-rayon) var(--xa-rayon) 0 0;
  background: var(--xa-fond);
}
#product .delivery-line {
  color: var(--xa-texte);
  font-size: .9rem;
}
#product .delivery-line-world {
  margin: 0;
  padding: .55rem 1rem .8rem;
  border-top: 1px solid var(--xa-trait);
  border-radius: 0 0 var(--xa-rayon) var(--xa-rayon);
  background: var(--xa-fond);
}

/* --------------------------------------------------------------------------
   Pages de contenu (FAQ, guides…)
   -------------------------------------------------------------------------- */
.cmscustom h2 {
  display: flex;
  align-items: center;
  gap: .7rem;
  margin: 2rem 0 1rem;
  padding: 0 0 .5rem;
  border-bottom: 2px solid var(--xa-trait);
  background: transparent;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.7rem;
  font-weight: 700;
  text-transform: uppercase;
}
.cmscustom h2::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 1em;
  background: var(--xa-rouge);
  transform: skewX(-0deg);
}
.cmscustom h3 {
  margin: 1.5rem 0 .9rem;
  padding: .5rem .8rem;
  border-left: 3px solid var(--xa-noir);
  border-radius: 0 var(--xa-rayon) var(--xa-rayon) 0;
  background: var(--xa-fond);
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.3rem;
  font-weight: 700;
}
#main .page-header h1,
#wrapper .page-header h1 {
  font-family: var(--xa-cond);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--xa-noir);
}

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */
#footer {
  padding-top: 0;
  border-top: 0;
}
#footer .block_newsletter {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
#footer .block_newsletter #block-newsletter-label {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
#footer .block_newsletter form input[type="email"] {
  height: 46px;
  border: 1px solid #cdcdc8;
  border-radius: var(--xa-rayon);
}
#footer .block_newsletter form input[type="email"]:focus {
  border-color: var(--xa-noir);
  outline: none;
}
#footer .block_newsletter form .btn-primary {
  height: 46px;
  padding: 0 1.4rem;
  font-size: 1.15rem;
}
#footer .block_newsletter form p {
  color: var(--xa-gris);
  font-size: .8rem;
}
.footer-container {
  border-top: 4px solid var(--xa-rouge);
  background:
    var(--xa-topo),
    var(--xa-noir);
}
.footer-container h3,
.footer-container .h3,
.footer-container .block-contact .block-contact-title,
.footer-container .linklist .blockcms-title a,
.footer-container #block_myaccount_infos .myaccount-title a {
  color: #fff;
  font-family: var(--xa-cond);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: .05em;
}
@media (min-width: 768px) {
  .footer-container h3::after,
  .footer-container .block-contact .block-contact-title::after {
    content: "";
    display: block;
    width: 28px;
    height: 3px;
    margin: .35rem 0 .3rem;
    background: var(--xa-rouge);
    transform: skewX(-0deg);
    transform-origin: left bottom;
  }
}
.footer-container li a {
  color: #c9cacd;
  font-weight: 400;
}
.footer-container li a:hover {
  color: #fff;
}

/* --------------------------------------------------------------------------
   Tablette
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  #wrapper {
    background: #fff;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  #product .product-add-to-cart .add-to-cart {
    gap: .35rem;
    padding: 0 .7rem;
    font-size: 1.12rem;
    letter-spacing: .03em;
  }
}
@media (max-width: 991px) {
  #product #block-reassurance ul {
    grid-template-columns: minmax(0, 1fr);
    gap: .4rem;
  }
  #product #block-reassurance li .block-reassurance-item {
    flex-direction: row;
    align-items: center;
    padding: .6rem .75rem;
  }
  .xa-hero {
    padding-right: 150px;
  }
  .xa-hero::before {
    right: 64px;
  }
  .xa-hero::after {
    right: 24px;
  }
}

/* --------------------------------------------------------------------------
   Mobile
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  #wrapper .breadcrumb {
    padding: .45rem 0 .55rem;
  }
  #wrapper .breadcrumb li,
  #wrapper .breadcrumb li a {
    font-size: .82rem;
  }

  .xa-hero {
    grid-template-columns: 64px minmax(0, 1fr);
    align-items: start;
    gap: .9rem;
    margin-bottom: 1.1rem;
    padding: 1.1rem 1rem 1.15rem;
    border-radius: var(--xa-rayon);
  }
  .xa-hero--noimg {
    grid-template-columns: minmax(0, 1fr);
  }
  .xa-hero::before {
    right: -6px;
    width: 14px;
  }
  .xa-hero::after {
    display: none;
  }
  .xa-hero__media {
    width: 64px;
    height: 64px;
    padding: 4px;
  }
  .xa-hero__kicker {
    font-size: .85rem;
    letter-spacing: .12em;
  }
  #main .xa-hero h1.xa-hero__title {
    padding-right: .6rem;
    font-size: 1.85rem;
  }
  .xa-hero__desc,
  .xa-hero .xa-more {
    grid-column: 1 / -1;
  }
  .xa-hero__desc {
    margin-top: .55rem;
  }
  .xa-hero .xa-more {
    justify-self: start;
    margin-top: -.35rem;
  }
  .xa-hero__body {
    display: contents;
  }
  .xa-hero__kicker,
  #main .xa-hero h1.xa-hero__title {
    grid-column: 2;
  }
  .xa-hero__kicker {
    align-self: end;
  }
  .xa-hero__media {
    grid-row: 1 / span 2;
  }
  .xa-hero:not(:has(.xa-hero__kicker)) .xa-hero__media {
    grid-row: 1;
  }
  .xa-hero:not(:has(.xa-hero__kicker)) h1.xa-hero__title {
    align-self: center;
  }
  .xa-hero--noimg .xa-hero__kicker,
  #main .xa-hero--noimg h1.xa-hero__title {
    grid-column: 1;
  }
  .xa-hero__desc,
  .xa-hero__desc p {
    font-size: .9rem;
    line-height: 1.55;
  }
  .js-xa-clamp.is-clamped {
    -webkit-line-clamp: 3;
  }

  /* Sous-catégories : rangée qui défile */
  #main #subcategories.xa-subcats {
    margin: 0 -15px 1.25rem;
  }
  #main #subcategories.xa-subcats ul {
    grid-auto-flow: column;
    grid-auto-columns: 40%;
    grid-template-columns: none;
    gap: .55rem;
    padding: 0 15px 6px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-padding: 0 15px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
  }
  #main #subcategories.xa-subcats ul li {
    scroll-snap-align: start;
  }
  #main #subcategories.xa-subcats ul li a.img {
    height: 88px;
    padding: 8px;
  }
  #main #subcategories.xa-subcats ul li img,
  #main #subcategories.xa-subcats ul li img:hover {
    height: 70px;
  }
  #main #subcategories.xa-subcats ul li h5 {
    padding: .45rem .55rem .55rem;
  }
  #main #subcategories.xa-subcats ul li .subcategory-name {
    font-size: .98rem;
  }

  #products .products-selection {
    padding: .5rem .25rem;
  }
  #products .products-selection .showing {
    padding-top: .4rem;
    font-size: .92rem;
  }

  #wrapper #produitsorigine,
  #wrapper #produitsreco,
  #wrapper #toutproduits {
    min-height: 60px;
    margin: 1.25rem 0 .9rem;
    padding: .6rem .85rem .6rem 80px;
  }
  #wrapper #produitsorigine::before,
  #wrapper #produitsreco::before,
  #wrapper #toutproduits::before {
    width: 82px;
  }
  #wrapper #produitsorigine img,
  #wrapper #produitsreco img {
    left: 12px;
    width: 42px;
    height: 42px;
    margin-top: -21px;
  }
  #wrapper #toutproduits::after {
    left: 15px;
    width: 34px;
    height: 34px;
    margin-top: -17px;
    background-size: 19px;
  }
  #wrapper #produitsorigine p,
  #wrapper #produitsreco p,
  #wrapper #toutproduits p {
    font-size: .8rem;
  }

  /* Grilles : 2 colonnes */
  #wrapper #js-product-list .products,
  #wrapper .featured-products .products,
  #wrapper .product-accessories .products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }
  #wrapper .products .product-miniature .product-thumbnail {
    padding: 6px;
  }
  #wrapper .products .product-miniature img.manufacturer {
    top: 6px;
    left: 6px;
    max-width: 48%;
    max-height: 24px;
    padding: 1px 2px;
  }
  #wrapper .products .product-miniature .product-flags {
    top: 6px;
    gap: 3px;
  }
  #wrapper .products .product-miniature .product-flags li.product-flag {
    padding: .1rem .45rem .1rem .8rem;
    font-size: .85rem;
    clip-path: polygon(8px 0, 100% 0, 100% 100%, 0 100%);
  }
  #wrapper .products .product-miniature .product-flags li.product-flag.discount {
    font-size: .95rem;
  }
  #wrapper .products .product-miniature .packitems {
    top: calc(100cqw - 40px);
    left: 6px;
    right: 6px;
  }
  #wrapper .products .product-miniature .plus-item {
    font-size: .9rem;
  }
  #wrapper .products .product-miniature .product-description {
    padding: .55rem .6rem .65rem;
  }
  #wrapper .products .product-miniature .product-title {
    padding-right: 0;
  }
  #wrapper .products .product-miniature .product-title a {
    font-size: .8rem;
  }
  #wrapper .products .product-miniature .product-price-and-shipping .price {
    font-size: 1.3rem;
  }
  #wrapper .products .product-miniature .product-price-and-shipping .regular-price {
    font-size: .9rem;
  }
  #wrapper .products .product-miniature .product-description::after {
    display: none;
  }

  #wrapper #super_counter {
    padding: 1.4rem .75rem 1.3rem;
  }
  #wrapper #super_counter::before {
    left: 10px;
    width: 12px;
  }
  #wrapper #super_counter::after {
    right: 10px;
    width: 12px;
  }
  #wrapper #super_counter .super_counter_lbl {
    font-size: 1.1rem;
  }

  /* Fiche produit */
  #product #encaps {
    margin-top: .75rem;
  }
  #product #encaps h1.h1 {
    font-size: 1.85rem;
  }
  #product .product-actions {
    margin-left: -6px;
    margin-right: -6px;
    padding: 1rem .9rem .9rem;
  }
  #product .product-add-to-cart .add-to-cart {
    font-size: 1.15rem;
  }
  #product #block-reassurance ul {
    grid-template-columns: minmax(0, 1fr);
    gap: .4rem;
  }
  #product #block-reassurance li .block-reassurance-item {
    flex-direction: row;
    align-items: center;
    padding: .6rem .75rem;
  }
  #product .xa-product__tabs {
    margin-top: 1.5rem;
  }
  #product .xa-product__tabs .nav-tabs .nav-link {
    font-size: 1.15rem;
  }
  #product .product-features dl.data-sheet {
    grid-template-columns: minmax(0, 1fr);
  }
  #product .product-features dl.data-sheet dt.name {
    border-bottom: 0;
    padding-bottom: .2rem;
  }
  #product .product-features dl.data-sheet dd.value {
    padding-top: .2rem;
  }
}

@media (max-width: 359px) {
  #wrapper #js-product-list .products,
  #wrapper .featured-products .products,
  #wrapper .product-accessories .products {
    gap: .45rem;
  }
  #product .product-quantity {
    flex-wrap: wrap;
  }
}

@media (prefers-reduced-motion: reduce) {
  #wrapper .products .product-miniature .thumbnail-container,
  #wrapper .products .product-miniature .product-thumbnail img,
  #main #subcategories.xa-subcats ul li,
  #main #subcategories.xa-subcats ul li img,
  #header #mega_menu_plus ul.mg-menu > li > a {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Pages d'erreur 404 / 410 (errors/xadv-not-found.tpl) — ajout du 17/11/2026
   -------------------------------------------------------------------------- */
#main .page-not-found.xa-404 {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}
.xa-hero--error {
  min-height: 300px;
  margin-top: .5rem;
  padding: 2.4rem 300px 2.4rem 2.4rem;
}
.xa-hero__code {
  position: absolute;
  right: 120px;
  top: 50%;
  transform: translateY(-50%);
  color: transparent;
  font-family: var(--xa-cond);
  font-size: 12rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  -webkit-text-stroke: 2px rgba(255, 255, 255, .16);
  pointer-events: none;
  user-select: none;
}
.xa-hero--error .xa-hero__body {
  position: relative;
  z-index: 1;
}
.xa-hero--error .xa-hero__desc {
  max-width: 60ch;
  margin: .9rem 0 0;
  font-size: 1rem;
}
.xa-404__search #search_widget {
  float: none;
  width: 100%;
  max-width: 560px;
  min-width: 0;
  margin: 1.4rem 0 0;
  padding: 0;
}
.xa-404__search #search_widget form {
  position: relative;
}
.xa-404__search #search_widget form input[type="text"] {
  width: 100%;
  height: 52px;
  padding: 0 1rem 0 3rem;
  border: 2px solid transparent;
  border-radius: var(--xa-rayon);
  background: #fff;
  color: var(--xa-texte);
  font-size: 1rem;
  box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9);
}
.xa-404__search #search_widget form input[type="text"]:focus {
  border-color: var(--xa-rouge);
  outline: 0;
}
.xa-404__search #search_widget form input[type="text"]::placeholder {
  color: var(--xa-gris);
}
.xa-404__search #search_widget form i.search {
  position: absolute;
  top: 50%;
  left: .9rem;
  padding: 0;
  color: var(--xa-gris);
  font-size: 1.5rem;
  transform: translateY(-50%);
}
.xa-404__search #search_widget form i.clear {
  display: none;
}
.xa-404__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.4rem;
  margin: 1.2rem 0 0;
}
#main .xa-404 .xa-404__links .btn-primary {
  padding: .65rem 1.3rem;
  color: #fff;
}
#main .xa-404 .xa-404__contact {
  color: #fff;
  font-family: var(--xa-cond);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: underline;
  text-decoration-color: rgba(169, 147, 117, .9);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
#main .xa-404 .xa-404__contact:hover,
#main .xa-404 .xa-404__contact:focus {
  color: #fff;
  text-decoration-color: #fff;
}
#wrapper .xa-404 h2.xa-section-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 2rem 0 1.1rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}
#wrapper .xa-404 h2.xa-section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 6px 0 0 -1px rgba(169, 147, 117, .35);
  transform: skewX(-0deg);
}
#wrapper .xa-404 h2.xa-section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  margin-left: .4rem;
  background: linear-gradient(90deg, var(--xa-trait), transparent);
}
#main .xa-404 #subcategories.xa-404__models ul {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.xa-404__products .featured-products {
  margin-top: .5rem !important;
}
@media (min-width: 992px) {
  #wrapper .xa-404__products .featured-products .products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .xa-hero--error {
    padding-right: 200px;
  }
  .xa-hero__code {
    right: 70px;
    font-size: 8.5rem;
  }
  #main .xa-404 #subcategories.xa-404__models ul {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .xa-hero--error {
    min-height: 0;
    padding: 1.4rem 1rem 1.5rem;
  }
  .xa-hero__code {
    top: .4rem;
    right: .6rem;
    font-size: 5.5rem;
    transform: none;
    -webkit-text-stroke-width: 1.5px;
  }
  .xa-hero--error .xa-hero__kicker,
  #main .xa-hero--error h1.xa-hero__title {
    padding-right: 6.5rem;
  }
  .xa-hero--error .xa-hero__desc,
  .xa-404__search,
  .xa-404__links {
    grid-column: 1 / -1;
  }
  .xa-404__search #search_widget {
    margin-top: .9rem;
  }
  .xa-404__links {
    gap: .6rem 1rem;
    margin-top: .9rem;
  }
  .xa-404__links .btn-primary {
    flex: 1 1 100%;
    text-align: center;
  }
  /* 404 : les modèles en grille, pas en rangée défilante */
  #main .xa-404 #subcategories.xa-404__models {
    margin: 0 0 1.25rem;
  }
  #main .xa-404 #subcategories.xa-404__models ul {
    grid-auto-flow: row;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 0;
    overflow: visible;
  }
  #main .xa-404 #subcategories.xa-404__models ul li:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

/* --------------------------------------------------------------------------
   Pages hors gabarit principal : maintenance, pays non autorisé
   (layouts/layout-error.tpl, body.xa-error-page) — ajout du 17/11/2026
   -------------------------------------------------------------------------- */
body.xa-error-page {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  margin: 0;
  padding: 2rem 16px;
  overflow-x: hidden;
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(255, 255, 255, .07) 0%, rgba(255, 255, 255, 0) 55%),
    var(--xa-topo),
    var(--xa-noir);
  color: var(--xa-texte);
}
body.xa-error-page::before,
body.xa-error-page::after {
  content: "";
  position: fixed;
  top: -10%;
  bottom: -10%;
  transform: skewX(-0deg);
  pointer-events: none;
}
body.xa-error-page::before {
  right: 12%;
  width: 34px;
  background: var(--xa-rouge);
}
body.xa-error-page::after {
  right: calc(12% - 56px);
  width: 40px;
  background: repeating-linear-gradient(90deg, rgba(169, 147, 117, .55) 0 7px, transparent 7px 14px);
}
body.xa-error-page #layout-error {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 620px;
  margin: 0;
  padding: 2.4rem 2.25rem 2rem;
  border-top: 4px solid var(--xa-rouge);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9);
  text-align: left;
}
body.xa-error-page #layout-error .page-header {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
body.xa-error-page .logo-maintenance,
body.xa-error-page #layout-error .logo {
  margin: 0 0 1.6rem;
  text-align: left;
}
body.xa-error-page .logo-maintenance img,
body.xa-error-page #layout-error .logo img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
}
.xa-maint__kicker {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .35rem;
  color: var(--xa-rouge);
  font-family: var(--xa-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.1;
  text-transform: uppercase;
}
.xa-maint__kicker::before {
  content: "";
  width: 18px;
  height: 3px;
  background: var(--xa-rouge);
  transform: skewX(-0deg);
}
body.xa-error-page #layout-error h1,
body.xa-error-page #layout-error h2 {
  margin: 0 0 1rem;
  padding: 0;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
body.xa-error-page #layout-error h2 {
  font-size: clamp(1.5rem, 4.5vw, 2rem);
}
body.xa-error-page #layout-error .page-content {
  margin: 0;
  padding: 0;
  color: var(--xa-texte);
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  text-align: left;
}
body.xa-error-page #layout-error .page-content p {
  margin: 0 0 .55rem;
}
body.xa-error-page #layout-error .page-content p:last-child {
  margin-bottom: 0;
}
.xa-maint__bar {
  height: 4px;
  margin: 1.5rem 0 1.2rem;
  overflow: hidden;
  border-radius: 2px;
  background: var(--xa-fond-2);
}
.xa-maint__bar span {
  display: block;
  width: 35%;
  height: 100%;
  background: var(--xa-rouge);
  animation: xa-maint-bar 1.8s ease-in-out infinite;
}
@keyframes xa-maint-bar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(290%); }
}
.xa-maint__contact {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .3rem 1.1rem;
  color: var(--xa-gris);
  font-size: .95rem;
}
.xa-maint__contact a {
  color: var(--xa-noir);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--xa-rouge);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.xa-maint__contact a:hover {
  color: var(--xa-rouge-fonce);
}
@media (max-width: 767px) {
  body.xa-error-page {
    align-items: flex-start;
    padding: 1.25rem 16px;
  }
  body.xa-error-page::before {
    right: -4px;
    width: 18px;
  }
  body.xa-error-page::after {
    display: none;
  }
  body.xa-error-page #layout-error {
    padding: 1.6rem 1.25rem 1.4rem;
  }
  body.xa-error-page .logo-maintenance img,
  body.xa-error-page #layout-error .logo img {
    width: 190px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .xa-maint__bar span {
    width: 100%;
    animation: none;
  }
}

/* ==========================================================================
   Fiche produit — retouches du 17/11/2026
   Original : private/fiche-produit-2026-11-17/avant/xadv-v2.css
   ========================================================================== */

/* Titres des sections de la fiche et des modules (cross-selling, même catégorie, déjà vus) :
   même style que « Vous aimerez aussi » */
#wrapper .xa-psec__title,
#product #wrapper .featured-products > h2 {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 2.25rem 0 1.25rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.45rem, 2.4vw, 1.9rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
  text-align: left;
  text-transform: uppercase;
}
#wrapper .xa-psec__title::before,
#product #wrapper .featured-products > h2::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 6px 0 0 -1px rgba(169, 147, 117, .35);
  transform: skewX(-0deg);
}
#wrapper .xa-psec__title::after,
#product #wrapper .featured-products > h2::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  margin-left: .4rem;
  background: linear-gradient(90deg, var(--xa-trait), transparent);
}
#product #wrapper .featured-products {
  margin-top: 0;
}

/* Sections (description, détails, documents) : toujours visibles */
#product .xa-product__sections {
  margin: .5rem 0 1rem;
}
#product .xa-psec .tab-pane {
  display: block;
  opacity: 1;
}
#product .xa-psec--desc .product-description {
  max-width: 900px;
  color: #3b3d42;
  font-size: .95rem;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
#product .xa-psec .product-description img,
#product .xa-psec .product-description video {
  max-width: 100%;
  height: auto;
}
/* vidéos et contenus intégrés dans les descriptions : jamais plus larges que la colonne */
#product .xa-short iframe,
#product .xa-psec .product-description iframe {
  max-width: 100%;
}
#product .xa-short iframe[src*="youtu"],
#product .xa-short iframe[src*="vimeo"],
#product .xa-psec .product-description iframe[src*="youtu"],
#product .xa-psec .product-description iframe[src*="vimeo"] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}
#product .xa-short img {
  max-width: 100%;
  height: auto;
}
#product .xa-short table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}
#product .xa-psec .product-description table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

/* Détails du produit : bandeau marque / référence, puis deux colonnes */
#product .xa-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  column-gap: 2.5rem;
}
#product .xa-details > .xa-ident,
#product .xa-details > .product-out-of-stock {
  grid-column: 1 / -1;
}
#product .xa-details > .product-out-of-stock:not(:has(*)) {
  display: none;
}
#product .xa-details .product-features h3 {
  margin-top: 0;
}
#product .xa-details .product-features dl.data-sheet dd.value {
  overflow-wrap: anywhere;
}
#product .xa-ident {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .9rem 2.25rem;
  margin: 0 0 1.6rem;
  padding: .9rem 1.1rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: var(--xa-fond);
}
#product #product-details .xa-ident__brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
}
#product .xa-ident__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 176px;
  height: 80px;
  padding: 8px 14px;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: #fff;
  transition: border-color .15s ease;
}
#product .xa-ident__logo:hover {
  border-color: var(--xa-rouge);
}
#product #product-details .xa-ident__logo img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  object-fit: contain;
}
#product #product-details .xa-ident__item {
  display: flex;
  flex-direction: column;
  gap: .05rem;
  margin: 0;
}
#product .xa-ident__item .label {
  /* « .label » est aussi une étiquette Bootstrap (centrée, avec marges) : on la neutralise */
  display: block;
  margin: 0;
  padding: 0;
  border-radius: 0;
  background: none;
  text-align: left;
  color: var(--xa-gris);
  font-family: var(--xa-cond);
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
#product .xa-ident__item > a,
#product .xa-ident__item > span:not(.label) {
  color: var(--xa-noir);
  font-size: 1rem;
  font-weight: 700;
}
#product .xa-ident__item > a:hover {
  color: var(--xa-rouge-fonce);
}
@media (min-width: 992px) {
  #product .xa-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Documents à télécharger */
#product .xa-files {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: .75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#product .xa-files__item {
  margin: 0;
}
#product .xa-files__link {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .2rem;
  height: 100%;
  padding: .85rem 1rem .85rem 3.4rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  color: var(--xa-texte);
  text-decoration: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
#product .xa-files__link::before {
  content: "";
  position: absolute;
  top: .9rem;
  left: 1rem;
  width: 26px;
  height: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23a99375' stroke-width='1.9' stroke-linejoin='round' d='M6 2.8h8l4.2 4.2v14.2H6z'/%3E%3Cpath fill='none' stroke='%23a99375' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round' d='M14 2.8V7h4.2M12 10.5v6.5M9.2 14.4 12 17.2l2.8-2.8'/%3E%3C/svg%3E") center / contain no-repeat;
}
#product .xa-files__link:hover {
  border-color: var(--xa-rouge);
  box-shadow: var(--xa-ombre-survol);
}
#product .xa-files__name {
  color: var(--xa-noir);
  font-weight: 700;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
#product .xa-files__desc {
  color: var(--xa-gris);
  font-size: .85rem;
  line-height: 1.4;
  overflow-wrap: anywhere;
}
#product .xa-files__size {
  margin-top: .15rem;
  color: var(--xa-rouge-fonce);
  font-family: var(--xa-cond);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

/* Disponibilité : encadré, et « Expédition prévue sous N jours » bien visible */
#product #product-availability {
  margin: 0 0 1rem;
  padding: .6rem .85rem;
  border-left: 4px solid var(--xa-vert);
  border-radius: var(--xa-rayon);
  background: rgba(31, 122, 58, .08);
  line-height: 1.2;
}
#product #product-availability:not(:has(*)) {
  display: none;
}
#product #product-availability:has(.product-last-items),
#product #product-availability:has(.product-unavailable),
#product #product-availability.xa-avail--delay {
  border-left-color: #e08a00;
  background: #fff3df;
  color: #8a4a00;
}
#product #product-availability.xa-avail--delay {
  gap: .55rem;
  font-size: 1.35rem;
}
#product #product-availability.xa-avail--delay .material-icons {
  display: none;
}
#product #product-availability.xa-avail--delay::before {
  content: "";
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23c26a00' stroke-width='1.9' stroke-linejoin='round'%3E%3Cpath d='M1.8 5.5h11.4v10.8H1.8zM13.2 9h4.1l3.9 3.9v3.4h-8z'/%3E%3Ccircle cx='6' cy='17.6' r='2' fill='%23fff3df'/%3E%3Ccircle cx='17' cy='17.6' r='2' fill='%23fff3df'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

/* Réassurance : un seul panneau, trois colonnes séparées, pictos dans des pastilles */
#product #block-reassurance {
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-top: 3px solid var(--xa-rouge);
  background: #fff;
}
#product #block-reassurance ul {
  gap: 0;
}
#product #block-reassurance li {
  border-radius: 0;
  background: transparent;
}
#product #block-reassurance li + li {
  border-left: 1px solid var(--xa-trait);
}
#product #block-reassurance li .block-reassurance-item {
  align-items: center;
  gap: .6rem;
  padding: 1.05rem .9rem 1rem;
  text-align: center;
}
#product #block-reassurance li .block-reassurance-item img {
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  padding: 11px;
  border-radius: 50%;
  background: var(--xa-fond);
  object-fit: contain;
}
#product #block-reassurance li .block-reassurance-item span {
  margin: 0;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: uppercase;
}

/* Galerie : bande de miniatures qui défile, flèches image précédente / suivante sur la photo */
#product .product-gallery {
  position: relative;
  container-type: inline-size;
}
#product .product-gallery .scroll-box-arrows {
  display: none;
}
#product .images-container .js-qv-mask,
#product .images-container .js-qv-mask.scroll {
  width: auto;
  margin: 0;
  padding: 2px 0 6px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}
#product .images-container .product-images {
  display: flex;
  flex-wrap: nowrap;
  gap: .6rem;
  width: auto;
  margin: 0;
  padding: 0;
}
#product .images-container .product-images > li.thumb-container {
  flex: 0 0 auto;
  margin: 0;
  scroll-snap-align: start;
}
#product .images-container .product-images .thumb {
  width: 96px;
  height: 96px;
  margin: 0;
  background: #fff;
  object-fit: contain;
  cursor: pointer;
}
#product .xa-gal-nav {
  position: absolute;
  top: calc(50cqw - 22px);
  z-index: 3;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--xa-trait);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23131417' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E") center / 20px no-repeat;
  box-shadow: 0 8px 16px -10px rgba(19, 20, 23, .6);
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
#product .xa-gal--multi .xa-gal-nav {
  display: block;
}
#product .xa-gal-nav--prev {
  left: 12px;
  transform: scaleX(-1);
}
#product .xa-gal-nav--next {
  right: 12px;
}
#product .xa-gal-nav:hover,
#product .xa-gal-nav:focus-visible {
  border-color: var(--xa-rouge);
  outline: none;
  background-color: var(--xa-rouge);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
}

/* « Références disponibles » (module variantseo, pour Google) : discret et replié */
#product .variantseo-references {
  margin: 1.75rem 0 .5rem !important;
  padding: .9rem 0 0;
  border-top: 1px solid var(--xa-trait);
  color: var(--xa-gris);
  font-size: .85rem;
}
#product .variantseo-references p,
#product .variantseo-references summary {
  color: var(--xa-gris);
  font-family: var(--xa-cond);
  font-size: 1rem;
  font-weight: 700 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
}
#product .variantseo-references summary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  cursor: pointer;
  list-style: none;
}
#product .variantseo-references summary::-webkit-details-marker {
  display: none;
}
#product .variantseo-references summary::before {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .2s ease;
}
#product .variantseo-references details[open] summary::before {
  transform: rotate(45deg);
}
#product .variantseo-references summary:hover {
  color: var(--xa-noir);
}
#product .variantseo-references ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: .3rem 1.5rem;
  margin: .75rem 0 0;
  padding: 0;
  list-style: none;
  line-height: 1.4;
}
#product .variantseo-references li strong {
  color: var(--xa-texte);
}

@media (max-width: 767px) {
  #wrapper .xa-psec__title,
  #product #wrapper .featured-products > h2 {
    margin-top: 1.75rem;
  }
  #product .xa-ident {
    gap: .75rem 1.5rem;
    padding: .8rem .9rem;
  }
  #product .xa-ident__logo {
    width: 136px;
    height: 64px;
    padding: 6px 10px;
  }
  #product #block-reassurance ul {
    grid-template-columns: minmax(0, 1fr);
  }
  #product #block-reassurance li + li {
    border-top: 1px solid var(--xa-trait);
    border-left: 0;
  }
  #product #block-reassurance li .block-reassurance-item {
    flex-direction: row;
    gap: .75rem;
    padding: .6rem .8rem;
    text-align: left;
  }
  #product #block-reassurance li .block-reassurance-item img {
    width: 40px;
    height: 40px;
    padding: 9px;
  }
  #product #product-availability.xa-avail--delay {
    font-size: 1.2rem;
  }
  #product .xa-gal-nav {
    top: calc(50cqw - 19px);
    width: 38px;
    height: 38px;
    background-size: 18px;
  }
  #product .xa-gal-nav--prev {
    left: 8px;
  }
  #product .xa-gal-nav--next {
    right: 8px;
  }
  #product .images-container .product-images .thumb {
    width: 72px;
    height: 72px;
  }
}
#product .xa-psec .tab-pane.xa-details {
  display: grid;
}
/* sans fiche technique, le délai de livraison prend toute la largeur */
#product .xa-details:not(:has(.xa-details__sheet)):not(:has(.xa-details__refs)) > .xa-details__delivery {
  grid-column: 1 / -1;
}
@media (max-width: 767px) {
  #product .delivery-info-multi {
    grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  }
}
/* blocs vides du bloc d'achat (produit sans déclinaison ni remise) : pas d'espace en haut */
#product .product-actions .product-variants:not(:has(*)),
#product .product-actions .product-discounts:not(:has(*)) {
  display: none;
}
/* tablette : la réassurance passe en liste sous la galerie */
@media (min-width: 768px) and (max-width: 991px) {
  #product #block-reassurance li + li {
    border-top: 1px solid var(--xa-trait);
    border-left: 0;
  }
  #product #block-reassurance li .block-reassurance-item {
    flex-direction: row;
    gap: .75rem;
    text-align: left;
  }
}

/* Listes dans les descriptions (courte et longue) : retrait pour que les puces restent dans le
   cadre (le thème met les listes à 0 de marge ; certaines descriptions imposent disc/circle). */
#product .xa-short ul,
#product .xa-short ol,
#product .xa-psec .product-description ul,
#product .xa-psec .product-description ol {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
  list-style-position: outside;
}
#product .xa-psec .product-description ul:not([style*="list-style"]) {
  list-style-type: disc;
}
#product .xa-psec .product-description ol:not([style*="list-style"]) {
  list-style-type: decimal;
}
#product .xa-short li,
#product .xa-psec .product-description li {
  margin: 0 0 .3rem;
  padding-left: .15rem;
}
#product .xa-short li::marker,
#product .xa-psec .product-description li::marker {
  color: var(--xa-rouge-fonce);
}
#product .xa-short ul ul,
#product .xa-psec .product-description ul ul {
  margin: .3rem 0 .2rem;
}

/* Ordinateur : image principale un peu moins grande (635 -> ~575 px), colonne d'achat élargie */
@media (min-width: 992px) {
  #product .xa-product__top > .xa-product__gallery {
    flex: 0 0 53%;
    width: 53%;
    max-width: 53%;
  }
  #product .xa-product__top > .xa-product__summary {
    flex: 0 0 47%;
    width: 47%;
    max-width: 47%;
  }
}

/* ==========================================================================
   Panier, tunnel de commande et contact — retouches du 18/11/2026
   Original : private/tunnel-2026-11-18/avant/
   ========================================================================== */

/* Clic à la souris : plus de cadre noir du navigateur. Au clavier (Tab), le contour
   rouge reste affiché : l'accessibilité est conservée. */
html :focus:not(:focus-visible) {
  outline: 0;
}
:root :focus-visible {
  outline: 2px solid var(--xa-rouge);
  outline-offset: 2px;
}

/* En-tête : le bouton panier rouge ne touche plus la recherche */
@media (min-width: 768px) {
  #header .header-nav #_desktop_cart {
    margin-right: .75rem;
  }
  #header .header-nav #_desktop_cart .blockcart {
    display: flex;
    align-items: center;
    height: 36px;
    margin-top: 5px;
    padding: 0 .8rem;
    border-radius: var(--xa-rayon);
  }
  #header .header-nav #_desktop_cart .blockcart .header {
    margin: 0;
  }
}

/* --------------------------------------------------------------------------
   Cartes communes panier / tunnel
   -------------------------------------------------------------------------- */
body#cart .cart-container,
body#cart .cart-summary,
body#checkout #js-checkout-summary {
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  box-shadow: var(--xa-ombre);
  overflow: hidden;
}
body#cart .cart-container > .separator {
  display: none;
}

/* Titre « Panier » : même dessin que les titres du site */
body#cart .cart-container h1.h1 {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.05;
  text-transform: uppercase;
}
body#cart .cart-container h1.h1::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 6px 0 0 -1px rgba(169, 147, 117, .35);
  transform: skewX(-0deg);
}
body#cart .cart-container > .card-block:first-child {
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--xa-trait);
  background: linear-gradient(180deg, #fff 0%, var(--xa-fond) 100%);
}

/* Récapitulatif (colonne de droite) */
body#cart .cart-summary .cart-summary-line,
body#checkout #js-checkout-summary .cart-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: .75rem;
}
body#cart .cart-summary .cart-summary-line .value,
body#checkout #js-checkout-summary .cart-summary-line .value {
  float: none;
  white-space: nowrap;
}
/* ligne Livraison du panier : la zone du hook (souvent vide) passe sous la ligne */
body#cart .cart-summary .cart-summary-line {
  flex-wrap: wrap;
}
body#cart .cart-summary .cart-summary-line > div {
  flex: 0 0 100%;
}
body#cart .cart-summary .cart-summary-line > div:has(> small:empty) {
  display: none;
}
/* le clearfix du thème (::after) devenait un 3e élément flex et décentrait les montants */
body#cart .cart-summary .cart-summary-line::after,
body#checkout #js-checkout-summary .cart-summary-line::after {
  content: none;
  display: none;
}
body#cart .cart-summary .cart-total.bold,
body#checkout #js-checkout-summary .cart-total {
  margin-top: .25rem;
}
body#cart .cart-summary .cart-total.bold .label,
body#cart .cart-summary .cart-total.bold .value,
body#checkout #js-checkout-summary .cart-total .label,
body#checkout #js-checkout-summary .cart-total .value {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
body#checkout #js-checkout-summary .cart-summary-totals {
  padding-bottom: .9rem;
  border-top: 1px solid var(--xa-trait);
  background: var(--xa-fond);
}

/* Message PayPal « Payez en 4 fois » : détaché des taxes, sur sa propre ligne */
body#cart .paypal-pay-later-message,
body#checkout #js-checkout-summary .paypal-pay-later-message {
  clear: both;
  margin: .7rem 0 0;
  padding: .55rem 0 0;
  border-top: 1px dashed #d3d3cd;
}

/* Code promo : bloc séparé, lien avec une étiquette */
body#cart .cart-summary .block-promo,
body#checkout #js-checkout-summary .block-promo {
  border-top: 1px solid var(--xa-trait);
}
body#cart .cart-summary .block-promo .promo-code-button,
body#checkout #js-checkout-summary .block-promo .promo-code-button {
  margin: 0;
  padding: .9rem 1.25rem;
}
body#cart .cart-summary .block-promo .promo-code-button a,
body#checkout #js-checkout-summary .block-promo .promo-code-button a {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--xa-rouge-fonce);
  font-weight: 600;
}
body#cart .cart-summary .block-promo .promo-code-button a::before,
body#checkout #js-checkout-summary .block-promo .promo-code-button a::before {
  content: "";
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23a99375' stroke-width='2' stroke-linejoin='round'%3E%3Cpath d='M3 12V4h8l10 10-8 8z'/%3E%3Ccircle cx='7.5' cy='8.5' r='1.6'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
body#cart .cart-summary .block-promo .promo-code,
body#checkout #js-checkout-summary .block-promo .promo-code {
  padding: 0 1.25rem 1rem;
  background: transparent;
}

/* Bouton Commander du panier : large, impossible à rater */
body#cart .cart-detailed-actions {
  padding: 1rem 1.25rem 1.1rem;
  border-top: 1px solid var(--xa-trait);
  background: var(--xa-fond);
}
body#cart .cart-detailed-actions .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  width: 100%;
  min-height: 52px;
  font-size: 1.3rem;
}
body#cart .cart-detailed-actions .btn-primary::after {
  content: "";
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease;
}
body#cart .cart-detailed-actions .btn-primary:hover::after {
  transform: translateX(3px);
}

/* « Continuer mes achats » */
body#cart .cart-grid-body > a.label {
  display: inline-flex;
  align-items: center;
  margin: .9rem 0 0;
  color: var(--xa-gris);
  font-weight: 600;
}
body#cart .cart-grid-body > a.label:hover {
  color: var(--xa-rouge-fonce);
}

/* Cross-selling du panier (module crosssellcart) : mis en avant, en cartes */
body#cart .crosssell-products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .75rem;
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem 1.25rem;
  border: 1px solid var(--xa-trait);
  border-top: 3px solid var(--xa-rouge);
  border-radius: var(--xa-rayon-l);
  background: linear-gradient(180deg, var(--xa-fond) 0%, #fff 6rem);
  box-shadow: var(--xa-ombre);
}
body#cart .crosssell-products .crosssell-title {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 .25rem;
  padding: 0;
  border: 0;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
body#cart .crosssell-products .crosssell-title::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 5px 0 0 -1px rgba(169, 147, 117, .35);
  transform: skewX(-0deg);
}
body#cart .crosssell-products .product-compact-item {
  gap: .85rem;
  margin: 0;
  padding: .7rem .75rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
body#cart .crosssell-products .product-compact-item:hover {
  border-color: rgba(169, 147, 117, .45);
  background: #fff;
  box-shadow: var(--xa-ombre-survol);
  transform: translateY(-2px);
}
body#cart .crosssell-products .product-compact-image {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-color: var(--xa-trait);
  background: #fff;
}
body#cart .crosssell-products .product-compact-image img {
  object-fit: contain;
}
body#cart .crosssell-products .product-compact-info {
  min-width: 0;
}
body#cart .crosssell-products .product-compact-name {
  margin-bottom: .2rem;
  color: var(--xa-texte);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.25;
}
body#cart .crosssell-products .product-compact-price {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.3rem;
  font-weight: 700;
}
body#cart .crosssell-products .btn-compact {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--xa-rouge);
  transition: background .15s ease, transform .15s ease;
}
body#cart .crosssell-products .btn-compact:hover {
  background: var(--xa-rouge-fonce);
  transform: scale(1.06);
}
@media (max-width: 575px) {
  body#cart .crosssell-products {
    grid-template-columns: minmax(0, 1fr);
    padding: 1rem;
  }
}

/* Réassurance du panier et du tunnel : même panneau que sur la fiche produit, en colonne */
body#cart #block-reassurance,
body#checkout #block-reassurance {
  margin-top: 1rem;
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-top: 3px solid var(--xa-rouge);
  border-radius: var(--xa-rayon-l);
  background: #fff;
}
body#cart #block-reassurance ul,
body#checkout #block-reassurance ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
body#cart #block-reassurance li,
body#checkout #block-reassurance li {
  margin: 0;
  padding: 0;
  border: 0;
}
body#cart #block-reassurance li + li,
body#checkout #block-reassurance li + li {
  border-top: 1px solid var(--xa-trait);
}
body#cart #block-reassurance li .block-reassurance-item,
body#checkout #block-reassurance li .block-reassurance-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: .8rem 1rem;
}
body#cart #block-reassurance li .block-reassurance-item img,
body#checkout #block-reassurance li .block-reassurance-item img {
  box-sizing: border-box;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 10px;
  border-radius: 50%;
  background: var(--xa-fond);
  object-fit: contain;
}
body#cart #block-reassurance li .block-reassurance-item span,
body#checkout #block-reassurance li .block-reassurance-item span {
  margin: 0;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
  line-height: 1.15;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Tunnel : étapes 1-2-3-4
   -------------------------------------------------------------------------- */
body#checkout section.checkout-step {
  margin-bottom: .75rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
}
body#checkout section.checkout-step.-current {
  border-top: 3px solid var(--xa-rouge);
  box-shadow: 0 10px 28px -20px rgba(19, 20, 23, .55);
}
body#checkout section.checkout-step .step-title {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0;
  padding: 1rem 1.25rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.3rem, 2.2vw, 1.6rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
  text-transform: uppercase;
}
body#checkout section.checkout-step .step-number,
body#checkout section.checkout-step .step-title .done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2rem;
  margin: 0;
  background: var(--xa-noir);
  color: #fff;
  font-family: var(--xa-cond);
  font-size: 1.2rem;
  font-style: normal;
  clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}
body#checkout section.checkout-step.-current .step-number {
  background: var(--xa-rouge);
}
body#checkout section.checkout-step .step-title .done {
  display: none;
  overflow: hidden;
  background: var(--xa-vert);
  font-family: "Material Icons";
  font-size: 1.3rem;
}
body#checkout section.checkout-step.-complete:not(.-current) .step-title .done {
  display: inline-flex;
}
body#checkout section.checkout-step.-complete:not(.-current) .step-number {
  display: none;
}
body#checkout section.checkout-step.-unreachable .step-title {
  color: var(--xa-gris);
}
body#checkout section.checkout-step.-unreachable .step-number {
  background: var(--xa-fond-2);
  color: var(--xa-gris);
}
body#checkout section.checkout-step .step-edit {
  margin-left: auto;
  color: var(--xa-gris);
  font-family: "Noto Sans", sans-serif;
  font-size: .85rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}
body#checkout section.checkout-step .step-edit .material-icons {
  font-size: 1rem;
}
body#checkout section.checkout-step.-reachable .step-title:hover .step-edit {
  color: var(--xa-rouge-fonce);
}
body#checkout section.checkout-step .content {
  padding-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   Tunnel : transporteurs
   -------------------------------------------------------------------------- */
body#checkout #js-delivery .delivery-option {
  position: relative;
  align-items: flex-start;
  margin: 0 0 .85rem;
  padding: 1rem .9rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
body#checkout #js-delivery .delivery-option:hover {
  border-color: #c9c9c3;
  box-shadow: 0 10px 22px -18px rgba(19, 20, 23, .5);
}
body#checkout #js-delivery .delivery-option:has(input:checked) {
  border-color: var(--xa-rouge);
  background: #fdfcfc;
  box-shadow: inset 0 0 0 1px var(--xa-rouge);
}
body#checkout #js-delivery .delivery-option:has(.xa-carrier-badges) {
  margin-top: 1.35rem;
  padding-top: 1.35rem;
}
/* Ancienne étiquette « Premium » (custom.css) remplacée par les pastilles ci-dessous */
body#checkout #js-delivery .delivery-option.quality1 {
  margin-top: 1.35rem;
  border: 1px solid #dcb15a;
  background: linear-gradient(135deg, #fff8ea 0%, #fff 55%);
}
body#checkout #js-delivery .delivery-option.quality1:has(input:checked) {
  border-color: var(--xa-rouge);
}
body#checkout #js-delivery .delivery-option.quality1::before {
  content: none;
  display: none;
}
body#checkout #js-delivery .xa-carrier-badges {
  position: absolute;
  top: -12px;
  left: .9rem;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
}
body#checkout #js-delivery .xa-carrier-badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  height: 24px;
  padding: 0 .7rem;
  border-radius: 999px;
  color: #fff;
  font-family: var(--xa-cond);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 4px 10px -6px rgba(19, 20, 23, .6);
}
body#checkout #js-delivery .xa-carrier-badge--cheap {
  background: var(--xa-vert);
}
body#checkout #js-delivery .xa-carrier-badge--premium {
  background: linear-gradient(90deg, #b9831f 0%, #e0b457 100%);
}
body#checkout #js-delivery .xa-carrier-badge::before {
  content: "";
  width: 13px;
  height: 13px;
  background: center / contain no-repeat;
}
body#checkout #js-delivery .xa-carrier-badge--cheap::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
body#checkout #js-delivery .xa-carrier-badge--premium::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2.5l2.9 6.1 6.6.8-4.9 4.6 1.3 6.6L12 17.3l-5.9 3.3 1.3-6.6-4.9-4.6 6.6-.8z' fill='%23fff'/%3E%3C/svg%3E");
}
body#checkout #js-delivery .delivery-option .delivery-option-2 {
  margin: 0;
  cursor: pointer;
}
body#checkout #js-delivery .delivery-option img {
  max-width: 64px;
  max-height: 48px;
  border-radius: 4px;
  object-fit: contain;
}
body#checkout #js-delivery .carrier-name {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.1;
}
body#checkout #js-delivery .carrier-delay {
  color: var(--xa-gris);
  font-size: .82rem;
  font-style: normal;
  line-height: 1.35;
}
body#checkout #js-delivery .carrier-price {
  display: block;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.1;
  text-align: right;
  white-space: nowrap;
}
body#checkout #js-delivery .noteport {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  margin-top: .7rem;
  padding-top: .6rem;
  border-top: 1px dashed var(--xa-trait);
  color: var(--xa-gris);
  font-size: .8rem;
  font-weight: 500;
  line-height: 1.35;
}
body#checkout #js-delivery .noteport::before {
  content: "";
  flex: 0 0 16px;
  height: 16px;
  margin-top: 1px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%236b6e73' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 575px) {
  body#checkout #js-delivery .carrier-price {
    margin-top: .35rem;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   Tunnel : moyens de paiement
   -------------------------------------------------------------------------- */
body#checkout .payment-options > div > .payment-option {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 .5rem;
  padding: .7rem .9rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: #fff;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
body#checkout .payment-options > div > .payment-option:hover {
  border-color: #c9c9c3;
}
body#checkout .payment-options > div > .payment-option:has(input:checked) {
  border-color: var(--xa-rouge);
  background: #fdfcfc;
  box-shadow: inset 3px 0 0 var(--xa-rouge);
}
body#checkout .payment-options .payment-option .custom-radio {
  float: none;
  flex: 0 0 auto;
  margin: 0;
}
body#checkout .payment-options .payment-option label {
  display: flex;
  flex: 1 1 auto;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem .75rem;
  margin: 0;
  color: var(--xa-texte);
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}
body#checkout .payment-options .payment-option label img {
  max-height: 30px;
  margin: 0;
}
body#checkout .payment-options .js-additional-information:not(.ps-hidden) {
  margin: -.2rem 0 .75rem;
  padding: .8rem 1rem;
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
}

/* CGV */
body#checkout #conditions-to-approve {
  margin: 1.1rem 0 .75rem;
  padding: .8rem 1rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
}
body#checkout #conditions-to-approve ul {
  margin: 0;
}
body#checkout #conditions-to-approve li {
  display: flex;
  align-items: center;
  gap: .6rem;
}
body#checkout #conditions-to-approve li .float-xs-left {
  float: none;
  display: flex;
}
body#checkout #conditions-to-approve li .custom-checkbox {
  margin: 0;
}
body#checkout #conditions-to-approve li .condition-label {
  margin: 0;
  padding: 0;
}
body#checkout #conditions-to-approve .condition-label label {
  margin: 0;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Tunnel : récapitulatif final et bouton Commander
   -------------------------------------------------------------------------- */
body#checkout #order-summary-content {
  margin-top: 1.5rem;
  padding-top: 0;
}
body#checkout #order-summary-content h4.h4.black:first-child {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
}
body#checkout #order-summary-content h4.h4.black:first-child::before {
  content: "";
  flex: 0 0 auto;
  width: 8px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 5px 0 0 -1px rgba(169, 147, 117, .35);
  transform: skewX(-0deg);
}
body#checkout #order-summary-content h4.h4:not(.black),
body#checkout #order-summary-content #order-items h3.card-title {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin: 1rem 0 .6rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
body#checkout #order-summary-content .step-edit {
  color: var(--xa-gris);
  font-family: "Noto Sans", sans-serif;
  font-size: .82rem;
  font-weight: 600;
  text-transform: none;
}
body#checkout #order-summary-content .step-edit:hover {
  color: var(--xa-rouge-fonce);
}
body#checkout #order-summary-content .card.noshadow {
  height: calc(100% - 1rem);
  margin-bottom: 1rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
}
body#checkout #order-summary-content .addresshead {
  margin-bottom: .5rem;
  color: var(--xa-gris);
  font-family: var(--xa-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-transform: uppercase;
}
body#checkout #order-summary-content .summary-selected-carrier {
  margin-bottom: .5rem;
  padding: .8rem 1rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
}
body#checkout #order-summary-content .summary-selected-carrier > .row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
body#checkout #order-summary-content .summary-selected-carrier img {
  max-width: 56px;
  border-radius: 4px;
}
body#checkout #order-summary-content .summary-selected-carrier .carrier-name,
body#checkout #order-summary-content .summary-selected-carrier .carrier-price {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.2rem;
  font-weight: 700;
}
body#checkout #order-summary-content .summary-selected-carrier .carrier-delay {
  color: var(--xa-gris);
  font-size: .8rem;
}
body#checkout #order-summary-content .order-confirmation-table {
  padding: 1rem 1.1rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
}
body#checkout #order-summary-content .order-confirmation-table hr {
  border-color: var(--xa-trait);
}
body#checkout #order-summary-content .order-confirmation-table .details,
body#checkout #order-summary-content .order-confirmation-table .details a {
  color: var(--xa-noir);
  font-weight: 600;
}
body#checkout #order-summary-content .order-confirmation-table table {
  width: 100%;
  margin-top: .5rem;
}
body#checkout #order-summary-content .order-confirmation-table table td {
  padding: .35rem .25rem;
}
body#checkout #order-summary-content .order-confirmation-table table tr.font-weight-bold td {
  padding-top: .75rem;
  border-top: 2px solid var(--xa-noir);
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.6rem;
  line-height: 1.1;
}
body#checkout #order-summary-content .order-confirmation-table table tr.font-weight-bold td:last-child {
  color: var(--xa-rouge-fonce);
}

body#checkout #payment-confirmation {
  margin-top: 1.25rem;
}
body#checkout #payment-confirmation .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  width: 100%;
  min-height: 56px;
  font-size: 1.45rem;
  box-shadow: 0 12px 24px -16px rgba(169, 147, 117, .9);
}
body#checkout #payment-confirmation .btn-primary::before {
  content: "";
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%23fff' stroke-width='2.2' stroke-linejoin='round'%3E%3Crect x='4.5' y='10.5' width='15' height='10.5' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}
body#checkout #payment-confirmation .btn-primary.disabled {
  box-shadow: none;
}
body#checkout .xa-pay-safe {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem 1.1rem;
  margin: .75rem 0 0;
  color: var(--xa-gris);
  font-size: .82rem;
  font-weight: 600;
}
body#checkout .xa-pay-safe span {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
}
body#checkout .xa-pay-safe span::before {
  content: "";
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12.5l5 5L20 6.5' fill='none' stroke='%231f7a3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* --------------------------------------------------------------------------
   Page contact (contact.tpl : styles en ligne, d'où les !important ciblés)
   -------------------------------------------------------------------------- */
body#contact #contact-hub-main > h1 {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.1rem !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--xa-noir) !important;
  font-family: var(--xa-cond) !important;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  text-align: left !important;
}
body#contact #contact-hub-main > h1::before {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 7px 0 0 -1px rgba(169, 147, 117, .35);
  transform: skewX(-0deg);
}
body#contact #hub-intro > p:first-child {
  margin: 0 0 1.5rem !important;
  text-align: left !important;
}
body#contact #hub-intro > p:first-child a {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1rem;
  border: 1px solid var(--xa-trait);
  border-left: 3px solid var(--xa-rouge);
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
  color: var(--xa-noir) !important;
  font-size: .95rem;
  font-style: normal;
  text-decoration: none !important;
  transition: border-color .15s ease, background .15s ease;
}
body#contact #hub-intro > p:first-child a::before {
  content: "?";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--xa-rouge);
  color: var(--xa-sur-accent);
  font-family: var(--xa-cond);
  font-size: 1.2rem;
  font-weight: 700;
}
body#contact #hub-intro > p:first-child a:hover {
  border-color: rgba(169, 147, 117, .45);
  background: #fff;
}
body#contact #hub-intro > p:nth-child(2) {
  margin: 0 0 .5rem !important;
  color: var(--xa-gris);
  font-family: var(--xa-cond);
  font-size: 1.25rem !important;
  letter-spacing: .03em;
  text-align: left !important;
}
body#contact .contact-grid-system .category-card {
  position: relative;
  min-height: 150px;
  padding: 1.5rem .75rem 1.25rem;
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
}
body#contact .contact-grid-system .category-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--xa-rouge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
body#contact .contact-grid-system .category-card:hover,
body#contact .contact-grid-system .category-card:focus-visible {
  border-color: rgba(169, 147, 117, .4);
  box-shadow: var(--xa-ombre-survol);
}
body#contact .contact-grid-system .category-card:hover::after,
body#contact .contact-grid-system .category-card:focus-visible::after {
  transform: scaleX(1);
}
body#contact .contact-grid-system .category-card i {
  box-sizing: content-box;
  width: 34px;
  height: 34px;
  margin-bottom: .85rem;
  padding: 15px;
  border-radius: 50%;
  background: #f6f4f1;
  color: var(--xa-rouge-fonce);
  font-size: 34px;
  line-height: 34px;
}
body#contact .contact-grid-system .category-card span {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.15rem;
  letter-spacing: .03em;
  line-height: 1.15;
}
body#contact .info-box-result {
  border: 1px solid var(--xa-trait);
  border-top: 3px solid var(--xa-rouge);
  border-radius: var(--xa-rayon-l);
}
body#contact .info-box-result h3 {
  font-family: var(--xa-cond);
  font-size: 1.6rem;
  font-style: italic;
}
body#contact .info-box-result .tip-box {
  border-color: var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
  color: var(--xa-texte);
}
body#contact .action-buttons .btn {
  min-height: 44px;
  border-radius: var(--xa-rayon);
  font-family: var(--xa-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body#contact .action-buttons #open-form {
  border-color: var(--xa-rouge);
  background: var(--xa-rouge);
  color: var(--xa-sur-accent);
}
body#contact .action-buttons #open-form:hover {
  border-color: var(--xa-rouge-fonce);
  background: var(--xa-rouge-fonce);
}
body#contact #final-form-container .form-control {
  border-radius: var(--xa-rayon);
}
/* Colonne Informations */
body#contact #left-column .contact-rich {
  padding: 1.1rem 1.1rem .5rem;
  border: 1px solid var(--xa-trait);
  border-top: 3px solid var(--xa-rouge);
  border-radius: var(--xa-rayon-l);
  background: var(--xa-fond);
}
body#contact #left-column .contact-rich h4 {
  margin: 0 0 1rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
}
body#contact #left-column .contact-rich .block {
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}
body#contact #left-column .contact-rich .block .icon {
  float: none;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  text-align: center;
}
body#contact #left-column .contact-rich .block .icon .material-icons {
  margin: 8px 0 0;
  color: var(--xa-rouge-fonce);
  font-size: 24px;
}
body#contact #left-column .contact-rich .block .data {
  padding-top: .45rem;
  color: var(--xa-texte);
  font-size: .9rem;
}
body#contact #left-column .contact-rich hr {
  border-color: var(--xa-trait);
}
/* l'étape Paiement perdait son cadre (règle d'un module ciblant #checkout-payment-step) */
body#checkout section#checkout-payment-step.checkout-step {
  border: 1px solid var(--xa-trait);
}
body#checkout section#checkout-payment-step.checkout-step.-current {
  border-top: 3px solid var(--xa-rouge);
}

/* --------------------------------------------------------------------------
   Mobile : zones tactiles agrandies sans rien déplacer (18/11/2026)
   padding + marge négative de même valeur = même mise en page, cible plus grande.
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  #wrapper .breadcrumb li a {
    display: inline-block;
    padding: 10px 2px;
    margin: -10px -2px;
  }
  #header #_mobile_user_info .user-info a {
    display: inline-block;
    padding: 12px 10px;
    margin: -12px -10px;
  }
  #wrapper .xa-more {
    position: relative;
  }
  #wrapper .xa-more::before {
    content: "";
    position: absolute;
    top: -10px;
    right: -6px;
    bottom: -10px;
    left: -6px;
  }
}

/* ==========================================================================
   Espace client : connexion, inscription, mon compte — lissage du 20/11/2026
   Original : private/compte-2026-11-20/avant/xadv-v2.css
   ========================================================================== */

/* Champs de formulaire (compte, connexion, tunnel, contact) : blancs, arrondis, focus accent */
:is(body#my-account, body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#guest-tracking, body#authentication, body#registration, body#password, body#checkout, body#contact) #wrapper .form-control {
  min-height: 44px;
  padding: .55rem .8rem;
  border: 1px solid #cfcfca;
  border-radius: var(--xa-rayon);
  background: #fff;
  color: var(--xa-texte);
  box-shadow: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
:is(body#my-account, body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#guest-tracking, body#authentication, body#registration, body#password, body#checkout, body#contact) #wrapper .form-control:focus {
  border-color: var(--xa-rouge);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(169, 147, 117, .14);
}
:is(body#my-account, body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#guest-tracking, body#authentication, body#registration, body#password, body#checkout, body#contact) #wrapper .form-control-label {
  color: var(--xa-noir);
  font-weight: 600;
}
:is(body#my-account, body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#guest-tracking, body#authentication, body#registration, body#password, body#checkout, body#contact) #wrapper .form-control-comment {
  color: var(--xa-gris);
  font-size: .8rem;
}
/* Bouton « Montrer » du mot de passe, collé au champ */
:is(body#identity, body#authentication, body#registration, body#password, body#checkout) #wrapper .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
:is(body#identity, body#authentication, body#registration, body#password, body#checkout) #wrapper .input-group-btn .btn {
  min-height: 44px;
  border: 0;
  border-radius: 0 var(--xa-rayon) var(--xa-rayon) 0;
  background: var(--xa-noir-2);
  color: #fff;
  font-family: var(--xa-cond);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
:is(body#identity, body#authentication, body#registration, body#password, body#checkout) #wrapper .input-group-btn .btn:hover {
  background: var(--xa-noir);
}

/* Pages du compte : titre au dessin du site, contenu en carte */
:is(body#my-account, body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#guest-tracking, body#authentication, body#registration, body#password, body#module-payplug-cards) #main .page-header h1 {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin: 0 0 1.1rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}
:is(body#my-account, body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#guest-tracking, body#authentication, body#registration, body#password, body#module-payplug-cards) #main .page-header h1::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 6px 0 0 -1px rgba(169, 147, 117, .35);
  transform: skewX(-0deg);
}
:is(body#identity, body#address, body#authentication, body#registration, body#password, body#guest-tracking, body#module-payplug-cards) #main #content.page-content {
  padding: 1.5rem 1.5rem 1.25rem;
  border: 1px solid var(--xa-trait);
  border-top: 3px solid var(--xa-rouge);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
}
:is(body#history, body#order-slip, body#discount, body#order-follow, body#addresses, body#order-detail, body#my-account) #main #content.page-content {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

/* Connexion : liens « mot de passe oublié » et « pas de compte » */
body#authentication #main .forgot-password a {
  color: var(--xa-rouge-fonce);
  font-weight: 600;
}
body#authentication #main hr {
  border-color: var(--xa-trait);
}
body#authentication #main .no-account {
  margin: 0;
  text-align: center;
}
body#authentication #main .no-account a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: .45rem 1.2rem;
  border: 2px solid var(--xa-noir);
  border-radius: var(--xa-rayon);
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .15s ease, color .15s ease;
}
body#authentication #main .no-account a:hover {
  background: var(--xa-noir);
  color: #fff;
}
body#registration #main .register-form > p a {
  color: var(--xa-rouge-fonce);
}

/* Mon compte : tuiles comme la page contact */
body#my-account #content > .row {
  margin: 0;
}
body#my-account #content .links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
}
body#my-account #content .links a {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
}
body#my-account #content .links a .link-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .8rem;
  height: 100%;
  min-height: 150px;
  margin: 0;
  padding: 1.4rem .9rem 1.2rem;
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .03em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
body#my-account #content .links a .link-item::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--xa-rouge);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
body#my-account #content .links a:hover .link-item,
body#my-account #content .links a:focus-visible .link-item {
  border-color: rgba(169, 147, 117, .4);
  box-shadow: var(--xa-ombre-survol);
  transform: translateY(-2px);
}
body#my-account #content .links a:hover .link-item::after,
body#my-account #content .links a:focus-visible .link-item::after {
  transform: scaleX(1);
}
body#my-account #content .links a .link-item i {
  box-sizing: content-box;
  width: 30px;
  height: 30px;
  margin: 0;
  padding: 14px;
  border-radius: 50%;
  background: #f6f4f1;
  color: var(--xa-rouge-fonce);
  font-size: 30px;
  line-height: 30px;
}
body#my-account #main .page-footer .text-sm-center {
  margin-top: 1.5rem;
  text-align: center;
}
body#my-account #main .page-footer .text-sm-center a {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  min-height: 44px;
  padding: .4rem 1.2rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: #fff;
  color: var(--xa-gris);
  font-weight: 600;
}
body#my-account #main .page-footer .text-sm-center a::before {
  content: "";
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15 4h4v16h-4M10 8l-4 4 4 4M6 12h10' fill='none' stroke='%236b6e73' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
body#my-account #main .page-footer .text-sm-center a:hover {
  border-color: var(--xa-rouge);
  color: var(--xa-rouge-fonce);
}
@media (max-width: 991px) {
  body#my-account #content .links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 479px) {
  body#my-account #content .links {
    gap: .6rem;
  }
  body#my-account #content .links a .link-item {
    min-height: 120px;
    padding: 1rem .5rem .9rem;
    font-size: 1rem;
  }
  body#my-account #content .links a .link-item i {
    width: 26px;
    height: 26px;
    padding: 11px;
    font-size: 26px;
    line-height: 26px;
  }
}

/* Liens de bas de page du compte (« Retour à votre compte », « Accueil ») */
:is(body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#module-payplug-cards) #main .page-footer {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-top: 1.25rem;
}
:is(body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#module-payplug-cards) #main .page-footer .account-link {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  min-height: 40px;
  margin: 0;
  padding: .35rem 1rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
  background: #fff;
  color: var(--xa-texte);
  font-weight: 600;
  transition: border-color .15s ease, color .15s ease;
}
:is(body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#module-payplug-cards) #main .page-footer .account-link:hover {
  border-color: var(--xa-rouge);
  color: var(--xa-rouge-fonce);
}
:is(body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#module-payplug-cards) #main .page-footer .account-link i {
  font-size: 1.15rem;
}

/* Adresses : cartes */
body#addresses #content .address {
  display: flex;
  flex-direction: column;
  height: calc(100% - 1.5rem);
  margin-bottom: 1.5rem;
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
}
body#addresses #content .address .address-body {
  flex: 1 1 auto;
  padding: 1rem 1.1rem;
}
body#addresses #content .address .address-body h4 {
  margin: 0 0 .5rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
}
body#addresses #content .address address {
  margin: 0;
  color: var(--xa-texte);
  font-size: .9rem;
  line-height: 1.5;
}
body#addresses #content .address .address-footer {
  display: flex;
  gap: 1.1rem;
  padding: .65rem 1.1rem;
  border-top: 1px solid var(--xa-trait);
  background: var(--xa-fond);
}
body#addresses #content .address .address-footer a {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  color: var(--xa-gris);
  font-size: .85rem;
  font-weight: 600;
}
body#addresses #content .address .address-footer a:hover {
  color: var(--xa-rouge-fonce);
}
body#addresses #content .address .address-footer a i {
  font-size: 1rem;
}
body#addresses #content .addresses-footer {
  margin: 0 0 .5rem;
}
body#addresses #content .addresses-footer a {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  min-height: 44px;
  padding: .45rem 1.1rem;
  border-radius: var(--xa-rayon);
  background: var(--xa-rouge);
  color: var(--xa-sur-accent);
  font-family: var(--xa-cond);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
body#addresses #content .addresses-footer a:hover {
  background: var(--xa-rouge-fonce);
}
body#addresses #content .addresses-footer a span {
  margin: 0;
}

/* Tableaux (historique, avoirs, bons de réduction, retours, articles d'une commande) */
:is(body#history, body#order-slip, body#discount, body#order-follow, body#order-detail) #content .table {
  overflow: hidden;
  border: 1px solid var(--xa-trait);
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
}
:is(body#history, body#order-slip, body#discount, body#order-follow, body#order-detail) #content .table th,
:is(body#history, body#order-slip, body#discount, body#order-follow, body#order-detail) #content .table td {
  padding: .7rem .8rem;
  border: 0;
  border-bottom: 1px solid var(--xa-trait);
  vertical-align: middle;
}
:is(body#history, body#order-slip, body#discount, body#order-follow, body#order-detail) #content .table thead th {
  background: var(--xa-noir);
  color: #fff;
  font-family: var(--xa-cond);
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}
:is(body#history, body#order-slip, body#discount, body#order-follow, body#order-detail) #content .table tbody tr:nth-of-type(odd) {
  background: #fff;
}
:is(body#history, body#order-slip, body#discount, body#order-follow, body#order-detail) #content .table tbody tr:nth-of-type(even) {
  background: var(--xa-fond);
}
:is(body#history, body#order-slip, body#discount, body#order-follow, body#order-detail) #content .table tbody tr:last-child td {
  border-bottom: 0;
}
:is(body#history, body#order-detail) #content .label.label-pill,
:is(body#history, body#order-detail) #content .history-line .label {
  display: inline-block;
  padding: .3rem .65rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: normal;
}
body#history #content .table td a,
body#order-slip #content .table td a,
body#order-detail #content .table td a {
  color: var(--xa-rouge-fonce);
  font-weight: 700;
}
/* Historique en mobile : une carte par commande */
body#history #content .orders {
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}
body#history #content .orders .order {
  margin-right: 0;
  margin-left: 0;
  margin-bottom: .75rem;
  padding: .9rem 1rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
}
body#history #content .orders .order h3 a {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.2rem;
  font-weight: 700;
}

/* Détail d'une commande : blocs en cartes, titres au style du site */
body#order-detail #content .box {
  margin-bottom: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon-l);
  background: #fff;
  box-shadow: var(--xa-ombre);
}
body#order-detail #content #order-infos .box:first-child {
  border-top: 3px solid var(--xa-rouge);
}
body#order-detail #content #order-infos .box:first-child strong {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.25rem;
  font-weight: 700;
}
body#order-detail #content #order-infos ul {
  margin: 0;
}
body#order-detail #content #order-infos li {
  padding: .2rem 0;
}
body#order-detail #content .box h3,
body#order-detail #content .box h4 {
  margin: 0 0 .75rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}
body#order-detail #content .addresses {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -15px;
}
body#order-detail #content .addresses .box {
  height: calc(100% - 1rem);
  background: var(--xa-fond);
  box-shadow: none;
}
body#order-detail #content .addresses address {
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
}
body#order-detail #content .box .table {
  box-shadow: none;
}
body#order-detail #content #order-products tfoot td,
body#order-detail #content #order-products tfoot th {
  background: #fff;
}
body#order-detail #content #order-products tfoot tr.line-total td,
body#order-detail #content #order-products tfoot tr:last-child td {
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: 1.35rem;
  font-weight: 700;
}
body#order-detail #content .order-items .order-line {
  padding: .75rem 0;
  border-bottom: 1px solid var(--xa-trait);
}
body#order-detail #content .order-message-form .form-footer .btn {
  min-height: 44px;
}

/* Messages vides (aucun avoir, aucun bon, aucune carte enregistrée) */
:is(body#order-slip, body#discount, body#order-follow, body#history) #notifications .alert,
body#module-payplug-cards #content p.warning {
  padding: .9rem 1.1rem;
  border: 1px solid var(--xa-trait);
  border-left: 3px solid var(--xa-rouge);
  border-radius: var(--xa-rayon);
  background: var(--xa-fond);
  color: var(--xa-texte);
}
@media (max-width: 767px) {
  :is(body#identity, body#address, body#authentication, body#registration, body#password, body#guest-tracking, body#module-payplug-cards) #main #content.page-content {
    padding: 1.1rem 1rem 1rem;
  }
  body#addresses #content .address .address-footer {
    justify-content: space-between;
  }
}

/* ==========================================================================
   NT1100 Shop — calque propre au site (18/11/2026)
   - motif : angles coupés en octogone (logo NT1100) à la place des bandes inclinées X-ADV ;
   - accent sable du site (--nt1100-sand-dark #a99375), texte noir sur l'accent,
     accent foncé #6f5c40 pour le texte sur fond clair (contraste 6,4:1).
   ========================================================================== */
:root {
  --nt-c: 7px;
  --nt-oct: polygon(var(--nt-c) 0, calc(100% - var(--nt-c)) 0, 100% var(--nt-c), 100% calc(100% - var(--nt-c)),
    calc(100% - var(--nt-c)) 100%, var(--nt-c) 100%, 0 calc(100% - var(--nt-c)), 0 var(--nt-c));
  --nt-oct-reg: polygon(29.3% 0, 70.7% 0, 100% 29.3%, 100% 70.7%, 70.7% 100%, 29.3% 100%, 0 70.7%, 0 29.3%);
  --nt-oct-svg: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpolygon points='29.3,3 70.7,3 97,29.3 97,70.7 70.7,97 29.3,97 3,70.7 3,29.3' fill='none' stroke='%23000' stroke-width='9'/%3E%3C/svg%3E");
}

/* angles coupés : boutons, pastilles, drapeaux */
.btn-primary, .btn-secondary, .add-to-cart,
#wrapper .products .product-miniature .product-flags li.product-flag,
#wrapper .product-flags li.product-flag,
#header .header-nav #_desktop_cart .blockcart,
body#checkout section.checkout-step .step-number,
.xa-more {
  border-radius: 0 !important;
  clip-path: var(--nt-oct) !important;
}
/* pastilles rondes -> octogones réguliers */
#wrapper .products .product-miniature .product-description::after,
#product .xa-gal-nav, .xa-compat__label::before, body#cart .crosssell-products .btn-compact,
#wrapper #toutproduits::after {
  border-radius: 0 !important;
  clip-path: var(--nt-oct-reg) !important;
}
/* repère des titres de section : octogone plein (au lieu de la barre inclinée) */
#wrapper .featured-products h2.products-section-title::before,
#wrapper #products h2.products-section-title::before,
#wrapper .product-accessories h3.titreh3::before,
#wrapper h1#js-product-list-header::before,
#wrapper .xa-psec__title::before,
#product #wrapper .featured-products > h2::before,
#product .product-features h3::before, .cmscustom h2::before,
body#cart .cart-container h1.h1::before, body#cart .crosssell-products .crosssell-title::before,
body#checkout #order-summary-content h4.h4.black:first-child::before,
body#contact #contact-hub-main > h1::before, #wrapper .xa-404 h2.xa-section-title::before,
#wrapper #toutproduits::before {
  width: .74em !important; height: .74em !important; align-self: center;
  transform: none !important; box-shadow: none !important; border-radius: 0 !important;
  clip-path: var(--nt-oct-reg);
}

/* compteur : bandeau à angles coupés, deux octogones en filigrane (contour accent) */
#wrapper #super_counter {
  --nt-c: 18px;
  border-radius: 0 !important;
  clip-path: var(--nt-oct);
}
#wrapper #super_counter::before, #wrapper #super_counter::after {
  transform: none !important;
  top: 50% !important; bottom: auto !important;
  width: 170px !important; height: 170px !important; margin-top: -85px;
  background: var(--xa-rouge) !important;
  -webkit-mask: var(--nt-oct-svg) center / contain no-repeat;
  mask: var(--nt-oct-svg) center / contain no-repeat;
}
#wrapper #super_counter::before { left: -55px !important; }
#wrapper #super_counter::after { right: -55px !important; opacity: .45; }
@media (max-width: 767px) {
  #wrapper #super_counter::before, #wrapper #super_counter::after { width: 110px !important; height: 110px !important; margin-top: -55px; }
  #wrapper #super_counter::before { left: -60px !important; }
  #wrapper #super_counter::after { right: -60px !important; }
}
/* sur fond noir, l'accent clair (sable) se lit mieux que le foncé */
#wrapper #super_counter #super_counter_nb { color: #fff; }

/* bandeau de catégorie : rayures droites -> angles coupés */
#wrapper .xa-hero { --nt-c: 14px; border-radius: 0 !important; clip-path: var(--nt-oct); }

/* ---------- En-tête : logo à gauche, menu sur la même ligne, plus de trait au-dessus du menu ---------- */
#header .mg-contener { border-top: 0 !important; margin-top: 0 !important; }
@media (min-width: 992px) {
  #header .header-top > .container {
    min-height: 0; padding-top: 14px; padding-bottom: 14px;
    grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 2.5rem;
  }
  #header .header-top #_desktop_logo { grid-row: 1; }
  #header .header-top #_desktop_logo img { width: auto; height: 96px; }
  #header .header-top > .container > .row:first-of-type > .position-static { grid-row: 1; align-self: center; padding-right: 0; }
  #header .header-top ul.mg-menu { justify-content: flex-end; gap: .4rem 1.6rem; }
  #header #mega_menu_plus ul.mg-menu > li > a .menu-item-link-text { font-size: 1.45rem; }
}

/* ---------- Compteur : texte centré, octogones en filigrane hors du texte ---------- */
#wrapper #super_counter { margin: 2.2rem 0; text-align: center; }
#wrapper #super_counter > div { float: none; width: 100%; position: relative; z-index: 1; }
#wrapper #super_counter .super_counter_lbl { text-align: center; }
#wrapper #super_counter::before { left: -70px !important; }
#wrapper #super_counter::after { right: -70px !important; }

/* ---------- Bandeau de catégorie : rayures -> octogone en filigrane ---------- */
#wrapper .xa-hero::after {
  transform: none !important; background: var(--xa-rouge) !important; box-shadow: none !important;
  width: 210px !important; height: 210px !important; top: 50% !important; bottom: auto !important; right: -70px !important; left: auto !important;
  margin-top: -105px; opacity: .55;
  -webkit-mask: var(--nt-oct-svg) center / contain no-repeat; mask: var(--nt-oct-svg) center / contain no-repeat;
}

/* ---------- Sous-catégories (bloc natif PS9) en tuiles ---------- */
#main #subcategories.card {
  margin: 1.4rem 0; padding: 0; border: 0; background: transparent; box-shadow: none;
}
#main #subcategories .subcategory-heading {
  display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem; text-align: left;
  font-family: var(--xa-cond); font-size: clamp(1.45rem, 2.4vw, 1.9rem); font-style: italic; font-weight: 700;
  line-height: 1.05; text-transform: uppercase; color: var(--xa-noir);
}
#main #subcategories .subcategory-heading::before {
  content: ""; flex: 0 0 auto; width: .74em; height: .74em; background: var(--xa-rouge); clip-path: var(--nt-oct-reg);
}
#main #subcategories .subcategory-heading::after {
  content: ""; flex: 1 1 auto; height: 2px; margin-left: .4rem; background: linear-gradient(90deg, var(--xa-trait), transparent);
}
#main #subcategories ul.subcategories-list {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none;
}
#main #subcategories ul.subcategories-list > li {
  display: flex; flex-direction: column; width: auto; margin: 0; padding: 0; background: #fff;
  border: 1px solid var(--xa-trait); --nt-c: 10px; clip-path: var(--nt-oct);
  transition: border-color .15s ease, box-shadow .15s ease;
}
#main #subcategories ul.subcategories-list > li:hover { border-color: var(--xa-rouge); }
#main #subcategories .subcategory-image { padding: 10px 10px 0; background: var(--xa-fond); }
#main #subcategories .subcategory-image a { display: block; border: 0; padding: 0; }
#main #subcategories .subcategory-image img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; }
#main #subcategories ul.subcategories-list > li h5 { margin: 0; padding: .7rem .8rem .2rem; text-align: left; }
#main #subcategories .subcategory-name {
  font-family: var(--xa-cond); font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--xa-noir);
}
#main #subcategories ul.subcategories-list > li:hover .subcategory-name { color: var(--xa-rouge-fonce); }
/* descriptions des sous-catégories : masquées sur le site actuel, affichées ici sur 2 lignes */
#main #subcategories .cat_desc {
  display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden;
  margin: 0 .8rem .8rem; font-size: .82rem; line-height: 1.4; color: var(--xa-gris);
}
#main #subcategories .cat_desc p { margin: 0; }
@media (max-width: 575px) {
  #main #subcategories ul.subcategories-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #main #subcategories .cat_desc { display: none !important; }
}

/* ---------- Bloc texte de l'accueil (ps_customtext, texte inchangé) : image à gauche, texte à droite ---------- */
#wrapper #custom-text {
  --nt-c: 16px; position: relative; display: grid; grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
  column-gap: 2rem; align-items: start; margin: 2rem 0; padding: 1.8rem 2rem 1.8rem 2.2rem;
  border: 1px solid var(--xa-trait); background: #fff; text-align: left; clip-path: var(--nt-oct);
}
#wrapper #custom-text::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--xa-rouge); }
#wrapper #custom-text > * { grid-column: 2; }
#wrapper #custom-text > p:first-child { grid-column: 1; grid-row: 1 / span 10; align-self: center; margin: 0; padding: 0; border: 0; }
#wrapper #custom-text img { float: none; display: block; width: 100%; height: auto; margin: 0; border-radius: 0; }
#wrapper #custom-text h1, #wrapper #custom-text h2, #wrapper #custom-text h3 {
  margin: 0 0 .9rem; color: var(--xa-noir); font-family: var(--xa-cond); font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-style: italic; font-weight: 700; line-height: 1.1; text-transform: uppercase; text-align: left;
}
#wrapper #custom-text p { margin: 0 0 .75rem; padding: 0; border: 0; color: var(--xa-texte); font-size: .95rem; line-height: 1.65; }
#wrapper #custom-text p:last-child { margin-bottom: 0; }
@media (max-width: 767px) {
  #wrapper #custom-text { grid-template-columns: minmax(0, 1fr); padding: 1.4rem 1.2rem 1.4rem 1.5rem; }
  #wrapper #custom-text > *, #wrapper #custom-text > p:first-child { grid-column: 1; grid-row: auto; }
  #wrapper #custom-text > p:first-child { max-width: 15rem; margin: 0 auto 1rem; }
}

/* ---------- Newsletter : bandeau propre au-dessus du pied de page ---------- */
.block_newsletter {
  --nt-c: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 2rem;
  max-width: none; padding: 1.4rem 1.8rem !important; border: 0 !important;
  background: var(--xa-noir) var(--xa-topo) !important; color: #fff; clip-path: var(--nt-oct); box-shadow: none !important;
}
.block_newsletter > * { float: none !important; width: auto !important; max-width: 100%; padding: 0 !important; margin: 0 !important; background: none !important; }
.block_newsletter p#block-newsletter-label, .block_newsletter #block-newsletter-label {
  font-family: var(--xa-cond); font-size: 1.5rem; font-style: italic; font-weight: 700; letter-spacing: .02em; color: #fff !important; margin: 0 !important;
}
.block_newsletter form { flex: 1 1 340px; }
.block_newsletter form input[type="email"] { border: 0; border-radius: 0; }
.block_newsletter form .btn-primary, .block_newsletter form input.btn-primary {
  background: var(--xa-rouge) !important; color: var(--xa-sur-accent) !important; border: 0;
}
.block_newsletter form .btn-primary:hover, .block_newsletter form input.btn-primary:hover { background: var(--xa-rouge-vif) !important; }
.block_newsletter p, .block_newsletter .col-xs-12 p { color: rgba(255, 255, 255, .72) !important; font-style: normal; }

/* ---------- Listes : les colonnes Bootstrap de NT1100 (col-xl-4…, max-width 25 %) ne s'appliquent pas dans la grille ---------- */
#wrapper #js-product-list .products > .js-product.product,
#wrapper .featured-products .products > .js-product.product,
#wrapper .product-accessories .products > .js-product.product {
  width: auto !important; max-width: none !important; flex: none !important; padding: 0 !important;
}

/* ---------- Rubriques de liste : NT1100 utilise des H2 (le kit stylait des H3) ---------- */
#wrapper #produitsorigine, #wrapper #produitsreco, #wrapper #toutproduits { border: 0; color: var(--xa-texte); box-shadow: inset 0 -2px 0 var(--accent); }
#wrapper #produitsorigine h2, #wrapper #produitsreco h2, #wrapper #toutproduits h2 {
  margin: 0; color: var(--xa-noir); font-family: var(--xa-cond); font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 700; letter-spacing: .015em; line-height: 1.05; text-transform: uppercase;
}
#wrapper #produitsorigine p, #wrapper #produitsreco p, #wrapper #toutproduits p { color: var(--xa-gris); font-style: normal; }
#wrapper #produitsorigine img, #wrapper #produitsreco img { clip-path: var(--nt-oct-reg); border-radius: 0; }
#wrapper #produitsorigine::before, #wrapper #produitsreco::before, #wrapper #toutproduits::before {
  left: 0; width: 84px; --nt-c: 0px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%);
}
#wrapper #produitsorigine, #wrapper #produitsreco { padding-left: 100px; }
#wrapper #toutproduits { padding-left: 100px; }
#wrapper #toutproduits::before { width: 84px !important; height: auto !important; align-self: auto; top: 0; bottom: 0; clip-path: polygon(0 0, 100% 0, calc(100% - 14px) 100%, 0 100%); }
#wrapper #toutproduits::after { left: 22px; }
@media (max-width: 767px) {
  #wrapper #produitsorigine, #wrapper #produitsreco, #wrapper #toutproduits { padding-left: 76px; }
  #wrapper #produitsorigine::before, #wrapper #produitsreco::before, #wrapper #toutproduits::before { width: 62px !important; }
  #wrapper #produitsorigine img, #wrapper #produitsreco img { left: 8px; width: 44px; height: 44px; margin-top: -22px; }
  #wrapper #toutproduits::after { left: 11px; }
}

/* ---------- Bandeau de catégorie : plus de bande sable droite (remplacée par l'octogone) ---------- */
#wrapper .xa-hero::before { display: none !important; }

/* ---------- Sous-catégories en mobile : une règle du thème fixe la tuile à 200 px (débordement de 25 px à 360) ---------- */
#main #subcategories ul.subcategories-list > li { width: auto !important; min-width: 0 !important; max-width: none !important; flex: none !important; height: auto !important; }
#main #subcategories .subcategory-image img { max-width: 100% !important; }

/* ---------- Barre de tri : avant le chargement de la police d'icônes, « arrow_drop_down » s'écrit en toutes lettres
   et fait passer le bouton sur 2 lignes (CLS 0,13 à 768 px). Place de l'icône réservée. ---------- */
#js-product-list-top .products-sort-order .select-title { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#js-product-list-top .products-sort-order .select-title .material-icons { display: inline-block; width: 24px; height: 24px; overflow: hidden; line-height: 24px; }
/* … et la ligne « Il y a N produits / Trier par » passait sur 2 lignes avant l'arrivée de Barlow Condensed */
@media (min-width: 768px) {
  #products .products-selection { flex-wrap: nowrap; }
  #products .products-selection > div { min-width: 0; }
  #products .products-selection .total-products p, #products .products-selection .sort-by { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Pastilles des vignettes : petites, texte centré (le thème NT1100 en faisait des disques de 4 rem) ---------- */
#wrapper .products .product-miniature .product-flags li.product-flag {
  display: block !important; width: auto !important; height: auto !important; min-width: 0; min-height: 0;
  margin: 0 0 4px auto !important; padding: .2rem .55rem !important; align-self: auto !important;
  border-radius: 0 !important; font-size: 1rem !important; line-height: 1.25 !important; text-align: center; white-space: nowrap;
}
#wrapper .products .product-miniature .product-flags li.product-flag.discount,
#wrapper .products .product-miniature .product-flags li.product-flag.discount-percentage,
#wrapper .products .product-miniature .product-flags li.product-flag.discount-amount { font-size: 1.1rem !important; }
#wrapper .products .product-miniature .product-flags li.product-flag.on-sale { width: auto !important; margin-left: auto !important; }

/* ---------- Logos de marque : fichier original (paysage), comme sur xadvshop ---------- */
#wrapper .products .product-miniature img.manufacturer { width: auto; height: auto; max-width: 42%; max-height: 36px; object-fit: contain; }

/* ---------- H1 des pages 2+ de catégorie (ajout SEO du 18/11/2026) ---------- */
#wrapper .nt1100-category-title-paged {
  margin: .4rem 0 1rem; color: var(--xa-noir); font-family: var(--xa-cond); font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-style: italic; font-weight: 700; line-height: 1.05; text-transform: uppercase;
}

/* ---------- En-tête mobile (20/11/2026) : le bouton ☰ ouvre le menu du module (custom.js du site),
   la barre « MENU » du module faisait doublon sous 768 px ---------- */
@media (max-width: 767px) {
  #header .header-top { padding: 8px 0 10px; }
  #header #mega_menu_plus { margin: 0 !important; width: 100%; padding: 0 !important; }
  #header #mega_menu_plus .mobi { display: none !important; }
  #header #mega_menu_plus ul.mg-menu.show-ul {
    display: block !important; margin: 0 0 10px !important; padding: 4px 0 !important;
    background: var(--xa-noir); --nt-c: 10px; clip-path: var(--nt-oct);
  }
  #header #mega_menu_plus ul.mg-menu.show-ul > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  #header #mega_menu_plus ul.mg-menu.show-ul > li:last-child { border-bottom: 0; }
  #header #mega_menu_plus ul.mg-menu.show-ul > li > a { display: block; padding: .8rem 1rem !important; background: none !important; }
  #header #mega_menu_plus ul.mg-menu.show-ul > li > a .menu-item-link-text {
    color: #fff !important; font-family: var(--xa-cond); font-size: 1.25rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  }
  #header #mega_menu_plus ul.mg-menu.show-ul > li > span.submore { filter: invert(1); }
  #header #mega_menu_plus ul.mg-menu.show-ul div.sub { background: var(--xa-noir-2) !important; border: 0 !important; }
  #header #mega_menu_plus ul.mg-menu.show-ul div.sub a, #header #mega_menu_plus ul.mg-menu.show-ul div.sub .menu-item-link-text { color: rgba(255, 255, 255, .85) !important; }
  #header .header-nav #menu-icon { display: flex; align-items: center; justify-content: center; width: 44px; margin-left: 4px; cursor: pointer; }
  #header .header-nav #menu-icon .material-icons { display: inline-block; width: 28px; overflow: hidden; font-size: 28px; }
  #header .header-nav #_mobile_logo img { max-height: 40px; width: auto; }
  #rechercheM { margin: 0; }
}
/* 768-991 px : le bouton « MENU » du module reste le seul accès au menu ; même gouttière que le contenu */
@media (min-width: 768px) and (max-width: 991px) {
  #header #mega_menu_plus { margin: 0 0 10px !important; width: 100%; }
  #header #mega_menu_plus .mobi { --nt-c: 8px; clip-path: var(--nt-oct); }
}
/* Tablette : le gabarit NT1100 met contact (col-md-5) et liens (col-md-7) sur deux lignes à 768 px ; la barre fait 48 px,
   la seconde ligne (connexion, panier, langue) passait derrière le logo */
@media (min-width: 768px) {
  #header .header-nav .container > .row > .hidden-sm-down { display: flex; align-items: center; min-height: 48px; }
  #header .header-nav .container > .row > .hidden-sm-down > .col-md-5 { flex: 1 1 auto; width: auto !important; max-width: none; min-width: 0; float: none; }
  #header .header-nav .container > .row > .hidden-sm-down > .right-nav { flex: 0 0 auto; width: auto !important; max-width: none; float: none; justify-content: flex-end; }
  #header .header-nav #contact-link { margin: 0 !important; text-align: left !important; }
  #header .header-nav #_desktop_contact_link, #header .header-nav #contact-link { line-height: 1.2; }
}
@media (min-width: 768px) and (max-width: 991px) {
  #header .header-top #_desktop_logo img { width: auto; height: 96px; }
  #header .header-top #_desktop_logo { text-align: center; }
}
#header .header-nav #_desktop_language_selector { position: relative; }
#header .header-nav #_desktop_language_selector .dropdown-menu { left: auto !important; right: 0 !important; }

/* ---------- Fiche produit (lot 2) ---------- */
/* pastilles de compatibilité en Barlow 700 (préchargée) : la graisse 600 est en font-display optional */
#product .xa-compat__list li, .xa-compat__list li { font-weight: 700; --nt-c: 5px; border-radius: 0; clip-path: var(--nt-oct); }

/* ---------- Tunnel (lot 3) : étape en cours en couleur d'accent (le thème NT1100 la forçait en vert) ---------- */
body#checkout section.checkout-step.-current .step-number { background: var(--xa-rouge) !important; color: var(--xa-sur-accent) !important; }

/* ==========================================================================
   Lot 4 (20/11/2026) : titres de page, pages CMS, marques, contact
   ========================================================================== */
/* Titre de page (CMS, marques, connexion, recherche…) : même dessin que les titres de section */
#main .page-header h1, #wrapper .page-header h1, #nt1100-contact-hub > h1 {
  display: flex; align-items: center; gap: .6rem; margin: .2rem 0 1.2rem; padding: 0 !important;
  border: 0 !important; background: none !important; box-shadow: none !important;
  color: var(--xa-noir) !important; font-family: var(--xa-cond); font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-style: italic; font-weight: 700; line-height: 1.05; text-align: left !important; text-transform: uppercase;
}
#main .page-header h1::before, #wrapper .page-header h1::before, #nt1100-contact-hub > h1::before {
  content: ""; flex: 0 0 auto; width: .74em; height: .74em; background: var(--xa-rouge); clip-path: var(--nt-oct-reg);
}
#main .page-header h1::after, #wrapper .page-header h1::after, #nt1100-contact-hub > h1::after {
  content: ""; flex: 1 1 auto; height: 2px; margin-left: .4rem; background: linear-gradient(90deg, var(--xa-trait), transparent);
}

/* Pages CMS : titres H2 sans l'encadré noir centré du thème NT1100 */
#wrapper .cmscustom h2 { border-top: 0 !important; border-left: 0 !important; border-right: 0 !important; text-align: left !important; }
#wrapper .cmscustom h2::before { width: .7em !important; height: .7em !important; clip-path: var(--nt-oct-reg); }
#wrapper .cmscustom li { color: var(--xa-texte); font-weight: 400; font-size: .95rem; }
#wrapper .page-cms { line-height: 1.65; }

/* Contact (hub NT1100, boutons déjà accessibles au clavier) */
body#contact #nt1100-contact-hub .nt1100-contact-faq-link {
  margin: 0 0 1.2rem; padding: .9rem 1.1rem; border: 1px solid var(--xa-trait); border-left: 4px solid var(--xa-rouge);
  background: var(--xa-fond); font-style: normal; text-align: left;
}
body#contact #nt1100-contact-hub .nt1100-contact-faq-link a { color: var(--xa-rouge-fonce); font-weight: 600; text-decoration: underline; }
body#contact #nt1100-contact-hub .nt1100-contact-question {
  margin: 0 0 1rem; color: var(--xa-noir); font-family: var(--xa-cond); font-size: 1.35rem; font-weight: 700;
  letter-spacing: .02em; text-align: left; text-transform: uppercase;
}
body#contact #nt1100-contact-hub .nt1100-contact-grid { gap: 14px; }
body#contact #nt1100-contact-hub .nt1100-contact-card {
  position: relative; overflow: hidden; border: 1px solid var(--xa-trait) !important; border-radius: 0 !important;
  background: #fff !important; box-shadow: none !important; --nt-c: 10px; clip-path: var(--nt-oct);
  transition: border-color .15s ease, transform .15s ease;
}
body#contact #nt1100-contact-hub .nt1100-contact-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--xa-rouge);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
body#contact #nt1100-contact-hub .nt1100-contact-card:hover, body#contact #nt1100-contact-hub .nt1100-contact-card:focus-visible,
body#contact #nt1100-contact-hub .nt1100-contact-card[aria-expanded="true"] { border-color: var(--xa-rouge) !important; }
body#contact #nt1100-contact-hub .nt1100-contact-card:hover::after, body#contact #nt1100-contact-hub .nt1100-contact-card:focus-visible::after,
body#contact #nt1100-contact-hub .nt1100-contact-card[aria-expanded="true"]::after { transform: scaleX(1); }
body#contact #nt1100-contact-hub .nt1100-contact-card .material-icons {
  display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; margin-bottom: .5rem;
  overflow: hidden; background: var(--xa-noir); color: var(--xa-rouge-vif) !important; font-size: 26px; clip-path: var(--nt-oct-reg);
}
body#contact #nt1100-contact-hub .nt1100-contact-card span {
  color: var(--xa-noir); font-family: var(--xa-cond); font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase;
}
body#contact #nt1100-contact-hub .nt1100-contact-answer {
  border: 1px solid var(--xa-trait) !important; border-top: 4px solid var(--xa-rouge) !important; border-radius: 0 !important;
}
body#contact #nt1100-contact-hub .nt1100-contact-answer h2 { font-family: var(--xa-cond); font-weight: 700; text-transform: uppercase; }
body#contact #left-column .contact-rich {
  padding: 1rem 1.1rem; border: 1px solid var(--xa-trait); border-top: 3px solid var(--xa-rouge); background: #fff;
}
body#contact #left-column .contact-rich h4, body#contact #left-column .contact-rich .h4 {
  font-family: var(--xa-cond); font-size: 1.3rem; font-weight: 700; text-transform: uppercase;
}
body#contact #left-column .contact-rich .icon .material-icons { color: var(--xa-rouge-fonce); }

/* Pages d'erreur / maintenance : rayures -> grand octogone en filigrane ; pas de repère devant le titre */
body.xa-error-page::after {
  transform: none !important; top: 50% !important; bottom: auto !important; right: -120px !important; left: auto !important;
  width: 420px !important; height: 420px !important; margin-top: -210px; opacity: .35;
  background: var(--xa-rouge) !important;
  -webkit-mask: var(--nt-oct-svg) center / contain no-repeat; mask: var(--nt-oct-svg) center / contain no-repeat;
}
body.xa-error-page #main .page-header h1::before, body.xa-error-page #main .page-header h1::after { display: none; }
body.xa-error-page::before { display: none !important; }
#main #subcategories.xa-404__models { border: 0 !important; background: transparent !important; }

/* Marques (mobile) : zones tactiles agrandies sans déplacement (pseudo-élément), audit du 20/11/2026 */
@media (max-width: 767px) {
  body#manufacturer li.brand a { position: relative; }
  body#manufacturer li.brand a::after { content: ""; position: absolute; left: -6px; right: -6px; top: -8px; bottom: -8px; }
  #wrapper .breadcrumb li a { position: relative; }
  #wrapper .breadcrumb li a::after { content: ""; position: absolute; left: -4px; right: -4px; top: -10px; bottom: -10px; }
}

/* Tunnel (20/11/2026, vu dans le Chrome de l'utilisateur) : la case des CGV chevauchait le texte */
body#checkout #conditions-to-approve ul { margin: 0; padding: 0; list-style: none; }
body#checkout #conditions-to-approve li { display: flex; align-items: flex-start; gap: .6rem; }
body#checkout #conditions-to-approve li > .float-xs-left { float: none; flex: 0 0 auto; margin: .1rem 0 0; }
body#checkout #conditions-to-approve .condition-label { flex: 1 1 auto; min-width: 0; margin: 0; padding: 0; }
body#checkout #conditions-to-approve .condition-label label { margin: 0; text-align: left; }
body#checkout #conditions-to-approve .condition-label a { color: var(--xa-rouge-fonce); text-decoration: underline; }

/* ==========================================================================
   Espace client (20/11/2026) : bloc « Espace client » du kit xadvshop (nt-base.css), adapté au motif NT1100
   ========================================================================== */
:is(body#my-account, body#identity, body#addresses, body#address, body#history, body#order-detail, body#order-slip, body#discount, body#order-follow, body#order-return, body#guest-tracking, body#authentication, body#registration, body#password, body#module-payplug-cards) #main .page-header h1::before {
  width: .74em !important; height: .74em !important; align-self: center; transform: none !important; box-shadow: none !important; clip-path: var(--nt-oct-reg);
}
body#my-account #content .links a .link-item { border-radius: 0 !important; --nt-c: 10px; clip-path: var(--nt-oct); }
body#my-account #content .links a .link-item i { border-radius: 0 !important; clip-path: var(--nt-oct-reg); }
body#addresses #content .address { border-radius: 0 !important; --nt-c: 10px; clip-path: var(--nt-oct); }
/* Messages vides (aucun avoir, aucun bon…) : encadré gris à liseré accent, comme les cartes enregistrées */
:is(body#order-slip, body#discount, body#history, body#order-follow, body#order-return, body#addresses, body#my-account) #main .page-content .alert-info {
  border: 1px solid var(--xa-trait); border-left: 4px solid var(--xa-rouge); border-radius: 0;
  background: var(--xa-fond); color: var(--xa-texte);
}

/* ==========================================================================
   Retours de l'utilisateur du 20/11/2026 (1re recette)
   ========================================================================== */
/* Bandeau du haut : une seule ligne centrée verticalement sur toutes les pages. Dans le tunnel, le thème ajoutait
   15 px de padding au bandeau de 48 px (contenu décalé sur le filet) ; connecté, le nom faisait passer le contact
   sur 2 lignes. */
@media (min-width: 768px) {
  #header .header-nav { height: 48px; padding: 0 !important; margin-bottom: 0 !important; }
  #header .header-nav .container, #header .header-nav .container > .row,
  #header .header-nav .container > .row > .hidden-sm-down { height: 48px; min-height: 0; }
  #header .header-nav .container > .row > .hidden-sm-down { display: flex; align-items: center; gap: 1rem; }
  #header .header-nav .container > .row > .hidden-sm-down > .col-md-5 { display: flex; align-items: center; height: 48px; padding-top: 0; padding-bottom: 0; }
  #header .header-nav #_desktop_contact_link, #header .header-nav #contact-link {
    display: block; min-width: 0; height: auto; margin: 0 !important; padding: 0 !important;
    overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .875rem; line-height: 1.2;
  }
  #header .header-nav .right-nav { display: flex !important; align-items: center; justify-content: flex-end; gap: 1rem; height: 48px; }
  #header .header-nav .right-nav > div, #header .header-nav .right-nav > div > div {
    display: flex !important; align-items: center; height: auto !important; margin: 0 !important; padding-top: 0 !important; padding-bottom: 0 !important; float: none !important;
  }
  #header .header-nav #_desktop_user_info .user-info { display: flex; align-items: center; gap: .9rem; white-space: nowrap; margin: 0; }
  #header .header-nav #_desktop_user_info a { display: inline-flex; align-items: center; gap: .3rem; line-height: 1.2; white-space: nowrap; font-size: .875rem; }
  #header .header-nav #_desktop_user_info .material-icons { line-height: 1; }
  #header .header-nav #_desktop_cart .header { display: flex; align-items: center; line-height: 1.2; }
  #header .header-nav #search_widget { margin: 0 !important; }
}

/* Bloc « Pièces détachées et accessoires du constructeur » : rouge Honda comme sur xadvshop, quel que soit l'accent
   du site (choix de l'utilisateur : même modèle sur tous les sites Honda) ; logo Honda sur pastille ronde blanche */
:root { --nt-honda: #e30613; }
#wrapper #produitsorigine { --accent: var(--nt-honda); }
#wrapper #produitsorigine img { border-radius: 50% !important; clip-path: none !important; }

/* Réassurance : pictogrammes JPG à fond blanc -> pastille blanche à filet fin (plus de carré blanc sur fond gris) ;
   logo Honda agrandi */
#product #block-reassurance li .block-reassurance-item img,
body#cart #block-reassurance li .block-reassurance-item img,
body#checkout #block-reassurance li .block-reassurance-item img {
  background: #fff !important; border: 1px solid var(--xa-trait); border-radius: 50%;
}
#product #block-reassurance li:first-child .block-reassurance-item img,
body#cart #block-reassurance li:first-child .block-reassurance-item img,
body#checkout #block-reassurance li:first-child .block-reassurance-item img { padding: 4px !important; }

/* Conteneur principal : plus d'air (le tunnel n'a pas de fil d'Ariane, les cartes collaient au haut du cadre) */
@media (min-width: 992px) {
  #wrapper > .container { padding-left: 24px; padding-right: 24px; }
  body#checkout #wrapper > .container, body#cart #wrapper > .container { padding-top: 24px; }
}
@media (max-width: 991px) {
  body#checkout #wrapper > .container, body#cart #wrapper > .container { padding-top: 14px; }
}

/* Récapitulatif du tunnel : plus lisible (modèle xadvshop, aux couleurs du site) */
body#checkout #js-checkout-summary .cart-summary-products p { margin-bottom: .45rem; color: var(--xa-gris); font-size: .9rem; }
body#checkout #js-checkout-summary .js-show-details { color: var(--xa-rouge-fonce); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body#checkout #js-checkout-summary .cart-summary-subtotals-container { padding-top: .7rem !important; padding-bottom: .5rem !important; }
body#checkout #js-checkout-summary .cart-summary-subtotals { margin-bottom: .4rem !important; font-size: .95rem; }
body#checkout #js-checkout-summary .cart-summary-subtotals .label { color: var(--xa-gris); }
body#checkout #js-checkout-summary .cart-summary-subtotals .value { color: var(--xa-texte); font-weight: 500 !important; }
body#checkout #js-checkout-summary .cart-summary-totals { padding-top: .95rem !important; padding-bottom: .85rem !important; }
body#checkout #js-checkout-summary .cart-summary-totals .cart-total { display: flex; align-items: baseline; justify-content: space-between; margin: 0 0 .5rem !important; padding: 0 !important; }
body#checkout #js-checkout-summary .cart-summary-totals .cart-total .label { font-size: 1.35rem; }
body#checkout #js-checkout-summary .cart-summary-totals .cart-total .value { color: var(--xa-noir); font-size: 1.9rem; }
body#checkout #js-checkout-summary .paypal-pay-later-message { margin-top: .4rem !important; }
/* CGV (suite) : le conteneur de la case faisait 0 px de large (case en position absolue) -> le texte passait dessous */
body#checkout #conditions-to-approve li > .float-xs-left { flex: 0 0 20px !important; width: 20px; min-height: 20px; }
body#checkout #conditions-to-approve .custom-checkbox { display: block !important; width: 20px; min-width: 20px; height: 20px; }
body#checkout #conditions-to-approve .custom-checkbox > span, body#checkout #conditions-to-approve .custom-checkbox > input { margin: 0 !important; top: 1px; }

/* Bouton Panier du bandeau (recette du 20/11/2026) : plus de pastille sable à texte blanc quand le panier est rempli
   (contraste 2,9:1) ; « Panier » en blanc comme les autres liens, nombre d'articles en badge octogonal */
#header #_desktop_cart .blockcart, #header #_desktop_cart .cart-preview.active, #header #_desktop_cart .cart-preview.inactive,
#header #_mobile_cart .blockcart, #header #_mobile_cart .cart-preview.active, #header #_mobile_cart .cart-preview.inactive {
  height: auto !important; margin: 0 !important; padding: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; clip-path: none !important;
}
#header #_desktop_cart .header, #header #_desktop_cart .header > a,
#header #_mobile_cart .header, #header #_mobile_cart .header > a { display: inline-flex; align-items: center; gap: .4rem; line-height: 1.2; text-decoration: none; }
#header #_desktop_cart .header, #header #_desktop_cart .header > a { color: #fff; font-size: .875rem; }
#header #_desktop_cart .shopping-cart, #header #_mobile_cart .shopping-cart {
  display: inline-block; width: 22px; overflow: hidden; margin: 0; font-size: 22px; line-height: 1;
}
#header #_desktop_cart .shopping-cart { color: #fff; }
#header #_desktop_cart .header > a:hover .hidden-sm-down, #header #_desktop_cart .header > a:focus-visible .hidden-sm-down { color: var(--xa-rouge-vif); }
#header .nt-cart-count {
  --nt-c: 5px; display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px;
  background: var(--xa-rouge-vif); color: var(--xa-noir); font-family: var(--xa-cond); font-size: .95rem; font-weight: 700; line-height: 1;
  clip-path: var(--nt-oct);
}
#header .cart-preview.inactive .nt-cart-count { background: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .75); }
/* en-tête mobile (fond clair) */
#header #_mobile_cart .header, #header #_mobile_cart .header > a, #header #_mobile_cart .shopping-cart { color: var(--xa-noir); }
#header #_mobile_cart .cart-preview.inactive .nt-cart-count { background: var(--xa-fond-2); color: var(--xa-gris); }
#header #_mobile_cart .cart-preview.active .nt-cart-count { background: var(--xa-rouge); }
@media (max-width: 767px) {
  #header .header-nav .mobile #_mobile_cart, #header .header-nav .mobile #_mobile_user_info { display: flex; align-items: center; height: 50px; }
  #header .header-nav .mobile #_mobile_cart { margin-right: 14px; }
  #header .header-nav .mobile #_mobile_user_info .user-info, #header .header-nav .mobile #_mobile_user_info a { display: flex; align-items: center; }
  #header .header-nav .mobile #_mobile_user_info .material-icons { line-height: 1; }
}
@media (max-width: 767px) {
  #header .header-nav .mobile #menu-icon { height: 50px; margin-top: 0; margin-bottom: 0; }
  #header .header-nav .mobile #_mobile_user_info .user-info { margin: 0 0 0 30px !important; }
  #header .header-nav .mobile #_mobile_cart .header { margin: 0 !important; }
}
@media (max-width: 767px) { #header .header-nav .mobile #_mobile_cart .header { position: relative; top: 2px; } }
