/* =========================================================================
   NHP Moto - CSS custom (thème enfant)
   Chargé APRÈS le CSS de "classic" -> tes règles écrasent celles du parent.
   Fichier : themes/nhpmoto/assets/css/custom.css
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Variables de marque
   Centralise ici les couleurs/réglages pour les réutiliser partout.
   ------------------------------------------------------------------------- */
:root {
  --nhp-primary: #2e7d32;
  /* vert motoculture */
  --nhp-primary-dark: #1b5e20;
  --nhp-secondary: #f57c00;
  /* orange accent / CTA */
  --nhp-white: #ffffff;
  --nhp-dark: #212121;
  --nhp-light: #f5f5f5;
  --nhp-border: #d7d7d7;
  --nhp-radius: 6px;
  --nhp-transition: .2s ease;
  --transition-fast: all 0.3s ease;
}

/* empêche tout débordement horizontal de la page */
html {
  max-width: 100%;
  /* PAS d'overflow-x ici */
}

body {
  overflow-x: hidden;
  max-width: 100%;
}

/* Sticky footer : le footer reste en bas quand le contenu est court */
body#checkout main {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  /* mobile : évite le saut lié à la barre d'adresse */
}

body#checkout #wrapper {
  flex: 1 0 auto;
}

body#checkout #header,
body#checkout #footer {
  flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   2. Exemples d'overrides (à adapter / supprimer)
   ------------------------------------------------------------------------- */

/* Boutons principaux */
.btn-primary {
  background-color: var(--adw-primary, #91bd31);
  border-color: var(--adw-primary, #91bd31);
  transition: background-color var(--nhp-transition), border-color var(--nhp-transition);
  border-radius: var(--adw-buttons-radius-small, 8px);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--adw-primary-dark);
  border-color: var(--adw-primary-dark);
}

/* CTA "Ajouter au panier" */
.add-to-cart {
  background-color: var(--nhp-secondary);
  border-color: var(--nhp-secondary);
}

/* Liens */
a {
  color: var(--nhp-primary);
}

a:hover {
  color: var(--nhp-primary-dark);
}

a:focus,
a:hover {
  color: var(--nhp-primary);
  text-decoration: none
}

a:focus {
  outline: none;
  outline-offset: 0px
}

a.btn.disabled,
fieldset[disabled] a.btn {
  opacity: .6;
}

/* -------------------------------------------------------------------------
   3. Bouton "retour en haut" (cf. custom.js)
   ------------------------------------------------------------------------- */
#nhp-back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1000;
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--btn-cart-bg);
  color: #fff;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--nhp-transition), visibility var(--nhp-transition);
}

#nhp-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
}

/* -------------------------------------------------------------------------
   4. Conteneur de base — 1580px, fluide & responsive
   ------------------------------------------------------------------------- */


.adwcore-container {
  width: 100%;
  max-width: var(--adw-container-max-width, 98.75rem);
  /* 1580px */
  margin-inline: auto;
  padding-inline: var(--nhp-container-gutter);
}

/* Conteneur custom réutilisable dans tes blocs / overrides de templates */
.nhp-container {
  width: 100%;
  max-width: var(--adw-container-max-width, 98.75rem);
  /* 1580px */
  margin-inline: auto;
  padding-inline: var(--nhp-container-gutter);
}

/* Élargissement des conteneurs STRUCTURELS du thème classic.
   Le thème pose un `width: 1140px` explicite -> on doit surcharger `width`,
   mais en `100%` (fluide) + `max-width` (plafond), jamais en valeur figée,
   sinon débordement horizontal entre 75em et 98.75em de viewport.
   max-width avec FALLBACK : si la variable n'est pas chargée, on plafonne
   quand même (sans fallback, var() invalide -> max-width: none -> pleine largeur).
   Le `#` des sélecteurs suffit à battre `.container` (pas besoin de !important).
   -> Aucun ".container" imbriqué dans un module Bootstrap 5 n'est touché.
   -> ".container-fluid", ".row" et ".col-*" restent 100% Bootstrap. */
@media (min-width: 75em) {

  /* 1200px */
  #header .header-nav>.container,
  #header .header-top>.container,
  #header>.container,
  #wrapper>.container,
  #footer>.container {
    width: 100%;
    max-width: var(--adw-container-max-width, 98.75rem);
    /* 1580px */
    margin-inline: auto;
    padding-inline: var(--nhp-container-gutter);
  }
}

.header-top .container {
  padding: 0;
}

.container-flex {
  display: flex;
  transition: var(--transition-fast);
}

/* -------------------------------------------------------------------------
   5. Transitions
   ------------------------------------------------------------------------- */
a,
button,
.btn,
input,
select,
textarea,
.product-miniature,
.card,
.thumbnail img {
  transition: var(--nhp-trans);
}

/* "Lift" réutilisable au survol */
.nhp-lift {
  transition: transform var(--adw-transition-normal), box-shadow var(--adw-transition-normal);
}

.nhp-lift:hover {
  transform: translateY(-3px);
  box-shadow: var(--adw-shadow-lg);
}

/* Zoom doux de l'image produit au survol de la carte */
.product-miniature .thumbnail {
  overflow: hidden;
}

.product-miniature:hover .thumbnail img {
  transform: scale(1.04);
}

/* Accessibilité : on coupe les animations si l'utilisateur le demande */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}

.adwcore-fluid {
  width: 100%;
  padding-inline: 0rem;
  /* ou 0 si tu veux vraiment bord à bord */
}

#wrapper {
  background: var(--adw-bg-primary);
}

#index #wrapper {
  padding-top: 0px;
}

/* =========================================================================
   Lazy-load : spinner pendant le chargement + fondu à l'apparition
   ========================================================================= */

/* La tuile affiche un spinner TANT QU'une image lazy n'est pas chargée.
   :has() se met à jour tout seul quand le JS retire la classe nhp-lazy. */
.nhp-shopify .thumbnail-top:has(img.nhp-lazy)::after,
.nhp-lazy-box:has(img.nhp-lazy)::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2rem;
  height: 2rem;
  margin: -1rem 0 0 -1rem;
  border-radius: 50%;
  border: 3px solid rgba(0, 0, 0, .12);
  border-top-color: var(--adw-primary, #91bd31);
  /* segment vert qui tourne */
  animation: nhp-spin .7s linear infinite;
  z-index: 1;
  pointer-events: none;
}

@keyframes nhp-spin {
  to {
    transform: rotate(360deg);
  }
}

/* L'image lazy reste invisible tant qu'elle n'est pas chargée */
img.nhp-lazy {
  opacity: 0;
}

.nhp-lazy-box {
  position: relative;
  height: 100%;
}

/* Une fois chargée : fondu doux */
img.nhp-lazy--loaded {
  opacity: 1;
  animation: nhp-fade-in .35s ease;
}

@keyframes nhp-fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Respect des préférences de mouvement réduit */
@media (prefers-reduced-motion: reduce) {
  .nhp-shopify .thumbnail-top:has(img.nhp-lazy)::after {
    animation: none;
  }

  img.nhp-lazy--loaded {
    animation: none;
  }
}





/* =========================================================================
   Notifications / alertes (#notifications) — classes maison "notif"
   ========================================================================= */

#notifications {
  display: block;
  /* margin: 0 0 var(--adw-space-lg) !important;  */
}

#notifications:empty {
  display: none;
}

/* le container ne déborde pas quand il est dans une carte */
/* body:not(#cart) #notifications .notifications-container { margin: 0; padding: 0; } */

/* ---- Alerte générique -------------------------------------------------- */
.notif {
  display: flex;
  align-items: flex-start;
  gap: var(--adw-space-md);
  padding: var(--adw-space-md) var(--adw-space-lg);
  margin: 0 0 var(--adw-space-md);
  border: 1px solid;
  border-radius: var(--adw-buttons-radius-small);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  line-height: 1.5;
}

.notif:last-child {
  margin-bottom: 1rem;
}

.notif__icon {
  flex: 0 0 auto;
  font-size: 1.3rem;
  line-height: 1.4;
}

.notif__list {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 auto;
}

.notif__list li+li {
  margin-top: 0.25rem;
}

.notif a {
  font-weight: var(--adw-font-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
  color: inherit;
}

/* ---- Variantes de couleur --------------------------------------------- */
/* Succès (vert) */
.notif--success {
  background: #eef6e3;
  border-color: #cfe6a8;
  color: #3f6a15;
}

.notif--success .notif__icon {
  color: var(--adw-success);
}

/* Erreur (rouge) */
.notif--error {
  background: #fdecec;
  border-color: var(--adw-badge-red, #f5c6c6);
  color: #a12626;
}

.notif--error .notif__icon {
  color: var(--adw-error);
}

/* Avertissement (orange) */
.notif--warning {
  background: #fdf3e2;
  border-color: #f6dca8;
  color: #8a5a12;
}

.notif--warning .notif__icon {
  color: var(--adw-warning);
}

/* Info (bleu) */
.notif--info {
  background: #eaf3f7;
  border-color: #cfe4ee;
  color: #2f6d84;
}

.notif--info .notif__icon {
  color: var(--adw-info);
}




/* -------------------------------------------------------------------------
   6. Header top : layout custom (flexbox, sans grille Bootstrap)
   Sélecteurs préfixés #header .header-top pour battre la spécificité du
   thème classic (qui style déjà .header-top .header-top-right).
   ------------------------------------------------------------------------- */
#header {
  box-shadow: none;
  border-bottom: 1px solid #e5e5e5 !important;
  z-index: 15;
}

/* Barre principale : [ logo ] [ zone modules extensible ] */
#header .header-top .header-top__bar {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-block: 0.5rem;
}

/* Logo : image + baseline + drapeau, tout centré */
#header .header-top .header-top__logo {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.2rem;
}

#header .header-top .header-top__logo a {
  display: inline-block;
  text-align: center;
}

#header .header-top .header-top__logo .logo {
  display: block;
  margin: 0 auto;
  width: auto;
  height: auto;
  max-height: 7.25rem;
  /* ~52px : cap la hauteur quel que soit le fichier logo */
}

#header .header-top .header-top__logo .baseline {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

#header .header-top .header-top__logo .logoflag {
  display: block;
  margin: 0.15rem auto 0;
  width: 1.5rem;
  height: auto;
}

/* Zone modules displayTop : prend tout l'espace restant (≈ 3/4). */
#header .header-top .header-top-right {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

#header .header-top .header-top-right>* {
  flex: 0 0 auto;
}

/* compte, panier : compacts (≈ 1/4) */
#header .header-top .header-top-right>#search_widget {
  flex: 1 1 auto;
  /* la recherche conditionne la largeur */
  min-width: 0;
  /* indispensable : autorise le rétrécissement */
  max-width: 52em;
  /* plafond (ajuste 40–64em à ton goût) */
  position: relative;
}

/* recherche plafonnée -> on plaque compte/panier au bord droit */
#header .header-top .header-top-right>#search_widget+* {
  margin-inline-start: auto;
}

#header .header-top {
  padding: 0;
  background: var(--adw-bg-very-light);
}

/* Menu mobile : on garde le wrapper (requis par le JS), sans grille */
.header-top__mobile-menu {
  width: 100%;
}

/* -------------------------------------------------------------------------
   7. Header : système d'icônes unifié (recherche / compte / panier)
   ------------------------------------------------------------------------- */
.header-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.5rem;
  color: var(--adw-secondary);
  text-decoration: none;
  border-radius: var(--adw-buttons-radius-small);
  transition: var(--nhp-trans);
}

.header-icon-link:hover,
.header-icon-link:focus-visible {
  color: var(--adw-text-dark) !important;
  background: var(--adw-primary-soft);
}

.header-icon {
  position: relative;
  display: inline-flex;
}

.header-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.header-icon-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  text-align: left;
}

.header-icon-label {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.header-icon-value {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.header-icon-badge {
  position: absolute;
  top: -0.35rem;
  right: -0.45rem;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--adw-primary);
  color: #1d2123;
  /* texte foncé sur le vert (accessible) */
  font-size: 0.7rem;
  font-weight: var(--adw-font-bold);
  line-height: 1;
  border-radius: 999px;
}

/* Focus clavier net sur toute la zone */
.header-top-right a:focus-visible,
.header-top-right button:focus-visible {
  outline: 2px solid var(--adw-primary);
  outline-offset: 2px;
}

/* ---- Recherche (pilule agrandie) ---- */
#search_widget form {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  width: 100%;
  min-height: 3.25rem;
  background: var(--adw-bg-light);
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.3rem 0.55rem 0.3rem 1.25rem;
  /* le 0.55rem droit insère le bouton submit */
  transition: var(--nhp-trans);
}

#search_widget form:focus-within {
  background: var(--adw-bg-white);
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

#search_widget input[type="text"] {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.85rem 0.5rem;
  font: inherit;
  font-size: var(--adw-font-base);
  /* texte plus grand */
  color: var(--adw-text);
}

#search_widget input[type="text"]:focus {
  outline: 0;
}

/* bouton "effacer" : discret */
#search_widget .search-clear {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  background: transparent;
  color: var(--adw-text-light);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--nhp-trans);
}

#search_widget .search-clear:hover {
  color: var(--adw-error);
}

/* bouton submit : vert, plus grand */
#search_widget .search-submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: var(--adw-primary);
  color: #1d2123;
  border-radius: 999px;
  cursor: pointer;
  transition: var(--nhp-trans);
  transform: none;
  /* ← annule le translateY(-50%) hérité de classic */
}

#search_widget .search-submit,
#search_widget .search-clear {
  line-height: 0;
}

#search_widget .search-submit svg,
#search_widget .search-clear svg {
  display: block;
}

#search_widget .search-submit svg {
  width: 1.4rem;
  height: 1.4rem;
}

#search_widget .search-submit:hover {
  background: var(--adw-primary-dark);
}

/* ---- Top recherches (sous la barre) ---- */
#top_search.top-search {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin-top: 0.6rem;
  padding-left: 0.25rem;
}

.top-search-label {
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-medium);
  color: var(--adw-text-light);
}

.top-search-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-search-links a {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-secondary);
  text-decoration: none;
  background: var(--adw-bg-light);
  border-radius: 999px;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}

.top-search-links a:hover,
.top-search-links a:focus-visible {
  background: var(--adw-primary, #91bd31);
  color: var(--nhp-white) !important;
  transform: translateY(-1px);
  cursor: pointer;
}

/* ---- Dropdowns compte & panier (CSS pur) ---- */
.account-dropdown,
.blockcart {
  position: relative;
}

.header-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 1000;
  min-width: 16rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  box-shadow: var(--adw-shadow-lg);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition:
    opacity var(--adw-transition-fast),
    transform var(--adw-transition-fast),
    visibility var(--adw-transition-fast);
}

/* Affichage au survol / focus, uniquement à partir du desktop */
@media (min-width: 75em) {

  .account-dropdown:hover .header-dropdown,
  .account-dropdown:focus-within .header-dropdown,
  .blockcart:hover .header-dropdown,
  .blockcart:focus-within .header-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}

.header-dropdown-item {
  display: block;
  padding: 0.5rem 0.75rem;
  color: var(--adw-text);
  text-decoration: none;
  border-radius: var(--adw-buttons-radius-small);
  transition: var(--nhp-trans);
}

.header-dropdown-item:hover,
.header-dropdown-item:focus-visible {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark) !important;
}

.header-dropdown-divider {
  display: block;
  height: 1px;
  margin: 0.5rem 0;
  background: var(--adw-border-light);
}

/* ---- Aperçu panier (dropdown) ---------------------------------------- */
.cart-dropdown-items {
  list-style: none;
  margin: 0 0 0.75rem;
  padding: 0;
  max-height: 18rem;
  overflow-y: auto;
}

/* une ligne produit : [qté] nom .......... prix [x] */
.cart-dropdown-items>li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--adw-border-light, #e5e5e5);
  font-size: var(--adw-font-sm);
}

.cart-dropdown-items>li:first-child {
  border-top: 0;
}

.cart-dropdown-items .product-quantity {
  flex: 0 0 auto;
  min-width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.35rem;
  background: var(--adw-grey-light, #efefef);
  color: var(--adw-text-dark, #1d2123);
  border-radius: 999px;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
}

.cart-dropdown-items .product-name {
  flex: 1 1 auto;
  min-width: 0;
  /* nom long -> tronqué sur une ligne */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--adw-text, #2b3134);
}

.cart-dropdown-items .product-price {
  flex: 0 0 auto;
  font-weight: var(--adw-font-semibold);
  color: var(--adw-primary-dark, #76991f);
  white-space: nowrap;
}

/* bouton supprimer : discret, rouge au survol */
.cart-dropdown-items .remove-from-cart {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  /* on remplace le libellé "Remove" par une croix */
  font-size: 0;
  color: var(--adw-text-light, #9aa0a4);
  border-radius: 50%;
  transition: color .2s ease, background-color .2s ease;
}

.cart-dropdown-items .remove-from-cart::before {
  content: "\00d7";
  /* × */
  font-size: 1.1rem;
  line-height: 1;
}

.cart-dropdown-items .remove-from-cart:hover {
  color: var(--adw-error, #e53935);
  background: rgba(229, 57, 53, .08);
}

/* récap (sous-totaux / total) */
.cart-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.25rem 0;
  font-size: var(--adw-font-sm);
}

.cart-summary-total {
  margin-top: 0.25rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--adw-border-light, #e5e5e5);
  font-weight: var(--adw-font-semibold);
}

.cart-summary-total .price {
  color: var(--adw-primary-dark, #76991f);
}

/* actions : Commander + Voir le panier */
.cart-dropdown-actions {
  display: grid;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* actions : Commander + Voir le panier
   NB : préfixe #header pour battre la règle classic `#header a:hover{color:#24b9d7}` */
#header .cart-dropdown-actions .btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: var(--adw-buttons-radius-small, 8px);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  border: 1px solid transparent;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

/* Commander : vert plein, texte foncé (WCAG) — foncé au hover, PAS de cyan */
#header .cart-dropdown-actions .btn-primary {
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
  border-color: var(--adw-primary, #91bd31);
}

#header .cart-dropdown-actions .btn-primary:hover,
#header .cart-dropdown-actions .btn-primary:focus-visible {
  background: var(--adw-primary-dark, #76991f);
  border-color: var(--adw-primary-dark, #76991f);
  color: #1d2123;
  /* reste foncé, écrase le #24b9d7 de classic */
  transform: translateY(-1px);
}

/* Voir le panier : contour discret, se remplit en gris au hover */
#header .cart-dropdown-actions .btn-secondary {
  background: var(--adw-bg-white, #fff);
  color: var(--adw-secondary, #545c60);
  border-color: var(--adw-border-light, #e5e5e5);
}

#header .cart-dropdown-actions .btn-secondary:hover,
#header .cart-dropdown-actions .btn-secondary:focus-visible {
  background: var(--adw-grey-light, #efefef);
  color: var(--adw-text-dark, #1d2123);
  /* texte foncé, écrase le cyan */
  transform: translateY(-1px);
}

@keyframes nhp-cart-bump {
  0% {
    transform: scale(1);
  }

  30% {
    transform: scale(1.18);
  }

  60% {
    transform: scale(0.96);
  }

  100% {
    transform: scale(1);
  }
}

.nhp-cart-bump .header-icon {
  display: inline-flex;
  animation: nhp-cart-bump .35s ease;
}

#header .header-top .header-top__logo .baseline,
#header .header-top .header-top__logo .logoflag {
  /* display: none; */
}

#header .header-top .header-icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--adw-grey-light, #efefef);
  color: var(--adw-secondary, #545c60);
  border-radius: var(--adw-buttons-radius-small);
  transition: var(--nhp-trans);
}

#header .header-top .header-icon-link:hover {
  background: var(--adw-primary, #91bd31);
}

#header .header-top .header-icon-link:hover .header-icon,
#header .header-top .header-icon-link:hover span {
  color: var(--nhp-white, #76991f);
  /* seule l'icône passe au vert */
}

/* ---- Helper : masquer un élément en mobile/tablette (≤ 991px) ---- */
@media (max-width: 61.99em) {
  .nhp-hide-mobile {
    display: none !important;
  }
}

/* ===== Header responsive (≤ 991px) ===== */
@media (max-width: 61.99em) {

  #header .header-top {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: var(--adw-bg-white, #fff);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .06);
  }

  /* la barre passe sur 2 lignes : [logo | compte | panier] puis [recherche] */
  #header .header-top .header-top__bar {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 0.5rem;
    column-gap: 0.75rem;
  }

  /* logo visible (on neutralise hidden-sm-down) + compact */
  #header .header-top .header-top__logo {
    display: flex !important;
    flex: 0 0 auto;
    order: 0;
  }

  #header .header-top .header-top__logo .baseline,
  #header .header-top .header-top__logo .logoflag {
    display: none;
  }

  #header .header-top .header-top__logo .logo {
    max-height: 4.75rem;
  }

  /* on dissout le conteneur : recherche + compte + panier deviennent
     enfants directs de la barre, donc alignables avec le logo */
  #header .header-top .header-top-right {
    display: contents;
  }

  /* 1re ligne : logo | (espace) | compte | panier */
  #header .header-top .header-top-right>#_desktop_user_info {
    order: 1;
    margin-inline-start: auto;
  }

  #header .header-top .header-top-right>#blockcart-wrapper {
    order: 2;
  }

  /* 2e ligne : recherche pleine largeur */
  #header .header-top .header-top-right>#search_widget {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  /* recherche collée en haut au scroll */
  #header .header-top .header-top-right.nhp-search-stuck>#search_widget {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    padding: 0.5rem 0.75rem;
    background: var(--adw-bg-white, #fff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    animation: nhp-search-drop .25s ease both;
  }

  #header .header-top .header-top-right.nhp-search-stuck {
    padding-bottom: 4rem;
  }

  @keyframes nhp-search-drop {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }

    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
}

#displayNavFullWidth {
  background: var(--adw-bg-white, #fff);
  border-top: 1px solid var(--adw-border-light, #e5e5e5);
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
}

@media (min-width: 61em) {
  .nhp-condensed-burger svg {
    pointer-events: none;
  }

  .nhp-condensed-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 11108;
    background: var(--adw-bg-white, #fff);
    box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
    /* caché par défaut — c'est CE bloc qui te manque */
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform .28s ease, opacity .28s ease, visibility .28s ease;
  }

  #header.nhp-header-condensed .nhp-condensed-bar {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nhp-condensed-bar__inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding-block: 0.5rem;
  }

  .nhp-condensed-burger {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 0;
    background: transparent;
    color: var(--adw-text, #2b3134);
    border-radius: var(--adw-buttons-radius-small, 8px);
    cursor: pointer;
    transition: background-color .2s ease;
  }

  .nhp-condensed-burger:hover {
    background: var(--adw-grey-light, #efefef);
  }

  .nhp-condensed-logo {
    flex: 0 0 auto;
    display: inline-flex;
  }

  .nhp-condensed-logo img {
    max-height: 2.25rem;
    width: auto;
  }

  .nhp-condensed-actions {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
  }
}











/* =========================================================================
   NHP Moto — Section "Nouveaux produits" + carte produit Shopify
   À coller dans custom.css (chargé après theme.css).
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. En-tête de section (titres Neue Haas, texte Inter)
   ------------------------------------------------------------------------- */
.nhp-section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.nhp-section__head {
  text-align: center;
  max-width: 60rem;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);

}

.nhp-section__eyebrow {
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-xs, 0.8125rem);
  font-weight: var(--adw-font-semibold, 600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adw-primary-dark, #76991f);
  margin: 0 0 0.5rem;
}

.nhp-section__title {
  margin: 0 0 var(--adw-space-lg);
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--adw-text-dark);
  text-transform: none;
  position: relative;
  padding-left: var(--adw-space-md);
  display: inline;

}

.nhp-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 2px;
  background: var(--adw-primary);
}

.nhp-section__subtitle {
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-base, 1rem);
  line-height: 1.5;
  color: var(--adw-text-light, #6b7177);
  margin: 0.75rem 0 0;
}

.nhp-section__all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1.5rem;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-weight: var(--adw-font-semibold, 600);
  color: var(--adw-primary-dark, #76991f);
  text-decoration: none;
  transition: color .2s ease, gap .2s ease;
}

.nhp-section__all:hover {
  color: var(--adw-primary, #91bd31);
  gap: 0.6rem;
}

.nhp-section__all .material-icons {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .nhp-section .splide__pagination {
    bottom: -2.5rem;
    gap: .5rem;
  }
}

/* =========================================================================
   2. Carte produit — variante "Shopify"
   Activer en ajoutant .nhp-shopify sur la section .featured-products
   ========================================================================= */
.adw-specials {
  background: var(--adw-bg-white);
}

/* Conteneur de carte : colonne, pas de bordure, pas de découpe */
.nhp-shopify .product-miniature {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* classic force center */
  background: #ffffff;
  border: 1px solid var(--nhp-border);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: visible;
  margin: 0;
  padding: 0;
  transition: box-shadow var(--nhp-transition), transform var(--nhp-transition);
}

.product-miniature:hover {
  /* box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  transform: translateY(-2px); */
}

.nhp-shopify .product-miniature .h3.product-title {
  height: 4rem;
}

/* classic force width:25% / min-width:250px sur .product en page d'accueil :
   on rend la main, c'est Splide (perPage) qui gère la largeur des slides */
.nhp-shopify .product-miniature .product,
.page-index .nhp-shopify .product-miniature .product,
.page-search .nhp-shopify .product-miniature .product {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 0;
}

.nhp-shopify .images-piece_origine,
.nhp-shopify .images-piece_adaptable {
  position: absolute;
  z-index: 1;
  bottom: 0px;
  right: 10px;
  max-width: 7rem;
}

.nhp-shopify .images-piece_origine img,
.nhp-shopify .images-piece_adaptable img {
  width: 4em;
}

/* ----- LE WRAPPER QUE CLASSIC ABÎME -------------------------------------
   classic : .thumbnail-container { overflow:hidden; margin-bottom:1.563rem; background:#fff }
   -> overflow:hidden DÉCOUPE l'ombre/le lift de la tuile enfant
   -> margin-bottom crée un trou non maîtrisé
   -> background masque le fond. On neutralise tout : simple passe-plat. */
.nhp-shopify .product-miniature .thumbnail-container {
  position: relative;
  height: auto;
  margin: 0;
  overflow: visible;
  /* ★ laisse respirer l'ombre + le lift */
  background: transparent;
  /* ★ plus de fond blanc */
}

/* La "tuile" arrondie = .thumbnail-top (c'est ELLE qui porte l'ombre/lift) */
.nhp-shopify .thumbnail-top {
  position: relative;
  /* border-radius: 1rem; */
  /* background: var(--adw-bg-light, #f5f6f7); */
  /* background: var(--nhp-white); */
  overflow: hidden;
  /* coupe l'image au scale, pas l'ombre (ombre = hors box) */
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
  transition: box-shadow .25s ease, transform .25s ease;
}

.nhp-shopify .product-miniature:hover .thumbnail-top {
  /* box-shadow: 0 12px 30px rgba(0,0,0,.10); */
  /* transform: translateY(-4px); */
}

/* Image : classic impose height:calc(100% - 70px) sur .product-thumbnail
   + height:auto/margin:auto sur l'img -> on reprend la main proprement */
.nhp-shopify .thumbnail-container .product-thumbnail {
  height: auto;
  display: block;
}

.nhp-shopify .product-thumbnail img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 1.25rem;
  margin: 0;
  transition: transform .35s ease;
}

.nhp-shopify .product-miniature:hover .product-thumbnail img {
  transform: scale(1.04);
}

/* ----- Bouton "aperçu" qui glisse depuis le bas de l'image ---------------
   classic : .highlighted-informations { top:100%; background:#fff; ... }
   et au hover il fait top:calc(100% - 4.4rem). On annule pour piloter
   notre bouton en bas (inset). */
.nhp-shopify .product-miniature .highlighted-informations {
  position: absolute;
  top: auto;
  /* ★ tue le système top:100% de classic */
  inset: auto 0.75rem 0.75rem 0.75rem;
  width: auto;
  height: auto;
  padding: 0;
  background: none;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(0.75rem);
  transition: opacity .25s ease, transform .25s ease;
}

.nhp-shopify .product-miniature:hover .highlighted-informations,
.nhp-shopify .product-miniature .thumbnail-container:hover .highlighted-informations,
.nhp-shopify .product-miniature .thumbnail-container:focus .highlighted-informations {
  top: auto;
  /* ★ écrase le top:calc(...) du hover classic */
  opacity: 1;
  transform: translateY(0);
}

/* La pilule sombre (classic la fait grise #7a7a7a / hover cyan) */
.nhp-shopify .highlighted-informations .quick-view {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.6rem 1rem;
  background: #1d2123;
  color: #fff;
  border-radius: 999px;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold, 600);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.nhp-shopify .highlighted-informations .quick-view:hover {
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
  /* texte sombre sur vert = WCAG OK */
}

/* classic dessine un séparateur ::after au hover : on le supprime */
.nhp-shopify .product-miniature .thumbnail-container:hover .product-description::after,
.nhp-shopify .product-miniature .thumbnail-container:focus .product-description::after {
  display: none;
}

/* ----- Infos sous l'image ------------------------------------------------
   classic : .product-description { background:#fff; padding:.25 .25 .7 } */
.nhp-shopify .product-miniature .product-description {
  position: static;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.85rem 0.85rem 0;
  background: transparent;
  /* ★ plus de fond blanc */
  flex: 1 1 auto;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
}

/* Titre : classic = centré, gris #7a7a7a, weight 400, capitalize, margin-top .7 */
.nhp-shopify .product-miniature .product-title {
  margin: 0;
  text-align: left;
  /* ★ */
  text-transform: none;
  /* ★ */
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-size: var(--adw-font-sm, 0.9375rem);
  font-weight: var(--adw-font-medium, 500);
  line-height: 1.35;
}

