/* SPZK Extracteur de Jus — page produit
   Thème: primary #000000, secondary #10b981, footer #111827 */

:root {
  --primary: #000000;
  --secondary: #10b981;
  --price: #000000;
  --footer-bg: #111827;
  --header-bg: #ffffff;
  --header-text: #111827;
  --green: #3a8a1f;
  --star: #00b67a;
  --border: #e5e7eb;
  --muted: #6b7280;
  --text: #111827;
  --radius: 8px;
  --wrap: 1180px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  color: var(--header-text);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  text-decoration: none;
}
.logo img { height: 30px; width: auto; display: block; }
@media (max-width: 560px) {
  .logo img { height: 24px; }
}
.main-nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 500;
  margin-left: 8px;
}
.main-nav a:hover { color: var(--secondary); }
.header-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 18px;
}
.icon-btn {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  display: inline-flex;
  position: relative;
}
.icon-btn:hover { color: var(--secondary); }
.cart-count {
  position: absolute;
  top: -6px;
  right: -8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}
.nav-toggle { display: none; }

/* ---------- Barre d'annonce ---------- */
.announce-bar {
  background: #111827;
  color: #fff;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  padding: 11px 16px;
  line-height: 1.4;
}
.announce-bar[hidden] { display: none; }
.announce-bar strong { font-weight: 700; }

/* Les ancres du menu ne doivent pas passer sous l'en-tête collant. */
#product, #avantages, #reviewsSection, #faq { scroll-margin-top: 80px; }

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  padding: 14px 0;
}
.breadcrumb a:hover { color: var(--secondary); }
.breadcrumb span { color: var(--muted); }

/* ---------- Product ---------- */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
/* Sans min-width:0, la piste 1fr adopte la largeur intrinsèque de .thumbs
   (10 vignettes) et déborde horizontalement sur mobile. */
.product > * { min-width: 0; }

.gallery-main {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  aspect-ratio: 1 / 1;
}
/* Piste balayable : le swipe tactile est natif (scroll + snap). */
.gallery-track {
  display: flex;
  height: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track img {
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  scroll-snap-align: center;
  scroll-snap-stop: always;
  user-select: none;
  -webkit-user-drag: none;
}

.gal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  color: var(--text);
  z-index: 2;
  transition: opacity .15s;
}
.gal-arrow svg { width: 17px; height: 17px; }
.gal-arrow.prev { left: 10px; }
.gal-arrow.next { right: 10px; }
.gal-arrow:disabled { opacity: 0; pointer-events: none; }

.gal-counter {
  position: absolute;
  right: 12px;
  bottom: 12px;
  background: rgba(17, 24, 39, .72);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

/* Sur mobile on balaie : les flèches ne servent plus. */
@media (max-width: 900px) {
  .gal-arrow { display: none; }
}
.wishlist {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--muted);
}
.wishlist.active { color: #ef4444; }
.wishlist.active svg { fill: currentColor; }

.thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}
.thumbs button {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}
.thumbs button.active { border-color: var(--primary); border-width: 2px; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }

