/* MT-09 Shop — placé EN TÊTE de mt09-v2.css (lot 1, 01/12/2026). Le custom.css du site impose « Rubik » (Google Fonts,
   head.tpl) à 42 sélecteurs. La v2 (comme xadvshop) prend Noto Sans (police du thème classic) pour le texte et Barlow
   Condensed pour les titres : mêmes sélecteurs remis en Noto Sans, placés AVANT les règles de la v2 pour qu'elles gardent
   la main (comme cb1000, nx500 et Africa Twin). La police Google reste chargée par head.tpl (v1) : METHODE § 14.14. */
h1,
h2,
h3,
h4,
h5,
h6,
#contact-link,
.right-nav,
.footer-container h3,
.footer-container li a,
#block_myaccount_infos .myaccount-title a,
.block-contact .block-contact-title,
.linklist .blockcms-title a,
.block_newsletter p,
.block-contact,
.menu,
#wrapper .breadcrumb li,
#titreproduit h1,
.product-prices,
#product-availability,
.btn-primary,
.btn-secondary,
.btn-tertiary,
.nav-item,
.block-category.card,
#products .product-title a,
.featured-products .product-title a,
.product-accessories .product-title a,
.product-miniature .product-title a,
#products .products-section-title,
.featured-products .products-section-title,
.product-accessories .products-section-title,
.product-miniature .products-section-title,
#products .all-product-link,
.featured-products .all-product-link,
.product-accessories .all-product-link,
.product-miniature .all-product-link,
.block-category #category-description p,
.card-block h1,
body#checkout section.checkout-step .step-title,
body#checkout #order-summary-content #order-items h3.h3,
.footer-container .h3 {
  font-family: "Noto Sans", sans-serif;
}

/* ==========================================================================
   MT-09 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: #1fc1cb;
  --xa-rouge-fonce: #0b7f87;
  --xa-rouge-vif: #4fdde6;
  --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: var(--xa-sur-accent);
}
.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(31, 193, 203, .35);
  transform: skewX(-18deg);
}
#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(-20deg);
  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(31, 193, 203, .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: #6dd7dd;
  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(-20deg);
}
#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(31, 193, 203, .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(-14deg);
}
#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(-20deg);
}
#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(-20deg);
}
.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: #effbfb;
}

/* 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(31, 193, 203, .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(-18deg);
}
#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(-18deg);
}
.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(-20deg);
    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(31, 193, 203, .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(31, 193, 203, .35);
  transform: skewX(-18deg);
}
#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(-20deg);
  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(31, 193, 203, .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-fonce);
  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(-20deg);
}
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(31, 193, 203, .35);
  transform: skewX(-18deg);
}
#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='%231fc1cb' stroke-width='1.9' stroke-linejoin='round' d='M6 2.8h8l4.2 4.2v14.2H6z'/%3E%3Cpath fill='none' stroke='%231fc1cb' 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(31, 193, 203, .35);
  transform: skewX(-18deg);
}
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='%231fc1cb' 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(31, 193, 203, .35);
  transform: skewX(-18deg);
}
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(31, 193, 203, .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: #f9fdfe;
  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: #f9fdfe;
  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(31, 193, 203, .35);
  transform: skewX(-18deg);
}
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(31, 193, 203, .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(31, 193, 203, .35);
  transform: skewX(-18deg);
}
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(31, 193, 203, .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(31, 193, 203, .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: #e9f9fa;
  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(31, 193, 203, .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(31, 193, 203, .35);
  transform: skewX(-18deg);
}
: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(31, 193, 203, .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: #e9f9fa;
  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;
  }
}

/* ==========================================================================
   Bandeau du haut centré + pictos de réassurance — 20/11/2026 (retours de la 1re recette NT1100, METHODE.md § 14)
   Original : private/bandeau-reassurance-2026-11-20/avant/xadv-v2.css
   ========================================================================== */
/* Bandeau : une seule ligne, tous les éléments centrés verticalement (le contact était 5 à 9 px plus bas),
   identique dans le tunnel et une fois connecté (contact sur une ligne, ellipse si besoin). */
