/* =====================================================================
   Trefle4Feuilles - feuille de style du handoff (desktop 1440 / mobile 390)
   Tokens : #1F4D36 vert · #14231C encre · #C8A24A or · #DFBE6A or clair
   #A8813A or foncé · #EFEDE6 crème · #F4F2EC crème alt
   DA : aucun rayon, aucune ombre, filets 1px, alternance blanc/crème.
   ===================================================================== */

:root {
  --t4f-vert: #1F4D36;
  --t4f-encre: #14231C;
  --t4f-or: #C8A24A;
  --t4f-or-clair: #DFBE6A;
  --t4f-or-fonce: #A8813A;
  --t4f-creme: #EFEDE6;
  --t4f-creme-alt: #F4F2EC;
  --t4f-texte: #4C5651;
  --t4f-texte-2: #5C6763;
  --t4f-texte-3: #6E7873;
  --t4f-bordure: rgba(20, 35, 28, .14);
  --t4f-gutter: 48px;
}

/* ---------- Base ---------- */
/* DA claire assumée : interdit aux navigateurs (Chrome/Samsung Android)
   de recolorer le site en « mode sombre auto » - cela produisait des
   boutons verdâtres à texte sombre sur les photos claires. */
:root { color-scheme: only light; }
html { background: #fff; }
body {
  margin: 0;
  background: #fff;
  color: var(--t4f-encre);
  font-family: Archivo, system-ui, sans-serif;
  font-size: 15.5px;
  line-height: 1.6;
}
/* Aucun élément ne doit élargir le viewport mobile (sinon le navigateur
   dézoome). clip (et non hidden) : les position:sticky restent fonctionnels. */
html, body { max-width: 100%; overflow-x: clip; }
iframe, video, embed, object { max-width: 100% !important; }
.wcpay-express-checkout-wrapper, .StripeElement, .__PrivateStripeElement { max-width: 100% !important; overflow: hidden; }
* { border-radius: 0 !important; box-shadow: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
.t4f-wrap { max-width: 1400px; margin: 0 auto; padding-left: var(--t4f-gutter); padding-right: var(--t4f-gutter); box-sizing: border-box; }

h1, h2, h3 { margin: 0; }
.t4f-eyebrow {
  font: 500 12px/1 Archivo, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--t4f-vert);
}
.t4f-eyebrow--light { color: var(--t4f-or-clair); }

/* Boutons */
/* Jamais de sélecteur :visited ici : il écraserait les variantes (--cream, --ghost)
   avec une spécificité supérieure, et Safari masque le rendu réel des liens visités. */
.t4f-btn {
  display: inline-block;
  background: var(--t4f-vert);
  color: var(--t4f-creme-alt);
  padding: 17px 32px;
  font: 600 14.5px/1 Archivo, sans-serif;
  cursor: pointer;
  border: 0;
  text-align: center;
  transition: background .14s ease-out, border-color .14s ease-out;
}
.t4f-btn:hover { background: var(--t4f-encre); color: var(--t4f-creme-alt); }
.t4f-btn--ghost {
  background: transparent;
  color: var(--t4f-encre);
  border: 1px solid rgba(20, 35, 28, .22);
  padding: 16px 26px;
  font-weight: 500;
}
.t4f-btn--ghost:hover { background: transparent; color: var(--t4f-encre); border-color: var(--t4f-vert); }
.t4f-btn--cream { background: var(--t4f-creme); color: var(--t4f-encre); }
.t4f-btn--cream:hover { background: #fff; color: var(--t4f-encre); }
.t4f-link {
  font: 500 13.5px/1 Archivo, sans-serif;
  color: var(--t4f-vert);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

/* ---------- Bandeau promo ---------- */
.t4f-promo {
  background: var(--t4f-vert);
  color: var(--t4f-creme);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 11px 24px;
  font: 500 13px/1 Archivo, sans-serif;
}
.t4f-promo .dot { width: 6px; height: 6px; border-radius: 50% !important; background: var(--t4f-or); flex: none; }
.t4f-promo .sep { opacity: .55; }
.t4f-promo .alt { opacity: .75; }
.t4f-promo .short { display: none; }

/* ---------- Header ---------- */
.t4f-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0, 0, 0, .08);
}
.t4f-header-in {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px;
}
.t4f-logo { font: 800 19px/1 Archivo, sans-serif; letter-spacing: -.02em; color: var(--t4f-encre); }
.t4f-logo b { color: var(--t4f-vert); font-weight: 800; }
.t4f-logo i { font-style: normal; font-weight: 400; opacity: .4; }
.t4f-nav { display: flex; gap: 28px; font: 500 13.5px/1 Archivo, sans-serif; color: #3A4741; }
.t4f-nav a { color: inherit; }
.t4f-nav a:hover { color: var(--t4f-vert); }
.t4f-cart-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--t4f-encre);
  color: #fff !important;
  padding: 11px 18px;
  font: 600 13px/1 Archivo, sans-serif;
}
.t4f-cart-btn:hover { background: var(--t4f-vert); }
.t4f-cart-btn .count { opacity: .6; }
.t4f-burger { display: none; }
.t4f-mobile-menu { display: none; }

/* ---------- Footer ---------- */
.t4f-footer { background: var(--t4f-encre); color: #B9C3BD; padding: 60px 48px 40px; }
.t4f-footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  font: 400 13.5px/2 Archivo, sans-serif;
}
.t4f-footer .t4f-logo { color: #fff; }
.t4f-footer .t4f-logo b { color: var(--t4f-or-clair); }
.t4f-footer .baseline { margin-top: 14px; max-width: 34ch; line-height: 1.7; }
.t4f-footer .col-title { color: #fff; font-weight: 600; margin-bottom: 8px; }
.t4f-footer a { color: inherit; display: block; }
.t4f-footer a:hover { color: #fff; }
.t4f-footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 18px;
  font: 400 12px/1.6 Archivo, sans-serif;
  color: #8B978F;
}
.t4f-footer-bottom a { display: inline; color: inherit; }

/* ---------- Accueil : hero ---------- */
.t4f-hero {
  position: relative;
  height: 600px;
  background-color: #d2cfc4;
  background-size: cover;
  background-position: center 42%;
  display: flex;
  align-items: flex-end;
}
.t4f-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 20, 15, .92) 0, rgba(9, 20, 15, .7) 46%, rgba(9, 20, 15, .2) 88%);
}
.t4f-hero-in {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  padding: 0 48px 58px;
  color: var(--t4f-creme-alt);
  box-sizing: border-box;
}
.t4f-hero .t4f-eyebrow { margin-bottom: 20px; }
.t4f-hero h1 {
  font: 800 74px/.98 Archivo, sans-serif;
  letter-spacing: -.038em;
  max-width: 20ch;
  text-wrap: balance;
  color: var(--t4f-creme-alt);
}
.t4f-hero-ctas { display: flex; gap: 18px; margin-top: 32px; }
.t4f-hero-ctas .t4f-btn--outline-light {
  background: transparent;
  border: 1px solid rgba(244, 242, 236, .5);
  color: var(--t4f-creme-alt);
  padding: 16px 28px;
  font-weight: 500;
}
.t4f-hero-ctas .t4f-btn--outline-light:hover { background: rgba(255, 255, 255, .12); }