.nhp-shopify .product-miniature .product-title a {
  color: var(--adw-text, #2b3134);
  /* ★ plus de gris classic */
  text-align: left;
  font-size: var(--adw-font-sm, 0.9375rem);
  font-weight: var(--adw-font-medium, 500);
  text-decoration: none;
}

.nhp-shopify .product-miniature .product-title a:hover {
  color: var(--adw-primary-dark, #76991f);
}

/* Prix : classic = centré, #232323, weight 700 */
.nhp-shopify .product-miniature .product-price-and-shipping {
  margin-top: 0.15rem;
  text-align: left;
  /* ★ */
  font-weight: 400;
  /* on neutralise le 700 global */
}

.nhp-shopify .price {
  font-size: var(--adw-font-md, 1rem);
  font-weight: var(--adw-font-extraextrabold, 900);
  color: var(--adw-text-red, #ff5f3e);
}

.nhp-shopify .product-miniature .regular-price {
  display: inline-block;
  margin-right: 0.4rem;
  font-size: var(--adw-font-sm, 0.875rem);
  color: var(--adw-text-light, #9aa0a4);
  text-decoration: line-through;
}

/* Remise : classic la CACHE (display:none) -> pilule verte, texte sombre */
.nhp-shopify .product-miniature .product-price-and-shipping .discount-product {
  display: inline-block;
  /* ★ ré-affichée */
  padding: 0.1rem 0.45rem;
  background: var(--adw-bg-badge-red);
  color: var(--adw-badge-red);
  /* sombre sur vert = WCAG OK */
  font-size: var(--adw-font-xs, 0.75rem);
  font-weight: var(--adw-font-semibold, 700);
  border-radius: 999px;
}

/* ----- Badges (flags) : classic = pavé cyan #24b9d7, blanc, uppercase ----
   -> pilules discrètes en haut-gauche de la tuile */
.nhp-shopify .product-miniature .product-flags {
  top: 0.6rem;
  left: 0.6rem;
  width: auto;
  gap: 0.3rem;
}

.nhp-shopify .product-miniature .product-flags li.product-flag {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0.15rem 0.55rem;
  font-size: var(--adw-font-xs, 0.75rem);
  font-weight: var(--adw-font-semibold, 600);
  text-transform: none;
  /* ★ plus d'uppercase */
  border-radius: 999px;
  background: var(--adw-primary, #91bd31);
  /* ★ plus de cyan */
  color: #1d2123;
  /* sombre sur vert = WCAG OK */
}

/* "Nouveau" en vert clair, remise en rouge léger (facultatif, à ajuster) */
.nhp-shopify .product-miniature .product-flags li.product-flag.new {
  background: var(--adw-bg-badge-green);
  color: var(--adw-badge-green);
}

.nhp-shopify .product-miniature .product-flags li.product-flag.discount,
.nhp-shopify .product-miniature .product-flags li.product-flag.discount-percentage,
.nhp-shopify .product-miniature .product-flags li.product-flag.discount-amount,
.nhp-shopify .product-miniature .product-flags li.product-flag.on-sale,
.nhp-shopify .product-miniature .product-flags li.product-flag.out_of_stock {
  background: var(--adw-bg-badge-red);
  color: var(--adw-badge-red);
}

/* =========================================================================
   Bouton "Ajouter au panier" — carte Shopify (.nhp-shopify)
   À coller à la suite du CSS de la carte Shopify dans custom.css.
   ========================================================================= */

/* Conteneur du bouton : pleine largeur, collé en bas de la carte */
.nhp-shopify .product-add-to-cart {
  margin-top: auto;
  /* pousse le bouton en bas (carte en flex-column) */
  padding-top: 0.6rem;
}

.nhp-shopify .product-add-to-cart-wrapper {
  width: 100%;
  margin-bottom: 1rem;
}

/* classic stylise déjà .add-to-cart (height 2.75rem, padding) ET ton ancien
   custom.css met .add-to-cart en orange -> on neutralise et on repart propre */
.nhp-shopify .product-add-to-cart .btn-add-to-cart,
.nhp-shopify .product-add-to-cart .add-to-cart {
  width: 100%;
  height: auto;
  /* ★ tue le height:2.75rem de classic */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  /* ★ remplace le padding-top:.625rem de classic */
  margin: 0;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-sm, 0.875rem);
  font-weight: var(--adw-font-semibold, 600);
  line-height: 1.2;
  /* ★ neutralise line-height:inherit de classic */
  text-transform: none;
  /* classic met les .btn en uppercase */
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, transform .15s ease;
}

.nhp-shopify .product-add-to-cart .btn-add-to-cart:hover:not(:disabled),
.nhp-shopify .product-add-to-cart .add-to-cart:hover:not(:disabled) {
  background: var(--adw-primary, #91bd31);
  color: var(--adw-text-primary-dark);
  /* sombre sur vert = WCAG OK */
  border: 1px solid var(--adw-primary);
}

.nhp-shopify .product-add-to-cart .btn-add-to-cart:active:not(:disabled),
.nhp-shopify .product-add-to-cart .add-to-cart:active:not(:disabled) {
  transform: scale(0.98);
}

/* L'icône SVG hérite de la couleur du texte (stroke="currentColor") */
.nhp-shopify .product-add-to-cart .cart-icon {
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
}

/* Le libellé : on l'affiche inline dans le bouton (et pas en "tooltip") */
.nhp-shopify .product-add-to-cart .btn-tooltip {
  display: inline;
  font-size: var(--adw-font-xs);
}

/* Variante "Voir le produit" (produit à déclinaisons) : même pilule */
.nhp-shopify .product-add-to-cart .btn-view-product {
  text-decoration: none;
  /* c'est un <a> */
}

/* État indisponible / disabled : grisé, non cliquable */
.nhp-shopify .product-add-to-cart .btn-add-to-cart:disabled,
.nhp-shopify .product-add-to-cart .add-to-cart:disabled,
.nhp-shopify .product-add-to-cart .btn-add-not-cart {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--adw-bg-light, #eef0f1);
  color: var(--adw-text-light, #9aa0a4);
  border: 0;
  font-weight: var(--adw-font-semibold, 600);
  text-transform: none;
  cursor: not-allowed;
  opacity: 1;
  /* classic met opacity:.65, on garde net mais grisé */
}

.nhp-shopify .product-add-to-cart .btn-add-not-cart .material-icons {
  font-size: 1.1rem;
  margin: 0;
}

/* -------------------------------------------------------------------------
   OPTION A (défaut ci-dessus) : bouton toujours visible.
   OPTION B : bouton révélé au survol comme la pilule d'aperçu.
   Pour l'activer, décommente le bloc ci-dessous :
   ------------------------------------------------------------------------- */
/*
.nhp-shopify .product-add-to-cart {
  opacity: 0;
  transform: translateY(0.4rem);
  transition: opacity .25s ease, transform .25s ease;
}
.nhp-shopify .product-miniature:hover .product-add-to-cart {
  opacity: 1;
  transform: translateY(0);
}
*/

/* =========================================================================
   Bouton wishlist (cœur) — carte Shopify (.nhp-shopify)
   Module PrestaShop : <button class="wishlist-button-add"><i>favorite_border</i></button>
   ========================================================================= */

/* Petit rond en haut à droite de la tuile (badges = en haut à gauche) */
.nhp-shopify .thumbnail-top .wishlist-button-add,
.nhp-shopify .product-miniature .wishlist-button-add {
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  z-index: 3;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .12);
  color: var(--adw-text, #2b3134);
  cursor: pointer;
  /* discret au repos, se révèle au survol de la carte */
  opacity: 0;
  transform: translateY(-0.25rem);
  transition: opacity .25s ease, transform .25s ease,
    background-color .2s ease, color .2s ease;
}

/* apparaît quand on survole la carte (et reste visible si focus clavier) */
.nhp-shopify .product-miniature:hover .wishlist-button-add,
.nhp-shopify .wishlist-button-add:focus-visible {
  opacity: 1;
  transform: translateY(0);
}

/* survol du bouton lui-même : passe au vert de marque */
.nhp-shopify .wishlist-button-add:hover {
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
  /* sombre sur vert = WCAG OK */
}

/* l'icône Material : taille calée sur le rond */
.nhp-shopify .wishlist-button-add .material-icons {
  font-size: 1.2rem;
  line-height: 1;
  margin: 0;
}

/* état "ajouté" : le module ajoute en général .added / favorite (cœur plein).
   On le garde visible en permanence et coloré. */
.nhp-shopify .wishlist-button-add.added,
.nhp-shopify .wishlist-button-add[aria-pressed="true"] {
  opacity: 1;
  transform: translateY(0);
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
}

/* sur mobile : pas de survol -> toujours visible (sinon inaccessible au doigt) */
@media (max-width: 47.9375em) {

  /* 767px */
  .nhp-shopify .product-miniature .wishlist-button-add {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================================
   Bouton "Voir tout" — générique, réutilisable
   .nhp-section__all : Nouveaux produits, Meilleures ventes, Promos, etc.
   À coller dans custom.css.
   ========================================================================= */
.nhp-section__all {
  display: flex;
  /* au lieu de inline-flex */
  width: fit-content;
  /* la pilule garde sa largeur naturelle */
  margin: 1.5rem auto 0;
  /* auto = centré horizontalement */
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: #1d2123;
  color: #fff;
  border: 1px solid #1d2123;
  border-radius: 999px;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-sm, 0.9375rem);
  font-weight: var(--adw-font-semibold, 600);
  line-height: 1.2;
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease,
    color .2s ease, transform .15s ease;
}

.nhp-section__all:hover,
.nhp-section__all:focus-visible {
  background: var(--adw-primary, #91bd31);
  border-color: var(--adw-primary, #91bd31);
  color: #1d2123;
  /* sombre sur vert = WCAG OK */
  text-decoration: none;
}

.nhp-section__all:active {
  transform: scale(0.98);
}

/* L'icône Material (si tu mets un glyphe dans le <i>, ex. arrow_forward) :
   elle glisse légèrement à droite au survol */
.nhp-section__all .material-icons {
  font-size: 1.2rem;
  line-height: 1;
  margin: 0;
  transition: transform .2s ease;
}

.nhp-section__all:hover .material-icons {
  transform: translateX(0.2rem);
}

/* classic stylise .all-product-link en gris (#7a7a7a) + margins :
   on neutralise pour que la pilule reste propre quelle que soit la page */
.nhp-section__all.all-product-link {
  color: #fff;
  /* écrase le gris classic */
  margin-top: 3.5rem;
}

.nhp-section__all.all-product-link:hover {
  color: #1d2123;
}

/* Variante flèche en CSS (aucune police requise) — remplace le bloc .material-icons ci-dessus.
   Retire alors le <i class="material-icons"></i> du HTML. */
.nhp-section__all::after {
  content: "";
  width: 1.1rem;
  height: 1.1rem;
  flex: 0 0 auto;
  background-color: currentColor;
  /* suit la couleur du texte (blanc puis sombre) */
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform .2s ease;
}

.nhp-section__all:hover::after {
  transform: translateX(0.2rem);
}


/* =========================================================================
   FOOTER NHP Moto — sombre, accents verts, watermark "NHP Motoculture"
   À coller dans custom.css.
   ========================================================================= */

/* -------------------------------------------------------------------------
   Conteneur footer : fond sombre, relatif (pour le watermark), overflow caché
   ------------------------------------------------------------------------- */
.adwcore__footer-container.footer-container {
  position: relative;
  overflow: hidden;
  background: var(--adw-text-dark, #1d2123);
  color: #fff;
  border-top: 3px solid var(--adw-primary, #91bd31);
  /* liseré vert en haut */
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 0;
  z-index: 20;
}

/* annule le padding-top du #footer de classic */
#footer {
  padding-top: 0;
}

body#checkout #footer {
  padding: 0;
}

/* Le watermark géant "NHP Motoculture", fondu en bas, derrière tout */
.adwcore__footer-container.footer-container::after {
  content: "NHP Motoculture";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  z-index: 0;
  text-align: center;
  white-space: nowrap;
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.8;
  font-size: clamp(3.5rem, 16vw, 16rem);
  color: rgba(255, 255, 255, 0.03);
  /* gris très fondu */
  pointer-events: none;
  user-select: none;
}

/* le contenu repasse AU-DESSUS du watermark */
.adwcore__footer-container.footer-container .adwcore-container {
  position: relative;
  z-index: 1;
}

/* -------------------------------------------------------------------------
   Colonnes de liens
   ------------------------------------------------------------------------- */
.footer-main__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem 2.5rem;
  padding-bottom: 2.5rem;
}

.footer-column__title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-size: 0.8125rem;
  font-weight: var(--adw-font-semibold, 600);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--adw-primary, #91bd31);
}

/* petit trait vert avant le titre */
.footer-column__title::before {
  content: "";
  width: 1.75rem;
  height: 2px;
  background: var(--adw-primary, #91bd31);
  flex: 0 0 auto;
}

.footer-column__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-column__list li {
  margin: 0;
}

.adwcore__footer-container.footer-container .footer-column__list a {
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-base, 0.9375rem);
  text-decoration: none;
  transition: color .2s ease, padding-left .2s ease;
}

.adwcore__footer-container.footer-container .footer-column__list a:hover {
  color: var(--adw-primary, #91bd31);
  padding-left: 0.25rem;
  /* léger décalage au survol */
}

/* Colonne contact : icône + texte alignés */
.footer-column__list--contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--adw-font-base, 0.9375rem);
  line-height: 1.5;
}

.footer-column__list--contact li svg {
  flex: 0 0 auto;
  margin-top: 0.15rem;
  color: var(--adw-primary, #91bd31);
  /* icônes vertes */
}

.footer-column__list--contact a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color .2s ease;
}

.footer-column__list--contact a:hover {
  color: var(--adw-primary, #91bd31);
}

/* -------------------------------------------------------------------------
   Footer after : Social + Paiements (sur une ligne, séparés)
   ------------------------------------------------------------------------- */
.footer-after {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social__title,
.footer-payment__title {
  margin: 0 0 0.85rem;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.75rem;
  font-weight: var(--adw-font-semibold, 600);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

/* Liens sociaux : carrés arrondis, deviennent verts au survol */
.footer-social__links {
  display: flex;
  gap: 0.6rem;
}

.footer-social__link {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  transition: background-color .2s ease, color .2s ease,
    border-color .2s ease, transform .2s ease;
}

.footer-social__link:hover {
  background: var(--adw-primary, #91bd31);
  border-color: var(--adw-primary, #91bd31);
  color: #1d2123;
  /* icône sombre sur vert = WCAG OK */
  transform: translateY(-2px);
}

.footer-social__link svg {
  display: block;
}

/* Icônes de paiement */
.footer-payment__methods {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  align-items: center;
}

.payment-icon {
  display: inline-block;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: transform .2s ease;
}

.payment-icon:hover {
  transform: translateY(-2px);
}

/* -------------------------------------------------------------------------
   Footer bottom : copyright + liens légaux + signature
   ------------------------------------------------------------------------- */
.footer-bottom {
  padding: 1.5rem 0 2rem;
}

.footer-bottom__content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

.footer-bottom__copyright,
.footer-bottom__prestashop {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom__links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
}

.adwcore__footer-container.footer-container .footer-bottom__links a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  transition: color .2s ease;
}

.adwcore__footer-container.footer-container .footer-bottom__links a:hover {
  color: var(--adw-primary, #91bd31);
}

.footer-bottom__separator {
  color: rgba(255, 255, 255, 0.3);
}

.adwcore__footer-container.footer-container .footer-bottom__prestashop a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color .2s ease;
}

.adwcore__footer-container.footer-container .footer-bottom__prestashop a:hover {
  color: var(--adw-primary, #91bd31);
}

/* -------------------------------------------------------------------------
   Responsive
   ------------------------------------------------------------------------- */
@media (max-width: 47.9375em) {

  /* 767px */
  .footer-after {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom__content {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .footer-payment__methods {
    justify-content: center;
  }

  /* watermark plus discret en bas sur mobile */
  .adwcore__footer-container.footer-container::after {
    font-size: clamp(2.5rem, 22vw, 6rem);
  }
}



















/* =========================================================================
   NHP Moto — Bloc NEWSLETTER (variante "Shopify")
   À coller à la suite de custom.css (chargé après theme.css).
   Markup : .nhp-newsletter (cf. ps_emailsubscription.tpl)
   ========================================================================= */

/* Bande pleine largeur : surface très claire + accent vert discret en angle.
   On neutralise le markup classic (.block_newsletter / .row) car on ne
   réutilise plus du tout sa grille. */
.nhp-newsletter {
  position: relative;
  width: 100%;
  margin: 0;
  padding-block: clamp(2.5rem, 5vw, 4rem);
  background:
    radial-gradient(120% 140% at 100% 0%, var(--adw-primary-soft) 0%, transparent 45%),
    var(--adw-bg-very-light, #fafafa);
  /* border-top: 1px solid var(--adw-border-light, rgba(84,92,96,.12)); */
  overflow: hidden;
}

/* Disposition : intro à gauche, formulaire à droite (desktop) -> empilé (mobile) */
.nhp-newsletter__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

/* ---- Intro -------------------------------------------------------------- */
.nhp-newsletter__intro {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  /* flex: 1 1 22rem; */
  min-width: 0;
}

/* Pastille verte douce avec icône enveloppe */
.nhp-newsletter__badge {
  flex: 0 0 auto;
  width: 3rem;
  height: 3rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
  /* icône foncée sur vert = WCAG OK */
  box-shadow: 0 4px 14px rgba(145, 189, 49, .35);
}

.nhp-newsletter__eyebrow {
  margin: 0 0 0.35rem;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-xs, 0.8125rem);
  font-weight: var(--adw-font-semibold, 600);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--adw-primary-dark, #76991f);
}

.nhp-newsletter__title {
  margin: 0;
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-size: clamp(1.5rem, 3.2vw, 2.25rem);
  font-weight: var(--adw-font-bold, 700);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--adw-text-dark, #1d2123);
}

.nhp-newsletter__subtitle {
  margin: 0.6rem 0 0;
  max-width: 34rem;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-sm, 0.9375rem);
  line-height: 1.5;
  color: var(--adw-text-light, #8b9298);
}

/* ---- Formulaire --------------------------------------------------------- */
.nhp-newsletter__form {
  flex: 1 1 24rem;
  min-width: 0;
  max-width: 48rem;
}

.nhp-newsletter__form form {
  margin: 0;
}

/* La "pilule" : icône mail + champ + bouton, tout dans une capsule blanche */
.nhp-newsletter__field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  width: 100%;
  min-height: 3.5rem;
  padding: 0.35rem 0.4rem 0.35rem 0.9rem;
  background: var(--adw-bg-white, #fff);
  border: 1px solid var(--adw-border-medium, rgba(84, 92, 96, .22));
  border-radius: 999px;
  box-shadow: var(--adw-shadow-sm, 0 2px 4px rgba(46, 52, 56, .08));
  transition: border-color .2s ease, box-shadow .2s ease;
}

.nhp-newsletter__field:focus-within {
  border-color: var(--adw-primary, #91bd31);
  box-shadow: 0 0 0 3px var(--adw-primary-soft, rgba(145, 189, 49, .1));
}

.nhp-newsletter__field-icon {
  flex: 0 0 auto;
  display: inline-flex;
  color: var(--adw-text-light, #8b9298);
}

.nhp-newsletter__input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0.5rem 0.25rem;
  font: inherit;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-sm, 0.9375rem);
  color: var(--adw-text, #2b3134);
}

.nhp-newsletter__input::placeholder {
  color: var(--adw-text-light, #9aa0a4);
}

.nhp-newsletter__input:focus {
  outline: 0;
}

/* Bouton "S'abonner" : pilule verte, texte foncé (WCAG), flèche */
.nhp-newsletter__submit {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  height: 2.8rem;
  padding: 0 1.35rem;
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
  border: 0;
  border-radius: 999px;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-sm, 0.9375rem);
  font-weight: var(--adw-font-semibold, 600);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s ease, transform .15s ease;
}

.nhp-newsletter__submit:hover {
  background: var(--adw-primary-dark, #76991f);
  color: #1d2123;
  /* reste foncé : écrase le cyan classic */
}

.nhp-newsletter__submit:active {
  transform: scale(0.97);
}

.nhp-newsletter__submit:focus-visible {
  outline: 2px solid var(--adw-primary-dark, #76991f);
  outline-offset: 2px;
}

.nhp-newsletter__submit-icon {
  flex: 0 0 auto;
  transition: transform .2s ease;
}

.nhp-newsletter__submit:hover .nhp-newsletter__submit-icon {
  transform: translateX(0.15rem);
}

/* ---- Message retour ----------------------------------------------------- */
.nhp-newsletter__alert {
  margin: 0.85rem 0 0;
  padding: 0.6rem 0.9rem;
  border-radius: var(--adw-buttons-radius-small, .25rem);
  font-size: var(--adw-font-sm, 0.875rem);
  line-height: 1.4;
}

.nhp-newsletter__alert.is-success {
  background: var(--adw-primary-soft, rgba(145, 189, 49, .1));
  color: var(--adw-primary-dark, #76991f);
}

.nhp-newsletter__alert.is-error {
  background: rgba(214, 69, 69, .1);
  color: var(--adw-error, #d64545);
}

/* ---- Mentions légales / RGPD -------------------------------------------- */
.nhp-newsletter__legal {
  margin-top: 0.85rem;
}

.nhp-newsletter__legal-text {
  margin: 0.5rem 0 0;
  font-size: 0.6875rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--adw-text-light, #8b9298);
}

.nhp-newsletter__legal-text a {
  color: var(--adw-primary-dark, #76991f);
  text-decoration: underline;
}

.nhp-newsletter__legal-text a:hover {
  color: var(--adw-primary, #91bd31);
}

.nhp-newsletter__legal-text sup {
  color: var(--adw-primary-dark, #76991f);
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 61.99em) {

  /* < 992px : on empile, form pleine largeur */
  .nhp-newsletter__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .nhp-newsletter__form {
    max-width: none;
  }
}

@media (max-width: 30em) {

  /* < 480px : on garde la flèche, on masque le mot */
  .nhp-newsletter__submit {
    padding: 0 0.9rem;
    height: 2.6rem;
  }

  .nhp-newsletter__submit-label {
    display: none;
  }
}
































/* =========================================================================
   Header de catégorie — version claire, esprit Shopify
   ========================================================================= */
.nhp-cat-hero {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  background: #fff;
  border: 1px solid var(--adw-border, #e6e8ea);
}

/* Image en bandeau au-dessus du texte (pas en fond) */
.nhp-cat-hero__media {
  line-height: 0;
}

.nhp-cat-hero__media img {
  width: 100%;
  height: clamp(160px, 24vw, 280px);
  object-fit: cover;
  display: block;
}

/* Variante SANS image : léger dégradé clair teinté vert de marque */
.nhp-cat-hero--plain {
  background: linear-gradient(135deg, #f7faf0 0%, #ffffff 60%);
}

/* Contenu */
.nhp-cat-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(1.5rem, 4vw, 2.25rem);
  color: var(--adw-text-dark, #1d2123);
}

/* Fil d'Ariane */
.nhp-cat-hero__breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
}

.nhp-cat-hero__breadcrumb a {
  color: var(--adw-text-light, #6b7177);
  text-decoration: none;
  transition: color .2s ease;
}

.nhp-cat-hero__breadcrumb a:hover {
  color: var(--adw-primary-dark, #76991f);
}

.nhp-cat-hero__crumb-sep {
  color: #c2c7cb;
}

.nhp-cat-hero__crumb-current {
  color: var(--adw-text-dark, #1d2123);
  font-weight: 600;
}

/* Titre */
.nhp-cat-hero__title {
  margin: 0;
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-size: clamp(1.75rem, 5vw, 3rem);
  font-weight: var(--adw-font-bold, 700);
  line-height: 1.05;
  color: var(--adw-text-dark, #1d2123);
  text-transform: none;
}

/* Compteur de produits : pilule verte claire */
.nhp-cat-hero__count {
  margin: 0.85rem 0 0;
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.8rem;
  background: #eef5e0;
  border-radius: 999px;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: var(--adw-font-semibold, 600);
  color: var(--adw-primary-dark, #4f6b15);
}

/* ---- Description avec troncature + "Afficher plus" --------------------- */
.nhp-cat-hero__desc {
  margin-top: 1rem;
  /* max-width: 50rem; */
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-base, 1rem);
  line-height: 1.6;
  color: var(--adw-text, #4a5054);
}

.nhp-cat-hero__desc p {
  margin: 0 0 0.6rem;
}

.nhp-cat-hero__desc p:last-child {
  margin-bottom: 0;
}

.nhp-cat-hero__desc a {
  color: var(--adw-primary-dark, #76991f);
  text-underline-offset: 2px;
}

/* État tronqué : on limite à 4 lignes via line-clamp */
.nhp-cat-hero__desc.is-clamped .nhp-cat-hero__desc-inner {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  /* 3 ou 4 lignes, à ton goût */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Bouton "Afficher plus" */
.nhp-cat-hero__more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.6rem;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: var(--adw-font-semibold, 600);
  color: var(--adw-primary-dark, #76991f);
  transition: color .2s ease;
}

.nhp-cat-hero__more:hover {
  color: var(--adw-primary, #91bd31);
}

.nhp-cat-hero__more-icon {
  transition: transform .25s ease;
}

.nhp-cat-hero__more[aria-expanded="true"] .nhp-cat-hero__more-icon {
  transform: rotate(180deg);
}

@media (max-width: 47.9375em) {
  .nhp-cat-hero {
    border-radius: 0.75rem;
  }
}





































/* =========================================================================
   Filtres actifs (ps_facetedsearch) — pilules esprit Shopify
   ========================================================================= */
#js-active-search-filters.active_filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  background: #f7f8f9;
  border: 1px solid var(--adw-border, #e6e8ea);
  border-radius: 0.85rem;
}

/* le hide natif reste masqué */
#js-active-search-filters.hide {
  display: none;
}

/* Titre "Filtres actifs" */
.active_filters .active-filter-title {
  margin: 0 0.35rem 0 0;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: var(--adw-font-semibold, 600);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--adw-text-light, #6b7177);
}

/* La liste s'aligne dans le flux flex */
.active_filters ul {
  display: contents;
  /* les <li> deviennent enfants directs du flex */
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Chaque filtre actif = une pilule */
.active_filters .filter-block {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  padding: 0.35rem 0.4rem 0.35rem 0.85rem;
  background: #fff;
  border: 1px solid var(--adw-border, #e0e3e6);
  border-radius: 999px;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: var(--adw-font-medium, 500);
  color: var(--adw-text-dark, #1d2123);
  line-height: 1.3;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.active_filters .filter-block:hover {
  border-color: var(--adw-primary, #91bd31);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .06);
}

/* La croix de suppression : petit rond qui passe au vert au survol */
.active_filters .filter-block .js-search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: var(--adw-bg-light, #eef0f1);
  color: var(--adw-text-light, #6b7177);
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease;
}

.active_filters .filter-block .js-search-link:hover {
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
  /* sombre sur vert = WCAG OK */
}

.active_filters .filter-block .close {
  font-size: 0.95rem;
  line-height: 1;
  opacity: 1;
  /* classic met opacity sur .close */
  padding: 0;
  margin: 0;
}

@media (max-width: 47.9375em) {

  /* 767px */
  #js-active-search-filters.active_filters {
    padding: 0.7rem 0.85rem;
    border-radius: 0.7rem;
  }
}










/* =========================================================================
   Colonne de gauche (filtres + catégories) — sticky, esprit Shopify
   ========================================================================= */

/* ---- Le wrapper devient sticky -----------------------------------------
   #left-column contient #search_filters_wrapper + .block-categories.
   On rend le .wrapper interne collant sous le header. */
#left-column .wrapper {
  position: sticky;
  top: 5.5rem;
  /* décalage sous le header ; ajuste si header fixe */
  max-height: calc(100vh - 2rem);
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 0.25rem;
  /* place pour la scrollbar */
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: #cfd4d8 transparent;
}

/* scrollbar discrète (WebKit) */
#left-column .wrapper::-webkit-scrollbar {
  width: 6px;
}

#left-column .wrapper::-webkit-scrollbar-thumb {
  background: #cfd4d8;
  border-radius: 999px;
}

#left-column .wrapper::-webkit-scrollbar-track {
  background: transparent;
}

/* ---- Bloc filtres ------------------------------------------------------- */
#search_filters {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background: #fff;
  border: 1px solid var(--adw-border, #e6e8ea);
  border-radius: 1rem;
}

/* Titre "Filtrer par" */
#search_filters>.h6 {
  margin: 0 0 1rem;
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-weight: 600;
  color: var(--adw-text-dark, #1d2123);
  font-size: var(--adw-font-md);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Bouton "tout effacer" */
.clear-all-wrapper {
  margin-bottom: 1rem;
}

#search_filters .js-search-filters-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  background: #fff5f5;
  border: 1px solid #f3d4d4;
  border-radius: 999px;
  color: #b3261e;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.8125rem;
  font-weight: var(--adw-font-semibold, 600);
  text-transform: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease;
}

#search_filters .js-search-filters-clear-all:hover {
  background: #fdecec;
  border-color: #e9b8b8;
}

#search_filters .js-search-filters-clear-all .material-icons {
  font-size: 1rem;
}

/* ---- Chaque facette ----------------------------------------------------- */
#search_filters .facet {
  padding: 0;
  border-top: 1px solid var(--adw-border, #eef0f1);
  padding-top: 1rem;
  margin-top: 1rem;
}

#search_filters .facet:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0;
}

/* Titre de facette (desktop) */
#search_filters .facet .facet-title {
  margin: 0 0 0.6rem;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: var(--adw-font-semibold, 600);
  color: var(--adw-text-dark, #1d2123);
  text-transform: none;
}

/* Liste des filtres : plus de max-height ni d'overflow */
#search_filters .facet ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

/* Voir plus / moins */
#search_filters .facet.is-collapsed li.nhp-facet-extra {
  display: none;
}

#search_filters .nhp-facet-more {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.4rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: 0.8125rem;
  font-weight: var(--adw-font-semibold, 600);
  color: var(--adw-primary, #1d2123);
  cursor: pointer;
}

#search_filters .nhp-facet-more:hover {
  text-decoration: underline;
}

#search_filters .nhp-facet-more .material-icons {
  font-size: 1.1rem;
  transition: transform .2s ease;
}

#search_filters .nhp-facet-more[aria-expanded="true"] .material-icons {
  transform: rotate(180deg);
}

/* Dropdown (marques) : scroll interne + recherche collée en haut */
#search_filters .facet-dropdown .dropdown-menu {
  max-height: 18rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  /* évite de faire scroller la page */
  scrollbar-width: thin;
  padding-top: 0;
}

#search_filters .facet-dropdown .dropdown-menu::-webkit-scrollbar {
  width: 5px;
}

#search_filters .facet-dropdown .dropdown-menu::-webkit-scrollbar-thumb {
  background: #d7dbde;
  border-radius: 999px;
}

#search_filters .nhp-facet-search {
  position: sticky;
  top: 0;
  z-index: 1;
  display: block;
  width: 100%;
  padding: 0.5rem 0.65rem;
  border: 0;
  border-bottom: 1px solid var(--adw-border, #eef0f1);
  background: #fff;
  font-size: 0.875rem;
  outline: none;
}

#search_filters .nhp-facet-search-empty {
  padding: 0.5rem 0.65rem;
  font-size: 0.8125rem;
  color: #9aa0a4;
}

/* Si beaucoup d'items (catégories) : on scrolle dans la facette */
#search_filters .facet ul.collapse,
#search_filters .facet ul.collapse.in {
  /* max-height: 16rem; */
  /* overflow-y: auto; */
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

#search_filters .facet .facet-label .custom-checkbox,
#search_filters .facet .facet-label .custom-radio {
  top: 0px !important;
}

#search_filters .facet .facet-label {
  align-items: center;
}

#search_filters .facet ul::-webkit-scrollbar {
  width: 5px;
}

#search_filters .facet ul::-webkit-scrollbar-thumb {
  background: #d7dbde;
  border-radius: 999px;
}

/* ---- Label + checkbox custom ------------------------------------------- */
#search_filters .facet-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color .15s ease;
}

#search_filters .facet-label:hover {
  background: #f5f7f9;
}

/* Checkbox custom : carré arrondi, coche verte quand actif */
#search_filters .custom-checkbox {
  position: relative;
  top: 0px !important;
  flex: 0 0 auto;
  width: 1.15rem;
  height: 1.15rem;
}

#search_filters .custom-checkbox input[type="checkbox"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

#search_filters .custom-checkbox input[type="checkbox"]+span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  height: 1.15rem;
  border: 1.5px solid #c4c9cd;
  border-radius: 0.35rem;
  background: #fff;
  transition: background-color .15s ease, border-color .15s ease;
}

#search_filters .custom-checkbox input[type="checkbox"]+span .checkbox-checked {
  font-size: 0.95rem;
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .15s ease, transform .15s ease;
}

/* état coché : carré vert + coche blanche */
#search_filters .custom-checkbox input[type="checkbox"]:checked+span {
  background: var(--adw-primary, #91bd31);
  border-color: var(--adw-primary, #91bd31);
}

#search_filters .custom-checkbox input[type="checkbox"]:checked+span .checkbox-checked {
  opacity: 1;
  transform: scale(1);
}

/* Lien du filtre + compteur */
#search_filters .facet-label a {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 !important;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  color: var(--adw-text, #3a4044);
  text-decoration: none;
  line-height: 1.3;
  transition: color .15s ease;
}

#search_filters .facet-label:hover a {
  color: var(--adw-primary-dark, #76991f);
}

/* filtre actif : libellé en gras + vert */
#search_filters .facet-label.active a {
  color: var(--adw-primary-dark, #76991f);
  font-weight: 600;
  margin-top: 0
}

#search_filters .facet-label .magnitude {
  flex: 0 0 auto;
  padding: 0.05rem 0.4rem;
  background: var(--adw-bg-light, #eef0f1);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--adw-text-light, #6b7177);
}

/* ---- Facette "dropdown" : respecte l'état .open de Bootstrap ----------- */
#search_filters .facet-dropdown {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

#search_filters .facet-dropdown .select-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.85rem;
  margin: 0;
  background: #fff;
  border: 1px solid var(--adw-border, #d7dbde);
  border-radius: 0.6rem;
  color: var(--adw-text, #3a4044);
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color .2s ease;
}

#search_filters .facet-dropdown.open .select-title,
#search_filters .facet-dropdown .select-title:hover {
  border-color: var(--adw-primary, #91bd31);
}

/* l'icône chevron tourne quand ouvert */
#search_filters .facet-dropdown .select-title .material-icons {
  transition: transform .2s ease;
}

#search_filters .facet-dropdown.open .select-title .material-icons {
  transform: rotate(180deg);
}

/* ★ CLÉ : le menu est masqué par défaut, affiché SEULEMENT quand .open  */
#search_filters .facet-dropdown .dropdown-menu {
  display: none;
  /* fermé par défaut */
  position: absolute;
  z-index: 50;
  margin-top: 0.35rem;
  padding: 0.35rem;
  width: 100%;
  max-height: 18rem;
  overflow-y: auto;
  background: #fff;
  border: 1px solid var(--adw-border, #e6e8ea);
  border-radius: 0.6rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
  scrollbar-width: thin;
}

#search_filters .facet-dropdown.open .dropdown-menu {
  display: block;
  /* ★ ouvert au clic (classe posée par Bootstrap) */
}

#search_filters .facet-dropdown .select-list {
  display: block;
  padding: 0.45rem 0.6rem;
  border-radius: 0.45rem;
  color: var(--adw-text, #3a4044);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

#search_filters .facet-dropdown .select-list:hover {
  background: #f0f6e4;
  color: var(--adw-primary-dark, #76991f);
}

/* le <li> conteneur doit être en position relative pour le menu absolu */
#search_filters .facet-dropdown.dropdown {
  position: relative;
}

/* ---- Bloc catégories (ps_categorytree) sous les filtres ---------------- */
.block-categories {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
  background: #fff;
  border: 1px solid var(--adw-border, #e6e8ea);
  border-radius: 1rem;
}

.block-categories .category-top-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.block-categories .category-sub-menu {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 22rem;
  overflow-y: auto;
  padding-right: 0.25rem;
  scrollbar-width: thin;
}

.block-categories .category-sub-menu li {
  margin: 0;
}

.block-categories a {
  display: block;
  padding: 0.4rem 0.5rem;
  border-radius: 0.5rem;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.85rem;
  color: var(--adw-text, #3a4044);
  text-decoration: none;
  transition: background-color .15s ease, color .15s ease;
}

.block-categories a:hover {
  background: #f0f6e4;
  color: var(--adw-primary-dark, #76991f);

}

.block-categories .category-top-menu>li:first-child>a {
  font-weight: 600;
  color: var(--adw-text-dark, #1d2123);
  font-size: var(--adw-font-md);
}

/* ---- Mobile : on désactive le sticky (filtres en panneau) -------------- */
@media (max-width: 61.99em) {

  /* < 992px : colonne empilée */
  #left-column .wrapper {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
























/* =========================================================================
   Layout catégorie : 2 colonnes responsive (filtres + produits)
   ========================================================================= */
#js-product-list-top {
  display: flex;
}

/* Le conteneur des 2 colonnes : flex propre */
.container-flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  /* align-items: flex-start;       le sticky de la colonne gauche fonctionne */
}

/* Colonne gauche (filtres) : largeur fixe confortable */
#left-column {
  flex: 0 0 320px;
  max-width: 320px;
  width: 320px;
  padding: 0;
}

/* Colonne contenu : prend tout le reste */
#content-wrapper {
  flex: 1 1 0;
  min-width: 0;
  /* ★ anti-débordement de la grille */
  padding: 0;
}

/* ---- Grille produits : s'adapte à la largeur réelle de la colonne ------- */
/* Comme la zone produits est plus étroite (75%), on passe à 4 colonnes
   pour que les cartes respirent, même si data-columns="5". */
.nhp-grid[data-columns="5"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ---- Points de rupture ------------------------------------------------- */

/* Grand écran : on autorise les 5 colonnes annoncées */
@media (min-width: 1600px) {
  .nhp-grid[data-columns="5"] {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

/* Écran moyen : 3 colonnes produits */
@media (max-width: 1200px) {

  .nhp-grid,
  .nhp-grid[data-columns] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablette : la colonne filtres passe AU-DESSUS, pleine largeur, non sticky */
@media (max-width: 991px) {
  .container-flex {
    flex-direction: column;
  }

  #left-column,
  #content-wrapper {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  /* filtres non collants en mode empilé */
  #left-column .wrapper {
    position: static;
    max-height: none;
    overflow: visible;
  }

  .nhp-grid,
  .nhp-grid[data-columns] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile : 2 colonnes produits */
@media (max-width: 767px) {

  .nhp-grid,
  .nhp-grid[data-columns] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nhp-grid {
    gap: 0.75rem;
  }
}

/* Petit mobile : 1 colonne */
@media (max-width: 420px) {

  .nhp-grid,
  .nhp-grid[data-columns] {
    grid-template-columns: 1fr;
  }
}






/* =========================================================================
   Barre de sélection produits (tri / nombre / filtre) — classes maison
   ========================================================================= */
.products-selection {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  /* ★ total à gauche, tri à droite */
  gap: var(--adw-space-md);
  margin-bottom: var(--adw-space-md);
}

/* Nombre de produits (gauche) */
.products-selection__count {
  flex: 0 1 auto;
}

.products-selection__count p {
  margin: 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-light);
}

/* Outils (tri + filtre) — collés à droite */
.products-selection__tools {
  display: flex;
  align-items: center;
  gap: var(--adw-space-sm);
  margin-left: auto;
  /* ★ pousse le bloc tri complètement à droite */
}

/* Bouton "Filtrer" (mobile) */
.products-selection__filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  cursor: pointer;
  transition: var(--nhp-trans);
}

.products-selection__filter-btn:hover {
  background: var(--adw-primary-dark);
}

.products-selection__filter-btn .material-icons {
  font-size: 1.1rem;
}

/* "Affichage 1-20 sur X" (mobile, sous la barre) */
.products-selection__showing {
  flex: 1 1 100%;
  margin-top: var(--adw-space-xs);
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  text-align: center;
}

/* Responsive : en mobile, total masqué -> tri prend la ligne */
@media (max-width: 767px) {
  .products-selection__tools {
    margin-left: 0;
    width: 100%;
    justify-content: space-between;
  }
}

/* "Trier par :" devant le dropdown de tri */
.products-sort-order {
  display: inline-flex;
  align-items: center;
  gap: var(--adw-space-sm);
}

.products-sort-order__label {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-light);
  white-space: nowrap;
}

.products-sort-order__current {
  display: inline-flex;
  align-items: center;
}






/* =========================================================================
   Grille de produits — 5 colonnes responsive, piloté par data-columns
   ========================================================================= */
.nhp-grid {
  display: grid !important;
  gap: 1.25rem;
  /* nombre de colonnes par défaut = 5, surchargé par data-columns plus bas */
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

/* pilotage par attribut data-columns (desktop) */
.nhp-grid[data-columns="5"] {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.nhp-grid[data-columns="4"] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nhp-grid[data-columns="3"] {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* IMPORTANT : on neutralise le flex que classic met sur .products
   (.featured-products .products { display:flex } etc.) */
.nhp-grid.products {
  display: grid;
  /* écrase le display:flex de classic */
}

/* Les enfants .product ne doivent plus avoir de largeur Bootstrap.
   minmax(0,1fr) évite le débordement des contenus longs. */
.nhp-grid .product,
.nhp-grid .js-product {
  width: 100%;
  min-width: 0;
  /* clé anti-débordement en grid */
  margin: 0;
  padding: 0;
}

/* ---- Responsive : on réduit le nombre de colonnes ---------------------- */
@media (max-width: 1400px) {

  .nhp-grid,
  .nhp-grid[data-columns] {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {

  .nhp-grid,
  .nhp-grid[data-columns] {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {

  .nhp-grid,
  .nhp-grid[data-columns] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nhp-grid {
    gap: 0.85rem;
  }

  .nhp-shopify .images-piece_origine img,
  .nhp-shopify .images-piece_adaptable img {
    width: 6em;
  }

  /* .nhp-shopify .product-add-to-cart .btn-tooltip {display: none;} */
  .nhp-shopify .product-miniature .highlighted-informations {
    display: none
  }

  .nhp-shopify .images-piece_origine,
  .nhp-shopify .images-piece_adaptable {
    top: auto;
    bottom: 0px;
  }
}

@media (max-width: 575px) {

  /* 1 produit par ligne */
  .nhp-grid,
  .nhp-grid[data-columns] {
    grid-template-columns: 1fr;
    /* gap: 0.75rem; */
  }

  /* la carte passe en ligne (flex horizontal) */
  .productsList.nhp-shopify .product-miniature {
    flex-direction: row;
    /* ★ horizontal */
    align-items: stretch;
  }

  /* le conteneur interne aussi */
  .productsList.nhp-shopify .product-miniature .thumbnail-container {
    display: flex;
    flex-direction: row;
    width: 100%;
    /* gap: 0.75rem; */
  }

  /* ---- Image à gauche : largeur fixe ---- */
  .productsList.nhp-shopify .product-miniature .thumbnail-top {
    flex: 0 0 40%;
    /* l'image prend 40% de la largeur */
    max-width: 40%;
    border-right: 1px solid var(--nhp-border);
  }

  .productsList.nhp-shopify .product-miniature .product-thumbnail img {
    aspect-ratio: 1 / 1;
    padding: 0.5rem;
    /* moins de padding qu'en desktop */
  }

  /* ---- Infos à droite : prennent le reste ---- */
  .productsList.nhp-shopify .product-miniature .product-description {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    /* centre verticalement le contenu */
    padding: 0.6rem 0.75rem 0.6rem 0;
    background: #faf9f9;
    padding: 1em 1em;
    border-top-right-radius: var(--adw-miniature-radius-outset);
    border-bottom-right-radius: var(--adw-miniature-radius-outset);
  }

  /* titre : on autorise 3 lignes ici (plus de place en hauteur) */
  .productsList.nhp-shopify .product-miniature .h3.product-title {
    height: auto;
    /* ★ annule le height:4rem du desktop */
  }

  .productsList.nhp-shopify .product-miniature .product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* prix bien visible */
  .productsList.nhp-shopify .product-miniature .product-price-and-shipping {
    margin-top: 0.35rem;
  }

  /* bouton "Ajouter au panier" : compact, pleine largeur des infos */
  .productsList.nhp-shopify .product-add-to-cart {
    margin-top: 0.5rem;
    padding-top: 0;
  }

  .productsList.nhp-shopify .product-add-to-cart-wrapper {
    margin-bottom: 0;
  }

  .productsList.nhp-shopify .product-add-to-cart .btn-add-to-cart,
  .productsList.nhp-shopify .product-add-to-cart .add-to-cart {
    padding: 0.5rem 0.75rem;
    font-size: var(--adw-font-xs);
  }

  /* on peut masquer le libellé du bouton et garder juste l'icône si trop serré */
  /* .productsList.nhp-shopify .product-add-to-cart .btn-tooltip { display: none; } */

  /* ---- Repositionnement des éléments flottants sur l'image ---- */
  /* wishlist (cœur) : reste en haut à droite de la MINI image */
  .productsList.nhp-shopify .product-miniature .adw-bl-heart,
  .productsList.nhp-shopify .product-miniature .wishlist-button-add {
    top: 0.35rem;
    right: 0.35rem;
    width: 2rem;
    height: 2rem;
    opacity: 1;
    /* toujours visible en mobile */
    transform: none;
  }

  /* pastille origine/adaptable : plus petite */
  .productsList.nhp-shopify .images-piece_origine img,
  .productsList.nhp-shopify .images-piece_adaptable img {
    width: 3.5rem;
    /* top: 0.35rem;
    right: 0.35rem; */
  }

  /* aperçu rapide (quick-view) : on le masque en mobile horizontal
     (peu de place, et le tap sur la carte suffit) */
  .productsList.nhp-shopify .product-miniature .highlighted-informations {
    display: none;
  }

  /* flags : en haut à gauche de la mini image */
  .productsList.nhp-shopify .product-miniature .product-flags {
    top: 0.35rem;
    left: 0.35rem;
  }
}



































/* =========================================================================
   Pagination — esprit Shopify clair
   ========================================================================= */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--adw-border, #e6e8ea);
}

/* on neutralise les colonnes Bootstrap (col-md-4 / col-md-6 offset) */
.pagination>[class*="col-md"] {
  width: auto;
  max-width: none;
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
}

/* Résumé "Affichage 1-20 de 6535" */
.pagination .col-md-4 {
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  color: var(--adw-text-light, #6b7177);
}

/* Liste des pages */
.pagination .page-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
  list-style: none;
  background: transparent;
}

.pagination .page-list li {
  margin: 0;
}

/* Chaque lien de page = pastille */
.pagination .page-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.65rem;
  border: 1px solid var(--adw-border, #e0e3e6);
  border-radius: 0.6rem;
  background: #fff;
  color: var(--adw-text, #3a4044);
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.875rem;
  font-weight: var(--adw-font-medium, 500);
  text-decoration: none;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}

.pagination .page-list a:hover {
  border-color: var(--adw-primary, #91bd31);
  color: var(--adw-primary-dark, #76991f);
}

/* Page courante : pastille verte, texte sombre (WCAG) */
.pagination .page-list .current a,
.pagination .page-list .current a.disabled {
  background: var(--adw-primary, #91bd31);
  border-color: var(--adw-primary, #91bd31);
  color: #1d2123;
  font-weight: var(--adw-font-semibold, 600);
  cursor: default;
}

/* Liens désactivés (page courante non cliquable) */
.pagination .page-list a.disabled {
  pointer-events: none;
}

/* Espaceur "…" */
.pagination .page-list .spacer {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2.4rem;
  color: var(--adw-text-light, #9aa0a4);
}

/* Boutons Précédent / Suivant : pastilles plus larges avec libellé */
.pagination .page-list a.previous,
.pagination .page-list a.next {
  gap: 0.2rem;
  padding: 0 0.9rem;
  font-weight: var(--adw-font-semibold, 600);
}

.pagination .page-list a.previous .material-icons,
.pagination .page-list a.next .material-icons {
  font-size: 1.1rem;
}

/* Responsive : tout centré et empilé sur mobile */
@media (max-width: 767px) {
  .pagination {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .pagination .page-list {
    justify-content: center;
  }
}












































/* =========================================================================
   Page Panier — esprit Shopify clair
   ========================================================================= */

/* Grille à 2 colonnes : produits / récapitulatif */
.cart-grid.cart-grid-adw {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: flex-start;
}

.cart-grid-body {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  max-width: none;
}

.cart-grid-right {
  flex: 0 0 360px;
  max-width: 360px;
  width: 360px;
  padding: 0;
}

/* ---- Cartes (conteneur produits + récap) ------------------------------- */
.cart-container,
.cart-summary {
  background: #fff;
  border: 1px solid var(--adw-border, #e6e8ea);
  border-radius: 1rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .04);
}

.cart-container .card-block {
  padding: 1.5rem;
}

.cart-container .h1 {
  margin: 0;
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--adw-font-bold, 700);
  color: var(--adw-text-dark, #1d2123);
  text-transform: none;
}

.cart-container .separator {
  margin: 0;
  border: 0;
  border-top: 1px solid var(--adw-border, #eef0f1);
}

/* ---- Lignes produit ---------------------------------------------------- */
.cart-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-item {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--adw-border, #eef0f1);
}

.cart-item:last-child {
  border-bottom: 0;
}

.product-line-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

/* Image produit */
.product-line-grid-left {
  flex: 0 0 auto;
  width: auto;
  padding: 0;
}

.product-line-grid-left .product-image {
  display: block;
  width: 5.5rem;
  height: 5.5rem;
  border: 1px solid var(--adw-border, #eef0f1);
  border-radius: 0.6rem;
  overflow: hidden;
  background: var(--adw-bg-light, #f5f6f7);
}

.product-line-grid-left .product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.4rem;
}

/* Corps : nom + prix unitaire */
.product-line-grid-body {
  flex: 1 1 14rem;
  min-width: 0;
  padding: 0;
  width: auto;
}

.product-line-grid-body .label,
.product-line-info .label {
  display: block;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.9375rem;
  font-weight: var(--adw-font-semibold, 600);
  line-height: 1.35;
  color: var(--adw-text-dark, #1d2123);
  text-decoration: none;
}

.product-line-grid-body .label:hover {
  color: var(--adw-primary-dark, #76991f) !important;
}

.product-line-grid-body br {
  display: none;
}

/* Prix de la ligne (corps) */
.product-line-info.product-price {
  margin-top: 0.4rem;
}

.product-line-info .current-price .price {
  font-size: 0.95rem;
  font-weight: var(--adw-font-semibold, 600);
  color: var(--adw-text-dark, #1d2123);
}

/* prix barré + remise */
.product-line-info .product-discount .regular-price {
  font-size: 0.8125rem;
  color: var(--adw-text-light, #9aa0a4);
  text-decoration: line-through;
  margin-right: 0.4rem;
}

.product-line-info .discount {
  background: var(--adw-bg-badge-red);
  color: var(--adw-badge-red);
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0.15rem 0.55rem;
  font-size: var(--adw-font-xs, 0.75rem);
  font-weight: var(--adw-font-semibold, 600);
  text-transform: none;
  border-radius: 999px;
}

.unit-price-cart {
  font-size: 0.75rem;
  color: var(--adw-text-light, #9aa0a4);
  margin-top: 0.15rem;
}

/* Actions : quantité + prix total + suppression */
.product-line-grid-right {
  flex: 1 1 100%;
  padding: 0;
  width: auto;
}

.product-line-grid-right>.row,
.product-line-grid-right .row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
  margin: 0;
}

.product-line-grid-right [class*="col-"] {
  width: auto;
  padding: 0;
  flex: 0 0 auto;
}

.product-line-grid-right .hidden-md-up {
  display: none !important;
}

/* Champ quantité (touchspin) */
.product-line-actions .input-group.bootstrap-touchspin {
  display: inline-flex;
  align-items: stretch;
  width: auto;
  border: 1px solid var(--adw-border, #d7dbde);
  border-radius: 0.5rem;
  overflow: hidden;
  background: #fff;
}

.product-line-actions .js-cart-line-product-quantity {
  width: 3rem;
  height: 2.4rem;
  border: 0 !important;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--adw-text-dark, #1d2123);
  -moz-appearance: textfield;
  background: transparent;
}

.product-line-actions .js-cart-line-product-quantity::-webkit-outer-spin-button,
.product-line-actions .js-cart-line-product-quantity::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-line-actions .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--adw-border, #d7dbde);
}

.product-line-actions .input-group-btn-vertical .btn-touchspin {
  flex: 1 1 50%;
  width: 1.75rem;
  padding: 0;
  background: var(--adw-bg-light, #f5f6f7);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease;
}

.product-line-actions .input-group-btn-vertical .btn-touchspin:hover {
  background: #e8eddf;
  color: var(--adw-primary-dark, #76991f);
}

.product-line-actions .input-group-btn-vertical .btn-touchspin+.btn-touchspin {
  border-top: 1px solid var(--adw-border, #d7dbde);
}

.product-line-actions .input-group-btn-vertical .material-icons {
  font-size: 0.95rem;
}

/* Prix total de la ligne */
.product-line-actions .price .product-price strong {
  font-size: 1rem;
  font-weight: var(--adw-font-bold, 700);
  color: var(--adw-text-dark, #1d2123);
  white-space: nowrap;
}

/* Bouton supprimer */
.cart-line-product-actions .remove-from-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  color: var(--adw-text-light, #9aa0a4);
  transition: background-color .15s ease, color .15s ease;
}

.cart-line-product-actions .remove-from-cart:hover {
  background: #fdecec;
  color: #b3261e;
}

.cart-line-product-actions .remove-from-cart .material-icons {
  font-size: 1.2rem;
  float: none;
}

/* ---- Lien "Continuer mes achats" --------------------------------------- */
.cart-grid-body>.label {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 1.25rem;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 0.9rem;
  font-weight: var(--adw-font-semibold, 600);
  color: var(--adw-text, #3a4044);
  text-decoration: none;
  transition: color .2s ease;
}

.cart-grid-body>.label:hover {
  color: var(--adw-primary-dark, #76991f);
}

/* ---- Récapitulatif (colonne droite, sticky) ---------------------------- */
.cart-grid-right {
  position: sticky;
  top: 4.5rem;
}

.cart-summary .card-block {
  padding: 1.25rem 1.5rem;
}

#_desktop_cart .cart-summary-line,
.cart-dropdown-summary .cart-summary-line {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 0.5rem 0;
  font-family: var(--adw-font-body);
  font-size: 0.9rem;
  color: var(--adw-text, #3a4044);
}

/* le libellé prend toute la place restante à gauche */
.cart-dropdown-summary .cart-summary-line>span:first-child {
  flex: 1 1 auto;
  text-align: left;
}

/* le prix garde sa largeur naturelle et se colle à droite */
.cart-dropdown-summary .cart-summary-line>span.price,
.cart-dropdown-summary .cart-summary-line>span:last-child {
  flex: 0 0 auto;
  margin-left: auto;
  /* ★ pousse le prix complètement à droite */
  text-align: right;
  white-space: nowrap;
}

.cart-summary-line .label {
  flex: 1 1 auto;
  /* le label prend la place restante à gauche */
  text-align: left;
  font-weight: 500;
}

.cart-summary-line .value {
  flex: 0 0 auto;
  /* la valeur garde sa largeur naturelle */
  text-align: right;
  /* ★ force le texte à droite */
  white-space: nowrap;
  font-weight: 600;
  color: var(--adw-text-dark, #1d2123);
}

.card-block.cart-detailed-subtotals+.cart-summary-totals .cart-total {
  border-top: 0
}

/* livraison gratuite mise en valeur */
#cart-subtotal-shipping .value {
  color: var(--adw-primary-dark, #76991f);
  font-weight: 700;
}

.cart-summary-totals {
  border-top: 1px solid var(--adw-border, #eef0f1);
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.cart-total .label,
.cart-total .value {
  font-size: 1.15rem;
  font-weight: var(--adw-font-bold, 700);
  color: var(--adw-text-dark, #1d2123);
}

/* Bouton Commander */
.cart-detailed-actions {
  padding: 1.25rem 1.5rem !important;
}

.cart-detailed-actions .btn-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
  border: 0;
  border-radius: 999px;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: var(--adw-font-semibold, 600);
  text-transform: none;
  text-decoration: none;
  transition: background-color .2s ease, transform .15s ease;
}

.cart-detailed-actions .btn-primary:hover {
  background: var(--adw-primary-dark, #76991f);
}

.cart-detailed-actions .btn-primary:active {
  transform: scale(0.98);
}

/* ---- Bloc réassurance -------------------------------------------------- */
.blockreassurance_product {
  margin-top: 1.25rem;
  background: #fff;
  border: 1px solid var(--adw-border, #e6e8ea);
  border-radius: 1rem;
  padding: 0.5rem 1.25rem;
}

.blockreassurance_product>div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--adw-border, #f1f3f4);
}

.blockreassurance_product>div:last-of-type {
  border-bottom: 0;
}

.blockreassurance_product .item-product {
  flex: 0 0 auto;
  line-height: 0;
}

.blockreassurance_product .item-product svg {
  width: 2.4rem;
  height: 2.4rem;
}

.blockreassurance_product .block-title {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--adw-font-semibold, 600);
  color: var(--adw-text-dark, #1d2123) !important;
}

.blockreassurance_product p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--adw-text-light, #9aa0a4) !important;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 991px) {
  .cart-grid.row {
    flex-direction: column;
  }

  .cart-grid-body,
  .cart-grid-right {
    flex: 1 1 100%;
    max-width: 100%;
    width: 100%;
  }

  .cart-grid-right {
    position: static;
  }
}

@media (max-width: 575px) {
  .product-line-grid {
    align-items: flex-start;
  }

  .product-line-grid-right .row {
    justify-content: space-between;
    width: 100%;
  }
}

/* ---- Bloc actions : alignement vertical centré sur tous les niveaux ---- */
.product-line-grid-right>.row,
.product-line-grid-right .row {
  display: flex;
  align-items: center;
  /* ★ centre verticalement quantité / prix / corbeille */
  justify-content: flex-end;
  gap: 0.75rem;
  margin: 0;
  width: 100%;
}

/* le wrapper intermédiaire (col-md-10 qui contient quantité + prix) */
.product-line-grid-right .col-md-10 {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
}

.product-line-grid-right .col-md-10>.row {
  flex: 1 1 auto;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* chaque cellule garde sa largeur naturelle et reste centrée */
.product-line-grid-right [class*="col-"] {
  width: auto;
  padding: 0;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.product-line-grid-right .qty,
.product-line-grid-right .price {
  margin: 0;
}

.product-line-grid-right .price {
  justify-content: flex-end;
}

/* la cellule de la corbeille : centrée, pas d'étirement */
.product-line-grid-right .text-xs-right {
  flex: 0 0 auto;
  justify-content: center;
}

.product-line-grid-right .cart-line-product-actions {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---- Corbeille en cercle rouge clair ----------------------------------- */
.cart-line-product-actions .remove-from-cart {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #fdecec;
  /* rouge très clair permanent */
  color: #d3362b;
  /* icône rouge */
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

.cart-line-product-actions .remove-from-cart:hover {
  background: #f9d6d6;
  /* un peu plus soutenu au survol */
  color: #b3261e;
}

.cart-line-product-actions .remove-from-cart:active {
  transform: scale(0.92);
}

/* l'icône : on tue le float-xs-left de classic qui la décale */
.cart-line-product-actions .remove-from-cart .material-icons {
  float: none !important;
  /* ★ sans ça, float casse le centrage */
  margin: 0;
  font-size: 1.25rem;
  line-height: 1;
}


/* =========================================================================
   QUOTE
   ========================================================================= */

.card-block.checkout .btn-optcart a {
  background: var(--adw-bg-dark);
  color: var(--adw-text-white);
}

.card-block.checkout .btn-optcart a:hover {
  background: var(--adw-bg-dark-dark);
}















































/* =========================================================================
   Page Connexion / Authentification — esprit Shopify clair
   Variables : nhp-variables.css (--adw-*)
   ========================================================================= */

.page-authentication #content-wrapper .page-header h1,
.page-authentication .page-title,
#authentication .page-header h1,
#content.page-content.card__wrapper>h1,
.login-form~h1,
h1.page-title {
  font-family: var(--adw-font-heading);
  /* Neue Haas Grotesk Display */
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
  text-transform: none;
  /* classic met parfois les h1 en uppercase */
  text-align: center;
  margin: 0 0 var(--adw-space-lg);
}

#authentication .custom-checkbox span {
  flex: auto;
}

#authentication .custom-checkbox label {
  padding: 0;
}

/* La carte centrée */
#content.page-content.card__wrapper {
  max-width: 860px;
  margin: var(--adw-space-xl) auto;
  padding: var(--adw-space-xl);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  /* box-shadow: var(--adw-shadow-sm); */
}

/* ---- Formulaire de connexion ------------------------------------------- */
.login-form {
  margin: 0;
}

/* Lignes label/champ en colonne (on neutralise la grille Bootstrap) */
.login-form .form-group.row {
  display: block;
  margin: 0 0 var(--adw-space-md);
}

.login-form .form-group.row>[class*="col-md"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: none;
}

/* Label */
.login-form .form-control-label {
  display: block;
  margin: 0 0 var(--adw-space-sm);
  text-align: left;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.login-form .form-control-label.required::after {
  content: " *";
  color: var(--adw-error);
}

/* Champ texte / email / password */
.login-form .form-control {
  width: 100%;
  height: 2.9rem;
  padding: 0 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  transition: var(--nhp-trans);
}

.login-form .form-control::placeholder {
  color: var(--adw-text-light);
}

.login-form .form-control:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
  /* halo vert (déjà défini) */
}

/* commentaire vide à droite : masqué */
.login-form .form-control-comment:empty {
  display: none;
}

/* ---- Champ mot de passe + bouton "Afficher" ---------------------------- */
.login-form .input-group {
  display: flex;
  align-items: stretch;
}

.login-form .input-group .form-control {
  flex: 1 1 auto;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

.login-form .input-group-btn {
  display: flex;
}

.login-form .input-group-btn .btn {
  display: inline-flex;
  align-items: center;
  padding: 0 1rem;
  background: var(--adw-bg-light);
  border: 1px solid var(--adw-border-medium);
  border-left: 0;
  border-top-right-radius: 0.6rem;
  border-bottom-right-radius: 0.6rem;
  color: var(--adw-text-medium);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.login-form .input-group-btn .btn:hover {
  background: var(--adw-accent-dark);
  color: var(--adw-primary-dark);
}

/* ---- Mot de passe oublié ----------------------------------------------- */
.login-form .forgot-password {
  margin: calc(var(--adw-space-xs) * -1) 0 var(--adw-space-md);
  text-align: right;
}

.login-form .forgot-password a {
  font-size: var(--adw-font-xs);
  color: var(--adw-primary-dark);
  text-decoration: none;
  transition: var(--nhp-trans);
}

.login-form .forgot-password a:hover {
  color: var(--adw-primary);
  text-decoration: underline;
}

/* ---- Bouton Connexion (plein vert, texte foncé = WCAG) ----------------- */
.login-form .form-footer {
  margin: 0;
}

#submit-login.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem 1.5rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  /* #1d2123, foncé sur vert */
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

#submit-login.btn-primary:hover {
  background: var(--adw-primary-dark);
}

#submit-login.btn-primary:active {
  transform: scale(0.98);
}

/* ---- Séparateur -------------------------------------------------------- */
#content.page-content hr {
  margin: var(--adw-space-lg) 0;
  border: 0;
  border-top: 1px solid var(--adw-border-light);
}

/* ---- Bloc "Nouveau client ?" ------------------------------------------- */
.no-account {
  text-align: center;
}

.no-account legend {
  display: block;
  margin: 0 0 var(--adw-space-md);
  padding: 0;
  border: 0;
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* Bouton "Créer un compte" : contour ardoise, se remplit de vert au survol */
.btn-primary-cadre {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 2rem;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.btn-primary-cadre:hover {
  background: var(--adw-primary);
  border-color: var(--adw-primary);
  color: var(--btn-cart-color);
  /* foncé sur vert */
}

/* =========================================================================
   Boutons — variantes complémentaires (--adw-*)
   ========================================================================= */

/* ---- Bouton noir plein (anthracite) ----------------------------------- */
.btn-primary-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 2rem;
  background: var(--adw-bg-dark-dark);
  /* #1d2123 anthracite */
  color: var(--adw-text-white);
  border: 1px solid var(--adw-bg-dark-dark);
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  text-decoration: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.btn-primary-black:hover {
  background: var(--adw-secondary-dark);
  /* #3a4044 ardoise foncée */
  border-color: var(--adw-secondary-dark);
  color: var(--adw-text-white);
}

/* variante : noir -> vert au survol (si tu veux un accent) */
.btn-primary-black.is-greenhover:hover {
  background: var(--adw-primary);
  border-color: var(--adw-primary);
  color: var(--btn-cart-color);
}

.btn-primary-black .material-icons {
  font-size: 1.1rem;
}

/* ---- Modificateur "small" : à combiner avec n'importe quel bouton ------ */
/* usage : class="btn-primary btn-small" ou "btn-primary-cadre btn-small" etc. */
.btn-small {
  padding: 0.5rem 1.1rem;
  font-size: var(--adw-font-xs);
  gap: 0.3rem;
}

.btn-small .material-icons {
  font-size: 1rem;
}

.btn-secondary {
  padding: 0.6rem 1.4rem;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  transition: var(--nhp-trans);
}

.btn-secondary:hover {
  background: var(--adw-secondary);
  color: var(--adw-text-white);
}

/* ---- (rappel) tes boutons existants, pour cohérence des tailles ------- */
/* .btn-primary        -> vert plein, pilule, texte foncé          (déjà défini) */
/* .btn-primary-cadre  -> contour ardoise -> vert au survol        (déjà défini) */
/* .btn-primary-black  -> anthracite plein                         (ci-dessus)   */
/* .btn-small          -> réduit padding + font sur n'importe quel bouton        */

/* ---- Mention RGPD ------------------------------------------------------ */
.authentication-rgpd {
  margin-top: var(--adw-space-xl);
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
}

.authentication-rgpd p {
  margin: 0;
  font-size: var(--adw-font-xs);
  line-height: 1.55;
  color: var(--adw-text-light);
}

.authentication-rgpd a {
  color: var(--adw-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 575px) {
  #content.page-content.card__wrapper {
    margin: var(--adw-space-md);
    padding: var(--adw-space-lg);
  }
}

/* =========================================================================
   Bouton "Afficher / Masquer" le mot de passe
   ========================================================================= */
.login-form .input-group-btn,
.input-group .input-group-btn {
  display: flex;
}

.login-form .input-group-btn .btn,
.input-group .input-group-btn .btn[data-action="show-password"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.9rem;
  /* même hauteur que le champ */
  padding: 0 1.1rem;
  margin: 0;
  background: var(--adw-secondary);
  /* ardoise, bien visible */
  color: var(--adw-text-white);
  border: 1px solid var(--adw-secondary);
  border-left: 0;
  border-radius: 0 0.6rem 0.6rem 0;
  /* arrondi seulement à droite */
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  line-height: 1;
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.login-form .input-group-btn .btn:hover,
.input-group .input-group-btn .btn[data-action="show-password"]:hover {
  background: var(--adw-secondary-dark);
  border-color: var(--adw-secondary-dark);
  color: var(--adw-text-white);
}

.login-form .input-group-btn .btn:active {
  transform: scale(0.97);
}








































/* =========================================================================
   Page Inscription — esprit Shopify clair
   ========================================================================= */

/* H1 */
#content.page-content.card__wrapper>h1 {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
  text-transform: none;
  text-align: center;
  margin: 0 0 var(--adw-space-lg);
}

/* ---- Social login (séparateur + bouton Google) ------------------------- */
/* .adw-sociallogin { margin: 0 0 var(--adw-space-lg); }
.adw-sociallogin__divider {
  display: flex;
  align-items: center;
  gap: var(--adw-space-md);
  margin: var(--adw-space-md) 0;
  color: var(--adw-text-light);
  font-size: var(--adw-font-xs);
}
.adw-sociallogin__divider::before,
.adw-sociallogin__divider::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--adw-border-light);
}
.adw-sociallogin__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-sm);
}
.adw-sociallogin__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--adw-space-sm);
  flex: 1 1 auto;
  padding: 0.7rem 1.25rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: var(--adw-buttons-radius-outset);
  color: var(--adw-text-dark);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  transition: var(--nhp-trans);
}
.adw-sociallogin__btn:hover {
  border-color: var(--adw-secondary);
  box-shadow: var(--adw-shadow-sm);
}
.adw-sociallogin__icon { display: inline-flex; line-height: 0; } */

/* ---- "Vous avez déjà un compte ?" -------------------------------------- */
.register-form>p {
  margin: 0 0 var(--adw-space-lg);
  padding-bottom: var(--adw-space-md);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

.register-form>p a {
  color: var(--adw-primary-dark);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
}

.register-form>p a:hover {
  text-decoration: underline;
}

/* ---- Lignes label / champ (colonne) ------------------------------------ */
#customer-form .form-group.row {
  display: block;
  margin: 0 0 var(--adw-space-md);
}

#customer-form .form-group.row>[class*="col-md"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: none;
}

#customer-form .form-control-label {
  display: block;
  margin: 0 0 var(--adw-space-sm);
  text-align: left;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

#customer-form .form-control-label.required::after {
  content: " *";
  color: var(--adw-error);
}

/* label vide (cases à cocher) : on ne réserve pas d'espace */
#customer-form .form-control-label:empty {
  display: none;
  margin: 0;
}

/* Champs */
#customer-form .form-control {
  width: 100%;
  height: 2.9rem;
  padding: 0 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  transition: var(--nhp-trans);
}

#customer-form .form-control:focus {
  outline: 0 !important;
  border-color: var(--adw-primary) !important;
  box-shadow: 0 0 0 3px var(--adw-primary-soft) !important;
}

.input-group.focus {
  outline: 0 solid #24b9d7
}

/* classic ajoute border-success quand valide : on l'accorde au vert de marque */
#customer-form .form-control.border-success {
  border-color: var(--adw-primary);
}

/* commentaire sous le champ (aide) */
#customer-form .form-control-comment {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

#customer-form .form-control-comment:empty {
  display: none;
  margin: 0;
}

/* ---- Titre (radios M / Mme) -------------------------------------------- */
#customer-form .form-control-valign {
  display: flex;
  align-items: center;
  gap: var(--adw-space-lg);
}

/* =========================================================================
   Radios personnalisés — .custom-radio-adw
   Structure : <span class="custom-radio-adw"><input type="radio"><span></span></span>
   ========================================================================= */

/* Le label qui enrobe (M / Mme) */
#customer-form .radio-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  cursor: pointer;
}

/* Conteneur de la pastille : référence de position, taille fixe */
.custom-radio-adw {
  position: relative;
  display: inline-flex;
  width: 1.2rem;
  height: 1.2rem;
  flex: 0 0 auto;
}

/* Input réel : superposé, invisible, aucun rendu natif (pas d'ombre) */
.custom-radio-adw input[type="radio"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 1;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
}

/* Fausse pastille */
.custom-radio-adw>span {
  position: absolute;
  inset: 0;
  display: block;
  border: 1.5px solid var(--adw-border-dark);
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  box-shadow: none;
  transition: border-color var(--adw-transition-fast),
    box-shadow var(--adw-transition-normal);
}

/* Point central vert (centre reste blanc autour) */
.custom-radio-adw>span::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--adw-primary);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.15s ease;
}

/* État coché : bordure verte + point qui apparaît */
.custom-radio-adw input[type="radio"]:checked+span {
  border-color: var(--adw-primary);
}

.custom-radio-adw input[type="radio"]:checked+span::after {
  transform: translate(-50%, -50%) scale(1);
}

/* Survol */
.custom-radio-adw:hover>span {
  border-color: var(--adw-primary);
}

/* Focus clavier uniquement (halo doux, pas l'ombre native) */
.custom-radio-adw input[type="radio"]:focus-visible+span {
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

/* ---- Cases à cocher (RGPD, newsletter, optin) -------------------------- */
#customer-form .custom-checkbox {
  display: block;
}

#customer-form .custom-checkbox>label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  font-size: var(--adw-font-sm);
  line-height: 1.45;
  color: var(--adw-text);
  cursor: pointer;
}

#customer-form .custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  cursor: pointer;
}

#customer-form .custom-checkbox>label>span:first-of-type,
#customer-form .custom-checkbox input[type="checkbox"]+span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  border: 1.5px solid var(--adw-border-dark);
  border-radius: 0.35rem;
  background: #fff;
  transition: var(--nhp-trans);
}

#customer-form .custom-checkbox .checkbox-checked {
  font-size: 0.95rem;
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  transition: var(--nhp-trans);
}

#customer-form .custom-checkbox input[type="checkbox"]:checked+span {
  background: var(--adw-primary);
  border-color: var(--adw-primary);
}

#customer-form .custom-checkbox input[type="checkbox"]:checked+span .checkbox-checked {
  opacity: 1;
  transform: scale(1);
}

#customer-form .custom-checkbox em {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  font-style: normal;
}

/* ---- Mot de passe : bouton Afficher + jauge de force ------------------- */
#customer-form .input-group {
  display: flex;
  align-items: stretch;
}

#customer-form .input-group .form-control {
  flex: 1 1 auto;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

#customer-form .input-group-btn .btn {
  display: inline-flex;
  align-items: center;
  height: 2.9rem;
  padding: 0 1.1rem;
  background: var(--adw-secondary);
  color: var(--adw-text-white);
  border: 1px solid var(--adw-secondary);
  border-left: 0;
  border-radius: 0 0.6rem 0.6rem 0;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--nhp-trans);
}

#customer-form .input-group-btn .btn:hover {
  background: var(--adw-secondary-dark);
}

/* jauge de force */
#customer-form .password-strength-feedback {
  margin-top: 0.5rem;
}

#customer-form .progress {
  height: 0.4rem;
  background: var(--adw-bg-light);
  border-radius: 999px;
  overflow: hidden;
}

#customer-form .progress-bar {
  height: 100%;
  background: var(--adw-primary);
  transition: width .3s ease, background-color .3s ease;
}

#customer-form .password-requirements {
  margin-top: 0.5rem;
}

#customer-form .password-requirements p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0.25rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-medium);
}

#customer-form .password-requirements .material-icons {
  font-size: 1rem;
}

#customer-form .text-success {
  color: var(--adw-success) !important;
}

/* ---- Bouton Enregistrer ------------------------------------------------ */
#customer-form .form-footer {
  margin-top: var(--adw-space-lg);
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
}

#customer-form .form-control-submit.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

#customer-form .form-control-submit.btn-primary:hover {
  background: var(--adw-primary-dark);
}

#customer-form .form-control-submit.btn-primary:active {
  transform: scale(0.98);
}

/* float-xs-right de classic : on aligne le bouton à droite proprement */
#customer-form .form-footer.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* l'astérisque ne s'affiche QUE si le label a du texte */
#customer-form .form-control-label.required:empty {
  display: none;
}

#customer-form .form-control-label.required:empty::after {
  content: none;
}

/* La colonne checkbox prend toute la largeur (plus de label col-md-3 à gauche) */
#customer-form .form-group.row .js-input-column.is-checkbox {
  width: 100%;
  max-width: 100%;
  flex: none;
}

/* Astérisque requis affiché DANS le label du checkbox (et pas au-dessus) */
#customer-form .form-group.row[class*="customer_privacy"] .custom-checkbox>label::after,
#customer-form .form-group.row[class*="psgdpr"] .custom-checkbox>label::after {
  content: " *";
  color: var(--adw-error);
}


































/* =========================================================================
   Page Mon compte — nhp-variables.css (--adw-*)
   ========================================================================= */

.account_wrapper {
  margin: 0 0 var(--adw-space-xl);
}

/* =========================================================================
   Titre de page (page-header h1) — Neue Haas Grotesk Display
   ========================================================================= */
.page-header h1,
.wishlist-container-header h1 {
  margin: 0 0 var(--adw-space-lg);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--adw-text-dark);
  text-transform: none;
  /* classic met souvent les h1 en uppercase */
  position: relative;
  padding-left: var(--adw-space-md);
}

.page-header h1::before,
.wishlist-container-header h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 2px;
  background: var(--adw-primary);
}

/* ---- Bandeau haut : 2 colonnes (gauche = Bonjour / droite = commande) -- */
.account_wrapper_one {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-lg);
  align-items: stretch;
  margin-bottom: var(--adw-space-xl);
}

.account_left,
.account_details_order {
  flex: 1 1 0;
  min-width: 0;
}

/* Colonne gauche : carte "Bonjour" */
.account_left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--adw-space-xl);
  background: linear-gradient(160deg, #f7faf0 0%, var(--adw-bg-white) 60%);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.account_left .symbol img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--adw-bg-white);
  box-shadow: var(--adw-shadow-sm);
  margin-bottom: var(--adw-space-md);
}