@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; }
  #header .header-nav .container > .row > .hidden-sm-down > [class*="col-md-"]:not(.right-nav) {
    display: flex; align-items: center; min-width: 0; height: 48px; padding-top: 0; padding-bottom: 0;
  }
  #header .header-nav #_desktop_contact_link { display: block; min-width: 0; height: auto; }
  #header .header-nav #_desktop_contact_link, #header .header-nav #contact-link {
    margin: 0 !important; padding: 0 !important; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; line-height: 1.2;
  }
  /* la partie droite prend la place dont elle a besoin (nom du client connecté compris) ; le contact se contente du reste,
     avec points de suspension, au lieu de passer dessous (chevauchement constaté à 1024 px connecté) */
  #header .header-nav .container > .row > .hidden-sm-down > [class*="col-md-"]:not(.right-nav) { flex: 1 1 auto; width: auto; max-width: none; }
  #header .header-nav .right-nav { flex: 0 0 auto; width: auto; max-width: none; 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; }
  #header .header-nav #_desktop_user_info .material-icons { line-height: 1; }
  #header .header-nav #_desktop_cart .header { display: flex; align-items: center; gap: .35rem; margin: 0; line-height: 1.2; }
  /* pastille rouge du panier (18/11/2026) conservée */
  #header .header-nav #_desktop_cart .blockcart { height: 36px !important; padding: 0 .8rem !important; border-radius: var(--xa-rayon); }
  #header .header-nav #search_widget { margin: 0 !important; }
}

/* Réassurance : les pictogrammes sont des JPG à fond blanc -> pastille blanche à filet fin (plus de disque blanc dans la
   pastille grise) ; logo Honda (1er pictogramme) agrandi. Fiche, panier, tunnel. */
#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; }

/* MT-09 Shop, maquette A (01/12/2026) : cyan du logo trop clair pour du texte sur blanc (2,2:1) -> textes en accent foncé #0b7f87 (4,6:1) ; cyan réservé aux aplats, boutons (texte noir) et au fond noir. */

/* ==========================================================================
   Compléments issus de la 1re recette NT1100 (20/11/2026) — à AJOUTER à la fin de la CSS v2 d'un nouveau site
   (après rebrand.py). Généralisé avec les variables --xa-* (l'original NT1100 est dans
   /var/www/vhosts/nt1100shop.com/private/lot1-base-2026-11-18/sources/nt-layer.css, section « Retours de l'utilisateur
   du 20/11/2026 »). Voir METHODE.md § 7.1, 7.4, 7.6–7.8 et § 13.
   Sur xadvshop, les blocs 1 (bandeau) et 3 (réassurance) sont appliqués depuis le 20/11/2026 (METHODE.md § 14).
   ========================================================================== */

/* 1. Bandeau du haut : une seule ligne centrée verticalement sur toutes les pages, y compris le tunnel
      (le thème classic ajoute padding: 15px 0 à .header-nav sur body#checkout) et avec un client CONNECTÉ
      (son 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;
  }
  /* ajout xadvshop du 20/11/2026 : la partie droite prend sa place (nom du client connecté compris), le contact se réduit
     avec « … » ; sans cela, à 1024 px connecté, le contact chevauchait « Déconnexion » */
  #header .header-nav .container > .row > .hidden-sm-down > [class*="col-md-"]:not(.right-nav) { flex: 1 1 auto; width: auto; max-width: none; min-width: 0; }
  #header .header-nav .right-nav { flex: 0 0 auto; width: auto; max-width: none; 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; gap: .35rem; line-height: 1.2; } /* gap : sinon « Panier(0) » */
  #header .header-nav #search_widget { margin: 0 !important; }
  /* ajout xadvshop du 20/11/2026 : le thème donne une marge haute à .language-selector ; le drapeau descendait de 5 px
     et touchait le filet sous le bandeau (NT1100 n'était pas touché) */
  #header .header-nav .language-selector { display: flex; align-items: center; height: 36px; margin: 0 !important; }
  #header .header-nav .language-selector > button { display: flex; align-items: center; height: 36px; padding: 0; line-height: 1; }
  #header .header-nav .language-selector > button .expand-more { display: inline-flex; align-items: center; }
  #header .header-nav .language-selector > button img { display: block; }
}

/* 2. Bloc « Pièces détachées et accessoires du constructeur » (#produitsorigine) : rouge Honda sur les sites Honda.
      MT-09 Shop vend pour une YAMAHA (01/12/2026, écart signalé à l'utilisateur) : rouge du logo Yamaha des vignettes
      (#e60012), même rôle, logo sur pastille ronde. */
#wrapper #produitsorigine { --accent: #e60012; }
#wrapper #produitsorigine img { border-radius: 50% !important; clip-path: none !important; }

/* 3. Réassurance : les pictogrammes de blockreassurance sont souvent des JPG à fond blanc -> pastille blanche à filet
      fin (sinon carré blanc sur la pastille grise) ; 1er pictogramme (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; }

/* 4. 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; }
}

/* 5. Récapitulatif du tunnel : resserré (36 px de marges cumulées au-dessus du total), montants intermédiaires en
      poids normal, total en grand, lien « afficher les détails » en accent. */
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; }

/* 6. Case des CGV : le conteneur .custom-checkbox faisait 0 px de large (case en position absolue), le texte passait
      sous la case. */
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; }