.product-title {
  font-size: 22px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 14px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text);
  margin-bottom: 10px;
}
.rating-row .sep { color: #d1d5db; }
.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 15px; height: 15px; }
.star-box {
  width: 17px;
  height: 17px;
  background: var(--star);
  display: grid;
  place-items: center;
}
.star-box svg { width: 12px; height: 12px; fill: #fff; }
.star-box.empty { background: #dcdce6; }

/* Étoiles de la note en tête de fiche */
.rating-row .star-box { width: 20px; height: 20px; border-radius: 2px; }
.rating-row .star-box svg { width: 13px; height: 13px; }

/* ---------- Stock ---------- */
.stock-box {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  margin-bottom: 18px;
}
.stock-box[hidden] { display: none; }
.stock-label {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: #dc2626;
}
.stock-text { margin: 0; font-size: 15px; }
.stock-text strong { color: #dc2626; font-weight: 700; }

.benefit-line {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}

/* ---------- Arguments d'offre ---------- */
.offer-bullets {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.offer-bullet {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 14px;
  color: #374151;
  line-height: 1.35;
}
.offer-bullet strong { font-weight: 700; color: var(--text); }
.ob-icon {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ob-icon svg { width: 18px; height: 18px; }
.offer-bullet.highlight { color: #16a34a; font-weight: 600; }
.offer-bullet.highlight .ob-icon { color: #22c55e; }
.offer-bullet.highlight strong { color: #16a34a; }

.price-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}
.price {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--price);
  line-height: 1;
}
.price-old {
  font-size: 20px;
  color: #9ca3af;
  text-decoration: line-through;
}
.discount-badge {
  background: #e11d48;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  padding: 5px 11px;
  border-radius: 8px;
  line-height: 1.1;
}

/* ---------- Cadeau offert (fiche produit) ---------- */
.pdp-gift { margin-bottom: 18px; }
.pdp-gift[hidden] { display: none; }
.pdp-gift-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 14px;
}
.pdp-gift-head > svg { color: #16a34a; flex: 0 0 auto; }
.pdp-gift-title { font-weight: 700; color: #16a34a; text-transform: uppercase; letter-spacing: .03em; }
.pdp-gift-more {
  margin-left: auto;
  font-size: 12px;
  color: var(--muted);
  text-decoration: underline;
}
.pdp-gift-more:hover { color: var(--text); }
.pdp-gift-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  background: #f6faf6;
  border: 1px solid #d7ecd7;
  border-radius: 12px;
}
.pdp-gift-card > img {
  width: 64px;
  height: 64px;
  border-radius: 8px;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--border);
  flex: 0 0 auto;
}
.pdp-gift-info { flex: 1; min-width: 0; }
.pdp-gift-name { margin: 0 0 6px; font-size: 14px; font-weight: 600; line-height: 1.35; }
.pdp-gift-price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.pdp-gift-price .free { font-size: 16px; font-weight: 700; color: #16a34a; }
.pdp-gift-price .old { font-size: 14px; color: var(--muted); text-decoration: line-through; }

/* ---------- Sélecteur de couleur ---------- */
.variant-select { margin-bottom: 18px; }
.variant-select[hidden] { display: none; }
.variant-label { margin: 0 0 10px; font-size: 15px; color: var(--text); }
.variant-label strong { font-weight: 700; }
.variant-swatches { display: flex; gap: 12px; }
.swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid #e5e7eb;
  padding: 4px;
  background: #fff;
  cursor: pointer;
  display: grid;
  transition: border-color .15s;
}
.swatch::before {
  content: "";
  border-radius: 50%;
  background: var(--sw);
}
.swatch.bordered::before { box-shadow: inset 0 0 0 1px #d1d5db; }
.swatch:hover { border-color: #9ca3af; }
.swatch.active { border-color: var(--primary); }

.cart-item-variant { margin: 2px 0 0; font-size: 12px; color: var(--muted); }

.buy-btn {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 15px 20px;
  font-size: 15px;
  font-weight: 600;
  transition: opacity .15s;
}
.buy-btn:hover { opacity: .88; }

.pay-icons {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 16px;
  flex-wrap: wrap;
}
.pay-icons svg {
  height: 30px;
  width: 46px;
  border: 1px solid var(--border);
  border-radius: 5px;
  background: #fff;
  flex: 0 0 auto;
}

/* ---------- Bandeau de réassurance ---------- */
.trust-row {
  list-style: none;
  margin: 8px 0 0;
  padding: 34px 0 8px;
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}
.tr-icon {
  width: 58px;
  height: 58px;
  border: 1.5px solid #d1d5db;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
}
.tr-icon svg { width: 26px; height: 26px; }
.tr-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 130px;
}

@media (max-width: 560px) {
  /* Mobile : les 4 réassurances sur une seule ligne, côte à côte. */
  .trust-row { grid-template-columns: repeat(4, 1fr); gap: 8px; padding-top: 26px; }
  .trust-cell { gap: 9px; }
  .tr-icon { width: 44px; height: 44px; }
  .tr-icon svg { width: 20px; height: 20px; }
  .tr-label { font-size: 11px; max-width: none; }
}

/* ---------- Section shell ---------- */
.section { padding: 40px 0; }
.section-title {
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  margin: 0 0 24px;
}
.narrow { max-width: 800px; margin: 0 auto; }

/* ---------- Description ---------- */
.description { color: #2c3320; line-height: 1.6; }
.description h2 {
  font-size: 24px;
  color: var(--green);
  letter-spacing: -.3px;
  margin: 0 0 12px;
}
.description h3 { font-size: 18px; color: var(--green); margin: 0 0 10px; }
.description p { font-size: 16px; margin: 0; }
.description ul { margin: 0; padding-left: 20px; font-size: 16px; }
.description li { margin-bottom: 8px; }
.description li:last-child { margin-bottom: 0; }
.description img { border-radius: 8px; }
.desc-block { padding: 24px 4px 8px; }
.desc-img { margin-top: 16px; }
.tips-box {
  margin-top: 16px;
  padding: 20px;
  background: #f2f7ec;
  border-left: 4px solid var(--green);
  border-radius: 6px;
}
.tips-box p { font-size: 15px; }

/* ---------- Video carousel ---------- */
.video-carousel { position: relative; }
.video-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px;
  scrollbar-width: none;
}
.video-track::-webkit-scrollbar { display: none; }
.video-card {
  flex: 0 0 auto;
  width: 220px;
  aspect-ratio: 9 / 16;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  background: #000;
  scroll-snap-align: center;
  cursor: pointer;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.play-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .12);
  transition: opacity .2s;
}
.play-overlay.hidden { opacity: 0; pointer-events: none; }
.play-btn {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  display: grid;
  place-items: center;
}
.play-btn svg { width: 18px; height: 18px; fill: #111; margin-left: 3px; }

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  z-index: 2;
}
.carousel-arrow.prev { left: -6px; }
.carousel-arrow.next { right: -6px; }
.carousel-arrow svg { width: 16px; height: 16px; }

.carousel-dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-top: 16px;
}
.carousel-dots button {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  border: 0;
  background: #d1d5db;
  padding: 0;
}
.carousel-dots button.active { background: var(--primary); width: 18px; }

/* ---------- Reviews ---------- */
.reviews-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  max-width: 620px;
  margin: 0 auto 28px;
}
.reviews-card[hidden] { display: none; }
.reviews-card h2 { font-size: 15px; margin: 0 0 14px; font-weight: 600; }
.score-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 4px;
}
.score-big { font-size: 13px; font-weight: 600; }
.score-sub { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.score-brand { font-size: 15px; font-weight: 700; color: var(--text); }
.score-line {
  font-size: 14px;
  color: var(--text);
  margin: 0 0 18px;
}
.score-line .sep { color: #d1d5db; margin: 0 2px; }

.score-split {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 6px 16px;
  font-size: 11px;
  margin-bottom: 18px;
  align-items: center;
}
.score-split .lbl { color: var(--muted); }
.score-split .val { display: flex; align-items: center; gap: 6px; }

.bars-title { font-size: 12px; font-weight: 600; margin-bottom: 10px; }
.bar-row {
  display: grid;
  grid-template-columns: 92px 1fr 34px;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  margin-bottom: 7px;
  color: var(--muted);
}
.bar-track {
  display: block;
  height: 7px;
  background: #eef0f2;
  border-radius: 2px;
  overflow: hidden;
}
.bar-fill { display: block; height: 100%; background: #111827; }
.bar-pct { text-align: right; }

.reviews-list { max-width: 620px; margin: 0 auto; }
.reviews-list > h2 { font-size: 15px; font-weight: 600; margin: 0 0 16px; }
.review {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.review-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.review-name { font-size: 12px; font-weight: 600; }
.review-date { font-size: 11px; color: var(--muted); }
.review-text { font-size: 12px; line-height: 1.6; margin: 8px 0 6px; color: #374151; }
.verified {
  font-size: 10px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.more-reviews {
  display: block;
  margin: 20px auto 0;
  background: none;
  border: 0;
  color: #2563eb;
  font-size: 12px;
}
.more-reviews:hover { text-decoration: underline; }

/* ---------- FAQ ---------- */
.faq { max-width: 620px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 15px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  text-align: left;
}
.faq-q svg { width: 14px; height: 14px; flex: 0 0 auto; transition: transform .2s; color: var(--muted); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 4px 15px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.faq-item.open .faq-a { display: block; }

/* ---------- Trust badges ---------- */
.trust {
  border-top: 1px solid var(--border);
  padding: 34px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}
.trust-item svg { width: 22px; height: 22px; margin: 0 auto 10px; color: var(--text); }
.trust-item h3 { font-size: 13px; margin: 0 0 4px; font-weight: 600; }
.trust-item p { font-size: 11px; color: var(--muted); margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: #d1d5db;
  padding: 44px 0 0;
  font-size: 12px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 9px; line-height: 1.5; }
.footer-col a:hover { color: #fff; }
.footer-col strong { color: #fff; font-weight: 500; }
.footer-pay { display: flex; gap: 5px; flex-wrap: wrap; }
.footer-pay img, .footer-pay svg {
  height: 22px;
  width: 34px;
  border-radius: 3px;
  background: #fff;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: #9ca3af;
}
.social { display: flex; gap: 14px; }
.social a:hover { color: #fff; }
.social svg { width: 14px; height: 14px; }

/* ---------- Panier ---------- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, .45);
  z-index: 70;
  opacity: 0;
  transition: opacity .25s ease;
}
.cart-overlay.show { opacity: 1; }
.cart-overlay[hidden] { display: none; }

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 430px;
  background: #fff;
  z-index: 80;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.32, .72, 0, 1);
  box-shadow: -6px 0 28px rgba(0, 0, 0, .14);
}
.cart-drawer.show { transform: translateX(0); }
.cart-drawer[hidden] { display: none; }
.cart-drawer:focus { outline: none; }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  flex: 0 0 auto;
}
.cart-head h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 18px;
  font-weight: 700;
}
.cart-close {
  background: none;
  border: 0;
  padding: 4px;
  color: var(--text);
  display: grid;
  place-items: center;
  border-radius: 6px;
}
.cart-close:hover { background: #f3f4f6; }

.cart-added {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 14px 20px;
  background: #f0fdf4;
  color: #16a34a;
  font-size: 14px;
  font-weight: 600;
  flex: 0 0 auto;
}
.cart-added svg { flex: 0 0 auto; }

.cart-ship {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 12px 20px;
  background: #f9fafb;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  color: var(--text);
  flex: 0 0 auto;
}
.cart-ship svg { flex: 0 0 auto; color: var(--muted); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.cart-item { display: flex; gap: 14px; align-items: flex-start; }
.cart-item > img {
  width: 78px;
  height: 78px;
  border-radius: 10px;
  object-fit: cover;
  flex: 0 0 auto;
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-title {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cart-item-price {
  margin: 10px 0 0;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.cart-item-price .cart-old {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.cart-item-price .cart-now { font-size: 16px; font-weight: 600; }

.cart-totals {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.cart-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 0 12px;
  font-size: 15px;
  color: #374151;
}
.cart-line .free { color: #16a34a; font-weight: 600; }
.cart-total {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin: 16px 0 0;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
}

.cart-foot {
  flex: 0 0 auto;
  border-top: 1px solid var(--border);
  padding: 16px 20px 20px;
}
.cart-checkout {
  width: 100%;
  background: var(--primary);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 16px;
  font-size: 16px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: opacity .15s;
}
.cart-checkout:hover { opacity: .88; }
.cart-secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 13px 0;
  font-size: 12px;
  color: var(--muted);
}
.cart-foot .pay-icons { margin-top: 0; gap: 6px; }
.cart-foot .pay-icons svg { height: 26px; width: 40px; }

@media (max-width: 460px) {
  .cart-drawer { max-width: 100%; }
  .cart-foot .pay-icons svg { height: 24px; width: 36px; }
}

/* ---------- Floating buy bar ---------- */
.float-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  border-top: 1px solid var(--border);
  padding: 10px 20px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  display: none;
  align-items: center;
  gap: 14px;
  z-index: 60;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, .08);
}
.float-bar.show { display: flex; }
.float-bar .fb-info { display: flex; align-items: center; gap: 11px; min-width: 0; flex: 1; }
.float-bar img { width: 42px; height: 42px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; }
.float-bar .fb-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.float-bar .fb-price { font-size: 18px; font-weight: 800; white-space: nowrap; flex: 0 0 auto; }
.float-bar .buy-btn { width: auto; padding: 13px 28px; border-radius: 10px; font-size: 15px; flex: 0 0 auto; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .product { grid-template-columns: 1fr; gap: 28px; }
  .main-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 16px 20px;
    gap: 16px;
  }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .trust-grid { grid-template-columns: 1fr; gap: 22px; }
  .carousel-arrow.prev { left: 2px; }
  .carousel-arrow.next { right: 2px; }
  .float-bar .fb-title { display: none; }
}

@media (max-width: 560px) {
  .product-title { font-size: 19px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .video-card { width: 175px; }
  /* Barre flottante : prix à gauche, gros bouton à droite. */
  .float-bar { padding: 9px 14px; padding-bottom: calc(9px + env(safe-area-inset-bottom)); gap: 12px; }
  .float-bar .fb-info { display: none; }
  .float-bar .fb-price { font-size: 18px; }
  .float-bar .buy-btn { flex: 1; padding: 14px 20px; }
  /* Icônes de paiement : une seule ligne sur mobile. */
  .pay-icons { flex-wrap: nowrap; gap: 5px; overflow-x: auto; }
  .pay-icons svg { width: 40px; height: 26px; flex: 0 0 auto; }
}