.account_left__hello {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-lg);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
  margin: 0 0 var(--adw-space-xs);
}

.account_left__since {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
  margin-bottom: var(--adw-space-xs);
}

.account_left__email {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  margin-bottom: var(--adw-space-md);
}

.account_left .btn-secondary {
  padding: 0.6rem 1.4rem;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  transition: var(--nhp-trans);
}

.account_left .btn-secondary:hover {
  background: var(--adw-secondary);
  color: var(--adw-text-white);
}

/* Colonne droite : carte "Dernière commande" */
.account_details_order {
  display: flex;
}

.account_details_order .myLastOrderTitle {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  padding: var(--adw-space-xl);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.account_details_order h2 {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  margin: 0 0 var(--adw-space-md);
  padding-bottom: var(--adw-space-sm);
  border-bottom: 1px solid var(--adw-border-light);
}

.lastOrder__content__blocInformations {
  background: transparent;
  padding: 0;
  margin: 0;
}

.lastOrder__content__blocInformations .productLabel {
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  line-height: 1.35;
  color: var(--adw-text-dark);
  margin-bottom: var(--adw-space-sm);
}

.productLblMob {
  display: none;
}

.blocInformations__lastOrderDate,
.blocInformations__lastOrderPrice {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
  margin: 0 0 var(--adw-space-xs);
}

.blocInformations__lastOrderPrice {
  font-weight: var(--adw-font-semibold);
}

.lastOrder__content__blocActions {
  margin-top: var(--adw-space-md);
}

.MyOrderBtn {
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-sm);
}

