/* LP Black Friday 2026, refonte du 18.11.2026 (préfixe bf3-) : page générée par tools/black_friday_v3.py.
   Chargée APRÈS assets/calendriers.css et assets/black-month-v3.css (système de la LP calendriers et composants de la LP Black
   November v3 : compte à rebours en 4 cases, note Trusted Shops, onglets, cartes produit, avis, FAQ, clôture).
   Univers des bannières officielles (tools/assets-src/blackfriday) : brun très foncé chaud, « FRIDAY » et « -20 % » or sable,
   ticket BF26 en pointillés or, bouton or sable à texte foncé, scène du chalet. Rouge KissKiss pour l'achat et le bandeau.
   18.11.2026 (2), retours de Marc (« bannière dynamique [...] bandeau avec le code qui passe sur l'écran », « trop long ») :
   ouverture composée comme la bannière et animée (CSS seulement, coupé si prefers-reduced-motion), bandeau défilant,
   sections compactes, toutes sur la largeur de l'ouverture (.cal-wrap, 1360 px). Inter du site, plancher 14 px. */

.bf3 { --bf3-brun: #150d0a; --bf3-brun-2: #241712; --bf3-sable: #f1ca89; --bf3-sable-2: #e5b56b; --bf3-ease: cubic-bezier(.22, 1, .36, 1); }
.bf3 [hidden], .bf3-sticky-st[hidden], .cal-cd-box[hidden] { display: none !important; }
#meilleures-ventes, #calendriers { scroll-margin-top: 12px; }
.bf3-eyebrow { margin: 0 0 8px; font-size: 14px; line-height: 1.4; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--cal-or-ink); }
.bf3 sup { font-size: 14px; line-height: 0; }  /* « 1er » des textes validés : plancher 14 px */

/* ===== fonds bruns (ouverture, dernier appel, offre terminée) ===== */
.bf3-brun { --cal-or: var(--bf3-sable); background: var(--bf3-brun); }
.bf3-brun::before { display: none; }
.bf3-brun::after { background: radial-gradient(70% 60% at 15% 0%, rgba(241, 202, 137, .10), transparent 70%); }
.bf3-brun .bm3-gold, .bf3-brun .cal-kicker { color: var(--bf3-sable); }
.bf3-brun .cal-crumbs a, .bf3-brun .cal-crumbs { color: rgba(247, 242, 232, .7); }
.bf3-sable-btn { background: var(--bf3-sable); color: var(--bf3-brun); box-shadow: 0 12px 28px -14px rgba(241, 202, 137, .7); letter-spacing: .02em; }
.bf3-sable-btn:hover { background: var(--bf3-sable-2); }

/* =====================================================================================================================
   1. OUVERTURE, composée comme la bannière : BLACK / FRIDAY empilés en très grand, -20 % or sable, ticket BF26
   ===================================================================================================================== */