/* 7. Grilles de produits : 5 vignettes par ligne sur ordinateur, quelle que soit la largeur exacte du conteneur
      (retour NT1100 du 23/11/2026). La règle de base repeat(auto-fill, minmax(205px, 1fr)) avec gap 1.1rem demande
      1 095 px de grille pour 5 colonnes : le padding de 24 px du bloc 4 ramenait la grille NT1100 à 1 092 px -> 4 colonnes.
      xadvshop (grille de 1 110 px) n'est pas touché, mais n'a que 15 px de marge. */
@media (min-width: 1200px) {
  #wrapper #js-product-list .products,
  #wrapper .featured-products .products,
  #wrapper .product-accessories .products { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}

/* 8. Contenu des packs (retour utilisateur du 23/11/2026, NT1100 puis xadvshop, ?v=20261123a) : cartes en liste avec bandeau
      blanc centré au bas de la photo (avant : calé à gauche, collé à droite, débordement de 17 px à 360 px) ; fiche :
      « Ce pack contient » en colonnes photo | nom | prix | quantité. Suppose container-type sur la vignette (CSS v2). */
/* Cartes en liste : bandeau blanc centré au bas de la photo ; les vignettes rétrécissent pour toujours tenir (jusqu'à 5) */
#wrapper .products .product-miniature .packitems {
  left: 50%; right: auto; transform: translateX(-50%);
  max-width: calc(100% - 16px); width: max-content;
  justify-content: center; gap: 3px;
  padding: 3px 5px; background: rgba(255, 255, 255, .94);
  border: 1px solid var(--xa-trait); border-radius: 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .08);
}
#wrapper .products .product-miniature .pack-item { flex: 0 1 34px; min-width: 0; height: auto; }
#wrapper .products .product-miniature .packitems img,
#wrapper .products .product-miniature .packitems img:hover {
  display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border-radius: 3px;
}
#wrapper .products .product-miniature .plus-item { flex: 0 0 auto; line-height: 1; font-size: .95rem; color: var(--xa-gris); }
@media (max-width: 767px) {
  #wrapper .products .product-miniature .packitems { top: calc(100cqw - 34px); gap: 2px; padding: 2px 3px; max-width: calc(100% - 10px); }
  #wrapper .products .product-miniature .plus-item { font-size: .75rem; }
}

/* Fiche : « Ce pack contient » en colonnes alignées (photo | nom | prix | quantité) */
#product .product-pack article .card { margin-bottom: .45rem; padding: 8px 12px; background: #fff; transition: border-color .15s; }
#product .product-pack article .card:hover { border-color: var(--xa-rouge); }
#product .product-pack .pack-product-container {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; justify-content: stretch;
}
#product .product-pack .thumb-mask > .mask { width: 56px; height: 56px; margin: 0; border: 1px solid var(--xa-trait); border-radius: 4px; background: #fff; }
#product .product-pack .thumb-mask > .mask img { display: block; width: 100%; height: 100%; object-fit: contain; }
#product .product-pack .pack-product-container .pack-product-name { flex: none; padding: 0; margin: 0; font-size: .9rem; line-height: 1.3; }
#product .product-pack .pack-product-container .pack-product-price { padding: 0; margin: 0; white-space: nowrap; }
#product .product-pack .pack-product-container .pack-product-quantity {
  padding: 0 0 0 12px; margin: 0; border-left: 1px solid var(--xa-trait); color: var(--xa-gris); font-weight: 600; white-space: nowrap;
}
@media (max-width: 991px) {
  #product .product-pack article .card { padding: 8px 10px; }
  #product .product-pack .pack-product-container { grid-template-columns: 48px minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; row-gap: 2px; }
  #product .product-pack .thumb-mask { grid-row: 1 / span 2; }
  #product .product-pack .thumb-mask > .mask { width: 48px; height: 48px; }
  #product .product-pack .pack-product-container .pack-product-name { grid-column: 2 / span 2; font-size: .85rem; }
  #product .product-pack .pack-product-container .pack-product-price { grid-column: 2; grid-row: 2; }
  #product .product-pack .pack-product-container .pack-product-quantity { grid-column: 3; grid-row: 2; justify-self: end; }
}



/* ==========================================================================
   MT-09 Shop — couche propre au site (lot 1, 01/12/2026), reprise de la couche de cb1000 (= nx500 = Africa Twin = cb-hornet),
   avec ses retouches de recette (menu centré, titres de l'accueil, titre H1/H2 des listes).
   Charte validée le 01/12/2026 (« A, cyan ») : accent #1fc1cb (cyan du logo), texte NOIR sur l'accent (8,4:1) ; cyan
   illisible sur blanc (2,2:1) -> liens, prix et titres « accent » en #0b7f87 (déjà dans mt-base.css) ; vif #4fdde6 sur les
   fonds noirs ; bloc des pièces constructeur en rouge Yamaha ; inclinaison 1, italique.
   ========================================================================== */