.MyOrderBtn .btn {
  margin: 0;
  padding: 0.7rem 1.25rem;
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  text-align: center;
  transition: var(--nhp-trans);
}

.MyOrderBtn .btn-secondary {
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
}

.MyOrderBtn .btn-secondary:hover {
  background: var(--adw-secondary);
  color: var(--adw-text-white);
}

.MyOrderBtn .btn-primary {
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
}

.MyOrderBtn .btn-primary:hover {
  background: var(--adw-primary-dark);
}

.MyOrderBtn .btn-danger {
  background: transparent;
  color: var(--adw-error);
  border: 1px solid var(--adw-error);
}

.MyOrderBtn .btn-danger:hover {
  background: var(--adw-error);
  color: #fff;
}

.lastOrder__content__blocActions p {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-medium);
  margin-top: var(--adw-space-sm);
}

/**
 * Bloc de liens compte client — grille homogène thème + modules
 * Icônes en SVG (mask-image), une seule voie de style pour .material-icons.
 */

/* Neutralise la grille bootstrap (col-*) injectée par les hooks */
.account_wrapper_links>a {
  width: auto;
  max-width: none;
  flex: none;
  float: none;
  margin: 0;
  padding: 0;
  text-decoration: none;
}

/* Grille */
.account_wrapper_links {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.875rem;
  margin: 0;
  padding: 0;
}

/* Tuile commune (thème + modules partagent .link-item) */
.account_wrapper_links .link-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  height: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: 0.875rem;
  color: var(--adw-text-dark);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-medium);
  line-height: 1.3;
  text-transform: none;
  transition:
    border-color var(--adw-transition-fast),
    box-shadow var(--adw-transition-normal),
    transform var(--adw-transition-fast);
}

.account_wrapper_links>a:hover .link-item {
  border-color: var(--adw-primary);
  box-shadow: var(--adw-shadow-md);
  transform: translateY(-2px);
}

.account_wrapper_links>a:focus-visible {
  outline: 0;
}

.account_wrapper_links>a:focus-visible .link-item {
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

/* Badge d'icône — s'applique à TOUS les liens (thème + modules) */
.account_wrapper_links .material-icons {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.625rem;
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
  /* fallback glyphe pour un module inconnu */
  font-size: 1.25rem;
  line-height: 1;
}

/* Liens connus : on masque la ligature et on dessine le SVG en mask */
#identity-link .material-icons,
#addresses-link .material-icons,
#address-link .material-icons,
#history-link .material-icons,
#order-slips-link .material-icons,
#discounts-link .material-icons,
#returns-link .material-icons,
#wishlist-link .material-icons,
#psgdpr-link .material-icons,
#adw-fidelite-account-link .material-icons {
  font-size: 0;
  color: transparent;
}

#identity-link .material-icons::before,
#addresses-link .material-icons::before,
#address-link .material-icons::before,
#history-link .material-icons::before,
#order-slips-link .material-icons::before,
#discounts-link .material-icons::before,
#returns-link .material-icons::before,
#wishlist-link .material-icons::before,
#psgdpr-link .material-icons::before,
#adw-fidelite-account-link .material-icons::before {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  width: 1.375rem;
  height: 1.375rem;
  background: var(--adw-primary-dark);
  -webkit-mask: var(--_i) center / contain no-repeat;
  mask: var(--_i) center / contain no-repeat;
}

/* Définition des icônes (SVG Heroicons encodés) */
#identity-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M15.75%206a3.75%203.75%200%201%201-7.5%200%203.75%203.75%200%200%201%207.5%200ZM4.501%2020.118a7.5%207.5%200%200%201%2014.998%200A17.933%2017.933%200%200%201%2012%2021.75c-2.676%200-5.216-.584-7.499-1.632Z%27%2F%3E%3C%2Fsvg%3E");
}

#addresses-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z%27%2F%3E%3Cpath%20d%3D%27M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z%27%2F%3E%3C%2Fsvg%3E");
}

#address-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M15%2010.5a3%203%200%201%201-6%200%203%203%200%200%201%206%200Z%27%2F%3E%3Cpath%20d%3D%27M19.5%2010.5c0%207.142-7.5%2011.25-7.5%2011.25S4.5%2017.642%204.5%2010.5a7.5%207.5%200%201%201%2015%200Z%27%2F%3E%3C%2Fsvg%3E");
}

#history-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9%2012h3.75M9%2015h3.75M9%2018h3.75m3%20.75H18a2.25%202.25%200%200%200%202.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424%2048.424%200%200%200-1.123-.08m-5.801%200c-.065.21-.1.433-.1.664%200%20.414.336.75.75.75h4.5a.75.75%200%200%200%20.75-.75%202.25%202.25%200%200%200-.1-.664m-5.8%200A2.251%202.251%200%200%201%2013.5%202.25H15c1.012%200%201.867.668%202.15%201.586m-5.8%200c-.376.023-.75.05-1.124.08C9.095%204.01%208.25%204.973%208.25%206.108V8.25m0%200H4.875c-.621%200-1.125.504-1.125%201.125v11.25c0%20.621.504%201.125%201.125%201.125h9.75c.621%200%201.125-.504%201.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25Z%27%2F%3E%3C%2Fsvg%3E");
}

#order-slips-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9%2012h3.75M9%2015h3.75M9%2018h3.75m3%20.75H18a2.25%202.25%200%200%200%202.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424%2048.424%200%200%200-1.123-.08m-5.801%200c-.065.21-.1.433-.1.664%200%20.414.336.75.75.75h4.5a.75.75%200%200%200%20.75-.75%202.25%202.25%200%200%200-.1-.664m-5.8%200A2.251%202.251%200%200%201%2013.5%202.25H15c1.012%200%201.867.668%202.15%201.586m-5.8%200c-.376.023-.75.05-1.124.08C9.095%204.01%208.25%204.973%208.25%206.108V8.25m0%200H4.875c-.621%200-1.125.504-1.125%201.125v11.25c0%20.621.504%201.125%201.125%201.125h9.75c.621%200%201.125-.504%201.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25Z%27%2F%3E%3C%2Fsvg%3E");
}

#discounts-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9.568%203H5.25A2.25%202.25%200%200%200%203%205.25v4.318c0%20.597.237%201.17.659%201.591l9.581%209.581c.699.699%201.78.872%202.607.33a18.095%2018.095%200%200%200%205.223-5.223c.542-.827.369-1.908-.33-2.607L11.16%203.66A2.25%202.25%200%200%200%209.568%203Z%27%2F%3E%3Cpath%20d%3D%27M6%206h.008v.008H6V6Z%27%2F%3E%3C%2Fsvg%3E");
}

#returns-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M9%2015%203%209m0%200%206-6M3%209h12a6%206%200%200%201%200%2012h-3%27%2F%3E%3C%2Fsvg%3E");
}

#wishlist-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21%208.25c0-2.485-2.099-4.5-4.688-4.5-1.935%200-3.597%201.126-4.312%202.733-.715-1.607-2.377-2.733-4.313-2.733C5.1%203.75%203%205.765%203%208.25c0%207.22%209%2012%209%2012s9-4.78%209-12Z%27%2F%3E%3C%2Fsvg%3E");
}

#psgdpr-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M16.5%2010.5V6.75a4.5%204.5%200%201%200-9%200v3.75m-.75%2011.25h10.5a2.25%202.25%200%200%200%202.25-2.25v-6.75a2.25%202.25%200%200%200-2.25-2.25H6.75a2.25%202.25%200%200%200-2.25%202.25v6.75a2.25%202.25%200%200%200%202.25%202.25Z%27%2F%3E%3C%2Fsvg%3E");
}

#adw-fidelite-account-link .material-icons {
  --_i: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2024%2024%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%271.7%27%20stroke-linecap%3D%27round%27%20stroke-linejoin%3D%27round%27%3E%3Cpath%20d%3D%27M21%2011.25v8.25a1.5%201.5%200%200%201-1.5%201.5H5.25a1.5%201.5%200%200%201-1.5-1.5v-8.25M12%204.875A2.625%202.625%200%201%200%209.375%207.5H12m0-2.625V7.5m0-2.625A2.625%202.625%200%201%201%2014.625%207.5H12m0%200V21m-8.625-9.75h18c.621%200%201.125-.504%201.125-1.125v-1.5c0-.621-.504-1.125-1.125-1.125h-18c-.621%200-1.125.504-1.125%201.125v1.5c0%20.621.504%201.125%201.125%201.125Z%27%2F%3E%3C%2Fsvg%3E");
}

/* Compteur (fidélité, garage…) poussé à droite */
.account_wrapper_links .adw-fidelite-link__badge {
  margin-left: auto;
}

@media (prefers-reduced-motion: reduce) {
  .account_wrapper_links .link-item {
    transition: none;
  }

  .account_wrapper_links>a:hover .link-item {
    transform: none;
  }
}

/* ---- Footer déconnexion ------------------------------------------------ */
.page-footer {
  text-align: center;
}

.page-footer a {
  display: inline-flex;
  margin-top: var(--adw-space-lg);
  padding: 0.7rem 2rem;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  transition: var(--nhp-trans);
  align-items: center;
  gap: var(--adw-space-xs)
}

.page-footer a:hover {
  background: var(--adw-secondary);
  color: var(--adw-text-white);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 991px) {
  .account_wrapper_one {
    flex-direction: column;
  }

  .account_left,
  .account_details_order {
    width: 100%;
  }
}

@media (max-width: 575px) {
  .account_wrapper_links {
    grid-template-columns: 1fr;
  }

  .account_left,
  .account_details_order .myLastOrderTitle {
    padding: var(--adw-space-lg);
  }
}

/* ---- Notifications dans la carte "Dernière commande" ------------------- */
.account_details_order #notifications,
.account_details_order .notifications-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  /* ★ tue les marges négatives du .container Bootstrap */
  padding: 0;
}

/* si le bloc notifications est vide, on ne réserve pas d'espace */
.account_details_order #notifications:empty,
.account_details_order .myLastOrderTitle #notifications .notifications-container:empty {
  display: none;
  margin: 0;
}

/* les alertes éventuelles à l'intérieur restent dans le cadre */
.account_details_order #notifications .alert {
  margin: var(--adw-space-sm) 0 0;
  font-size: var(--adw-font-sm);
}

/* Bouton "Rajout de pièce" : anthracite (distinct du vert "Suivre mon colis") */
.MyOrderBtn .btn-primary[data-target="#rajoutPiece"] {
  background: var(--adw-bg-dark-dark);
  /* #1d2123 anthracite */
  color: var(--adw-text-white);
  border: 0;
}

.MyOrderBtn .btn-primary[data-target="#rajoutPiece"]:hover {
  background: var(--adw-secondary-dark);
  /* #3a4044, un cran plus clair au survol */
  color: var(--adw-text-white);
}

.MyOrderBtn .btn-primary[data-target="#rajoutPiece"] sup {
  color: var(--adw-primary);
  /* l'astérisque en vert pour le repérer */
}


































/* =========================================================================
   Page Informations personnelles (#identity / customer-form)
   Réutilise les styles #customer-form de l'inscription + ajustements
   ========================================================================= */

/* Carte conteneur */
#identity #content.page-content,
.page-customer-account #content.page-content {
  /* max-width: 720px; */
  margin: 0 auto;
  padding: var(--adw-space-xl);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  /* box-shadow: var(--adw-shadow-sm); */
}

/* Notifications : ne débordent pas de la carte */
#identity #notifications,
#identity .notifications-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

/* ---- Champs "Optionnel" (Société, SIRET, date, nouveau mdp) ------------ */
/* le commentaire "Optionnel" à droite : petit tag discret sous le champ */
#customer-form .form-group.row>.form-control-comment {
  display: block;
  width: 100%;
  max-width: 100%;
  flex: none;
  margin-top: 0.35rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  font-style: italic;
}

#customer-form .form-group.row>.form-control-comment:empty {
  display: none;
  margin: 0;
}

/* ---- Checkboxes : nouvelle structure <div><span>label</span><em>…</em> - */
#customer-form .custom-checkbox>label>div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

#customer-form .custom-checkbox>label>div>span {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-medium);
  color: var(--adw-text);
  line-height: 1.4;
  position: relative;
}

#customer-form .custom-checkbox>label em {
  display: block;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  font-style: normal;
  line-height: 1.5;
}

/* ---- Deux champs mot de passe côte à côte (optionnel, confort) --------- */
/* garde-les pleine largeur, empilés (par défaut) — rien à changer */

/* ---- Bouton Enregistrer : aligné à droite ------------------------------ */
#customer-form .form-footer {
  margin-top: var(--adw-space-lg);
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
  display: flex;
  justify-content: flex-end;
}

#customer-form .form-footer .float-xs-right {
  float: none;
}

#customer-form .form-control-submit.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2.25rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

#customer-form .form-control-submit.btn-primary:hover {
  background: var(--adw-primary-dark);
}

#customer-form .form-control-submit.btn-primary:active {
  transform: scale(0.98);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 575px) {

  #identity #content.page-content,
  .page-customer-account #content.page-content {
    padding: var(--adw-space-lg);
  }

  #customer-form .form-footer {
    justify-content: stretch;
  }

  #customer-form .form-control-submit.btn-primary {
    width: 100%;
  }
}

















/* =========================================================================
   Page Adresses (#addresses) — esprit Shopify clair (--adw-*)
   ========================================================================= */

/* Grille des adresses : on neutralise les col-lg-4/col-md-6 Bootstrap */
.page-addresses #content.page-content,
#addresses #content.page-content {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-lg);
  align-items: stretch;
}

.page-addresses #content .col-lg-4,
.page-addresses #content [class*="col-"] {
  flex: 1 1 300px;
  max-width: 380px;
  width: auto;
  padding: 0;
}

/* le notifications + clearfix ne cassent pas la grille flex */
.page-addresses #content>#notifications,
.page-addresses #content>.clearfix,
.page-addresses #content>.addresses-footer {
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
  padding: 0;
}

.page-addresses #content #notifications:empty {
  display: none;
}

.page-addresses .addresses-footer a span {
  margin-top: 0px;
}

/* ---- Carte adresse ----------------------------------------------------- */
.address {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  transition: var(--nhp-trans);
}

.address:hover {
  border-color: var(--adw-primary);
  box-shadow: var(--adw-shadow-sm);
}

.address .address-body {
  flex: 1 1 auto;
  padding: var(--adw-space-lg);
}

.address .address-body h4 {
  margin: 0 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.address .address-body address {
  margin: 0;
  font-style: normal;
  font-size: var(--adw-font-sm);
  line-height: 1.6;
  color: var(--adw-text-medium);
}

/* Pied d'actions : Mettre à jour / Supprimer */
.address .address-footer {
  display: flex;
  border-top: 1px solid var(--adw-border-light);
}

.address .address-footer a {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-medium);
  text-decoration: none;
  transition: var(--nhp-trans);
}

.address .address-footer a:first-child {
  border-right: 1px solid var(--adw-border-light);
}

.address .address-footer a:hover {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
}

/* le lien Supprimer vire au rouge au survol */
.address .address-footer a[data-link-action="delete-address"]:hover {
  background: #fdecec;
  color: #b3261e;
}

.address .address-footer .material-icons {
  font-size: 1.1rem;
}

/* ---- Bouton "Créer une nouvelle adresse" ------------------------------- */
.addresses-footer {
  margin-top: var(--adw-space-md);
}

.addresses-footer a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 1.75rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  transition: var(--nhp-trans);
}

.addresses-footer a:hover {
  background: var(--adw-primary-dark);
}

.addresses-footer .material-icons {
  font-size: 1.2rem;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 575px) {

  .page-addresses #content .col-lg-4,
  .page-addresses #content [class*="col-"] {
    flex: 1 1 100%;
    max-width: 100%;
  }
}



















/* =========================================================================
   Historique commandes (#history) — classes maison (--adw-*)
   ========================================================================= */

.orders-intro {
  margin: 0 0 var(--adw-space-lg);
  font-size: var(--adw-font-base);
  color: var(--adw-text-medium);
}

/* ---- Tableau (desktop) ------------------------------------------------- */
.orders-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  font-family: var(--adw-font-body);
}

.orders-table thead th {
  padding: var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  text-align: left;
}

.orders-table tbody td,
.orders-table tbody th {
  padding: var(--adw-space-md);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-sm);
  color: var(--adw-text);
  vertical-align: middle;
  text-align: left;
}

.orders-table tbody tr:last-child td,
.orders-table tbody tr:last-child th {
  border-bottom: 0;
}

.orders-table tbody tr {
  transition: background-color var(--adw-transition-fast);
}

.orders-table tbody tr:hover {
  background: var(--adw-primary-soft);
}

.orders-table__ref {
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.orders-table__price {
  text-align: right;
  font-variant-numeric: tabular-nums;
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.orders-table__invoice {
  text-align: center;
}

.orders-table__invoice a {
  color: var(--adw-text-medium);
  transition: color var(--adw-transition-fast);
}

.orders-table__invoice a:hover {
  color: var(--adw-primary-dark);
}

.orders-table__invoice .material-icons {
  font-size: 1.2rem;
  vertical-align: middle;
}

.orders-table__actions {
  display: flex;
  flex-direction: row;
  gap: 0.4rem;
  min-width: 9rem;
}

/* ---- Pastille de statut (fond = inline PrestaShop) --------------------- */
.order-status {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  line-height: 1.3;
  white-space: nowrap;
}

.order-status--dark {
  color: #1d2123;
}

.order-status--bright {
  color: #fff;
}

/* ---- Boutons d'action (partagés desktop + mobile) ---------------------- */
.order-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--nhp-trans);
}

.order-btn--primary {
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 1px solid var(--adw-primary);
}

.order-btn--primary:hover {
  background: var(--adw-primary-dark);
  border-color: var(--adw-primary-dark);
}

.order-btn--ghost {
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-border-dark);
}

.order-btn--ghost:hover {
  border-color: var(--adw-primary);
  color: var(--adw-primary-dark);
  background: var(--adw-primary-soft);
}

/* ---- Cartes (mobile) --------------------------------------------------- */
.orders-cards {
  display: grid;
  gap: var(--adw-space-md);
}

.order-card {
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-sm);
  padding: var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.order-card__ref {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
  text-decoration: none;
}

.order-card__ref:hover {
  color: var(--adw-primary-dark);
}

.order-card__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--adw-space-md);
}

.order-card__date {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.order-card__total {
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.order-card .order-status {
  align-self: flex-start;
}

.order-card__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: var(--adw-space-xs);
}

.order-card__actions .order-btn {
  flex: 1 1 0;
}

/* ---- Aucun résultat ---------------------------------------------------- */
.orders-empty {
  padding: var(--adw-space-lg);
  background: #eaf3f7;
  border: 1px solid #cfe4ee;
  border-radius: var(--adw-miniature-radius-outset);
  color: #2f6d84;
  font-size: var(--adw-font-sm);
}


.label.label-pill.dark {
  color: #000;
}












































/* =========================================================================
   Détail commande (#order-detail) — classes maison "od-" (--adw-*)
   ========================================================================= */

/* Carte générique */
.od-card {
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  padding: var(--adw-space-lg);
  margin: 0 0 var(--adw-space-md);
}

.od-card__title {
  margin: 0 0 var(--adw-space-md);
  padding-bottom: var(--adw-space-sm);
  border-bottom: 1px solid var(--adw-border-light);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.od-link {
  color: var(--adw-primary-dark);
  font-weight: var(--adw-font-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.od-link:hover {
  color: var(--adw-primary);
}

/* ---- En-tête : référence + Reorder ------------------------------------ */
.od-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: var(--adw-space-lg);
  margin: 0 0 var(--adw-space-md);
  background: linear-gradient(160deg, #f7faf0 0%, var(--adw-bg-white) 60%);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.od-head__ref strong {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

/* Boutons */
.od-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  white-space: nowrap;
  transition: var(--nhp-trans);
}

.od-btn--primary {
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 1px solid var(--adw-primary);
}

.od-btn--primary:hover {
  background: var(--adw-primary-dark);
  border-color: var(--adw-primary-dark);
}

/* ---- Infos (transporteur, paiement, facture…) ------------------------- */
.od-infos ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.od-infos li {
  padding: 0.4rem 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text);
  border-bottom: 1px solid var(--adw-border-light);
}

.od-infos li:last-child {
  border-bottom: 0;
}

.od-infos li strong {
  display: inline-block;
  min-width: 9rem;
  color: var(--adw-text-dark);
  font-weight: var(--adw-font-semibold);
}

/* ---- Tableaux (historique + transport) -------------------------------- */
.od-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--adw-font-body);
}

.od-table thead th {
  padding: var(--adw-space-sm) var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  text-align: left;
}

.od-table tbody td {
  padding: var(--adw-space-sm) var(--adw-space-md);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-sm);
  color: var(--adw-text);
  vertical-align: middle;
}

.od-table tbody tr:last-child td {
  border-bottom: 0;
}

/* ---- Pastille de statut (fond = inline PrestaShop) -------------------- */
.order-status {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  line-height: 1.3;
  white-space: nowrap;
}

.order-status--dark {
  color: #1d2123;
}

.order-status--bright {
  color: #fff;
}

/* ---- Historique mobile ------------------------------------------------- */
.od-history__lines {
  display: grid;
  gap: var(--adw-space-sm);
}

.od-history__line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: var(--adw-space-sm) 0;
  border-bottom: 1px solid var(--adw-border-light);
}

.od-history__line:last-child {
  border-bottom: 0;
}

.od-history__date {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

/* ---- Adresses (2 colonnes) -------------------------------------------- */
.od-addresses {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-md);
  margin: 0 0 var(--adw-space-md);
}

.od-address {
  flex: 1 1 280px;
  margin: 0;
}

.od-address address {
  margin: 0;
  font-style: normal;
  font-size: var(--adw-font-sm);
  line-height: 1.6;
  color: var(--adw-text-medium);
}

/* ---- Suivi ------------------------------------------------------------- */
.od-followup p {
  margin: 0 0 var(--adw-space-sm);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

.od-followup .od-link {
  word-break: break-all;
}

/* ---- Transport mobile -------------------------------------------------- */
.od-shipping__lines {
  display: grid;
  gap: var(--adw-space-md);
}

.od-shipping__line {
  padding: var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border-radius: var(--adw-buttons-radius-small);
}

.od-shipping__line>div {
  padding: 0.25rem 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text);
}

.od-shipping__line>div span {
  display: inline-block;
  min-width: 8rem;
  color: var(--adw-text-dark);
  font-weight: var(--adw-font-semibold);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 575px) {
  .od-head {
    flex-direction: column;
    align-items: stretch;
  }

  .od-head .od-btn {
    width: 100%;
  }

  .od-addresses {
    flex-direction: column;
  }
}



/* =========================================================================
   Détail commande — produits, retour, messages (classes "od-")
   ========================================================================= */

/* ---- Tableau produits (desktop) --------------------------------------- */
.od-products {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-family: var(--adw-font-body);
}

.od-products thead th {
  padding: var(--adw-space-sm) var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  text-align: left;
}

.od-products tbody td {
  padding: var(--adw-space-md);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-sm);
  color: var(--adw-text);
  vertical-align: top;
}

.od-products__num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.od-products thead .od-products__num {
  text-align: right;
}

.od-products__check {
  width: 2.5rem;
  text-align: center;
  vertical-align: middle;
}

.od-products__name {
  display: inline-block;
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-decoration: none;
}

.od-products__name:hover {
  color: var(--adw-primary-dark);
}

