/*
 * EasyCartouche : habillage du thème enfant de Hummingbird.
 *
 * Toutes les valeurs de marque sont des variables --ec-*, réunies en tête de ce fichier.
 * Appliquer la charte easyGroup plus tard = changer ces valeurs (couleur de marque,
 * police, arrondis), sans toucher aux gabarits.
 */

/* Polices hébergées (latin) : Bebas Neue (titres), Caprasimo (logo, proche de Cooper Black), Nunito (texte, proche de la police arrondie easyJet) */
@font-face { font-family: "Bebas Neue"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/bebas-neue-latin.woff2") format("woff2"); }
@font-face { font-family: "Caprasimo"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/caprasimo-latin.woff2") format("woff2"); }
@font-face { font-family: "Nunito"; font-style: normal; font-weight: 200 1000; font-display: swap; src: url("../fonts/nunito-latin.woff2") format("woff2"); }

:root {
  /* Couleurs */
  --ec-bg: #ffffff;
  --ec-surface: #f1f5f6;        /* gris-bleu clair des fonds de section (repère easyJet) */
  --ec-ink: #181818;
  --ec-muted: #4a5060;
  --ec-line: #d5d9e1;
  --ec-border: #7b8394;

  --ec-brand: #ff6600;          /* easyOrange : boutons, bandeau, sélections (Pantone 021 C) */
  --ec-on-brand: #ffffff;       /* texte sur la couleur de marque */
  --ec-brand-text: #181818;     /* texte et liens : anthracite (l'orange est réservé aux boutons d'action et au bandeau) */
  --ec-brand-soft: #fff0e4;
  /* Rôles de couleur de l'habillage : en orange ils valent tous --ec-brand ; skin-bleu.css (habillage bleu) les redéfinit. */
  --ec-cta: var(--ec-brand);            /* boutons d'action (ajouter, commander, chercher) */
  --ec-on-cta: var(--ec-on-brand);
  --ec-select: var(--ec-brand);         /* éléments choisis : quantité, pagination, cases cochées, pastilles */
  --ec-on-select: var(--ec-on-brand);
  --ec-accent: var(--ec-brand);         /* filets, icônes, soulignés décoratifs */
  --ec-band: var(--ec-brand);           /* fond du bandeau d'en-tête */
  --ec-on-band: #ffffff;                /* texte et icônes posés sur le bandeau */
  --ec-topbar-bg: var(--ec-brand);      /* fine barre d'infos au-dessus de l'en-tête */
  --ec-nav-bg: var(--ec-brand);         /* barre de navigation (ordinateur) */
  --ec-focus-ring: rgba(255, 102, 0, 0.28);
  --ec-font-logo: "Caprasimo", "Cooper Black", Georgia, serif;   /* proche de Cooper Black */     /* teinte claire de l'orange */
  --ec-dark: #181818;           /* bandeaux sombres */

  --ec-ok: #0b6b47;
  --ec-ok-soft: #e3f4ec;
  --ec-warn: #6b4400;
  --ec-warn-soft: #fff1d0;

  /* Formes */
  --ec-radius: 4px;
  --ec-radius-sm: 2px;
  --ec-radius-btn: 2px;         /* boutons presque carrés, comme easyJet */

  /* Typographie */
  --ec-font-body: "Nunito", system-ui, sans-serif;           /* équivalent libre de la police arrondie easyJet */
  --ec-font-display: "Bebas Neue", "Arial Narrow", sans-serif;  /* titres très condensés en capitales (style easyJet) */  /* titres condensés (équivalent libre du style easyJet) */

  /* Branchement sur les variables de Bootstrap / Hummingbird */
  --bs-body-font-family: var(--ec-font-body);
  --bs-body-color: var(--ec-ink);
  --bs-body-bg: var(--ec-bg);
  --bs-link-color: var(--ec-brand-text);
  --bs-link-hover-color: var(--ec-brand-text);
  --bs-border-radius: var(--ec-radius-sm);
}

body {
  font-family: var(--ec-font-body);
  color: var(--ec-ink);
  background: var(--ec-bg);
  line-height: 1.45;
}

/* ---------- Composants communs ---------- */
.ec-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--ec-radius-btn);
  background: var(--ec-cta);
  color: var(--ec-on-cta);
  font: 800 16px/1 var(--ec-font-body);
  text-decoration: none;
  cursor: pointer;
}
.ec-btn:hover { color: var(--ec-on-brand); filter: brightness(1.12); }
.ec-link { font-weight: 700; color: var(--ec-brand-text); text-decoration: none; }
.ec-link:hover { text-decoration: underline; }
.ec-svg-white { fill: #fff; }
.ec-svg-soft { fill: var(--ec-brand-soft); }
.ec-svg-ok { fill: var(--ec-ok); }

/* ---------- En-tête ---------- */
.ec-topbar { background: var(--ec-topbar-bg); color: var(--ec-on-brand); font-size: 14px; }
.ec-topbar__inner { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; }

.ec-header { background: var(--ec-bg); border-bottom: 1px solid var(--ec-line); }
.ec-header__row { display: flex; align-items: center; gap: 4px; padding: 8px 0; }
.ec-logo { flex: 1; display: flex; align-items: center; min-width: 0; }
.ec-logo img { display: block; width: auto; height: 28px; max-width: 100%; }
.ec-iconbtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ec-ink);
  font-weight: 600;
  text-decoration: none;
}
.ec-iconbtn:hover { color: var(--ec-ink); }
.ec-cartlink__badge {
  position: absolute;
  top: 2px;
  right: 0;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 9px;
  background: var(--ec-dark);
  color: var(--ec-on-brand);
  font-size: 11px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}
.ec-headerlink {
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border: 1.5px solid var(--ec-line);
  border-radius: var(--ec-radius);
  color: var(--ec-ink);
  font-weight: 600;
  text-decoration: none;
}

.ec-search { position: relative; }
.ec-search__icon { position: absolute; left: 13px; top: 0; bottom: 0; display: flex; align-items: center; color: var(--ec-muted); }
.ec-search__input {
  width: 100%;
  height: 42px;
  padding: 0 14px 0 42px;
  border: 1px solid var(--ec-line);
  border-radius: 999px;
  background: var(--ec-surface);
  color: var(--ec-ink);
  font: 400 16px var(--ec-font-body);
}
.ec-search__input:focus { outline: 2px solid var(--ec-accent); outline-offset: 1px; background: var(--ec-bg); }
.ec-search--mobile { padding: 0 0 12px; }
.ec-search--mobile .ec-search__icon { top: 0; bottom: 12px; }

.ec-nav { border-top: 1px solid var(--ec-line); }
.ec-nav__list { display: flex; flex-direction: column; margin: 0; padding: 4px 0 8px; list-style: none; }
.ec-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 4px;
  border-bottom: 1px solid var(--ec-line);
  color: var(--ec-ink);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.ec-nav__link::after { content: "›"; margin-left: auto; color: var(--ec-muted); font-size: 22px; font-weight: 400; }
.ec-nav__link--cta { color: var(--ec-brand-text); }
.ec-nav__link--aux { font-weight: 600; color: var(--ec-muted); }
.ec-nav__spacer { display: none; }

@media (min-width: 768px) {
  .ec-header__row { gap: 28px; padding: 14px 0 10px; }
  .ec-logo { flex: none; }
  .ec-logo img { height: 40px; }
  .ec-header .ec-search { flex: 1; max-width: 440px; margin-left: auto; }
  .ec-cartlink__badge { top: 4px; right: auto; left: 22px; }
  .ec-header .ec-search__input { height: 40px; font-size: 15px; }
  .ec-headerlink { display: inline-flex; min-height: 40px; }
  .ec-nav { border-top: 0; padding-bottom: 10px; }
  .ec-nav__list { flex-direction: row; align-items: center; gap: 4px; padding: 0; }
  .ec-nav__link { min-height: 40px; padding: 0 14px; border-bottom: 0; border-radius: 999px; font-size: 15px; }
  .ec-nav__link::after { content: none; }
  .ec-nav__link:hover { background: var(--ec-brand-soft); color: var(--ec-brand-text); }
  .ec-nav__link--cta { background: var(--ec-cta); color: var(--ec-on-cta); margin-right: 4px; }
  .ec-nav__link--cta:hover { background: var(--ec-cta); color: var(--ec-on-cta); filter: brightness(1.15); }
  .ec-nav__link--aux { font-size: 14px; }
  .ec-nav__spacer { display: block; flex: 1; }
}

/* ---------- Accueil ---------- */
.ec-hero { background: var(--ec-brand-soft); overflow: hidden; }
.ec-hero__inner { display: flex; flex-direction: column; gap: 8px; padding-top: 20px; padding-bottom: 0; }
.ec-hero__title { margin: 0 0 8px; font: 800 28px/1.15 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-hero__lead { margin: 0 0 16px; color: var(--ec-muted); font-size: 16px; }
.ec-hero__visual { display: flex; align-items: flex-end; justify-content: center; gap: 8px; color: var(--ec-ink); }
.ec-hero__printer { width: 170px; height: auto; margin-bottom: 8px; flex: none; }
.ec-hero__pack { width: 170px; height: 170px; object-fit: contain; mix-blend-mode: multiply; }

.ec-search--hero .ec-search__icon { color: var(--ec-muted); }
.ec-search__submit { position: absolute; right: 6px; top: 6px; min-height: 44px; padding: 0 16px; }
.ec-hero__help { display: inline-flex; align-items: center; min-height: 44px; margin-top: 4px; }

@media (min-width: 768px) {
  .ec-hero__inner { flex-direction: row; align-items: center; gap: 32px; padding-top: 40px; padding-bottom: 40px; }
  .ec-hero__text { flex: 1 1 480px; min-width: 0; }
  .ec-hero__title { font-size: 46px; line-height: 1.08; letter-spacing: -0.9px; }
  .ec-hero__lead { font-size: 18px; max-width: 520px; }
  .ec-search--hero { max-width: 560px; }
  .ec-search--hero .ec-search__input { height: 60px; font-size: 18px; }
  .ec-search__submit { top: 8px; padding: 0 20px; }
  .ec-hero__visual { flex: 1 1 400px; }
  .ec-hero__printer { width: 260px; }
  .ec-hero__pack { width: 300px; height: 300px; }
}

.ec-section { padding: 28px 0 4px; }
.ec-section--tight { padding-top: 16px; }
.ec-section__title { margin: 0 0 12px; font: 800 20px/1.2 var(--ec-font-display); }
@media (min-width: 768px) { .ec-section { padding: 40px 0 8px; } .ec-section__title { font-size: 24px; margin-bottom: 16px; } }

.ec-refgrid { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; }
.ec-refcard {
  flex: none;
  width: 132px;
  padding: 8px 8px 12px;
  border: 1.5px solid var(--ec-line);
  border-radius: var(--ec-radius);
  color: var(--ec-ink);
  text-decoration: none;
}
.ec-refcard img { display: block; width: 100%; height: 116px; object-fit: contain; }
.ec-refcard strong { display: block; margin-top: 4px; }
.ec-refcard span { font-size: 13px; color: var(--ec-muted); }
@media (min-width: 768px) {
  .ec-refgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; overflow: visible; }
  .ec-refcard { width: auto; padding: 12px 12px 16px; }
  .ec-refcard img { height: 176px; background: var(--ec-surface); border-radius: var(--ec-radius-sm); }
  .ec-refcard strong { margin-top: 10px; font-size: 18px; }
  .ec-refcard span { font-size: 14px; }
}

.ec-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 14px 16px;
  border-radius: var(--ec-radius);
  background: var(--ec-cta);
  color: var(--ec-on-cta);
  text-decoration: none;
}
.ec-cta:hover { color: var(--ec-on-cta); filter: brightness(1.12); }
.ec-cta__text { flex: 1; }
.ec-cta__text strong { display: block; }
.ec-cta__text span { display: block; font-size: 14px; opacity: 0.9; }

.ec-brandgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ec-brandtile {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-bg);
  color: var(--ec-ink);
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.15s, border-color 0.15s;
}
.ec-brandtile__logo { display: flex; align-items: center; justify-content: center; height: 84px; padding: 12px 16px; background: var(--ec-bg); border-bottom: 1px solid var(--ec-line); }
.ec-brandtile__logo img { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ec-brandtile__meta { display: flex; flex-direction: column; gap: 1px; padding: 10px 14px 12px; }
.ec-brandtile__meta strong { font-size: 17px; line-height: 1.2; }
.ec-brandtile__meta span { font-size: 14px; color: var(--ec-muted); }
@media (min-width: 768px) {
  .ec-brandgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .ec-brandtile__logo { height: 110px; }
}

.ec-reassure { display: grid; gap: 14px; padding-bottom: 24px; }
.ec-reassure__item { display: flex; gap: 12px; align-items: flex-start; }
.ec-reassure__item p { margin: 2px 0 0; color: var(--ec-muted); font-size: 14px; }
.ec-reassure__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ec-brand-soft); color: var(--ec-accent); }
.ec-reassure__icon--ok { background: var(--ec-ok-soft); color: var(--ec-ok); }
@media (min-width: 768px) { .ec-reassure { grid-template-columns: repeat(3, 1fr); gap: 24px; padding-bottom: 40px; } }

.ec-section--text { color: var(--ec-muted); font-size: 15px; padding-bottom: 32px; }
.ec-section--text h1 { font-size: 22px; }

/* ---------- Suggestions de recherche ---------- */
.ec-suggest {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 1050;
  max-height: 70vh;
  overflow-y: auto;
  border: 1px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-bg);
  box-shadow: 0 12px 32px rgba(20, 23, 31, 0.18);
}
.ec-suggest[hidden] { display: none; }
.ec-suggest__head { padding: 10px 16px 4px; color: var(--ec-muted); font-size: 12px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.ec-suggest__row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 16px; color: var(--ec-ink); text-decoration: none; }
.ec-suggest__row:hover, .ec-suggest__row.is-active { background: var(--ec-brand-soft); color: var(--ec-ink); }
.ec-suggest__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: var(--ec-radius-sm); background: var(--ec-surface); color: var(--ec-accent); }
.ec-suggest__img { flex: none; width: 44px; height: 44px; border-radius: var(--ec-radius-sm); background: var(--ec-surface); object-fit: contain; }
.ec-suggest__txt { min-width: 0; }
.ec-suggest__txt strong { display: block; font-weight: 700; }
.ec-suggest__txt small { display: block; overflow: hidden; color: var(--ec-muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.ec-suggest__none { padding: 14px 16px; }
.ec-suggest__dym { margin-top: 6px; font-size: 14px; color: var(--ec-muted); }
.ec-suggest__dym a { font-weight: 700; }
.ec-suggest__more { display: flex; align-items: center; justify-content: center; min-height: 48px; border-top: 1px solid var(--ec-line); color: var(--ec-brand-text); font-weight: 700; text-decoration: none; }

/* ---------- Résultats de recherche ---------- */
.ec-results { padding: 16px 0 48px; }
.ec-results__title { margin: 0 0 12px; font: 800 26px/1.15 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-results__h2 { margin: 24px 0 8px; color: var(--ec-muted); font-size: 14px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.ec-results__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ec-line); }
.ec-results__list li { border-bottom: 1px solid var(--ec-line); }
.ec-results__row { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 8px 4px; color: var(--ec-ink); text-decoration: none; }
.ec-results__row:hover { background: var(--ec-surface); color: var(--ec-ink); }
.ec-results__icon, .ec-results__img { flex: none; width: 44px; height: 44px; border-radius: var(--ec-radius-sm); background: var(--ec-surface); display: flex; align-items: center; justify-content: center; color: var(--ec-accent); object-fit: contain; }
.ec-results__txt strong { display: block; }
.ec-results__txt small { color: var(--ec-muted); }
.ec-results__missing { margin: 20px 0 0; color: var(--ec-muted); }
.ec-results__none { padding: 20px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-results__none p { margin: 6px 0 12px; color: var(--ec-muted); }
.ec-results__dym { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ec-results__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
@media (min-width: 768px) { .ec-results { padding-top: 24px; } .ec-results__title { font-size: 34px; } }

/* ---------- Page imprimante ---------- */
.ec-printer { padding-top: 12px; padding-bottom: 40px; }
.ec-printer__title { margin: 0 0 12px; font: 800 26px/1.15 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-printer__answer { display: flex; gap: 12px; align-items: center; margin-bottom: 12px; padding: 12px; border-radius: var(--ec-radius); background: var(--ec-surface); color: var(--ec-ink); }
.ec-printer__answer p { margin: 0; font-size: 15px; }
.ec-printer__icon { flex: none; }
.ec-printer__ok { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 10px 14px; border-radius: var(--ec-radius-sm); background: var(--ec-ok-soft); color: var(--ec-ok); font-weight: 700; }
.ec-printer__h2 { margin: 28px 0 4px; font: 800 18px/1.2 var(--ec-font-display); }
.ec-printer__muted, .ec-printer__note { margin: 0 0 12px; color: var(--ec-muted); font-size: 14px; }
.ec-printer__note { margin-top: 16px; padding: 12px 14px; border-radius: var(--ec-radius-sm); background: var(--ec-surface); }

.ec-alert { margin-bottom: 16px; padding: 14px 16px; border: 1.5px solid var(--ec-warn); border-radius: var(--ec-radius); background: var(--ec-warn-soft); }
.ec-alert__head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; color: var(--ec-warn); }
.ec-alert p { margin: 0 0 8px; font-size: 15px; }
.ec-alert summary { display: flex; align-items: center; min-height: 44px; color: var(--ec-warn); font-weight: 700; cursor: pointer; }
.ec-alert ol { margin: 0 0 8px; padding-left: 20px; font-size: 15px; }
.ec-alert__tip { margin: 6px 0 0; font-size: 14px; }

.ec-pgrid { display: grid; gap: 16px; }
.ec-pcard { display: flex; flex-direction: column; padding: 14px; border: 1.5px solid var(--ec-line); border-radius: var(--ec-radius); background: var(--ec-bg); }
.ec-pcard__img { display: block; margin-bottom: 10px; border-radius: var(--ec-radius-sm); background: var(--ec-surface); }
.ec-pcard__img img { display: block; width: 100%; height: 200px; object-fit: contain; }
.ec-pcard__title { margin: 0 0 2px; font: 800 18px/1.25 var(--ec-font-display); }
.ec-pcard__title a { color: var(--ec-ink); text-decoration: none; }
.ec-pcard__meta { margin: 0 0 12px; color: var(--ec-muted); font-size: 14px; }
.ec-pcard__soldout { margin: 0; color: var(--ec-muted); font-weight: 700; }

.ec-qty fieldset { margin: 0; padding: 0; border: 0; }
.ec-qty legend { margin: 0 0 8px; padding: 0; color: var(--ec-muted); font-size: 13px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase; }
.ec-qty__opt { display: flex; align-items: center; gap: 12px; min-height: 56px; margin: 0 0 8px; padding: 8px 12px; border: 1.5px solid var(--ec-line); border-radius: var(--ec-radius-sm); cursor: pointer; }
.ec-qty__opt:has(input:checked) { border: 2px solid var(--ec-select); background: var(--ec-brand-soft); padding: 7.5px 11.5px; }
.ec-qty__opt input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--ec-select); }
.ec-qty__txt { flex: 1; min-width: 0; }
.ec-qty__txt strong { font-weight: 700; }
.ec-qty__txt small { display: block; color: var(--ec-muted); font-size: 13px; }
.ec-qty__off { margin-left: 4px; padding: 1px 8px; border-radius: 999px; background: var(--ec-ok-soft); color: var(--ec-ok); font-size: 12px; font-style: normal; font-weight: 700; }
.ec-qty__price { font-size: 18px; white-space: nowrap; }
.ec-qty__add { width: 100%; min-height: 48px; margin-top: 6px; }

.ec-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid var(--ec-line); border-radius: 999px; color: var(--ec-ink); font-weight: 600; text-decoration: none; }
.ec-chip:hover { color: var(--ec-ink); background: var(--ec-surface); }
.ec-chip--more { border-style: dashed; border-color: var(--ec-border); color: var(--ec-brand-text); font-weight: 700; }
.ec-guarantee { margin-top: 28px; padding: 16px; border: 1.5px solid var(--ec-ok); border-radius: var(--ec-radius); background: var(--ec-ok-soft); }
.ec-guarantee strong { color: var(--ec-ok); }
.ec-guarantee p { margin: 4px 0 0; font-size: 14px; }
.ec-empty { padding: 20px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-empty p { margin: 6px 0 14px; color: var(--ec-muted); }
@media (min-width: 768px) {
  .ec-printer { padding-top: 20px; }
  .ec-printer__title { font-size: 36px; letter-spacing: -0.6px; }
  .ec-printer__answer p { font-size: 18px; }
  .ec-pgrid { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
}

/* ---------- Fiche produit ---------- */
.ec-buybox { margin: 12px 0; }
.ec-buybox__yield { margin: 0 0 12px; font-size: 17px; }
.ec-buybox .ec-qty__opt { min-height: 60px; }
.ec-buybox .ec-qty__price { font-size: 20px; }
.ec-qty__add--big { min-height: 52px; font-size: 17px; }
.ec-buybox__list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; }
.ec-buybox__list li::before { content: "✓"; margin-right: 10px; color: var(--ec-ok); font-weight: 800; }

.ec-compat { margin: 32px 0; padding-top: 24px; border-top: 1px solid var(--ec-line); }
.ec-compat__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-bottom: 12px; }
.ec-compat__title { flex: 1 1 280px; margin: 0; font: 800 22px/1.2 var(--ec-font-display); }
.ec-compat__search { flex: 1 1 320px; max-width: 440px; }
.ec-compat__result { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--ec-radius-sm); font-weight: 700; }
.ec-compat__result.is-ok { background: var(--ec-ok-soft); color: var(--ec-ok); }
.ec-compat__result.is-ko { background: var(--ec-warn-soft); color: var(--ec-warn); }
.ec-compat__groups { display: grid; gap: 12px; align-items: start; }
.ec-compat__group { border: 1.5px solid var(--ec-line); border-radius: var(--ec-radius); padding: 0 16px; }
.ec-compat__group[hidden] { display: none; }
.ec-compat__group summary { display: flex; align-items: center; gap: 8px; min-height: 52px; font-weight: 800; cursor: pointer; list-style: none; }
.ec-compat__group summary span { flex: 1; }
.ec-compat__group summary small { color: var(--ec-muted); font-weight: 500; }
.ec-compat__group ul { margin: 0 0 12px; padding: 0; list-style: none; }
.ec-compat__group li { border-top: 1px solid var(--ec-line); }
.ec-compat__group li[hidden] { display: none; }
.ec-compat__group li a { display: flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--ec-ink); text-decoration: none; }
.ec-compat__group li a:hover { background: var(--ec-surface); }
.ec-compat__missing { margin: 14px 0 0; color: var(--ec-muted); font-size: 14px; }
@media (min-width: 768px) { .ec-compat__groups { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); } }