/* Vignettes remisées (METHODE § 14.8, à reprendre d'office) : le custom.css du site garde l'ancienne pastille ronde
   .discount-percentage (64 px, en position absolue) en plus du drapeau « -10 % » de la vignette v2. Le drapeau
   suffit : la pastille est masquée (accueil, listes, accessoires et ventes croisées). */
#wrapper .product-miniature.xa-card .discount-percentage,
#wrapper .product-miniature.xa-card .discount-amount,
#wrapper .product-miniature.xa-card .discount-product {
  display: none !important;
}

/* En-tête mobile : même rendu que xadvshop (blanc à filet de l'accent). Logo sur fond blanc :
   fond blanc, filet de l'accent. */
@media (max-width: 767px) {
  #header .header-nav {
    background: #fff;
    border-bottom: 0;
    box-shadow: inset 0 -3px 0 var(--xa-rouge);
  }
}

/* Texte d'accueil (module ps_customtext ; METHODE § 7.3 et § 14.8, recette Transalp 750 du 24/11/2026) : bloc unique et
   dense, photo en petit à gauche (le texte l'entoure), titre au dessin des titres de section, texte courant réduit.
   Texte gardé mot pour mot. Pas de colonnes ni de repli « Lire la suite » (refusés sur transalp). */
#wrapper #custom-text {
  margin: .5rem 0 1.25rem;
  padding: 1rem 15px .25rem;
}
#wrapper #custom-text .row {
  display: block;
  margin: 0;
}
#wrapper #custom-text .row::after {
  content: "";
  display: table;
  clear: both;
}
#wrapper #custom-text .row > [class*=col-] {
  float: none;
  width: auto;
  max-width: none;
  padding: 0;
}
#wrapper #custom-text .row > [class*=col-]:first-child {
  float: left;
  width: 130px;
  margin: .15rem 1.25rem .4rem 0;
}
#wrapper #custom-text .row > [class*=col-]:first-child img {
  display: block;
  width: 100% !important;
  height: auto;
}
#wrapper #custom-text h1 {
  position: relative;
  display: flow-root; /* boîte à côté de la photo flottante : la barre reste devant le titre */
  margin: 0 0 .55rem;
  padding: 0 0 0 1.35rem;
  color: var(--xa-noir);
  font-family: var(--xa-cond);
  font-size: clamp(1.15rem, 1.7vw, 1.45rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
  text-align: left;
  text-transform: uppercase;
}
#wrapper #custom-text h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: .08em;
  width: 8px;
  height: 1em;
  background: var(--xa-rouge);
  box-shadow: 6px 0 0 -1px var(--xa-noir);
  transform: skewX(-18deg);
}
#wrapper #custom-text p {
  margin: 0 0 .4rem;
  padding: 0;
  border: 0;
  color: var(--xa-gris);
  font-size: .74rem;
  line-height: 1.5;
}
@media (max-width: 767px) {
  /* mobile : photo au-dessus, titre sur toute la largeur */
  #wrapper #custom-text .row > [class*=col-]:first-child {
    float: none;
    width: 120px;
    margin: 0 auto .6rem;
  }
}

/* Bandeau du haut : sur xadvshop, contact, compte et panier sont en Noto Sans gras 14 px (règle de son custom.css,
   absente ici) ; même rendu. */
#header .header-nav #contact-link,
#header .header-nav #contact-link a,
#header .header-nav .user-info,
#header .header-nav .user-info a,
#header .header-nav #_desktop_cart,
#header .header-nav .blockcart {
  font-size: 14px;
  font-weight: 700;
}

/* Compteur (25/11/2026, captures du lot 1) : texte écarté des deux bandes inclinées (en mobile, le texte passait sous la bande
   de gauche sur cb-hornet), comme sur transalp. */
#wrapper #super_counter {
  padding-left: 96px;
  padding-right: 96px;
  text-align: center;
}
@media (max-width: 767px) {
  #wrapper #super_counter { padding-left: 34px; padding-right: 34px; }
}

/* Titre des pages de liste (promotions, meilleures ventes, nouveautés, recherche) : H1 depuis l'audit final du 30/11/2026
   (accord de l'utilisateur, private/titres-metas-2026-11-30), H2 avant ; les deux sélecteurs gardés ; même dessin que les titres de section (§ 7.2). */
#wrapper #main > h2.h2,
#wrapper #main > h1.h2 {
  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 #main > h2.h2::before,
#wrapper #main > h1.h2::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 6px 0 0 -1px rgba(31, 193, 203, .45);
  transform: skewX(-18deg);
}