.od-products__ref {
  display: block;
  margin-top: 0.2rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.od-products__total {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* pied : sous-totaux + total */
.od-products tfoot td {
  padding: var(--adw-space-sm) var(--adw-space-md);
  text-align: right;
  font-size: var(--adw-font-sm);
}

.od-products__subtotal td {
  color: var(--adw-text-medium);
  border-top: 1px solid var(--adw-border-light);
}

.od-products__grandtotal td {
  border-top: 2px solid var(--adw-border-medium);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

/* select quantité de retour */
.od-products .form-control-select {
  height: 2.2rem;
  margin-top: 0.35rem;
  padding: 0 0.5rem;
  border: 1px solid var(--adw-border-medium);
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
}

/* case à cocher de retour */
.od-products__check input[type="checkbox"] {
  width: 1.15rem;
  height: 1.15rem;
  accent-color: var(--adw-primary);
  cursor: pointer;
}

/* ---- Cartes produits (mobile) ----------------------------------------- */
.od-items {
  display: grid;
  gap: var(--adw-space-sm);
}

.od-item {
  padding: var(--adw-space-md);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
}

.od-item__name {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.od-item__ref {
  margin-top: 0.15rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.od-item__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--adw-space-sm);
  margin-top: var(--adw-space-sm);
  font-size: var(--adw-font-sm);
}

.od-item__price {
  color: var(--adw-text-medium);
}

.od-item__qty {
  color: var(--adw-text-light);
}

.od-item__total {
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.od-item__return {
  margin-top: var(--adw-space-sm);
}

/* Totaux mobile */
.od-totals {
  margin-top: var(--adw-space-md);
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
}

.od-total {
  display: flex;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: 0.3rem 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

.od-total--grand {
  margin-top: var(--adw-space-xs);
  padding-top: var(--adw-space-sm);
  border-top: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

/* ---- Formulaire de retour --------------------------------------------- */
.od-return-form__intro,
.od-msgform__intro {
  margin: 0 0 var(--adw-space-md);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

.od-return-form__text,
.od-msgform .form-control,
.od-msgform textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  transition: var(--nhp-trans);
}

.od-return-form__text:focus,
.od-msgform .form-control:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

.od-return-form__footer,
.od-msgform__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--adw-space-md);
}

/* ---- Formulaire message ----------------------------------------------- */
.od-msgform__field {
  margin-bottom: var(--adw-space-md);
}

.od-msgform__field label {
  display: block;
  margin-bottom: var(--adw-space-sm);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.od-msgform .form-control-select {
  height: 2.9rem;
  padding: 0 0.9rem;
}

/* ---- Messages ---------------------------------------------------------- */
.od-message {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-md);
  padding: var(--adw-space-md) 0;
  border-bottom: 1px solid var(--adw-border-light);
}

.od-message:last-child {
  border-bottom: 0;
}

.od-message__meta {
  flex: 0 0 12rem;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.od-message__meta span {
  font-weight: var(--adw-font-normal);
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.od-message__body {
  flex: 1 1 16rem;
  font-size: var(--adw-font-sm);
  line-height: 1.55;
  color: var(--adw-text);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 575px) {
  .od-message__meta {
    flex: 1 1 100%;
  }

  .od-return-form__footer,
  .od-msgform__footer {
    justify-content: stretch;
  }

  .od-return-form__footer .od-btn,
  .od-msgform__footer .od-btn {
    width: 100%;
  }
}








/* =========================================================================
   Avoirs (#order-slip) — réutilise .orders-table / .order-card / .order-btn
   ========================================================================= */

/* le n° d'avoir affiché dans la carte mobile */
.order-card__slip {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}



















/* =========================================================================
   Wishlist (blockwishlist, rendu Vue) — style sur classes existantes
   ========================================================================= */

/* ---- En-tête : titre + "Créer une liste" ------------------------------ */
.wishlist-container-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  margin-bottom: var(--adw-space-lg);
}

.wishlist-container-header h1 {
  margin: 0;
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
  text-transform: none;
}

.wishlist-add-to-new {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.6rem 1.4rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color) !important;
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

a.wishlist-add-to-new:hover {
  background: var(--adw-bg-dark) !important;
  color: var(--adw-text-white) !important
}

.wishlist-add-to-new .material-icons {
  font-size: 1.2rem;
}

.wishlist-list-item:hover .wishlist-list-item-title {
  color: var(--adw-primary-dark) !important
}

/* ---- Carte conteneur --------------------------------------------------- */
.wishlist-container .page-content.card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* ---- Liste des listes d'envies ----------------------------------------- */
.wishlist-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--adw-space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

.wishlist-list-item {
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  transition: var(--nhp-trans);
}

.wishlist-list-item:hover {
  border-color: var(--adw-primary);
  box-shadow: var(--adw-shadow-sm);
}

/* la liste par défaut légèrement distinguée */
.wishlist-list-item-default {
  background: linear-gradient(160deg, #f7faf0 0%, var(--adw-bg-white) 60%);
}

.wishlist-list-item-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: var(--adw-space-lg);
  text-decoration: none;
  cursor: pointer;
}

.wishlist-list-item-title {
  margin: 0;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.wishlist-list-item-title span {
  margin-left: 0.35rem;
  font-weight: var(--adw-font-normal);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-light);
}

/* actions à droite (partager / renommer / supprimer) */
.wishlist-list-item-right {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex: 0 0 auto;
}

.wishlist-list-item-right button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--adw-text-light);
  cursor: pointer;
  transition: var(--nhp-trans);
}

.wishlist-list-item-right button:hover {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
}

.wishlist-list-item-right button .material-icons {
  font-size: 1.2rem;
}

/* la corbeille en rouge au survol */
.wishlist-list-item-right button:last-child:hover {
  background: #fdecec;
  color: #b3261e;
}

.wishlist-list-item-right>button:not(.wishlist-list-item-actions) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: #fdecec;
  color: #d3362b;
  transition: background-color .15s ease, color .15s ease, transform .15s ease;
}

/* ---- Liens de pied (retour compte / accueil) --------------------------- */
.wishlist-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-lg);
  margin-top: var(--adw-space-lg);
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
}

.wishlist-footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-medium) !important;
  text-decoration: none;
  transition: var(--nhp-trans);
}

.wishlist-footer-links a:hover {
  color: var(--adw-primary-dark) !important;
}

.wishlist-footer-links .material-icons {
  font-size: 1.1rem;
}

/* ---- Modales (partager / renommer) ------------------------------------ */
.wishlist-modal .modal-content {
  border: 0;
  border-radius: var(--adw-miniature-radius-outset);
  box-shadow: var(--adw-shadow-lg);
}

.wishlist-modal .modal-header {
  align-items: center;
  padding: var(--adw-space-lg);
  border-bottom: 1px solid var(--adw-border-light);
}

.wishlist-modal .modal-title {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.wishlist-modal .modal-header .close {
  background: transparent;
  border: 0;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--adw-text-light);
  cursor: pointer;
}

.wishlist-modal .modal-body {
  padding: var(--adw-space-lg);
}

.wishlist-modal .form-control-label {
  display: block;
  margin-bottom: var(--adw-space-sm);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.wishlist-modal .form-control {
  width: 100%;
  height: 2.9rem;
  padding: 0 0.9rem;
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-size: var(--adw-font-sm);
  transition: var(--nhp-trans);
}

.wishlist-modal .form-control:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

.wishlist-modal .modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--adw-space-sm);
  padding: var(--adw-space-lg);
  border-top: 1px solid var(--adw-border-light);
}

.wishlist-modal .btn-secondary,
.wishlist-modal .btn-primary {
  padding: 0.6rem 1.4rem;
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.wishlist-modal .btn-secondary {
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
}

.wishlist-modal .btn-secondary:hover {
  background: var(--adw-secondary);
  color: var(--adw-text-white);
}

.wishlist-modal .btn-primary {
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
}

.wishlist-modal .btn-primary:hover {
  background: var(--adw-primary-dark);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 575px) {
  .wishlist-container-header {
    flex-direction: column;
    align-items: stretch;
  }

  .wishlist-add-to-new {
    justify-content: center;
  }

  .wishlist-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   Menu déroulant d'actions wishlist (Renommer / Partager)
   ========================================================================= */
.wishlist-list-item .dropdown-menu {
  position: absolute;
  z-index: 20;
  min-width: 12rem;
  margin-top: 0.35rem;
  padding: 0.4rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  box-shadow: var(--adw-shadow-lg);
  display: none;
}

.wishlist-list-item .dropdown-menu.show {
  display: block;
}

.wishlist-list-item .dropdown-menu button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.6rem 0.85rem;
  background: transparent;
  border: 0;
  border-radius: var(--adw-buttons-radius-small);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-medium);
  color: var(--adw-text-dark);
  text-align: left;
  cursor: pointer;
  transition: var(--nhp-trans);
  justify-content: flex-start;
}

.wishlist-list-item .dropdown-menu button:hover {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
}






/* =========================================================================
   Wishlist — produits d'une liste (blockwishlist, rendu Vue)
   ========================================================================= */

/* ---- En-tête : titre + tri ------------------------------------------- */
.wishlist-products-container-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  margin-bottom: var(--adw-space-lg);
}

.wishlist-products-container-header h1 {
  margin: 0;
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
  text-transform: none;
}

.wishlist-products-count {
  font-weight: var(--adw-font-normal);
  font-size: var(--adw-font-lg);
  color: var(--adw-text-light);
}

/* Tri "Trier par : Pertinence ▾" */
.sort-by-row {
  display: inline-flex;
  align-items: center;
  gap: var(--adw-space-sm);
}

.sort-by-row .sort-by {
  width: auto;
  padding: 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-light);
  white-space: nowrap;
}

.products-sort-order {
  position: relative;
  width: auto;
  padding: 0;
}

.products-sort-order .select-title {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  cursor: pointer;
  transition: var(--nhp-trans);
}

.products-sort-order .select-title:hover {
  border-color: var(--adw-primary);
}

.products-sort-order .select-title .material-icons {
  font-size: 1.2rem;
  float: none;
}

.products-sort-order .dropdown-menu {
  position: absolute;
  right: 0;
  z-index: 20;
  min-width: 12rem;
  margin-top: 0.35rem;
  padding: 0.4rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  box-shadow: var(--adw-shadow-lg);
  display: none;
}

.products-sort-order.open .dropdown-menu,
.products-sort-order .dropdown-menu.show {
  display: block;
}

.products-sort-order .select-list {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  text-decoration: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.products-sort-order .select-list:hover {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
}

/* la carte conteneur : transparente (les cartes sont les produits) */
.wishlist-products-container .page-content.card {
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

/* ---- Grille des produits ---------------------------------------------- */
.wishlist-products-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: var(--adw-space-lg);
  margin: 0;
  padding: 0;
  list-style: none;
}

.wishlist-products-item {
  margin: 0;
}

.wishlist-product {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  transition: var(--nhp-trans);
}

.wishlist-product:hover {
  border-color: var(--adw-primary);
  box-shadow: var(--adw-shadow-sm);
}

.wishlist-product-link {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  text-decoration: none;
}

/* Image */
.wishlist-product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--adw-bg-light);
}

.wishlist-product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--adw-space-md);
}

/* Infos */
.wishlist-product-right {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: var(--adw-space-md);
  flex: 1 1 auto;
}

.wishlist-product-title {
  margin: 0;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  line-height: 1.35;
  color: var(--adw-text-dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wishlist-product-price {
  margin: 0;
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.wishlist-product-combinations {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-sm);
  margin-top: auto;
  padding-top: var(--adw-space-sm);
}

.wishlist-product-combinations-text {
  margin: 0;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.wishlist-product-combinations a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  color: var(--adw-text-light);
  transition: var(--nhp-trans);
}

.wishlist-product-combinations a:hover {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
}

.wishlist-product-combinations .material-icons {
  font-size: 1.1rem;
}

/* Disponibilité */
.wishlist-product-availability {
  margin: 0;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

/* ---- Bas de carte : Ajouter au panier + supprimer --------------------- */
.wishlist-product-bottom {
  display: flex;
  align-items: center;
  gap: var(--adw-space-sm);
  padding: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
}

.wishlist-product-addtocart.btn-primary {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.7rem 1rem;
  background: var(--adw-bg-dark);
  color: var(--adw-text-white);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.wishlist-product-addtocart.btn-primary:hover {
  background: var(--adw-primary-dark);
}

.wishlist-product-addtocart .material-icons {
  font-size: 1.15rem;
}

/* bouton supprimer (corbeille) */
.wishlist-product-bottom .wishlist-button-add {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  padding: 0;
  background: #fdecec;
  border: 0;
  border-radius: 50%;
  color: #d3362b;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.wishlist-product-bottom .wishlist-button-add:hover {
  background: #f9d6d6;
  color: #b3261e;
}

.wishlist-product-bottom .wishlist-button-add .material-icons {
  font-size: 1.2rem;
}

/* ---- Pagination (réutilise .pagination existant) ---------------------- */
.wishlist-pagination:empty {
  display: none;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 575px) {
  .wishlist-products-container-header {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-by-row {
    justify-content: space-between;
  }

  .wishlist-products-list {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--adw-space-md);
  }
}

@media (max-width: 400px) {
  .wishlist-products-list {
    grid-template-columns: 1fr;
  }
}

/* Bouton crayon (éditer) — rond, fond gris clair léger */
.wishlist-product-combinations a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  background: var(--adw-bg-light);
  /* gris clair léger */
  border-radius: 50%;
  color: var(--adw-text-medium);
  transition: var(--nhp-trans);
}

.wishlist-product-combinations a:hover {
  background: var(--adw-primary-soft);
  /* vert très clair au survol */
  color: var(--adw-primary-dark) !important;
}

.wishlist-product-combinations a .material-icons {
  font-size: 1.1rem;
}
















/* =========================================================================
   Connexions sociales liées (adwsociallogin) — dans la page compte
   ========================================================================= */
.adw-sociallogin-account {
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.adw-sociallogin-account__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 var(--adw-space-md);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* petite pastille verte devant le titre, comme les icônes des liens compte */
.adw-sociallogin-account__title::before {
  content: "link";
  font-family: "Material Icons";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex: 0 0 auto;
  background: var(--adw-primary-soft);
  border-radius: 50%;
  color: var(--adw-primary-dark);
  font-size: 1.1rem;
}

.adw-sociallogin-account__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-sm);
}

.adw-sociallogin-account__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: var(--adw-space-sm) var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border-radius: var(--adw-buttons-radius-small);
}

.adw-sociallogin-account__provider {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.adw-sociallogin-account__email {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}


























/* =========================================================================
   RGPD / Données personnelles (psgdpr) — réutilise .od-btn
   ========================================================================= */
.gdpr {
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-md);
}

.gdpr-card {
  padding: var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.gdpr-card__title {
  margin: 0 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-transform: none;
}

.gdpr-card__text {
  margin: 0;
  font-size: var(--adw-font-sm);
  line-height: 1.6;
  color: var(--adw-text-medium);
}

.gdpr-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-sm);
  margin-top: var(--adw-space-md);
}

.gdpr-card__actions .od-btn {
  gap: 0.4rem;
}

.gdpr-card__actions .material-icons {
  font-size: 1.15rem;
}

.gdpr-link {
  color: var(--adw-primary-dark);
  font-weight: var(--adw-font-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.gdpr-link:hover {
  color: var(--adw-primary);
}

@media (max-width: 575px) {
  .gdpr-card__actions .od-btn {
    width: 100%;
  }
}















/* =========================================================================
   Cart drawer — panneau latéral (glisse depuis la droite)
   Piloté par la classe .in que blockcart ajoute/retire à l'ouverture
   ========================================================================= */

/* ---- Conteneur : plein écran, invisible quand fermé -------------------- */
#blockcart-modal.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: block !important;
  /* on ignore le display:none inline de blockcart */
  visibility: hidden;
  /* fermé : invisible + non cliquable */
  pointer-events: none;
  transition: visibility 0s .35s;
  /* la visibility attend la fin de l'anim de sortie */
}

#blockcart-modal.cart-drawer.in {
  visibility: visible;
  pointer-events: auto;
  transition: visibility 0s 0s;
  /* ouverture : visible immédiatement */
}

/* ---- Voile sombre ------------------------------------------------------ */
#blockcart-modal.cart-drawer.in .cart-drawer__overlay {
  position: absolute;
  inset: 0;
  background: rgba(29, 33, 35, .45);
  opacity: 0;
  /* fermé : transparent */
  transition: opacity .3s ease;
}

#blockcart-modal.cart-drawer.in .cart-drawer__overlay {
  opacity: 1;
  /* ouvert : voile visible */
}

/* ---- Panneau ancré à droite ------------------------------------------- */
#blockcart-modal.cart-drawer .cart-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 420px;
  height: 100%;
  margin: 0;
  background: var(--adw-bg-white);
  box-shadow: -8px 0 32px rgba(29, 33, 35, .18);
  transform: translateX(100%);
  /* fermé : hors écran à droite */
  transition: transform .35s cubic-bezier(.4, 0, .2, 1);
}

#blockcart-modal.cart-drawer.in .cart-drawer__panel {
  transform: translateX(0);
  /* ouvert : glisse en place */
}

/* ---- Header ------------------------------------------------------------ */
.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: var(--adw-space-lg);
  border-bottom: 1px solid var(--adw-border-light);
}

.cart-drawer__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.cart-drawer__title .material-icons {
  color: var(--adw-primary);
  font-size: 1.4rem;
}

.cart-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  flex: 0 0 auto;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  color: var(--adw-text-light);
  cursor: pointer;
  transition: var(--nhp-trans);
}

.cart-drawer__close:hover {
  background: var(--adw-bg-light);
  color: var(--adw-text-dark);
}

/* ---- Body (scrollable) ------------------------------------------------- */
.cart-drawer__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--adw-space-lg);
}

.cart-drawer__product {
  display: flex;
  gap: var(--adw-space-md);
  padding-bottom: var(--adw-space-lg);
  border-bottom: 1px solid var(--adw-border-light);
}

.cart-drawer__product-image {
  flex: 0 0 auto;
  width: 6rem;
  height: 6rem;
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  overflow: hidden;
  background: var(--adw-bg-light);
}

.cart-drawer__product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
}

.cart-drawer__product-info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-drawer__product-name {
  margin: 0;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  line-height: 1.35;
  color: var(--adw-text-dark);
}

.cart-drawer__product-price {
  margin: 0;
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.cart-drawer__product-attr,
.cart-drawer__product-qty {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-medium);
}

.cart-drawer__summary {
  padding-top: var(--adw-space-lg);
}

.cart-drawer__count {
  margin: 0 0 var(--adw-space-md);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-primary-dark);
}

.cart-drawer__line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: 0.4rem 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

.cart-drawer__line .value {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.cart-drawer__line--tax {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.cart-drawer__line--total {
  margin-top: var(--adw-space-sm);
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.cart-drawer__line--total .value {
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
}

/* ---- Footer (collé en bas) --------------------------------------------- */
.cart-drawer__footer {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-sm);
  padding: var(--adw-space-lg);
  border-top: 1px solid var(--adw-border-light);
}

.cart-drawer__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.5rem;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.cart-drawer__btn--primary {
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
}

.cart-drawer__btn--primary:hover {
  background: var(--adw-primary-dark);
}

.cart-drawer__btn--primary .material-icons {
  font-size: 1.15rem;
}

.cart-drawer__btn--ghost {
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
}

.cart-drawer__btn--ghost:hover {
  background: var(--adw-secondary);
  color: var(--adw-text-white);
}

/* bouton "transformer en devis" (hook opartdevis) : cohérent */
.cart-drawer__panel .btn-optcart {
  padding: var(--adw-space-md) var(--adw-space-lg) 0;
}

.cart-drawer__panel .btn-optcart .btn {
  display: inline-flex;
  width: 100%;
  justify-content: center;
  padding: 0.7rem 1.25rem;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-border-dark);
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  transition: var(--nhp-trans);
}

.cart-drawer__panel .btn-optcart .btn:hover {
  border-color: var(--adw-primary);
  color: var(--adw-primary-dark);
  background: var(--adw-primary-soft);
}

/* ---- Scroll du fond bloqué quand ouvert -------------------------------- */
body.cart-drawer-open {
  overflow: hidden;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 480px) {
  #blockcart-modal.cart-drawer .cart-drawer__panel {
    max-width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {

  #blockcart-modal.cart-drawer .cart-drawer__panel,
  #blockcart-modal.cart-drawer .cart-drawer__overlay {
    transition: none;
  }
}


























/* =========================================================================
   Header checkout — logo centré, épuré (esprit Shopify)
   ========================================================================= */
#checkout #header {
  border-bottom: 1px solid var(--adw-border-light);
  box-shadow: none;
}

#checkout .header-top {
  padding: 0;
}

#checkout .header-top__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  /* ★ centre le logo */
  gap: var(--adw-space-sm);
  padding: var(--adw-space-md) 0;
}

#checkout .header-top__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--adw-space-sm);
  padding: 0;
  margin: 0;
}

#checkout .header-top__logo a {
  display: inline-flex;
  align-items: center;
}

#checkout .header-top__logo .logo {
  height: auto;
}

#checkout .header-top__logo .logoflag {
  flex: 0 0 auto;
}



/* =========================================================================
   Checkout — layout Shopify (2 colonnes, étapes en cartes)
   ========================================================================= */

/* Fond de page neutre pour faire ressortir les cartes blanches */
#checkout #wrapper {
  padding-top: var(--adw-space-lg);
  background: var(--adw-bg-subtle);
}

#checkout #content-wrapper {
  padding: 0;
}

/* Layout 2 colonnes */
#checkout #content>.row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-lg);
  align-items: flex-start;
}

#checkout .cart-grid-body {
  flex: 1 1 0;
  min-width: 0;
  max-width: none;
  padding: 0;
}

#checkout .cart-grid-right {
  flex: 0 0 360px;
  max-width: 360px;
  padding: 0;
  position: sticky;
  top: var(--adw-space-lg);
  /* récap sticky qui suit le scroll */
}

/* ---- Étapes : cartes blanches ----------------------------------------- */
#checkout .checkout-step {
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  margin-bottom: var(--adw-space-md);
  overflow: hidden;
  transition: box-shadow var(--adw-transition-normal);
}

#checkout .checkout-step.-current {
  box-shadow: var(--adw-shadow-md);
}

/* Titre d'étape */
#checkout .checkout-step .step-title {
  display: flex;
  align-items: center;
  gap: var(--adw-space-sm);
  margin: 0;
  padding: var(--adw-space-lg);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  cursor: pointer;
}

/* étape non atteignable : grisée, pas de curseur */
#checkout .checkout-step.-unreachable .step-title {
  color: var(--adw-text-light);
  cursor: default;
}

/* Pastille numéro */
#checkout .checkout-step .step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.9rem;
  height: 1.9rem;
  flex: 0 0 auto;
  background: var(--adw-bg-light);
  border-radius: 50%;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-medium);
}

#checkout .checkout-step.-current .step-number {
  background: var(--adw-primary);
  color: var(--btn-cart-color);
}

/* étape terminée : pastille verte + on masque le numéro au profit du ✓ */
#checkout .checkout-step.-complete .step-number,
#checkout .checkout-step.-reachable:not(.-current) .step-number {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
}

/* Coche "done" (étape validée) */
#checkout .checkout-step .done {
  display: none;
  color: var(--adw-primary);
  font-size: 1.3rem;
}

#checkout .checkout-step.-complete .done {
  display: inline-flex;
}

#checkout .checkout-step.-complete .step-number {
  display: none;
}

/* Lien "Modifier" */
#checkout .checkout-step .step-edit {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-primary-dark) !important;
  cursor: pointer;
  text-transform: none;
}

#checkout .checkout-step .step-edit .edit {
  font-size: 1rem;
}

/* Contenu de l'étape */
#checkout .checkout-step .content {
  padding: 0 var(--adw-space-lg) var(--adw-space-lg);
}

#checkout .checkout-step.-unreachable .content,
#checkout .checkout-step:not(.-current) .content {
  /* PrestaShop gère le collapse en JS */
}

/* ---- Onglets "Créer un compte / Connexion" ---------------------------- */
#checkout .nav-inline {
  display: flex;
  align-items: center;
  gap: var(--adw-space-md);
  margin: 0 0 var(--adw-space-lg);
  padding: 0;
  border-bottom: 1px solid var(--adw-border-light);
  list-style: none;
}

#checkout .nav-inline .nav-link {
  display: inline-block;
  padding: 0 0 var(--adw-space-sm);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-light);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: var(--nhp-trans);
}

#checkout .nav-inline .nav-link.active {
  color: var(--adw-text-dark);
  border-bottom-color: var(--adw-primary);
}

#checkout .nav-inline .nav-separator {
  color: var(--adw-border-medium);
}

/* ---- Boutons "Continuer" ---------------------------------------------- */
#checkout .checkout-step .continue.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  float: none !important;
  transition: var(--nhp-trans);
}

#checkout .checkout-step .continue.btn-primary:hover {
  background: var(--adw-primary-dark);
}

#checkout .form-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: var(--adw-space-lg);
}

/* ---- Récap panier (colonne droite) ------------------------------------ */
#checkout #js-checkout-summary.card {
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  padding: 0;
}

/* #checkout #js-checkout-summary .card-block { padding: var(--adw-space-lg); } */
#checkout .cart-summary-products>p:first-child {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  margin: 0 0 var(--adw-space-md);
}

#checkout .js-show-details {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: var(--adw-font-sm);
  color: var(--adw-primary-dark);
  text-decoration: none;
}

/* Miniatures produits du récap */
#checkout .media-list {
  margin: var(--adw-space-md) 0 0;
  padding: 0;
  list-style: none;
}

#checkout .media {
  display: flex;
  gap: var(--adw-space-sm);
  padding: var(--adw-space-sm) 0;
  border-top: 1px solid var(--adw-border-light);
}

#checkout .media-left a {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  overflow: hidden;
  background: var(--adw-bg-light);
}

#checkout .media-object {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.2rem;
}

#checkout .media-body {
  flex: 1 1 auto;
  min-width: 0;
}

#checkout .media-body .product-name a {
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#checkout .media-body .product-quantity {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

#checkout .media-body .product-price {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* Sous-totaux + total */
#checkout .cart-summary-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: 0.4rem 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

#checkout .cart-summary-line .label {
  flex: 1 1 auto;
}

#checkout .cart-summary-line .value {
  flex: 0 0 auto;
  margin-left: auto;
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

#checkout #cart-subtotal-shipping .value {
  color: var(--adw-primary-dark);
  font-weight: 700;
}

#checkout .cart-summary-totals {
  border-top: 1px solid var(--adw-border-light);
  margin-top: var(--adw-space-sm);
}

#checkout .cart-total .label,
#checkout .cart-total .value {
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

body#checkout section.checkout-step.-complete .step-title {
  padding-top: .625rem;
}

body#checkout section.checkout-step .step-title {
  border: none;
  padding-bottom: .625rem;
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 991px) {
  #checkout #content>.row {
    flex-direction: column;
  }

  #checkout .cart-grid-body,
  #checkout .cart-grid-right {
    flex: 1 1 100%;
    max-width: 100%;
  }

  #checkout .cart-grid-right {
    position: static;
    order: -1;
  }

  /* récap en haut sur mobile */
}




/* =========================================================================
   Champs des formulaires checkout (#customer-form ET #login-form)
   Réutilise le style compte/inscription, élargi aux deux forms
   ========================================================================= */

/* Lignes label/champ en colonne (neutralise la grille Bootstrap) */
#checkout #customer-form .form-group.row,
#checkout #login-form .form-group.row {
  display: block;
  margin: 0 0 var(--adw-space-md);
}

#checkout #customer-form .form-group.row>[class*="col-md"],
#checkout #login-form .form-group.row>[class*="col-md"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: none;
}

/* Labels */
#checkout #customer-form .form-control-label,
#checkout #login-form .form-control-label {
  display: block;
  margin: 0 0 var(--adw-space-sm);
  text-align: left;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

#checkout #customer-form .form-control-label.required::after,
#checkout #login-form .form-control-label.required::after {
  content: " *";
  color: var(--adw-error);
}

/* label vide (checkbox) : masqué */
#checkout #customer-form .form-control-label:empty,
#checkout #login-form .form-control-label:empty {
  display: none;
  margin: 0;
}

/* Champs */
#checkout #customer-form .form-control,
#checkout #login-form .form-control {
  width: 100%;
  height: 2.9rem;
  padding: 0 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  transition: var(--nhp-trans);
}

#checkout #customer-form .form-control:focus,
#checkout #login-form .form-control:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

#checkout #customer-form .form-control.border-success,
#checkout #login-form .form-control.border-success {
  border-color: var(--adw-primary);
}

/* commentaire d'aide sous le champ */
#checkout #customer-form .form-control-comment,
#checkout #login-form .form-control-comment {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

#checkout #customer-form .form-control-comment:empty,
#checkout #login-form .form-control-comment:empty {
  display: none;
  margin: 0;
}

/* ---- Champ mot de passe + bouton "Afficher" --------------------------- */
#checkout #customer-form .input-group,
#checkout #login-form .input-group {
  display: flex;
  align-items: stretch;
}

#checkout #customer-form .input-group .form-control,
#checkout #login-form .input-group .form-control {
  flex: 1 1 auto;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-right: 0;
}

#checkout #customer-form .input-group-btn .btn,
#checkout #login-form .input-group-btn .btn {
  display: inline-flex;
  align-items: center;
  height: 2.9rem;
  padding: 0 1.1rem;
  background: var(--adw-secondary);
  color: var(--adw-text-white);
  border: 1px solid var(--adw-senhp_condary);
  border-left: 0;
  border-radius: 0 0.6rem 0.6rem 0;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--nhp-trans);
}

#checkout #customer-form .input-group-btn .btn:hover,
#checkout #login-form .input-group-btn .btn:hover {
  background: var(--adw-secondary-dark);
}

/* ---- Mot de passe oublié ---------------------------------------------- */
#checkout #login-form .forgot-password {
  margin: calc(var(--adw-space-xs) * -1) 0 var(--adw-space-md);
  text-align: right;
}

#checkout #login-form .forgot-password a {
  font-size: var(--adw-font-xs);
  color: var(--adw-primary-dark);
  text-decoration: none;
}

#checkout #login-form .forgot-password a:hover {
  color: var(--adw-primary);
  text-decoration: underline;
}

/* ---- Radios / checkboxes (héritent déjà de .custom-radio-adw / .custom-checkbox) --- */
/* rien à redéfinir : ces classes sont globales, elles marchent dans le checkout */

/* ---- Jauge de force du mot de passe ----------------------------------- */
#checkout #customer-form .progress {
  height: 0.4rem;
  background: var(--adw-bg-light);
  border-radius: 999px;
  overflow: hidden;
  margin-top: 0.5rem;
}

#checkout #customer-form .progress-bar {
  height: 100%;
  background: var(--adw-primary);
}

#checkout #customer-form .password-requirements p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0.25rem 0 0;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-medium);
}

#checkout #customer-form .password-requirements .material-icons {
  font-size: 1rem;
}

#checkout .text-success {
  color: var(--adw-success) !important;
}



@media (max-width: 61.99em) {

  /* ---- Messages d'état (gratuit / transaction mise à jour) --------------- */
  #checkout #header .header-top .header-top__logo .logo {
    max-height: 5.75rem;
  }
}


@media screen and (max-width: 767px) {
  body#checkout .card-block {
    padding: 1.25rem 1.25rem .5rem;
  }
}

/* Le .row du checkout ne doit pas déborder (marges négatives Bootstrap) */
#checkout #content>.row {
  margin-left: 0;
  margin-right: 0;
}


/* =========================================================================
   Checkout — Étape Paiement : options, conditions, bouton commander
   ========================================================================= */

/* ---- Messages d'état (gratuit / transaction mise à jour) --------------- */
#checkout .cart-payment-step-not-needed-info,
#checkout .cart-payment-step-refreshed-info {
  padding: var(--adw-space-md);
  margin: 0 0 var(--adw-space-md);
  background: var(--adw-primary-soft);
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-primary-dark);
}

/* ---- Liste des options de paiement ------------------------------------ */
#checkout .payment-options {
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-sm);
  margin-bottom: var(--adw-space-lg);
}

/* chaque option = carte cliquable */
#checkout .payment-option {
  display: flex;
  align-items: center;
  gap: var(--adw-space-md);
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1.5px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  cursor: pointer;
  transition: var(--nhp-trans);
}

#checkout .payment-option:hover {
  border-color: var(--adw-primary);
}

body#checkout .additional-information {
  margin: 0px;
}

/* ---- Label : TEXTE à gauche + LOGO à droite --------------------------- */
body#checkout .payment-options .payment-option label {
  display: flex !important;
  align-items: center;
  gap: var(--adw-space-md);
  margin: 0;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 2.5rem;
  cursor: pointer;
  justify-content: space-between;
}

.ps_checkout-mark.paypal-mark {
  display: flex !important;
}

/* le texte à gauche, prend la place, toujours au même endroit */
body#checkout .payment-options .payment-option label>span {
  order: 0;
  /* ★ à gauche */
  flex: 0 1 auto;
  min-width: 4rem;
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* le logo à droite, taille fixe pour tous */
body#checkout .payment-options .payment-option label img,
body#checkout .payment-options .payment-option label .label-image {
  order: 1;
  /* ★ à droite */
  flex: 0 0 auto;
  width: 4rem;
  /* largeur fixe uniforme */
  /* height: 2.2rem;        */
  /* hauteur fixe */
  object-fit: contain;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  margin: 0;
  margin-left: auto;
  /* ★ collé au bord droit */
}

/* si PAS de logo : icône carte générique à droite (même place) */
body#checkout .payment-options .payment-option label::after {
  content: "";
  order: 2;
  flex: 0 0 auto;
  width: 4rem;
  height: 2.2rem;
  margin-left: auto;
  background-color: var(--adw-text-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6'%3E%3Crect x='2' y='5' width='20' height='14' rx='2'/%3E%3Cpath d='M2 10h20'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* si un vrai logo existe, on masque l'icône générique */
body#checkout .payment-options .payment-option label:has(img)::after,
body#checkout .payment-options .payment-option label:has(.label-image)::after {
  display: none;
}

/* option sélectionnée : bordure verte + léger fond teinté */
#checkout .payment-option:has(input[type="radio"]:checked) {
  border-color: var(--adw-primary);
  background: linear-gradient(160deg, #f7faf0 0%, var(--adw-bg-white) 55%);
  box-shadow: 0 0 0 1px var(--adw-primary);
}

/* ---- Infos additionnelles + formulaire de paiement -------------------- */
#checkout .additional-information {
  padding: var(--adw-space-md) var(--adw-space-lg);
  margin-top: calc(var(--adw-space-sm) * -1);
  margin-bottom: var(--adw-space-sm);
  background: var(--adw-bg-subtle);
  border: 1px solid var(--adw-border-light);
  border-radius: 0 0 var(--adw-buttons-radius-small) var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

#checkout .additional-information.ps-hidden {
  display: none;
}

#checkout .js-payment-option-form.ps-hidden {
  display: none;
}

#checkout .js-payment-option-form {
  /* padding: 0 var(--adw-space-lg) var(--adw-space-md); */
}

/* ---- Conditions à approuver (CGV) ------------------------------------- */
#checkout #conditions-to-approve ul {
  margin: var(--adw-space-lg) 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-sm);
}