.bf3-hero { isolation: isolate; }
.bf3-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); row-gap: 16px; padding: 14px 0 20px; }
.bf3-kicker { letter-spacing: .1em; text-wrap: balance; }
.bf3-h1 { margin: 0; }
.bf3-mark { font-size: clamp(70px, 8px + 17.6vw, 92px); line-height: .84; letter-spacing: -.05em; text-shadow: 0 8px 36px rgba(0, 0, 0, .45); }
.bf3-w1, .bf3-w2 { display: block; }
.bf3-w1 { color: #fff; }
.bf3-year { display: inline-block; margin-left: .14em; font-size: .24em; line-height: 1; letter-spacing: 0; vertical-align: .32em; color: var(--cal-ivoire-2); text-shadow: none; }
.bf3-offer { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 4px; margin-top: 14px; }
.bf3-pct { font-size: clamp(66px, 10px + 15vw, 84px); line-height: .9; font-weight: 800; letter-spacing: -.045em; white-space: nowrap; color: var(--bf3-sable);
    background: linear-gradient(105deg, var(--bf3-sable) 0 40%, #fff3d9 50%, var(--bf3-sable) 60% 100%) 100% 0 / 260% 100% no-repeat;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.bf3-hero-cd .bf3-cd-hero { margin-top: 0; }
.bf3 .bf3-cd .cal-cd-t { color: var(--cal-ivoire-2); }
.bf3-hero-more { display: grid; gap: 14px; }
.bf3-cta { display: inline-flex; gap: 10px; width: 100%; }
.bf3-cta .bm3-arr { width: 18px; height: 18px; }
.bf3-hero .bf3-cta { min-height: 56px; font-size: 17px; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.bf3-ts { margin: 0; padding-top: 0; border-top: 0; }
.bf3-lead { margin: 0; font-size: 16px; }
.bf3-fine { margin: 12px 0 0; font-size: 14px; line-height: 20px; color: var(--cal-ivoire-3); max-width: 34em; text-wrap: pretty; }
.bf3-hero-fine { margin: 0; }

/* ticket du code BF26 : contour pointillé or sable sur le brun, code blanc, bouton copier or sable ; avant le 20.11 : date de début */
.bf3-ticket { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 14px;
    padding: 12px 12px 12px 18px; border-radius: 18px; overflow: hidden; }
.bf3-brun .bf3-ticket { background: rgba(21, 13, 10, .55); color: var(--cal-ivoire); border: 2px dashed var(--bf3-sable); }
.bf3-ticket-stub { display: grid; gap: 2px; min-width: 0; padding-right: 14px; border-right: 2px dashed rgba(241, 202, 137, .45); }
.bf3-ticket-label { font-size: 14px; line-height: 18px; font-weight: 700; color: rgba(247, 242, 232, .82); text-wrap: balance; }
.bf3-code { font-size: clamp(36px, 28px + 1.6vw, 52px); line-height: 1.05; font-weight: 800; letter-spacing: .06em; font-variant-numeric: tabular-nums;
    color: #fff; -webkit-user-select: all; user-select: all; }
.bf3-ticket-act { position: relative; z-index: 1; display: flex; justify-content: flex-end; }
.bf3-copy { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px; border: 0; border-radius: 999px;
    background: var(--bf3-sable); color: var(--bf3-brun); font: inherit; font-size: 16px; line-height: 20px; font-weight: 800; cursor: pointer; white-space: nowrap;
    transition: background-color .25s var(--bf3-ease), transform .25s var(--bf3-ease); }
.bf3-copy:hover { background: var(--bf3-sable-2); }
.bf3-copy:active { transform: scale(.97); }
.bf3-copy:focus-visible { outline: 2px solid var(--bf3-sable); outline-offset: 3px; }
.bf3-copy svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.bf3-copy[data-bf-done] { background: #15803d; color: #fff; }
.bf3-when { display: inline-block; max-width: 9em; font-size: 15px; line-height: 19px; font-weight: 800; text-align: right; color: var(--bf3-sable); }
@media (max-width: 379.98px) { .bf3-ticket { padding-left: 14px; gap: 10px; } .bf3-copy { padding: 0 14px; font-size: 15px; } }
@media (min-width: 560px) { .bf3-ticket-label { text-transform: uppercase; letter-spacing: .08em; } }

/* scène du chalet (tools/gen_bf_scene.py, source tools/assets-src/blackfriday/scene-large.jpg, 3200 x 2133), 18.11.2026 (6),
   Marc : « c'était coool l'intégration chalet neige avec les produits », « faut [...] que ça prenne toute la hauteur » :
   desktop (>= 1280 px), plein fond de l'ouverture, toute la hauteur, bord à bord, texte posé sur le mur de planches à gauche ;
   en dessous, scène pleine largeur sous le texte, recadrée sur les calendriers et les jouets. Neige et lueur du feu par-dessus. */
.bf3-scene { pointer-events: none; }
.bf3-scene-in { position: relative; overflow: hidden; }
.bf3-scene picture, .bf3-scene img { display: block; width: 100%; height: auto; }
.bf3-snow { position: absolute; top: -260px; left: -60px; right: -60px; bottom: 0; z-index: 1; pointer-events: none; opacity: .8;
    background-image: radial-gradient(circle at 24px 36px, rgba(255, 255, 255, .95) 0 1.6px, transparent 2.6px),
                      radial-gradient(circle at 132px 98px, rgba(255, 255, 255, .8) 0 1.1px, transparent 2px),
                      radial-gradient(circle at 74px 178px, rgba(255, 255, 255, .9) 0 2px, transparent 3px),
                      radial-gradient(circle at 206px 214px, rgba(255, 255, 255, .7) 0 1.2px, transparent 2.2px),
                      radial-gradient(circle at 182px 22px, rgba(255, 255, 255, .75) 0 1.4px, transparent 2.4px);
    background-size: 260px 260px; }
.bf3-snow-2 { opacity: .55; filter: blur(.6px); background-size: 400px 400px;
    background-image: radial-gradient(circle at 60px 80px, rgba(255, 255, 255, .95) 0 2.6px, transparent 3.8px),
                      radial-gradient(circle at 300px 210px, rgba(255, 255, 255, .85) 0 2.2px, transparent 3.4px),
                      radial-gradient(circle at 170px 340px, rgba(255, 255, 255, .9) 0 3px, transparent 4.2px); top: -400px; }
.bf3-glow { position: absolute; z-index: 1; right: -6%; bottom: 8%; width: 30%; height: 50%; pointer-events: none; opacity: .5; mix-blend-mode: screen;
    background: radial-gradient(closest-side, rgba(255, 150, 60, .55), rgba(255, 120, 40, .18) 55%, transparent); }
.bf3-hero .bf3-lead { margin: 0; }  /* pas centrée par la règle mobile de la LP Black November */

/* mobile et tablette (< 1280 px) : texte (titre, -20 %, ticket, compte à rebours, bouton, note, phrase, conditions) puis scène */
@media (max-width: 1279.98px) {
  .bf3-hero-grid { padding-bottom: 8px; }
  .bf3-scene-in { -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 14%); mask-image: linear-gradient(180deg, transparent 0, #000 14%); }
}
@media (min-width: 768px) and (max-width: 1279.98px) { .bf3-hero-grid { max-width: 640px; } }

/* desktop (>= 1280 px) : la scène couvre toute l'ouverture (hauteur entière, ancrée en bas à droite). Taille : la plus grande
   entre « toute la hauteur » et « toute la largeur », plafonnée pour que les objets (calendriers et jouets : x 1330 -> 3170,
   y 1140 -> 2133 sur 3200 x 2133) restent à droite de la colonne de texte : largeur du visuel <= place libre à droite du texte
   x 3200 / (3200 - 1330) = x 1.7112 ; si l'ouverture est plus haute, le visuel prend toute la hauteur (min-height) et seul le mur
   de gauche est rogné. Très grands écrans : à gauche du visuel, le brun du mur, fondu. Contrôle : test de chevauchement. */
@media (min-width: 1280px) {
  .bf3-hero { --bf3-tw: clamp(450px, 35vw, 560px);
      --bf3-free: calc(100vw - max(0px, (100vw - 1360px) / 2) - 40px - var(--bf3-tw) - 32px); }
  .bf3-hero > .cal-wrap { position: relative; z-index: 1; }
  .bf3-hero-grid { grid-template-columns: minmax(0, var(--bf3-tw)); row-gap: 15px; padding: 20px 0 38px; }
  .bf3-scene { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
  .bf3-scene::after { content: ""; position: absolute; inset: 0; z-index: 2;  /* léger voile sombre côté texte (lisibilité) */
      background: linear-gradient(90deg, rgba(21, 13, 10, .82) 0, rgba(21, 13, 10, .55) calc(100vw - var(--bf3-free) - 120px), rgba(21, 13, 10, 0) calc(100vw - var(--bf3-free) + 40px)); }
  .bf3-scene-in { position: absolute; right: 0; bottom: 0; width: min(100%, calc(var(--bf3-free) * 1.7112)); aspect-ratio: 3200 / 2133; min-height: 100%;
      -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%); mask-image: linear-gradient(90deg, transparent 0, #000 6%); }
  .bf3-scene picture { position: absolute; inset: 0; }
  .bf3-scene-in img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 100%; }
  .bf3-snow { left: 38%; }
  .bf3-glow { right: -4%; bottom: 10%; width: 16%; height: 34%; }
  .bf3-h1 { display: flex; flex-wrap: wrap; align-items: flex-end; column-gap: 26px; row-gap: 14px; }
  .bf3-mark { font-size: clamp(70px, 5.4vw, 88px); }
  .bf3-year { display: block; margin: .3em 0 0 .06em; font-size: .2em; letter-spacing: .42em; vertical-align: baseline; color: var(--bf3-sable); }
  .bf3-offer { display: grid; justify-items: start; row-gap: 8px; margin: 0 0 .9em; }
  .bf3-pct { font-size: clamp(54px, 4.2vw, 68px); }
  .bf3-hero-code { max-width: 450px; }
  .bf3-hero-cd .cal-cd-box b { width: 60px; height: 60px; font-size: 28px; }
  .bf3-hero-cd .cal-cd-box { min-width: 66px; }
  .bf3-hero-cd .cal-cd-row { gap: 6px; }
  .bf3-hero-more { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
  .bf3-hero .bf3-cta { width: auto; padding: 0 34px; }
  .bf3-lead { font-size: 17px; }
}

/* ===== animations de l'ouverture : entrée en fondu, reflet sur -20 % et sur le ticket, neige, lueur du feu ===== */
@keyframes bf3-in { from { opacity: 0; transform: translate3d(0, 18px, 0); } to { opacity: 1; transform: none; } }
@keyframes bf3-scene-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes bf3-shine { 0% { background-position: 100% 0; } 28%, 100% { background-position: 0 0; } }
@keyframes bf3-sweep { 0% { transform: translate3d(-140%, 0, 0) skewX(-18deg); } 30%, 100% { transform: translate3d(360%, 0, 0) skewX(-18deg); } }
@keyframes bf3-snow { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-40px, 260px, 0); } }
@keyframes bf3-snow-2 { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(50px, 400px, 0); } }
@keyframes bf3-flicker { 0%, 100% { opacity: .45; } 18% { opacity: .62; } 32% { opacity: .5; } 51% { opacity: .7; } 67% { opacity: .48; } 83% { opacity: .64; } }
.bf3-ticket-hero::after { content: ""; position: absolute; top: -10%; bottom: -10%; left: 0; width: 34%; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(255, 236, 200, .2), transparent); transform: translate3d(-140%, 0, 0) skewX(-18deg); }
@media (prefers-reduced-motion: no-preference) {
  .bf3-kicker { animation: bf3-in .6s var(--bf3-ease) both; }
  .bf3-w1 { animation: bf3-in .7s var(--bf3-ease) .06s both; }
  .bf3-w2 { animation: bf3-in .7s var(--bf3-ease) .14s both; }
  .bf3-offer { animation: bf3-in .7s var(--bf3-ease) .24s both; }
  .bf3-hero-code { animation: bf3-in .7s var(--bf3-ease) .32s both; }
  .bf3-hero-cd { animation: bf3-in .7s var(--bf3-ease) .4s both; }
  .bf3-hero-more { animation: bf3-in .7s var(--bf3-ease) .46s both; }
  .bf3-lead, .bf3-hero-fine { animation: bf3-in .7s var(--bf3-ease) .52s both; }
  .bf3-scene picture { animation: bf3-scene-in 1.6s var(--bf3-ease) both; }
  .bf3-pct { animation: bf3-in .7s var(--bf3-ease) .24s both, bf3-shine 5.5s ease-in-out 1.1s infinite; }
  .bf3-ticket-hero::after { animation: bf3-sweep 5.5s ease-in-out 1.9s infinite; }
  .bf3-snow { animation: bf3-snow 16s linear infinite; will-change: transform; }
  .bf3-snow-2 { animation: bf3-snow-2 22s linear infinite; }
  .bf3-glow { animation: bf3-flicker 4.2s ease-in-out infinite; }
}
@media (prefers-reduced-motion: reduce) { .bf3-snow, .bf3-glow, .bf3-ticket-hero::after { display: none; } }

/* =====================================================================================================================
   1b. BANDEAU DÉFILANT : ruban rouge légèrement incliné à cheval sur l'ouverture et la réassurance (texte du bandeau de Marc),
   BF26 en pastille blanche ; une seule traduction CSS (GPU), pause au survol, immobile si prefers-reduced-motion.
   Variante fine (or sable, sens inverse) avant le dernier appel.
   ===================================================================================================================== */
.bf3-tape { position: relative; z-index: 2; overflow: hidden; padding: 12px 0; background: linear-gradient(180deg, var(--bf3-brun) 50%, #fff 50%); }
.bf3-tape-band { width: 110%; margin-left: -5%; background: var(--cal-rouge); color: #fff; transform: rotate(-1.4deg);
    box-shadow: 0 14px 30px -16px rgba(120, 20, 20, .7); border-block: 1px solid rgba(255, 255, 255, .18); }
.bf3-tape-track { display: flex; width: max-content; animation: bf3-tape 36s linear infinite; }
.bf3-tape-g { display: flex; flex: none; align-items: center; }
.bf3-tape-i { padding: 0 18px; white-space: nowrap; font-size: 15px; line-height: 46px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.bf3-tape-sep { flex: none; color: var(--bf3-sable); font-size: 14px; }
.bf3-tape-pct { font-size: 1.25em; letter-spacing: -.01em; }
.bf3-tape-code { display: inline-block; margin: 0 2px; padding: 0 9px; border-radius: 8px; background: #fff; color: var(--cal-rouge-2); line-height: 28px; letter-spacing: .08em; }
.bf3-tape:hover .bf3-tape-track { animation-play-state: paused; }
@keyframes bf3-tape { to { transform: translate3d(-50%, 0, 0); } }
@media (min-width: 1024px) {
  .bf3-tape { padding: 16px 0; }
  .bf3-tape-band { transform: rotate(-1deg); }
  .bf3-tape-i { font-size: 18px; line-height: 56px; padding: 0 26px; }
  .bf3-tape-code { line-height: 34px; padding: 0 12px; }
  .bf3-tape-track { animation-duration: 44s; }
}
.bf3-tape-thin { padding: 0; background: none; }
.bf3-tape-thin .bf3-tape-band { width: 100%; margin: 0; transform: none; box-shadow: none; border: 0; background: var(--bf3-sable); color: var(--bf3-brun); }
.bf3-tape-thin .bf3-tape-i { line-height: 40px; font-size: 14px; }
.bf3-tape-thin .bf3-tape-sep { color: var(--cal-rouge); }
.bf3-tape-thin .bf3-tape-code { background: var(--bf3-brun); color: var(--bf3-sable); line-height: 26px; }
.bf3-tape-thin .bf3-tape-track { animation-direction: reverse; }
@media (min-width: 1024px) { .bf3-tape-thin .bf3-tape-i { line-height: 46px; font-size: 16px; } }
@media (prefers-reduced-motion: reduce) { .bf3-tape-track { animation: none; } }

/* ===== 2. réassurance (textes de Marc) : mobile 2 x 2, icône + titre seulement ===== */
.bf3-trust { gap: 22px 16px; }
.bf3-trust b { margin-bottom: 2px; }
.bf3-trust span { max-width: 22em; text-wrap: pretty; }
@media (max-width: 559.98px) {
  .bf3-trust-sec { padding: 14px 0 18px; }
  .bf3-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 10px; text-align: left; }
  .bf3-trust li { grid-template-columns: 36px minmax(0, 1fr); column-gap: 10px; justify-items: start; align-items: center; }
  .bf3-trust .cal-trust-ic { width: 36px; height: 36px; margin: 0; }
  .bf3-trust .cal-trust-ic svg { width: 18px; height: 18px; }
  .bf3-trust li > span:not(.cal-trust-ic) { display: none; }
  .bf3-trust b { margin: 0; font-size: 14px; line-height: 18px; }
}

/* ===== 2b. BF26 en 3 étapes (offre seulement) : 3 colonnes, même en mobile ===== */
.bf3-steps { background: var(--cal-ivoire-chaud); border-bottom: 1px solid var(--cal-filet); padding: 18px 0 20px; }
.bf3-steps-in { display: grid; gap: 12px; }
.bf3-steps-h { margin: 0; font-size: clamp(18px, 16px + .6vw, 26px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--cal-encre); }
.bf3-steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bf3-steps-list li { display: grid; justify-items: start; gap: 6px; font-size: 14px; line-height: 18px; font-weight: 700; color: var(--cal-encre); }
.bf3-step-n { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--bf3-brun);
    color: var(--bf3-sable); font-size: 15px; font-weight: 800; }
@media (min-width: 768px) {
  .bf3-steps-list { gap: 16px; }
  .bf3-steps-list li { display: flex; align-items: center; gap: 12px; font-size: 16px; line-height: 21px; }
  .bf3-step-n { width: 36px; height: 36px; font-size: 16px; }
}
@media (min-width: 1024px) { .bf3-steps { padding: 22px 0; } .bf3-steps-in { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 40px; } }

/* ===== 3. vedettes + onglets (gros produits hors promotion) ===== */
.bf3-h2 { margin-bottom: 10px; }
.bf3-deals .cal-h2 { font-size: clamp(28px, 20px + 2vw, 52px); }
.bf3-stars-h { margin-bottom: clamp(16px, 12px + 1vw, 28px); }
.bf3-lede { margin: 0 0 18px; font-size: clamp(15px, 14.4px + .2vw, 18px); line-height: 1.5; color: var(--cal-gris); max-width: 40em; text-wrap: pretty; }
.bf3-off { background: var(--cal-rouge); color: #fff; }
.bf3-price { margin-bottom: 0; }
.bf3-price-avant b { color: var(--cal-encre); }
.bf3-with { margin: 2px 0 12px; font-size: 14px; line-height: 19px; font-weight: 700; color: var(--cal-or-ink); }
.bf3-card .bm3-add { margin-top: auto; }
.bf3-stars .bm3-off { padding: 4px 12px; font-size: 16px; line-height: 22px; }
.bf3-save { align-self: flex-start; margin: 0 0 12px; padding: 4px 10px; border-radius: 10px; background: var(--cal-rose); color: var(--cal-rouge-2);
    font-size: 14px; line-height: 19px; font-weight: 800; }
.bf3-star .bf3-with { margin-bottom: 6px; }
[data-bf-pool-wait] [data-bf-pool-stars], [data-bf-pool-wait] [data-bf-pool-rest] { visibility: hidden; }  /* le temps du tirage (quelques ms) */
@media (min-width: 1024px) { .bf3-stars .bm3-card-price b { font-size: 30px; line-height: 34px; } .bf3-stars .bf3-save { font-size: 15px; } }
@media (max-width: 1023.98px) {  /* cartes plus courtes en mobile : visuel 5:4, 2 lignes réservées au nom (3 au plus) */
  .bf3-card .bm3-card-media { aspect-ratio: 5 / 4; }
  .bf3-card .bm3-card-name { min-height: 40px; margin-top: 8px; }
  .bf3-card .bm3-card-price { margin-top: 6px; }
  .bf3-tabs-wrap > .bf3-eyebrow { display: none; }  /* « Meilleures ventes » : déjà dans le titre */
}
.bf3-tabs-wrap { margin-top: clamp(36px, 28px + 2.5vw, 64px); }
/* onglets : rangée défilante en mobile (2 cartes et le bord de la 3e), 4 de front en desktop */
@media (max-width: 1023.98px) {
  /* position: relative : les textes .cal-sr (position absolue) des cartes hors champ restent dans la rangée (sinon la page
     déborde à droite) */
  .bm3-grid.bf3-tab-grid { position: relative; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; margin: 0 -20px;
      padding: 2px 20px 14px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .bf3-tab-grid::-webkit-scrollbar { display: none; }
  .bf3-tab-grid > * { scroll-snap-align: start; }
  .bf3-tabs-wrap .bm3-tabs-box { margin-bottom: 14px; }
}
@media (min-width: 768px) and (max-width: 1023.98px) { .bm3-grid.bf3-tab-grid { margin: 0 -32px; padding: 2px 32px 14px; grid-auto-columns: 30%; } }
.bf3-more { display: grid; gap: 4px; justify-items: center; margin: 20px auto 0; max-width: 560px; padding: 16px 20px; border-radius: 18px; text-align: center;
    background: #fff; border: 1px solid var(--cal-filet); color: var(--cal-encre); transition: border-color .2s var(--bf3-ease); }
.bf3-more:hover { border-color: var(--cal-encre); }
.bf3-more-t { font-size: 15px; line-height: 21px; font-weight: 600; color: var(--cal-gris); text-wrap: balance; }
.bf3-more-a { display: inline-flex; align-items: center; gap: 6px; font-size: 16px; line-height: 22px; font-weight: 800; color: var(--cal-rouge-2); }
.bf3-more:hover .bf3-more-a { text-decoration: underline; text-underline-offset: 3px; }

/* ===== 4. calendriers : prix Black November barré, prix avec BF26 cumulé ===== */
.bf3-cals { background: #fff; padding: clamp(24px, 16px + 2.6vw, 56px) 0; }
.bf3-cals-in { display: grid; gap: 16px; padding: 18px 14px; border: 1px solid var(--cal-filet); border-radius: 22px; background: var(--cal-ivoire-chaud);
    background-image: radial-gradient(60% 70% at 100% 0%, rgba(217, 184, 112, .24), transparent 70%), var(--cal-flocons); }
@media (min-width: 768px) { .bf3-cals-in { padding: 32px; gap: 24px; } }
.bf3-cals-h { margin: 0; font-size: clamp(24px, 20px + 1.3vw, 40px); line-height: 1.1; font-weight: 800; letter-spacing: -.025em; color: var(--cal-encre); text-wrap: balance; }
.bf3-cals-dl { margin: 8px 0 0; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--cal-gris); max-width: 40em; text-wrap: pretty; }
/* encart calendriers (19.11.2026) : déjà à -20 %, BF26 ne s'y applique pas (note), lien vers la LP calendriers */
.bf3-cals-note { margin: 8px 0 0; font-size: 16px; line-height: 23px; font-weight: 700; color: var(--cal-encre); max-width: 40em; text-wrap: pretty; }
.bf3-cals-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; font-size: 15px; font-weight: 700;
  color: var(--cal-encre); text-decoration: underline; text-underline-offset: 3px; }
.bf3-cals-link svg { width: 16px; height: 16px; flex: none; }
.bf3-cals-list { display: grid; gap: 12px; }
@media (min-width: 1024px) { .bf3-cals-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .bf3-cals-dl { font-size: 16px; line-height: 23px; } }
.bf3-cal { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 12px; border-radius: 18px; background: #fff;
    border: 1px solid var(--cal-filet); box-shadow: 0 18px 40px -30px rgba(120, 80, 30, .45); }
@media (min-width: 1024px) { .bf3-cal { grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 16px; } }
.bf3-cal-img { position: relative; display: block; align-self: start; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: #fff; }
.bf3-cal-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.bf3-cal-body { display: flex; flex-direction: column; min-width: 0; }
.bf3-cal-name { margin: 0; font-size: 18px; line-height: 23px; font-weight: 800; letter-spacing: -.01em; }
@media (min-width: 1024px) { .bf3-cal-name { font-size: 21px; line-height: 26px; } }
.bf3-cal-name a { color: var(--cal-encre); }
.bf3-cal-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bf3-cal .cal-stars { margin-top: 4px; color: var(--cal-gris); }
.bf3-cal-txt { margin: 8px 0 0; font-size: 15px; line-height: 21px; color: #374151; text-wrap: pretty; }
.bf3-cal-bm { margin: 8px 0 0; font-size: 14px; line-height: 19px; color: var(--cal-gris); }
.bf3-cal-bm b { color: var(--cal-encre); }
.bf3-cal-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 10px; margin: 10px 0 0; }
.bf3-cal-price b { font-size: clamp(26px, 22px + 1vw, 36px); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; color: var(--cal-rouge);
    font-variant-numeric: tabular-nums; white-space: nowrap; }
.bf3-cal-price s { font-size: 15px; line-height: 20px; color: var(--cal-gris); white-space: nowrap; }
.bf3-avant .bf3-cal-price b { color: var(--cal-encre); }
.bf3-cal-add { margin-top: auto; }
@media (max-width: 559.98px) {
  .bf3-cal { grid-template-columns: 88px minmax(0, 1fr); gap: 12px; padding: 10px; }
  .bf3-cal-txt, .bf3-cal-bm { display: none; }  /* mobile : nom, note, prix barré + prix BF26, bouton (textes en desktop) */
  .bf3-cal-price { margin-top: 6px; }
  .bf3-cal-add { grid-column: 1 / -1; min-height: 46px; }
}

/* ===== 5. avis compacts : 3 citations (rangée défilante en mobile, 3 de front en desktop) ===== */
.bf3-page-rev { padding: clamp(28px, 18px + 3vw, 64px) 0; }
.bf3-page-rev .cal-h2 { font-size: clamp(28px, 20px + 2vw, 52px); }
.bf3-page-rev .bm3-quotes .cal-quote { display: block; padding: 16px 18px; border: 1px solid var(--cal-filet); border-radius: 16px; background: #fff; }
.bf3-page-rev .cal-quote blockquote p { font-size: 16px; line-height: 1.5; }
.bf3-page-rev .cal-quote blockquote .cal-quote-t { font-size: 16px; }
@media (max-width: 1023.98px) {
  .bf3-page-rev .cal-scores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .bf3-page-rev .bm3-ts-score { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; }
  .bf3-page-rev .bm3-ts-score .bm3-ts-stars { margin: 0; }
  .bf3-page-rev .bm3-quotes { position: relative; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; margin: 22px -20px 0;
      padding: 0 20px 6px; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; align-items: start; }
  .bf3-page-rev .bm3-quotes::-webkit-scrollbar { display: none; }
  .bf3-page-rev .bm3-quotes .cal-quote { scroll-snap-align: start; }
}
@media (min-width: 1024px) { .bf3-page-rev .bm3-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: start; } }

/* ===== 6. dernier appel ===== */
.bf3-final { padding: clamp(36px, 26px + 3vw, 80px) 0; }
.bf3-final.bf3-brun::after { background: radial-gradient(60% 70% at 50% 0%, rgba(241, 202, 137, .14), transparent 70%); }
.bf3-final-h { max-width: 15em; font-size: clamp(28px, 20px + 2vw, 52px); }
.bf3-final-p { margin: 12px auto 0; text-align: center; font-size: 16px; }
.bf3-final .bf3-ticket { width: 100%; max-width: 420px; margin-top: 22px; text-align: left; }
.bf3-final-btn { margin-top: 14px; max-width: 420px; }
.bf3-final .bm3-cd-final { margin-top: 22px; }
.bf3-final .bf3-fine { margin-left: auto; margin-right: auto; text-align: center; }

/* ===== FAQ : un peu plus serrée en mobile ===== */
@media (max-width: 1023.98px) { .bf3 .cal-faq-sec { padding: 28px 0 36px; } .bf3 .cal-faq-sec .cal-h2 { font-size: 28px; } .bf3 .cal-faq-i summary { padding: 14px 36px 14px 0; } }

/* ===== barre collante mobile : code (+ copier) et un bouton (assets/black-friday.js) ===== */
.bf3-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; align-items: center; gap: 10px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: rgba(21, 13, 10, .97); border-top: 1px solid rgba(247, 242, 232, .14);
    transform: translateY(110%); visibility: hidden; transition: transform .35s var(--bf3-ease), visibility .35s; }
.bf3-sticky.is-on { transform: none; visibility: visible; }
@media (min-width: 1024px) { .bf3-sticky { display: none; } }
.bf3-sticky-code { display: flex; align-items: center; gap: 6px; flex: none; }
.bf3-sticky-chip { display: grid; place-items: center; min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1.5px dashed var(--bf3-sable);
    color: var(--cal-ivoire); font-size: 18px; line-height: 1; font-weight: 800; letter-spacing: .06em; }
.bf3-sticky-copy { min-height: 44px; padding: 0 12px; border: 0; border-radius: 999px; background: rgba(247, 242, 232, .12); color: var(--cal-ivoire);
    font: inherit; font-size: 14px; line-height: 18px; font-weight: 700; cursor: pointer; }
.bf3-sticky-copy[data-bf-done] { background: #15803d; }
.bf3-sticky-when { max-width: 7.5em; font-size: 14px; line-height: 17px; font-weight: 700; color: var(--bf3-sable); }
.bf3-sticky-st { flex: 1; min-width: 0; }
.bf3-sticky-btn { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 4px 12px; border-radius: 999px;
    background: var(--cal-rouge); color: #fff; font-size: 16px; line-height: 20px; font-weight: 700; text-align: center; }
.bf3-sticky-btn:hover { background: var(--cal-rouge-2); }

/* message de copie automatique (assets/black-friday.js) */
.bf3-toast { position: fixed; left: 12px; right: 12px; bottom: 16px; z-index: 45; max-width: 460px; margin: 0 auto; padding: 14px 18px;
    border-radius: 14px; background: var(--cal-encre); color: #fff; font-size: 15px; line-height: 21px; font-weight: 600; text-align: center;
    box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(10px); transition: opacity .25s var(--bf3-ease), transform .25s var(--bf3-ease); }
.bf3-toast[data-bf-show] { opacity: 1; transform: none; }
.bf3-toast[data-bf-above] { bottom: calc(80px + env(safe-area-inset-bottom)); }

/* ===== offre terminée ===== */
.bf3-end { display: grid; gap: 16px; padding: 24px 0 40px; max-width: 880px; }
.bf3-end .bf3-mark { font-size: clamp(56px, 10px + 9vw, 104px); }
.bf3-end-t { font-size: clamp(26px, 20px + 1.6vw, 44px); }
.bf3-end-grid { display: grid; gap: 12px; margin-top: 8px; }
@media (min-width: 768px) { .bf3-end-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.bf3-end-card { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border-radius: 18px;
    background: var(--cal-ivoire); color: var(--cal-encre); }
.bf3-end-card img { width: 72px; height: 72px; object-fit: contain; border-radius: 10px; background: #fff; }
.bf3-end-card strong { display: block; font-size: 17px; line-height: 22px; font-weight: 800; }
.bf3-end-card span span { display: block; margin-top: 2px; font-size: 14px; line-height: 19px; color: var(--cal-gris); }
.bf3-end-card em { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-style: normal; font-size: 15px; line-height: 20px; font-weight: 800; color: var(--cal-rouge-2); }
.bf3-end-pct { display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--cal-rouge); color: #fff; font-size: 32px; font-weight: 800; }

/* de (19.11.2026) : « Meinen Code kopieren » ne tient pas à côté de BF26 sous 480 px (le bouton recouvrait le code) :
   ticket d'ouverture empilé, code puis bouton pleine largeur, sur une ligne. fr / it / en inchangés. */
@media (max-width: 479.98px) {
  :lang(de) .bf3-ticket-hero { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  :lang(de) .bf3-ticket-hero .bf3-ticket-stub { padding: 0 0 12px; border-right: 0; border-bottom: 2px dashed rgba(241, 202, 137, .45); }
  :lang(de) .bf3-ticket-hero .bf3-ticket-act { justify-content: stretch; }
  :lang(de) .bf3-ticket-hero .bf3-copy { width: 100%; justify-content: center; }
}