/* ---------- Page "Trouver mon imprimante" ---------- */
.ec-svg-warn { fill: var(--ec-warn-soft); }
.ec-finder { padding: 16px 0 48px; color: var(--ec-ink); }
.ec-finder__title { margin: 0 0 4px; font: 800 26px/1.15 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-finder__lead { margin: 0 0 20px; color: var(--ec-muted); font-size: 17px; }
.ec-finder__steps { display: grid; gap: 16px; align-items: start; }
.ec-finder__panel { border: 1.5px solid var(--ec-line); border-radius: var(--ec-radius); overflow: hidden; background: var(--ec-bg); }
.ec-finder__panel[hidden] { display: none; }
.ec-finder__panelhead { margin: 0; padding: 12px 16px; background: var(--ec-brand-soft); color: var(--ec-brand-text); font: 700 14px/1.2 var(--ec-font-body); letter-spacing: 0.4px; text-transform: uppercase; }
.ec-finder__filter { display: block; width: calc(100% - 24px); height: 48px; margin: 12px 12px 4px; padding: 0 14px; border: 1.5px solid var(--ec-border); border-radius: var(--ec-radius-sm); font: 400 16px var(--ec-font-body); }
.ec-finder__list { max-height: 420px; margin: 0; padding: 4px 0; overflow-y: auto; list-style: none; }
.ec-finder__list li[hidden] { display: none; }
.ec-finder__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 0;
  background: transparent;
  color: var(--ec-ink);
  font: 600 16px var(--ec-font-body);
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}
.ec-finder__item:hover { background: var(--ec-surface); color: var(--ec-ink); }
.ec-finder__item.is-active { background: var(--ec-brand-soft); font-weight: 800; }
.ec-finder__item small { color: var(--ec-muted); font-weight: 500; }
.ec-finder__loading { padding: 14px 16px; color: var(--ec-muted); }
.ec-finder__helptitle { margin: 36px 0 4px; font: 800 22px/1.2 var(--ec-font-display); }
.ec-finder__helplead { margin: 0 0 16px; color: var(--ec-muted); }
.ec-finder__help { display: grid; gap: 12px; }
.ec-finder__tip { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: var(--ec-radius); background: var(--ec-surface); color: var(--ec-ink); }
.ec-finder__tip svg { flex: none; width: 96px; height: auto; }
.ec-finder__tip p { margin: 2px 0 0; color: var(--ec-muted); font-size: 14px; }
.ec-finder__more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 16px; padding: 16px; border: 1.5px solid var(--ec-line); border-radius: var(--ec-radius); }
.ec-finder__more > div { flex: 1 1 280px; }
.ec-finder__more p { margin: 2px 0 0; color: var(--ec-muted); font-size: 14px; }
@media (min-width: 768px) {
  .ec-finder { padding: 24px 0 64px; }
  .ec-finder__title { font-size: 34px; }
  .ec-finder__steps { grid-template-columns: repeat(3, 1fr); }
  .ec-finder__help { grid-template-columns: repeat(3, 1fr); }
  .ec-finder__tip { flex-direction: column; align-items: flex-start; }
}

/* =====================================================================
   Passe de design v2 : diaporama, bloc de recherche, listings, en-tête collant
   ===================================================================== */

/* ---------- En-tête collant ---------- */
#header { position: sticky; top: 0; z-index: 1030; background: var(--ec-bg); }
.ec-header { box-shadow: 0 1px 0 var(--ec-line), 0 4px 14px rgba(20, 23, 31, 0.05); }
.ec-nav__link { transition: color 0.15s, border-color 0.15s; }
.ec-nav__link:hover { color: var(--ec-brand-text); }

/* ---------- Diaporama ---------- */
.ec-slider { position: relative; }
.ec-slide { display: flex; align-items: center; box-sizing: border-box; height: var(--ec-slide-h, 340px); overflow: hidden; padding: 20px 0 40px; }
.ec-slide--brand { background: var(--ec-dark); color: var(--ec-on-brand); }
.ec-slide--soft { background: var(--ec-brand-soft); color: var(--ec-ink); }
.ec-slide--ok { background: var(--ec-ok-soft); color: var(--ec-ink); }
.ec-slide__inner { display: flex; align-items: center; gap: 20px; }
.ec-slide__text { flex: 1 1 0; min-width: 0; }
.ec-slide__eyebrow { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(20, 23, 31, 0.08); font-size: 12px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; }
.ec-slide--brand .ec-slide__eyebrow { background: rgba(255, 255, 255, 0.18); }
.ec-slide__title { margin: 0 0 10px; font: 800 28px/1.08 var(--ec-font-display); letter-spacing: -0.6px; }
.ec-slide__lead { margin: 0 0 18px; max-width: 520px; font-size: 15px; opacity: 0.92; }
.ec-slide--brand .ec-btn--onslide { background: #fff; color: var(--ec-dark); }
.ec-slide__visual { flex: 0 0 auto; padding: 8px; border-radius: var(--ec-radius); background: #fff; }
.ec-slide__visual img { display: block; width: 120px; height: 120px; object-fit: contain; }

.ec-slider__dots { bottom: 14px; margin-bottom: 0; }
.ec-slider__dots [data-bs-target] { width: 10px; height: 10px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(20, 23, 31, 0.35); opacity: 0.6; }
.ec-slider__dots .active { opacity: 1; }
.ec-slider__nav { display: none; top: 50%; bottom: auto; width: 48px; height: 48px; margin: -48px 16px 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(20, 23, 31, 0.2); opacity: 1; }
.ec-slider__arrow { color: var(--ec-ink); font-size: 30px; line-height: 1; }

/* Diapositive-bannière (visuel complet) et diapositive photo */
/* Bannière : pleine largeur, bord à bord comme les autres diapositives. */
.ec-slide.ec-slide--banner { display: block; padding: 0; background: var(--ec-bg); color: var(--ec-ink); }
.ec-slide--banner .container-md { height: 100%; max-width: none; padding: 0; }
.ec-slide__bannerlink { display: block; height: 100%; overflow: hidden; }
.ec-slide--banner picture { display: block; width: 100%; height: 100%; }
.ec-slide--banner img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 62% center; }
@media (min-width: 768px) { .ec-slide--banner img { object-position: center; } }
.ec-slide--photo { position: relative; overflow: hidden; background: #f0cf1e; color: var(--ec-ink); }
.ec-slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 75% center; }
.ec-slide--photo .ec-slide__inner { position: relative; }
.ec-slide__card { max-width: 480px; padding: 20px; border-radius: var(--ec-radius); background: rgba(255, 255, 255, 0.95); box-shadow: 0 10px 30px rgba(20, 23, 31, 0.18); }
.ec-slide--photo .ec-slide__eyebrow { background: var(--ec-brand-soft); }

/* ---------- Bloc de recherche posé sur le diaporama ---------- */
.ec-widget-wrap { position: relative; z-index: 5; margin-top: 18px; }
.ec-widget { padding: 16px; border-radius: 16px; background: var(--ec-bg); box-shadow: 0 10px 32px rgba(20, 23, 31, 0.2); }
.ec-widget__title { margin: 0 0 10px; font: 800 20px/1.2 var(--ec-font-display); }
.ec-widget__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; }
.ec-widget__label { color: var(--ec-muted); font-size: 14px; }
.ec-widget__help { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }
.ec-search--hero .ec-search__input { height: 50px; padding-right: 116px; border: 2px solid var(--ec-accent); border-radius: var(--ec-radius); background: var(--ec-bg); font-size: 16px; }

/* ---------- Sections ---------- */
.ec-section__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 14px; }
.ec-section__head .ec-section__title { margin: 0; }
.ec-section--band { margin-top: 36px; padding: 28px 0 8px; background: var(--ec-surface); }
.ec-refcard { transition: box-shadow 0.15s, transform 0.15s; }
.ec-refcard:hover { box-shadow: 0 8px 22px rgba(20, 23, 31, 0.12); transform: translateY(-2px); color: var(--ec-ink); }
.ec-refcard__img { display: block; border-radius: var(--ec-radius-sm); background: var(--ec-surface); }
.ec-brandtile:hover { border-color: var(--ec-accent); box-shadow: 0 8px 22px rgba(20, 23, 31, 0.12); transform: translateY(-2px); color: var(--ec-ink); }