/* Bandeau du haut : le theme.css du site le met en majuscules ; xadvshop : casse normale. */
#header .header-nav #contact-link,
#header .header-nav #contact-link a,
#header .header-nav .user-info,
#header .header-nav .user-info a,
#header .header-nav #_desktop_cart,
#header .header-nav .blockcart {
  text-transform: none;
}

/* Retouche ?v=20261130b — titres de section de l'accueil : sur ce site, « Produits populaires » et « Meilleures ventes »
   sont des H1 centrés du theme.css (niveau NON changé) : même dessin que les H2 du kit (§ 7.2), comme honda-sportswear.
   « Meilleures ventes » peut être un H3 (ps_bestsellers du thème, cas de cb1000) : même dessin, niveau gardé. */
#wrapper .featured-products .products-section-title,
#wrapper #products .products-section-title {
  border: 0;
  border-radius: 0;
}
#wrapper .featured-products h1.products-section-title,
#wrapper .featured-products h3.products-section-title {
  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 h1.products-section-title::before,
#wrapper .featured-products h3.products-section-title::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 1.05em;
  background: var(--xa-rouge);
  box-shadow: 6px 0 0 -1px rgba(31, 193, 203, .45);
  transform: skewX(-18deg);
}
#wrapper .featured-products h1.products-section-title::after {
  content: "";
  flex: 1 1 auto;
  height: 2px;
  margin-left: .4rem;
  background: linear-gradient(90deg, var(--xa-trait), transparent);
}

/* Lien « Tous les produits » sous les blocs de l'accueil : bouton du dessin v2 (comme honda-sportswear). */
#wrapper .featured-products .all-product-link {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  padding: .55rem 1.1rem;
  border-radius: var(--xa-rayon);
  background: var(--xa-noir);
  color: #fff;
  font-family: var(--xa-cond);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}
#wrapper .featured-products .all-product-link:hover {
  background: var(--xa-rouge);
  color: #fff;
}

/* Recette ?v=20261130f (30/11/2026, utilisateur : « le menu me parait décalé ») : le custom.css du site force
   ul.mg-menu en display: block !important à partir de 768 px -> entrées collées à gauche (centre du menu 82 px à gauche
   du logo à 1440 px). Centré comme sur xadvshop (flex, justify-content: center), sans le clearfix devenu élément flex. */
@media (min-width: 768px) {
  #header #mega_menu_plus ul.mg-menu {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
  }
  #header #mega_menu_plus ul.mg-menu::before,
  #header #mega_menu_plus ul.mg-menu::after {
    display: none;
  }
}

/* MT-09 Shop (lot 1, 01/12/2026) — accent clair (comme le jaune de cb-hornet, METHODE § 14) : flèche du survol des vignettes
   en noir sur la pastille cyan (blanc sur cyan illisible, signalé par rebrand.py). */
@media (hover: hover) {
  #wrapper .products .product-miniature .thumbnail-container:hover .product-description::after,
  #wrapper .products .product-miniature .thumbnail-container:focus-within .product-description::after {
    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='%23131417' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E");
  }
}

/* MT-09 Shop (?v=20261201b) — pastilles de remise (« -10% ») : texte NOIR sur le cyan (le kit y met du blanc, 2,2:1 ;
   relevé par outils-audit/blanc-sur-cyan.js sur S1, comme le jaune de cb-hornet). Vignettes et fiche. */
#wrapper .products .product-miniature .product-flags li.product-flag.discount,
#wrapper .products .product-miniature .product-flags li.product-flag.discount-percentage,
#product #content .product-flags li.product-flag.discount,
#product #content .product-flags li.product-flag.discount-percentage {
  color: var(--xa-sur-accent);
}

/* MT-09 Shop (?v=20261201c) — recherche : style de la liste des suggestions du kit (METHODE § 14.9, kit-xadvshop-2026-11-18/recherche/recherche.css ; script du kit posé le 01/12/2026, private/recherche-2026-12-01). */

/* --------------------------------------------------------------------------
   Suggestions de la recherche (kit du 25/11/2026, METHODE § 14.9)
   Liste jQuery UI de ps_searchbar : texte plus petit sur PC, lignes séparées
   par un filet, nom à côté de la miniature (plus de retour sous l'image).
   -------------------------------------------------------------------------- */