#checkout #conditions-to-approve li {
  display: flex;
  align-items: flex-start;
  gap: var(--adw-space-sm);
  padding: var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
}

#checkout #conditions-to-approve li .float-xs-left {
  float: none !important;
  flex: 0 0 auto;
}

#checkout #conditions-to-approve .condition-label {
  flex: 1 1 auto;
}

#checkout #conditions-to-approve .condition-label label {
  margin: 0;
  font-size: var(--adw-font-sm);
  line-height: 1.5;
  color: var(--adw-text);
  cursor: pointer;
}

#checkout #conditions-to-approve .condition-label a {
  color: var(--adw-primary-dark);
  font-weight: var(--adw-font-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Bouton "Commander" ------------------------------------------------ */
#checkout #payment-confirmation {
  margin-top: var(--adw-space-lg);
}

#checkout #payment-confirmation .btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

#checkout #payment-confirmation .btn-primary:hover:not(.disabled) {
  background: var(--adw-primary-dark);
}

#checkout #payment-confirmation .btn-primary.disabled {
  background: var(--adw-bg-light);
  color: var(--adw-text-light);
  cursor: not-allowed;
}

/* alerte "choisissez un mode de paiement + CGV" */
#checkout .js-alert-payment-conditions {
  display: flex;
  align-items: flex-start;
  gap: var(--adw-space-sm);
  margin-top: var(--adw-space-md);
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: #fdecec;
  border: 1px solid #f5c6c6;
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  color: #a12626;
}

#checkout .js-alert-payment-conditions a {
  color: #a12626;
  font-weight: var(--adw-font-semibold);
  text-decoration: underline;
}

/* aucune méthode de paiement */
#checkout .payment-options .alert-danger {
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: #fdecec;
  border: 1px solid #f5c6c6;
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  color: #a12626;
}


/* ===== Checkout ≤ 991px : récap EN BAS, produits en dernier ===== */
@media (max-width: 991px) {

  /* le récap (colonne droite) passe APRÈS le process de commande */
  #checkout #content>.row .cart-grid-right {
    order: 1;
    /* ★ en bas (annule le order:-1 précédent) */
    position: static;
    flex: 1 1 100%;
    max-width: 100%;
  }

  #checkout #content>.row .cart-grid-body {
    order: 0;
    /* le tunnel de commande en premier */
    flex: 1 1 100%;
    max-width: 100%;
  }

  /* dans le récap : la liste des PRODUITS passe en dernier */
  #checkout #js-checkout-summary {
    display: flex;
    flex-direction: column;
  }

  /* totaux d'abord, produits ensuite */
  #checkout #js-checkout-summary .js-cart-summary-totals {
    order: 0;
  }

  #checkout #js-checkout-summary>.card-block {
    order: 1;
  }

  #checkout #js-checkout-summary .cart-summary-products {
    order: 2;
  }

  /* ★ produits en dernier */
}


#checkout .payplugHostedFields,
#checkout .payplugIntegratedPayment {
  width: 100%;
  max-width: 100%;
}








/* =========================================================================
   Checkout — Options de commande (message / recyclable / cadeau)
   ========================================================================= */
#checkout .order-options {
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-lg);
}

/* ---- Champ message de commande ---------------------------------------- */
#checkout .order-options #delivery label,
#checkout .order-options #gift>label {
  display: block;
  margin-bottom: var(--adw-space-sm);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

#checkout .order-options textarea {
  width: 100%;
  min-height: 4.5rem;
  padding: 0.7rem 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  resize: vertical;
  transition: var(--nhp-trans);
}

#checkout .order-options textarea:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

/* ---- Cases à cocher (recyclable / cadeau) ----------------------------- */
/* elles héritent déjà de .custom-checkbox global ; on ajoute juste
   un cadre discret pour les distinguer comme des options */
#checkout .order-options>.custom-checkbox {
  padding: var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  transition: var(--nhp-trans);
}

#checkout .order-options>.custom-checkbox:hover {
  border-color: var(--adw-primary);
}

/* la structure du module met le label APRÈS la case (pas dans un div) */
#checkout .order-options .custom-checkbox>label {
  margin: 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text);
  cursor: pointer;
}

/* ---- Bloc cadeau qui se déplie ---------------------------------------- */
#checkout .order-options #gift {
  padding-left: 1.8rem;
  /* aligné sous le label de la case cadeau */
}

/* le collapse Bootstrap : on gère l'affichage via la classe .in */
#checkout .order-options #gift.collapse:not(.in) {
  display: none;
}

#checkout .order-options #gift.collapse.in {
  display: block;
}


/* =========================================================================
   Checkboxes personnalisées .custom-checkbox — GLOBALES (register + checkout)
   ========================================================================= */

/* colonne pleine largeur pour les lignes checkbox */
.form-group.row .js-input-column.is-checkbox {
  width: 100%;
  max-width: 100%;
  flex: none;
}

.custom-radio input[type=radio]:checked+span {
  background-color: var(--adw-primary);
}

.custom-checkbox {
  display: block;
  position: relative;
}

.custom-checkbox>label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  font-size: var(--adw-font-sm);
  line-height: 1.45;
  color: var(--adw-text);
  cursor: pointer;
}

/* input réel masqué */
.custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  cursor: pointer;
}

/* fausse case */
.custom-checkbox input[type="checkbox"]+span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  border: 1.5px solid var(--adw-border-dark);
  border-radius: 0.35rem;
  background: #fff;
  box-sizing: border-box;
  transition: var(--nhp-trans);
}

/* la coche blanche */
.custom-checkbox .checkbox-checked {
  font-size: 0.95rem;
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  transition: var(--nhp-trans);
}

/* coché : case verte + coche visible */
.custom-checkbox input[type="checkbox"]:checked+span {
  background: var(--adw-primary);
  border-color: var(--adw-primary);
}

.custom-checkbox input[type="checkbox"]:checked+span .checkbox-checked {
  opacity: 1;
  transform: scale(1);
}

/* focus clavier */
.custom-checkbox input[type="checkbox"]:focus-visible+span {
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

/* ---- Structure <div><span>titre</span><em>mention</em></div> ---------- */
.custom-checkbox>label>div {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.custom-checkbox>label>div>span {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-medium);
  color: var(--adw-text);
  line-height: 1.4;
}

.custom-checkbox>label em {
  display: block;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  font-style: normal;
  line-height: 1.5;
}

/* astérisque requis sur les cases obligatoires (RGPD) */
.form-group.customer_privacy .custom-checkbox>label>div>span::after,
.form-group.psgdpr .custom-checkbox>label>div>span::after {
  content: " *";
  color: var(--adw-error);
}






















/* =========================================================================
   Checkout — sélecteur d'adresses (cartes radio) + formulaire adresse
   ========================================================================= */

/* ---- Grille des cartes adresse ---------------------------------------- */
#checkout .address-selector,
#checkout .js-address-selector {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--adw-space-md);
  margin-bottom: var(--adw-space-md);
}

.address-item {
  display: flex;
  flex-direction: column;
  background: var(--adw-bg-white);
  border: 1.5px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  transition: var(--nhp-trans);
}

.address-item:hover {
  border-color: var(--adw-primary);
}

/* carte sélectionnée : bordure verte + léger fond teinté */
.address-item.selected {
  border-color: var(--adw-primary);
  background: linear-gradient(160deg, #f7faf0 0%, var(--adw-bg-white) 55%);
  box-shadow: 0 0 0 1px var(--adw-primary);
}

.address-item__label {
  display: flex;
  align-items: flex-start;
  gap: var(--adw-space-md);
  margin: 0;
  padding: var(--adw-space-lg);
  cursor: pointer;
  flex: 1 1 auto;
}

.address-item__body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
  text-align: left;
}

.address-item__alias {
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

body#checkout section.checkout-step .address-item.selected {
  background: #fff;
  border: var(--adw-primary) 3px solid;
}

.address-item__text {
  font-size: var(--adw-font-sm);
  line-height: 1.55;
  color: var(--adw-text-medium);
}

/* pied : éditer / supprimer */
.address-item__footer {
  display: flex;
  border-top: 1px solid var(--adw-border-light);
}

.address-item__edit,
.address-item__delete {
  flex: 1 1 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  padding: 0.7rem 0.5rem;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-medium) !important;
  text-decoration: none;
  transition: var(--nhp-trans);
}

.address-item__edit {
  border-right: 1px solid var(--adw-border-light);
}

.address-item__edit:hover {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark) !important;
}

.address-item__delete:hover {
  background: #fdecec;
  color: #b3261e !important;
}

.address-item__footer .material-icons {
  font-size: 1.1rem;
}

/* bouton save caché-par-js */
/* .address-selector__save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.75rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  cursor: pointer;
  transition: var(--nhp-trans);
}
.address-selector__save:hover { background: var(--adw-primary-dark); } */

/* ---- Case "même adresse pour facturation" ----------------------------- */
#checkout .address-same {
  margin: var(--adw-space-md) 0 0;
  padding: var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border-radius: var(--adw-buttons-radius-small);
}

/* ---- Boutons du formulaire d'adresse ---------------------------------- */
#checkout .address-form-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--adw-space-sm);
  margin-top: var(--adw-space-lg);
}

#checkout .address-form-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  cursor: pointer;
  transition: var(--nhp-trans);
}

#checkout .address-form-save:hover {
  background: var(--adw-primary-dark);
}

#checkout .address-form-cancel {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  color: var(--adw-text-medium) !important;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  border-radius: var(--adw-buttons-radius-outset);
  transition: var(--nhp-trans);
}

#checkout .address-form-cancel:hover {
  background: var(--adw-bg-light);
  color: var(--adw-text-dark) !important;
}


/* =========================================================================
   Checkout — "Ajouter une adresse" + "Adresse de facturation différente"
   ========================================================================= */

/* ---- Ajouter une nouvelle adresse : bouton contour vert --------------- */
#checkout .add-address {
  margin: var(--adw-space-md) 0 0;
}

#checkout .add-address a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: var(--adw-primary-dark);
  border: 1px dashed var(--adw-primary);
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  text-transform: none;
  transition: var(--nhp-trans);
}

#checkout .add-address a:hover {
  background: var(--adw-primary-soft);
  border-style: solid;
}

#checkout .add-address .material-icons {
  font-size: 1.2rem;
}

/* ---- Adresse de facturation différente : lien discret ----------------- */
#checkout [data-link-action="different-invoice-address"] {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: var(--adw-space-md);
  padding: 0.5rem 0;
  color: var(--adw-text-medium);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: var(--nhp-trans);
}

#checkout [data-link-action="different-invoice-address"]:hover {
  color: var(--adw-primary-dark);
}

/* fallback si Material Icons ne charge pas : un "+" pur CSS */
#checkout .add-address a .material-icons {
  display: none;
}

#checkout .add-address a::before {
  content: "+";
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
}

body#checkout section.checkout-step.-reachable.-current .step-number {
  background-color: var(--adw-primary);
}





/* =========================================================================
   Checkout — récap produits (affichés, scroll à partir de 5)
   ========================================================================= */
.cart-summary-products__title {
  margin: 0 0 var(--adw-space-md);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.cart-summary-products__list {
  margin: 0;
}

/* ★ à partir de 5 produits : hauteur limitée + scroll interne */
.cart-summary-products__list.is-scrollable {
  max-height: 22rem;
  /* ~5 lignes visibles, ajuste selon ta hauteur de ligne */
  overflow-y: auto;
  padding-right: 0.35rem;
  /* évite que la scrollbar colle au texte */
  /* scrollbar fine */
  scrollbar-width: thin;
  scrollbar-color: var(--adw-border-medium) transparent;
}

.cart-summary-products__list.is-scrollable::-webkit-scrollbar {
  width: 6px;
}

.cart-summary-products__list.is-scrollable::-webkit-scrollbar-thumb {
  background: var(--adw-border-medium);
  border-radius: 999px;
}

.cart-summary-products__list.is-scrollable::-webkit-scrollbar-track {
  background: transparent;
}

/* dégradé subtil en bas pour signaler qu'il y a plus à scroller */
.cart-summary-products__list.is-scrollable {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 1.5rem), transparent);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 1.5rem), transparent);
}

.cart-summary-products .media-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.cart-summary-products .media {
  display: flex;
  gap: var(--adw-space-sm);
  padding: var(--adw-space-sm) 0;
  border-top: 1px solid var(--adw-border-light);
}

.cart-summary-products .media:first-child {
  border-top: 0;
}


/* =========================================================================
   Live des envies
   ========================================================================= */
.adw-bl-heart {
  z-index: 2
}

/* =========================================================================
   Formulaire d'adresse (page compte "Mes adresses") — .address-form
   Réutilise le style des champs compte/checkout
   ========================================================================= */

/* wrapper en carte, comme les autres pages compte */
.address-form .js-address-form {}

/* lignes label/champ en colonne (neutralise la grille Bootstrap) */
.address-form .form-group.row {
  display: block;
  margin: 0 0 var(--adw-space-md);
}

.address-form .form-group.row>[class*="col-md"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: none;
}

/* labels */
.address-form .form-control-label {
  display: block;
  margin: 0 0 var(--adw-space-sm);
  text-align: left;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.address-form .form-control-label.required::after {
  content: " *";
  color: var(--adw-error);
}

/* champs texte + select */
.address-form .form-control,
.address-form .form-control-select {
  width: 100%;
  height: 2.9rem;
  padding: 0 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  transition: var(--nhp-trans);
}

.address-form .form-control:focus,
.address-form .form-control-select:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

/* select : flèche custom (retire la flèche native laide) */
.address-form .form-control-select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23545c60' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

/* commentaire d'aide "Optionnel" sous le champ */
.address-form .form-control-comment {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  font-style: italic;
}

.address-form .form-control-comment:empty {
  display: none;
  margin: 0;
}

/* case "utiliser pour facturation" (checkout uniquement, mais safe ici) */
.address-form .custom-checkbox {
  margin-top: var(--adw-space-md);
}

/* ---- Pied : boutons --------------------------------------------------- */
.address-form .form-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--adw-space-sm);
  margin-top: var(--adw-space-lg);
  padding-top: var(--adw-space-lg);
  border-top: 1px solid var(--adw-border-light);
}

.address-form .form-footer .btn-primary,
.address-form .form-control-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  float: none !important;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.address-form .form-footer .btn-primary:hover {
  background: var(--adw-primary-dark);
}

/* lien annuler (si présent) */
.address-form .cancel-address {
  display: inline-flex;
  align-items: center;
  padding: 0.85rem 1.5rem;
  color: var(--adw-text-medium) !important;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  border-radius: var(--adw-buttons-radius-outset);
  float: none !important;
  transition: var(--nhp-trans);
}

.address-form .cancel-address:hover {
  background: var(--adw-bg-light);
  color: var(--adw-text-dark) !important;
}

@media (max-width: 575px) {
  .address-form .js-address-form {
    padding: var(--adw-space-lg);
  }

  .address-form .form-footer {
    flex-direction: column-reverse;
  }

  .address-form .form-footer .btn-primary,
  .address-form .cancel-address {
    width: 100%;
  }
}






/* =========================================================================
   Page Produit — cœur commercial (colonne droite), esprit Col&MacArthur
   ========================================================================= */

/* =========================================================================
   Page Produit — on libère le container du layout pour le full-width
   (uniquement sur #product : les autres pages gardent adwcore-container)
   ========================================================================= */
#wrapper .breadcrumb {
  padding-bottom: 1.563rem;
  margin-bottom: 0;
}



/* on ne neutralise QUE le container qui contient les colonnes de contenu */
#product #wrapper>.adwcore-container:has(> .container-flex) {
  max-width: none;
  width: 100%;
  padding-inline: 0;
  margin: 0;
}

/* le breadcrumb garde son container normal : on ne le touche pas.
   (si une règle l'a déréglé, on le remet explicitement) */
#product #wrapper>.breadcrumb,
#product #wrapper>.adwcore-container:not(:has(> .container-flex)) {
  /* rien à faire : largeur max + centrage hérités de .adwcore-container global */
}

/* le container-flex (colonnes gauche/contenu) n'est pas utilisé en produit
   full-width : on le neutralise aussi */
/* #product #wrapper > .adwcore-container > .container-flex {
  display: block;       /* plus de flex 2 colonnes 
} */

/* la colonne gauche (#left-column) est vide/masquée en produit full-width */
#product #left-column {
  display: none;
}

/* le content-wrapper prend toute la largeur */
#product #content-wrapper {
  width: 100%;
  max-width: none;
  flex: none;
  padding: 0;
}


/* Sections pleine largeur, container recentré à l'intérieur */
.product-section {
  width: 100%;
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

/* le .adwcore-container à l'intérieur reprend la largeur max + centrage
   (ta règle globale .adwcore-container s'applique déjà : 1580px, centré) */

/* fonds par section — à ajuster selon ton goût */
.product-section--top {
  background: var(--adw-bg-white);
}

/* Section onglets : fond gris subtil */
.product-section--tabs {
  background: var(--adw-bg-white);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  /* un peu plus d'air pour la zone grise */
}

/* Section accessoires : retour au blanc */
.product-section--accessories {
  background: var(--adw-bg-subtle);
}

@media (max-width: 767px) {
  .product-section--accessories .splide__arrow {
    width: 2.5rem;
    height: 2.5rem;
  }
}

/* on force la structure 2 colonnes (bat toute règle classic) */
#main.product-page .product-top {
  display: flex !important;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: flex-start;
}

#main.product-page .product-col--media {
  flex: 42 1 0 !important;
  /* proportion 42 */
  min-width: 0;
  position: relative;
}

#main.product-page .product-col--info {
  flex: 58 1 0 !important;
  /* proportion 58 */
  min-width: 0;
}

/* fil d'Ariane discret au-dessus du titre (si présent) */
.product-col--info .breadcrumb {
  margin: 0 0 var(--adw-space-sm);
  padding: 0;
  background: transparent;
  font-size: var(--adw-font-xs);
}

/* ---- Titre ------------------------------------------------------------- */
.product-col--info .product-title {
  margin: 0 0 var(--adw-space-xs);
  font-family: var(--adw-font-heading);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: var(--adw-font-bold);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
}

/* ---- Prix -------------------------------------------------------------- */
.product-col--info .product-prices {
  margin: 0;
}

.product-col--info .product-price,
.product-col--info .current-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* la mention TTC/HT, discrète, collée au prix */
.product-col--info .current-price-tax {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-medium);
  color: var(--adw-text-light);
}

/* le bloc du bas ne contient plus que le délai : on masque s'il est vide */
.product-col--info .tax-shipping-delivery-label:empty {
  display: none;
  margin: 0;
}

.product-col--info .current-price-value {
  font-family: var(--adw-font-heading);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  font-weight: var(--adw-font-extraextrabold);
  color: var(--adw-text-dark);
}

.product-col--info .regular-price {
  font-size: var(--adw-font-md);
  color: var(--adw-text-light);
  text-decoration: line-through;
}

.product-col--info .discount {
  padding: 0.2rem 0.6rem;
  background: #fcebeb;
  color: #791f1f;
  border-radius: 999px;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-bold);
}

.product-col--info .tax-shipping-delivery-label {
  margin-top: 0.15rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

/* ---- Description courte ------------------------------------------------ */
.product-col--info .product-description-short {
  font-size: var(--adw-font-sm);
  line-height: 1.6;
  color: var(--adw-text-medium);
  padding-bottom: var(--adw-space-md);
  border-bottom: 1px solid var(--adw-border-light);
}

.product-col--info .product-description-short ul {
  margin: 0.5rem 0 0;
  padding-left: 1.1rem;
  list-style: disc;
}

.product-col--info .product-description-short li {
  margin-bottom: 0.3rem;
}

/* on masque les H1 parasites injectés dans la desc courte (SEO) */
.product-col--info .product-description-short h1 {
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  margin: 0 0 0.4rem;
}

/* ---- Déclinaisons (product-variants) ---------------------------------- */
.product-col--info .product-variants>.product-variants-item {
  margin-bottom: var(--adw-space-md);
}

.product-col--info .product-variants .control-label {
  display: block;
  margin-bottom: var(--adw-space-sm);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* déclinaisons en pastilles cliquables (radio) */
.product-col--info .product-variants ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-col--info .product-variants .input-container {
  margin: 0;
}

.product-col--info .product-variants .radio-label {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  background: var(--adw-bg-white);
  border: 1.5px solid var(--adw-border-medium);
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-medium);
  color: var(--adw-text-dark);
  cursor: pointer;
  transition: var(--nhp-trans);
  box-shadow: none;
}

.product-col--info .product-variants input:checked+.radio-label,
.product-col--info .product-variants .input-color:checked+span {
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 1px var(--adw-primary);
}

.product-col--info .product-variants .radio-label:hover {
  border-color: var(--adw-primary);
}

/* select de déclinaison si affiché en menu déroulant */
.product-col--info .product-variants select.form-control {
  height: 2.9rem;
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  padding: 0 0.9rem;
}

/* ---- Bloc quantité + Ajouter au panier -------------------------------- */
.product-col--info .product-add-to-cart {
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
}

.product-col--info .product-quantity {
  display: flex;
  align-items: center;
  gap: var(--adw-space-md);
  flex-wrap: wrap;
}

/* champ quantité (touchspin) */
.product-col--info .product-quantity .qty .bootstrap-touchspin {
  display: inline-flex;
  border: 1px solid var(--adw-border-medium);
  border-radius: var(--adw-buttons-radius-small);
  overflow: hidden;
}

.product-col--info #quantity_wanted {
  width: 5rem;
  height: 3rem;
  border: 0;
  text-align: center;
  font-weight: 600;
  -moz-appearance: textfield;
}

.product-col--info #quantity_wanted::-webkit-outer-spin-button,
.product-col--info #quantity_wanted::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-col--info .input-group-btn-vertical {
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--adw-border-medium);
}

.product-col--info .input-group-btn-vertical .btn-touchspin {
  flex: 1 1 50%;
  width: 2rem;
  background: var(--adw-bg-light);
  border: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color .15s ease;
}

.product-col--info .input-group-btn-vertical .btn-touchspin:hover {
  background: #e8eddf;
  color: var(--adw-primary-dark);
}

.product-col--info .input-group-btn-vertical .btn-touchspin+.btn-touchspin {
  border-top: 1px solid var(--adw-border-medium);
}

/* bouton Ajouter au panier : plein, vert, grand */
.product-col--info .product-add-to-cart .add-to-cart {
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.85rem 1.5rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 1px solid var(--adw-primary);
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.product-col--info .product-add-to-cart .add-to-cart:hover:not(:disabled) {
  background: var(--adw-primary-dark);
}

.product-col--info .product-add-to-cart .add-to-cart:disabled {
  background: var(--adw-bg-light);
  color: var(--adw-text-light);
  cursor: not-allowed;
}

.product-col--info .product-add-to-cart .add-to-cart .material-icons {
  font-size: 1.2rem;
}

/* dispo / stock */
.product-col--info .product-availability {
  margin-top: var(--adw-space-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
}

.product-col--info .product-availability .material-icons {
  font-size: 1.1rem;
}

/* ---- Fidélité (adwfidelite) ------------------------------------------- */
.product-col--info .adw-fidelite-product {
  margin-top: var(--adw-space-md);
  padding: var(--adw-space-md) 0;
  /* background: var(--adw-primary-soft);
  border-radius: var(--adw-buttons-radius-small); */
}

.product-col--info .adw-fidelite-product__earn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  background: var(--adw-bg-badge-green);
  color: var(--adw-badge-green);
}

.adw-fidelite-product__none {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  background: var(--adw-bg-badge-red);
  color: var(--adw-badge-red);
  border-left: 3px solid var(--adw-badge-red, #791f1f);
  border-radius: 8px;
  padding: 0.6rem 0.9rem;
}

.adw-fidelite-product .adw-fidelite-product__none .material-icons,
.adw-fidelite-cart .adw-fidelite-product__none .material-icons {
  color: var(--adw-badge-red, #791f1f);
  font-size: 1.15rem;
}

.adw-fidelite-product .adw-fidelite-product__earn .material-icons,
.adw-fidelite-cart .adw-fidelite-product__earn .material-icons {
  color: var(--adw-badge-green, #791f1f);
  font-size: 1.15rem;
}

.product-col--info .adw-fidelite-product__value {
  color: var(--adw-text-medium);
  font-weight: var(--adw-font-normal);
}

/* ---- Bloc engagements (réassurance) — liste type Col&MacArthur --------- */
.product-col--info .blockreassurance_product {
  margin-top: var(--adw-space-md);
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.product-col--info .blockreassurance_product>div {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--adw-border-light);
}

.product-col--info .blockreassurance_product>div:last-of-type {
  border-bottom: 0;
}

.product-col--info .blockreassurance_product .item-product svg {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--adw-primary-dark);
}

.product-col--info .blockreassurance_product .block-title {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark) !important;
}

.product-col--info .blockreassurance_product p {
  margin: 0;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light) !important;
}

/* ---- Partage social --------------------------------------------------- */
.product-col--info .social-sharing {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: var(--adw-space-md);
}

.product-col--info .social-sharing span {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.product-col--info .social-sharing ul {
  display: flex;
  gap: 0.4rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-col--info .social-sharing li a {
  display: inline-flex;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--adw-bg-light);
  transition: background-color .2s ease;
}

.product-col--info .social-sharing li a:hover {
  background: var(--adw-primary-soft);
}

.product-col--media .images-container {
  display: flex;
  flex-direction: row;
  gap: var(--adw-space-md);
  align-items: flex-start;
}

/* les vignettes passent en premier (à gauche) */
.product-col--media .js-qv-mask.mask {
  order: 0;
  flex: 0 0 auto;
  width: 5rem;
}

/* la grande image passe après (à droite) */
.product-col--media .product-cover {
  order: 1;
  flex: 1 1 auto;
}


/* =========================================================================
   Galerie produit — Splide (vignettes verticales gauche + image droite)
   ========================================================================= */
/* =========================================================================
   Galerie produit — Splide (grande image + vignettes EN DESSOUS)
   ========================================================================= */
.product-gallery {
  display: flex;
  flex-direction: column;
  /* ★ image en haut, vignettes en bas */
  gap: var(--adw-space-md);
  align-items: stretch;
}

/* ---- Grande image (en haut) ------------------------------------------- */
/* Grande image : plein cadre, sans bordure ni fond gris */
.product-gallery__main {
  order: 0;
  width: 100%;
  min-width: 0;
  position: relative;
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  background: #fff;
  /* ★ blanc au lieu de gris */
  aspect-ratio: 1 / 1;
  /* le cadre reste carré (800x800) */
}

.product-gallery__cover-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* garde le produit entier, sans rogner */
  padding: 0.5rem;
  /* micro-respiration, pas 50px */
}

/* loupe zoom (haut droite) */
.product-gallery__zoom {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.6rem;
  height: 2.6rem;
  background: #fff;
  border: 0;
  border-radius: 50%;
  box-shadow: var(--adw-shadow-sm);
  color: var(--adw-text-dark);
  cursor: zoom-in;
  opacity: 1;
  transition: opacity .2s ease, background-color .2s ease, color .2s ease;
}

.product-gallery__main:hover .product-gallery__zoom {
  opacity: 1;
}

.product-gallery__zoom:hover {
  background: var(--adw-primary);
  color: #1d2123;
}

/* flèches slider principal (haut droite, à côté de la loupe) */
.product-gallery__main .splide__arrows {
  position: absolute;
  top: 0.85rem;
  right: 4rem;
  z-index: 3;
  display: flex;
  gap: 0.4rem;
}

.product-gallery__main .splide__arrow {
  position: static;
  transform: none;
  width: 2.6rem;
  height: 2.6rem;
  background: #fff;
  border: 1px solid var(--adw-border-light);
  border-radius: 50%;
  box-shadow: var(--adw-shadow-sm);
  opacity: 1;
  transition: background-color .2s ease;
}

.product-gallery__main .splide__arrow:hover {
  background: var(--adw-primary);
}

.product-gallery__main .splide__arrow svg {
  width: 1rem;
  height: 1rem;
  fill: var(--adw-text-dark);
}

/* ---- Vignettes (en dessous, horizontales) ----------------------------- */
.product-gallery__thumbs {
  order: 1;
  width: 100%;
  position: relative;
  padding: 0 2.25rem;
  /* place pour les flèches gauche/droite */
}

.product-gallery__thumbs .splide__track {
  overflow: hidden;
}

.product-gallery__thumb {
  cursor: pointer;
  border: 1.5px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  overflow: hidden;
  background: var(--adw-bg-white);
  transition: border-color .2s ease, box-shadow .2s ease;
}

.product-gallery__thumb:hover {
  border-color: var(--adw-primary);
}

.product-gallery__thumbs .splide__slide.is-active {
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 1px var(--adw-primary);
}

.product-gallery__thumb-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  padding: 0.3rem;
}

/* flèches des vignettes : gauche / droite (horizontal) */
.product-gallery__thumbs .splide__arrow {
  width: 1.9rem;
  height: 1.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: 50%;
  opacity: 1;
  box-shadow: var(--adw-shadow-sm);
}

.product-gallery__thumbs .splide__arrow--prev {
  left: 0;
}

.product-gallery__thumbs .splide__arrow--next {
  right: 0;
}

.product-gallery__thumbs .splide__arrow svg {
  width: 0.85rem;
  height: 0.85rem;
  fill: var(--adw-text-dark);
}

.product-gallery__thumbs .splide__arrow:hover {
  background: var(--adw-primary);
}

.product-gallery__main .splide__arrow:hover {
  background: var(--adw-primary);
}

.product-gallery__main .splide__arrow svg {
  width: 1rem;
  height: 1rem;
  fill: var(--adw-text-dark);
}


/* ---- Responsive : vignettes sous l'image en mobile -------------------- */
@media (max-width: 575px) {
  .product-gallery {
    flex-direction: column-reverse;
  }

  .product-gallery__thumbs {
    width: 100%;
  }

  .product-gallery__thumbs .splide__arrow--prev {
    top: 50%;
    left: -0.25rem;
    transform: translateY(-50%);
  }

  .product-gallery__thumbs .splide__arrow--next {
    top: 50%;
    bottom: auto;
    right: -0.25rem;
    left: auto;
    transform: translateY(-50%);
  }
}

/* =========================================================================
   Flags produit — ancrés sur la galerie (position actuelle dans la colonne)
   ========================================================================= */
.nhp-shopify .product-col--media {
  position: relative;
}

