/* ============================================================
   ManoMano – Page produit DEWALT DCK266P2T
   Palette & typo officielles (@manomano/toolkit)
   ============================================================ */

:root {
  /* --- Palette officielle ManoMano --- */
  --squid-ink:      #0c193a;   /* navy : header, textes, titres */
  --blue-mood:      #0397a7;
  --balata:         #29b9ad;   /* vert/turquoise : CTA panier */
  --balata-hover:   #00dbcd;
  --arctic-citric:  #00eccd;
  --bella-notte:    #1e3c87;
  --loco-limon:     #fff950;
  --va-a-la-playa:  #ffb950;
  --coco-corail:    #e6685a;
  --kaktus:         #5ac869;   /* pastille panier */
  --mano-black:     #424242;
  --grey-med-dark:  #7c7c7c;
  --grey-darker:    #b4b4b4;
  --grey-dark:      #d4d4d4;
  --grey-med:       #e8e8e8;
  --grey-light:     #fafafa;

  /* --- Usages --- */
  --club-yellow:    #ffd100;   /* pastille Club */
  --deal-red:       #e4322b;   /* Bons Plans */
  --mint:           #a5e3d8;   /* Top Prix */
  --mint-pale:      #cdeee4;   /* badge ManoExpress */
  --cream:          #fdf0c8;   /* encart Pro */
  --link:           #10a397;
  --pad:            15px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: #fff;
  color: var(--squid-ink);
  font-family: 'Open Sans', mm-main, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
a { color: inherit; }

/* Icônes de trait (jeu Lucide) — géométrie 24×24 */
.ico {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Icônes bicolores des blocs de réassurance */
.ico-duo {
  fill: none;
  stroke: var(--squid-ink);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.ico-duo .duo { fill: var(--balata); stroke: var(--balata); }
.ico-duo .duo--solid { stroke: var(--balata); }
.ico-duo .on-duo { stroke: #fff; stroke-width: 2; }

.page {
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  min-height: 100vh;
}

.link {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.link--bold { font-weight: 700; }

/* ============ HEADER ============ */
.header {
  background: var(--squid-ink);
  color: #fff;
}

.header__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px var(--pad) 3px;
}

.logo { display: block; flex: none; }
.logo img { width: 170px; height: auto; }

.header__icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.club-badge {
  background: var(--club-yellow);
  color: var(--squid-ink);
  border-radius: 999px;
  padding: 2px 15px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  background: none;
  border: 0;
  padding: 0;
  color: #fff;
  width: 25px;
  height: 25px;
  text-decoration: none;
}
.icon-btn svg { width: 25px; height: 25px; stroke-linecap: round; stroke-linejoin: round; }

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: var(--kaktus);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 17px;
  text-align: center;
  padding: 0 4px;
}

.header__search {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 5px var(--pad) 8px;
}

.burger {
  background: none;
  border: 0;
  padding: 0;
  color: #fff;
  display: grid;
  place-items: center;
  flex: none;
}
.burger svg { width: 24px; height: 24px; }

.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 999px;
  padding: 0 17px;
  height: 40px;
  min-width: 0;
}
.search-box__icon { width: 19px; height: 19px; color: var(--squid-ink); flex: none; }
.search-box__input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 16px;
  color: var(--squid-ink);
  min-width: 0;
}
.search-box__input::placeholder { color: var(--squid-ink); opacity: .85; }

.header__nav { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.header__nav::-webkit-scrollbar { display: none; }

.nav-list {
  display: flex;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 4px var(--pad) 12px;
  white-space: nowrap;
}
.nav-list__link {
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
}


/* ============ GALERIE ============ */
.gallery { position: relative; padding: 12px 0 10px; }

.gallery__fav {
  position: absolute;
  top: 13px;
  right: var(--pad);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--grey-med);
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--squid-ink);
}
.gallery__fav svg { width: 25px; height: 25px; stroke-linecap: round; stroke-linejoin: round; }

.gallery__viewport { overflow: hidden; }
.gallery__track { display: flex; transition: transform .3s ease; }

.gallery__slide {
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  padding: 0 20px;
}
.gallery__slide img { width: 100%; height: auto; }

.gallery__counter {
  position: absolute;
  left: var(--pad);
  bottom: 22px;
  background: #fff;
  border: 1px solid var(--grey-dark);
  border-radius: 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  padding: 2px 10px;
  color: var(--squid-ink);
}