.ui-autocomplete.searchbar-autocomplete {
  min-height: 0;
  max-height: 70vh;
  overflow-y: auto;
  padding: 0;
  background: #fff;
  border: 1px solid var(--xa-trait, #e3e3de);
  border-radius: 0 0 var(--xa-rayon, 6px) var(--xa-rayon, 6px);
  box-shadow: 0 14px 28px -12px rgba(19, 20, 23, .35);
  z-index: 1000;
}
.ui-autocomplete.searchbar-autocomplete li + li {
  border-top: 1px solid var(--xa-trait, #e3e3de);
}
.ui-autocomplete.searchbar-autocomplete li a,
.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .45rem .75rem;
  border-left: 3px solid transparent;
  color: var(--xa-texte, #26282c);
  font-size: .875rem;
  line-height: 1.3;
}
.ui-autocomplete.searchbar-autocomplete li a.ui-state-focus,
.ui-autocomplete.searchbar-autocomplete li a:hover {
  background: var(--xa-fond, #f4f4f1);
  border-left-color: var(--xa-rouge, #e30613);
  color: var(--xa-noir, #131417);
}
.ui-autocomplete.searchbar-autocomplete li a .autocomplete-thumbnail {
  float: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin: 0;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--xa-trait, #e3e3de);
  border-radius: 4px;
}
.ui-autocomplete.searchbar-autocomplete li a .product {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
@media (min-width: 768px) {
  /* le script fixe la largeur à celle du champ : on l'élargit pour garder les noms sur 1-2 lignes */
  .ui-autocomplete.searchbar-autocomplete {
    width: 380px !important;
  }
  .ui-autocomplete.searchbar-autocomplete li a,
  .ui-autocomplete.searchbar-autocomplete li a.ui-state-focus {
    font-size: .8125rem;
  }
}

/* MT-09 Shop (?v=20261201d) — bandeau du haut : sélecteur de langue en gris très foncé sur le noir (« Français » presque
   invisible, déjà en v1) -> blanc ; champ de recherche : la loupe est à gauche dans ce gabarit et chevauchait le texte
   (« Rechercher ») -> texte décalé à droite de la loupe. */
#header .header-nav .language-selector,
#header .header-nav .language-selector button,
#header .header-nav .language-selector .expand-more,
#header .header-nav .language-selector i {
  color: #fff;
}
#header .header-nav #search_widget input[type=text] {
  padding-left: 38px;
}

/* MT-09 Shop (?v=20261201e) — recherche mobile (#rechercheM) : loupe en position absolue qui chevauchait « Rechercher » (même cas que xadvshop) -> recherche-loupe-mobile.css du kit, plus un champ visible (fond blanc, filet). */
/* OPTIONNEL : uniquement si, sur mobile, la loupe du champ #rechercheM est invisible ou chevauche le texte
   (cas xadvshop : <i class="search"> en position absolue). Inutile quand la loupe est dans un <button> (cas NT1100). */
@media (max-width: 767px) {
  /* la loupe était blanche sur le champ blanc et chevauchait le texte saisi */
  #rechercheM #search_widget form i.search {
    top: 50%;
    left: .6rem;
    padding: 0;
    transform: translateY(-50%);
    color: var(--xa-gris, #6b6e73);
  }
  #rechercheM #search_widget form input[type="text"] {
    padding-left: 2.4rem;
  }
}
@media (max-width: 767px) {
  #rechercheM #search_widget form input[type="text"] {
    background: #fff;
    border: 1px solid var(--xa-trait, #dcdcdc);
    border-radius: 6px;
  }
}

/* MT-09 Shop (?v=20261201f) — sur mt-09, le champ visible en mobile n est pas #rechercheM mais le 2e #search_widget de
   l en-tête : même correction (loupe à gauche, centrée, texte décalé, champ blanc à filet). */
@media (max-width: 767px) {
  #header #search_widget form i.search {
    top: 50%;
    left: .6rem;
    padding: 0;
    transform: translateY(-50%);
    color: var(--xa-gris, #6b6e73);
  }
  #header #search_widget form input[type="text"] {
    padding-left: 2.4rem;
    background: #fff;
    border: 1px solid var(--xa-trait, #dcdcdc);
    border-radius: 6px;
  }
}

/* MT-09 Shop (?v=20261201j, recette du tunnel) — le custom.css du site met en rose #eb155c (gras) tous les liens des
   paragraphes (« p a », « .cmscustom table a ») : « L adresse de facturation est différente… », liens des pages CMS…
   En v2 : accent foncé du site (#0b7f87, lisible sur blanc), gras gardé ; boutons non concernés. */
#wrapper p a:not(.btn),
#wrapper p a:not(.btn):hover,
#wrapper .cmscustom table a,
#wrapper .cmscustom table a:hover {
  color: var(--xa-rouge-fonce);
}

/* ==========================================================================
   MT-09 Shop — lot 2 « fiche produit » (25/11/2026), repris du lot 2 Transalp 750 (sources/tp-lot2.css du 24/11/2026)
   Le dessin de la fiche vient du kit (xadv-v2.css) ; ici, seulement ce qui est propre au site.
   ========================================================================== */
/* Bandeau d'identité : la marque (H3) et la référence (H2) restent des titres pour le SEO, dessinées comme les
   autres valeurs du bandeau (custom.css les mettait en ligne, 16 px). */
#product #product-details .xa-ident__item > .xa-ident__val {
  display: block;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  color: var(--xa-noir);
  font-family: inherit;
  font-size: 1rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: left;
  text-transform: none;
}
#product #product-details .xa-ident__item > .xa-ident__val::before,
#product #product-details .xa-ident__item > .xa-ident__val::after {
  content: none;
  display: none;
}
#product #product-details .xa-ident__val a {
  color: inherit;
}
#product #product-details .xa-ident__val a:hover {
  color: var(--xa-rouge);
}
/* custom.css : #marquefiche { height: 62px } (fiche actuelle) ; le bandeau v2 prend sa hauteur */
#product #product-details #marquefiche.xa-ident__brand {
  height: auto;
  margin-bottom: 0;
}