.nhp-shopify .product-col--media .product-flags {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 5;
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.nhp-shopify .product-col--media .product-flag {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0.25rem 0.7rem;
  background: var(--adw-primary, #91bd31);
  color: #1d2123;
  border-radius: 999px;
  font-family: var(--adw-font-body, 'Inter', sans-serif);
  font-size: var(--adw-font-xs, 0.75rem);
  font-weight: var(--adw-font-semibold, 600);
  text-transform: none;
  line-height: 1.4;
  white-space: nowrap;
}

.nhp-shopify .product-col--media .product-flag.new {
  background: var(--adw-bg-badge-green);
  color: var(--adw-badge-green);
}

.nhp-shopify .product-col--media .product-flag.discount,
.nhp-shopify .product-col--media .product-flag.discount-percentage,
.nhp-shopify .product-col--media .product-flag.discount-amount,
.nhp-shopify .product-col--media .product-flag.on-sale {
  background: var(--adw-bg-badge-red);
  color: var(--adw-badge-red);
}

.nhp-shopify .product-col--media .product-flag.pack,
.nhp-shopify .product-col--media .product-flag.out_of_stock {
  background: var(--adw-bg-light, #efefef);
  color: var(--adw-text-medium, #545c60);
}

.nhp-shopify .product-col--media .images-piece_origine,
.nhp-shopify .product-col--media .images-piece_adaptable {
  position: absolute;
  z-index: 1;
  bottom: 10px;
  top: auto;
  right: 10px;
  max-width: 7rem;
}

.nhp-shopify .product-col--media .images-piece_origine img,
.nhp-shopify .product-col--media .images-piece_adaptable img {
  width: 100%;
}


/* La galerie reste collée en haut pendant le scroll de la colonne infos */
#main.product-page .product-col--media {
  position: sticky;
  top: 4.5rem;
  /* décalage sous le header ; ajuste si header fixe */
  align-self: flex-start;
  /* ★ indispensable : sinon le sticky ne marche pas en flex */
}

/* la colonne info défile normalement (plus de sticky dessus) */
#main.product-page .product-col--info {
  position: static;
}

/* en mobile : pas de sticky (tout empilé) */
@media (max-width: 991px) {
  #main.product-page .product-col--media {
    position: static;
    top: auto;
  }
}

/* =========================================================================
   Page Produit — bloc prix (product-prices) esprit Shopify
   ========================================================================= */

.product-col--info .product-prices {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

/* ---- Prix barré (avant remise) ---------------------------------------- */
.product-col--info .product-discount {
  margin: 0;
  order: -1;
  /* le prix barré passe au-dessus du prix courant */
}

.product-col--info .product-discount .regular-price {
  font-size: var(--adw-font-md);
  color: var(--adw-text-light);
  text-decoration: line-through;
  font-weight: var(--adw-font-medium);
}

/* ---- Prix courant + badge promo --------------------------------------- */
.product-col--info .product-price {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.6rem;
}

.product-col--info .product-price .current-price {
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* ---- Prix courant : cohérent avec .nhp-shopify .price (rouge, extra-bold) --- */
.product-col--info .current-price-value {
  font-family: var(--adw-font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.1rem);
  font-weight: var(--adw-font-extraextrabold, 900);
  line-height: 1.1;
  color: var(--adw-text-red, #ff5f3e);
  /* ★ rouge comme les cartes */
}

/* en promo : prix courant en accent (rouge/vert selon ta charte) */
/* .product-col--info .product-price.has-discount .current-price-value {
  color: var(--adw-text-red, #ff5f3e);
} */

/* badge de remise : pilule */
.product-col--info .discount {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  background: var(--adw-bg-badge-red);
  color: var(--adw-badge-red);
  border-radius: 999px;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-bold);
  line-height: 1.3;
  text-transform: capitalize;
  white-space: nowrap;
}

.product-col--info .discount.discount-amount {
  background: #fcebeb;
  color: #791f1f;
}

/* ---- Prix unitaire (sub) ---------------------------------------------- */
.product-col--info .product-unit-price {
  margin: 0;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

/* ---- Prix HT / pack / écotaxe ----------------------------------------- */
.product-col--info .product-without-taxes,
.product-col--info .product-pack-price,
.product-col--info .price-ecotax {
  margin: 0;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.product-col--info .product-pack-price span {
  color: var(--adw-text-medium);
}

/* ---- Mentions taxe + livraison ---------------------------------------- */
.product-col--info .tax-shipping-delivery-label {
  margin-top: 0.15rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

/* info de délai de livraison : pastille verte claire */
.product-col--info .delivery-information {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.6rem;
  background: var(--adw-primary-soft);
  border-radius: 999px;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-primary-dark);
}


/* =========================================================================
   Disponibilité produit — pastille visible selon l'état
   ========================================================================= */
.product-col--info #product-availability {
  display: inline-flex;
  gap: 0.45rem;
  margin-top: 0;
  margin-bottom: var(--adw-space-md);
  padding: 0.55rem 1rem;
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  line-height: 1.3;
  width: 100%;
  text-align: center;
  justify-content: center;
}

.product-col--info #product-availability:empty {
  display: none;
}

.product-col--info #product-availability .material-icons {
  font-size: 1.2rem;
}

/* Disponible (vert) */
.product-col--info #product-availability:has(.product-available) {
  background: var(--adw-bg-badge-green, #eaf3de);
  color: var(--adw-badge-green, #27500a);
}

.product-col--info #product-availability .product-available {
  color: var(--adw-badge-green, #27500a);
}

/* Derniers articles (orange) */
.product-col--info #product-availability:has(.product-last-items) {
  background: #fdf3e2;
  color: #8a5a12;
}

.product-col--info #product-availability .product-last-items {
  color: var(--adw-warning, #f0a429);
}

/* Rupture / indisponible (rouge) */
.product-col--info #product-availability:has(.product-unavailable) {
  background: var(--adw-bg-badge-red, #fcebeb);
  color: var(--adw-badge-red, #791f1f);
}

.product-col--info #product-availability .product-unavailable {
  color: var(--adw-badge-red, #791f1f);
}

/* Prix dans le bouton "Ajouter au panier" */
.product-col--info .product-add-to-cart .add-to-cart {
  gap: 0.5rem;
}

.add-to-cart__sep {
  opacity: 0.6;
}

.add-to-cart__price {
  font-weight: var(--adw-font-extraextrabold, 900);
  white-space: nowrap;
}





/* =========================================================================
   Page Produit — Responsive (tablette → mobile)
   ========================================================================= */

/* ---- Tablette (≤ 991px) : les 2 colonnes s'empilent ------------------- */
@media (max-width: 991px) {
  #main.product-page .product-top {
    flex-direction: column;
    gap: var(--adw-space-lg);
  }

  #main.product-page .product-col--media,
  #main.product-page .product-col--info {
    flex: 1 1 100% !important;
    max-width: 100%;
    width: 100%;
  }

  /* la galerie n'est plus sticky une fois empilée (déjà géré, on confirme) */
  #main.product-page .product-col--media {
    position: static;
    top: auto;
  }

  /* la galerie ne prend pas toute la hauteur écran : on la borne */
  .product-gallery__main {
    max-width: 32rem;
    margin-inline: auto;
  }
}

/* ---- Petite tablette / grand mobile (≤ 767px) ------------------------- */
@media (max-width: 767px) {
  .product-section {
    padding-block: clamp(1.5rem, 4vw, 2.5rem);
  }

  /* titre un cran plus petit */
  .product-col--info .product-title {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }

  /* prix */
  .product-col--info .current-price-value {
    font-size: clamp(1.5rem, 6vw, 1.9rem);
  }

  /* le bloc quantité + bouton passe en colonne (bouton pleine largeur) */
  .product-col--info .product-quantity {
    flex-direction: column;
    align-items: stretch;
    gap: var(--adw-space-sm);
  }

  .product-col--info .product-quantity .qty {
    display: flex;
    justify-content: flex-start;
  }

  .product-col--info .product-add-to-cart .add-to-cart {
    width: 100%;
    min-height: 3.25rem;
    /* cible tactile confortable */
  }
}

/* ---- Mobile (≤ 575px) ------------------------------------------------- */
@media (max-width: 575px) {

  /* galerie : pleine largeur, plus de bornage */
  .product-gallery__main {
    max-width: 100%;
  }

  /* vignettes : on réduit le padding des flèches */
  .product-gallery__thumbs {
    padding: 0 1.75rem;
  }

  /* titre + prix compacts */
  .product-col--info .product-title {
    font-size: clamp(1.25rem, 6vw, 1.5rem);
    line-height: 1.2;
  }

  /* description courte : un peu plus resserrée */
  .product-col--info .product-description-short {
    font-size: var(--adw-font-sm);
  }

  /* le bouton d'ajout : le prix reste visible, on garde tout */
  .product-col--info .product-add-to-cart .add-to-cart {
    padding: 0.85rem 1rem;
    font-size: var(--adw-font-sm);
    flex-wrap: wrap;
    /* si ça serre, le prix passe dessous */
    gap: 0.4rem;
  }

  /* champ quantité : un peu plus compact */
  .product-col--info #quantity_wanted {
    width: 4rem;
    height: 2.75rem;
  }

  .product-col--info .input-group-btn-vertical .btn-touchspin {
    width: 2.25rem;
    /* boutons +/- plus larges au doigt */
  }

  /* dispo : garde pleine largeur (déjà le cas) */
  .product-col--info #product-availability {
    font-size: var(--adw-font-xs);
  }

  /* engagements / réassurance : padding réduit */
  .product-col--info .blockreassurance_product {
    padding: var(--adw-space-md);
  }

  .product-col--info .blockreassurance_product .item-product svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  /* partage social : reste sur une ligne */
  .product-col--info .social-sharing {
    flex-wrap: wrap;
  }

  /* flags / pastilles origine : plus petits sur la galerie mobile */
  .nhp-shopify .product-col--media .product-flag {
    font-size: 0.7rem;
    padding: 0.2rem 0.55rem;
  }

  .nhp-shopify .product-col--media .images-piece_origine,
  .nhp-shopify .product-col--media .images-piece_adaptable {
    max-width: 4.5rem;
  }
}

/* ---- Très petit mobile (≤ 380px) : bouton compact --------------------- */
@media (max-width: 380px) {

  /* si le prix + libellé ne tiennent pas, on masque le séparateur */
  .add-to-cart__sep {
    display: none;
  }

  /* et on garde libellé + prix sur 2 lignes centrées si besoin */
  .product-col--info .product-add-to-cart .add-to-cart {
    line-height: 1.3;
  }
}




















/* mobile : si ça serre, on peut masquer le séparateur */
@media (max-width: 400px) {
  .add-to-cart__sep {
    display: none;
  }
}


























/* =========================================================================
   Page Produit — Section infos : sections empilées + nav sticky
   Pattern premium : tout visible, navigation rapide, rien de caché
   ========================================================================= */

.nhp-shopify .product-section--tabs {
  padding-top: 0;
}

.nhp-shopify .product-tabs-full {
  position: relative;
  width: 100%;
}

/* ---- Barre de navigation sticky ---------------------------------------- */
.nhp-shopify .product-tabs-nav {
  position: sticky;
  top: 3.856rem;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 var(--adw-space-xl);
  padding: var(--adw-space-sm) 0;
  background: var(--adw-bg-white);
  /* même gris que la section */
  border-bottom: 1px solid var(--adw-border-light);
}

.nhp-shopify .product-tabs-nav__link {
  padding: 0.6rem 1.2rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-medium);
  text-decoration: none;
  border-radius: 999px;
  transition: var(--nhp-trans);
}

.nhp-shopify .product-tabs-nav__link:hover {
  background: var(--adw-bg-white);
  color: var(--adw-text-dark);
}

/* lien actif (section en cours de lecture) : pilule verte claire */
.nhp-shopify .product-tabs-nav__link.is-active {
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
}

/* ---- Sections empilées -------------------------------------------------- */
.nhp-shopify .product-tabs-content {
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  line-height: 1.65;
  color: var(--adw-text);
}

.nhp-shopify .product-tab-block {
  padding: var(--adw-space-xl) 0;
  border-bottom: 1px solid var(--adw-border-light);
  scroll-margin-top: 5rem;
  /* décalage pour que la nav sticky ne masque pas le titre */
}

.nhp-shopify .product-tab-block:first-child {
  padding-top: 0;
}

.nhp-shopify .product-tab-block:last-child {
  border-bottom: 0;
}

.nhp-shopify .product-tab-block__title {
  margin: 0 0 var(--adw-space-lg);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
}

/* ---- Contenu riche (description technique) ------------------------------ */
.nhp-shopify .product-description h2 {
  margin: var(--adw-space-xl) 0 var(--adw-space-md);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-xl);
  font-weight: var(--adw-font-bold);
  line-height: 1.2;
  color: var(--adw-text-dark);
  letter-spacing: -0.01em;
}

.nhp-shopify .product-description h2:first-child {
  margin-top: 0;
}

.nhp-shopify .product-description h3 {
  margin: var(--adw-space-lg) 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* les H1 parasites injectés dans le contenu (SEO "320 kg") -> ramenés à taille normale */
.nhp-shopify .product-description h1 {
  margin: var(--adw-space-md) 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-lg);
  font-weight: var(--adw-font-bold);
  color: var(--adw-primary-dark);
}

.nhp-shopify .product-description p {
  margin: 0 0 var(--adw-space-md);
  color: var(--adw-text-medium);
}

.nhp-shopify .product-description strong {
  color: var(--adw-text-dark);
  font-weight: var(--adw-font-semibold);
}

/* listes à puces vertes */
.nhp-shopify .product-description ul {
  margin: 0 0 var(--adw-space-lg);
  padding: 0;
  list-style: none;
}

.nhp-shopify .product-description ul li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--adw-text-medium);
}

.nhp-shopify .product-description ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--adw-primary);
}

.nhp-shopify .product-description ol {
  margin: 0 0 var(--adw-space-lg);
  padding-left: 1.4rem;
  color: var(--adw-text-medium);
}

.nhp-shopify .product-description ol li {
  margin-bottom: 0.5rem;
}

/* ---- Tableau technique -------------------------------------------------- */
.nhp-shopify .product-description table {
  width: 100%;
  max-width: 100%;
  margin: 0 0 var(--adw-space-xl);
  border-collapse: separate;
  border-spacing: 0;
  background: var(--adw-bg-white);
  /* blanc : ressort sur le gris de section */
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  font-size: var(--adw-font-sm);
}

.nhp-shopify .product-description table thead th {
  padding: 0.7rem 1rem;
  background: var(--adw-bg-subtle);
  border-bottom: 1px solid var(--adw-border-light);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  text-align: left;
}

.nhp-shopify .product-description table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--adw-border-light);
  color: var(--adw-text);
  vertical-align: top;
}

.nhp-shopify .product-description table tr:last-child td {
  border-bottom: 0;
}

/* lignes alternées + première colonne (libellé) en gras */
.nhp-shopify .product-description table tbody tr:nth-child(even) {
  background: var(--adw-bg-subtle);
}

.nhp-shopify .product-description table td:first-child {
  font-weight: var(--adw-font-medium);
  color: var(--adw-text-dark);
}

/* le wrapper Tailwind du contenu importé : on le neutralise */
.nhp-shopify .product-description .TyagGW_tableContainer,
.nhp-shopify .product-description .TyagGW_tableWrapper {
  display: block;
  width: 100%;
  overflow-x: auto;
  /* tableau scrollable si trop large en mobile */
}

/* on masque les ancres SEO invisibles */
.nhp-shopify .product-description .PDq2pG_selectionAnchor,
.nhp-shopify .product-description .contents {
  display: none;
}

/* ---- Bloc "Détails du produit" ----------------------------------------- */
.nhp-shopify #product-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-lg);
}

.nhp-shopify #product-details .product-manufacturer,
.nhp-shopify #product-details .product-reference {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: var(--adw-bg-white);
  /* blanc sur gris */
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  min-width: 12rem;
}

.nhp-shopify #product-details .label {
  font-size: var(--adw-font-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  font-weight: var(--adw-font-semibold);
}

.nhp-shopify #product-details .product-manufacturer span a,
.nhp-shopify #product-details .product-reference span {
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-decoration: none;
}

.nhp-shopify #product-details .product-manufacturer span a:hover {
  color: var(--adw-primary-dark);
}

/* références spécifiques (EAN, etc.) */
.nhp-shopify #product-details .product-features {
  flex: 1 1 100%;
  margin-top: var(--adw-space-sm);
}

.nhp-shopify #product-details .product-features .h6 {
  margin: 0 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.nhp-shopify #product-details .data-sheet {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.5rem;
  margin: 0;
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
}

.nhp-shopify #product-details .data-sheet .name {
  font-size: var(--adw-font-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  font-weight: var(--adw-font-semibold);
  margin: 0;
}

.nhp-shopify #product-details .data-sheet .value {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  margin: 0 0 var(--adw-space-sm);
}

/* bloc rupture vide : masqué */
.nhp-shopify #product-details .product-out-of-stock:empty {
  display: none;
}

/* ---- Bloc Pièces jointes ------------------------------------------------ */
.nhp-shopify .product-attachments .attachment {
  padding: var(--adw-space-md) var(--adw-space-lg);
  margin-bottom: var(--adw-space-sm);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
}

.nhp-shopify .product-attachments .attachment h4 {
  margin: 0 0 0.25rem;
}

.nhp-shopify .product-attachments .attachment h4 a {
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-decoration: none;
}

.nhp-shopify .product-attachments .attachment p {
  margin: 0 0 0.5rem;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-light);
}

.nhp-shopify .product-attachments .attachment>a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--adw-primary-dark);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
}





/* =========================================================================
   Fiche produit — Bloc "Détails du produit" (#product-details)
   marque / référence / stock / data-sheet / références spécifiques
   ========================================================================= */

/* le conteneur : cartes en ligne, data-sheet pleine largeur dessous */
.nhp-shopify #product-details {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-md);
}

/* ---- Cartes info (marque, référence, stock, dispo, état) --------------- */
.nhp-shopify #product-details .product-manufacturer,
.nhp-shopify #product-details .product-reference,
.nhp-shopify #product-details .product-quantities,
.nhp-shopify #product-details .product-availability-date,
.nhp-shopify #product-details .product-condition {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 11rem;
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  margin: 0;
}

/* libellés uniformes (Marque / Référence / En stock / État) */
.nhp-shopify #product-details .label,
.nhp-shopify #product-details .product-availability-date label {
  margin: 0;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  text-align: left;
}

/* valeurs */
.nhp-shopify #product-details .product-reference span,
.nhp-shopify #product-details .product-quantities span,
.nhp-shopify #product-details .product-availability-date span,
.nhp-shopify #product-details .product-condition span {
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* lien marque (texte) */
.nhp-shopify #product-details .product-manufacturer span a {
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-decoration: none;
  transition: color .2s ease;
}

.nhp-shopify #product-details .product-manufacturer span a:hover {
  color: var(--adw-primary-dark);
}

/* logo marque (si image) : borné, centré dans sa carte */
.nhp-shopify #product-details .manufacturer-logo {
  max-height: 3.5rem;
  width: auto;
  object-fit: contain;
}

/* bloc rupture vide (hook) : masqué */
.nhp-shopify #product-details .product-out-of-stock:empty {
  display: none;
}

/* ---- Fiche technique + Références spécifiques (pleine largeur) --------- */
.nhp-shopify #product-details .product-features {
  flex: 1 1 100%;
  margin: var(--adw-space-sm) 0 0;
  padding: var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.nhp-shopify #product-details .product-features .h6 {
  margin: 0 0 var(--adw-space-md);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-transform: none;
}

/* la data-sheet : lignes libellé / valeur alternées */
.nhp-shopify #product-details .data-sheet {
  display: grid;
  grid-template-columns: minmax(9rem, 14rem) 1fr;
  margin: 0;
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  overflow: hidden;
  font-size: var(--adw-font-sm);
}

.nhp-shopify #product-details .data-sheet .name,
.nhp-shopify #product-details .data-sheet .value {
  margin: 0;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--adw-border-light);
}

/* dernière ligne : pas de bordure (dt et dd finaux) */
.nhp-shopify #product-details .data-sheet .name:nth-last-of-type(1),
.nhp-shopify #product-details .data-sheet .value:last-child {
  border-bottom: 0;
}

.nhp-shopify #product-details .data-sheet .name {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  background: var(--adw-bg-subtle);
  text-transform: none;
  letter-spacing: 0;
  font-size: var(--adw-font-sm);
}

.nhp-shopify #product-details .data-sheet .value {
  color: var(--adw-text-medium);
  overflow-wrap: anywhere;
  /* longues références -> coupure propre */
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 575px) {

  /* les cartes info passent en pleine largeur */
  .nhp-shopify #product-details .product-manufacturer,
  .nhp-shopify #product-details .product-reference,
  .nhp-shopify #product-details .product-quantities,
  .nhp-shopify #product-details .product-availability-date,
  .nhp-shopify #product-details .product-condition {
    flex: 1 1 100%;
    min-width: 0;
  }

  /* la data-sheet passe en une colonne : libellé au-dessus de la valeur */
  .nhp-shopify #product-details .data-sheet {
    grid-template-columns: 1fr;
  }

  .nhp-shopify #product-details .data-sheet .name {
    border-bottom: 0;
    padding-bottom: 0.2rem;
  }

  .nhp-shopify #product-details .product-features {
    padding: var(--adw-space-md);
  }
}














/* =========================================================================
   Barre d'achat sticky (fiche produit)
   ========================================================================= */
.product-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1050;
  /* au-dessus du contenu, sous le cart drawer */
  background: var(--adw-bg-white);
  border-top: 1px solid var(--adw-border-light);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
  transform: translateY(100%);
  transition: transform .25s ease;
}

.product-buybar.is-visible {
  transform: translateY(0);
}

.product-buybar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding-block: 0.6rem;
}

/* infos produit (nom + prix) */
.product-buybar__info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.product-buybar__name {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-buybar__price {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-extraextrabold, 900);
  color: var(--adw-text-red, #ff5f3e);
}

/* actions (quantité + bouton) */
.product-buybar__actions {
  display: flex;
  align-items: center;
  gap: var(--adw-space-sm);
  flex: 0 0 auto;
}

.product-buybar__qty {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  overflow: hidden;
  height: 2.5rem;
}

.product-buybar__qty-btn {
  width: 2.4rem;
  background: var(--adw-bg-subtle);
  border: 0;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--adw-text-dark);
  cursor: pointer;
}

.product-buybar__qty-input {
  width: 3rem;
  border: 0;
  text-align: center;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  -moz-appearance: textfield;
}

.product-buybar__qty-input::-webkit-outer-spin-button,
.product-buybar__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
}

.product-buybar__add {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.5rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  cursor: pointer;
  transition: var(--nhp-trans);
}

.product-buybar__add:hover:not(:disabled) {
  background: var(--adw-primary-dark);
}

.product-buybar__add:disabled {
  background: var(--adw-bg-light);
  color: var(--adw-text-light);
  cursor: not-allowed;
}

/* ---- Mobile : compact, safe-area iPhone ---- */
@media (max-width: 575px) {
  .product-buybar__inner {
    padding-block: 0.5rem;
    flex-direction: column;
    align-items: flex-start;
  }

  .product-buybar {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .product-buybar__name {
    display: none;
  }

  /* on garde juste le prix */
  .product-buybar__add {
    padding: 0.7rem 1.1rem;
  }

  .product-buybar__add .material-icons {
    font-size: 1.1rem;
  }

  .product-buybar__actions {
    justify-content: space-between;
    width: 100%;
  }


}



























/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 575px) {
  .nhp-shopify .product-tabs-nav {
    gap: 0.35rem;
    overflow-x: auto;
    /* nav scrollable horizontalement si beaucoup d'onglets */
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .nhp-shopify .product-tabs-nav::-webkit-scrollbar {
    display: none;
  }

  .nhp-shopify .product-tabs-nav__link {
    white-space: nowrap;
    padding: 0.5rem 0.9rem;
  }

  .nhp-shopify .product-tab-block__title {
    font-size: var(--adw-font-xl);
  }

  .nhp-shopify #product-details .product-manufacturer,
  .nhp-shopify #product-details .product-reference {
    flex: 1 1 100%;
  }
}































/* =========================================================================
   Panier partagé (saveandsharecart) — esprit Shopify
   ========================================================================= */

/* La carte centrée */
#module-saveandsharecart-savecartdetail #content.page-content.card__wrapper {
  max-width: 100%;
  margin: var(--adw-space-xl) auto;
  padding: var(--adw-space-xl);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  /* box-shadow: var(--adw-shadow-sm); */
}

.shared-cart {
  /* max-width: 60rem; */
  margin: 0 auto;
}

/* ---- En-tête ------------------------------------------------------------ */
.shared-cart__head {
  margin-bottom: var(--adw-space-lg);
  text-align: center;
}

.shared-cart__title {
  margin: 0 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
}

.shared-cart__intro {
  margin: 0;
  font-size: var(--adw-font-base);
  color: var(--adw-text-medium);
}

/* ---- Tableau (desktop) ------------------------------------------------- */
.shared-cart__table {
  width: 100%;
  margin: 0 0 var(--adw-space-lg);
  border-collapse: separate;
  border-spacing: 0;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  font-family: var(--adw-font-body);
}

.shared-cart__table thead th {
  padding: var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  text-align: left;
}

.shared-cart__table td {
  padding: var(--adw-space-md);
  border-bottom: 1px solid var(--adw-border-light);
  font-size: var(--adw-font-sm);
  color: var(--adw-text);
  vertical-align: middle;
}

.shared-cart__table tr:last-child td {
  border-bottom: 0;
}

.shared-cart__table tbody tr {
  transition: background-color var(--adw-transition-fast);
}

.shared-cart__table tbody tr:hover {
  background: var(--adw-primary-soft);
}

.shared-cart__num {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.shared-cart__table thead .shared-cart__num {
  text-align: right;
}

.shared-cart__img {
  width: 5rem;
}

.shared-cart__img img {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  background: var(--adw-bg-light);
  padding: 0.2rem;
}

.shared-cart__name {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-decoration: none;
  line-height: 1.35;
}

.shared-cart__name:hover {
  color: var(--adw-primary-dark);
}

.shared-cart__qty {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.shared-cart__subtotal {
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

/* ---- Cartes (mobile) --------------------------------------------------- */
.shared-cart__cards {
  display: grid;
  gap: var(--adw-space-md);
  margin-bottom: var(--adw-space-lg);
}

.shared-cart__card {
  display: flex;
  gap: var(--adw-space-md);
  padding: var(--adw-space-md);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.shared-cart__card-img {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  overflow: hidden;
  background: var(--adw-bg-light);
}

.shared-cart__card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.2rem;
}

.shared-cart__card-body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.shared-cart__card-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--adw-space-sm);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

/* ---- Total ------------------------------------------------------------- */
.shared-cart__total {
  display: flex;
  align-items: baseline;
  justify-content: flex-end;
  gap: var(--adw-space-md);
  padding: var(--adw-space-md) var(--adw-space-lg);
  margin-bottom: var(--adw-space-lg);
  background: var(--adw-bg-subtle);
  border-radius: var(--adw-miniature-radius-outset);
  font-size: var(--adw-font-lg);
  color: var(--adw-text-medium);
}

.shared-cart__total strong {
  font-size: var(--adw-font-xl);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

/* ---- Actions ----------------------------------------------------------- */
.shared-cart__actions {
  text-align: center;
}

.shared-cart__load-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  transition: var(--nhp-trans);
}

.shared-cart__load-btn:hover {
  background: var(--adw-primary-dark);
}

.shared-cart__load-btn .material-icons {
  font-size: 1.2rem;
}

/* confirmation */
.shared-cart__confirm {
  max-width: 30rem;
  margin: var(--adw-space-lg) auto 0;
  padding: var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.shared-cart__warning {
  margin: 0 0 var(--adw-space-md);
  padding: var(--adw-space-md);
  background: #fdf3e2;
  border: 1px solid #f6dca8;
  border-radius: var(--adw-buttons-radius-small);
  font-size: var(--adw-font-sm);
  color: #8a5a12;
}

.shared-cart__confirm-actions {
  display: flex;
  gap: var(--adw-space-sm);
  justify-content: center;
}

.shared-cart__btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.5rem;
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

.shared-cart__btn--yes {
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 1px solid var(--adw-primary);
}

.shared-cart__btn--yes:hover {
  background: var(--adw-primary-dark);
}

.shared-cart__btn--no {
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-border-dark);
}

.shared-cart__btn--no:hover {
  background: var(--adw-bg-light);
}

/* tableau de personnalisation dans une ligne produit */
.shared-cart__custom {
  width: 100%;
  margin-top: 0.5rem;
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.shared-cart__custom td {
  padding: 0.15rem 0.5rem 0.15rem 0;
}

/* bouton "Save Cart" en variante ghost */
.shared-cart__btn--ghost {
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-border-dark);
}

.shared-cart__btn--ghost:hover {
  border-color: var(--adw-primary);
  color: var(--adw-primary-dark);
  background: var(--adw-primary-soft);
}

/* message aucun panier */
.shared-cart__empty {
  max-width: 40rem;
  margin: var(--adw-space-xl) auto;
  padding: var(--adw-space-lg);
  background: #eaf3f7;
  border: 1px solid #cfe4ee;
  border-radius: var(--adw-miniature-radius-outset);
  color: #2f6d84;
  font-size: var(--adw-font-sm);
  text-align: center;
}

/* les boutons d'action s'alignent proprement */
#detail-cart-actions.shared-cart__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--adw-space-sm);
  float: none;
}

@media (max-width: 575px) {
  .shared-cart__load-btn {
    width: 100%;
    justify-content: center;
  }

  .shared-cart__confirm-actions {
    flex-direction: column;
  }

  .shared-cart__btn {
    justify-content: center;
  }
}



/* =========================================================================
   Sparrspart
   ========================================================================= */

select.form-control:not([size]):not([multiple]) {
  height: auto !important;
}

/* La carte centrée */
#module-nhpspareparts-search #content.page-content.card__wrapper,
#module-nhpspareparts-enginetypes #content.page-content.card__wrapper,
#module-nhpspareparts-manufacturers #content.page-content.card__wrapper,
#module-nhpspareparts-model #content.page-content.card__wrapper {
  max-width: 100%;
}

#index .nhp-spareparts-widget {
  margin-bottom: 0px !important;
}

#module-nhpspareparts-model .nhp-products-grid {
  border-radius: var(--adw-button-radius-medium);
  padding: 1rem 1rem;
}

.nhp-search-form .nhp-select--enhanced {
  text-align: left;
}



.nhp-search-form {
  --nsf-primary: var(--adw-primary, var(--nhp-primary, #91bd31));
  --nsf-ink: var(--adw-ink, var(--nhp-ink, #1d2123));
  --nsf-border: var(--adw-border, var(--nhp-border, #d9dde1));
  /* … */
}

.nhp-search-form .ts-control {
  border-color: var(--nsf-border);
}

@media (max-width: 575px) {

  #module-nhpspareparts-model #content.page-content.card__wrapper,
  #module-nhpspareparts-search #content.page-content.card__wrapper,
  #module-nhpspareparts-manufacturers #content.page-content.card__wrapper,
  #module-nhpspareparts-enginetypes #content.page-content.card__wrapper {
    margin: 0;
    padding: var(--adw-space-lg);
  }
}


/* =========================================================================
   Checkout — Footer minimaliste (esprit Shopify) + watermark NHP
   ========================================================================= */
#checkout .checkout-footer {
  position: relative;
  overflow: hidden;
  margin-top: var(--adw-space-xl);
  padding: var(--adw-space-xl) 0 0;
  background: var(--adw-text-dark, #1d2123);
  border-top: 3px solid var(--adw-primary, #91bd31);
}

/* watermark géant "NHP Motoculture", fondu en bas, derrière */
#checkout .checkout-footer::after {
  content: "NHP Motoculture";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.12em;
  z-index: 0;
  text-align: center;
  white-space: nowrap;
  font-family: var(--adw-font-heading, 'NeueHaasDisplay', sans-serif);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.8;
  font-size: clamp(3rem, 14vw, 13rem);
  color: rgba(255, 255, 255, 0.03);
  pointer-events: none;
  user-select: none;
}

/* le contenu passe au-dessus du watermark */
#checkout .checkout-footer__inner {
  position: relative;
  z-index: 1;
  max-width: var(--adw-container-max-width, 98.75rem);
  margin-inline: auto;
  padding: 0 clamp(1rem, 4vw, 2rem) var(--adw-space-xl);
  text-align: center;
}

/* CGV */
#checkout .checkout-footer__terms {
  margin-bottom: var(--adw-space-md);
  font-size: var(--adw-font-sm);
  color: rgba(255, 255, 255, 0.72);
}

#checkout .checkout-footer__terms a {
  color: var(--adw-primary, #91bd31);
  text-decoration: none;
  transition: color .2s ease;
}

#checkout .checkout-footer__terms a:hover {
  color: var(--adw-primary-light, #a8ce58);
}

/* copyright */
#checkout .checkout-footer__copyright {
  margin: 0;
  font-size: var(--adw-font-xs);
  color: rgba(255, 255, 255, 0.5);
}

#checkout .checkout-footer__copyright a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
}

#checkout .checkout-footer__copyright a:hover {
  color: var(--adw-primary, #91bd31);
}











/* =========================================================================
   Page Confirmation de commande — Shopify, sans Bootstrap
   ========================================================================= */
/* .page-order-confirmation,
.oc-success,
.oc-block,
#content-hook-order-confirmation-footer {
  max-width: 56rem;
  margin: 0 auto var(--adw-space-md);
} */


#content-hook_order_confirmation {
  margin-bottom: 2rem
}