/* ---------- Pages de listing ---------- */
.ec-listing__band { padding: 22px 0; background: var(--ec-dark); color: var(--ec-on-brand); }
.ec-listing__title { margin: 0 0 4px; font: 800 28px/1.1 var(--ec-font-display); letter-spacing: -0.5px; }
.ec-listing__sub { margin: 0; opacity: 0.85; font-size: 15px; }
.ec-listing__hint { margin: 8px 0 0; font-size: 15px; }
.ec-listing__body { padding-top: 20px; padding-bottom: 48px; }
.ec-listing__filter { max-width: 520px; margin-bottom: 16px; }
.ec-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.ec-tile {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  align-items: center;
  min-height: 64px;
  padding: 10px 14px;
  border: 1.5px solid var(--ec-line);
  border-radius: var(--ec-radius);
  background: var(--ec-bg);
  color: var(--ec-ink);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.ec-tile:hover { border-color: var(--ec-accent); box-shadow: 0 6px 18px rgba(20, 23, 31, 0.1); color: var(--ec-ink); }
.ec-tile[hidden] { display: none; }
.ec-tile__name { font-weight: 700; line-height: 1.25; }
.ec-tile__sub { grid-column: 1; color: var(--ec-muted); font-size: 13px; }
.ec-tile__chev { grid-column: 2; grid-row: 1 / span 2; color: var(--ec-muted); }
.ec-pgrid--listing { margin-top: 24px; }
.ec-listing__desc { margin-top: 32px; color: var(--ec-muted); font-size: 15px; }

/* ---------- Ordinateur ---------- */
@media (min-width: 768px) {
  .ec-slide { padding: 32px 0 56px; }
  .ec-slide__inner { gap: 48px; }
  .ec-slide__eyebrow { font-size: 13px; }
  .ec-slide__title { font-size: 52px; letter-spacing: -1.2px; }
  .ec-slide__lead { font-size: 19px; }
  .ec-slide__visual { padding: 14px; border-radius: 20px; transform: rotate(2deg); box-shadow: 0 14px 36px rgba(20, 23, 31, 0.25); }
  .ec-slide__visual img { width: 300px; height: 300px; }
  .ec-slider__nav { display: flex; }
  .ec-slider__dots { bottom: 14px; }
  .ec-widget-wrap { margin-top: 24px; }
  .ec-widget { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 32px; padding: 24px 28px; }
  .ec-widget__title { margin: 0; font-size: 24px; }
  .ec-widget__foot { grid-column: 1 / -1; margin-top: 0; }
  .ec-search--hero .ec-search__input { height: 60px; font-size: 18px; }
  .ec-section__head .ec-section__title { margin: 0; }
  .ec-listing__band { padding: 40px 0; }
  .ec-listing__title { font-size: 42px; letter-spacing: -0.9px; }
  .ec-listing__body { padding-top: 28px; }
  .ec-tiles { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
}

/* ---------- Finitions ---------- */
.ec-listing__band { box-shadow: 0 0 0 100vmax var(--ec-dark); clip-path: inset(0 -100vmax); }
.ec-refcard__img img, .ec-pcard__img img { mix-blend-mode: multiply; }
.ec-pcard { transition: box-shadow 0.15s; }
.ec-pcard:hover { box-shadow: 0 10px 28px rgba(20, 23, 31, 0.1); }
.breadcrumb, .breadcrumb__list { font-size: 13px; }

/* Pied de page : bandeaux de la charte, colonnes sur fond sombre */
footer .ps-emailsubscription { background: var(--ec-brand-soft) !important; }
footer .blockreassurance--dark { background: var(--ec-dark); color: var(--ec-on-brand); }
footer .footer__main { background: #11151f; color: #c9cfdb; padding: 40px 0 24px; }
footer .footer__main a { color: #fff; text-decoration: none; }
footer .footer__main a:hover { text-decoration: underline; }
footer .footer__main h3, footer .footer__main h4, footer .footer__main .h4, footer .footer__main .footer__title { color: #fff; font: 800 15px/1.2 var(--ec-font-body); letter-spacing: 0.4px; text-transform: uppercase; }
footer .footer__main ul { list-style: none; padding: 0; }
footer .footer__main li { margin: 4px 0; }
footer .footer__main li a { display: inline-flex; min-height: 32px; align-items: center; }
.ec-qty__off { white-space: nowrap; }

/* =====================================================================
   Design v3 : boutons en pilule, cartes arrondies, formulaires, sections d'accueil, pied de page
   ===================================================================== */
:root { --ec-radius: 16px; }

/* Boutons Bootstrap / Hummingbird alignés sur la marque */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font-weight: 800; }
.btn-primary {
  --bs-btn-color: var(--ec-on-cta); --bs-btn-bg: var(--ec-cta); --bs-btn-border-color: var(--ec-cta);
  --bs-btn-hover-color: var(--ec-on-cta); --bs-btn-hover-bg: var(--ec-cta); --bs-btn-hover-border-color: var(--ec-cta);
  --bs-btn-active-color: var(--ec-on-cta); --bs-btn-active-bg: var(--ec-cta); --bs-btn-active-border-color: var(--ec-cta);
  --bs-btn-disabled-color: var(--ec-on-brand); --bs-btn-disabled-bg: var(--ec-border); --bs-btn-disabled-border-color: var(--ec-border);
  --bs-btn-focus-shadow-rgb: 27, 43, 75;
}
.btn-primary:hover { filter: brightness(1.15); }
.btn-outline-primary, .btn-secondary, .btn-tertiary, .btn-outline-secondary {
  --bs-btn-color: var(--ec-brand-text); --bs-btn-bg: transparent; --bs-btn-border-color: var(--ec-brand-text);
  --bs-btn-hover-color: var(--ec-on-cta); --bs-btn-hover-bg: var(--ec-cta); --bs-btn-hover-border-color: var(--ec-cta);
  --bs-btn-active-color: var(--ec-on-cta); --bs-btn-active-bg: var(--ec-cta); --bs-btn-active-border-color: var(--ec-cta);
}
.ec-btn { min-height: 52px; padding: 0 28px; border-radius: var(--ec-radius-btn); transition: filter 0.15s, transform 0.15s; }
.ec-btn:hover { transform: translateY(-1px); }
.ec-btn--onslide { min-height: 52px; }

/* Formulaires */
.form-control, .form-select { min-height: 48px; border: 1.5px solid var(--ec-border); border-radius: 12px; font-family: var(--ec-font-body); }
.form-control:focus, .form-select:focus { border-color: var(--ec-accent); box-shadow: 0 0 0 3px var(--ec-focus-ring); }
.form-check-input:checked { background-color: var(--ec-select); border-color: var(--ec-select); }
.form-check-input:focus { border-color: var(--ec-accent); box-shadow: 0 0 0 3px var(--ec-focus-ring); }
.form-label, label { font-weight: 600; }
.page-link { color: var(--ec-brand-text); }
.page-item.active .page-link { background: var(--ec-select); border-color: var(--ec-select); color: var(--ec-on-select); }
.alert { border-radius: var(--ec-radius); }

/* Titres de page (panier, commande, compte, contenu) */
h1, .h1 { font-weight: 800; letter-spacing: -0.02em; }
.page-title-section, .page-header { margin-bottom: 20px; }
.card, .cart-summary, .checkout-step { border-radius: var(--ec-radius); }

/* ---------- Accueil : étapes ---------- */
.ec-steps { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ec-step { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-step__n { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ec-dark); color: var(--ec-on-brand); font: 800 20px var(--ec-font-display); }
.ec-step strong { font-size: 18px; }
.ec-step p { margin: 2px 0 0; color: var(--ec-muted); }

/* ---------- Accueil : chiffres (bandeau sombre) ---------- */
.ec-stats { margin-top: 40px; padding: 40px 0; background: #11151f; color: #fff; }
.ec-stats__grid { display: grid; gap: 24px; }
.ec-stat strong { display: block; font: 800 48px/1 var(--ec-font-display); letter-spacing: -1.2px; }
.ec-stat span { display: block; margin-top: 6px; color: #c9cfdb; font-size: 16px; }

/* ---------- Accueil : offres ---------- */
.ec-offers { display: grid; gap: 16px; }
.ec-offer { display: flex; flex-direction: column; gap: 8px; min-height: 210px; padding: 26px; border-radius: 20px; text-decoration: none; transition: transform 0.15s, box-shadow 0.15s; }
.ec-offer:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(20, 23, 31, 0.18); }
.ec-offer--brand { background: var(--ec-dark); color: var(--ec-on-brand); }
.ec-offer--brand:hover { color: var(--ec-on-brand); }
.ec-offer--soft { background: var(--ec-brand-soft); color: var(--ec-ink); }
.ec-offer--soft:hover { color: var(--ec-ink); }
.ec-offer__eyebrow { font-size: 12px; font-weight: 800; letter-spacing: 0.5px; text-transform: uppercase; opacity: 0.8; }
.ec-offer strong { font: 800 28px/1.1 var(--ec-font-display); letter-spacing: -0.5px; }
.ec-offer p { margin: 0; max-width: 420px; opacity: 0.9; }
.ec-offer__cta { margin-top: auto; font-weight: 800; }

/* ---------- Pied de page ---------- */
.ec-footer { padding: 48px 0 24px !important; }
.ec-footer__grid { display: grid; gap: 28px; }
.ec-footer__logo { color: #fff !important; font: 800 26px/1 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-footer__brand p { margin: 10px 0 14px; max-width: 320px; }
.ec-footer__col h2 { margin: 0 0 12px; color: #fff; font: 800 13px/1.2 var(--ec-font-body); letter-spacing: 0.6px; text-transform: uppercase; }
.ec-footer__col ul { margin: 0; padding: 0; list-style: none; }
.ec-footer__col li a { display: inline-flex; align-items: center; min-height: 34px; color: #e3e7ef !important; }
.ec-footer__contact { font-size: 14px; }
.ec-footer__contact * { color: #c9cfdb !important; }
.ec-footer__contact a:hover { color: #fff !important; }
.ec-footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 32px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 14px; }

@media (min-width: 768px) {
  .ec-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .ec-step { flex-direction: column; padding: 24px; }
  .ec-stats { padding: 64px 0; }
  .ec-stats__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .ec-stat strong { font-size: 72px; letter-spacing: -2px; }
  .ec-offers { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ec-offer { min-height: 260px; padding: 36px; }
  .ec-offer strong { font-size: 38px; }
  .ec-footer__grid { grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
}
.ec-footer__contact { margin: 0; padding: 0; list-style: none; }
.ec-footer__contact li { margin: 4px 0; }
.ec-footer__contact a { display: inline-flex; min-height: 32px; align-items: center; font-weight: 700; }

/* Fiche produit : colonne d'achat qui suit le défilement sur ordinateur */
@media (min-width: 992px) {
  .product__right { position: sticky; top: 132px; align-self: flex-start; }
}
.product__name { font-weight: 800; letter-spacing: -0.02em; }

/* =====================================================================
   Design v4 : police, correctifs, carte produit rapide, tiroir d'ajout, "Mon imprimante"
   ===================================================================== */
body, button, input, select, textarea { font-family: var(--ec-font-body); }
h1, h2, h3, .ec-logo { font-family: var(--ec-font-display); }
.ec-pcard__price strong, .ec-qty__price, .ec-drawer strong, [data-ec-total] { font-variant-numeric: tabular-nums; }

/* Correctifs : boutons ronds + / − de Hummingbird, aperçu rapide */
.btn-square-icon { min-height: 0; width: 44px; height: 44px; padding: 0; border-radius: 50%; }
.quantity-button__group { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.quantity-button__group .form-control { width: 60px; min-height: 44px; padding: 0; text-align: center; font-weight: 700; }
.product-miniature__quickview, .js-quickview { display: none !important; }

/* ---------- Carte produit ---------- */
.ec-pgrid, .ec-cardgrid { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ec-pcard { position: relative; display: flex; flex-direction: column; padding: 10px; border: 0; border-radius: 20px; background: var(--ec-bg); box-shadow: 0 1px 2px rgba(20, 23, 31, 0.08), 0 4px 16px rgba(20, 23, 31, 0.06); transition: box-shadow 0.15s, transform 0.15s; }
.ec-pcard:hover { box-shadow: 0 2px 4px rgba(20, 23, 31, 0.1), 0 14px 32px rgba(20, 23, 31, 0.12); transform: translateY(-2px); }
.ec-pcard__img { position: relative; display: block; margin-bottom: 10px; border-radius: 14px; background: var(--ec-surface); }
.ec-pcard__img img { display: block; width: 100%; height: 150px; object-fit: contain; mix-blend-mode: multiply; }
.ec-pcard__flag { position: absolute; left: 8px; top: 8px; padding: 3px 9px; border-radius: 999px; background: var(--ec-ok); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: 0.2px; }
.ec-pcard__title { margin: 0 0 2px; font: 700 14px/1.3 var(--ec-font-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.ec-pcard__title a { color: var(--ec-ink); text-decoration: none; }
.ec-pcard__meta { margin: 0 0 8px; color: var(--ec-muted); font-size: 12px; }
.ec-pcard__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 8px; margin-bottom: 8px; }
.ec-pcard__price strong { font: 800 22px/1.1 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-pcard__price small { color: var(--ec-muted); font-size: 12px; }
.ec-qty--card { margin-top: auto; }

/* Choix de quantité en un geste : ×1 ×2 ×3 */
.ec-seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 8px; }
.ec-seg__opt { position: relative; margin: 0; cursor: pointer; }
.ec-seg__opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ec-seg__opt span { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 46px; border: 1.5px solid var(--ec-line); border-radius: 12px; background: var(--ec-bg); line-height: 1.1; transition: border-color 0.12s, background 0.12s; }
.ec-seg__opt b { font-size: 15px; font-weight: 800; }
.ec-seg__opt i { color: var(--ec-ok); font-size: 11px; font-style: normal; font-weight: 800; }
.ec-seg__opt input:checked + span { border-color: var(--ec-select); background: var(--ec-select); color: var(--ec-on-select); }
.ec-seg__opt input:checked + span i { color: #b9f3d6; }
.ec-seg__opt input:focus-visible + span { outline: 3px solid rgba(27, 43, 75, 0.35); outline-offset: 2px; }
.ec-btn--cart { width: 100%; min-height: 48px; padding: 0 16px; gap: 8px; }

@media (min-width: 768px) {
  .ec-pgrid, .ec-cardgrid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
  .ec-pcard { padding: 14px; }
  .ec-pcard__img img { height: 190px; }
  .ec-pcard__title { font-size: 15px; }
}

/* ---------- Tiroir "Ajouté au panier" ---------- */
.ec-drawer { position: fixed; z-index: 2000; left: 12px; right: 12px; bottom: 12px; display: none; padding: 16px; border-radius: 20px; background: var(--ec-bg); box-shadow: 0 18px 48px rgba(20, 23, 31, 0.32); }
.ec-drawer.is-open { display: block; animation: ec-rise 0.22s ease-out; }
@keyframes ec-rise { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
.ec-drawer__head { display: flex; align-items: center; gap: 12px; }
.ec-drawer__tick { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ec-ok-soft); color: var(--ec-ok); }
.ec-drawer__title { flex: 1; min-width: 0; margin: 0; font: 800 16px/1.25 var(--ec-font-body); }
.ec-drawer__title small { display: block; overflow: hidden; color: var(--ec-muted); font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.ec-drawer__close { flex: none; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--ec-surface); color: var(--ec-ink); font-size: 20px; line-height: 1; cursor: pointer; }
.ec-drawer__ship { margin: 14px 0; }
.ec-drawer__ship p { margin: 0 0 6px; font-size: 14px; }
.ec-bar { height: 8px; border-radius: 4px; background: var(--ec-line); overflow: hidden; }
.ec-bar > i { display: block; height: 100%; border-radius: 4px; background: var(--ec-ok); transition: width 0.4s; }
.ec-drawer__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ec-drawer__actions .ec-btn { width: 100%; min-height: 48px; padding: 0 12px; }
.ec-btn--ghost { background: transparent; color: var(--ec-brand-text); border: 2px solid var(--ec-brand-text); }
.ec-btn--ghost:hover { color: var(--ec-brand-text); }
@media (min-width: 768px) { .ec-drawer { left: auto; right: 24px; bottom: 24px; width: 400px; } }

/* ---------- Mon imprimante ---------- */
.ec-fit { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14px; }
.ec-fit[hidden] { display: none; }
.ec-fit strong { display: block; font-size: 15px; }
.ec-fit.is-ok { background: var(--ec-ok-soft); color: var(--ec-ok); }
.ec-fit.is-ko { background: var(--ec-warn-soft); color: var(--ec-warn); }
.ec-fit a { color: inherit; font-weight: 800; }
.ec-headerlink__name { max-width: 150px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-headerlink.has-printer { border-color: var(--ec-ok); background: var(--ec-ok-soft); color: var(--ec-ok); }
.ec-savebtn.is-saved { background: var(--ec-ok-soft); border-color: var(--ec-ok); color: var(--ec-ok); }

/* ---------- Fiche produit : colonne d'achat ---------- */
.ec-buybox__stock { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; color: var(--ec-ok); font-size: 15px; }
.product__right { padding: 20px; border-radius: 20px; box-shadow: 0 1px 2px rgba(20, 23, 31, 0.08), 0 8px 28px rgba(20, 23, 31, 0.08); background: var(--ec-bg); }
.product__right .product__name { font-size: 24px; line-height: 1.2; }
.ec-buybox .ec-qty__opt { border-radius: 14px; }
@media (max-width: 767px) { .product__right { padding: 14px; box-shadow: none; border: 1px solid var(--ec-line); } }

/* ---------- Panier : barre de livraison offerte ---------- */
.ec-shipbar { margin-bottom: 18px; padding: 14px 16px; border-radius: 16px; background: var(--ec-ok-soft); }
.ec-shipbar p { margin: 0 0 8px; color: var(--ec-ok); font-size: 15px; }
.ec-shipbar .ec-bar { background: rgba(11, 107, 71, 0.18); }

/* ---------- Panier : lignes produit en cartes ---------- */
.product-line { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; padding: 12px; border-radius: 18px; background: var(--ec-bg); box-shadow: 0 1px 2px rgba(20, 23, 31, 0.08), 0 4px 16px rgba(20, 23, 31, 0.05); }
.product-line__image { flex: none; width: 84px; }
.product-line__img { display: block; width: 84px; height: 84px; object-fit: contain; border-radius: 12px; background: var(--ec-surface); mix-blend-mode: multiply; }
.product-line__content { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; }
.product-line__title { color: var(--ec-ink); font-weight: 700; text-decoration: none; }
.cart-grid__aside-wrapper { position: sticky; top: 130px; padding: 20px; border-radius: 20px; background: var(--ec-bg); box-shadow: 0 1px 2px rgba(20, 23, 31, 0.08), 0 10px 30px rgba(20, 23, 31, 0.08); }
.cart-grid__aside-wrapper h2 { margin-top: 0; font-size: 20px; font-weight: 800; }
.cart-grid__footer { margin-top: 36px; }
.cart-grid__footer h2, .cart-grid__footer .h2 { font: 800 22px/1.2 var(--ec-font-display); }

/* ---------- Tunnel de commande ---------- */
.checkout-step, .js-current-step, .checkout__step { border-radius: 18px; }
.checkout-step { padding: 18px 20px; margin-bottom: 14px; background: var(--ec-bg); box-shadow: 0 1px 2px rgba(20, 23, 31, 0.08), 0 4px 16px rgba(20, 23, 31, 0.05); }
.checkout-step.-unreachable, .checkout-step.-complete { opacity: 0.8; }

/* ---------- Mobile : bouton d'achat toujours à portée de pouce ---------- */
@media (max-width: 767px) {
  .ec-buybox .ec-qty__add--big { position: sticky; bottom: 10px; z-index: 30; box-shadow: 0 10px 26px rgba(20, 23, 31, 0.3); }
}

/* ---------- Accueil : rappel de l'imprimante mémorisée ---------- */
.ec-myprinter { display: none; align-items: center; gap: 12px; margin-bottom: 14px; padding: 12px 14px; border-radius: 14px; background: var(--ec-ok-soft); color: var(--ec-ok); font-weight: 700; text-decoration: none; }
.ec-myprinter.is-visible { display: flex; }
.ec-myprinter:hover { color: var(--ec-ok); }
.ec-myprinter span { flex: 1; }
.ec-widget .ec-myprinter { grid-column: 1 / -1; margin-bottom: 4px; }
.form-check-input { width: 1.35em; height: 1.35em; margin-top: 0.1em; }
.ec-section--bestsellers .products-section-title, .ec-section--bestsellers h2 { margin: 0 0 14px; font: 800 20px/1.2 var(--ec-font-display); }
@media (min-width: 768px) { .ec-section--bestsellers h2, .ec-section--bestsellers .products-section-title { font-size: 24px; } }

/* =====================================================================
   Panier et tunnel de commande : sobres, orientés paiement
   ===================================================================== */
body#cart, body#checkout { background: #f4f5f8; }
.ec-focus-header { background: var(--ec-bg); border-bottom: 1px solid var(--ec-line); }
.ec-focus-header__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 64px; }
.ec-focus-header .ec-logo { flex: none; }
.ec-focus-header__secure { display: inline-flex; align-items: center; gap: 8px; color: var(--ec-ok); font-size: 14px; font-weight: 700; }
.ec-focus-header__help { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--ec-ink); font-weight: 700; text-decoration: none; }
body#cart #header, body#checkout #header { position: static; }

.ec-focus-footer { padding: 24px 0 32px; background: transparent; color: var(--ec-muted); font-size: 14px; text-align: center; }
.ec-focus-footer__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0 0 12px; padding: 0; list-style: none; }
.ec-focus-footer__trust li::before { content: "✓"; margin-right: 6px; color: var(--ec-ok); font-weight: 800; }
.ec-focus-footer__legal { margin: 0; }
.ec-focus-footer__legal a { color: var(--ec-muted); }

/* Panier */
body#cart .breadcrumb, body#checkout .breadcrumb { display: none; }
.ec-cart { padding-top: 20px; padding-bottom: 40px; }
.ec-cart__title { margin: 0 0 14px; font: 800 28px/1.1 var(--ec-font-display); letter-spacing: -0.5px; }
.ec-cart__title small { color: var(--ec-muted); font-size: 18px; font-weight: 600; }
.ec-cart .product-line { box-shadow: none; border: 1px solid var(--ec-line); border-radius: 16px; }
.ec-cart__back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; color: var(--ec-muted); font-weight: 600; text-decoration: none; }
.ec-cart .cart-grid__aside-wrapper { top: 20px; border: 1px solid var(--ec-line); box-shadow: none; }
.ec-cart .cart-summary .btn, .ec-cart .cart-detailed-actions .btn { width: 100%; min-height: 56px; font-size: 17px; }
.ec-trust { margin: 14px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--ec-muted); }
.ec-trust li { margin: 6px 0; }
.ec-trust li::before { content: "✓"; margin-right: 8px; color: var(--ec-ok); font-weight: 800; }
.ec-trust__help { margin: 10px 0 0; font-size: 14px; color: var(--ec-muted); }
.ec-trust__help a { font-weight: 700; }

/* Invitation à la quantité supérieure sous chaque ligne */
.ec-linehint { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; padding: 8px 10px; border-radius: 12px; background: var(--ec-ok-soft); color: var(--ec-ok); font-size: 13px; font-weight: 600; }
.ec-linehint button { min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: var(--ec-ok); color: #fff; font: 800 12px var(--ec-font-body); cursor: pointer; }

/* Tunnel */
body#checkout .checkout-step { box-shadow: none; border: 1px solid var(--ec-line); }
body#checkout .cart-summary, body#checkout .cart-grid__aside-wrapper { box-shadow: none; }
body#checkout .btn-primary { min-height: 54px; font-size: 17px; }

/* Lignes du panier : colonnes alignées (produit | quantité | total | retirer) */
.ec-cart .product-line__content { display: grid; grid-template-columns: minmax(0, 1fr) auto 72px; align-items: center; gap: 8px 18px; }
.ec-cart .product-line__content-left { grid-column: 1; min-width: 0; }
.ec-cart .product-line__content-right { grid-column: 2; display: flex; align-items: center; gap: 18px; }
.ec-cart .product-line__price { min-width: 84px; text-align: right; font-weight: 800; font-variant-numeric: tabular-nums; }
.ec-cart .product-line__actions { grid-column: 3; text-align: right; }
.ec-cart .js-remove-from-cart { color: var(--ec-muted); font-size: 13px; text-decoration: underline; }
.ec-cart .js-remove-from-cart:hover { color: var(--ec-ink); }
@media (max-width: 767px) {
  .ec-cart .product-line__content { grid-template-columns: 1fr auto; }
  .ec-cart .product-line__content-left { grid-column: 1 / -1; }
  .ec-cart .product-line__content-right { grid-column: 1; }
  .ec-cart .product-line__actions { grid-column: 2; }
}
body#checkout .blockreassurance, body#cart .blockreassurance, body#checkout .cart-grid__aside hr, body#checkout .js-reassurance { display: none !important; }

/* =====================================================================
   Blog : lisible, rapide, construit pour être cité
   ===================================================================== */
.ec-blog__hero { padding: 24px 0 8px; background: var(--ec-dark); color: var(--ec-on-brand); box-shadow: 0 0 0 100vmax var(--ec-dark); clip-path: inset(0 -100vmax); }
.ec-blog__crumb { margin-bottom: 8px; font-size: 13px; opacity: 0.85; }
.ec-blog__crumb a { color: inherit; }
.ec-blog__title { margin: 0 0 8px; font: 800 30px/1.1 var(--ec-font-display); letter-spacing: -0.6px; }
.ec-blog__intro { max-width: 720px; margin: 0 0 16px; font-size: 17px; opacity: 0.92; }
.ec-blog__cats { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0 0 20px; list-style: none; }
.ec-blog__cats .ec-chip { border-color: rgba(255, 255, 255, 0.35); color: var(--ec-on-brand); background: transparent; }
.ec-blog__cats .ec-chip small { opacity: 0.7; }
.ec-blog__cats .ec-chip.is-on, .ec-blog__cats .ec-chip:hover { background: #fff; color: var(--ec-brand-text); border-color: #fff; }
.ec-blog__body { padding-top: 28px; padding-bottom: 48px; }

.ec-bfeat { display: grid; gap: 16px; margin-bottom: 28px; border-radius: 20px; overflow: hidden; background: var(--ec-surface); }
.ec-bfeat__img { display: block; background: #fff; }
.ec-bfeat__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.ec-bfeat__txt { padding: 4px 18px 20px; }
.ec-bfeat__txt h2 { margin: 6px 0 8px; font: 800 24px/1.15 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-bfeat__txt h2 a, .ec-bcard__txt h2 a, .ec-bcard__txt h3 a { color: var(--ec-ink); text-decoration: none; }
.ec-bgrid { display: grid; gap: 16px; }
.ec-bcard { overflow: hidden; border-radius: 18px; background: var(--ec-bg); box-shadow: 0 1px 2px rgba(20, 23, 31, 0.08), 0 4px 16px rgba(20, 23, 31, 0.06); transition: box-shadow 0.15s, transform 0.15s; }
.ec-bcard:hover { box-shadow: 0 2px 4px rgba(20, 23, 31, 0.1), 0 14px 32px rgba(20, 23, 31, 0.12); transform: translateY(-2px); }
.ec-bcard__img { display: block; background: #fff; border-bottom: 1px solid var(--ec-line); }
.ec-bcard__img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; }
.ec-bcard__txt { padding: 14px 16px 18px; }
.ec-bcard__txt h2, .ec-bcard__txt h3 { margin: 4px 0 6px; font: 800 18px/1.25 var(--ec-font-display); }
.ec-bcard__txt p { margin: 0 0 6px; color: var(--ec-muted); font-size: 14px; }
.ec-bcard__cat { display: inline-block; color: var(--ec-ok); font-size: 12px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; }
.ec-bcard__meta { font-size: 13px; }
.ec-blog__pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin: 28px 0; }
.ec-blog__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin: 32px 0 0; padding: 20px; border-radius: 18px; background: var(--ec-brand-soft); }
.ec-blog__cta > div { flex: 1 1 280px; }
.ec-blog__cta p { margin: 2px 0 0; color: var(--ec-muted); }

/* Article */
.ec-post__head { padding: 20px 0 8px; }
.ec-post__narrow { max-width: 820px; }
.ec-post .ec-blog__crumb { color: var(--ec-muted); opacity: 1; }
.ec-post__title { margin: 0 0 10px; font: 800 30px/1.12 var(--ec-font-display); letter-spacing: -0.7px; }
.ec-post__meta { margin: 0 0 14px; color: var(--ec-muted); font-size: 14px; }
.ec-answer { margin: 0 0 20px; padding: 16px 18px; border-left: 5px solid var(--ec-ok); border-radius: 0 14px 14px 0; background: var(--ec-ok-soft); }
.ec-answer strong { display: block; margin-bottom: 4px; color: var(--ec-ok); font-size: 12px; letter-spacing: 0.5px; text-transform: uppercase; }
.ec-answer p { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 600; }
.ec-post__hero { margin: 0 0 22px; }
.ec-post__hero a { display: block; overflow: hidden; border: 1px solid var(--ec-line); border-radius: 18px; background: #fff; }
.ec-post__hero img { display: block; width: 100%; height: auto; }
.ec-post__hero figcaption { margin-top: 6px; color: var(--ec-muted); font-size: 13px; text-align: right; }
.ec-toc { margin: 0 0 26px; padding: 16px 18px; border: 1px solid var(--ec-line); border-radius: 16px; background: var(--ec-surface); }
.ec-toc ol { margin: 8px 0 0; padding-left: 20px; }
.ec-toc li { margin: 4px 0; }
.ec-toc a { color: var(--ec-ink); }
.ec-post__body { font-size: 17px; line-height: 1.7; }
.ec-post__body h2 { margin: 36px 0 12px; font: 800 26px/1.2 var(--ec-font-display); letter-spacing: -0.4px; scroll-margin-top: 130px; }
.ec-post__body h3, .ec-post__body h4 { margin: 26px 0 8px; font: 800 20px/1.25 var(--ec-font-display); scroll-margin-top: 130px; }
.ec-post__body p { margin: 0 0 16px; }
.ec-post__body a { color: var(--ec-brand-text); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.ec-post__body img { max-width: 100%; height: auto; border-radius: 12px; }
.ec-post__body table { display: block; width: 100%; max-width: 100%; margin: 0 0 20px; overflow-x: auto; border-collapse: collapse; }
.ec-post__body th, .ec-post__body td { padding: 10px 12px; border: 1px solid var(--ec-line); vertical-align: top; font-size: 15px; }
.ec-post__body th { background: var(--ec-surface); text-align: left; }
.ec-post__body ul, .ec-post__body ol { margin: 0 0 16px; padding-left: 22px; }
.ec-post__body li { margin: 6px 0; }
.ec-post__body blockquote { margin: 0 0 18px; padding: 10px 16px; border-left: 4px solid var(--ec-line); color: var(--ec-muted); }
.ec-post__products { margin: 36px 0; }
.ec-post__products h2, .ec-faq h2, .ec-sources h2, .ec-post__related h2 { margin: 0 0 14px; font: 800 24px/1.2 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-post__prodgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ec-mini { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--ec-line); border-radius: 16px; color: var(--ec-ink); text-decoration: none; }
.ec-mini img { width: 100%; height: 110px; object-fit: contain; background: var(--ec-surface); border-radius: 10px; mix-blend-mode: multiply; }
.ec-mini span { font-size: 14px; font-weight: 600; line-height: 1.3; }
.ec-faq { margin: 36px 0; }
.ec-faq__item { margin-bottom: 8px; border: 1px solid var(--ec-line); border-radius: 14px; background: var(--ec-bg); }
.ec-faq__item summary { display: flex; align-items: center; min-height: 54px; padding: 0 16px; font-weight: 700; cursor: pointer; list-style: none; }
.ec-faq__item summary::after { content: "+"; margin-left: auto; font-size: 22px; color: var(--ec-muted); }
.ec-faq__item[open] summary::after { content: "−"; }
.ec-faq__item > div { padding: 0 16px 14px; color: var(--ec-ink); }
.ec-sources { margin: 28px 0; font-size: 14px; color: var(--ec-muted); }
.ec-sources h2 { font-size: 18px; }
.ec-author { margin: 32px 0 0; padding: 16px 18px; border-radius: 16px; background: var(--ec-surface); }
.ec-author p { margin: 4px 0 0; color: var(--ec-muted); font-size: 14px; }
.ec-post__related { padding-top: 36px; padding-bottom: 48px; }

@media (min-width: 768px) {
  .ec-blog__hero { padding-top: 36px; }
  .ec-blog__title { font-size: 44px; }
  .ec-bfeat { grid-template-columns: 1.3fr 1fr; align-items: center; }
  .ec-bfeat__txt { padding: 28px 28px 28px 8px; }
  .ec-bfeat__txt h2 { font-size: 32px; }
  .ec-bgrid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ec-post__title { font-size: 44px; }
  .ec-post__prodgrid { grid-template-columns: repeat(4, 1fr); }
}


/* ---------- Home : visuels des étapes, offres illustrées, bloc paiement ---------- */
.ec-step { position: relative; display: block; }
.ec-step__art { display: flex; align-items: center; justify-content: center; width: 100%; padding: 10px 0 4px; color: var(--ec-dark); }
.ec-step__art svg { display: block; width: 160px; max-width: 100%; height: auto; }
.ec-step__n { position: absolute; top: 14px; left: 14px; width: 34px; height: 34px; font-size: 16px; }
.ec-step > div { margin-top: 6px; }
@media (min-width: 768px) { .ec-step__art svg { width: 190px; } }

.ec-offer { position: relative; overflow: hidden; }
.ec-offer > :not(.ec-offer__img) { position: relative; z-index: 1; }
.ec-offer__img { position: absolute; right: 14px; bottom: 14px; width: 120px; height: 120px; object-fit: contain; border-radius: 14px; background: #fff; padding: 6px; box-shadow: 0 6px 18px rgba(20, 23, 31, 0.18); transform: rotate(4deg); }
.ec-offer p { max-width: 60%; }
@media (min-width: 768px) { .ec-offer__img { width: 170px; height: 170px; right: 22px; bottom: 22px; } .ec-offer p { max-width: 54%; } }

.ec-pay { display: grid; overflow: hidden; border-radius: 20px; background: var(--ec-brand-soft); }
.ec-pay__img { display: block; width: 100%; height: 220px; object-fit: cover; object-position: 50% 40%; }
.ec-pay__text { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 22px; }
.ec-pay__title { margin: 0; font: 800 24px/1.15 var(--ec-font-display); letter-spacing: -0.4px; }
.ec-pay__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.ec-pay__list li { position: relative; padding-left: 28px; }
.ec-pay__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--ec-ok) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat; }
@media (min-width: 768px) {
  .ec-pay { grid-template-columns: 5fr 7fr; align-items: stretch; }
  .ec-pay__img { height: 100%; min-height: 320px; }
  .ec-pay__text { justify-content: center; padding: 40px; }
  .ec-pay__title { font-size: 32px; }
}

@media (min-width: 1100px) { .ec-bgrid { grid-template-columns: repeat(3, 1fr); } }


/* ---------- Repères de la marque easy (easyJet) : orange, titres condensés en capitales, gris-bleu, pied clair ---------- */
h1, h2, h3, h4 { font-family: var(--ec-font-display); }
.ec-slide__title, .ec-section__title, .ec-widget__title, .ec-blog__title, .ec-post__title, .ec-pay__title, .ec-offer strong,
.ec-bfeat__txt h2, .ec-listing__title, .ec-finder__title, .ec-results__title, .ec-post__products h2, .ec-faq h2, .ec-post__related h2 {
  font-family: var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.2px; font-weight: 800;
}
.ec-slide__title { font-size: 34px; line-height: 1; }
.ec-section__title { font-size: 28px; }
.ec-widget__title { font-size: 26px; }
.ec-pay__title { font-size: 30px; line-height: 1.05; }
.ec-offer strong { font-size: 34px; line-height: 1; }
.ec-stat strong { font-family: var(--ec-font-display); font-weight: 800; }
@media (min-width: 768px) {
  .ec-slide__title { font-size: 64px; letter-spacing: 0.3px; }
  .ec-section__title { font-size: 36px; }
  .ec-blog__title, .ec-post__title { font-size: 52px; }
  .ec-pay__title { font-size: 42px; }
  .ec-offer strong { font-size: 46px; }
  .ec-stat strong { font-size: 84px; letter-spacing: 0; }
}
.ec-blog__title, .ec-post__title { font-size: 38px; line-height: 1; }

/* Bandeau du haut et cartes */
.ec-topbar { background: var(--ec-topbar-bg); color: var(--ec-on-brand); font-weight: 600; }
.ec-header { border-bottom-color: var(--ec-line); }
.ec-nav__link--cta { border-radius: var(--ec-radius-btn); }
.ec-nav__link { border-radius: var(--ec-radius-btn); }
.ec-btn--ghost { color: var(--ec-brand-text); border-color: var(--ec-select); }
.ec-btn--onslide, .ec-slide--brand .ec-btn--onslide { background: var(--ec-cta); color: var(--ec-on-brand); }
.ec-slide--soft { background: var(--ec-surface); }
.ec-slide--brand .ec-slide__eyebrow { background: var(--ec-select); color: var(--ec-on-select); }
.ec-offer--soft, .ec-slide--photo .ec-slide__eyebrow { background: var(--ec-surface); }
.ec-pay { background: var(--ec-surface); }
.ec-search--hero .ec-search__submit { background: var(--ec-cta); }
.ec-widget { border-top: 4px solid var(--ec-accent); }
.ec-stats { background: var(--ec-dark); }
.ec-stat strong { color: var(--ec-accent); }

/* Pied de page clair (gris-bleu, liens orange), comme easyJet */
footer .footer__main { background: var(--ec-surface); color: var(--ec-ink); border-top: 4px solid var(--ec-accent); }
footer .footer__main a { color: var(--ec-brand-text); }
.ec-footer__logo { display: inline-flex; color: var(--ec-ink) !important; }
.ec-footer__logo img { display: block; width: auto; height: 34px; }
.ec-footer__col h2 { color: var(--ec-ink); }
.ec-footer__col li a { color: var(--ec-brand-text) !important; }
.ec-footer__contact * { color: var(--ec-ink) !important; }
.ec-footer__contact a:hover { color: var(--ec-brand-text) !important; }
.ec-footer__legal { border-top-color: var(--ec-line); }
.ec-footer__family { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--ec-line); display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; font-size: 14px; color: var(--ec-muted); }
.ec-footer__family strong { color: var(--ec-ink); font-weight: 700; }
.ec-footer__family a { font-weight: 700; }
footer .blockreassurance--dark { background: var(--ec-dark); }



/* =====================================================================
   Look easyJet : en-tête orange complet, logo blanc (Cooper-like), titres Bebas, cartes ombrées, sections en biais
   ===================================================================== */
body { font-family: var(--ec-font-body); }
h1, h2, h3, h4, .ec-slide__title, .ec-section__title, .ec-widget__title, .ec-blog__title, .ec-post__title, .ec-pay__title, .ec-offer strong,
.ec-bfeat__txt h2, .ec-stat strong, .ec-listing__title, .ec-finder__title, .ec-results__title { font-family: var(--ec-font-display); font-weight: 400; letter-spacing: 0.3px; }
.ec-slide__title { font-size: 44px; line-height: 0.98; }
.ec-section__title { font-size: 36px; line-height: 1; }
.ec-widget__title { font-size: 32px; }
.ec-pay__title { font-size: 40px; line-height: 1; }
.ec-offer strong { font-size: 44px; line-height: 0.98; }
.ec-blog__title, .ec-post__title { font-size: 48px; line-height: 0.98; }
.ec-bfeat__txt h2 { font-size: 34px; line-height: 1; }
.ec-stat strong { font-size: 64px; }
@media (min-width: 768px) {
  .ec-slide__title { font-size: 84px; letter-spacing: 0.5px; }
  .ec-section__title { font-size: 52px; }
  .ec-widget__title { font-size: 38px; }
  .ec-blog__title, .ec-post__title { font-size: 72px; }
  .ec-pay__title { font-size: 56px; }
  .ec-offer strong { font-size: 60px; }
  .ec-stat strong { font-size: 110px; }
  .ec-bfeat__txt h2 { font-size: 46px; }
}

/* Logo : texte blanc en Caprasimo (équivalent libre de Cooper Black), comme le logo easyJet sur son bandeau orange */
.ec-logo { text-decoration: none; }
.ec-logo__text { font-family: var(--ec-font-logo); font-size: 30px; line-height: 1; letter-spacing: -0.5px; color: #fff; white-space: nowrap; }
.ec-logo__text span { color: inherit; }
@media (min-width: 768px) { .ec-logo__text { font-size: 40px; } }
.ec-focus-header .ec-logo__text, .ec-footer__logo .ec-logo__text { color: var(--ec-brand); }
.ec-footer__logo .ec-logo__text { font-size: 34px; }

/* En-tête : bloc orange en deux ou trois rangées */
.ec-topbar { background: var(--ec-topbar-bg); color: #fff; font-size: 13px; font-weight: 600; }
.ec-topbar__inner { justify-content: flex-end; gap: 0; padding-top: 6px; padding-bottom: 6px; }
.ec-topbar__inner span { padding: 0 14px; border-left: 1px solid rgba(255, 255, 255, 0.45); }
.ec-topbar__inner span:first-child { border-left: 0; }
.ec-topbar__inner span:last-child { padding-right: 0; }
.ec-header { background: var(--ec-band); border-bottom: 0; box-shadow: none; }
.ec-header .ec-iconbtn, .ec-header .ec-iconbtn:hover { color: var(--ec-on-band); }
.ec-header .ec-search__icon { color: var(--ec-muted); }
.ec-header .ec-search__input { background: #fff; border: 0; border-radius: var(--ec-radius-btn); }
.ec-header .ec-search__input:focus { outline: 3px solid rgba(255, 255, 255, 0.55); outline-offset: 0; }
.ec-header .ec-headerlink { border: 1.5px solid var(--ec-on-band); background: transparent; color: var(--ec-on-band); }
.ec-header .ec-headerlink.has-printer { background: rgba(255, 255, 255, 0.18); border-color: #fff; color: #fff; }
.ec-cartlink__badge { background: #fff; color: var(--ec-brand-text); }
.ec-nav { background: var(--ec-bg); }
.ec-nav__link--cta { border-radius: var(--ec-radius-btn); }
@media (min-width: 768px) {
  .ec-header__row { padding: 12px 0 8px; }
  .ec-header .ec-headerlink--account { padding: 0 16px; border-radius: var(--ec-radius-btn); background: #fff; color: var(--ec-brand-text); font-weight: 800; }
  .ec-header .ec-headerlink--account:hover { color: var(--ec-brand-text); filter: brightness(0.96); }
  .ec-nav { background: var(--ec-nav-bg); border-top: 1px solid rgba(255, 255, 255, 0.3); padding: 4px 0; }
  .ec-nav__link { color: #fff; font-weight: 800; border-radius: var(--ec-radius-btn); }
  .ec-nav__link:hover { background: rgba(0, 0, 0, 0.14); color: #fff; }
  .ec-nav__link--cta { background: #fff; color: var(--ec-brand-text); }
  .ec-nav__link--cta:hover { background: #fff; color: var(--ec-brand-text); filter: brightness(0.96); }
  .ec-nav__link--aux { color: #fff; font-weight: 700; }
}

/* Cartes et blocs : ombre douce, coins presque carrés */
.ec-refcard, .ec-brandtile, .ec-pcard, .ec-bcard, .ec-tile, .ec-step, .ec-offer, .ec-pay, .ec-bfeat, .ec-widget, .ec-slide__card {
  border-radius: var(--ec-radius); border-color: transparent;
}
.ec-refcard, .ec-brandtile, .ec-pcard, .ec-tile { box-shadow: 0 2px 10px rgba(24, 24, 24, 0.14); border: 0; background: #fff; }
.ec-refcard:hover, .ec-brandtile:hover, .ec-tile:hover { box-shadow: 0 8px 22px rgba(24, 24, 24, 0.2); border: 0; }
.ec-brandtile__logo { border-bottom: 0; }
.ec-widget { border-radius: var(--ec-radius); border-top: 0; box-shadow: 0 6px 24px rgba(24, 24, 24, 0.22); }
.ec-slide--banner .ec-slide__bannerlink { border-radius: 0; }
.ec-chip, .ec-qty__opt, .ec-seg__opt span, .ec-search__input, .ec-search--hero .ec-search__input { border-radius: var(--ec-radius-btn); }
.ec-btn, .ec-btn--cart { border-radius: var(--ec-radius-btn); }
.ec-search--hero .ec-search__submit { border-radius: 0 var(--ec-radius-btn) var(--ec-radius-btn) 0; }

/* Sections : titres centrés et fond gris-bleu en biais, comme easyJet */
.ec-home .ec-section > .container-md > .ec-section__title { text-align: center; }
.ec-home .ec-section:nth-of-type(odd) { background: var(--ec-surface); clip-path: polygon(0 28px, 100% 0, 100% calc(100% - 28px), 0 100%); padding: 56px 0; margin: -14px 0; position: relative; }
@media (min-width: 768px) { .ec-home .ec-section:nth-of-type(odd) { clip-path: polygon(0 56px, 100% 0, 100% calc(100% - 56px), 0 100%); padding: 96px 0; margin: -28px 0; } }
.ec-refcard__img, .ec-pcard__img { background: var(--ec-surface); }

.ec-section--bestsellers h2, .ec-section--bestsellers .h2, .ec-section--bestsellers .products-section-title { font-family: var(--ec-font-display); font-weight: 400; font-size: 36px; line-height: 1; text-align: center; text-transform: uppercase; margin-bottom: 18px; }
@media (min-width: 768px) { .ec-section--bestsellers h2, .ec-section--bestsellers .h2, .ec-section--bestsellers .products-section-title { font-size: 52px; } }
.ec-section__head .ec-section__title { text-align: left; }

/* Tablettes (768 à 1199 px) : en-tête compact, titres moins grands */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .ec-header__row { gap: 14px; }
  .ec-logo__text { font-size: 32px; }
  .ec-header .ec-search { min-width: 0; }
  .ec-header .ec-headerlink--account span, .ec-header .ec-cartlink > span:not(.ec-cartlink__badge) { display: none !important; }
  .ec-header .ec-headerlink--account { min-width: 40px; padding: 0; justify-content: center; }
  .ec-headerlink__name { max-width: 110px; }
  .ec-slide__title { font-size: 56px; }
  .ec-slide__lead { font-size: 17px; }
  .ec-slide__visual img { width: 220px; height: 220px; }
  .ec-topbar__inner span:nth-child(n+3) { display: none; }
}


/* =====================================================================
   v3 : l'orange est réservé au bandeau du haut et aux boutons d'action ; le reste est anthracite, gris et blanc (comme easyJet)
   ===================================================================== */

/* --- Liens et sélections : plus d'orange ni de bleu hors boutons d'action --- */
a { color: var(--ec-ink); }
.ec-section--text a, .ec-post__body a, .ec-listing__desc a { color: var(--ec-ink); text-decoration: underline; text-underline-offset: 2px; }
.ec-link { color: var(--ec-ink); text-decoration: underline; text-underline-offset: 3px; }
.ec-seg__opt input:checked + span { background: var(--ec-ink); border-color: var(--ec-ink); color: #fff; }
.ec-seg__opt input:checked + span small { color: #cfeede; }
.ec-qty__opt:has(input:checked) { border-color: var(--ec-ink); background: var(--ec-surface); }
.ec-qty__opt input { accent-color: var(--ec-ink); }
.btn-outline-primary { --bs-btn-color: var(--ec-ink); --bs-btn-border-color: var(--ec-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--ec-ink); --bs-btn-hover-border-color: var(--ec-ink); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--ec-ink); --bs-btn-active-border-color: var(--ec-ink); }
.btn { border-radius: var(--ec-radius-btn); }
.ec-btn--ghost { border-color: var(--ec-ink); color: var(--ec-ink); }
.ec-btn--ghost:hover { background: var(--ec-ink); color: #fff; }
.ec-slide__eyebrow, .ec-offer__eyebrow, .ec-blog__crumb { letter-spacing: 0.6px; }
.ec-widget { border-top: 0; }
.ec-search--hero .ec-search__input { border-color: var(--ec-ink); }

/* --- En-tête allégé : bande anthracite fine, bloc orange (logo, recherche, panier), menu blanc --- */
.ec-topbar { background: var(--ec-dark); color: #fff; font-size: 13px; font-weight: 600; }
.ec-topbar__inner { justify-content: center; padding-top: 5px; padding-bottom: 5px; }
.ec-topbar__inner span:first-child { border-left: 0; }
.ec-header { background: var(--ec-band); }
.ec-cartlink__badge { background: var(--ec-dark); color: #fff; }
.ec-header .ec-nav .ec-headerlink { border: 1.5px solid var(--ec-line); background: #fff; color: var(--ec-ink); }
.ec-header .ec-nav .ec-headerlink.has-printer { background: var(--ec-ok-soft); border-color: var(--ec-ok); color: var(--ec-ok); }
.ec-nav__chip { margin-left: 12px; }
@media (max-width: 767.98px) {
  .ec-header__row { padding: 6px 0; }
  .ec-header .ec-search--mobile { padding-bottom: 10px; }
  .ec-header .ec-search--mobile .ec-search__input { height: 42px; }
}
@media (min-width: 768px) {
  .ec-header__row { padding: 14px 0; }
  .ec-nav { background: #fff; border-top: 0; border-bottom: 1px solid var(--ec-line); padding: 0; }
  .ec-nav__list { padding: 6px 0; }
  .ec-nav__link { color: var(--ec-ink); font-weight: 800; }
  .ec-nav__link:hover { background: var(--ec-surface); color: var(--ec-ink); }
  .ec-nav__link--cta, .ec-nav__link--cta:hover { background: var(--ec-ink); color: #fff; filter: none; }
  .ec-nav__link--aux { color: var(--ec-muted); font-weight: 700; }
}
@media (min-width: 768px) and (max-width: 1199.98px) { .ec-headerlink__name { max-width: 90px; } }

/* --- Pied de page : anthracite, logo blanc grand, un seul bouton d'action orange --- */
footer .footer__main { background: var(--ec-dark); color: #d2d2d2; border-top: 4px solid var(--ec-accent); padding-top: 8px; }
footer .footer__main a, .ec-footer__col li a { color: #d2d2d2 !important; }
footer .footer__main a:hover, .ec-footer__col li a:hover { color: #fff !important; text-decoration: underline; }
.ec-footer__logo { display: inline-block; margin-bottom: 6px; }
.ec-footer__logo .ec-logo__text { color: #fff; font-size: 46px; }
.ec-footer__brand p { color: #d2d2d2; }
.ec-footer__cta { margin: 4px 0 16px; min-height: 48px; }
footer .footer__main a.ec-footer__cta { color: #fff !important; text-decoration: none; }
.ec-footer__col h2 { color: #fff; }
.ec-footer__contact * { color: #fff !important; }
.ec-footer__legal, .ec-footer__family { border-top-color: rgba(255, 255, 255, 0.18); color: #a3a3a3; }
.ec-footer__family strong { color: #fff; }
.ec-footer__family a { color: #fff !important; text-decoration: underline; }
footer .blockreassurance--dark { background: #2b2b2b; color: #fff; }
footer .blockreassurance .reassurance__image, footer .blockreassurance .reassurance__image * { filter: brightness(0) invert(1); }
footer .ps-emailsubscription { background: var(--ec-surface) !important; }
footer .ps-emailsubscription .btn, footer .ps-emailsubscription [type="submit"] { background: var(--ec-ink); border-color: var(--ec-ink); color: #fff; }

/* --- Diaporama : textes lisibles --- */
.ec-slide__text { max-width: 620px; }
.ec-slide__title { font-size: 46px; line-height: 0.98; margin-bottom: 14px; }
.ec-slide__lead { font-size: 17px; line-height: 1.45; opacity: 1; max-width: 500px; margin-bottom: 22px; }
.ec-slide--brand { background: radial-gradient(ellipse at 82% 50%, #4a4a4a 0%, #262626 45%, #181818 100%); }
.ec-slide--brand .ec-slide__eyebrow, .ec-slide--photo .ec-slide__eyebrow, .ec-slide--soft .ec-slide__eyebrow { background: rgba(255, 255, 255, 0.16); color: #fff; }
.ec-slide--soft { background: var(--ec-surface); }
.ec-slide--soft .ec-slide__eyebrow, .ec-slide--photo .ec-slide__eyebrow { background: var(--ec-dark); color: #fff; }
.ec-btn--onslide, .ec-slide--brand .ec-btn--onslide { background: var(--ec-cta); color: #fff; }
.ec-slide__card .ec-slide__title { font-size: 40px; }
@media (min-width: 768px) {
  .ec-slide__title { font-size: 60px; }
  .ec-slide__lead { font-size: 19px; }
  .ec-slide__card .ec-slide__title { font-size: 54px; }
}
@media (min-width: 1200px) { .ec-slide__title { font-size: 72px; } .ec-slide__card .ec-slide__title { font-size: 60px; } }

/* --- Recherche de la home : champ et bouton alignés --- */
.ec-search--hero { display: flex; align-items: stretch; }
.ec-search--hero .ec-search__icon { z-index: 1; }
.ec-search--hero .ec-search__input { flex: 1 1 auto; width: auto; min-width: 0; height: 54px; padding: 0 14px 0 46px; border: 2px solid var(--ec-ink); border-right: 0; border-radius: var(--ec-radius-btn) 0 0 var(--ec-radius-btn); }
.ec-search--hero .ec-search__submit { position: static; flex: none; height: 54px; min-height: 54px; padding: 0 24px; border-radius: 0 var(--ec-radius-btn) var(--ec-radius-btn) 0; background: var(--ec-cta); color: var(--ec-on-cta); }

/* --- Comment ça marche : trois mini-écrans qui montrent la suite --- */
.ec-steps { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.ec-step { position: relative; display: flex; flex-direction: column; padding: 0; overflow: hidden; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 10px rgba(24, 24, 24, 0.14); }
.ec-step__mock { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 160px; padding: 20px 18px; background: var(--ec-surface); }
.ec-step__title { display: flex; align-items: center; gap: 10px; margin: 0; padding: 16px 18px 0; font: 400 28px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-step__n { position: static; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--ec-ink); color: #fff; font: 400 20px/30px var(--ec-font-display); text-align: center; }
.ec-step p { margin: 0; padding: 8px 18px 20px; color: var(--ec-muted); }
.ec-mock-search { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 2px solid var(--ec-ink); border-radius: var(--ec-radius-btn); background: #fff; font-weight: 700; }
.ec-mock-result { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: var(--ec-radius-btn); background: #fff; box-shadow: 0 1px 6px rgba(24, 24, 24, 0.12); }
.ec-mock-ok { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ec-ok); color: #fff; font-weight: 800; }
.ec-mock-result small { display: block; color: var(--ec-muted); font-size: 12px; }
.ec-mock-qty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ec-mock-qty span { padding: 9px 4px; border: 1.5px solid var(--ec-border); border-radius: var(--ec-radius-btn); background: #fff; font-weight: 800; line-height: 1.15; text-align: center; }
.ec-mock-qty small { display: block; color: var(--ec-ok); font-size: 12px; }
.ec-mock-qty .is-on { border-color: var(--ec-ink); background: var(--ec-ink); color: #fff; }
.ec-mock-qty .is-on small { color: #bfe9d3; }
.ec-mock-price b { font: 400 36px/1 var(--ec-font-display); }
.ec-mock-price s, .ec-mock-price small { color: var(--ec-muted); }
.ec-mock-track { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.ec-mock-track li { position: relative; display: flex; align-items: center; gap: 12px; font-weight: 700; }
.ec-mock-track i { flex: none; width: 18px; height: 18px; border: 3px solid var(--ec-border); border-radius: 50%; background: #fff; }
.ec-mock-track .is-done i { border-color: var(--ec-ok); background: var(--ec-ok); }
.ec-mock-track li:not(:last-child)::after { content: ""; position: absolute; left: 8px; top: 22px; width: 2px; height: 14px; background: var(--ec-border); }
@media (min-width: 768px) { .ec-steps { grid-template-columns: repeat(3, 1fr); gap: 20px; } .ec-step { flex-direction: column; padding: 0; } }

/* --- Chiffres : blanc sur anthracite, animés --- */
.ec-stat strong { color: #fff; }
.ec-stat > span { color: #d2d2d2; }
.ec-stat strong span { color: inherit; display: inline; margin: 0; font: inherit; }

/* --- Cartes d'offre : texte à gauche, image à droite, sans chevauchement --- */
.ec-offer { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto 1fr; column-gap: 16px; align-items: start; overflow: hidden; }
.ec-offer > * { grid-column: 1; position: static; }
.ec-offer > .ec-offer__img { grid-column: 2; grid-row: 1 / span 4; align-self: center; position: static; width: 110px; height: 110px; transform: rotate(3deg); }
.ec-offer p { max-width: none; }
.ec-offer strong { overflow-wrap: anywhere; }
.ec-offer--brand { background: var(--ec-dark); }
@media (min-width: 768px) { .ec-offer > .ec-offer__img { width: 160px; height: 160px; } }
@media (min-width: 768px) and (max-width: 1199.98px) { .ec-offer strong { font-size: 40px; } .ec-offer > .ec-offer__img { width: 120px; height: 120px; } }
.ec-step { align-items: stretch; } .ec-step__mock { align-self: stretch; }

@media (max-width: 767.98px) { .ec-search--hero .ec-search__submit { padding: 0 16px; } .ec-search--hero .ec-search__input { padding-left: 42px; font-size: 15px; } }


/* Blog : date bien visible sur les cartes et en tête d'article */
.ec-bcard__img, .ec-bfeat__img { position: relative; }
.ec-bdate { position: absolute; left: 10px; top: 10px; z-index: 1; padding: 5px 10px; border-radius: var(--ec-radius-btn); background: var(--ec-dark); color: #fff; font: 700 13px/1.2 var(--ec-font-body); box-shadow: 0 2px 8px rgba(24, 24, 24, 0.3); }
.ec-bcard__meta { color: var(--ec-muted); font-size: 14px; }
.ec-post__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.ec-post__chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--ec-surface); color: var(--ec-ink); font-size: 14px; font-weight: 600; }
.ec-post__chip--date { background: var(--ec-dark); color: #fff; }


/* =====================================================================
   Page d'un modèle d'imprimante (refonte)
   ===================================================================== */
.ec-printer { padding-top: 8px; padding-bottom: 56px; }
.ec-phero { display: grid; gap: 16px; margin: 8px 0 20px; padding: 20px 16px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-phero__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; font-weight: 800; color: var(--ec-muted); text-transform: uppercase; letter-spacing: 0.5px; font-size: 13px; }
.ec-phero__brand img { display: block; height: 34px; width: auto; padding: 4px 10px; border-radius: var(--ec-radius-sm); background: #fff; mix-blend-mode: normal; }
.ec-phero__title { margin: 0 0 12px; font: 400 40px/0.98 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-phero__lead { margin: 0 0 8px; color: var(--ec-muted); font-weight: 700; }
.ec-phero__refs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; list-style: none; }
.ec-phero__refs li { padding: 8px 14px; border-radius: var(--ec-radius-btn); background: var(--ec-dark); color: #fff; font: 400 26px/1 var(--ec-font-display); letter-spacing: 0.5px; }
.ec-phero__ok { display: flex; align-items: center; gap: 8px; margin: 0 0 18px; color: var(--ec-ok); font-weight: 800; }
.ec-phero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ec-phero__actions .ec-btn { flex: 1 1 220px; }
.ec-phero__art { display: none; position: relative; align-items: center; justify-content: center; }
.ec-phero__art svg { display: block; width: 100%; max-width: 340px; height: auto; }
.ec-phero__model { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); padding: 4px 12px; border-radius: 999px; background: #fff; box-shadow: 0 2px 8px rgba(24, 24, 24, 0.18); font-weight: 800; font-size: 13px; white-space: nowrap; }
@media (min-width: 768px) {
  .ec-phero { grid-template-columns: minmax(0, 1fr) 340px; align-items: center; gap: 32px; padding: 32px 36px; }
  .ec-phero__title { font-size: 64px; }
  .ec-phero__art { display: flex; }
  .ec-phero__actions .ec-btn { flex: 0 0 auto; }
}

.ec-alert { display: grid; gap: 4px; margin: 0 0 24px; padding: 14px 16px; border: 0; border-left: 5px solid var(--ec-warn); border-radius: var(--ec-radius); background: var(--ec-warn-soft); }
.ec-alert__head { display: flex; gap: 12px; align-items: flex-start; margin: 0; color: var(--ec-warn); }
.ec-alert__head svg { flex: none; margin-top: 2px; }
.ec-alert__head p { margin: 2px 0 0; color: var(--ec-ink); font-size: 15px; }
.ec-alert details { margin-left: 34px; }
.ec-alert summary { min-height: 36px; font-size: 15px; }

.ec-psection__title { margin: 0 0 6px; font: 400 34px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-psection__sub { margin: 0 0 18px; color: var(--ec-muted); }
.ec-pgroup { margin: 22px 0 12px; padding-bottom: 6px; border-bottom: 2px solid var(--ec-ink); font: 400 24px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.4px; }
.ec-pgrid--printer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .ec-psection__title { font-size: 46px; } .ec-pgrid--printer { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; } }
@media (max-width: 420px) { .ec-pgrid--printer { grid-template-columns: 1fr; } }

.ec-pperks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 32px 0 0; padding: 0; list-style: none; }
.ec-pperks li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-pperks svg { flex: none; }
.ec-pperks strong { display: block; font-size: 15px; line-height: 1.2; }
.ec-pperks span { font-size: 13px; color: var(--ec-muted); line-height: 1.3; }
@media (min-width: 768px) { .ec-pperks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ec-psiblings { margin-top: 44px; }
.ec-psiblings__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.ec-psibling { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 10px rgba(24, 24, 24, 0.12); color: var(--ec-ink); font-weight: 700; text-decoration: none; }
.ec-psibling:hover { box-shadow: 0 6px 18px rgba(24, 24, 24, 0.2); color: var(--ec-ink); }
.ec-psibling--more { justify-content: space-between; background: var(--ec-ink); color: #fff; }
.ec-psibling--more:hover { color: #fff; }
@media (min-width: 768px) { .ec-psiblings__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ec-pfaq { margin-top: 44px; }
.ec-pfaq details { border-bottom: 1px solid var(--ec-line); }
.ec-pfaq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; font-weight: 800; cursor: pointer; list-style: none; }
.ec-pfaq summary::-webkit-details-marker { display: none; }
.ec-pfaq summary::after { content: "+"; font: 400 28px/1 var(--ec-font-display); }
.ec-pfaq details[open] summary::after { content: "−"; }
.ec-pfaq p { margin: 0 0 16px; max-width: 760px; color: var(--ec-muted); }

@media (min-width: 768px) { .ec-pgrid--printer { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ec-pgrid--printer { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) { .ec-pgrid--printer { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } .ec-pgrid--printer > :only-child { max-width: 360px; } }
@media (min-width: 1200px) { .ec-pgrid--printer { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); } }
.ec-bdate { top: auto; bottom: 10px; }


/* =====================================================================
   Page « Trouver mon imprimante » (refonte)
   ===================================================================== */
.ec-finder { padding: 0 0 56px; }
.ec-fhero { margin-bottom: 20px; padding: 28px 0 8px; background: var(--ec-surface); }
.ec-finder__title { margin: 0 0 8px; font: 400 44px/0.98 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-finder__lead { margin: 0 0 18px; color: var(--ec-muted); font-size: 17px; }
.ec-fhero__search { max-width: 720px; }
.ec-fhero__or { position: relative; margin: 22px 0 0; text-align: center; }
.ec-fhero__or::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid var(--ec-line); }
.ec-fhero__or span { position: relative; padding: 0 14px; background: var(--ec-surface); color: var(--ec-muted); font-weight: 700; }
.ec-fhero { padding-bottom: 0; }
.ec-fhero + .container-md { padding-top: 20px; }
.ec-finder__crumb { margin: 0 0 12px; padding: 10px 14px; border-radius: var(--ec-radius-btn); background: var(--ec-dark); color: #fff; font-weight: 800; }
.ec-finder__crumb[hidden] { display: none; }

.ec-finder__steps { display: grid; gap: 14px; align-items: start; }
.ec-finder__panel { overflow: hidden; border: 0; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.14); }
.ec-finder__panelhead { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; background: var(--ec-dark); color: #fff; font: 400 26px/1 var(--ec-font-display); letter-spacing: 0.4px; text-transform: uppercase; }
.ec-finder__num { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: #fff; color: var(--ec-dark); font: 400 18px/1 var(--ec-font-display); }
.ec-finder__picked { margin-left: auto; max-width: 55%; overflow: hidden; color: #d2d2d2; font: 700 14px/1.2 var(--ec-font-body); text-overflow: ellipsis; text-transform: none; white-space: nowrap; }
.ec-finder__filter { border-radius: var(--ec-radius-btn); }

.ec-finder__list--brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; max-height: none; padding: 14px; overflow: visible; }
.ec-finder__list--brands li { margin: 0; }
.ec-finder__item--logo { display: flex; flex-direction: column; align-items: stretch; gap: 0; width: 100%; padding: 0; overflow: hidden; border: 1px solid var(--ec-line); border-radius: var(--ec-radius); background: #fff; text-align: center; }
.ec-finder__item--logo:hover { border-color: var(--ec-ink); background: #fff; }
.ec-finder__item--logo.is-active { border: 2px solid var(--ec-ink); background: #fff; }
.ec-finder__logo { display: flex; align-items: center; justify-content: center; height: 64px; padding: 8px 12px; }
.ec-finder__logo img { display: block; width: auto; max-width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ec-finder__bname { padding: 6px 4px 8px; background: var(--ec-surface); font-size: 13px; font-weight: 800; }
.ec-finder__item--text { grid-column: auto; justify-content: center; min-height: 44px; border: 1px dashed var(--ec-border); border-radius: var(--ec-radius); text-align: center; font-weight: 700; }
.ec-finder__item--text.is-active { border: 2px solid var(--ec-ink); background: var(--ec-surface); }
.ec-finder__item.is-active { background: var(--ec-surface); font-weight: 800; box-shadow: inset 4px 0 0 var(--ec-ink); }
.ec-finder__item--logo.is-active { box-shadow: none; }

/* Mobile : une étape faite se replie sur son choix (toucher l'en-tête pour la rouvrir) */
@media (max-width: 767.98px) {
  .ec-finder__panel.is-done .ec-finder__list, .ec-finder__panel.is-done .ec-finder__filter { display: none; }
  .ec-finder__panel.is-done .ec-finder__panelhead { cursor: pointer; }
  .ec-finder__panel.is-done .ec-finder__panelhead::after { content: "Modifier"; margin-left: 8px; color: #fff; font: 700 13px var(--ec-font-body); text-decoration: underline; }
  .ec-finder__panel.is-done .ec-finder__picked { max-width: 45%; }
}

.ec-finder__helptitle { margin: 44px 0 4px; font: 400 36px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-finder__tip { border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-finder__tip .ec-finder__num { margin-right: 8px; background: var(--ec-dark); color: #fff; vertical-align: middle; }
.ec-finder__more { border: 0; border-radius: var(--ec-radius); background: var(--ec-surface); }

@media (min-width: 768px) {
  .ec-fhero { padding: 40px 0 0; }
  .ec-finder__title { font-size: 72px; }
  .ec-finder__steps { grid-template-columns: 1.35fr 1fr 1fr; }
  .ec-finder__list--brands { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ec-finder__helptitle { font-size: 46px; }
}

/* Fiche produit : réassurance en grille compacte, pictogrammes anthracite (plus de bleu) */
.blockreassurance--product { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 8px; }
.blockreassurance--product .reassurance { display: flex; align-items: center; gap: 12px; margin: 0; padding: 12px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.blockreassurance--product .reassurance__image { flex: none; filter: brightness(0); }
.blockreassurance--product .reassurance__image svg, .blockreassurance--product .reassurance__image img { display: block; width: 36px; height: 36px; }
.blockreassurance--product .reassurance__title { font-size: 14px; font-weight: 700; line-height: 1.25; }
.product__title, h1.product__title { font-size: 34px; line-height: 1; }
@media (min-width: 992px) { .product__title, h1.product__title { font-size: 44px; } }

/* Listings : bandeau avec logo de la marque, titre condensé */
.ec-listing__bandinner { display: flex; align-items: center; gap: 18px; }
.ec-listing__logo { flex: none; display: block; width: auto; height: 56px; padding: 6px 14px; border-radius: var(--ec-radius-btn); background: #fff; }
.ec-listing__title { font-size: 44px; line-height: 0.98; }
.ec-listing__sub { font-weight: 700; opacity: 1; }
.ec-listing__hint { margin: 6px 0 0; color: #d2d2d2; }
@media (min-width: 768px) { .ec-listing__title { font-size: 68px; } .ec-listing__logo { height: 72px; } }


/* =====================================================================
   Fiche produit (refonte) : prix + coût par page, offres de quantité chiffrées, bouton fixe, réassurance, suggestions
   ===================================================================== */
.ec-buybox { margin: 8px 0 0; }
.ec-buybox .ec-qty__add--big { position: static; box-shadow: none; }

.ec-bprice { margin-bottom: 14px; }
.ec-bprice__main { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.ec-bprice__amount { font: 400 56px/1 var(--ec-font-display); letter-spacing: 0.3px; }
.ec-bprice__tax { color: var(--ec-muted); font-size: 14px; }
.ec-bprice__stock { display: flex; align-items: flex-start; gap: 8px; margin: 6px 0 0; color: var(--ec-ok); font-size: 15px; }
.ec-bprice__stock svg { flex: none; margin-top: 2px; }

.ec-ppp { display: flex; align-items: center; gap: 14px; margin: 0 0 16px; padding: 12px 14px; border-radius: var(--ec-radius); background: var(--ec-dark); color: #fff; }
.ec-ppp__big { display: flex; align-items: baseline; gap: 6px; flex: none; }
.ec-ppp__big strong { font: 400 52px/1 var(--ec-font-display); }
.ec-ppp__big span { font-size: 13px; font-weight: 800; line-height: 1.1; text-transform: uppercase; }
.ec-ppp__txt { display: grid; gap: 2px; font-size: 14px; line-height: 1.35; color: #e6e6e6; }
.ec-ppp__txt strong { color: #fff; font-size: 15px; }
.ec-ppp__txt b { color: #fff; }
.ec-ppp__info { padding: 0; border: 0; background: none; color: #fff; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; }
.ec-ppp__how { color: #cfcfcf; }
.ec-ppp__how[hidden] { display: none; }

.ec-offers3 { margin: 0 0 14px; padding: 0; border: 0; min-width: 0; }
.ec-offers3 legend { float: none; width: auto; margin: 0 0 8px; padding: 0; font: 400 24px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.4px; }
.ec-offers3 legend small { display: block; margin-top: 4px; color: var(--ec-muted); font: 600 14px/1.3 var(--ec-font-body); text-transform: none; letter-spacing: 0; }
.ec-offers3__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ec-offer3 { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 6px 10px; border: 2px solid var(--ec-line); border-radius: var(--ec-radius); background: #fff; text-align: center; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.ec-offer3 input { position: absolute; opacity: 0; pointer-events: none; }
.ec-offer3:hover { border-color: var(--ec-ink); }
.ec-offer3:has(input:checked) { border-color: var(--ec-ink); box-shadow: 0 0 0 2px var(--ec-ink); }
.ec-offer3:has(input:checked)::after { content: "✓"; position: absolute; right: 6px; top: 26px; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--ec-ink); color: #fff; font-size: 12px; font-weight: 800; }
.ec-offer3__badge { align-self: stretch; margin: 0 -6px 8px; padding: 4px 4px; border-radius: 2px 2px 0 0; background: var(--ec-surface); color: var(--ec-ink); font-size: 12px; font-weight: 800; letter-spacing: 0.3px; text-transform: uppercase; }
.ec-offer3__badge--none { background: transparent; }
.ec-offer3__badge--best { background: var(--ec-ok); color: #fff; }
.ec-offer3__qty { font-weight: 800; font-size: 14px; }
.ec-offer3__unit { font: 400 34px/1 var(--ec-font-display); }
.ec-offer3__unit small { font: 600 12px var(--ec-font-body); color: var(--ec-muted); }
.ec-offer3__line { color: var(--ec-muted); font-size: 13px; font-weight: 700; }
.ec-offer3__save { margin-top: 4px; padding: 3px 6px; border-radius: 999px; background: var(--ec-ok-soft); color: var(--ec-ok); font-size: 12px; font-weight: 800; line-height: 1.2; }
.ec-offer3__save--none { background: transparent; }

.ec-buybox__add { width: 100%; min-height: 60px; gap: 10px; font-size: 19px; }
.ec-buybox__add b { margin-left: 6px; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.5); font-weight: 800; }
.ec-nudge { min-height: 22px; margin: 10px 0 0; font-size: 14px; font-weight: 700; color: var(--ec-ok); }
.ec-nudge button { padding: 0; border: 0; background: none; color: var(--ec-ink); font: inherit; font-weight: 800; text-decoration: underline; cursor: pointer; }

.ec-trust { display: grid; gap: 0; margin: 16px 0 0; padding: 0; list-style: none; border: 1px solid var(--ec-line); border-radius: var(--ec-radius); overflow: hidden; }
.ec-trust li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-top: 1px solid var(--ec-line); }
.ec-trust li:first-child { border-top: 0; }
.ec-trust svg { flex: none; color: var(--ec-ink); }
.ec-trust strong { display: block; font-size: 15px; line-height: 1.2; }
.ec-trust span { font-size: 13px; color: var(--ec-muted); line-height: 1.3; }
.ec-trust a { color: var(--ec-ink); font-weight: 700; text-decoration: underline; }

.ec-related { margin-top: 40px; margin-bottom: 20px; }
.ec-related__title { margin: 0 0 4px; font: 400 40px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-related__sub { margin: 0 0 18px; color: var(--ec-muted); }
.ec-pgrid--related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ec-pgrid--related { grid-template-columns: repeat(auto-fit, minmax(230px, 280px)); } }

/* Barre d'achat qui suit le défilement */
.ec-stickybuy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1030; padding: 10px 0; background: #fff; box-shadow: 0 -6px 24px rgba(24, 24, 24, 0.18); transform: translateY(110%); transition: transform 0.22s ease; }
.ec-stickybuy:not([hidden]).is-on { transform: translateY(0); }
.ec-stickybuy[hidden] { display: none; }
.ec-stickybuy__inner { display: flex; align-items: center; gap: 12px; }
.ec-stickybuy__img { flex: none; width: 48px; height: 48px; object-fit: contain; border-radius: var(--ec-radius-sm); background: var(--ec-surface); }
.ec-stickybuy__txt { flex: 1 1 auto; min-width: 0; display: grid; line-height: 1.25; }
.ec-stickybuy__txt strong { overflow: hidden; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }
.ec-stickybuy__txt > span { font-size: 14px; color: var(--ec-muted); }
.ec-stickybuy__txt b { color: var(--ec-ink); font-size: 18px; }
.ec-stickybuy__btn { flex: none; min-height: 48px; padding: 0 22px; }
@media (max-width: 767.98px) { .ec-stickybuy__txt strong { display: none; } .ec-stickybuy__btn { padding: 0 18px; } body#product { padding-bottom: 76px; } }
@media (min-width: 768px) { .ec-bprice__amount { font-size: 64px; } .ec-offer3__unit { font-size: 38px; } }
.ec-trust li::before { content: none !important; }
.product__name { font: 400 36px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
@media (min-width: 992px) { .product__name { font-size: 46px; } }
.ec-compat__group ul { max-height: 280px; overflow-y: auto; }
@media (max-width: 480px) {
  .ec-offer3 { padding-bottom: 8px; }
  .ec-offer3__unit { font-size: 27px; white-space: nowrap; }
  .ec-offer3__unit small { display: none; }
  .ec-offer3__badge { min-height: 34px; display: grid; place-items: center; font-size: 11px; }
  .ec-offer3__badge--none { min-height: 34px; }
  .ec-offer3__save { font-size: 11px; }
  .ec-offer3__qty { font-size: 13px; }
  .ec-buybox__add { font-size: 16px; gap: 6px; padding: 0 10px; }
  .ec-buybox__add svg { display: none; }
  .ec-buybox__add b { margin-left: 4px; padding-left: 8px; white-space: nowrap; }
  .ec-bprice__amount { font-size: 48px; }
}


/* =====================================================================
   Panier et tunnel : même langage que le reste (anthracite, orange seulement pour l'action), plus de bleu
   ===================================================================== */
:root { --bs-primary: #181818; --bs-primary-rgb: 24, 24, 24; --bs-info: #181818; }
.bg-primary, .badge.bg-primary { background-color: var(--ec-ok) !important; color: #fff !important; }
.text-primary { color: var(--ec-ink) !important; }
body#cart, body#checkout, body#order-confirmation { background: var(--ec-surface); }

body#cart .ec-cart__title, body#checkout .checkout-step__title, body#checkout h1, body#checkout .h1 { font-family: var(--ec-font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.3px; }
body#cart .ec-cart__title { font-size: 44px; line-height: 1; }
body#cart .ec-cart__title small { font: 700 20px var(--ec-font-body); color: var(--ec-muted); }
body#cart .cart-grid__aside-wrapper { position: sticky; top: 16px; padding: 18px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.12); }
body#cart .cart-grid__aside-wrapper > h2 { margin: 0 0 8px; font: 400 30px/1 var(--ec-font-display); text-transform: uppercase; }
body#cart .cart-grid__aside-wrapper .btn-primary, body#cart .cart-grid__aside-wrapper .ec-btn { width: 100%; min-height: 56px; font-size: 18px; }
body#cart .product-line, body#cart .cart-product-line, body#cart .ec-cartline { border-radius: var(--ec-radius); box-shadow: 0 2px 10px rgba(24, 24, 24, 0.1); }
.ec-trust--cart { margin-top: 14px; }
.ec-trust--cart li { padding: 10px 12px; }

/* Barre « Commander » fixe sur mobile pour que l'action reste toujours sous le pouce */
@media (max-width: 991.98px) {
  body#cart .cart-grid__aside-wrapper { position: static; }
  body#cart .cart-summary .cart-detailed-actions, body#cart .cart-detailed-actions { position: sticky; bottom: 0; z-index: 20; margin: 0 -18px -18px; padding: 10px 18px; background: #fff; box-shadow: 0 -6px 18px rgba(24, 24, 24, 0.14); }
}

/* Tunnel : formulaires lisibles et gros champs */
body#checkout .checkout-step { margin-bottom: 14px; border: 0; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.1); }
body#checkout .form-control, body#checkout .form-select { min-height: 52px; border: 1.5px solid var(--ec-border); border-radius: var(--ec-radius-btn); font-size: 16px; }
body#checkout .form-control:focus, body#checkout .form-select:focus { border-color: var(--ec-ink); box-shadow: 0 0 0 3px rgba(24, 24, 24, 0.15); }
body#checkout .form-check-input { width: 1.3em; height: 1.3em; border: 1.5px solid var(--ec-border); }
body#checkout .form-check-input:checked { background-color: var(--ec-ink); border-color: var(--ec-ink); }
body#checkout .form-label, body#checkout label { font-weight: 700; }
body#checkout .cart-summary, body#checkout .cart-grid__aside-wrapper { border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.1); }
body#checkout .delivery-option, body#checkout .payment-option { margin-bottom: 10px; padding: 14px; border: 1.5px solid var(--ec-line); border-radius: var(--ec-radius); background: #fff; }
body#checkout .delivery-option:has(input:checked), body#checkout .payment-option:has(input:checked) { border-color: var(--ec-ink); box-shadow: 0 0 0 1px var(--ec-ink); }
body#checkout .btn-primary, body#checkout button[type="submit"].btn { min-height: 56px; font-size: 18px; }
@media (max-width: 767.98px) { body#checkout .checkout-step .btn-primary, body#checkout #payment-confirmation .btn { width: 100%; } }

.ec-bands { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; }
.ec-bands .ec-chip { min-height: 40px; cursor: pointer; }
.ec-bands .ec-chip.is-on { border-color: var(--ec-ink); background: var(--ec-ink); color: #fff; }
.ec-tile[hidden] { display: none; }

.ec-tile__logo { display: block; width: auto; height: 38px; margin-bottom: 8px; mix-blend-mode: multiply; }
.ec-tile--brand { flex-direction: column; align-items: flex-start; }

/* =====================================================================
   Formulaires et pages secondaires (connexion, compte, contact, pages CMS, 404)
   ===================================================================== */
.form-control, .form-select { min-height: 52px; border: 1.5px solid var(--ec-border); border-radius: var(--ec-radius-btn); font-size: 16px; }
.form-control:focus, .form-select:focus { border-color: var(--ec-ink); box-shadow: 0 0 0 3px rgba(24, 24, 24, 0.15); }
.form-label, label { font-weight: 700; }
.form-check-input { width: 1.25em; height: 1.25em; border: 1.5px solid var(--ec-border); }

body#authentication main, body#registration main, body#password main { background: var(--ec-surface); }
body#authentication .page-content, body#registration .page-content, body#password .page-content, body#contact .page-content, body#cms .page-content, body#pagenotfound .page-content {
  max-width: 640px; margin: 24px auto 40px; padding: 24px 20px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.12);
}
body#cms .page-content, body#contact .page-content { max-width: 920px; }
body#authentication h1, body#registration h1, body#password h1, body#contact h1, body#cms h1, body#pagenotfound h1, .page-title, .page-header h1 {
  font-family: var(--ec-font-display); font-weight: 400; font-size: 44px; line-height: 1; text-transform: uppercase; letter-spacing: 0.3px;
}
body#authentication .page-content h2, body#cms h2, body#contact h2 { font-family: var(--ec-font-display); font-weight: 400; text-transform: uppercase; letter-spacing: 0.3px; font-size: 30px; line-height: 1.05; }
body#authentication .btn-primary, body#registration .btn-primary, body#contact .btn-primary { min-width: 180px; min-height: 52px; }
body#authentication .no-account a { display: flex; align-items: center; justify-content: center; min-height: 52px; border: 2px solid var(--ec-ink); border-radius: var(--ec-radius-btn); color: var(--ec-ink); font-weight: 800; text-decoration: none; }
body#authentication .no-account a:hover { background: var(--ec-ink); color: #fff; }
body#cms .page-content a { color: var(--ec-ink); text-decoration: underline; text-underline-offset: 2px; }
body#cms .page-content table { width: 100%; border-collapse: collapse; }
body#cms .page-content th, body#cms .page-content td { padding: 10px 12px; border: 1px solid var(--ec-line); }
/* Compte client */
body#my-account .page-content, body#history .page-content, body#addresses .page-content, body#identity .page-content, body#order-detail .page-content { max-width: 960px; margin-left: auto; margin-right: auto; }
.page-my-account .links a, #my-account .links a, .account-link { border-radius: var(--ec-radius); box-shadow: 0 2px 10px rgba(24, 24, 24, 0.12); }
/* Confirmation de commande */
body#order-confirmation .page-content, body#order-confirmation #content { max-width: 920px; margin: 24px auto; }
body#cms .page-content h1 { font-size: 34px; }


/* Listings : cartes plus grandes (4 par ligne au maximum) */
.ec-pgrid--listing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .ec-pgrid--listing { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); } }
@media (min-width: 1200px) { .ec-pgrid--listing { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 420px) { .ec-pgrid--listing { grid-template-columns: 1fr; } }

/* Imprimantes compatibles : toutes les séries ouvertes, modèles en pastilles qui se suivent (plus de liste à dérouler) */
.ec-compat__groups { display: grid; grid-template-columns: 1fr; gap: 14px; }
.ec-compat__group { padding: 0 16px 14px; }
.ec-compat__group summary { pointer-events: none; cursor: default; list-style: none; min-height: 48px; }
.ec-compat__group summary::-webkit-details-marker, .ec-compat__group summary::marker { display: none; content: ""; }
.ec-compat__group ul { display: flex; flex-wrap: wrap; gap: 8px; max-height: none; overflow: visible; margin: 0; padding: 0; }
.ec-compat__group li { border: 0; }
.ec-compat__group li a { min-height: 40px; padding: 0 14px; border: 1px solid var(--ec-line); border-radius: var(--ec-radius-btn); background: #fff; font-size: 14px; font-weight: 600; }
.ec-compat__group li a:hover { border-color: var(--ec-ink); background: #fff; }
.ec-compat__group li[hidden] { display: none; }
@media (min-width: 768px) { .ec-compat__groups { grid-template-columns: 1fr; } }


/* =====================================================================
   Page marque de consommables (Epson, HP, Canon…) : inspirée des meilleures pages marque, adaptée à nos données
   ===================================================================== */
.ec-bhero { padding: 24px 0 28px; background: var(--ec-surface); color: var(--ec-ink); overflow: hidden; }
.ec-bhero__inner { display: grid; gap: 20px; align-items: center; }
.ec-bhero__logo { display: inline-flex; align-items: center; justify-content: center; height: 52px; margin-bottom: 12px; padding: 6px 16px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 10px rgba(24, 24, 24, 0.14); }
.ec-bhero__logo img { display: block; width: auto; height: 100%; mix-blend-mode: multiply; }
.ec-bhero__title { margin: 0; font: 400 52px/0.98 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-bhero__sub { margin: 8px 0 18px; color: var(--ec-muted); font-weight: 700; }
.ec-bhero__search { max-width: 560px; }
.ec-bhero__help { margin: 12px 0 0; }
.ec-bhero__help a { color: var(--ec-ink); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ec-bhero__shots { display: none; position: relative; height: 270px; }
.ec-bhero__shot { position: absolute; width: 190px; height: 190px; padding: 8px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 8px 24px rgba(24, 24, 24, 0.22); }
.ec-bhero__shot img { display: block; width: 100%; height: 100%; object-fit: contain; }
.ec-bhero__shot--1 { left: 0; top: 40px; transform: rotate(-5deg); }
.ec-bhero__shot--2 { left: 100px; top: 0; transform: rotate(3deg); z-index: 1; }
.ec-bhero__shot--3 { left: 200px; top: 60px; transform: rotate(-2deg); }
@media (min-width: 768px) { .ec-bhero { padding: 40px 0; } .ec-bhero__inner { grid-template-columns: minmax(0, 1fr) 460px; gap: 32px; } .ec-bhero__title { font-size: 84px; } .ec-bhero__shots { display: block; } }
@media (min-width: 1200px) { .ec-bhero__inner { grid-template-columns: minmax(0, 1fr) 520px; } .ec-bhero__shot { width: 210px; height: 210px; } .ec-bhero__shot--2 { left: 115px; } .ec-bhero__shot--3 { left: 230px; } }

.ec-brand__body { padding-top: 24px; padding-bottom: 56px; }
.ec-bperks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 8px; padding: 0; list-style: none; }
.ec-bperks li { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-bperks svg { flex: none; }
.ec-bperks strong { display: block; font-size: 15px; line-height: 1.2; }
.ec-bperks span { font-size: 13px; color: var(--ec-muted); line-height: 1.3; }
@media (min-width: 768px) { .ec-bperks { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.ec-bsection__title { margin: 36px 0 6px; font: 400 34px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-bsection__sub { margin: 0 0 14px; color: var(--ec-muted); }
@media (min-width: 768px) { .ec-bsection__title { font-size: 48px; } }
.ec-pgrid--best { margin-top: 12px; }

.ec-reftiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.ec-reftile { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; min-height: 108px; padding: 14px 40px 12px 14px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 10px rgba(24, 24, 24, 0.14); color: var(--ec-ink); text-decoration: none; }
.ec-reftile:hover { box-shadow: 0 8px 22px rgba(24, 24, 24, 0.2); color: var(--ec-ink); }
.ec-reftile__ref { font: 400 30px/1 var(--ec-font-display); letter-spacing: 0.3px; text-transform: uppercase; }
.ec-reftile__nick { font-weight: 800; font-size: 15px; line-height: 1.2; }
.ec-reftile__count { margin-top: auto; padding-top: 6px; color: var(--ec-muted); font-size: 13px; font-weight: 700; }
.ec-reftile__chev { position: absolute; right: 12px; top: 14px; color: var(--ec-muted); }
@media (min-width: 768px) { .ec-reftiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 1200px) { .ec-reftiles { grid-template-columns: repeat(5, minmax(0, 1fr)); } }


/* =====================================================================
   Avis clients (note Google) : étoiles, ligne de note, bandeau d'accueil
   ===================================================================== */
.ec-stars { --p: 100%; display: inline-block; font-size: 18px; line-height: 1; letter-spacing: 2px; background: linear-gradient(90deg, #fbbc04 var(--p), #d2d2d2 var(--p)); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.ec-stars--lg { font-size: 28px; }
.ec-rating { display: inline-flex; align-items: center; gap: 8px; color: var(--ec-ink); font-size: 14px; text-decoration: none; }
.ec-rating:hover { color: var(--ec-ink); }
.ec-rating:hover .ec-rating__txt { text-decoration: underline; }
.ec-rating--product { margin-bottom: 8px; font-size: 15px; }
.ec-rating--bar { color: #fff; font-size: 13px; font-weight: 700; }
.ec-rating--bar:hover { color: #fff; }
.ec-topbar__inner .ec-topbar__rating { padding-left: 0; border-left: 0; }
.ec-cartrating { margin: 12px 0 0; }
.ec-reviewsband { display: grid; gap: 14px; align-items: center; padding: 22px 20px; border-radius: var(--ec-radius); background: var(--ec-dark); color: #fff; }
.ec-reviewsband__score { display: flex; align-items: baseline; gap: 4px; }
.ec-reviewsband__score strong { font: 400 84px/0.9 var(--ec-font-display); }
.ec-reviewsband__score span { font: 400 32px var(--ec-font-display); color: #d2d2d2; }
.ec-reviewsband__title { margin: 6px 0 4px; font: 400 34px/1 var(--ec-font-display); text-transform: uppercase; }
.ec-reviewsband p { margin: 0; color: #e6e6e6; }
.ec-btn--dark { background: #fff; color: var(--ec-ink); }
.ec-btn--dark:hover { color: var(--ec-ink); }
@media (min-width: 768px) { .ec-reviewsband { grid-template-columns: auto minmax(0, 1fr) auto; gap: 28px; padding: 28px 32px; } .ec-reviewsband__score strong { font-size: 110px; } .ec-reviewsband__title { font-size: 44px; } }


/* =====================================================================
   Panier : étapes, panier vide, livraison estimée, suggestions
   ===================================================================== */
.ec-stepsbar { display: flex; gap: 6px; margin: 0 0 14px; padding: 0; list-style: none; font-size: 13px; font-weight: 700; color: var(--ec-muted); }
.ec-stepsbar li { display: flex; align-items: center; gap: 6px; flex: 1 1 0; padding: 8px 10px; border-radius: var(--ec-radius-btn); background: rgba(24, 24, 24, 0.06); }
.ec-stepsbar li span { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: #bbb; color: #fff; font-size: 12px; }
.ec-stepsbar li.is-on { background: var(--ec-ink); color: #fff; }
.ec-stepsbar li.is-on span { background: #fff; color: var(--ec-ink); }
@media (max-width: 575.98px) { .ec-stepsbar { font-size: 11px; } .ec-stepsbar li { padding: 6px; gap: 4px; justify-content: center; } }

.ec-cartempty { display: grid; justify-items: center; gap: 8px; margin: 24px 0; padding: 40px 20px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.1); text-align: center; color: var(--ec-muted); }
.ec-cartempty h2 { margin: 0; font: 400 36px/1 var(--ec-font-display); text-transform: uppercase; color: var(--ec-ink); }
.ec-cartempty p { margin: 0 0 8px; }

.ec-eta { display: grid; gap: 2px; margin: 12px 0 0; padding: 12px 14px; border-radius: var(--ec-radius); background: var(--ec-ok-soft); color: var(--ec-ok); font-size: 14px; }
.ec-eta[hidden] { display: none; }
.ec-eta span { color: var(--ec-ink); }

.ec-cartupsell { margin: 32px 0 40px; }
.ec-cartupsell__title { margin: 0 0 4px; font: 400 40px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-cartupsell__sub { margin: 0 0 16px; color: var(--ec-muted); }
.ec-drawer__actions .ec-btn--ghost { background: transparent; }


/* =====================================================================
   Tunnel de commande (refonte) : étape 1 « e-mail d'abord », étapes numérotées, choix encadrés
   ===================================================================== */
body#checkout .step { padding: 0; }
body#checkout .step__title { display: flex; align-items: center; gap: 12px; padding: 18px 20px 0; }
body#checkout .step__title hr { display: none; }
body#checkout .step__title .page-title-section { margin: 0; font: 400 30px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; color: var(--ec-ink); }
body#checkout .step .step__title::before { content: ""; display: inline-grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--ec-ink); color: #fff; font: 400 20px/1 var(--ec-font-display); }
body#checkout .step--complete .step__title::before { content: "✓"; background: var(--ec-ok); font: 800 16px/1 var(--ec-font-body); }
body#checkout .step--complete .step__title .page-title-section { font-size: 22px; color: var(--ec-muted); }
body#checkout .step:not(.step--reachable) .step__title { opacity: 0.45; }
body#checkout .step__content { padding: 14px 20px 22px; }
body#checkout .step:not(.step--current) .step__content { display: none; }
body#checkout .checkout-step { overflow: hidden; }

.ec-ck__lead { margin: 0 0 14px; color: var(--ec-muted); font-weight: 700; }
.ec-ck .form-label, .ec-ck label { font-weight: 800; }
.ec-ck .form-control { min-height: 54px; font-size: 17px; }
.ec-ck .form-text, .ec-ck .form-control-comment { font-size: 13px; color: var(--ec-muted); }
.ec-ck.is-ready:not(.is-new) .ec-f:not(.ec-f--email) { display: none; }
.ec-ck.is-ready:not(.is-new) .ec-ck__note { display: none; }
.ec-ck__actions { margin-top: 10px; }
.ec-ck__actions .ec-btn { min-height: 56px; width: 100%; font-size: 18px; }
.ec-ck__note { margin: 10px 0 0; color: var(--ec-muted); font-size: 14px; }
.ec-ck__otp { margin-top: 4px; padding: 16px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-ck__found { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 12px; }
.ec-ck__found svg { flex: none; margin-top: 2px; }
.ec-ck__otp .ec-btn { width: 100%; min-height: 54px; font-size: 17px; }
.ec-ck__codebox { margin-top: 4px; }
.ec-ck__sent { margin: 0 0 12px; font-size: 15px; }
.ec-ck__codelabel { display: block; margin-bottom: 6px; font-weight: 800; }
.ec-ck__code { display: block; width: 100%; max-width: 280px; height: 64px; padding: 0 12px; border: 2px solid var(--ec-ink); border-radius: var(--ec-radius-btn); background: #fff; font: 400 40px/1 var(--ec-font-display); letter-spacing: 10px; text-align: center; }
.ec-ck__code:focus { outline: 3px solid var(--ec-focus-ring); outline-offset: 1px; }
.ec-ck__code:disabled { opacity: 0.6; }
.ec-ck__err { margin: 10px 0 0; padding: 10px 12px; border-radius: var(--ec-radius-btn); background: var(--ec-warn-soft); color: var(--ec-warn); font-weight: 700; }
.ec-ck__err[hidden] { display: none; }
.ec-ck__resend { margin: 10px 0 0; font-size: 14px; }
.ec-ck__resend button:disabled { color: var(--ec-muted); text-decoration: none; cursor: default; }
.ec-ck__alt { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 0; font-size: 14px; color: var(--ec-muted); }
.ec-ck__alt .ec-link, .ec-ck__resend .ec-link { padding: 0; border: 0; background: none; font: inherit; font-weight: 700; color: var(--ec-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ec-ck__login { margin-top: 14px; padding: 16px; border: 1px solid var(--ec-line); border-radius: var(--ec-radius); background: #fff; }
.ec-ck__login[hidden], .ec-ck__otp[hidden], .ec-ck__codebox[hidden] { display: none; }
.ec-ck__login .btn-primary, .ec-ck__login .ec-btn { width: 100%; min-height: 52px; }
.ec-ck__logged { margin-bottom: 14px; padding: 14px 16px; border-radius: var(--ec-radius); background: var(--ec-ok-soft); }
.ec-ck__who { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--ec-ok); }
.ec-ck__who span { color: var(--ec-ink); }
.ec-ck__who small { color: var(--ec-muted); }
.ec-ck__not { margin: 6px 0 0 32px; font-size: 14px; }
.ec-ck__not a { color: var(--ec-ink); text-decoration: underline; }
@media (min-width: 768px) {
  body#checkout .step__title { padding: 22px 28px 0; }
  body#checkout .step__title .page-title-section { font-size: 38px; }
  body#checkout .step__content { padding: 16px 28px 26px; }
  .ec-ck__actions .ec-btn, .ec-ck__otp .ec-btn { width: auto; min-width: 280px; }
}
/* Étape 1 : l'e-mail en premier, le bouton en dernier (ordre visuel, le formulaire PrestaShop reste inchangé) */
.ec-ck__guest form { display: flex; flex-direction: column; }
.ec-ck__guest .ec-f { order: 0; }
.ec-ck__guest .ec-f--email { order: -1; }
.ec-ck__guest .ec-f--submit { order: 1; }

/* Numéros d'étape fixes (les étapes repliées ne sont pas affichées, un compteur CSS se tromperait) */
body#checkout #checkout-personal-information-step .step__title::before { content: "1"; }
body#checkout #checkout-addresses-step .step__title::before { content: "2"; }
body#checkout #checkout-delivery-step .step__title::before { content: "3"; }
body#checkout #checkout-payment-step .step__title::before { content: "4"; }
body#checkout .step--complete .step__title::before { content: "✓"; }
/* Formulaire d'adresse : pas d'alias ni de numéro de TVA pour un particulier (restent accessibles dans « Mon compte ») */
body#checkout .js-address-form .form-group:has(input[name="alias"]), body#checkout .js-address-form .form-group:has(input[name="vat_number"]),
body#checkout .js-address-form .mb-3:has(input[name="alias"]), body#checkout .js-address-form .mb-3:has(input[name="vat_number"]),
body#checkout form[data-ps-action="address-form"] .mb-3:has(input[name="alias"]), body#checkout form .ec-addr-hide { display: none; }
body#checkout .address-form .form-text, body#checkout .form-control-comment { font-size: 12px; }

/* Récapitulatif du tunnel (colonne de droite) */
body#checkout .checkout__summary-accordion-header { display: none; }
body#checkout .checkout__summary-accordion-wrapper, body#checkout .checkout__summary-accordion-item { border: 0; background: transparent; box-shadow: none; }
body#checkout .checkout-grid__aside-wrapper { position: sticky; top: 16px; padding: 0; background: transparent; box-shadow: none; }
.ec-sum { padding: 18px 18px 16px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.12); }
.ec-sum__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.ec-sum__title { margin: 0; font: 400 30px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-sum__edit { color: var(--ec-ink); font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ec-sum__products { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.ec-sum__product { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.ec-sum__img { position: relative; display: block; width: 56px; height: 56px; border-radius: var(--ec-radius-sm); background: var(--ec-surface); }
.ec-sum__img img { display: block; width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.ec-sum__qty { position: absolute; top: -6px; right: -6px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border-radius: 11px; background: var(--ec-ink); color: #fff; font-size: 12px; font-weight: 800; }
.ec-sum__name { display: grid; font-size: 14px; font-weight: 700; line-height: 1.25; }
.ec-sum__name small { color: var(--ec-muted); font-weight: 600; }
.ec-sum__price { font-weight: 800; white-space: nowrap; }
.ec-sum__lines { margin: 0; padding: 12px 0 0; border-top: 1px solid var(--ec-line); }
.ec-sum__line { display: flex; justify-content: space-between; gap: 12px; margin: 0 0 6px; font-size: 15px; }
.ec-sum__line dt { font-weight: 600; color: var(--ec-muted); }
.ec-sum__line dd { margin: 0; font-weight: 700; }
.ec-sum__line--discount dd { color: var(--ec-ok); }
.ec-sum__free { color: var(--ec-ok); font-weight: 800; }
.ec-sum__total { margin-top: 8px; padding-top: 12px; border-top: 2px solid var(--ec-ink); }
.ec-sum__line--total { align-items: baseline; margin: 0; }
.ec-sum__line--total dt { font: 800 16px var(--ec-font-body); color: var(--ec-ink); }
.ec-sum__line--total dt small { font-weight: 600; color: var(--ec-muted); }
.ec-sum__line--total dd { font: 400 36px/1 var(--ec-font-display); letter-spacing: 0.3px; }
.ec-sum__tax { margin: 2px 0 0; text-align: right; color: var(--ec-muted); font-size: 13px; }
.ec-sum__voucher { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ec-line); }
.ec-sum__voucher summary { list-style: none; cursor: pointer; font-size: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ec-sum__voucher summary::-webkit-details-marker { display: none; }
.ec-sum__voucher[open] summary { margin-bottom: 10px; }
.ec-sum__voucher .form-control { min-height: 46px; }
.ec-sum__voucher .btn { min-height: 46px; border-radius: var(--ec-radius-btn); }
.ec-sum__trust { display: grid; gap: 8px; margin: 14px 0 0; padding: 12px 0 0; border-top: 1px solid var(--ec-line); list-style: none; font-size: 13px; color: var(--ec-muted); }
.ec-sum__trust li { display: flex; align-items: center; gap: 8px; }
.ec-sum__trust svg { flex: none; color: var(--ec-ink); }
@media (max-width: 991.98px) { body#checkout .checkout-grid__aside-wrapper { position: static; margin-top: 16px; } }
/* En-tête réduit (panier, tunnel) en mobile : icône seule pour « paiement sécurisé », téléphone compact */
@media (max-width: 575.98px) {
  .ec-focus-header__row { gap: 8px; min-height: 56px; }
  .ec-focus-header .ec-logo__text { font-size: 24px; }
  .ec-focus-header__secure { font-size: 0; gap: 0; }
  .ec-focus-header__secure svg { width: 22px; height: 22px; }
  .ec-focus-header__help { font-size: 14px; }
}

/* Comment ça marche : illustrations fournies (720 px, numéro inclus dans l'image) */
.ec-step { background: #fff; }
.ec-step__art { display: block; width: 100%; max-width: 300px; height: auto; margin: 6px auto 0; padding: 0; }
.ec-step__title { justify-content: center; padding-top: 6px; text-align: center; }
.ec-step p { text-align: center; }
@media (min-width: 768px) { .ec-step__art { max-width: 320px; } }


/* En-tête toujours visible au défilement : la fine bande noire se replie, l'orange et le menu restent */
#header { position: sticky; top: 0; z-index: 1030; background: var(--ec-bg); transition: box-shadow 0.2s; }
#header.is-scrolled { box-shadow: 0 6px 20px rgba(24, 24, 24, 0.18); }
#header.is-scrolled .ec-topbar { display: none !important; }
#header.is-scrolled .ec-header__row { padding-top: 8px; padding-bottom: 8px; }
@media (min-width: 768px) { #header.is-scrolled .ec-logo img, #header.is-scrolled .ec-logo__text { font-size: 30px; } #header.is-scrolled .ec-nav__list { padding: 3px 0; } }
.ec-post__body h2, .ec-post__body h3, .ec-post__body h4, .ec-pfaq details, .ec-compat { scroll-margin-top: 140px; }


/* =====================================================================
   Page FAQ (/faq)
   ===================================================================== */
.ec-faqpage__hero { padding: 28px 0 22px; background: var(--ec-surface); }
.ec-faqpage__title { margin: 0 0 6px; font: 400 48px/0.98 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-faqpage__lead { margin: 0 0 16px; color: var(--ec-muted); font-size: 17px; }
.ec-faqpage__search { max-width: 640px; }
.ec-faqpage__search .ec-search__input { border-right: 2px solid var(--ec-ink); border-radius: var(--ec-radius-btn); background: #fff; }
.ec-faqpage__topics { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ec-faqpage__topics .ec-chip small { margin-left: 4px; color: var(--ec-muted); }
.ec-faqpage__body { padding: 8px 0 56px; }
.ec-faqpage__topic { margin-top: 32px; scroll-margin-top: 130px; }
.ec-faqpage__topic[hidden] { display: none; }
.ec-faqpage__h2 { margin: 0 0 10px; font: 400 32px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-faqpage__item { border-bottom: 1px solid var(--ec-line); }
.ec-faqpage__item[hidden] { display: none; }
.ec-faqpage__item summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding: 8px 0; font-weight: 800; font-size: 16px; cursor: pointer; list-style: none; }
.ec-faqpage__item summary::-webkit-details-marker { display: none; }
.ec-faqpage__item summary::after { content: "+"; flex: none; font: 400 28px/1 var(--ec-font-display); color: var(--ec-muted); }
.ec-faqpage__item[open] summary::after { content: "−"; }
.ec-faqpage__answer { max-width: 820px; padding: 0 0 18px; color: var(--ec-muted); line-height: 1.6; }
.ec-faqpage__answer b, .ec-faqpage__answer strong { color: var(--ec-ink); }
.ec-faqpage__answer a { color: var(--ec-ink); text-decoration: underline; }
.ec-faqpage__answer ul, .ec-faqpage__answer ol { padding-left: 22px; }
.ec-faqpage__none { margin: 24px 0 0; padding: 14px 16px; border-radius: var(--ec-radius); background: var(--ec-warn-soft); color: var(--ec-warn); font-weight: 700; }
.ec-faqpage__none[hidden] { display: none; }
.ec-faqpage__none a { color: inherit; }
.ec-faqpage__cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 40px; padding: 20px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-faqpage__cta > div { flex: 1 1 320px; }
.ec-faqpage__cta p { margin: 4px 0 0; color: var(--ec-muted); }
@media (min-width: 768px) { .ec-faqpage__hero { padding: 40px 0 28px; } .ec-faqpage__title { font-size: 72px; } .ec-faqpage__h2 { font-size: 40px; } }


/* Bannière cookies */
.ec-cookies { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; padding: 14px 0; background: #fff; box-shadow: 0 -8px 28px rgba(24, 24, 24, 0.22); border-top: 4px solid var(--ec-accent); }
.ec-cookies[hidden] { display: none; }
.ec-cookies__inner { display: grid; gap: 12px; }
.ec-cookies__txt { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ec-ink); }
.ec-cookies__txt strong { display: block; font: 400 22px/1 var(--ec-font-display); text-transform: uppercase; margin-bottom: 4px; }
.ec-cookies__txt a { color: var(--ec-ink); font-weight: 700; text-decoration: underline; }
.ec-cookies__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ec-cookies__actions .ec-btn { min-height: 48px; }
.ec-footer__cookies { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
@media (min-width: 768px) { .ec-cookies__inner { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; } .ec-cookies__actions { grid-template-columns: auto auto; } .ec-cookies__actions .ec-btn { min-width: 160px; } }
body.ec-has-cookies .ec-stickybuy { bottom: 110px; }

/* Avis produits (module ecreviews) : étoiles et bloc d'avis dans la charte */
.ecm-stars { display: inline-flex; align-items: center; gap: 8px; color: var(--ec-ink); font-size: 14px; font-weight: 700; text-decoration: none; }
.ecm-stars:hover { color: var(--ec-ink); text-decoration: underline; }
.ecm-stars__bar { position: relative; display: inline-block; width: 86px; height: 16px; background: linear-gradient(90deg, #d2d2d2 0 100%); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M10 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L10 15.3 4.3 18.5l1.3-6.4L.8 7.7l6.4-.7zM30 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L30 15.3l-5.7 3.2 1.3-6.4-4.8-4.4 6.4-.7zM50 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L50 15.3l-5.7 3.2 1.3-6.4-4.8-4.4 6.4-.7zM70 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L70 15.3l-5.7 3.2 1.3-6.4-4.8-4.4 6.4-.7zM90 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L90 15.3l-5.7 3.2 1.3-6.4-4.8-4.4 6.4-.7z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 20'%3E%3Cpath d='M10 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L10 15.3 4.3 18.5l1.3-6.4L.8 7.7l6.4-.7zM30 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L30 15.3l-5.7 3.2 1.3-6.4-4.8-4.4 6.4-.7zM50 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L50 15.3l-5.7 3.2 1.3-6.4-4.8-4.4 6.4-.7zM70 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L70 15.3l-5.7 3.2 1.3-6.4-4.8-4.4 6.4-.7zM90 1l2.8 6 6.4.7-4.8 4.4 1.3 6.4L90 15.3l-5.7 3.2 1.3-6.4-4.8-4.4 6.4-.7z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.ecm-stars__fill { position: absolute; left: 0; top: 0; bottom: 0; background: #fbbc04; }
.ecm-stars__count { color: var(--ec-muted); font-weight: 600; }
.ec-pcard__stars { min-height: 0; margin: 2px 0 4px; font-size: 13px; }
.ec-pcard__stars .ecm-stars__bar { width: 72px; height: 14px; }
.ec-pcard__stars:empty { display: none; }
.ec-rating--ecm { margin-bottom: 8px; font-size: 15px; }
.ec-reviews-wrap:empty { display: none; }
.ecm-reviews { margin: 36px 0; padding-top: 24px; border-top: 1px solid var(--ec-line); }
.ecm-reviews h2 { margin: 0 0 12px; font: 400 34px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ecm-reviews__head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 16px; padding: 14px 16px; border-radius: var(--ec-radius); background: var(--ec-surface); font-weight: 700; }
.ecm-reviews__score { font: 400 44px/1 var(--ec-font-display); }
.ecm-reviews__score small { font-size: 22px; color: var(--ec-muted); }
.ecm-reviews__head .ecm-stars__bar { width: 110px; height: 20px; }
.ecm-review { padding: 14px 0; border-bottom: 1px solid var(--ec-line); }
.ecm-review__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--ec-muted); font-size: 14px; }
.ecm-review__meta .ecm-stars__bar { width: 80px; height: 15px; }
.ecm-review__title { margin-top: 6px; font-weight: 800; }
.ecm-review p { margin: 6px 0 0; line-height: 1.55; }
.ecm-review__reply { margin-top: 10px; padding: 10px 12px; border-left: 3px solid var(--ec-accent); background: var(--ec-surface); font-size: 14px; }
.ec-section--storereviews .ecm-reviews { margin: 0; padding-top: 0; border-top: 0; }
.ec-section--storereviews .ecm-reviews h2 { text-align: center; font-size: 36px; margin-bottom: 18px; }
.ecm-reviews--store .ecm-reviews__list { display: grid; gap: 12px; grid-template-columns: 1fr; }
.ecm-reviews--store .ecm-review { padding: 16px 18px; border: 0; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 10px rgba(24, 24, 24, 0.1); }
.ecm-reviews--store .ecm-review p { font-size: 16px; }
.ecm-reviews--store .ecm-review__who { font-weight: 700; color: var(--ec-ink); }
@media (min-width: 768px) { .ecm-reviews--store .ecm-reviews__list { grid-template-columns: repeat(2, 1fr); } .ecm-reviews h2 { font-size: 46px; } }
@media (min-width: 1100px) { .ecm-reviews--store .ecm-reviews__list { grid-template-columns: repeat(4, 1fr); } }

/* Preuve sociale de la fiche produit (chiffres réels des commandes) */
.ec-social { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ec-ink); }
.ec-social svg { color: var(--ec-accent); flex: none; }

/* Espace client : tableau de bord et « Mes imprimantes » (module ecaccount) */
.ec-dash__top { display: grid; gap: 16px; grid-template-columns: 1fr; margin-bottom: 24px; }
@media (min-width: 992px) { .ec-dash__top { grid-template-columns: 1fr 1fr; } }
.ec-dash__card { padding: 20px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-dash__h2, .ec-acc__h2 { margin: 0 0 12px; font: 400 28px/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-dash__card p { margin: 0 0 12px; color: var(--ec-muted); }
.ec-dash__printers { list-style: none; margin: 0 0 12px; padding: 0; }
.ec-dash__printers li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 10px 12px; margin-bottom: 8px; border-radius: var(--ec-radius); background: #fff; font-weight: 700; }
.ec-dash__printers li a { color: var(--ec-ink); text-decoration: none; }
.ec-dash__printers li span { font-size: 13px; font-weight: 600; color: var(--ec-muted); }
.ec-dash__tiles { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .ec-dash__tiles { grid-template-columns: repeat(3, 1fr); } }
.ec-dash__tile { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--ec-line); border-radius: var(--ec-radius); color: var(--ec-ink); text-decoration: none; transition: border-color 0.15s, transform 0.15s; }
.ec-dash__tile:hover { border-color: var(--ec-ink); transform: translateY(-2px); color: var(--ec-ink); text-decoration: none; }
.ec-dash__tile strong { font-size: 16px; }
.ec-dash__tile span { font-size: 13px; color: var(--ec-muted); }
.ec-dash__signout { display: inline-block; margin-top: 24px; }
.ec-lastorder__head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; font-size: 14px; color: var(--ec-muted); }
.ec-lastorder__head strong { color: var(--ec-ink); font-size: 16px; }
.ec-lastorder__items { list-style: none; margin: 0 0 14px; padding: 0; }
.ec-lastorder__item { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--ec-line); font-size: 14px; }
.ec-lastorder__item img { width: 48px; height: 48px; object-fit: contain; border-radius: 4px; background: #fff; flex: none; }
.ec-lastorder__item.is-off { opacity: 0.55; }
.ec-lastorder__name { flex: 1; }
.ec-lastorder__name a { color: var(--ec-ink); text-decoration: none; }
.ec-lastorder__qty { font-weight: 700; white-space: nowrap; }
.ec-lastorder__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; }
.ec-acc__lead { color: var(--ec-muted); }
.ec-acc__printers { list-style: none; margin: 0 0 14px; padding: 0; }
.ec-acc__printer { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding: 12px 14px; margin-bottom: 8px; border: 1px solid var(--ec-line); border-radius: var(--ec-radius); }
.ec-acc__picto { color: var(--ec-accent); display: inline-flex; }
.ec-acc__printername { flex: 1; min-width: 160px; font-weight: 800; }
.ec-acc__remove { margin: 0; }
.ec-acc__empty { display: flex; flex-direction: column; gap: 4px; padding: 16px; margin-bottom: 14px; border-radius: var(--ec-radius); background: var(--ec-surface); color: var(--ec-muted); }
.ec-acc__empty strong { color: var(--ec-ink); }
.ec-acc__add { margin-bottom: 28px; }
.ec-acc__reorder { padding-top: 24px; border-top: 1px solid var(--ec-line); }
.ec-btn--sm { padding: 8px 14px; font-size: 14px; }
.ec-link--muted { color: var(--ec-muted); background: none; border: 0; padding: 0; font: inherit; text-decoration: underline; cursor: pointer; }
.account-menu__link .ec-count { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 6px; border-radius: 10px; background: var(--ec-select); color: var(--ec-on-select); font-size: 12px; font-weight: 800; text-align: center; }
.order-history__cell--actions .btn + .btn { margin-left: 6px; }


/* Accueil personnalisé (imprimante du client) */
.ec-myhome { padding: 22px 0 10px; background: var(--ec-surface); border-bottom: 1px solid var(--ec-line); }
.ec-myhome__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 10px 24px; margin-bottom: 16px; }
.ec-myhome__hello { display: block; margin-bottom: 4px; font-size: 14px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--ec-muted); }
.ec-myhome__title { margin: 0; font: 400 clamp(30px, 5vw, 46px)/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-myhome__title a { color: var(--ec-ink); text-decoration: underline; text-decoration-color: var(--ec-accent); text-decoration-thickness: 4px; text-underline-offset: 5px; }
.ec-myhome__printers { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ec-myhome__grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 992px) { .ec-myhome__grid { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.ec-myhome__all { margin: 12px 0 0; text-align: right; font-weight: 700; }
.ec-myhome__order { margin: 22px 0 8px; padding: 18px 20px; border-radius: var(--ec-radius); background: #fff; }
.ec-myhome__h3 { margin: 0 0 10px; font: 400 26px/1 var(--ec-font-display); text-transform: uppercase; }
/* Le client connu n'a pas besoin du mode d'emploi ni des références vedettes : ses cartouches sont déjà en haut. */
body.has-myhome .ec-section--howto, body.has-myhome .ec-section--refs { display: none; }

/* Page « Avis clients » : bloc de la note Google */
.ec-gscore { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin: 20px 0 28px; padding: 18px 22px; border-radius: var(--ec-radius); background: var(--ec-surface); }
.ec-gscore__num { font: 400 64px/1 var(--ec-font-display); color: var(--ec-ink); }
.ec-gscore__num small { font-size: 28px; color: var(--ec-muted); }
.ec-gscore__body { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 180px; }
.ec-gscore .ec-stars { font-size: 26px; }
.ec-gscore__txt { font-size: 16px; }

/* Visuels des cartes produit : cadre carré, le visuel (boîte 3D carrée) occupe toute la largeur de la carte au lieu d'un bandeau de 150-190 px */
.ec-pcard__img { aspect-ratio: 1 / 1; overflow: hidden; }
.ec-pcard__img img { height: 100%; }
@media (min-width: 768px) { .ec-pcard__img img { height: 100%; } }
/* Accueil personnalisé placé sous le diaporama : bloc sur fond clair, séparé du diaporama */
.ec-myhome { margin-top: 0; border-top: 0; }

/* Client connecté : pastille à ses initiales dans l'en-tête (ordinateur : « Bonjour Prénom » ; mobile : la pastille seule) */
.ec-avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ec-ink); color: #fff; font: 400 13px/1 var(--ec-font-logo); letter-spacing: 0.5px; }
.ec-header .ec-headerlink--me { gap: 8px; padding-left: 6px; }
.ec-me__name { max-width: 160px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ec-meavatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; text-decoration: none; }
.ec-meavatar .ec-avatar { width: 32px; height: 32px; background: #fff; color: var(--ec-ink); font-size: 14px; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45); }
@media (min-width: 768px) and (max-width: 1199.98px) {
  .ec-header .ec-headerlink--account span.ec-avatar { display: inline-flex !important; }
  .ec-header .ec-headerlink--me { padding: 0 5px; }
}

/* Accueil personnalisé : bandeau « Bonjour Prénom », le client se sent chez lui */
.ec-welcome { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-bottom: 16px; padding: 18px 20px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.08); }
.ec-welcome__avatar { display: inline-flex; flex: none; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: var(--ec-select); color: var(--ec-on-select); font: 400 24px/1 var(--ec-font-logo); letter-spacing: 0.5px; }
.ec-welcome__txt { flex: 1; min-width: 200px; }
.ec-welcome__eyebrow { margin: 0 0 2px; font-size: 13px; font-weight: 800; letter-spacing: 0.4px; text-transform: uppercase; color: var(--ec-muted); }
.ec-welcome__hello { margin: 0; font: 400 clamp(36px, 6vw, 56px)/1 var(--ec-font-display); text-transform: uppercase; letter-spacing: 0.3px; }
.ec-welcome__facts { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 6px 0 0; font-size: 15px; color: var(--ec-muted); }
.ec-welcome__facts span + span::before { content: "·"; margin: 0 8px; }
.ec-welcome__links { display: flex; flex-wrap: wrap; gap: 8px; }
.ec-welcome__links a { padding: 8px 14px; border: 1.5px solid var(--ec-line); border-radius: var(--ec-radius-btn); background: #fff; color: var(--ec-ink); font-weight: 800; font-size: 14px; text-decoration: none; }
.ec-welcome__links a:hover { border-color: var(--ec-ink); color: var(--ec-ink); }
@media (max-width: 575.98px) {
  .ec-welcome { padding: 16px; }
  .ec-welcome__avatar { width: 52px; height: 52px; font-size: 20px; }
  .ec-welcome__links { width: 100%; }
  .ec-welcome__links a { flex: 1; text-align: center; padding: 8px 6px; font-size: 13px; }
}
.ec-orderstrip { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 18px; padding: 12px 16px; border-radius: var(--ec-radius); background: #fff; box-shadow: 0 2px 12px rgba(24, 24, 24, 0.08); color: var(--ec-ink); text-decoration: none; }
.ec-orderstrip:hover { color: var(--ec-ink); box-shadow: 0 6px 18px rgba(24, 24, 24, 0.14); }
.ec-orderstrip__dot { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.15); }
.ec-orderstrip__txt { flex: 1; min-width: 200px; }
.ec-orderstrip__go { font-weight: 800; text-decoration: underline; }
/* Le titre « Vos cartouches pour… » passe au second plan derrière « Bonjour Prénom » */
.ec-welcome ~ .ec-myhome__head .ec-myhome__title, .ec-orderstrip ~ .ec-myhome__head .ec-myhome__title { font-size: clamp(26px, 4vw, 36px); }
.ec-myhome__hello { margin: 0 0 10px; font-size: 14px; font-weight: 700; color: var(--ec-muted); }
.ec-myhome__hello a { color: var(--ec-ink); font-weight: 800; }
/* Infos du bandeau d'accueil : texte continu, le point reste en fin de ligne quand ça passe à la ligne (mobile) */
.ec-welcome__facts { display: block; }
.ec-welcome__facts span { white-space: nowrap; }
.ec-welcome__facts span + span::before { content: none; }
.ec-welcome__facts span:not(:last-child)::after { content: " · "; white-space: pre; }

/* Clear unit reference prices and additional quantities, including narrow product cards. */
[data-ec-regular-unit] { color: #667085; font-size: .85em; font-weight: 400; margin-inline-end: .3em; }
[data-ec-regular-unit][hidden], .ec-quantity-context[hidden] { display: none !important; }
.ec-quantity-context { margin: .4rem 0 .65rem; padding: .55rem .65rem; border-radius: .4rem; background: #eef3f7; color: #344054; font-size: .8rem; line-height: 1.45; overflow-wrap: anywhere; }
.ec-pcard__price small { white-space: normal; }

/* EC checkout terms: native dialog owns its backdrop and focus trap. */
.ec-terms-read { display: inline-block; margin-inline-start: .5rem; text-decoration: underline; }
#ec-checkout-terms-dialog { color: #191919; background: #fff; border: 0; border-radius: 1rem; padding: 0; width: min(54rem, calc(100vw - 2rem)); max-height: 85vh; max-height: 85dvh; margin: auto; box-shadow: 0 1rem 3rem #0003; }
#ec-checkout-terms-dialog::backdrop { background: rgb(0 0 0 / 50%); }
.ec-terms-dialog-header { position: sticky; top: 0; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: #fff; padding: 1rem 1.5rem; border-bottom: 1px solid #d5d9df; }
.ec-terms-dialog-header h2 { font-size: 1.5rem; margin: 0; }
.ec-terms-dialog-close { flex: 0 0 auto; background: transparent; border: 0; font-size: 2rem; line-height: 1; width: 2.75rem; height: 2.75rem; cursor: pointer; }
.ec-terms-dialog-content { padding: 1.5rem; overflow-wrap: anywhere; }