/* Fil d'Ariane (24/11/2026, audit du lot 2) : à 1024 px, un fil long (fiche pack en italien, 5 niveaux) passait sur
   2 lignes avec la police de secours, puis sur 1 ligne à l'arrivée de Barlow : tout le contenu remontait de 21 px
   (CLS 0,22). À partir de 768 px, le fil tient sur une ligne ; seul le dernier élément (la page en cours, déjà en H1
   juste en dessous) est coupé par « … » s'il manque de place. Le texte complet reste dans la page. */
@media (min-width: 768px) {
  #wrapper .breadcrumb ol {
    display: flex;
    flex-wrap: nowrap;
    align-items: baseline;
    overflow: hidden;
    white-space: nowrap;
  }
  #wrapper .breadcrumb li {
    flex: 0 0 auto;
  }
  #wrapper .breadcrumb li:last-child {
    flex: 0 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

/* Pastilles de compatibilité en Barlow 700 (préchargée) : la graisse 600 est en font-display optional, la 1re visite
   les affichait dans la police de secours (même correctif que NT1100). */
#product .xa-compat__list li {
  font-weight: 700;
}

/* Retouche d Africa Twin (?v=20261125d) — décalages au chargement (CLS 0,1 à 0,34 sur les fiches) : images sans dimensions dans les
   gabarits (repris d Africa Twin ; pas de menu des modèles #headintro sur mt09). Place réservée en CSS, rendu inchangé
   (v2 seulement).
   - image principale de la fiche (product-cover-thumbnails.tpl, large_default 800 x 800) et miniatures (home_default, carrées). */
#product .product-cover img.js-qv-product-cover {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
}
#product .js-qv-product-images img.thumb {
  height: auto;
  aspect-ratio: 1 / 1;
}


/* ==========================================================================
   MT-09 Shop — lot 3 « panier et tunnel » (25/11/2026)
   Le dessin du panier et du tunnel vient du kit (déjà chargé depuis le lot 1) ; ici, ce qui est propre au site
   et les retours de recette à reprendre d office (METHODE § 14.8).
   ========================================================================== */

/* Transporteurs (24/11/2026, retour de l'utilisateur sur xadvshop : « du gris et du rouge dans Chronopost en relais ») :
   le module Chronopost dessine ses panneaux (point relais, rendez-vous, livraison le samedi) en gris (#f8f9fa, filet
   #dee2e6). Dans la carte choisie (cadre et fond accent du § 7.8), cela faisait une grande zone grise dans une carte rouge.
   Les panneaux sont fondus dans la carte (fond transparent, filet du site) ; la carte du point relais garde un cadre fin. */
body#checkout #js-delivery .delivery-option #chronorelais_container,
body#checkout #js-delivery .delivery-option #chronordv_container,
body#checkout #js-delivery .delivery-option #saturday_delivery {
  margin: .75rem 0 0;
  padding: .75rem 0 0;
  border-top: 1px solid var(--xa-trait);
  background: transparent;
}
body#checkout #js-delivery .delivery-option #chronorelais_map {
  border: 1px solid var(--xa-trait);
  border-radius: var(--xa-rayon);
}



/* Total TTC du panier : le cart-summary-totals.tpl du site n'a pas la classe .bold visée par le kit (même cas que transalp et cb-hornet) */
body#cart .cart-summary .cart-summary-totals .cart-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: .25rem;
}
body#cart .cart-summary .cart-summary-totals .cart-total .label,
body#cart .cart-summary .cart-summary-totals .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;
}

/* Chronopost, 26/11/2026 (METHODE § 14.8, signalé par l'utilisateur sur Africa Twin : « la partie non colorée ») : la règle
   « panneaux fondus dans la carte » ci-dessus met à 0 les marges intérieures de #chronorelais_container, mais les rangées
   du module (.row, marges -15 px) les supposent : le plan du point relais débordait de 15 px de chaque côté et recouvrait
   le cadre de la carte choisie. Rangées et colonnes à 0 : plan et textes dans le bloc, cadre continu. */