/* ---- Bandeau succès ---------------------------------------------------- */
.oc-success {
  padding: var(--adw-space-xl);
  background: linear-gradient(160deg, #f0f7e2 0%, var(--adw-bg-white) 60%);
  border: 1px solid var(--adw-primary);
  border-radius: var(--adw-miniature-radius-outset);
}

.oc-success__title {
  display: flex;
  align-items: center;
  gap: var(--adw-space-md);
  margin: 0 0 var(--adw-space-md);
  font-family: var(--adw-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.oc-success__title .done {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex: 0 0 auto;
  background: var(--adw-primary);
  color: #1d2123;
  border-radius: 50%;
  font-size: 1.8rem;
}

.oc-success__text {
  margin: 0;
  font-size: var(--adw-font-base);
  line-height: 1.6;
  color: var(--adw-text-medium);
}

.oc-success__text a {
  color: var(--adw-primary-dark);
  font-weight: var(--adw-font-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Grille : articles + détails --------------------------------------- */
.oc-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-lg);
  align-items: flex-start;
}

.oc-items {
  flex: 1 1 22rem;
  min-width: 0;
  padding: var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

/* en-tête colonnes */
.oc-items__head {
  display: flex;
  align-items: center;
  gap: var(--adw-space-md);
  padding-bottom: var(--adw-space-sm);
  border-bottom: 2px solid var(--adw-border-light);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
}

.oc-items__head-product {
  flex: 1 1 auto;
}

.oc-items__head-num {
  flex: 0 0 6rem;
  text-align: center;
}

/* ligne produit */
.oc-line {
  display: flex;
  align-items: center;
  gap: var(--adw-space-md);
  padding: var(--adw-space-md) 0;
  border-bottom: 1px solid var(--adw-border-light);
}

.oc-line:last-child {
  border-bottom: 0;
}

.oc-line__image {
  flex: 0 0 auto;
}

.oc-line__image img {
  width: 4rem;
  height: 4rem;
  object-fit: contain;
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
  background: var(--adw-bg-light);
  padding: 0.2rem;
}

.oc-line__name {
  flex: 1 1 auto;
  min-width: 0;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  line-height: 1.35;
  color: var(--adw-text-dark);
}

.oc-line__attr {
  display: block;
  margin-top: 0.15rem;
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-normal);
  color: var(--adw-text-light);
}

.oc-line__cell {
  flex: 0 0 6rem;
  text-align: center;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
  font-variant-numeric: tabular-nums;
}

.oc-line__cell--total {
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

/* totaux */
.oc-totals {
  margin-top: var(--adw-space-md);
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
  margin-left: auto;
  max-width: 22rem;
}

.oc-totals__line {
  display: flex;
  justify-content: space-between;
  gap: var(--adw-space-md);
  padding: 0.35rem 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

.oc-totals__line span:last-child {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  font-variant-numeric: tabular-nums;
}

.oc-totals__line--shipping span:last-child {
  color: var(--adw-primary-dark);
}

.oc-totals__line--grand {
  margin-top: var(--adw-space-sm);
  padding-top: var(--adw-space-sm);
  border-top: 2px solid var(--adw-border-medium);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.oc-totals__line--grand span:last-child {
  font-size: var(--adw-font-md);
}

/* ---- Détails commande (aside) ------------------------------------------ */
.oc-details {
  flex: 0 0 18rem;
  padding: var(--adw-space-lg);
  background: var(--adw-bg-subtle);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.oc-details__title {
  margin: 0 0 var(--adw-space-md);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.oc-details__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-md);
}

.oc-details__list li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.oc-details__label {
  font-size: var(--adw-font-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  font-weight: var(--adw-font-semibold);
}

.oc-details__value {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  font-weight: var(--adw-font-medium);
}

.oc-details__value em {
  font-style: normal;
  color: var(--adw-text-light);
}

.oc-details__recyclable {
  font-style: normal;
  font-size: var(--adw-font-sm);
  color: var(--adw-primary-dark);
}

/* ---- Blocs hooks (paiement, création compte) --------------------------- */
.oc-block {
  padding: var(--adw-space-xl);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 767px) {
  .oc-grid {
    flex-direction: column;
  }

  .oc-items,
  .oc-details {
    flex: 1 1 100%;
    width: 100%;
  }

  /* en-tête colonnes masqué, valeurs avec label via data-label */
  .oc-items__head {
    display: none;
  }

  .oc-line {
    flex-wrap: wrap;
  }

  .oc-line__name {
    flex: 1 1 60%;
  }

  .oc-line__cell {
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
    text-align: right;
    padding: 0.15rem 0 0 5rem;
  }

  .oc-line__cell::before {
    content: attr(data-label);
    font-size: var(--adw-font-xs);
    text-transform: uppercase;
    color: var(--adw-text-light);
    font-weight: var(--adw-font-semibold);
  }
}


/* le bloc details enveloppe nom + personnalisation + hook prix unitaire */
.oc-line__details {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.oc-line__name {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  line-height: 1.35;
  color: var(--adw-text-dark);
  text-decoration: none;
}

a.oc-line__name:hover {
  color: var(--adw-primary-dark);
}

/* lien personnalisation */
.oc-line__custom a {
  font-size: var(--adw-font-xs);
  color: var(--adw-primary-dark);
  text-decoration: underline;
}

/* ligne taxe (détail sous le total) */
.oc-totals__line--tax {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
}

.oc-totals__line--tax span:last-child {
  font-weight: var(--adw-font-normal);
  color: var(--adw-text-light);
}


.adw-paylcr .nhp-section__head {
  display: flex;
  flex-direction: column;
  align-items: center;
}















/* =========================================================================
   Page Équipe — grille 5 col (desktop) / carrousel Splide (mobile)
   ========================================================================= */
/* .page-cms .team { max-width: 75rem; margin: 0 auto; } */

/* ---- Intro (inchangée) ------------------------------------------------- */
.team__intro {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  font-size: var(--adw-font-base);
  line-height: 1.7;
  color: var(--adw-text-medium);
}

.team__lead {
  font-size: var(--adw-font-lg);
  line-height: 1.6;
  color: var(--adw-text-dark);
  margin-bottom: var(--adw-space-lg);
}

.team__cta-text {
  font-size: var(--adw-font-md);
  color: var(--adw-primary-dark);
}

.team__stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-md);
  margin: var(--adw-space-lg) 0;
  padding: var(--adw-space-lg);
  background: linear-gradient(160deg, #f0f7e2 0%, var(--adw-bg-white) 60%);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.team__stat {
  flex: 1 1 8rem;
  text-align: center;
}

.team__stat-num {
  display: block;
  font-family: var(--adw-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--adw-font-extraextrabold);
  color: var(--adw-primary-dark);
  line-height: 1.1;
}

.team__stat-label {
  display: block;
  margin-top: 0.25rem;
  font-size: var(--adw-font-xs);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
}

/* ---- Grille 5 colonnes quand Splide est DÉTRUIT (desktop ≥1200px) ------ */
.team-slider.is-destroyed .splide__list,
.team-slider:not(.is-active) .splide__list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1.25rem;
}

/* ---- Carte membre ------------------------------------------------------ */
.team-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--adw-space-lg);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  transition: var(--nhp-trans);
  height: auto;
}

.team-card:hover {
  border-color: var(--adw-primary);
  box-shadow: var(--adw-shadow-md);
  transform: translateY(-3px);
}

.team-card__photo {
  width: 6.5rem;
  height: 6.5rem;
  margin-bottom: var(--adw-space-md);
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--adw-bg-white);
  box-shadow: 0 0 0 1px var(--adw-border-light), var(--adw-shadow-sm);
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.team-card__name {
  margin: 0;
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-lg);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.team-card__role {
  margin: 0.15rem 0 var(--adw-space-sm);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--adw-primary-dark);
}

.team-card__text {
  margin: 0;
  font-size: var(--adw-font-sm);
  line-height: 1.55;
  color: var(--adw-text-medium);
}

/* ---- Flèches / pagination Splide (mobile) ------------------------------ */
.team-slider .splide__arrow {
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  box-shadow: var(--adw-shadow-sm);
}

.team-slider .splide__arrow svg {
  fill: var(--adw-text-dark);
}

.team-slider .splide__arrow:hover {
  background: var(--adw-primary);
}

.team-slider .splide__pagination__page.is-active {
  background: var(--adw-primary);
}

/* ---- Outro ------------------------------------------------------------- */
.team__outro {
  text-align: center;
  margin-top: clamp(2rem, 5vw, 3.5rem);
  padding-top: var(--adw-space-lg);
  border-top: 1px solid var(--adw-border-light);
}

.team__outro p {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-light);
  margin: 0 0 var(--adw-space-md);
}

.team__signature {
  font-family: var(--adw-font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: var(--adw-font-bold);
  color: var(--adw-primary-dark) !important;
  font-style: italic;
}

.team-slider .splide__pagination {
  bottom: -3rem;
  padding: 0;
  gap: 1rem;
}

/* Desktop ≥ 1200px : Splide non monté → grille 5 colonnes visible */
@media (min-width: 1200px) {
  .team-slider.splide {
    visibility: visible !important;
    /* ★ Splide le cache par défaut, on le ré-affiche */
  }

  .team-slider .splide__track {
    overflow: visible !important;
  }

  .team-slider .splide__list {
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    transform: none !important;
  }

  .team-slider .splide__slide {
    width: auto !important;
    margin: 0 !important;
  }
}





/* =========================================================================
   Page Contact — 2 colonnes (infos + formulaire), esprit Shopify
   ========================================================================= */

/* ---- Layout 2 colonnes ------------------------------------------------- */
.contact-page-layout {
  display: flex;
  flex-wrap: wrap;
  gap: var(--adw-space-lg);
  align-items: flex-start;
  /* max-width: 66rem;
  margin: 0 auto; */
  margin-top: .5em;
}

.contact-page-layout .contact-rich {
  flex: 0 0 20rem;
  max-width: 20rem;
}

.contact-page-layout .contact-content {
  flex: 1 1 0;
  min-width: 0;
}

/* ---- Colonne infos (contact-rich) -------------------------------------- */
.contact-rich {
  padding: var(--adw-space-lg);
  background: linear-gradient(160deg, #f7faf0 0%, var(--adw-bg-white) 55%);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.contact-rich h4 {
  margin: 0 0 var(--adw-space-md);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.contact-rich .block {
  display: flex;
  align-items: flex-start;
  gap: var(--adw-space-md);
}

.contact-rich .icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background: var(--adw-primary-soft);
  border-radius: 50%;
  color: var(--adw-primary-dark);
}

.contact-rich .icon .material-icons {
  font-size: 1.3rem;
  line-height: 1;
}

.contact-rich .data {
  font-size: var(--adw-font-sm);
  line-height: 1.6;
  color: var(--adw-text-medium);
}

.contact-rich .data a {
  color: var(--adw-primary-dark);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
}

.contact-rich .data a:hover {
  text-decoration: underline;
}

.contact-rich hr {
  margin: var(--adw-space-md) 0;
  border: 0;
  border-top: 1px solid var(--adw-border-light);
}

/* ---- En-tête formulaire ------------------------------------------------ */
.contact-page {
  padding: var(--adw-space-xl);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

.contact-page__head {
  margin-bottom: var(--adw-space-lg);
  padding-bottom: var(--adw-space-md);
  border-bottom: 1px solid var(--adw-border-light);
}

.contact-page__title {
  margin: 0 0 var(--adw-space-xs);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
}

.contact-page__subtitle {
  margin: 0;
  font-size: var(--adw-font-base);
  color: var(--adw-text-medium);
}

/* ---- Champs (label au-dessus) ------------------------------------------ */
.contact-form__field {
  margin-bottom: var(--adw-space-lg);
}

.contact-form__label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: var(--adw-space-sm);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

.contact-form__optional {
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-normal);
  font-style: italic;
  color: var(--adw-text-light);
}

.contact-form__control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  transition: var(--nhp-trans);
}

.contact-form__control::placeholder {
  color: var(--adw-text-light);
}

.contact-form__control:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

.contact-form__textarea {
  resize: vertical;
  min-height: 8rem;
}

/* select : flèche custom */
.contact-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23545c60' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

/* ---- Champ fichier (bootstrap-filestyle) ------------------------------- */
/* on masque le vrai input file (déjà clippé inline) et on stylise le groupe */
.contact-form .bootstrap-filestyle.input-group {
  display: flex;
  align-items: stretch;
}

.contact-form .bootstrap-filestyle .form-control {
  flex: 1 1 auto;
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--adw-border-medium);
  border-right: 0;
  border-radius: 0.6rem 0 0 0.6rem;
  background: var(--adw-bg-subtle);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

.contact-form .group-span-filestyle {
  display: flex;
}

.contact-form .group-span-filestyle .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1.1rem;
  background: var(--adw-secondary);
  color: var(--adw-text-white);
  border: 1px solid var(--adw-secondary);
  border-radius: 0 0.6rem 0.6rem 0;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--nhp-trans);
}

.contact-form .group-span-filestyle .btn:hover {
  background: var(--adw-secondary-dark);
}

.contact-form .icon-span-filestyle {
  font-size: 1rem;
}

.contact-form .buttonText {
  line-height: 1;
}

/* =========================================================================
   Consentement RGPD (psgdpr) dans le formulaire contact
   Structure : .custom-checkbox > label > input + span(case) + span(texte)
   ========================================================================= */
.contact-form__gdpr:empty {
  display: none;
}

.contact-form__gdpr {
  margin-bottom: var(--adw-space-lg);
  padding: var(--adw-space-md);
  background: var(--adw-bg-subtle);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-buttons-radius-small);
}

/* le label enrobe tout : case + texte alignés en haut */
.contact-form__gdpr .psgdpr_consent_message {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  margin: 0;
  cursor: pointer;
}

/* la vraie case : masquée (on stylise le span qui suit) */
.contact-form__gdpr .custom-checkbox input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
  cursor: pointer;
}

/* 1er span = fausse case */
.contact-form__gdpr .custom-checkbox input[type="checkbox"]+span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.2rem;
  height: 1.2rem;
  margin-top: 0.1rem;
  border: 1.5px solid var(--adw-border-dark);
  border-radius: 0.35rem;
  background: #fff;
  box-sizing: border-box;
  transition: var(--nhp-trans);
}

/* l'icône coche dans la case (Material) */
.contact-form__gdpr .custom-checkbox .checkbox-checked {
  font-size: 0.95rem;
  color: #fff;
  opacity: 0;
  transform: scale(.6);
  transition: var(--nhp-trans);
}

/* état coché : case verte + coche visible */
.contact-form__gdpr .custom-checkbox input[type="checkbox"]:checked+span {
  background: var(--adw-primary);
  border-color: var(--adw-primary);
}

.contact-form__gdpr .custom-checkbox input[type="checkbox"]:checked+span .checkbox-checked {
  opacity: 1;
  transform: scale(1);
}

/* fallback si l'icône Material ne charge pas : coche CSS pure */
.contact-form__gdpr .custom-checkbox input[type="checkbox"]:checked+span .checkbox-checked:empty::after {
  content: "";
  width: 0.3rem;
  height: 0.6rem;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  margin-top: -2px;
}

/* 2e span = le texte du consentement */
.contact-form__gdpr .psgdpr_consent_message>span:last-child {
  flex: 1 1 auto;
  font-size: var(--adw-font-sm);
  line-height: 1.5;
  color: var(--adw-text);
}

.contact-form__gdpr .psgdpr_consent_message a {
  color: var(--adw-primary-dark);
  font-weight: var(--adw-font-semibold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__gdpr .psgdpr_consent_message sup {
  color: var(--adw-error);
}

/* ---- Bouton envoyer ---------------------------------------------------- */
.contact-form__footer {
  display: flex;
  justify-content: flex-end;
  padding-top: var(--adw-space-md);
  border-top: 1px solid var(--adw-border-light);
}

.contact-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  cursor: pointer;
  transition: var(--nhp-trans);
}

.contact-form__submit:hover:not(:disabled) {
  background: var(--adw-primary-dark);
}

.contact-form__submit:active {
  transform: scale(0.98);
}

.contact-form__submit:disabled {
  background: var(--adw-bg-light);
  color: var(--adw-text-light);
  cursor: not-allowed;
}

.contact-form__submit .material-icons {
  font-size: 1.2rem;
}

/* ---- Notifications (succès / erreur) ----------------------------------- */
.contact-form .notif {
  margin-bottom: var(--adw-space-lg);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 767px) {
  .contact-page-layout {
    flex-direction: column;
  }

  .contact-page-layout .contact-rich,
  .contact-page-layout .contact-content {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .contact-page-layout .contact-rich {
    order: 1;
    width: 100%;
  }

  /* infos sous le formulaire */
  .contact-page-layout .contact-content {
    order: 0;
  }
}

@media (max-width: 575px) {
  .contact-page {
    padding: var(--adw-space-lg);
  }

  .contact-form__footer {
    justify-content: stretch;
  }

  .contact-form__submit {
    width: 100%;
    justify-content: center;
  }
}



















/* =========================================================================
   Panier vide — esprit Shopify
   ========================================================================= */
.cart-container .cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) var(--adw-space-lg);
}

.cart-container .card-block h1 {
  margin: 0 0 var(--adw-space-lg);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  line-height: 1.15;
  color: var(--adw-text-dark);
  text-transform: none;
  position: relative;
  padding-left: var(--adw-space-md);
}

.cart-container .card-block h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  bottom: 0.15em;
  width: 4px;
  border-radius: 2px;
  background: var(--adw-primary);
}

.cart-empty__icon {
  color: var(--adw-primary);
  margin-bottom: var(--adw-space-lg);
}

.cart-empty__title {
  margin: 0 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

.cart-empty__text {
  margin: 0 0 var(--adw-space-lg);
  font-size: var(--adw-font-base);
  color: var(--adw-text-medium);
  max-width: 26rem;
}

.cart-empty__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  transition: var(--nhp-trans);
}

.cart-empty__btn:hover {
  background: var(--adw-primary-dark);
  color: var(--adw-dark);
  gap: 0.7rem;
}

.cart-empty__btn svg {
  transition: transform .2s ease;
}

.cart-empty__btn:hover svg {
  transform: translateX(0.15rem);
}



.adw-sociallogin__divider--after {
  margin: 2rem 0rem 2rem;
}

















/* =========================================================================
   Page Marques (manufacturers) — grille de cartes, esprit Shopify
   ========================================================================= */
#manufacturer #main>h1,
.page-manufacturer #main>h1 {
  margin: 0 0 var(--adw-space-xl);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
}

/* ---- Grille des marques ------------------------------------------------ */
#manufacturer #main>ul,
.page-manufacturer #main>ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: var(--adw-space-md);
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ---- Carte marque ------------------------------------------------------ */
.brand {
  display: flex;
  flex-direction: column;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  transition: var(--nhp-trans);
}

.brand:hover {
  border-color: var(--adw-primary);
  box-shadow: var(--adw-shadow-md);
  transform: translateY(-3px);
}

/* logo */
.brand-img {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 8rem;
  padding: var(--adw-space-lg);
  background: var(--adw-bg-white);
  border-bottom: 1px solid var(--adw-border-light);
}

.brand-img a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.brand-img img {
  max-width: 100%;
  max-height: 100%;
  width: auto !important;
  /* écrase le style inline width:100% de certaines marques */
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  /* fond blanc des logos se fond dans la carte */
}

/* nom de la marque */
.brand-infos {
  padding: var(--adw-space-md) var(--adw-space-md) 0;
  text-align: center;
}

.brand-infos p {
  margin: 0;
}

.brand-infos p a {
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-decoration: none;
  transition: color .2s ease;
}

.brand-infos p a:hover {
  color: var(--adw-primary-dark);
}

/* nb produits + lien */
.brand-products {
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-sm);
  margin-top: auto;
  /* pousse le bloc en bas de la carte */
  padding: var(--adw-space-sm) var(--adw-space-md) var(--adw-space-md);
  text-align: center;
}

/* le compteur "72 produits" : première ancre */
.brand-products a:first-child {
  font-size: var(--adw-font-xs);
  color: var(--adw-text-light);
  text-decoration: none;
  pointer-events: none;
  /* c'est juste un compteur, pas vraiment un lien utile */
}

/* le bouton "voir les produits" : deuxième ancre */
.brand-products a:last-child {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  text-transform: none;
  transition: var(--nhp-trans);
}

.brand-products a:last-child:hover {
  background: var(--adw-primary);
  border-color: var(--adw-primary);
  color: var(--btn-cart-color);
}

/* ---- Responsive -------------------------------------------------------- */
@media (max-width: 767px) {

  #manufacturer #main>ul,
  .page-manufacturer #main>ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--adw-space-sm);
  }

  .brand-img {
    height: 6rem;
    padding: var(--adw-space-md);
  }
}

@media (max-width: 400px) {

  #manufacturer #main>ul,
  .page-manufacturer #main>ul {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 576px) {
  #index .adw-slide {
    height: clamp(48rem, 85vw, 50rem);
  }

  .header-top .container {
    padding: 1rem;
  }

  .nhp-quickadd .header-icon-text {
    display: none
  }

  #header .header-top .header-top-right>#_desktop_user_info {
    order: 1;
    margin-inline-start: inherit;
  }
}

@media (hover: none) {

  .nhp-shopify .product-miniature .highlighted-informations,
  .nhp-shopify .product-miniature .wishlist-button-add,
  .nhp-shopify .product-add-to-cart {
    opacity: 1 !important;
    transform: none !important;
  }
}






/* =========================================================================
   Page Devis (opartdevis) — esprit Shopify
   ========================================================================= */

#module-opartdevis-simplequotation #content.page-content.card__wrapper,
#module-opartdevis-createquotation #content.page-content.card__wrapper {
  max-width: 100%;
  margin: 0 auto;
}

/* ---- En-tête ----------------------------------------------------------- */
#module-opartdevis-simplequotation .quote-page__head {
  text-align: center;
  margin-bottom: var(--adw-space-xl);
}

#module-opartdevis-simplequotation .quote-page__title {
  margin: 0 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
}

#module-opartdevis-simplequotation .quote-page__subtitle {
  margin: 0;
  font-size: var(--adw-font-base);
  color: var(--adw-text-medium);
}

/* ---- Formulaire en sections -------------------------------------------- */
#module-opartdevis-simplequotation .quote-form {
  display: flex;
  flex-direction: column;
  gap: var(--adw-space-lg);
}

#module-opartdevis-simplequotation .quote-form__section {
  margin: 0;
  padding: var(--adw-space-xl);
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
}

#module-opartdevis-simplequotation .quote-form__legend {
  padding: 0 0 var(--adw-space-md);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  border: 0;
  width: auto;
}

/* grille 2 colonnes */
#module-opartdevis-simplequotation .quote-form__grid--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--adw-space-md) var(--adw-space-lg);
}

/* ---- Champs ------------------------------------------------------------- */
#module-opartdevis-simplequotation .quote-form__field {
  min-width: 0;
}

#module-opartdevis-simplequotation .quote-form__label {
  display: block;
  margin-bottom: var(--adw-space-sm);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  text-align: left;
}

#module-opartdevis-simplequotation .quote-form__label sup {
  color: var(--adw-error);
}

#module-opartdevis-simplequotation .quote-form__control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  transition: var(--nhp-trans);
}

#module-opartdevis-simplequotation .quote-form__control:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

#module-opartdevis-simplequotation .quote-form__textarea {
  resize: vertical;
  min-height: 6rem;
}

#module-opartdevis-simplequotation .quote-form__select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23545c60' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  text-overflow: ellipsis;
}

#module-opartdevis-simplequotation .quote-form__file {
  width: 100%;
  padding: 0.6rem;
  font-size: var(--adw-font-sm);
  border: 1px dashed var(--adw-border-medium);
  border-radius: 0.6rem;
  background: var(--adw-bg-subtle);
  cursor: pointer;
}

#module-opartdevis-simplequotation .quote-form__hint {
  margin: 0.5rem 0 0;
  font-size: var(--adw-font-xs);
  font-style: italic;
  color: var(--adw-text-light);
}

#module-opartdevis-simplequotation .quote-form__captcha {
  display: flex;
  justify-content: center;
}

/* ---- Pied : retour + envoyer ------------------------------------------- */
#module-opartdevis-simplequotation .quote-form__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
}

#module-opartdevis-simplequotation .quote-form__back {
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-medium);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color .2s ease;
}

#module-opartdevis-simplequotation .quote-form__back:hover {
  color: var(--adw-primary-dark);
}

#module-opartdevis-simplequotation .quote-form__submit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  cursor: pointer;
  transition: var(--nhp-trans);
}

#module-opartdevis-simplequotation .quote-form__submit:hover {
  background: var(--adw-primary-dark);
}

#module-opartdevis-simplequotation .quote-form__submit .material-icons {
  font-size: 1.2rem;
}

.notif--quote {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  flex-wrap: nowrap;
  width: 100%;
}

/* =========================================================================
   Devis — lien vers le formulaire simple
   ========================================================================= */
.quote-alt {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--adw-space-sm) var(--adw-space-md);
  margin: var(--adw-space-lg) 0 0;
}

.quote-alt__text {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

.quote-alt__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.3rem;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  transition: var(--nhp-trans);
}

.quote-alt__btn:hover {
  background: var(--adw-primary);
  border-color: var(--adw-primary);
  color: var(--btn-cart-color, #1d2123);
}

.quote-alt__btn svg {
  transition: transform .2s ease;
}

.quote-alt__btn:hover svg {
  transform: translateX(0.15rem);
}

@media (max-width: 575px) {
  .quote-alt {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .quote-alt__btn {
    justify-content: center;
  }
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 640px) {
  #module-opartdevis-simplequotation .quote-form__grid--2 {
    grid-template-columns: 1fr;
  }

  #module-opartdevis-simplequotation .quote-form__section {
    padding: var(--adw-space-lg);
  }

  #module-opartdevis-simplequotation .quote-form__footer {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: center;
  }

  #module-opartdevis-simplequotation .quote-form__submit {
    justify-content: center;
  }
}

























/* =========================================================================
   Page Devis — Création (opartdevis createquotation)
   ========================================================================= */

/* ---- Titres ------------------------------------------------------------- */
#module-opartdevis-createquotation h1 {
  margin: 0 0 var(--adw-space-sm);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-2xl);
  font-weight: var(--adw-font-bold);
  letter-spacing: -0.01em;
  color: var(--adw-text-dark);
  text-align: center;
}

#module-opartdevis-createquotation form>h4 {
  margin: var(--adw-space-lg) 0 var(--adw-space-md);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* ---- Tableau produits (desktop) ----------------------------------------- */
#module-opartdevis-createquotation #cart_summary {
  width: 100%;
  margin: 0 0 var(--adw-space-lg);
  border-collapse: separate;
  border-spacing: 0;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  overflow: hidden;
  font-family: var(--adw-font-body);
}

#module-opartdevis-createquotation #cart_summary th,
#module-opartdevis-createquotation #cart_summary td {
  border: 0;
  border-bottom: 1px solid var(--adw-border-light);
  padding: var(--adw-space-md);
  vertical-align: middle;
}

#module-opartdevis-createquotation #cart_summary thead th {
  background: var(--adw-bg-subtle);
  font-size: var(--adw-font-xs);
  font-weight: var(--adw-font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--adw-text-light);
  text-align: left;
}

/* colonnes chiffrées à droite, chiffres tabulaires */
#module-opartdevis-createquotation #cart_summary th:not(:first-child),
#module-opartdevis-createquotation #cart_summary td:not(:first-child) {
  text-align: right;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

#module-opartdevis-createquotation #cart_summary tbody td:first-child {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

#module-opartdevis-createquotation #cart_summary tbody td {
  font-size: var(--adw-font-sm);
  color: var(--adw-text);
}

/* ligne remise */
#module-opartdevis-createquotation #cart_summary .cart_discount td {
  color: var(--adw-primary-dark);
}

#module-opartdevis-createquotation #cart_summary .price-discount {
  font-weight: var(--adw-font-semibold);
}

/* totaux (tfoot) */
#module-opartdevis-createquotation #cart_summary tfoot td {
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
  background: var(--adw-bg-subtle);
  padding-block: 0.55rem;
}

#module-opartdevis-createquotation #cart_summary tfoot .price {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

/* dernière ligne = total TTC : mis en avant */
#module-opartdevis-createquotation #cart_summary tfoot tr:last-child td {
  border-top: 2px solid var(--adw-border-medium);
  border-bottom: 0;
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

#module-opartdevis-createquotation #opartQuotationTotalQuotationWithTax {
  font-family: var(--adw-font-heading);
  font-weight: var(--adw-font-extraextrabold, 900);
  color: var(--adw-text-red, #ff5f3e);
}

/* ---- Cartes (mobile — branche serveur isMobile) -------------------------- */
#module-opartdevis-createquotation .bloc-product.card,
#module-opartdevis-createquotation .cart_discount.card,
#module-opartdevis-createquotation .total.card {
  margin-bottom: var(--adw-space-md);
}

/* ---- Cartes génériques (adresses / transporteur / infos) ----------------- */
#module-opartdevis-createquotation .card {
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-light);
  border-radius: var(--adw-miniature-radius-outset);
  margin-bottom: var(--adw-space-lg);
  overflow: hidden;
}

#module-opartdevis-createquotation .card-header {
  padding: var(--adw-space-md) var(--adw-space-lg);
  background: var(--adw-bg-subtle);
  border-bottom: 1px solid var(--adw-border-light);
  font-family: var(--adw-font-heading);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

#module-opartdevis-createquotation .card-header h3 {
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

#module-opartdevis-createquotation .card-body {
  padding: var(--adw-space-lg);
}

#module-opartdevis-createquotation .card-body>br {
  display: none;
}

/* totaux mobile */
#module-opartdevis-createquotation .total.card .cart_total_price {
  display: flex;
  justify-content: flex-end;
  gap: var(--adw-space-sm);
  padding: 0.3rem 0;
  font-size: var(--adw-font-sm);
  color: var(--adw-text-medium);
}

#module-opartdevis-createquotation .total.card .cart_total_price label {
  margin: 0;
}

#module-opartdevis-createquotation .total.card .cart_total_price .price {
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
  font-variant-numeric: tabular-nums;
}

#module-opartdevis-createquotation .total.card .cart_total_price:last-child {
  margin-top: 0.35rem;
  padding-top: 0.6rem;
  border-top: 2px solid var(--adw-border-medium);
  font-size: var(--adw-font-md);
  font-weight: var(--adw-font-bold);
  color: var(--adw-text-dark);
}

/* ---- Formulaires : labels au-dessus, pleine largeur ---------------------- */
#module-opartdevis-createquotation .form-group.row {
  display: block;
  margin: 0 0 var(--adw-space-lg);
}

#module-opartdevis-createquotation .form-group.row>[class*="col-lg"] {
  width: 100%;
  max-width: 100%;
  padding: 0;
  flex: none;
  float: none;
}

#module-opartdevis-createquotation .control-label {
  display: block;
  margin-bottom: var(--adw-space-sm);
  text-align: left;
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  color: var(--adw-text-dark);
}

#module-opartdevis-createquotation .form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  background: var(--adw-bg-white);
  border: 1px solid var(--adw-border-medium);
  border-radius: 0.6rem;
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  color: var(--adw-text-dark);
  transition: var(--nhp-trans);
}

#module-opartdevis-createquotation .form-control:focus {
  outline: 0;
  border-color: var(--adw-primary);
  box-shadow: 0 0 0 3px var(--adw-primary-soft);
}

#module-opartdevis-createquotation textarea.form-control {
  resize: vertical;
  min-height: 5.5rem;
}

#module-opartdevis-createquotation select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23545c60' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
  text-overflow: ellipsis;
}

#module-opartdevis-createquotation .form-text {
  display: block;
  margin-top: 0.35rem;
  font-size: var(--adw-font-xs);
  font-style: italic;
  color: var(--adw-text-light);
}

/* ---- Pied : retour + envoyer -------------------------------------------- */
#module-opartdevis-createquotation .cart_navigation {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--adw-space-md);
  margin: var(--adw-space-lg) 0 0;
}

#module-opartdevis-createquotation .cart_navigation .btn-default {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
  border-radius: var(--adw-buttons-radius-outset);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  text-transform: none;
  transition: var(--nhp-trans);
}

#module-opartdevis-createquotation .cart_navigation .btn-default:hover {
  border-color: var(--adw-primary);
  background: var(--adw-primary-soft);
  color: var(--adw-primary-dark);
}

#module-opartdevis-createquotation .cart_navigation .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: var(--adw-primary);
  color: var(--btn-cart-color, #1d2123);
  border: 0;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-base);
  font-weight: var(--adw-font-semibold);
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

#module-opartdevis-createquotation .cart_navigation .btn-primary:hover {
  background: var(--adw-primary-dark);
}

/* vieilles icônes PS 1.6 vides -> flèche CSS */
#module-opartdevis-createquotation .cart_navigation i[class*="icon-"]:empty::before {
  content: "←";
  font-style: normal;
}

.quote_footer_links {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 767px) {

  /* le tableau desktop peut quand même s'afficher sur tablette étroite : scroll interne */
  #module-opartdevis-createquotation #cart_summary {
    display: block;
    overflow-x: auto;
  }

  #module-opartdevis-createquotation .card-body {
    padding: var(--adw-space-md);
  }

  #module-opartdevis-createquotation .cart_navigation {
    flex-direction: column-reverse;
    align-items: stretch;
    text-align: center;
  }

  #module-opartdevis-createquotation .cart_navigation .btn-primary,
  #module-opartdevis-createquotation .cart_navigation .btn-default {
    justify-content: center;
  }
}


/* =========================================================================
   Partage de panier — boutons E-mail / Copier le lien
   ========================================================================= */

.fancybox-inner {
  height: auto !important;
}

.share-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--adw-space-sm);
  margin-top: var(--adw-space-md);
  flex-direction: column;
}

.fancybox-inner #cart-share-btns-fancy-box .share-buttons button {
  width: 9rem;
}

/* base commune aux deux boutons */
.share-buttons .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.4rem;
  border-radius: var(--adw-buttons-radius-outset);
  font-family: var(--adw-font-body);
  font-size: var(--adw-font-sm);
  font-weight: var(--adw-font-semibold);
  text-decoration: none;
  text-transform: none;
  cursor: pointer;
  transition: var(--nhp-trans);
}

/* ---- E-mail : action principale (vert plein) ---------------------------- */
.share-buttons .btn-envelope {
  background: var(--adw-primary);
  color: var(--btn-cart-color, #1d2123);
  border: 1px solid var(--adw-primary);
}

.share-buttons .btn-envelope:hover {
  background: var(--adw-primary-dark);
  border-color: var(--adw-primary-dark);
  color: var(--btn-cart-color, #1d2123);
}

/* ---- Copier le lien : action secondaire (contour) ------------------------ */
.share-buttons .btn-copy {
  background: transparent;
  color: var(--adw-text-dark);
  border: 1px solid var(--adw-secondary);
}

.share-buttons .btn-copy:hover {
  background: var(--adw-primary-soft);
  border-color: var(--adw-primary);
  color: var(--adw-primary-dark);
}

/* ---- Icônes Font Awesome : taille + fallback si la police ne charge pas -- */
.share-buttons .btn .fa {
  font-size: 1rem;
  line-height: 1;
}

/* si FA absent, les <span class="fa"> sont vides -> icônes SVG en mask */
.share-buttons .fa-envelope:empty {
  display: inline-block;
  width: 1.05rem;
  height: 1.05rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m22 7-10 6L2 7'/%3E%3C/svg%3E") no-repeat center / contain;
}

.share-buttons .fa-link:empty {
  display: inline-block;
  width: 1.05rem;
  height: 1.05rem;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71'/%3E%3Cpath d='M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71'/%3E%3C/svg%3E") no-repeat center / contain;
}

/* ---- Feedback "copié !" (si le JS du module ajoute une classe) ----------- */
.share-buttons .btn-copy.copied {
  background: var(--adw-bg-badge-green, #eaf3de);
  border-color: var(--adw-badge-green, #27500a);
  color: var(--adw-badge-green, #27500a);
}

/* ---- Responsive ---------------------------------------------------------- */
@media (max-width: 400px) {
  .share-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .share-buttons .btn {
    justify-content: center;
  }
}




/* =========================================================================
   PAGE RETRACTATION
   ========================================================================= */

#content.page-content.card__wrapper {
  max-width: 100%;
}

.adw-withdrawal__input,
.adw-withdrawal__textarea {
  width: 100%;
  max-width: 100%;
}