/* ==========================================================================
   Surcharges CSS locales — Tobavi
   Chargé après les feuilles du thème Hargo (voir config/_default/hugo.toml).
   ========================================================================== */

/* Bandeau d'avertissement sanitaire + 18+ (site-wide) */
.tobavi-warning-bar {
  background: #0f0f0f;
  color: #f2f2f2;
  font-size: 13px;
  line-height: 1.4;
  padding: 7px 0;
  text-align: center;
  letter-spacing: .2px;
}
.tobavi-warning-bar__health {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .5px;
}
.tobavi-warning-bar__sep {
  margin: 0 8px;
  opacity: .6;
}

/* Cartes avis : citation lisible */
.rating li i.ti-star {
  font-size: 14px;
}

/* ===================== Logo header ===================== */
.navbar-brand img {
  max-height: 56px;
  width: auto;
}

/* ===================== Recherche produit (header) =====================
   Sélecteurs ancrés sur les id uniques (#js-search-*) : le SCSS du thème
   (compilé dans style.scss) définit déjà .search-btn/.search-wrapper/etc.
   pour un tout autre usage, et charge APRÈS ce fichier dans <head> — sans
   cet ancrage nos règles seraient écrasées par la cascade. */
/* Icônes recherche + panier : même hauteur de boîte et centrage identiques
   pour un alignement vertical parfait. */
#js-search-toggle.search-btn,
.navigation .cart {
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 6px;
  margin: 0;
  line-height: 1;
  color: #1f2933;
}
#js-search-toggle.search-btn { font-size: 23px; }
#js-search-toggle.search-btn:hover { color: #15569e; }
.navigation .cart { position: relative; }

.navigation .cart > a {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}
.navigation .cart .ti-shopping-cart {
  font-size: 25px;
  line-height: 1;
  color: #1f2933;
  transition: color .2s ease;
}
.navigation .cart:hover .ti-shopping-cart { color: #15569e; }
.navigation .cart .badge { font-size: 11px; top: -4px; right: -9px; }

/* Desktop : icônes à droite de la barre, collées vers le bord, centrées
   verticalement et alignées entre elles. */
@media (min-width: 992px) {
  #js-search-toggle.search-btn,
  .navigation .cart {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  #js-search-toggle.search-btn { right: 52px; }
  .navigation .cart { right: 8px; }
}

#js-search-wrapper.search-wrapper {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: auto;
  background: #fff;
  border-top: 1px solid #eef0f3;
  box-shadow: 0 16px 32px rgba(19, 31, 38, .14);
  z-index: 20;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease;
}
#js-search-wrapper.search-wrapper.open {
  visibility: visible;
  opacity: 1;
  max-height: 80vh;
  overflow-y: auto;
}
#js-search-wrapper .search-inner {
  padding: 18px 16px 22px;
}
#js-search-wrapper .search-field {
  position: relative;
}
#js-search-wrapper .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #9aa5b1;
  font-size: 17px;
  line-height: 1;
  pointer-events: none;
}
#js-search-input.search-box {
  height: auto;
  width: 100%;
  border: 1px solid #eef0f3 !important;
  border-radius: 10px;
  padding: 12px 46px;
  font-size: 16px;
  background: #f8f9fb;
  color: #1f2933;
}
#js-search-input.search-box:focus {
  outline: none;
  border-color: #15569e !important;
  box-shadow: 0 0 0 3px rgba(21, 86, 158, .12) !important;
}
#js-search-close.search-close {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  font-size: 18px;
  line-height: 1;
  color: #6b7280;
}
.search-results {
  margin-top: 14px;
}
.search-result {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 8px;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.search-result:hover {
  background: #f1f5fb;
}
.search-result__media {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fb;
  display: flex;
  align-items: center;
  justify-content: center;
}
.search-result__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.search-result__body {
  flex: 1 1 auto;
  min-width: 0;
}
.search-result__title {
  display: block;
  font-weight: 500;
  font-size: .92rem;
  color: #1f2933;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.search-result__kind {
  font-size: .75rem;
  color: #9aa5b1;
}
.search-result__price {
  flex: 0 0 auto;
  font-weight: 600;
  color: #15569e;
  font-size: .9rem;
  white-space: nowrap;
}
.search-hint,
.search-empty {
  color: #9aa5b1;
  padding: 10px 8px;
  font-size: .9rem;
}

/* ===================== FAQ (accordéon moderne, sans cadre) ===================== */
.faq__cat {
  font-size: 1.35rem;
  font-weight: 600;
  color: #1a2330;
  margin: 2.5rem 0 .25rem;
}
.faq__group {
  border-top: 1px solid #e8eaed;
}
.faq-item {
  border-bottom: 1px solid #e8eaed;
}
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 2px;
  font-size: 1.02rem;
  font-weight: 600;
  color: #1a2330;
  cursor: pointer;
  transition: color .2s ease;
}
.faq-q:hover,
.faq-q:not(.collapsed) {
  color: #15569e;
}
.faq-q:focus {
  outline: none;
}
.faq-q__icon {
  flex: 0 0 auto;
  color: #15569e;
  font-size: 14px;
  transition: transform .25s ease;
}
.faq-q:not(.collapsed) .faq-q__icon {
  transform: rotate(45deg);
}
.faq-a {
  padding: 0 2px 20px;
  color: #5b6470;
  line-height: 1.65;
}
.faq-a p:last-child {
  margin-bottom: 0;
}

/* ===================== Cartes catégorie (modernes) ===================== */
.cat-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.cat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 34px rgba(19, 31, 38, .14);
  border-color: transparent;
}
.cat-card__media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #ffffff;
  overflow: hidden;
}
.cat-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 22px;
  transition: transform .3s ease;
}
.cat-card:hover .cat-card__media img {
  transform: scale(1.06);
}
.cat-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 18px 18px;
  text-align: center;
}
.cat-card__title {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1a2330;
  margin-bottom: 6px;
}
.cat-card__desc {
  font-size: .85rem;
  color: #6b7280;
  line-height: 1.45;
  margin-bottom: 10px;
}
.cat-card__cta {
  margin-top: auto;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .3px;
  color: #15569e;
}
.cat-card__cta i {
  transition: transform .2s ease;
  display: inline-block;
}
.cat-card:hover .cat-card__cta i {
  transform: translateX(4px);
}