body#checkout #js-delivery .delivery-option #chronorelais_container > .row {
  margin-left: 0;
  margin-right: 0;
}
body#checkout #js-delivery .delivery-option #chronorelais_container > .row > [class*="col-"] {
  padding-left: 0;
  padding-right: 0;
}
body#checkout #js-delivery .delivery-option #chronorelais_container > .row > #chrono_postcode_controls {
  padding-left: 15px;
}

/* MT-09 Shop (?v=20261201i) — panier et récapitulatif du tunnel : liens « Vous avez un code promo ? » et « afficher les
   détails » en rose #eb155c (couleur du thème) -> accent foncé du site (#0b7f87, lisible sur blanc). */
#wrapper .block-promo .promo-code-button,
#wrapper .block-promo .promo-code-button a,
#wrapper .cart-summary-products a[data-toggle="collapse"],
#wrapper .cart-summary-products .js-show-details {
  color: var(--xa-rouge-fonce);
}


/* ==========================================================================
   MT-09 Shop — lot 4 « contact, erreurs, pages CMS, marques, compte » (25/11/2026)
   404 / 410 / maintenance : styles du kit (xa-404, xa-hero--error, xa-maint, xa-error-page). Ici, ce qui est propre au
   site, repris du lot 4 de cb-hornet (lui-même repris de Transalp 750) ; liens en accent rouge (encre chez cb-hornet).
   ========================================================================== */
/* Pages CMS : tableaux et images contenus dans l'écran en mobile */
#wrapper .page-cms table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
#wrapper .page-cms img {
  max-width: 100%;
  height: auto;
}

/* Page Marques : logos dans un cadre fixe (dimensions déclarées dans brand.tpl ; .img-fluid annulait la hauteur) */
body#manufacturer #main ul li.brand .brand-img img {
  width: 98px;
  max-width: 100%;
  height: 98px;
  object-fit: contain;
}

/* Contact : téléphone de la colonne Informations en accent (turquoise du thème) */
body#contact #left-column .contact-rich a {
  color: var(--xa-rouge);
}

/* Bandeau du haut en tablette (768-991 px) : « Ecrivez-nous / Appelez-nous : (+33)… » ne tient pas ; seul le numéro
   reste (le lien contact est dans le menu et le pied de page). Comme transalp. */
@media (min-width: 768px) and (max-width: 991px) {
  #header .header-nav #contact-link {
    font-size: 0;
  }
  #header .header-nav #contact-link a:not([href^="tel:"]) {
    display: none;
  }
  #header .header-nav #contact-link a[href^="tel:"] {
    font-size: .875rem;
  }
}

/* Espace client : liens de l'historique (référence de commande, « Détails ») en accent au lieu du turquoise du thème */
body#history #content .orders a:not(.btn),
body#history #content table a:not(.btn) {
  color: var(--xa-rouge);
}

/* 404 / 410 : les catégories modèles n'ont pas d'image ; tuiles texte */
#wrapper .xa-404__models ul li h5 {
  margin: 0;
}

/* 404 : la recherche du site met la loupe dans un <button> (la v2 attend l'icône seule) : le bouton passait à la ligne,
   sous le champ. Bouton posé dans le champ, à gauche, à la place de l'icône du kit. */
.xa-404__search #search_widget {
  width: 100% !important;
  max-width: 560px;
}
.xa-404__search #search_widget form button {
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 52px;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.xa-404__search #search_widget form button i.search {
  position: static;
  transform: none;
}
.xa-404__search #search_widget form button span {
  display: none;
}

/* MT-09 Shop (lot 4 de nx500, 30/11/2026) : titre « Informations » du pied de page (ps_contactinfo,
   p.h4.text-uppercase.block-contact-title du custom.css, plus fort que la règle v2) -> blanc, comme sur Africa Twin.
   Les autres restes d'Africa Twin (#titrefooter, menu des modèles, #titrecross, #titrebrand) n'existent pas sur nx500 ni sur cb1000 ni sur mt-09 (vérifié le 01/12/2026). */
#footer .block-contact .block-contact-title {
  color: #fff;
}

/* MT-09 Shop (?v=20261201l) — page d erreur v2 : bouton « Retour à l accueil » en texte NOIR sur le cyan (le dessin d Africa
   Twin y met du blanc, illisible sur un accent clair ; relevé par outils-audit/blanc-sur-cyan.js, comme le jaune de cb-hornet). */
#main .xa-404 .xa-404__links .btn-primary,
#main .xa-404 .xa-404__links .btn-primary:hover,
#main .xa-404 .xa-404__links .btn-primary:focus {
  color: var(--xa-sur-accent);
}