/* ============ PRODUIT ============ */
.product { padding: 14px var(--pad) 18px; }

.product__title {
  font-size: 17px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--squid-ink);
  margin: 0 0 14px;
}

.product__tags { display: flex; align-items: center; gap: 7px; margin-bottom: 18px; }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 999px;
  line-height: 1.4;
}
.tag--deal  { background: var(--deal-red); color: #fff; }
.tag--price { background: var(--mint);     color: var(--squid-ink); }
.tag__info { width: 15px; height: 15px; stroke-linecap: round; flex: none; }

.product__rating { display: flex; align-items: center; gap: 9px; margin-bottom: 22px; }

.stars {
  position: relative;
  display: inline-block;
  width: 100px;
  height: 16px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='16' viewBox='0 0 100 16'><g fill='%23d4d4d4'><path d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.2 3.5 14.6l.9-5L.8 6.1l5-.7z'/><path d='M29 .8l2.2 4.6 5 .7-3.6 3.5.9 5L29 12.2l-4.5 2.4.9-5-3.6-3.5 5-.7z'/><path d='M50 .8l2.2 4.6 5 .7-3.6 3.5.9 5L50 12.2l-4.5 2.4.9-5-3.6-3.5 5-.7z'/><path d='M71 .8l2.2 4.6 5 .7-3.6 3.5.9 5L71 12.2l-4.5 2.4.9-5-3.6-3.5 5-.7z'/><path d='M92 .8l2.2 4.6 5 .7-3.6 3.5.9 5L92 12.2l-4.5 2.4.9-5-3.6-3.5 5-.7z'/></g></svg>");
  background-repeat: no-repeat;
  background-size: 100px 16px;
  vertical-align: middle;
}
.stars__fill {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='16' viewBox='0 0 100 16'><g fill='%230c193a'><path d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.2 3.5 14.6l.9-5L.8 6.1l5-.7z'/><path d='M29 .8l2.2 4.6 5 .7-3.6 3.5.9 5L29 12.2l-4.5 2.4.9-5-3.6-3.5 5-.7z'/><path d='M50 .8l2.2 4.6 5 .7-3.6 3.5.9 5L50 12.2l-4.5 2.4.9-5-3.6-3.5 5-.7z'/><path d='M71 .8l2.2 4.6 5 .7-3.6 3.5.9 5L71 12.2l-4.5 2.4.9-5-3.6-3.5 5-.7z'/><path d='M92 .8l2.2 4.6 5 .7-3.6 3.5.9 5L92 12.2l-4.5 2.4.9-5-3.6-3.5 5-.7z'/></g></svg>");
  background-repeat: no-repeat;
  background-size: 100px 16px;
}
.stars--sm { width: 88px; height: 14px; background-size: 88px 14px; }
.stars--sm .stars__fill { background-size: 88px 14px; }

.product__reviews {
  font-size: 13px;
  color: var(--squid-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.product__price { margin-top: 4px; }
.price {
  font-size: 30px;
  font-weight: 700;
  color: var(--squid-ink);
  letter-spacing: -.4px;
}
.price__cents { font-size: 19px; font-weight: 700; }

.product__eco { margin: 5px 0 26px; font-size: 13px; color: var(--grey-med-dark); }

.product__buy { display: flex; align-items: stretch; gap: 10px; }

.qty {
  display: flex;
  align-items: stretch;
  border: 1px solid var(--grey-dark);
  border-radius: 8px;
  overflow: hidden;
  height: 48px;
  flex: none;
}
.qty__btn {
  width: 41px;
  border: 0;
  background: #fff;
  display: grid;
  place-items: center;
  color: var(--squid-ink);
  padding: 0;
}
.qty__btn svg { width: 20px; height: 20px; stroke-linecap: round; }
.qty__btn:disabled {
  background: var(--grey-med);
  color: var(--grey-darker);
  cursor: default;
}
.qty__value {
  display: grid;
  place-items: center;
  width: 36px;
  font-size: 17px;
  font-weight: 600;
  color: var(--squid-ink);
}

.btn-cart {
  flex: 1;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: var(--balata);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
.btn-cart:active { background: var(--balata-hover); }

/* ============ LIGNES DE LIENS (dont Livraison) ============ */
.link-rows { border-top: 1px solid var(--grey-med); }

.link-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px var(--pad);
  border-bottom: 1px solid var(--grey-med);
  text-decoration: none;
  color: var(--squid-ink);
}
.link-row--block { display: block; padding-bottom: 22px; }

.link-row__head {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  margin-bottom: 12px;
}
.link-row__head .link-row__chevron { margin-left: auto; }

.link-row__label { font-size: 17px; font-weight: 700; }
.link-row__right { display: flex; align-items: center; gap: 8px; }
.link-row__count { font-size: 13px; color: var(--squid-ink); }
.link-row__chevron {
  width: 20px;
  height: 20px;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
  color: var(--mano-black);
}

.mano-express {
  background: var(--mint-pale);
  color: var(--squid-ink);
  border-radius: 4px;
  padding: 2px 7px;
  font-size: 12px;
  font-weight: 700;
  font-style: italic;
  letter-spacing: -.2px;
  white-space: nowrap;
}
.mano-express__x { font-weight: 800; }

.delivery__line {
  margin: 0 0 7px;
  font-size: 13.5px;
  color: var(--squid-ink);
}
.delivery__line strong { font-weight: 700; }
.delivery__loc { margin: 15px 0 0; font-size: 13.5px; color: var(--squid-ink); }
.delivery__loc strong { font-weight: 700; }

.link-underline {
  color: var(--squid-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: 6px;
}

/* ============ VENDEUR ============ */
.seller { margin: 20px var(--pad) 22px; font-size: 13px; color: var(--squid-ink); }

/* ============ SECTION TEXTE ============ */
.band { height: 16px; background: #eceff5; }
.band--lg { height: 56px; }

.section { padding: 24px var(--pad) 28px; }

.section__title    { margin: 0 0 14px; font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
.section__subtitle { margin: 0 0 22px; font-size: 20px; font-weight: 700; letter-spacing: -.2px; }
.section__sub2     { margin: 0 0 12px; font-size: 15px; font-weight: 700; }

.section__text {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: var(--squid-ink);
}

/* Texte tronqué avec dégradé de fondu */
.section__clamp {
  position: relative;
  max-height: 99px;          /* 4 lignes */
  overflow: hidden;
  margin-bottom: 18px;
}
.section__clamp::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 46px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 92%);
  pointer-events: none;
}
.section__clamp.is-open { max-height: none; }
.section__clamp.is-open::after { display: none; }

.btn-outline {
  border: 1px solid var(--squid-ink);
  color: var(--squid-ink);
  background: #fff;
  border-radius: 6px;
  padding: 8px 15px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
}
.btn-outline--lg { padding: 12px 20px; font-size: 15px; }

/* ============ AVIS CLIENTS ============ */
.reviews { padding-bottom: 32px; }

.score {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin: 24px 0 26px;
}
.score__note  { font-size: 34px; font-weight: 700; letter-spacing: -.5px; }
.score__total { font-size: 17px; font-weight: 700; }
.score__label { font-size: 13px; color: var(--grey-med-dark); }

.bars { display: grid; gap: 17px; margin-bottom: 26px; }
.bar { display: flex; align-items: center; gap: 12px; }
.bar__n { font-size: 13px; width: 8px; flex: none; }
.bar__track {
  flex: 1;
  height: 7px;
  border-radius: 999px;
  background: #e3e6ee;
  overflow: hidden;
}
.bar__fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: var(--squid-ink);
}

.reviews__verified {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: var(--squid-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 22px;
}

.review { border-top: 1px solid var(--grey-med); padding: 20px 0 22px; }

.review__head { display: flex; align-items: center; gap: 9px; }
.avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--squid-ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  flex: none;
}
.review__name { font-size: 15px; font-weight: 700; }
.review__date { margin: 6px 0 10px; font-size: 13px; color: #55607a; }

.stars--rev { width: 85px; height: 14px; background-size: 85px 14px; }
.stars--rev .stars__fill { background-size: 85px 14px; }

.review__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--squid-ink);
}
.review__more {
  color: var(--squid-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.review__helpful { margin: 12px 0 0; font-size: 13px; color: #55607a; }

/* ============ BOUTIQUE DE MARQUE ============ */
.brand { padding-top: 22px; padding-bottom: 24px; }
.brand__logo { width: 120px; height: auto; margin-bottom: 16px; image-rendering: -webkit-optimize-contrast; }
.brand__link {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--squid-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-bottom: 14px;
}
.brand__text {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--squid-ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.brand__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  color: var(--squid-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.brand__more svg { width: 15px; height: 15px; stroke-linecap: round; stroke-linejoin: round; }

/* ============ FIL D'ARIANE ============ */
.breadcrumb { padding: 4px var(--pad) 22px; }
.breadcrumb__title { margin: 0 0 12px; font-size: 13.5px; font-weight: 700; }
.breadcrumb__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13.5px;
  color: var(--squid-ink);
  text-decoration: none;
}
.breadcrumb__link svg { width: 14px; height: 14px; stroke-linecap: round; stroke-linejoin: round; }

/* ============ RÉASSURANCE ============ */
.reassurance { padding: 26px var(--pad) 30px; display: grid; gap: 26px; }
.reass { display: flex; align-items: center; gap: 16px; }
.reass__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #eef1f7;
  display: grid;
  place-items: center;
  flex: none;
}
.reass__icon img { width: 28px; height: 28px; }
.reass__text { margin: 0; font-size: 15px; line-height: 1.4; }

/* ============ NEWSLETTER ============ */
.newsletter { padding: 6px var(--pad) 34px; text-align: center; }
.newsletter__title {
  margin: 0 0 14px;
  font-size: 19px;
  line-height: 1.35;
  font-weight: 700;
}
.newsletter__legal {
  margin: 0 0 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--squid-ink);
}
.newsletter__form { display: grid; gap: 14px; margin-bottom: 18px; }
.newsletter__input {
  height: 48px;
  border: 1px solid var(--grey-dark);
  border-radius: 6px;
  padding: 0 15px;
  font-family: inherit;
  font-size: 15px;
  color: var(--squid-ink);
  outline: none;
  width: 100%;
}
.newsletter__input::placeholder { color: #55607a; }
.newsletter__input:focus { border-color: var(--squid-ink); }
.newsletter__btn {
  height: 48px;
  border: 0;
  border-radius: 6px;
  background: var(--balata);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
}
.newsletter__btn:active { background: var(--balata-hover); }
.newsletter__note {
  margin: 0 0 4px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--squid-ink);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--squid-ink);
  color: #fff;
  padding: 30px var(--pad) 34px;
}
.footer__title {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
}
.footer__title--intl { margin-bottom: 12px; }

/* --- Badges stores --- */
.stores { display: flex; gap: 17px; margin-bottom: 30px; }
.store {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 10px;
  background: #000;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  flex: 1;
  max-width: 122px;
}
.store__icon { width: 21px; height: 21px; flex: none; }
.store__txt { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.store__txt small  { font-size: 7px; text-transform: uppercase; letter-spacing: .2px; }
.store__txt strong { font-size: 12px; font-weight: 600; white-space: nowrap; }

/* --- Moyens de paiement --- */
.pays {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  max-width: 324px;
}
.pay {
  width: 44px;
  height: 28px;
  background: #fff;
  border-radius: 3px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.pay img {
  max-width: 32px;
  max-height: 19px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.pay--full { background: none; }
.pay--full img { max-width: 44px; max-height: 28px; }
.pay__art { width: 44px; height: 28px; display: block; }

/* --- Réseaux sociaux --- */
.socials { display: flex; gap: 24px; margin-bottom: 28px; }
.socials a { color: #fff; display: grid; place-items: center; }
.socials svg { width: 24px; height: 24px; }

/* --- Accordéons du footer --- */
.foot-acc { border-top: 1px solid rgba(255,255,255,.25); margin-bottom: 28px; }

.foot-acc__row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  padding: 20px 0;
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  text-align: left;
}
.foot-acc__row svg {
  width: 18px;
  height: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}
.foot-acc__row[aria-expanded="true"] svg { transform: rotate(180deg); }
.foot-acc__row[aria-expanded="false"] + .foot-acc__body { display: none; }

.foot-acc__body {
  display: grid;
  gap: 12px;
  padding: 16px 0 20px;
  border-bottom: 1px solid rgba(255,255,255,.25);
}
.foot-acc__body a {
  font-size: 14px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- International + retour en haut --- */
.intl {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.intl__flags { display: flex; gap: 14px; }

.flag { width: 32px; height: 32px; display: block; flex: none; }
.flag img { width: 32px; height: 32px; display: block; }

.to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: var(--squid-ink);
  display: grid;
  place-items: center;
  flex: none;
  margin-right: 25px;
}
.to-top svg { width: 22px; height: 22px; stroke-linecap: round; stroke-linejoin: round; }

/* --- Mentions légales --- */
.legal {
  display: flex;
  flex-wrap: wrap;
  column-gap: 16px;
  row-gap: 14px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.25);
}
.legal a {
  font-size: 14px;
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   PANNEAU DÉTAILS (onglets)
   ============================================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 25, 58, .35);
  display: flex;
  justify-content: center;
}
.modal[hidden] { display: none; }

.modal__panel {
  width: 100%;
  max-width: 480px;
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 100%;
  animation: modalIn .22s ease;
}
@keyframes modalIn {
  from { transform: translateY(16px); opacity: .4; }
  to   { transform: none; opacity: 1; }
}

.modal__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px var(--pad);
  border-bottom: 1px solid var(--grey-med);
  flex: none;
}
.modal__title {
  flex: 1;
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  color: var(--squid-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal__back,
.modal__close {
  background: none;
  border: 0;
  padding: 0;
  color: var(--squid-ink);
  display: grid;
  place-items: center;
  flex: none;
}
.modal__back svg { width: 20px; height: 20px; }
.modal__close svg { width: 22px; height: 22px; }

/* --- Barre d'onglets --- */
.modal__tabs {
  display: flex;
  gap: 26px;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--grey-med);
  overflow-x: auto;
  flex: none;
  scroll-behavior: smooth;
}
.modal__tabs::-webkit-scrollbar { display: none; }

.mtab {
  background: none;
  border: 0;
  border-bottom: 3px solid transparent;
  padding: 14px 0 11px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #5b6577;
  white-space: nowrap;
  flex: none;
}
.mtab.is-active {
  color: var(--squid-ink);
  font-weight: 700;
  border-bottom-color: var(--squid-ink);
}

/* --- Contenu --- */
.modal__body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 20px var(--pad) 40px;
}
.mpane { display: none; }
.mpane.is-active { display: block; }

.mpane__title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 14px;
  font-size: 20px;
  font-weight: 700;
}
.mpane__title-ico { width: 17px; height: 17px; }

.mpane__h2   { margin: 30px 0 16px; font-size: 20px; font-weight: 700; }
.mpane__h3   { margin: 26px 0 12px; font-size: 16px; font-weight: 700; }
.mpane__lead { margin: 22px 0 20px; font-size: 15px; font-weight: 700; }
.mpane__p    { margin: 0 0 14px; font-size: 15px; line-height: 1.6; }

.mpane__list {
  margin: 0 0 14px;
  padding-left: 20px;
  font-size: 15px;
  line-height: 1.6;
}
.mpane__list li { margin-bottom: 6px; }

.mpane__link {
  display: inline-block;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 700;
  color: var(--squid-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Tableau des caractéristiques --- */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
.specs th,
.specs td {
  padding: 13px 14px;
  text-align: left;
  vertical-align: top;
  line-height: 1.4;
}
.specs th {
  width: 47%;
  font-weight: 700;
  color: var(--squid-ink);
}
.specs td { font-weight: 400; }
.specs tr:nth-child(odd) { background: #eef1fb; }

/* --- Filtres et tri des avis --- */
.filters { display: flex; gap: 10px; margin: 26px 0 20px; }
.chip {
  background: #fff;
  border: 1px solid var(--grey-dark);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  color: var(--squid-ink);
}
.chip.is-active { border-color: var(--squid-ink); font-weight: 700; }

.sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 14px;
  margin-bottom: 6px;
}
.sort svg { width: 16px; height: 16px; }

.pro-tag {
  background: var(--squid-ink);
  color: #fff;
  border-radius: 999px;
  padding: 2px 9px;
  font-size: 11px;
  font-weight: 700;
}

/* --- Livraison --- */
.mloc { margin: 0 0 26px; font-size: 15px; }
.mloc strong { font-weight: 700; }

.ship { border-bottom: 1px solid var(--grey-med); padding-bottom: 16px; margin-bottom: 18px; }
.ship__row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ship__mode  { font-size: 15px; font-weight: 700; }
.ship__price { font-size: 15px; font-weight: 700; }
.ship__date  { margin: 4px 0 0; font-size: 15px; }

/* --- Retours --- */
.ret { display: flex; gap: 14px; margin-bottom: 28px; }
.ret__ico { width: 22px; height: 22px; flex: none; margin-top: 2px; }
.ret__txt { min-width: 0; }
.ret__title { margin: 0 0 8px; font-size: 15px; }
.ret__p { margin: 0; font-size: 15px; line-height: 1.6; padding-left: 0; }

/* Empêche le défilement de la page derrière le panneau */
body.is-locked { overflow: hidden; }

/* ============================================================
   PANIER
   ============================================================ */
.body--cart .page { background: #f4f6fb; }

/* Bandeau promotionnel */
.promo {
  margin: 0;
  padding: 15px var(--pad);
  background: #e7ebf7;
  color: var(--squid-ink);
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart__head { padding: 20px var(--pad) 22px; }

.cart__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: var(--squid-ink);
  text-decoration: none;
}
.cart__back svg { width: 18px; height: 18px; flex: none; }
.cart__back-txt {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cart__title {
  margin: 22px 0 24px;
  font-size: 22px;
  font-weight: 700;
  color: var(--squid-ink);
}

.ship-note { display: flex; align-items: flex-start; gap: 12px; }
.ship-note__ico { width: 24px; height: 24px; flex: none; margin-top: 1px; }
.ship-note__top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 5px;
  font-size: 15px;
  color: var(--squid-ink);
}
.ship-note__sub { margin: 0; font-size: 15px; color: var(--squid-ink); }

/* --- Article --- */
.cart-item { background: #fff; padding: 18px var(--pad) 20px; }

.cart-item__top { display: flex; gap: 16px; }

.cart-item__thumb {
  width: 110px;
  height: 110px;
  flex: none;
  border: 1px solid #e2e5ee;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  display: block;
}
.cart-item__thumb img { width: 100%; height: 100%; object-fit: contain; }

.cart-item__info { min-width: 0; padding-top: 2px; }

.cart-item__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 15px;
  line-height: 1.45;
  color: var(--squid-ink);
  text-decoration: none;
}
.cart-item__name strong { font-weight: 700; }

.cart-item__price {
  margin: 12px 0 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--squid-ink);
}
.cart-item__cents { font-size: 14px; font-weight: 700; }

.cart-item__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
}

.cart-item__del {
  width: 48px;
  height: 48px;
  border: 1px solid var(--grey-dark);
  border-radius: 8px;
  background: #fff;
  color: var(--squid-ink);
  display: grid;
  place-items: center;
}
.cart-item__del svg { width: 22px; height: 22px; }

/* --- Totaux --- */
.totals {
  background: #fff;
  margin-top: 16px;
  padding: 20px var(--pad) 26px;
}

.totals__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}
.totals__label { font-size: 15px; font-weight: 700; }
.totals__value { font-size: 15px; }

.totals__row--big { margin-top: 4px; }
.totals__row--big .totals__label,
.totals__row--big .totals__value { font-size: 20px; font-weight: 700; }

.totals__estimate {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--squid-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.totals__estimate svg { width: 17px; height: 17px; }

.totals__sep {
  border: 0;
  border-top: 1px solid var(--grey-med);
  margin: 20px 0;
}

.btn-validate {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 52px;
  margin-top: 22px;
  border: 0;
  border-radius: 6px;
  background: var(--balata);
  color: var(--squid-ink);
  font-family: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.btn-validate:active { background: var(--balata-hover); }


/* --- Paiement sécurisé --- */
.secure__title {
  margin: 26px 0 14px;
  font-size: 15px;
  font-weight: 700;
  color: var(--squid-ink);
}

.pays--cart {
  gap: 8px;
  max-width: none;
  margin-bottom: 0;
}
.pay--bordered {
  width: 38px;
  height: 26px;
  border: 1px solid #dfe3ec;
  border-radius: 4px;
}
.pay--bordered img { max-width: 28px; max-height: 17px; }
.pay--bordered.pay--full { background: #fff; }
.pay--bordered.pay--full img { max-width: 38px; max-height: 26px; }

/* --- Conseillers --- */
.advisors {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 26px 0 22px;
}

.help__title { margin: 0 0 8px; font-size: 17px; font-weight: 700; }
.help__sub   { margin: 0 0 16px; font-size: 15px; }

.help__phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  border: 1px solid var(--grey-dark);
  border-radius: 6px;
  font-size: 17px;
  font-weight: 700;
  color: var(--squid-ink);
  text-decoration: none;
}
.help__phone svg { width: 20px; height: 20px; }

.help__hours {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
  color: var(--grey-med-dark);
}

.reassurance--cart { background: #fff; }