/* ===================== Fiches produit (page marque) ===================== */
.prod-card {
  display: flex;
  flex-wrap: wrap;
  height: 100%;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .22s ease;
}
.prod-card:hover {
  box-shadow: 0 14px 30px rgba(19, 31, 38, .10);
}
.prod-card__media {
  flex: 0 0 42%;
  max-width: 42%;
  position: relative;
  min-height: 200px;
  background: #ffffff;
}
.prod-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
}
.prod-card__body {
  flex: 1 1 58%;
  max-width: 58%;
  padding: 20px;
}
.prod-card__title {
  font-size: 1.25rem;
  margin-bottom: 8px;
}
.prod-card__desc {
  color: #6b7280;
  font-size: .9rem;
  margin-bottom: 14px;
}
@media (max-width: 575.98px) {
  .prod-card__media,
  .prod-card__body {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .prod-card__media {
    min-height: 180px;
  }
}
/* ===================== Fiches cigares (grille verticale) ===================== */
.cig-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow .22s ease, transform .22s ease;
}
.cig-card:hover {
  box-shadow: 0 14px 30px rgba(19, 31, 38, .10);
  transform: translateY(-3px);
}
.cig-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
}
.cig-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
}
.cig-card__body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 14px 16px 16px;
  border-top: 1px solid #f1f3f5;
}
.cig-card__title {
  font-size: .95rem;
  line-height: 1.35;
  margin: 0 0 10px;
  color: #1f2933;
}
.cig-card__price {
  font-weight: 700;
  color: #15569e;
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.cig-card--link {
  text-decoration: none;
  color: inherit;
}
.cig-card--link .cig-card__body {
  flex: 1 1 auto;
}
.cig-card__cta {
  margin-top: auto;
  font-weight: 600;
  font-size: .85rem;
  color: #15569e;
}
.cig-card__cta i {
  transition: transform .2s ease;
}
.cig-card--link:hover .cig-card__cta i {
  transform: translateX(4px);
}
.prod-detail__specs {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}
.prod-detail__specs li {
  padding: 4px 0;
  color: #5b6470;
  border-bottom: 1px solid #f1f3f5;
}

/* ===================== Liens utiles (page produit) ===================== */
.prod-help {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin: 18px 0 4px;
  padding: 14px 0;
  border-top: 1px solid #eef0f3;
  border-bottom: 1px solid #eef0f3;
}
.prod-help__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .88rem;
  font-weight: 500;
  color: #5b6470;
  text-decoration: none;
}
.prod-help__link i {
  color: #15569e;
  font-size: 1rem;
}
.prod-help__link:hover {
  color: #15569e;
}

/* ===================== Partage (page produit) ===================== */
.prod-share {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 16px 0 4px;
}
.prod-share__label {
  font-size: .85rem;
  color: #9aa5b1;
  margin-right: 2px;
}
.prod-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #eef0f3;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .82rem;
  font-weight: 500;
  color: #5b6470;
  background: #fff;
  cursor: pointer;
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease;
}
.prod-share__btn:hover {
  border-color: #15569e;
  color: #15569e;
}
.prod-share__btn--whatsapp:hover {
  border-color: #25d366;
  color: #25d366;
}
.prod-share__btn--facebook:hover {
  border-color: #1877f2;
  color: #1877f2;
}
@media (max-width: 420px) {
  .prod-share__text {
    display: none;
  }
  .prod-share__btn {
    padding: 8px;
  }
}

/* ===================== Page produit : vue détail ===================== */
.prod-detail__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  overflow: hidden;
}
.prod-detail__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 32px;
}
.prod-detail__title {
  font-size: 1.9rem;
  margin-bottom: 8px;
}
.prod-detail__lead {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 14px;
}
.prod-detail__desc {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid #eef0f3;
}
.prod-detail__desc p {
  color: #5b6470;
  line-height: 1.65;
}

.prod-card__stock {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .82rem;
  font-weight: 600;
  color: #1f8a4c;
  margin-bottom: 12px;
}
.prod-card__delivery {
  margin-top: 16px;
  padding: 12px 14px;
  background: #f3f7fc;
  border-radius: 8px;
  font-size: .85rem;
  color: #2c3e50;
}
.prod-card__delivery span {
  display: block;
}
.prod-card__delivery span + span {
  margin-top: 6px;
}
.prod-card__delivery i {
  color: #15569e;
  margin-right: 4px;
}
.prod-card__freeship strong {
  color: #1f8a4c;
}
.prod-card__perks {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.prod-card__perks li {
  font-size: .8rem;
  color: #6b7280;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.prod-card__perks i {
  color: #15569e;
}

/* ===================== Bloc marketing produit ===================== */
.product-marketing {
  background: #f7f9fb;
  padding: 50px 0;
  margin-top: 10px;
}
.reassurance {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.reassurance__item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 16px 18px;
}
.reassurance__item i {
  font-size: 1.7rem;
  color: #15569e;
  flex: 0 0 auto;
}
.reassurance__item strong {
  display: block;
  font-size: .95rem;
  color: #1a2330;
}
.reassurance__item span {
  font-size: .8rem;
  color: #6b7280;
}
.marketing-aside {
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 12px;
  padding: 22px;
}
.marketing-aside__list {
  list-style: none;
  padding: 0;
  margin: 0 0 4px;
}
.marketing-aside__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  font-size: .9rem;
  color: #2c3e50;
  border-bottom: 1px solid #f0f2f5;
}
.marketing-aside__list li:last-child {
  border-bottom: 0;
}
@media (max-width: 767.98px) {
  .reassurance {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 459.98px) {
  .reassurance {
    grid-template-columns: 1fr;
  }
}

/* ===================== Age-gate 18+ ===================== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(15, 15, 15, .92);
  backdrop-filter: blur(2px);
}
/* Masqué dès que l'âge est confirmé */
.age-ok .age-gate {
  display: none;
}
.age-gate__box {
  background: #fff;
  border-radius: 8px;
  max-width: 480px;
  width: 100%;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
}
.age-gate__logo {
  max-height: 48px;
  width: auto;
  margin-bottom: 20px;
}
.age-gate__title {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.age-gate__text {
  color: #555;
  margin-bottom: 24px;
}
.age-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}
.age-gate__actions .btn {
  flex: 1 1 auto;
}
.age-gate__warning {
  margin: 24px 0 0;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .5px;
  font-size: 13px;
  color: #0f0f0f;
}
/* Évite le scroll de l'arrière-plan tant que l'overlay est visible */
html:not(.age-ok) body {
  overflow: hidden;
}

/* ===================== Bandeau cookies (discret) ===================== */
.cookie-consent {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1500;
  background: #131b26;
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .2);
}
.cookie-consent__text {
  color: #ffffff;
}
.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 12px 15px;
}
.cookie-consent__text {
  margin: 0;
  flex: 1 1 280px;
  line-height: 1.5;
}
.cookie-consent__text a {
  color: #fff;
  text-decoration: underline;
}
.cookie-consent__actions {
  display: flex;
  gap: 8px;
  flex: 0 0 auto;
}
.cookie-consent__actions .btn {
  padding: 6px 18px;
  font-size: 13px;
}
.cookie-consent__actions .btn-outline-primary {
  color: #ffffff;
  border-color: rgba(255, 255, 255, .6);
}

/* ======================================================================
   PAGE D'ACCUEIL
   ====================================================================== */