/* ---------- Bandeau réassurance ---------- */
.t4f-reassure { background: var(--t4f-creme); border-bottom: 1px solid rgba(20, 35, 28, .1); }
.t4f-reassure-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 34px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 36px;
}
.t4f-reassure-item { border-top: 2px solid var(--t4f-vert); padding-top: 16px; }
.t4f-reassure-item .t { font: 600 14.5px/1.2 Archivo, sans-serif; color: var(--t4f-encre); }
.t4f-reassure-item .d { font: 400 12.5px/1.55 Archivo, sans-serif; color: var(--t4f-texte-2); margin-top: 7px; }
.t4f-reassure-item .d-short { display: none; }

/* ---------- Sections produit alternées ---------- */
.t4f-prod-section { display: grid; grid-template-columns: 1fr 1.12fr; background: #fff; }
.t4f-prod-section--alt { grid-template-columns: 1.12fr 1fr; background: var(--t4f-creme); }
.t4f-prod-text {
  padding: 92px 56px 92px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.t4f-prod-section--alt .t4f-prod-text { padding: 92px 64px 92px 56px; }
.t4f-prod-kicker { display: flex; align-items: baseline; gap: 14px; margin-bottom: 18px; }
.t4f-prod-kicker .num { font: 600 12px/1 ui-monospace, Menlo, monospace; color: var(--t4f-or-fonce); }
.t4f-prod-kicker .lbl { font: 500 12px/1 Archivo, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--t4f-vert); }
.t4f-prod-text h2 { font: 800 50px/1 Archivo, sans-serif; letter-spacing: -.035em; }
.t4f-price-row { display: flex; align-items: baseline; gap: 12px; margin-top: 16px; }
.t4f-price-row .price { font: 700 30px/1 Archivo, sans-serif; color: var(--t4f-vert); }
.t4f-price-row .note { font: 400 13px/1 Archivo, sans-serif; color: var(--t4f-texte-3); }
.t4f-prod-text p { font: 400 16px/1.7 Archivo, sans-serif; color: var(--t4f-texte); margin: 22px 0 0; max-width: 46ch; }
.t4f-bullets { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; font: 400 14.5px/1.5 Archivo, sans-serif; color: #2B342F; }
.t4f-bullets > div { display: flex; gap: 12px; align-items: baseline; }
.t4f-bullets .diamond { color: var(--t4f-or-fonce); font-size: 10px; flex: none; }
.t4f-prod-actions { display: flex; align-items: center; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.t4f-prod-img { position: relative; min-height: 700px; background-color: #d2cfc4; background-size: cover; background-position: center; }
.t4f-prod-section--alt .t4f-prod-img { min-height: 680px; }
.t4f-img-tag {
  position: absolute;
  bottom: 24px;
  background: rgba(15, 26, 20, .9);
  color: var(--t4f-creme);
  padding: 11px 16px;
  font: 500 12px/1 Archivo, sans-serif;
}
.t4f-img-tag--right { right: 24px; }
.t4f-img-tag--left { left: 24px; }

/* ---------- Idées cadeaux ---------- */
.t4f-gifts { padding: 84px 48px; background: #fff; max-width: 1400px; margin: 0 auto; box-sizing: border-box; }
.t4f-gifts-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; gap: 24px; }
.t4f-gifts-head h2 { font: 700 40px/1 Archivo, sans-serif; letter-spacing: -.03em; margin-top: 14px; }
.t4f-gifts-head .side { font: 400 14px/1.6 Archivo, sans-serif; color: var(--t4f-texte-2); max-width: 320px; }
.t4f-gifts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.t4f-gift-card {
  position: relative;
  height: 320px;
  background: repeating-linear-gradient(135deg, #e2dfd6 0 8px, #d8d5cb 8px 16px);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 26px;
  box-sizing: border-box;
}
.t4f-gift-card .t { font: 700 26px/1.05 Archivo, sans-serif; letter-spacing: -.02em; }
.t4f-gift-card .d { font: 400 13.5px/1.5 Archivo, sans-serif; color: var(--t4f-texte); margin-top: 8px; }
/* Cartes avec photo : voile crème en bas pour garder le texte sombre lisible */
.t4f-gift-card--photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(244, 242, 236, .94) 0, rgba(244, 242, 236, .78) 26%, rgba(244, 242, 236, 0) 55%);
  pointer-events: none;
}
.t4f-gift-card--photo > div { position: relative; z-index: 1; }

/* ---------- Bloc SEO accueil (questions fréquentes) ---------- */
.t4f-home-seo { background: var(--t4f-creme); padding: 72px 48px 80px; }
.t4f-home-seo-in { max-width: 1400px; margin: 0 auto; }
.t4f-home-seo-head h2 { font: 700 40px/1 Archivo, sans-serif; letter-spacing: -.03em; margin: 14px 0 0; }
.t4f-home-seo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; margin-top: 44px; }
.t4f-home-seo-item h3 { font: 700 20px/1.25 Archivo, sans-serif; letter-spacing: -.01em; margin: 0; }
.t4f-home-seo-item p { font: 400 14.5px/1.75 Archivo, sans-serif; color: var(--t4f-texte); margin: 12px 0 0; max-width: 62ch; }
.t4f-home-seo-item a { color: var(--t4f-vert); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA franco ---------- */
.t4f-cta { background: var(--t4f-vert); color: #EDF1EE; padding: 64px 48px; }
.t4f-cta-in { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
.t4f-cta h2 { font: 700 38px/1.05 Archivo, sans-serif; letter-spacing: -.03em; max-width: 24ch; color: #EDF1EE; }
.t4f-cta p { font: 400 14.5px/1.6 Archivo, sans-serif; color: #C3D5CB; margin: 14px 0 0; max-width: 54ch; }

/* ---------- Catalogue ---------- */
.t4f-shop-head { padding: 60px 0 0; }
.t4f-shop-head h1 { margin: 14px 0 0; font: 800 58px/1 Archivo, sans-serif; letter-spacing: -.038em; }
.t4f-shop-head .chapeau { font: 400 16px/1.7 Archivo, sans-serif; color: var(--t4f-texte); max-width: 52ch; margin: 18px 0 0; }
.t4f-filters { display: flex; gap: 10px; margin: 34px 0 40px; flex-wrap: wrap; font: 500 12.5px/1 Archivo, sans-serif; align-items: center; }
.t4f-filters a { padding: 11px 16px; border: 1px solid rgba(20, 35, 28, .18); color: #3A4741; }
.t4f-filters a.active { background: var(--t4f-encre); color: #fff; border-color: var(--t4f-encre); }
.t4f-filters .sort { margin-left: auto; color: var(--t4f-texte-2); font-weight: 400; }

ul.products.t4f-products {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  margin: 0 0 60px;
  padding: 0;
}
.woocommerce ul.products.t4f-products::before,
.woocommerce ul.products.t4f-products::after,
ul.products.t4f-products::before,
ul.products.t4f-products::after { display: none !important; content: none !important; }
.woocommerce ul.products.t4f-products li.product,
.woocommerce-page ul.products.t4f-products li.product,
ul.products.t4f-products li.product {
  margin: 0 !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: auto !important;
  max-width: none !important;
  float: none !important;
}
.t4f-card-img { position: relative; height: 330px; background: repeating-linear-gradient(135deg, #e8e6df 0 8px, #dedbd2 8px 16px); overflow: hidden; display: block; }
.t4f-card-img img { width: 100%; height: 100%; object-fit: cover; }
.t4f-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--t4f-vert);
  color: var(--t4f-creme);
  padding: 6px 10px;
  font: 600 10.5px/1 Archivo, sans-serif;
  letter-spacing: .04em;
  text-transform: uppercase;
  z-index: 2;
}
.t4f-card-row { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.t4f-card-name { font: 600 18px/1.25 Archivo, sans-serif; color: var(--t4f-encre); }
a.t4f-card-name:hover { color: var(--t4f-vert); }
/* Carte entièrement cliquable : lien étiré sous les boutons */
ul.products.t4f-products li.product { position: relative; }
.t4f-card-stretch { position: absolute; inset: 0; z-index: 1; }
.t4f-card-img, .t4f-card-actions { position: relative; z-index: 2; }
.t4f-card-row, .t4f-card-price { position: relative; }
a.t4f-card-name { position: relative; z-index: 2; }
.t4f-card-price { font: 700 17px/1 Archivo, sans-serif; color: var(--t4f-vert); white-space: nowrap; }
.t4f-card-price .woocommerce-Price-amount { font: inherit; color: inherit; }
.t4f-card-desc {
  font: 400 13.5px/1.55 Archivo, sans-serif;
  color: var(--t4f-texte-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
/* Boutons ancrés en bas : cartes d'une même rangée alignées quelle que soit la description */
.t4f-card-actions { display: flex; gap: 12px; align-items: center; margin-top: auto; padding-top: 6px; }
.t4f-card-actions .t4f-btn { padding: 13px 20px; font-size: 13px; }
.t4f-card-actions .t4f-link { color: var(--t4f-encre); font-size: 13px; }

/* ---------- Fiche produit ---------- */
.t4f-breadcrumb { padding: 26px 0 0; font: 400 12.5px/1 Archivo, sans-serif; color: #7E8884; }
.t4f-breadcrumb b, .t4f-breadcrumb .current { color: var(--t4f-encre); font-weight: 400; }
.t4f-breadcrumb a { color: inherit; }
.t4f-single { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: start; padding: 26px 0 80px; }
/* Anti « grid blowout » : l'iframe Stripe (largeur fixe) ne doit pas élargir la colonne */
.t4f-single > * { min-width: 0; }
.t4f-single .wcpay-express-checkout-wrapper,
.t4f-single #wcpay-express-checkout-element { min-width: 0; width: 100%; }
/* Boutons express : respirations et intitulé, dans la DA.
   NB : WooPayments insère ce bloc APRÈS le form.cart, pas dedans. */
.t4f-single .wcpay-express-checkout-wrapper { margin-top: 20px; }
.t4f-single .wcpay-express-checkout-wrapper:has(iframe)::before {
  content: "ou payez directement";
  display: block;
  text-align: center;
  font: 500 11px/1 Archivo, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--t4f-texte-3);
  margin-bottom: 12px;
}
.t4f-single .t4f-single-buy iframe { min-width: 0 !important; max-width: 100% !important; }
.t4f-single--reverse { grid-template-columns: 1fr 1.15fr; }
.t4f-single--reverse .t4f-single-gallery { order: 2; }
.t4f-single--reverse .t4f-single-buy { order: 1; }
.t4f-single-gallery { display: flex; flex-direction: column; gap: 14px; }
.t4f-single-main { position: relative; height: 620px; background: #dcd9cf; }
.t4f-single-main img { width: 100%; height: 100%; object-fit: cover; }
.t4f-single-main .t4f-img-tag { bottom: 20px; right: 20px; }
.t4f-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.t4f-thumbs > div { height: 120px; background: #e4e1d8; cursor: pointer; }
.t4f-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.t4f-single-buy { position: sticky; top: 110px; }
.t4f-single-buy h1 { margin: 14px 0 0; font: 800 46px/1.02 Archivo, sans-serif; letter-spacing: -.035em; }
.t4f-single-buy .t4f-price-row { margin-top: 16px; }
.t4f-single-buy .t4f-price-row .price { font-size: 32px; }
.t4f-single-buy .desc { font: 400 15.5px/1.7 Archivo, sans-serif; color: var(--t4f-texte); margin: 20px 0 0; }
/* Note de disponibilité (stock réel, lots compris) */
.t4f-stock-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  font: 500 13px/1 Archivo, sans-serif;
  color: var(--t4f-vert);
}
.t4f-stock-note .dot { width: 7px; height: 7px; border-radius: 50% !important; background: var(--t4f-vert); flex: none; }
.t4f-stock-note--out { color: #A0532E; }
.t4f-stock-note--out .dot { background: #A0532E; }
/* Le libellé de stock natif de Woo ferait doublon (il s'imprime AVANT le form) */
.t4f-single-buy p.stock, .t4f-single .woocommerce-variation-availability p.stock { display: none !important; }

.t4f-opt-group { margin-top: 30px; }
.t4f-opt-group + .t4f-opt-group { margin-top: 24px; }
.t4f-opt-label {
  font: 600 12.5px/1 Archivo, sans-serif;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #3A4741;
  margin-bottom: 12px;
}
.t4f-opt-note { font: 400 12.5px/1.55 Archivo, sans-serif; color: var(--t4f-texte-3); margin-top: 10px; }
.t4f-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.t4f-chip {
  padding: 12px 16px;
  font: 500 13.5px/1 Archivo, sans-serif;
  cursor: pointer;
  border: 1px solid rgba(20, 35, 28, .2);
  color: #2B342F;
  background: #fff;
}
.t4f-chip.active { background: var(--t4f-vert); border-color: var(--t4f-vert); color: var(--t4f-creme-alt); }
/* selects de variation cachés (remplacés par les pastilles JS) */
.t4f-variations-hidden table.variations { display: none; }
.t4f-single .reset_variations { display: none; }

/* Option carte-cadeau (+3 €) */
.t4f-addon { margin-top: 26px; }

/* ---------- Avis clients ---------- */
.t4f-rating-summary { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 2px; text-decoration: none; color: var(--t4f-texte-2); font: 400 13px/1 Archivo, sans-serif; }
.star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.2em; font-size: 14px; line-height: 1.2; }
.star-rating::before { content: "★★★★★"; color: #DCD8CC; position: absolute; left: 0; top: 0; letter-spacing: 2px; }
.star-rating > span { position: absolute; left: 0; top: 0; height: 1.2em; overflow: hidden; white-space: nowrap; color: transparent; }
.star-rating > span::before { content: "★★★★★"; color: #B98A2F; letter-spacing: 2px; display: block; }
.t4f-reviews { padding-top: 24px; padding-bottom: 80px; }
.t4f-reviews .woocommerce-Reviews { max-width: 720px; }
.t4f-reviews h2, .t4f-reviews .woocommerce-Reviews-title { font: 700 28px/1.1 Archivo, sans-serif; letter-spacing: -.02em; margin: 0 0 24px; }
.t4f-reviews .commentlist { list-style: none; margin: 0; padding: 0; }
.t4f-reviews .commentlist li { border-top: 1px solid var(--t4f-bordure); padding: 20px 0; }
.t4f-reviews img.avatar { display: none; }
.t4f-reviews .comment-text .meta { font: 400 13px/1.4 Archivo, sans-serif; color: var(--t4f-texte-2); margin: 6px 0 8px; }
.t4f-reviews .comment-text .meta strong { color: var(--t4f-texte); font-weight: 700; }
.t4f-reviews .woocommerce-review__verified { font-style: normal; color: var(--t4f-vert); font-size: 12px; }
.t4f-reviews .description p { font: 400 15px/1.7 Archivo, sans-serif; margin: 0; }
.t4f-reviews #review_form_wrapper { margin-top: 28px; }
.t4f-reviews .comment-reply-title { font: 700 18px/1.2 Archivo, sans-serif; display: block; margin-bottom: 14px; }
.t4f-reviews .comment-form label { display: block; font: 600 12.5px/1 Archivo, sans-serif; margin: 14px 0 6px; }
.t4f-reviews .comment-form input[type="text"],
.t4f-reviews .comment-form input[type="email"],
.t4f-reviews .comment-form select,
.t4f-reviews .comment-form textarea {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  border: 1px solid var(--t4f-bordure);
  background: #fff;
  padding: 11px 12px;
  font: 400 14px/1.4 Archivo, sans-serif;
}
.t4f-reviews .comment-form select { max-width: 220px; }
.t4f-reviews .form-submit input[type="submit"] {
  margin-top: 16px;
  background: var(--t4f-vert);
  color: #EDF1EE;
  border: 0;
  padding: 14px 26px;
  font: 600 14px/1 Archivo, sans-serif;
  cursor: pointer;
}
.t4f-reviews .form-submit input[type="submit"]:hover { opacity: .92; }
.t4f-reviews .woocommerce-verification-required { font: 400 14px/1.6 Archivo, sans-serif; color: var(--t4f-texte-2); border-top: 1px solid var(--t4f-bordure); padding-top: 18px; }

/* Lien « Vider mon panier » */
.t4f-empty-cart {
  font: 400 12.5px/1 Archivo, sans-serif;
  color: var(--t4f-texte-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-left: auto;
  align-self: center;
  white-space: nowrap;
}
.t4f-empty-cart:hover { color: #B3261E; }

/* Sélecteur du porte-clés offert (jauge panier/commande) */
.t4f-gift-choice { margin-top: 12px; }
.t4f-gift-choice p { font: 600 12.5px/1.4 Archivo, sans-serif; margin: 0 0 8px; }
.t4f-gift-choice a {
  display: inline-block;
  font: 600 12.5px/1 Archivo, sans-serif;
  color: var(--t4f-vert);
  border: 1.5px solid var(--t4f-vert);
  padding: 8px 14px;
  margin: 0 8px 6px 0;
  text-decoration: none;
}
.t4f-gift-choice a:hover { background: var(--t4f-vert); color: #EDF1EE; }

/* Encart « Ajoutez aussi » (renvoie vers la fiche de la carte manuscrite) */
.t4f-crosssell {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  box-sizing: border-box;
  align-self: stretch;
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--t4f-creme);
  text-decoration: none;
  color: inherit;
}
.t4f-crosssell img { width: 56px; height: 56px; object-fit: cover; flex: none; }
.t4f-crosssell .k { display: block; font: 600 10.5px/1 Archivo, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--t4f-vert); margin-bottom: 5px; }
.t4f-crosssell .t { display: block; font: 700 15px/1.2 Archivo, sans-serif; }
.t4f-crosssell .d { display: block; font: 400 12.5px/1.5 Archivo, sans-serif; color: var(--t4f-texte-2); margin-top: 3px; }
.t4f-crosssell .arrow { margin-left: auto; color: var(--t4f-vert); font-size: 18px; flex: none; }
.t4f-crosssell:hover .t { text-decoration: underline; text-underline-offset: 3px; }
.t4f-addon-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(20, 35, 28, .22);
  padding: 14px 16px;
  font: 500 14px/1.3 Archivo, sans-serif;
  cursor: pointer;
  margin-top: 12px;
}
.t4f-addon-toggle input { width: 18px; height: 18px; accent-color: var(--t4f-vert); margin: 0; flex: none; }
.t4f-addon-toggle:has(input:checked) { border-color: var(--t4f-vert); }
.t4f-addon-fields { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.t4f-addon-fields[hidden] { display: none; }
.t4f-chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.t4f-chip-radio span {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px;
  font: 500 13.5px/1 Archivo, sans-serif;
  border: 1px solid rgba(20, 35, 28, .2);
  color: #2B342F;
  background: #fff;
  cursor: pointer;
}
.t4f-chip-radio input:checked + span { background: var(--t4f-vert); border-color: var(--t4f-vert); color: var(--t4f-creme-alt); }
.t4f-addon-fields input[type="text"], .t4f-addon-fields textarea {
  border: 1px solid rgba(20, 35, 28, .2);
  padding: 14px 16px;
  font: 400 14px/1.4 Archivo, sans-serif;
  width: 100%;
  box-sizing: border-box;
  resize: vertical;
  background: #fff;
  color: var(--t4f-encre);
}
.t4f-addon-fields input::placeholder, .t4f-addon-fields textarea::placeholder { color: #8A9490; }
.t4f-addon-count { font: 400 12px/1 Archivo, sans-serif; color: var(--t4f-texte-3); text-align: right; margin-top: -6px; }

.t4f-buy-row,
.t4f-single .woocommerce-variation-add-to-cart,
.t4f-single form.cart:not(.variations_form) { display: flex; align-items: stretch; gap: 14px; margin-top: 30px; flex-wrap: wrap; }
.t4f-single form.cart .t4f-addon { flex: 1 1 100%; margin-top: 0; }
.t4f-single form.cart:not(.variations_form) .quantity { align-self: stretch; }
.t4f-single .woocommerce-variation-price { display: none; }
.t4f-single .woocommerce-variation-availability { display: none; }
.t4f-single form.cart .single_add_to_cart_button {
  flex: 1;
  background: var(--t4f-vert);
  color: var(--t4f-creme-alt);
  border: 0;
  font: 600 14.5px/1 Archivo, sans-serif;
  padding: 17px 28px;
  cursor: pointer;
}
.t4f-single form.cart .single_add_to_cart_button:hover { background: var(--t4f-encre); }
.t4f-qty { display: flex; align-items: center; border: 1px solid rgba(20, 35, 28, .2); }
.t4f-qty button {
  padding: 15px 18px;
  font: 600 15px/1 Archivo, sans-serif;
  background: none;
  border: 0;
  cursor: pointer;
  user-select: none;
  color: var(--t4f-encre);
}
.t4f-qty input {
  width: 36px;
  border: 0;
  text-align: center;
  font: 600 15px/1 Archivo, sans-serif;
  -moz-appearance: textfield;
  appearance: textfield;
  background: transparent;
}
.t4f-qty input::-webkit-outer-spin-button, .t4f-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.t4f-buy-row .single_add_to_cart_button { flex: 1; }
.t4f-alt-offer {
  display: block;
  border: 1px solid rgba(20, 35, 28, .22);
  padding: 15px 22px;
  margin-top: 12px;
  font: 500 14px/1 Archivo, sans-serif;
  text-align: center;
  cursor: pointer;
  color: var(--t4f-encre);
}
.t4f-alt-offer:hover { border-color: var(--t4f-vert); }
.t4f-single-reassure {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--t4f-bordure);
  font: 400 13.5px/1.5 Archivo, sans-serif;
  color: #3A4741;
}
.t4f-single-reassure > div { display: flex; gap: 12px; }
.t4f-single-reassure .diamond { color: var(--t4f-or-fonce); font-size: 10px; flex: none; }

/* Description longue de la fiche produit */
.t4f-product-longdesc { max-width: 820px; margin-left: auto; margin-right: auto; padding-bottom: 70px; }
.t4f-product-longdesc h2 { font: 700 30px/1.1 Archivo, sans-serif; letter-spacing: -.025em; margin: 0 0 14px; }
.t4f-product-longdesc h3 { font: 700 20px/1.2 Archivo, sans-serif; margin: 30px 0 8px; }
.t4f-product-longdesc p { font: 400 15.5px/1.75 Archivo, sans-serif; color: var(--t4f-texte); margin: 10px 0 0; }
.t4f-product-longdesc a { color: var(--t4f-vert); text-decoration: underline; text-underline-offset: 3px; }

/* Process (fiche blister) */
.t4f-process { background: var(--t4f-creme); padding: 70px 48px; }
.t4f-process-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 44px; }
.t4f-process-grid .num { font: 600 12px/1 ui-monospace, Menlo, monospace; color: var(--t4f-or-fonce); }
.t4f-process-grid h3 { font: 700 22px/1.15 Archivo, sans-serif; margin-top: 12px; }
.t4f-process-grid p { font: 400 14px/1.65 Archivo, sans-serif; color: var(--t4f-texte); margin: 10px 0 0; }

/* ---------- Pages éditoriales ---------- */
.t4f-page-hero { position: relative; height: 440px; background: #d2cfc4 center 30%/cover no-repeat; display: flex; align-items: flex-end; }
.t4f-page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(9, 20, 15, .88) 0, rgba(9, 20, 15, .6) 60%, rgba(9, 20, 15, .3)); }
.t4f-page-hero-in { position: relative; max-width: 1400px; margin: 0 auto; width: 100%; padding: 0 48px 48px; color: var(--t4f-creme-alt); box-sizing: border-box; }
.t4f-page-hero h1 { margin: 16px 0 0; font: 800 62px/1 Archivo, sans-serif; letter-spacing: -.038em; max-width: 22ch; color: var(--t4f-creme-alt); }

.t4f-editorial { padding-top: 72px; padding-bottom: 90px; } /* jamais de raccourci padding : il écraserait les gouttières du t4f-wrap */
.t4f-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.t4f-2col--asym { grid-template-columns: 1.1fr 1fr; }
.t4f-editorial .lead { font: 400 17px/1.75 Archivo, sans-serif; color: #3A4741; margin: 0; }
.t4f-editorial .body-p { font: 400 15.5px/1.75 Archivo, sans-serif; color: var(--t4f-texte); margin: 22px 0 0; }
.t4f-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.t4f-stat { border-top: 2px solid var(--t4f-vert); padding-top: 14px; }
.t4f-stat .n { font: 700 28px/1 Archivo, sans-serif; color: var(--t4f-vert); }
.t4f-stat .d { font: 400 13px/1.5 Archivo, sans-serif; color: var(--t4f-texte-2); margin-top: 8px; }
.t4f-img-stack { display: flex; flex-direction: column; gap: 16px; }
.t4f-img-stack .big { height: 420px; background: #e4e1d8 center/cover no-repeat; }
.t4f-img-stack .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.t4f-placeholder {
  background: repeating-linear-gradient(135deg, #e4e1d8 0 8px, #dad7ce 8px 16px);
  display: flex;
  align-items: center;
  justify-content: center;
  font: 10px/1 ui-monospace, Menlo, monospace;
  text-transform: uppercase;
  letter-spacing: .09em;
  color: #6b6a63;
}
.t4f-img-stack .pair > div { height: 200px; }

.t4f-page-title { padding-top: 70px; }
.t4f-page-title h1 { margin: 14px 0 0; font: 800 58px/1 Archivo, sans-serif; letter-spacing: -.038em; max-width: 24ch; }

/* FAQ */
.t4f-faq-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 44px 0 60px; }
.t4f-faq-card { background: var(--t4f-creme); padding: 28px; }
.t4f-faq-card .t { font: 700 22px/1.1 Archivo, sans-serif; }
.t4f-faq-card .d { font: 400 13.5px/1.6 Archivo, sans-serif; color: var(--t4f-texte); margin-top: 10px; }
.t4f-faq-list { max-width: 860px; padding-bottom: 20px; }
.t4f-faq-list details { border-top: 1px solid var(--t4f-bordure); }
.t4f-faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: baseline;
  padding: 24px 0;
  cursor: pointer;
  font: 600 19px/1.3 Archivo, sans-serif;
  list-style: none;
}
.t4f-faq-list summary::-webkit-details-marker { display: none; }
.t4f-faq-list summary::after { content: "+"; font: 400 20px/1 Archivo, sans-serif; color: var(--t4f-vert); flex: none; }
.t4f-faq-list details[open] summary::after { content: "−"; }
.t4f-faq-list details p { font: 400 15px/1.7 Archivo, sans-serif; color: var(--t4f-texte); margin: 0 0 24px; max-width: 70ch; }

/* ---------- Pages génériques (CGV, mentions…) ---------- */
/* Le contenu des pages légales commence par son propre H1 : on masque le
   doublon quand le gabarit affiche déjà le titre de la page. */
.wp-block-post-content > h1:first-child { display: none; }
.wp-block-post-content h2 { font: 700 26px/1.15 Archivo, sans-serif; letter-spacing: -.02em; margin: 40px 0 12px; }
.wp-block-post-content h3 { font: 700 19px/1.25 Archivo, sans-serif; margin: 26px 0 8px; }
.wp-block-post-content p, .wp-block-post-content li { font: 400 15px/1.7 Archivo, sans-serif; color: var(--t4f-texte); }
main.wp-block-group .wp-block-post-title { font: 800 44px/1.05 Archivo, sans-serif; letter-spacing: -.035em; margin-bottom: 10px; }

/* ---------- Panier / tunnel (gabarits et blocs Woo) ---------- */
.t4f-cart-page h1, .t4f-checkout-page h1 { font: 800 50px/1 Archivo, sans-serif; letter-spacing: -.038em; padding-top: 60px; }
.t4f-gauge { margin: 20px 0 4px; }
.t4f-gauge-bar { height: 6px; background: rgba(20, 35, 28, .12); }
.t4f-gauge-bar span { display: block; height: 6px; background: var(--t4f-vert); }
.t4f-gauge p { font: 400 12.5px/1.5 Archivo, sans-serif; color: var(--t4f-texte); margin: 10px 0 0; }

/* Habillage générique des blocs/panier Woo dans la DA */
.wc-block-components-button, .woocommerce button.button, .woocommerce a.button,
.woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce input.button,
.wp-element-button {
  background: var(--t4f-vert) !important;
  color: var(--t4f-creme-alt) !important;
  font: 600 14.5px/1.2 Archivo, sans-serif !important;
  padding: 15px 26px;
  border: 0;
}
.wc-block-components-button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover,
.wp-element-button:hover { background: var(--t4f-encre) !important; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea,
.wc-block-components-text-input input, .wc-block-components-textarea {
  border: 1px solid rgba(20, 35, 28, .2);
  padding: 14px 16px;
  font: 400 14px/1.2 Archivo, sans-serif;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border-top-color: var(--t4f-vert);
  background: var(--t4f-creme);
  font: 400 14px/1.5 Archivo, sans-serif;
}
.wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block,
.woocommerce .cart-collaterals .cart_totals { background: var(--t4f-creme); padding: 32px; }
.woocommerce table.shop_table { border: 0; }
.woocommerce table.shop_table td, .woocommerce table.shop_table th { border-top: 1px solid var(--t4f-bordure); }

/* Ligne cadeau */
.t4f-gift-row, tr.cart_item.t4f-gift-row td { background: #F3F6F3 !important; }
.t4f-gift-qty { font: 600 14px/1 Archivo, sans-serif; padding: 9px 13px; display: inline-block; }
tr.t4f-gift-row .product-remove a { visibility: hidden; }

/* ---------- Panier custom (handoff §8) ---------- */
.t4f-cart-page h1 { font: 800 50px/1 Archivo, sans-serif; letter-spacing: -.038em; padding-top: 60px; margin-bottom: 36px; }
.t4f-cart-empty { padding: 56px; background: var(--t4f-creme); text-align: center; margin-bottom: 90px; }
.t4f-cart-empty .t { font: 600 20px/1.3 Archivo, sans-serif; }
.t4f-cart-empty .d { font: 400 14.5px/1.6 Archivo, sans-serif; color: var(--t4f-texte); margin-top: 10px; }
.t4f-cart-empty .t4f-btn { margin-top: 24px; }
.t4f-cart-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 56px; align-items: start; padding-bottom: 90px; }
.t4f-cart-line {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-top: 1px solid var(--t4f-bordure);
  align-items: center;
}
.t4f-cart-line .thumb { height: 100px; overflow: hidden; background: #e4e1d8; }
.t4f-cart-line .thumb img { width: 100%; height: 100%; object-fit: cover; }
.t4f-cart-line .name-row { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
.t4f-cart-line .name { font: 600 17px/1.25 Archivo, sans-serif; color: var(--t4f-encre); }
.t4f-cart-line a.name:hover { color: var(--t4f-vert); }
.t4f-cart-line a.thumb { display: block; }
.t4f-cart-line .line-total { font: 700 18px/1 Archivo, sans-serif; color: var(--t4f-vert); white-space: nowrap; }
.t4f-cart-line .line-total .woocommerce-Price-amount { font: inherit; color: inherit; }
.t4f-cart-line .opts { font: 400 13px/1.5 Archivo, sans-serif; color: var(--t4f-texte-2); margin-top: 6px; }
.t4f-cart-line .opts dl.variation { margin: 0; display: block; }
.t4f-cart-line .opts dl.variation dt, .t4f-cart-line .opts dl.variation dd { display: inline; margin: 0; font-weight: 400; }
.t4f-cart-line .opts dl.variation dd::after { content: " · "; }
.t4f-cart-line .opts dl.variation dd:last-child::after { content: ""; }
.t4f-cart-line .opts dl.variation dd p { display: inline; margin: 0; }
.t4f-cart-line .controls { display: flex; gap: 16px; align-items: center; margin-top: 12px; }
.t4f-cart-line .controls .t4f-qty button { padding: 9px 13px; font-size: 14px; }
.t4f-cart-line .controls .t4f-qty input { width: 28px; font-size: 14px; }
.t4f-cart-line .remove-link { font: 400 13px/1 Archivo, sans-serif; color: #8A9490; text-decoration: underline; }
.t4f-gift-line { background: #F3F6F3; }
.t4f-cart-coupon { display: flex; gap: 12px; margin-top: 20px; border-top: 1px solid var(--t4f-bordure); padding-top: 20px; }
.t4f-cart-coupon input {
  border: 1px solid rgba(20, 35, 28, .2);
  padding: 12px 14px;
  font: 400 13.5px/1.2 Archivo, sans-serif;
  width: 160px;
}
.t4f-cart-coupon .t4f-btn--ghost { padding: 12px 18px; font-size: 13px; }
.t4f-cart-aside { background: var(--t4f-creme); padding: 32px; position: sticky; top: 110px; }
.t4f-cart-aside .t { font: 700 22px/1 Archivo, sans-serif; }
.t4f-cart-aside .rows { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; font: 400 14.5px/1.3 Archivo, sans-serif; color: #3A4741; }
.t4f-cart-aside .row { display: flex; justify-content: space-between; gap: 12px; }
.t4f-cart-aside .row--discount { color: var(--t4f-vert); }
.t4f-cart-aside .row a { font-size: 12px; text-decoration: underline; color: inherit; }
.t4f-cart-aside .total-row {
  border-top: 1px solid rgba(20, 35, 28, .18);
  margin-top: 20px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font: 600 15px/1 Archivo, sans-serif;
}
.t4f-cart-aside .total-row .total { font: 700 26px/1 Archivo, sans-serif; color: var(--t4f-vert); }
.t4f-cart-aside .total-row .woocommerce-Price-amount { font: inherit; color: inherit; }
.t4f-cart-aside .t4f-checkout-btn { display: block; text-align: center; margin-top: 24px; }
.t4f-cart-aside .mention { font: 400 12px/1.6 Archivo, sans-serif; color: var(--t4f-texte-3); margin-top: 14px; }

/* Stepper du tunnel */
.t4f-stepper { display: flex; gap: 26px; align-items: baseline; font: 500 13px/1 Archivo, sans-serif; color: #8A9490; padding-top: 60px; }
.t4f-stepper .active { color: var(--t4f-encre); }
.t4f-checkout-page h1 { padding-top: 20px !important; }

/* Coupon toggle + méthodes de paiement dans la DA */
.woocommerce-form-coupon-toggle .woocommerce-info {
  border: 1px solid var(--t4f-bordure) !important;
  border-top-color: var(--t4f-vert) !important;
  background: var(--t4f-creme) !important;
  color: var(--t4f-encre) !important;
  font: 400 14px/1.5 Archivo, sans-serif;
}
.woocommerce-form-coupon-toggle .woocommerce-info::before { color: var(--t4f-vert) !important; background: none !important; }
.woocommerce-form-coupon-toggle .woocommerce-info a { color: var(--t4f-vert); }
/* Variante « notice banner » (Woo récent / WooPayments) */
.woocommerce-form-coupon-toggle .wc-block-components-notice-banner,
.woocommerce-form-coupon-toggle .wc-block-components-notice-banner.is-info {
  border: 1px solid var(--t4f-bordure) !important;
  border-top: 2px solid var(--t4f-vert) !important;
  background: var(--t4f-creme) !important;
  color: var(--t4f-encre) !important;
  font: 400 14px/1.5 Archivo, sans-serif;
}
.woocommerce-form-coupon-toggle .wc-block-components-notice-banner svg { fill: var(--t4f-vert) !important; background: none !important; }
.woocommerce-form-coupon-toggle a { color: var(--t4f-vert) !important; }

/* Boutons express (Apple Pay / PayPal) : pas de séparateur « OU » orphelin */
#wcpay-express-checkout-element:empty { display: none; }
#wcpay-express-checkout-element:empty ~ #wcpay-express-checkout-button-separator,
#wcpay-express-checkout-element:empty + #wcpay-express-checkout-button-separator { display: none !important; }

/* Formulaire newsletter MailPoet de l'ancien design : masqué (offre à 10 €
   contradictoire avec la règle des 20 € - à réactiver une fois le texte revu) */
.mailpoet_form, .mailpoet-form, [class*="mailpoet_form_"] { display: none !important; }
.woocommerce-checkout #payment ul.payment_methods { border: 0; padding: 0; }
.woocommerce-checkout #payment ul.payment_methods li {
  border: 1px solid rgba(20, 35, 28, .18);
  padding: 14px 16px;
  margin-bottom: 10px;
  list-style: none;
  font: 500 14px/1.3 Archivo, sans-serif;
  background: #fff;
}
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 22px; }

/* Panier : conteneur Woo neutre (le gabarit custom cart.php porte la mise en page) */
.woocommerce-cart .woocommerce { max-width: 1400px; margin: 0 auto; }
.t4f-cart-main .woocommerce-notices-wrapper { max-width: 1400px; margin: 0 auto; padding: 12px var(--t4f-gutter) 0; box-sizing: border-box; }

/* Tunnel de commande (checkout classique) */
.woocommerce-checkout .woocommerce { max-width: 1400px; margin: 0 auto; padding: 0 0 90px; }
.woocommerce-checkout form.woocommerce-checkout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 8px 56px;
  align-items: start;
}
.woocommerce-checkout form.woocommerce-checkout .col2-set { grid-column: 1; width: 100%; float: none; }
.woocommerce-checkout form.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout form.woocommerce-checkout .col2-set .col-2 { width: 100%; float: none; }
.woocommerce-checkout form.woocommerce-checkout #order_review_heading {
  grid-column: 2;
  margin: 0;
  background: var(--t4f-creme);
  padding: 32px 32px 0;
  font: 700 22px/1 Archivo, sans-serif;
}
.woocommerce-checkout form.woocommerce-checkout #order_review {
  grid-column: 2;
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  float: none;
  background: var(--t4f-creme);
  padding: 18px 32px 32px;
  position: sticky;
  top: 110px;
}
.woocommerce-checkout form.woocommerce-checkout #order_review_heading { box-sizing: border-box; width: 100%; }
.woocommerce-checkout .woocommerce-checkout-review-order-table { width: 100%; }
.t4f-gauge-row td { padding: 8px 0 4px; border: 0; }
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 { font: 600 13px/1.4 Archivo, sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #3A4741; }
.woocommerce-checkout form .form-row label { font: 400 12.5px/1.4 Archivo, sans-serif; color: var(--t4f-texte-2); }
.woocommerce-checkout #payment { background: transparent; }
.woocommerce-checkout #payment div.payment_box { background: rgba(20, 35, 28, .06); }
.woocommerce-checkout #place_order { width: 100%; }
@media (max-width: 1100px) {
  .woocommerce-checkout form.woocommerce-checkout { grid-template-columns: 1fr; }
  .woocommerce-checkout form.woocommerce-checkout #order_review_heading,
  .woocommerce-checkout form.woocommerce-checkout #order_review { grid-column: 1; position: static; }
}

/* ---------- Barre d'achat fixe (mobile) ---------- */
.t4f-buybar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid var(--t4f-bordure);
  padding: 12px 18px calc(16px + env(safe-area-inset-bottom));
  align-items: center;
  gap: 16px;
}
.t4f-buybar .price-block { flex: none; }
.t4f-buybar .p { font: 700 20px/1 Archivo, sans-serif; color: var(--t4f-vert); }
.t4f-buybar .n { font: 400 11px/1.3 Archivo, sans-serif; color: var(--t4f-texte-3); margin-top: 3px; }
.t4f-buybar .t4f-btn { flex: 1; padding: 17px 12px; }

/* =====================================================================
   Responsive - tablette ≤1100px puis mobile ≤767px (maquette 390)
   ===================================================================== */
@media (max-width: 1100px) {
  .t4f-prod-section, .t4f-prod-section--alt { grid-template-columns: 1fr; }
  .t4f-prod-img { min-height: 420px; order: -1; }
  .t4f-prod-text, .t4f-prod-section--alt .t4f-prod-text { padding: 48px; }
  ul.products.t4f-products { grid-template-columns: repeat(2, 1fr); }
  .t4f-reassure-grid { grid-template-columns: repeat(2, 1fr); }
  .t4f-gifts-grid { grid-template-columns: repeat(2, 1fr); }
  .t4f-single, .t4f-single--reverse { grid-template-columns: 1fr; }
  .t4f-single--reverse .t4f-single-gallery { order: 1; }
  .t4f-single--reverse .t4f-single-buy { order: 2; }
  .t4f-single-buy { position: static; }
  .t4f-2col, .t4f-2col--asym { grid-template-columns: 1fr; gap: 44px; }
  .t4f-cta-in { grid-template-columns: 1fr; }
  .t4f-faq-cards { grid-template-columns: 1fr 1fr; }
}

/* Header compact : la nav complète ne tient plus sous ~1080px → burger */
@media (max-width: 1080px) {
  .t4f-nav { display: none; }
  .t4f-burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 44px;
    height: 44px;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
  }
  .t4f-burger span { display: block; height: 2px; background: var(--t4f-encre); width: 22px; }
  .t4f-burger span:last-child { width: 16px; }
  .t4f-mobile-menu {
    display: none;
    position: sticky;
    top: 69px;
    z-index: 39;
    background: var(--t4f-encre);
    color: var(--t4f-creme);
    padding: 4px 24px 12px;
  }
  .t4f-mobile-menu.open { display: block; }
  .t4f-mobile-menu a {
    display: block;
    padding: 16px 0;
    font: 600 16px/1.2 Archivo, sans-serif;
    color: var(--t4f-creme);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
  }
  .t4f-mobile-menu a:last-child { border-bottom: 0; }
}

@media (max-width: 767px) {
  :root { --t4f-gutter: 18px; }
  body { font-size: 14.5px; }

  /* Promo condensé */
  .t4f-promo { font: 500 11.5px/1.35 Archivo, sans-serif; padding: 9px 14px; gap: 10px; }
  .t4f-promo .full, .t4f-promo .sep, .t4f-promo .alt { display: none; }
  .t4f-promo .short { display: inline; }

  /* Header mobile : tailles réduites */
  .t4f-header-in { padding: 14px 18px; }
  .t4f-logo { font-size: 16px; }
  .t4f-cart-btn { padding: 11px 13px; min-height: 44px; box-sizing: border-box; }
  .t4f-cart-btn .paren { display: none; }
  .t4f-mobile-menu { padding: 4px 18px 12px; }

  /* Hero */
  .t4f-hero { height: 520px; }
  .t4f-hero::before { background: linear-gradient(to top, rgba(9, 20, 15, .92) 0, rgba(9, 20, 15, .78) 46%, rgba(9, 20, 15, .34) 90%); }
  .t4f-hero-in { padding: 0 18px 34px; }
  .t4f-hero .t4f-eyebrow { font-size: 10.5px; line-height: 1.5; letter-spacing: .15em; margin-bottom: 14px; }
  .t4f-hero h1 { font-size: 40px; line-height: 1.02; }
  .t4f-hero-ctas { flex-direction: column; gap: 10px; margin-top: 24px; }
  .t4f-hero-ctas .t4f-btn, .t4f-hero-ctas .t4f-btn--outline-light { width: 100%; box-sizing: border-box; padding: 17px 22px; }

  /* Réassurance 2×2 raccourcie */
  .t4f-reassure-grid { grid-template-columns: 1fr 1fr; padding: 26px 18px; gap: 20px 18px; }
  .t4f-reassure-item .t { font-size: 13px; }
  .t4f-reassure-item .d { display: none; }
  .t4f-reassure-item .d-short { display: block; font: 400 12px/1.5 Archivo, sans-serif; color: var(--t4f-texte-2); margin-top: 6px; }

  /* Sections produit empilées, photo plein bord */
  .t4f-prod-img { min-height: 420px; }
  .t4f-prod-text, .t4f-prod-section--alt .t4f-prod-text { padding: 32px 18px 40px; }
  .t4f-prod-text h2 { font-size: 34px; }
  .t4f-price-row .price { font-size: 26px; }
  .t4f-prod-text p { font-size: 14.5px; }
  .t4f-prod-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .t4f-prod-actions .t4f-btn, .t4f-prod-actions .t4f-btn--ghost { width: 100%; box-sizing: border-box; }
  .t4f-prod-actions .t4f-link { align-self: center; padding: 8px 0; }

  /* Idées cadeaux : carrousel */
  .t4f-gifts { padding: 48px 18px; }
  .t4f-gifts-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-bottom: 22px; }
  .t4f-gifts-head h2 { font-size: 28px; }
  .t4f-gifts-grid {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    margin: 0 -18px;
    padding: 0 18px;
    scrollbar-width: none;
  }
  .t4f-gifts-grid::-webkit-scrollbar { display: none; }
  .t4f-gift-card { flex: none; width: 240px; height: 280px; padding: 20px; }
  .t4f-gift-card .t { font-size: 20px; }

  /* Bloc SEO accueil */
  .t4f-home-seo { padding: 44px 18px 52px; }
  .t4f-home-seo-head h2 { font-size: 28px; }
  .t4f-home-seo-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 26px; }
  .t4f-home-seo-item h3 { font-size: 18px; }

  /* CTA */
  .t4f-cta { padding: 38px 18px 42px; }
  .t4f-cta h2 { font-size: 28px; }
  .t4f-cta .t4f-btn--cream { width: 100%; box-sizing: border-box; }

  /* Catalogue : 2 colonnes, filtres carrousel */
  .t4f-shop-head h1 { font-size: 36px; }
  .t4f-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin: 22px -18px 26px;
    padding: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .t4f-filters::-webkit-scrollbar { display: none; }
  .t4f-filters a { flex: none; }
  /* Safari iOS perd le padding des conteneurs scrollables : gouttières via les extrémités */
  .t4f-filters > :first-child { margin-left: 18px; }
  .t4f-filters > :last-child { margin-right: 18px; }
  .t4f-filters .sort { display: none; }
  ul.products.t4f-products { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .t4f-card-img { height: 190px; }
  .t4f-card-badge { font-size: 9px; }
  .t4f-card-name { font-size: 14.5px; }
  .t4f-card-price { font-size: 15px; }
  .t4f-card-desc { font-size: 12px; line-height: 1.5; }
  .t4f-card-row { flex-direction: column; align-items: flex-start; gap: 4px; }
  .t4f-card-actions { flex-direction: column; align-items: stretch; }
  .t4f-card-actions .t4f-btn { width: 100%; box-sizing: border-box; font-size: 12.5px; }
  .t4f-card-actions .t4f-link { align-self: center; }

  /* Fiche produit */
  .t4f-single { padding: 18px 0 60px; gap: 28px; }
  .t4f-single-main { height: 440px; margin: 0 -18px; }
  .t4f-single-main .t4f-img-tag { right: 38px; bottom: 16px; } /* l'image déborde de 18px : l'étiquette reste visible */
  .t4f-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    margin: 0 -18px;
    padding: 0 18px;
    scrollbar-width: none;
  }
  .t4f-thumbs::-webkit-scrollbar { display: none; }
  .t4f-thumbs > div { flex: none; width: 92px; height: 92px; }
  .t4f-single-buy h1 { font-size: 32px; }
  .t4f-single-buy .t4f-price-row .price { font-size: 26px; }
  .t4f-chip { padding: 13px 15px; min-height: 44px; box-sizing: border-box; display: inline-flex; align-items: center; }
  .t4f-qty button { padding: 14px 16px; }
  /* Rangée d'achat : bouton sur une ligne */
  .t4f-single form.cart .single_add_to_cart_button { font-size: 13.5px; padding: 17px 10px; white-space: nowrap; }
  .t4f-process { padding: 32px 18px; }
  .t4f-process-grid { grid-template-columns: 1fr; gap: 0; }
  .t4f-process-grid > div + div { margin-top: 24px; }

  /* Pages éditoriales */
  .t4f-page-hero { height: 340px; }
  .t4f-page-hero-in { padding: 0 18px 28px; }
  .t4f-page-hero h1 { font-size: 36px; }
  .t4f-page-title { padding-top: 40px; }
  .t4f-page-title h1 { font-size: 34px; }
  .t4f-editorial { padding-top: 40px; padding-bottom: 60px; }
  /* Photos éditoriales plein bord (les textes gardent la gouttière) */
  .t4f-editorial .t4f-img-stack,
  .t4f-2col > .t4f-placeholder { margin-left: -18px; margin-right: -18px; }
  .t4f-stats { gap: 18px; }
  .t4f-stat .n { font-size: 24px; }
  .t4f-img-stack .big { height: 300px; }
  .t4f-img-stack .pair > div { height: 150px; }
  .t4f-faq-cards { grid-template-columns: 1fr; gap: 12px; margin: 28px 0 36px; }
  .t4f-faq-card { padding: 20px; }
  .t4f-faq-list summary { font-size: 16px; padding: 18px 0; }
  .t4f-faq-list details p { font-size: 14px; }

  /* Panier / tunnel */
  .t4f-cart-page h1, .t4f-checkout-page h1 { font-size: 34px; padding-top: 32px; }
  .t4f-cart-page, .t4f-checkout-page { padding-bottom: 110px; }
  .t4f-cart-grid { grid-template-columns: 1fr; gap: 0; padding-bottom: 40px; }
  .t4f-cart-line { grid-template-columns: 80px 1fr; gap: 14px; }
  .t4f-cart-line .thumb { height: 80px; }
  .t4f-cart-line .name { font-size: 15px; }
  .t4f-cart-line .opts { font-size: 12px; }
  .t4f-cart-line .controls .t4f-qty button { padding: 10px 14px; }
  .t4f-cart-aside { position: static; margin-top: 24px; padding: 22px; }
  .t4f-cart-aside .total-row .total { font-size: 24px; }
  .t4f-cart-aside .t4f-checkout-btn { display: none; } /* le CTA vit dans la barre fixe */
  .t4f-cart-coupon input { flex: 1; width: auto; }
  .t4f-stepper { font-size: 11.5px; gap: 16px; padding-top: 28px; }

  /* Footer 2 colonnes */
  .t4f-footer { padding: 34px 18px 26px; }
  .t4f-footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; font-size: 13px; }
  .t4f-footer-grid > div:first-child { grid-column: span 2; }
  .t4f-footer .t4f-logo { font-size: 17px; }
  .t4f-footer-bottom { font-size: 11px; }

  /* Barre d'achat fixe */
  .t4f-buybar.visible { display: flex; }
  body.t4f-has-buybar { padding-bottom: 96px; }
}