.hp-section { padding: 58px 0; }
.hp-section--tint { background: #f8f9fb; }
.hp-head { max-width: 720px; margin: 0 auto 34px; text-align: center; }
.hp-head h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-bottom: 10px; color: #16202b; }
.hp-head p { color: #6b7280; font-size: 1.02rem; margin: 0; }
.hp-head__more { text-align: center; margin-top: 32px; }

/* -------------------------------- Hero -------------------------------- */
.hp-hero {
  padding: 56px 0 52px;
  background:
    radial-gradient(1200px 460px at 12% -8%, rgba(21, 86, 158, .10), transparent 60%),
    linear-gradient(180deg, #f4f8fd 0%, #ffffff 78%);
  border-bottom: 1px solid #eef0f3;
}
.hp-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(21, 86, 158, .09);
  color: #15569e;
  font-weight: 600;
  font-size: 13px;
  padding: 6px 13px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hp-hero__title {
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  margin-bottom: 16px;
  color: #10202f;
}
.hp-hero__title strong { color: #15569e; }
.hp-hero__lead { font-size: 1.1rem; color: #4b5563; margin-bottom: 26px; max-width: 560px; }
.hp-hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.hp-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-chip {
  display: inline-block;
  padding: 9px 15px;
  border: 1px solid #d5dbe3;
  border-radius: 999px;
  color: #1f2933;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .2s ease;
}
.hp-chip:hover { background: #15569e; border-color: #15569e; color: #fff; }
.hp-hero__badges {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.hp-hero__badges li { display: inline-flex; align-items: center; gap: 8px; color: #374151; font-size: 14.5px; font-weight: 500; }
.hp-hero__badges i { color: #0f9d6c; font-size: 18px; }

.hp-hero__visual { position: relative; }
.hp-hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hp-tile {
  position: relative;
  display: block;
  min-height: 158px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #eef0f3;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: center 42%;
  background-size: 62%;
  box-shadow: 0 8px 22px rgba(20, 40, 80, .06);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hp-tile:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(20, 40, 80, .12); }
.hp-tile__label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(12, 22, 40, .8));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}
.hp-hero__count { display: block; text-align: center; margin-top: 14px; color: #9aa5b1; font-size: 13.5px; font-weight: 600; }

/* --------------------------- Cartes catégories --------------------------- */
.hp-cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-cat {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(20, 40, 80, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hp-cat:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(20, 40, 80, .12); }
.hp-cat__media { background: #f8f9fb; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; padding: 18px; }
.hp-cat__media img { max-height: 100%; max-width: 82%; object-fit: contain; }
.hp-cat__body { padding: 16px 18px 20px; text-align: center; }
.hp-cat__name { font-size: 1.15rem; margin: 0 0 4px; color: #16202b; }
.hp-cat__count { display: block; color: #9aa5b1; font-size: 13px; margin-bottom: 10px; }
.hp-cat__link { color: #15569e; font-weight: 700; font-size: 14px; }
.hp-cat__link i { transition: transform .2s ease; }
.hp-cat:hover .hp-cat__link i { transform: translateX(4px); }

/* --------------------------- Cartes produits --------------------------- */
.hp-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.hp-prod {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef0f3;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(20, 40, 80, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}
.hp-prod:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(20, 40, 80, .12); }
.hp-prod__media { background: #f8f9fb; aspect-ratio: 1 / 1; display: flex; align-items: center; justify-content: center; padding: 16px; }
.hp-prod__media img { max-height: 100%; max-width: 88%; object-fit: contain; }
.hp-prod__body { padding: 14px 15px 17px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.hp-prod__brand { font-size: 11.5px; text-transform: uppercase; letter-spacing: .04em; color: #9aa5b1; font-weight: 700; }
.hp-prod__name { color: #1f2933; font-weight: 600; line-height: 1.3; font-size: 15px; }
.hp-prod__price { margin-top: auto; padding-top: 6px; color: #15569e; font-weight: 800; font-size: 1.1rem; }

/* ----------------------------- Étapes ----------------------------- */
.hp-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hp-step { position: relative; text-align: center; padding: 30px 18px 24px; background: #fff; border: 1px solid #eef0f3; border-radius: 16px; }
.hp-step__num {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 30px; border-radius: 50%;
  background: #15569e; color: #fff; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.hp-step__icon { font-size: 2.1rem; color: #15569e; display: block; margin: 6px 0 12px; }
.hp-step__title { font-size: 1.05rem; margin: 0 0 6px; color: #16202b; }
.hp-step__text { color: #6b7280; font-size: 14px; margin: 0; line-height: 1.5; }

/* ----------------------------- Marques ----------------------------- */
.hp-brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.hp-brand {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 150px; padding: 16px 12px; background: #fff; border: 1px solid #eef0f3;
  border-radius: 14px; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease;
}
.hp-brand:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(20, 40, 80, .1); }
.hp-brand img { height: 58px; width: auto; max-width: 100%; object-fit: contain; margin-bottom: 8px; }
.hp-brand span { font-size: 13.5px; font-weight: 600; color: #1f2933; }

/* ------------------------- Confiance / trust ------------------------- */
.hp-trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.hp-trust__item { text-align: center; padding: 6px; }
.hp-trust__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 62px; height: 62px; border-radius: 50%;
  background: rgba(21, 86, 158, .1); color: #15569e; font-size: 1.7rem; margin-bottom: 14px;
}
.hp-trust__title { font-size: 1.05rem; margin: 0 0 6px; color: #16202b; }
.hp-trust__text { color: #6b7280; font-size: 14px; line-height: 1.55; margin: 0; }

/* ------------------------------- FAQ ------------------------------- */
.hp-faq { max-width: 820px; margin: 0 auto; }
.hp-faq__item { border: 1px solid #eef0f3; border-radius: 12px; margin-bottom: 10px; background: #fff; overflow: hidden; }
.hp-faq__item summary {
  list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 600; color: #1f2933;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.hp-faq__item summary::-webkit-details-marker { display: none; }
.hp-faq__item summary .ti-plus { color: #15569e; font-size: 13px; transition: transform .2s ease; flex: 0 0 auto; }
.hp-faq__item[open] summary .ti-plus { transform: rotate(45deg); }
.hp-faq__a { padding: 0 18px 16px; color: #4b5563; line-height: 1.6; font-size: 14.5px; }
.hp-faq__a p:last-child { margin-bottom: 0; }

/* ----------------------------- Texte SEO ----------------------------- */
.hp-seo .content h2 { margin-bottom: 14px; }
.hp-seo .content p { color: #4b5563; line-height: 1.75; }

/* ----------------------------- Responsive ----------------------------- */
@media (max-width: 991px) {
  .hp-hero__visual { margin-top: 34px; }
  .hp-cats, .hp-products { grid-template-columns: repeat(2, 1fr); }
  .hp-steps, .hp-trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .hp-products { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hp-cats { grid-template-columns: 1fr; }
  .hp-steps, .hp-trust { grid-template-columns: 1fr; }
  .hp-hero__lead { font-size: 1rem; }
}

/* ======================================================================
   FOOTER
   ====================================================================== */
.site-footer {
  background: #0f1b2b;
  color: #aeb9c6;
  font-size: 14.5px;
}
.site-footer a { color: #aeb9c6; text-decoration: none; transition: color .18s ease; }
.site-footer a:hover { color: #ffffff; }

/* Bandeau réassurance */
.site-footer__reassure { border-bottom: 1px solid rgba(255, 255, 255, .08); }
.site-footer__reassure ul {
  list-style: none; margin: 0; padding: 22px 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.site-footer__reassure li { display: flex; align-items: center; gap: 12px; }
.site-footer__reassure i {
  font-size: 1.35rem; color: #5fa8ff; flex: 0 0 auto;
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(95, 168, 255, .12);
}
.site-footer__reassure span { line-height: 1.3; }
.site-footer__reassure strong { color: #fff; display: block; font-weight: 600; }

/* Corps */
.site-footer__main { padding: 48px 0 40px; }
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr 1.3fr;
  gap: 34px;
}
.site-footer__brand { max-width: 340px; }
.site-footer__logo {
  display: inline-block; font-size: 1.7rem; font-weight: 800; color: #fff !important;
  letter-spacing: .5px; margin-bottom: 14px;
}
.site-footer__tagline { line-height: 1.6; margin-bottom: 18px; color: #96a3b3; }
.site-footer__social { list-style: none; display: flex; gap: 10px; padding: 0; margin: 0; }
.site-footer__social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .07); color: #cdd6e0;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.site-footer__social a:hover { background: #5fa8ff; color: #0f1b2b; transform: translateY(-2px); }

.site-footer__title {
  color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .06em; margin: 4px 0 16px;
}
.site-footer__col ul { list-style: none; padding: 0; margin: 0; }
.site-footer__col li { margin-bottom: 11px; }

.site-footer__contact ul li { display: flex; }
.site-footer__contact li, .site-footer__contact a { display: flex; align-items: flex-start; gap: 10px; }
.site-footer__contact i { color: #5fa8ff; font-size: 1rem; margin-top: 3px; flex: 0 0 auto; }
.site-footer__btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px;
  padding: 9px 20px; color: #fff !important; font-weight: 600; font-size: 14px;
  transition: background .2s ease, border-color .2s ease;
}
.site-footer__btn:hover { background: #5fa8ff; border-color: #5fa8ff; color: #0f1b2b !important; }
.site-footer__btn i { transition: transform .2s ease; }
.site-footer__btn:hover i { transform: translateX(3px); }
.site-footer__hours { margin: 14px 0 0; font-size: 12.5px; color: #7d8a99; }

/* Barre basse */
.site-footer__bottom { background: #0a141f; border-top: 1px solid rgba(255, 255, 255, .06); }
.site-footer__bottom-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px; padding: 18px 0;
}
.site-footer__copy { margin: 0; font-size: 13px; color: #7d8a99; }
.site-footer__legalbadges { display: flex; align-items: center; gap: 12px; }
.site-footer__age {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 2px solid #5fa8ff; color: #fff; font-weight: 800; font-size: 12px;
}
.site-footer__warning {
  text-transform: uppercase; font-weight: 700; letter-spacing: .08em; font-size: 12.5px;
  color: #fff; border: 1px solid rgba(255, 255, 255, .35); border-radius: 6px; padding: 6px 12px;
}

/* Responsive footer */
@media (max-width: 991px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .site-footer__brand { grid-column: 1 / -1; max-width: none; }
}
@media (max-width: 575px) {
  .site-footer__reassure ul { grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer__bottom-inner { justify-content: center; text-align: center; }
}

/* ==========================================================================
   Barre de filtre + tri des listings (marques / références)
   ========================================================================== */
.list-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-bottom: 22px;
  padding: 12px 14px;
  background: #f6f8fb;
  border: 1px solid #e6ebf2;
  border-radius: 10px;
}
.list-toolbar__search {
  position: relative;
  flex: 1 1 240px;
  min-width: 200px;
}
.list-toolbar__search .ti-search {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #8a94a3;
  font-size: 15px;
  pointer-events: none;
}
.list-toolbar__search input {
  width: 100%;
  padding: 10px 12px 10px 34px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  font-size: 14px;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.list-toolbar__search input:focus {
  outline: none;
  border-color: #15569e;
  box-shadow: 0 0 0 3px rgba(21, 86, 158, .15);
}
.list-toolbar__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}
.list-toolbar__count { color: #4a5361; font-size: 14px; }
.list-toolbar__count strong { color: #1a2330; }
.list-toolbar__sort select {
  padding: 9px 30px 9px 12px;
  border: 1px solid #d1d1d1;
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%238a94a3' d='M0 0l5 6 5-6z'/%3E%3C/svg%3E") no-repeat right 12px center;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.list-toolbar__sort select:focus {
  outline: none;
  border-color: #15569e;
  box-shadow: 0 0 0 3px rgba(21, 86, 158, .15);
}
.list-empty {
  padding: 28px 0;
  text-align: center;
  color: #6b7280;
  font-style: italic;
}

/* Résultat de recherche survolé / sélectionné au clavier */
.search-result.is-active,
.search-result:hover {
  background: #f0f5fb;
}

/* ==========================================================================
   Newsletter (footer)
   ========================================================================== */
.site-footer__newsletter {
  background: #123f74;
  color: #fff;
  padding: 26px 0;
}
.site-footer__newsletter .nl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 40px;
}
.nl__title { font-size: 18px; font-weight: 600; margin: 0 0 4px; }
.nl__sub { font-size: 13.5px; opacity: .85; margin: 0; }
.nl__form { flex: 1 1 380px; max-width: 520px; }
.nl__hp { position: absolute; left: -9999px; }
.nl__row { display: flex; gap: 10px; }
.nl__row input[type="email"] {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 14px;
}
.nl__row .btn { white-space: nowrap; border-radius: 8px; }
.nl__consent {
  display: flex;
  gap: 8px;
  margin: 10px 0 0;
  font-size: 12px;
  opacity: .9;
  line-height: 1.4;
}
.nl__consent input { margin-top: 3px; }
.nl__consent a { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
  .nl__row { flex-direction: column; }
  .nl__row .btn { width: 100%; }
}

/* ==========================================================================
   Bandeau confiance / preuve sociale (réassurance factuelle, sans avis)
   ========================================================================== */
.trust-strip {
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
  padding: 18px 20px;
  margin: 8px 0 4px;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.trust-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.trust-strip__item i {
  font-size: 22px;
  color: #15569e;
  line-height: 1;
  margin-top: 2px;
}
.trust-strip__item strong { display: block; font-size: 14.5px; color: #1a2330; }
.trust-strip__item span { font-size: 12.5px; color: #6b7280; }
.trust-strip__pay {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eef1f6;
  font-size: 12.5px;
  color: #6b7280;
}
.trust-strip__pay .pay-badges { display: inline-flex; gap: 6px; flex-wrap: wrap; }
.trust-strip__pay .pay-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  background: #f2f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 3px 8px;
  color: #40506a;
}
@media (max-width: 767px) {
  .trust-strip__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 420px) {
  .trust-strip__grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Blog & guides
   ========================================================================== */
.blog-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow .2s ease, transform .2s ease;
}
.blog-card:hover {
  box-shadow: 0 10px 30px rgba(18, 63, 116, .12);
  transform: translateY(-3px);
}
.blog-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  background: #f2f5f9;
  overflow: hidden;
}
.blog-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__media--ph {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  color: #b7c2d2; font-size: 34px;
  background: linear-gradient(135deg, #eef3f9, #e2e9f2);
}
.blog-card__badge {
  position: absolute; top: 12px; left: 12px;
  background: rgba(21, 86, 158, .95); color: #fff;
  font-size: 11px; font-weight: 600; letter-spacing: .4px;
  padding: 4px 10px; border-radius: 999px; text-transform: uppercase;
}
.blog-card__body { display: flex; flex-direction: column; gap: 8px; padding: 16px 18px; }
.blog-card__meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.blog-card__date { font-size: 12px; color: #8a94a3; text-transform: uppercase; letter-spacing: .4px; }
.blog-card__rt { font-size: 12px; color: #8a94a3; }
.blog-card__rt i { font-size: 12px; margin-right: 2px; }
.blog-card__title { font-size: 17px; font-weight: 600; color: #1a2330; line-height: 1.3; }
.blog-card__excerpt { font-size: 13.5px; color: #6b7280; line-height: 1.5; }
.blog-card__link { margin-top: auto; font-size: 13px; font-weight: 600; color: #15569e; }
.blog-card__link i { transition: transform .2s ease; }
.blog-card:hover .blog-card__link i { transform: translateX(4px); }
.blog-card--sm .blog-card__media { aspect-ratio: 16 / 10; }
.blog-card--sm .blog-card__body { padding: 12px 14px; }
.blog-card--sm .blog-card__title { font-size: 15px; }
.blog-meta { margin-bottom: 1rem; }
.blog-intro { font-size: 1.05rem; color: #4b5563; }

/* En-tête d'article */
.blog-article__cover { border-radius: 14px; }
.blog-article .content h2 { margin-top: 1.8rem; }
.blog-article p, .blog-article li { line-height: 1.8; color: #374151; }

/* Encart CTA intra-article + cross-links de rubrique */
.blog-cta, .blog-crosslinks {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
  justify-content: space-between;
  border: 1px solid #dbe6f3;
  background: linear-gradient(135deg, #f4f8fd, #eaf1fb);
  border-radius: 14px; padding: 20px 22px;
}
.blog-cta { margin: 2rem 0 0; }
.blog-cta__body, .blog-crosslinks__text { display: flex; flex-direction: column; gap: 4px; }
.blog-cta__body strong, .blog-crosslinks__text strong { font-size: 1.05rem; color: #16233a; }
.blog-cta__body span, .blog-crosslinks__text span { font-size: .9rem; color: #5b6674; }
.blog-cta__actions, .blog-crosslinks__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Encart lien vers guide d'achat (maillage interne fiches/catégories) */
.guide-callout {
  display: flex; align-items: center; gap: 16px;
  width: 100%;
  border: 1px solid #dbe6f3; border-radius: 14px;
  background: linear-gradient(135deg, #f6f9fd, #eef4fc);
  padding: 16px 18px; text-decoration: none; color: inherit;
  transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.guide-callout:hover {
  box-shadow: 0 10px 26px rgba(18, 63, 116, .12);
  transform: translateY(-2px); border-color: #b9d2ee;
  text-decoration: none;
}
.guide-callout__icon {
  flex: 0 0 auto; display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: #15569e; color: #fff; font-size: 20px;
}
.guide-callout__body { display: flex; flex-direction: column; gap: 2px; }
.guide-callout__label { font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: #15569e; }
.guide-callout__title { font-size: 1rem; font-weight: 600; color: #16233a; }
.guide-callout__hint { font-size: .85rem; color: #6b7280; }
.guide-callout__arrow { margin-left: auto; color: #15569e; font-size: 18px; transition: transform .2s ease; }
.guide-callout:hover .guide-callout__arrow { transform: translateX(4px); }

@media (max-width: 575px) {
  .list-toolbar__meta { width: 100%; margin-left: 0; justify-content: space-between; }
}

/* ==========================================================================
   Fiche produit : colonne d'achat « sticky » sur grand écran (UX conversion)
   ========================================================================== */
@media (min-width: 992px) {
  .prod-detail__media { position: sticky; top: 90px; }
}

/* ==========================================================================
   Accessibilité — focus visible clavier + préférence de mouvement réduit
   ========================================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid rgba(21, 86, 158, .55);
  outline-offset: 2px;
  border-radius: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Panier maison (cart.js) : mini-panier (drawer), toast, page /panier,
   page /paiement. Remplace l'UI Snipcart.
   ========================================================================== */

/* --- Mini-panier (drawer) --- */
/* L'attribut [hidden] doit l'emporter sur display:flex/block ci-dessous. */
.cart-drawer[hidden],
.cart-overlay[hidden] { display: none !important; }

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, .45);
  z-index: 1040;
}
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: #fff;
  z-index: 1050;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0, 0, 0, .18);
  animation: cart-slide-in .25s ease;
}
@keyframes cart-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
body.cart-open { overflow: hidden; }
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
}
.cart-drawer__title { font-weight: 700; font-size: 18px; }
.cart-drawer__close {
  background: none;
  border: 0;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #888;
}
.cart-drawer__close:hover { color: #111; }
.cart-drawer__body { flex: 1; overflow-y: auto; padding: 10px 20px; }
.cart-drawer__foot { padding: 16px 20px; border-top: 1px solid #eee; }
.cart-drawer__foot .btn { margin-top: 8px; }
.cart-drawer__subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 6px;
}
.cart-empty { color: #888; text-align: center; padding: 30px 0; }

/* Ligne d'article (drawer) */
.cart-line {
  display: flex;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #f2f2f2;
}
.cart-line__img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #f7f7f7;
  border-radius: 6px;
  flex: 0 0 auto;
}
.cart-line__info { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.cart-line__name { font-weight: 600; font-size: 14px; line-height: 1.3; }
.cart-line__opts { font-size: 12px; color: #888; }
.cart-line__price { font-size: 14px; color: #15569e; font-weight: 700; }
.cart-line__actions { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-line__rm {
  background: none; border: 0; color: #b00; font-size: 12px; cursor: pointer; padding: 0; text-decoration: underline;
}

/* Sélecteur de quantité */
.cart-qty { display: inline-flex; align-items: center; border: 1px solid #ddd; border-radius: 6px; overflow: hidden; }
.cart-qty__btn {
  width: 30px; height: 30px; border: 0; background: #f6f6f6; cursor: pointer; font-size: 16px; line-height: 1; color: #333;
}
.cart-qty__btn:hover { background: #ededed; }
.cart-qty__val { min-width: 34px; text-align: center; font-size: 14px; }

/* --- Toast d'ajout --- */
.cart-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #111;
  color: #fff;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 14px;
  z-index: 1060;
  opacity: 0;
  transition: opacity .25s ease, transform .25s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .25);
}
.cart-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --- Page /panier --- */
.cart-page__empty { text-align: center; padding: 40px 0; }
.cart-page__empty p { color: #888; margin-bottom: 16px; }
.cart-rows { border-top: 1px solid #eee; }
.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto auto 28px;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.cart-row__img { width: 72px; height: 72px; object-fit: contain; background: #f7f7f7; border-radius: 8px; }
.cart-row__main { display: flex; flex-direction: column; gap: 3px; }
.cart-row__name { font-weight: 600; color: #222; }
.cart-row__price, .cart-row__total { font-weight: 600; white-space: nowrap; }
.cart-row__total { color: #15569e; }
.cart-row__rm { background: none; border: 0; font-size: 22px; line-height: 1; color: #bbb; cursor: pointer; }
.cart-row__rm:hover { color: #b00; }
.cart-page__foot { max-width: 380px; margin-left: auto; padding-top: 22px; }
.cart-page__subtotal { display: flex; justify-content: space-between; font-size: 20px; margin: 8px 0 4px; }
.cart-page__freenote { font-size: 14px; color: #15569e; font-weight: 600; }
.cart-page__foot .btn { margin-top: 10px; }

@media (max-width: 575px) {
  .cart-row {
    grid-template-columns: 60px 1fr 28px;
    grid-template-areas:
      "img main rm"
      "img price price"
      "img qty total";
    row-gap: 6px;
  }
  .cart-row__img { grid-area: img; width: 60px; height: 60px; }
  .cart-row__main { grid-area: main; }
  .cart-row__price { grid-area: price; }
  .cart-qty { grid-area: qty; }
  .cart-row__total { grid-area: total; text-align: right; }
  .cart-row__rm { grid-area: rm; }
  .cart-page__foot { max-width: none; }
}

/* --- Page /paiement --- */
.checkout-back {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 14px; font-weight: 600; color: #555; margin-bottom: 20px;
}
.checkout-back:hover { color: #15569e; }

.checkout-layout { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 992px) {
  /* Pas d'align-items:start : la colonne aside doit s'étirer pour que le
     récapitulatif en position sticky ait de la place pour "voyager". */
  .checkout-layout { grid-template-columns: minmax(0, 1fr) 370px; gap: 44px; }
}

.checkout-card {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 26px 26px 8px;
  margin-bottom: 22px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .045);
}
.checkout-card__title {
  font-size: 18px; font-weight: 700; margin-bottom: 22px;
  display: flex; align-items: center; gap: 12px;
}
.checkout-step {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #15569e; color: #fff; font-size: 15px; font-weight: 700; flex: 0 0 auto;
}

.checkout-form label {
  font-weight: 600; font-size: 13px; margin-bottom: 6px; color: #3a3a3a; display: block;
}
.checkout-form .form-group { margin-bottom: 18px; }
/* Aligne le bas des champs d'une même ligne même si un libellé passe sur 2 lignes. */
.checkout-form .form-row { align-items: flex-end; }
.checkout-form .form-row > [class^="col-"],
.checkout-form .form-row > [class*=" col-"] { display: flex; flex-direction: column; }
.checkout-form .form-row .form-group { width: 100%; }
.checkout-form .form-control {
  height: 48px;
  border-radius: 9px;
  border: 1px solid #dcdcdc;
  padding: 0 14px;
  font-size: 15px;
  color: #222;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.checkout-form select.form-control {
  -webkit-appearance: none; -moz-appearance: none; 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='%23888' d='M6 8L0 2l1.4-1.4L6 5.2 10.6.6 12 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.checkout-form .form-control:focus {
  border-color: #15569e;
  box-shadow: 0 0 0 3px rgba(21, 86, 158, .16);
  outline: none;
}
.checkout-form .form-control::placeholder { color: #b3b3b3; }

/* --- Modes de livraison --- */
.ship-methods { display: flex; flex-direction: column; gap: 12px; padding-bottom: 14px; }
.ship-method {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  border: 1.5px solid #e2e2e2; border-radius: 11px;
  padding: 14px 16px; margin: 0; cursor: pointer;
  transition: border-color .15s ease, background .15s ease, box-shadow .15s ease;
}
.ship-method:hover { border-color: #b9cfe6; }
.ship-method.is-selected { border-color: #15569e; background: #f4f8fc; box-shadow: 0 0 0 3px rgba(21, 86, 158, .1); }
.ship-method input { position: absolute; opacity: 0; pointer-events: none; }
.ship-method__radio {
  width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c4c4c4;
  flex: 0 0 auto; position: relative; transition: border-color .15s ease;
}
.ship-method.is-selected .ship-method__radio { border-color: #15569e; }
.ship-method.is-selected .ship-method__radio::after {
  content: ""; position: absolute; inset: 3px; border-radius: 50%; background: #15569e;
}
.ship-method__body { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.ship-method__label { font-weight: 600; font-size: 14.5px; color: #222; }
.ship-method__delay { font-size: 12.5px; color: #888; }
.ship-method__price { font-weight: 700; font-size: 15px; color: #15569e; white-space: nowrap; }

/* Sélecteur de point relais (widget Mondial Relay) */
.relay-picker { margin-top: 14px; padding-top: 16px; border-top: 1px dashed #e2e2e2; }
.relay-picker__hint { font-size: 13px; font-weight: 600; color: #444; margin-bottom: 10px; }
.relay-widget { width: 100%; min-height: 460px; border-radius: 10px; overflow: hidden; }
.relay-selected {
  margin-top: 12px; background: #f4f8fc; border: 1px solid #d8e5f2; border-radius: 10px;
  padding: 12px 14px; font-size: 13.5px; color: #1a2330; line-height: 1.5;
}
.relay-selected i { color: #15569e; margin-right: 4px; }

/* --- Bloc légal / vérification d'âge --- */
.checkout-age {
  display: flex; gap: 14px;
  background: #f4f8fc; border: 1px solid #d8e5f2; border-radius: 13px;
  padding: 18px 20px; margin-bottom: 22px;
}
.checkout-age__icon { color: #15569e; font-size: 26px; flex: 0 0 auto; margin-top: 2px; }
.checkout-age__text strong { color: #1a2330; }
.checkout-age__text p { font-size: 13px; color: #55606e; line-height: 1.55; margin: 8px 0 12px; }
.checkout-consent {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13.5px; color: #333; cursor: pointer; margin: 0;
  background: #fff; border: 1px solid #d8e5f2; border-radius: 10px; padding: 12px 14px;
}
.checkout-consent input { margin-top: 3px; flex: 0 0 auto; }

#js-checkout-msg { border-radius: 10px; }

/* --- Bouton payer (bleu marque) --- */
.checkout-submit {
  width: 100%; height: 56px; font-size: 17px; font-weight: 700;
  border-radius: 12px; letter-spacing: .2px;
  background: #15569e; border: 0; color: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  transition: background .15s ease, transform .05s ease, box-shadow .15s ease;
  box-shadow: 0 6px 18px rgba(21, 86, 158, .28);
}
.checkout-submit:hover { background: #124a89; color: #fff; }
.checkout-submit:active { transform: translateY(1px); }
.checkout-submit:disabled { opacity: .6; box-shadow: none; }

/* --- Réassurance sous le bouton --- */
.checkout-trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px;
  margin: 18px 0 12px;
}
@media (min-width: 576px) { .checkout-trust { grid-template-columns: repeat(4, 1fr); } }
.checkout-trust__item {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 6px; font-size: 12px; color: #667; line-height: 1.3;
}
.checkout-trust__item i { color: #15569e; font-size: 20px; }
.checkout-pay-methods { text-align: center; font-size: 12.5px; color: #999; margin-top: 4px; }

/* Récapitulatif */
.checkout-summary {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .045);
}
@media (min-width: 992px) { .checkout-summary { position: sticky; top: 90px; } }
.checkout-summary__title { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.co-lines { margin-bottom: 14px; }
.co-line {
  display: flex; gap: 10px; padding: 11px 0;
  border-bottom: 1px solid #f1f1f1; font-size: 14px; align-items: baseline;
}
.co-line:last-child { border-bottom: 0; }
.co-line__qty { color: #15569e; font-weight: 700; flex: 0 0 auto; }
.co-line__name { flex: 1; color: #333; }
.co-line__name small { color: #999; }
.co-line__price { font-weight: 600; white-space: nowrap; }
.co-tot { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; color: #555; }
.co-tot--grand {
  border-top: 2px solid #eee; margin-top: 8px; padding-top: 14px;
  font-size: 21px; color: #111;
}
.co-tot--grand strong { color: #15569e; }
.checkout-reassure {
  list-style: none; padding: 18px 0 0; margin: 18px 0 0;
  border-top: 1px solid #f1f1f1; font-size: 13px; color: #666;
}
.checkout-reassure li { padding: 5px 0; display: flex; align-items: center; }
.checkout-reassure i { color: #15569e; margin-right: 10px; font-size: 16px; }

/* ==========================================================================
   PROMOTIONS : bandeau site-wide, code promo, cadeau, jauge livraison
   ========================================================================== */

/* --- Bandeau d'annonce (site-wide) — contraste renforcé --- */
.promo-bar {
  background: linear-gradient(90deg, #0b2f57 0%, #15569e 100%);
  color: #fff;
}
.promo-bar__inner {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 9px 44px 9px 16px; position: relative; min-height: 42px;
}
.promo-bar__spark { color: #ffd45e; font-size: 15px; flex: 0 0 auto; }
.promo-bar__text {
  margin: 0; text-align: center; font-size: 13.5px; line-height: 1.45;
  letter-spacing: .1px; color: #fff; font-weight: 500;
}
.promo-bar__text strong { font-weight: 800; color: #fff; }
.promo-bar__code {
  display: inline-block; background: #ffd45e; border: 1px solid #ffd45e;
  color: #0b2f57; border-radius: 6px; padding: 2px 9px; margin: 0 2px;
  font-weight: 800; letter-spacing: .5px; cursor: pointer; font-size: 13px;
  transition: background .15s ease, transform .05s ease;
}
.promo-bar__code:hover { background: #ffdf85; }
.promo-bar__code:active { transform: translateY(1px); }
.promo-bar__dot { opacity: .6; margin: 0 4px; }
.promo-bar__gift { font-weight: 700; white-space: nowrap; }
.promo-bar__close {
  position: absolute; right: 10px; top: 50%; transform: translateY(-50%);
  background: transparent; border: 0; color: #fff; font-size: 24px;
  line-height: 1; cursor: pointer; opacity: .9; padding: 0 6px;
}
.promo-bar__close:hover { opacity: 1; }
@media (max-width: 575px) {
  .promo-bar__text { font-size: 12px; }
  .promo-bar__gift { white-space: normal; }
}

/* --- Bandeau offres (homepage) --- */
.hp-offer { padding: 34px 0; background: #f4f8fc; border-bottom: 1px solid #e7eef6; }
.hp-offer__grid {
  display: grid; grid-template-columns: 1fr; gap: 16px; max-width: 900px; margin: 0 auto;
}
@media (min-width: 768px) { .hp-offer__grid { grid-template-columns: 1fr 1fr; } }
.hp-offer__card {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid #e2ecf6; border-radius: 16px;
  padding: 20px 22px; box-shadow: 0 4px 18px rgba(21, 86, 158, .06);
}
.hp-offer__badge {
  flex: 0 0 auto; width: 58px; height: 58px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 800;
  background: linear-gradient(135deg, #15569e, #1c6bc0); color: #fff;
}
.hp-offer__card--gift .hp-offer__badge { background: linear-gradient(135deg, #e8a020, #f4c150); }
.hp-offer__title { font-size: 17px; font-weight: 700; margin: 0 0 4px; color: #1a2330; }
.hp-offer__desc { font-size: 14px; color: #55606e; margin: 0; line-height: 1.5; }
.hp-offer__code {
  display: inline-block; background: #eaf2fb; border: 1px dashed #15569e;
  color: #15569e; border-radius: 6px; padding: 0 7px; font-weight: 800; letter-spacing: .5px;
}
.hp-offer__cta { text-align: center; margin-top: 22px; }

/* --- Jauge « livraison offerte » (mini-panier + page panier) --- */
.ship-progress { margin: 0 0 12px; }
.ship-progress__label { font-size: 13px; color: #444; margin: 0 0 6px; line-height: 1.4; }
.ship-progress__label strong { color: #15569e; }
.ship-progress__bar { height: 8px; background: #eef1f4; border-radius: 20px; overflow: hidden; }
.ship-progress__bar span {
  display: block; height: 100%; border-radius: 20px;
  background: linear-gradient(90deg, #15569e, #1c6bc0); transition: width .35s ease;
}
.ship-progress--done {
  font-size: 13px; font-weight: 700; color: #1a7a3c; margin: 0 0 12px;
  background: #eafaf0; border: 1px solid #bfe9cf; border-radius: 9px; padding: 8px 12px;
}

/* --- Note cadeau --- */
.gift-note {
  font-size: 12.5px; color: #7a5a12; margin: 0 0 12px; line-height: 1.4;
  background: #fdf6e6; border: 1px solid #f2e2b6; border-radius: 9px; padding: 8px 12px;
}
.gift-note--on { color: #1a2330; font-weight: 600; }

/* --- Ligne cadeau & remise dans le récap checkout --- */
.co-line--gift .co-line__name { color: #7a5a12; font-weight: 600; }
.co-line--gift .co-line__price { color: #1a7a3c; font-weight: 700; }
.co-tot--discount { color: #1a7a3c; font-weight: 600; }
.co-tot--discount em { font-style: normal; font-weight: 700; letter-spacing: .3px; }

/* --- Champ code promo (checkout) --- */
.co-promo {
  margin-top: 16px; padding-top: 16px; border-top: 1px dashed #e2e2e2;
}
.co-promo__label {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; font-weight: 700; color: #444; margin-bottom: 8px;
}
.co-promo__label i { color: #15569e; }
.co-promo__row { display: flex; gap: 8px; }
.co-promo__input {
  flex: 1; min-width: 0; height: 44px; padding: 0 12px;
  border: 1px solid #d5dbe2; border-radius: 10px; font-size: 14px;
  text-transform: uppercase; letter-spacing: .5px;
}
.co-promo__input:focus { outline: 0; border-color: #15569e; box-shadow: 0 0 0 3px rgba(21, 86, 158, .12); }
.co-promo__btn {
  flex: 0 0 auto; height: 44px; padding: 0 18px; border: 0; border-radius: 10px;
  background: #15569e; color: #fff; font-weight: 700; font-size: 14px; cursor: pointer;
  transition: background .15s ease;
}
.co-promo__btn:hover { background: #124a89; }
.co-promo__msg { font-size: 12.5px; margin: 8px 0 0; line-height: 1.4; }
.co-promo.is-ok .co-promo__msg { color: #1a7a3c; }
.co-promo.is-info .co-promo__msg { color: #7a5a12; }
.co-promo.is-error .co-promo__msg { color: #c0392b; }

/* ==========================================================================
   POP-UP DE SORTIE (capture e-mail)
   ========================================================================== */
.exit-pop { position: fixed; inset: 0; z-index: 1080; display: flex; align-items: center; justify-content: center; padding: 16px; }
.exit-pop[hidden] { display: none !important; }
body.exit-pop-open { overflow: hidden; }
.exit-pop__overlay { position: absolute; inset: 0; background: rgba(11, 26, 45, .62); }
.exit-pop__box {
  position: relative; z-index: 1; background: #fff; border-radius: 18px;
  width: 100%; max-width: 440px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
  animation: exit-pop-in .25s ease;
}
@keyframes exit-pop-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.exit-pop__inner { padding: 34px 28px 24px; text-align: center; }
.exit-pop__close {
  position: absolute; top: 8px; right: 12px; background: none; border: 0;
  font-size: 28px; line-height: 1; color: #9aa4b0; cursor: pointer;
}
.exit-pop__close:hover { color: #333; }
.exit-pop__badge {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 62px; height: 44px; padding: 0 14px; border-radius: 12px;
  background: linear-gradient(135deg, #15569e, #1c6bc0); color: #fff;
  font-size: 20px; font-weight: 800; margin-bottom: 14px;
}
.exit-pop__title { font-size: 21px; font-weight: 800; color: #16233a; margin: 0 0 8px; }
.exit-pop__lead { font-size: 14.5px; color: #55606e; line-height: 1.55; margin: 0 0 18px; }
.exit-pop__form { display: flex; gap: 8px; }
.exit-pop__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px;
  border: 1px solid #d5dbe2; border-radius: 11px; font-size: 15px;
}
.exit-pop__input:focus { outline: 0; border-color: #15569e; box-shadow: 0 0 0 3px rgba(21, 86, 158, .12); }
.exit-pop__btn {
  flex: 0 0 auto; height: 48px; padding: 0 18px; border: 0; border-radius: 11px;
  background: #15569e; color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer;
}
.exit-pop__btn:hover { background: #124a89; }
.exit-pop__reveal { padding: 6px 0 4px; }
.exit-pop__reveal-txt { font-size: 14px; color: #55606e; margin: 0 0 10px; }
.exit-pop__code {
  display: inline-block; background: #ffd45e; border: 1px dashed #e0a500; color: #0b2f57;
  border-radius: 8px; padding: 8px 18px; font-size: 20px; font-weight: 800; letter-spacing: 1px;
  cursor: pointer; margin-bottom: 16px;
}
.exit-pop__cta {
  display: block; background: #15569e; color: #fff; border-radius: 11px;
  padding: 13px; font-weight: 700; text-decoration: none;
}
.exit-pop__cta:hover { background: #124a89; color: #fff; }
.exit-pop__fine { font-size: 11.5px; color: #9aa4b0; margin: 16px 0 0; line-height: 1.45; }
@media (max-width: 420px) {
  .exit-pop__form { flex-direction: column; }
  .exit-pop__btn { width: 100%; }
}

/* ==========================================================================
   PAGE PARRAINAGE
   ========================================================================== */
.parrainage__intro { text-align: center; max-width: 680px; margin: 0 auto 30px; }
.parrainage__badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 58px; height: 58px; border-radius: 16px; font-size: 26px;
  background: #eaf2fb; margin-bottom: 12px;
}
.parrainage__title { font-size: 26px; font-weight: 800; color: #16233a; margin: 0 0 12px; }
.parrainage__lead { font-size: 16px; color: #55606e; line-height: 1.6; margin: 0; }
.parrainage__steps {
  display: grid; grid-template-columns: 1fr; gap: 14px; max-width: 820px; margin: 0 auto 30px;
}
@media (min-width: 700px) { .parrainage__steps { grid-template-columns: repeat(3, 1fr); } }
.parrainage__step {
  display: flex; align-items: flex-start; gap: 12px;
  background: #f7fafd; border: 1px solid #e7eef6; border-radius: 13px; padding: 16px 18px;
}
.parrainage__step span {
  flex: 0 0 auto; width: 30px; height: 30px; border-radius: 50%;
  background: #15569e; color: #fff; font-weight: 800;
  display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.parrainage__step p { margin: 0; font-size: 14px; color: #444; line-height: 1.5; }
.parrainage__card {
  max-width: 620px; margin: 0 auto; background: #fff; border: 1px solid #e2ecf6;
  border-radius: 16px; padding: 26px; box-shadow: 0 4px 20px rgba(21, 86, 158, .07);
}
.parrainage__label { font-weight: 700; font-size: 14px; color: #333; display: block; margin-bottom: 8px; }
.parrainage__row { display: flex; gap: 10px; }
.parrainage__input {
  flex: 1; min-width: 0; height: 48px; padding: 0 14px;
  border: 1px solid #d5dbe2; border-radius: 11px; font-size: 15px;
}
.parrainage__input:focus { outline: 0; border-color: #15569e; box-shadow: 0 0 0 3px rgba(21, 86, 158, .12); }
.parrainage__btn {
  flex: 0 0 auto; height: 48px; padding: 0 20px; border: 0; border-radius: 11px;
  background: #15569e; color: #fff; font-weight: 700; font-size: 14.5px; cursor: pointer;
}
.parrainage__btn:hover { background: #124a89; }
.parrainage__btn:disabled { opacity: .6; }
.parrainage__hint { font-size: 12.5px; color: #8a94a0; margin: 10px 0 0; }
.parrainage__msg { font-size: 13.5px; margin: 12px 0 0; }
.parrainage__msg.is-error { color: #c0392b; }
.parrainage__result { margin-top: 22px; padding-top: 20px; border-top: 1px dashed #e2e2e2; }
.parrainage__result-label { font-weight: 700; font-size: 14px; color: #333; margin: 0 0 8px; }
.parrainage__share { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.parrainage__share-btn {
  flex: 1 1 auto; text-align: center; padding: 11px 14px; border-radius: 11px;
  background: #eaf2fb; color: #15569e; font-weight: 700; font-size: 14px; text-decoration: none;
}
.parrainage__share-btn:hover { background: #dcebfa; color: #124a89; }
.parrainage__legal { max-width: 620px; margin: 20px auto 0; text-align: center; font-size: 12px; color: #9aa4b0; line-height: 1.5; }

/* Encart parrainage sur la page paiement */
.checkout-referral {
  display: flex; align-items: center; gap: 10px; margin-top: 16px;
  background: #f7fafd; border: 1px solid #e2ecf6; border-radius: 11px;
  padding: 11px 13px; text-decoration: none; transition: background .15s ease;
}
.checkout-referral:hover { background: #eef5fc; }
.checkout-referral__icon { font-size: 20px; flex: 0 0 auto; }
.checkout-referral__txt { font-size: 13px; color: #44505e; line-height: 1.4; }
.checkout-referral__txt strong { color: #15569e; }
@media (max-width: 480px) {
  .parrainage__row { flex-direction: column; }
  .parrainage__btn { width: 100%; }
}
