/* LP Black Month 2026, refonte du 17.11.2026 (préfixe bm3-) : page générée par tools/black_month_v3.py.
   Chargée APRÈS assets/calendriers.css, dont elle reprend tout le système (jetons --cal-*, ouverture noire à bokeh, réassurance,
   comparatif, échéance, avis, FAQ, clôture, barre collante) pour que les deux LP forment une famille (audit design du 17.11).
   Ici seulement ce qui est propre à la page : titre « Black Month » et ligne d'offre, compte à rebours en 4 cases (ouverture et
   clôture, composant .cal-cd de la LP calendriers), note Trusted Shops, rangée des plus grosses remises, sélecteur des promos à
   6 onglets, cartes produit et encart compact des calendriers (décisions de Marc du 18.11.2026). Inter du site, plancher 14 px, un seul or plat, rouge KissKiss pour l'achat. */

[data-bm-before][hidden], [data-bm-after][hidden], .bm3-panel[hidden] { display: none !important; }
#calendriers, #meilleures-ventes { scroll-margin-top: 12px; }
.bm3-gold { color: var(--cal-or); }
.bm3-nw { white-space: nowrap; }  /* « best-sellers » jamais coupé au trait d'union */
.bm3-arr { flex: none; width: 16px; height: 16px; }

/* ===== 1. ouverture ===== */
.bm3-h1 { margin: 8px 0 0; color: var(--cal-ivoire); font-weight: 800; }
.bm3-mark { display: block; font-size: clamp(44px, 26.5px + 4.5vw, 104px); line-height: .95; letter-spacing: -.045em; text-transform: uppercase; }
.bm3-offer { display: block; margin-top: 12px; font-size: clamp(25px, 18.6px + 1.65vw, 42px); line-height: 1.12; letter-spacing: -.025em; text-wrap: balance; }
.bm3-sub { margin: 10px 0 0; font-size: clamp(17px, 15.4px + .4vw, 21px); line-height: 1.35; font-weight: 700; color: var(--cal-ivoire-2); }
.bm3-hero .cal-hero-grid { row-gap: 16px; padding-bottom: 32px; }
.bm3-hero .cal-plates { margin-top: 8px; }
.bm3-dl-line { margin: 14px 0 0; text-align: center; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--cal-or); }
.bm3-hero .cal-hero-more { display: grid; justify-items: start; gap: 14px; }
.bm3-ghost { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px;
    border: 1px solid rgba(247, 242, 232, .5); color: var(--cal-ivoire); font-size: 16px; line-height: 20px; font-weight: 700;
    transition: background-color .25s var(--cal-ease), border-color .25s var(--cal-ease); }
.bm3-ghost:hover { background: rgba(247, 242, 232, .08); border-color: var(--cal-ivoire); }
@media (max-width: 1023.98px) {
  .bm3-hero .cal-hero-more { justify-items: center; text-align: center; }
  .bm3-hero .cal-lead { margin: 0 auto; }
}
@media (min-width: 1024px) {
  .bm3-hero .cal-hero-grid { padding: 24px 0 52px; row-gap: 26px; }
  .bm3-dl-line { margin-top: 18px; }
}

/* ===== compte à rebours (ouverture + clôture) : composant .cal-cd de la LP calendriers, cases plus grandes et nettes =====
   Retour de Marc du 17.11 : « le countdown doit être plus clean et mieux mis en avant » -> 4 cases sous le titre de l'offre,
   dans le premier écran mobile ; même composant, même taille dans la clôture. */
.bm3-cd { margin-top: 20px; }
.bm3-cd .cal-cd-t { margin: 0 0 10px; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--cal-ivoire-2); }
.bm3-cd .cal-cd-row { gap: 6px; }
.bm3-cd .cal-cd-box { gap: 6px; min-width: 74px; }  /* case de 66 px, colonne de 74 px : « secondes » (14 px) jamais collé à « minutes » */
.bm3-cd .cal-cd-box b { width: 66px; height: 66px; border-radius: 14px; font-size: 32px; line-height: 1; font-weight: 800; letter-spacing: -.03em;
    box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .9); }
.bm3-cd .cal-cd-box > span { font-size: 14px; line-height: 18px; font-weight: 600; color: var(--cal-ivoire-3); }
.bm3-cd .bm3-cd-done { margin: 0; font-size: 18px; line-height: 26px; font-weight: 700; color: var(--cal-or); }
@media (max-width: 359.98px) {
  .bm3-cd .cal-cd-row { gap: 4px; }
  .bm3-cd .cal-cd-box { min-width: 68px; }
  .bm3-cd .cal-cd-box b { width: 60px; height: 60px; font-size: 28px; }
}
@media (min-width: 1024px) {
  .bm3-cd .cal-cd-row { gap: 12px; }
  .bm3-cd .cal-cd-box { min-width: 86px; }
  .bm3-cd .cal-cd-box b { width: 78px; height: 78px; border-radius: 16px; font-size: 38px; }
}
.bm3-cd-hero { margin-top: 22px; }
.bm3-cd-hero .cal-cd-row { margin-left: -4px; }  /* 1re case alignée sur le titre (colonne 4 px plus large que la case) */

/* ===== note Trusted Shops (ouverture + avis) : logo officiel, étoiles remplies à la note comme le widget du site ===== */
.bm3-ts-stars { position: relative; display: inline-flex; flex: none; line-height: 0; }
.bm3-ts-stars svg { width: 18px; height: 18px; flex: none; }
.bm3-ts-off, .bm3-ts-on { display: inline-flex; gap: 2px; }
.bm3-ts-on { position: absolute; left: 0; top: 0; width: var(--ts); overflow: hidden; white-space: nowrap; }
.bm3-ts { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 20px 0 0; font-size: 16px; line-height: 22px; }
.bm3-ts-logo { display: block; width: auto; height: 30px; }
.bm3-ts b { font-size: 20px; line-height: 24px; font-weight: 800; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.bm3-ts-hero { padding-top: 18px; border-top: 1px solid rgba(247, 242, 232, .16); color: var(--cal-ivoire-2); }
.bm3-ts-hero .bm3-ts-logo { filter: invert(1); }  /* logo noir officiel, passé en blanc sur le fond noir */
.bm3-ts-hero b { color: var(--cal-ivoire); }
.bm3-ts-hero .bm3-ts-off svg { opacity: .35; }
@media (min-width: 1024px) { .bm3-ts-hero { margin-top: 24px; } .bm3-ts-logo { height: 34px; } }
/* section avis : la note Trusted Shops en premier, même grammaire que les autres notes (chiffre, étoiles, nom) */
.bm3-ts-score .bm3-ts-stars { justify-self: start; margin: 4px 0 2px; }  /* élément de grille : pas étiré (remplissage = note) */
.bm3-ts-score .bm3-ts-stars svg { width: 16px; height: 16px; }
.bm3-ts-name { display: flex; align-items: center; gap: 10px; color: var(--cal-encre); font-weight: 700; }
.bm3-ts-name .bm3-ts-logo { height: 28px; }

/* ===== 4. encart compact des calendriers ===== */
.bm3-calbox { padding: clamp(28px, 20px + 2vw, 48px) 0; background: #fff; }
.bm3-calbox-in { display: grid; gap: 16px; padding: 20px 18px; border: 1px solid var(--cal-filet); border-radius: 20px; background: var(--cal-ivoire-chaud);
    background-image: radial-gradient(60% 70% at 100% 0%, rgba(217, 184, 112, .22), transparent 70%); }
.bm3-calbox-h { margin: 0; font-size: clamp(22px, 19px + .8vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -.02em; color: var(--cal-encre); text-wrap: balance; }
.bm3-calbox-dl { margin: 8px 0 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--cal-gris); max-width: 34em; text-wrap: pretty; }
.bm3-calbox-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; margin-top: 14px; padding: 0 20px; border-radius: 999px;
    border: 1px solid var(--cal-encre); color: var(--cal-encre); font-size: 15px; line-height: 20px; font-weight: 700; background: #fff;
    transition: background-color .2s var(--cal-ease), color .2s var(--cal-ease); }
.bm3-calbox-btn:hover { background: var(--cal-encre); color: #fff; }
/* mobile : une ligne par calendrier (visuel, nom, prix sur une ligne) ; 2 colonnes dès 1024 px */
.bm3-calbox-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.bm3-calbox-p { display: grid; grid-template-columns: 56px minmax(0, 1fr); grid-template-areas: "img name" "img price"; column-gap: 12px;
    align-items: center; height: 100%; padding: 6px 12px 6px 6px; border-radius: 14px; background: #fff; border: 1px solid var(--cal-filet); color: var(--cal-encre); }
.bm3-calbox-p:hover .bm3-calbox-name { text-decoration: underline; text-underline-offset: 3px; }
.bm3-calbox-p img { grid-area: img; width: 56px; height: 56px; object-fit: contain; }
.bm3-calbox-name { grid-area: name; align-self: end; font-size: 15px; line-height: 20px; font-weight: 700; }
.bm3-calbox-p .cal-pp { grid-area: price; align-self: start; display: flex; flex-wrap: wrap; column-gap: 6px; align-items: baseline; margin-top: 2px; }
.bm3-calbox-p .cal-pp-new { font-size: 17px; line-height: 22px; font-weight: 800; color: var(--cal-rouge); white-space: nowrap; letter-spacing: -.01em; }
.bm3-calbox-p .cal-pp-old { font-size: 14px; line-height: 18px; color: var(--cal-gris); white-space: nowrap; }
@media (min-width: 768px) {
  .bm3-calbox-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: center; gap: 28px; padding: 28px 32px; }
}
@media (min-width: 1024px) {
  .bm3-calbox-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bm3-calbox-p { grid-template-columns: 88px minmax(0, 1fr); column-gap: 14px; padding: 12px; }
  .bm3-calbox-p img { width: 88px; height: 88px; }
  .bm3-calbox-name { font-size: 16px; line-height: 21px; }
  .bm3-calbox-p .cal-pp-new { font-size: 20px; line-height: 26px; }
}

/* liens texte rouges (catégorie, LP calendriers) */
.bm3-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-size: 16px; line-height: 22px; font-weight: 700;
    color: var(--cal-rouge-2); }
.bm3-more:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ===== 4. promos : ivoire chaud, lumière dorée, flocons (comme les vitrines de la LP calendriers) ===== */
.bm3-deals { background-color: var(--cal-ivoire-chaud);
    background-image: radial-gradient(55% 50% at 92% 4%, rgba(217, 184, 112, .28), transparent 70%),
                      radial-gradient(45% 40% at 4% 98%, rgba(220, 38, 38, .06), transparent 70%), var(--cal-flocons); }
/* onglets : une ligne qui défile sur mobile (bande pleine largeur, sans débordement de la page), en ligne dès 768 px ;
   décision de Marc du 18.11 : montrer qu'on peut faire défiler -> fondu au bord droit + flèche ronde (cliquable), retirés en fin de ligne */
.bm3-tabs-box { position: relative; margin: 0 -20px 20px; }
.bm3-tabs-scroll { position: relative; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none;
    -webkit-overflow-scrolling: touch; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent calc(100% - 8px));
    mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent calc(100% - 8px)); }
.bm3-tabs-box.is-end .bm3-tabs-scroll { -webkit-mask-image: none; mask-image: none; }
.bm3-tabs-hint { position: absolute; right: 8px; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -16px;
    border-radius: 999px; background: var(--cal-encre); color: #fff; box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .6); cursor: pointer;
    transition: opacity .2s var(--cal-ease); }
.bm3-tabs-box.is-end .bm3-tabs-hint { opacity: 0; pointer-events: none; }
.bm3-tabs-scroll::-webkit-scrollbar { display: none; }
.bm3-tabs { display: flex; gap: 8px; width: max-content; padding: 2px 56px 4px 20px; }
@media (min-width: 768px) {
  .bm3-tabs-box { margin: 0 0 28px; }
  .bm3-tabs-hint { display: none; }
  .bm3-tabs-scroll { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .bm3-tabs { flex-wrap: wrap; gap: 10px; width: auto; padding: 0; }
}
.bm3-tabs button { flex: none; min-height: 46px; padding: 8px 18px; border: 1px solid #e3ddd3; border-radius: 999px; background: #fff; color: var(--cal-encre);
    font: inherit; font-size: 15px; line-height: 20px; font-weight: 700; cursor: pointer; white-space: nowrap;
    transition: background-color .2s var(--cal-ease), color .2s var(--cal-ease), border-color .2s var(--cal-ease); }
@media (min-width: 768px) { .bm3-tabs button { min-height: 48px; padding: 8px 22px; font-size: 16px; } }
.bm3-tabs button:hover { border-color: var(--cal-encre); }
.bm3-tabs button[aria-selected="true"] { background: var(--cal-encre); border-color: var(--cal-encre); color: #fff; }
.bm3-tabs button:focus-visible { outline: 2px solid var(--cal-rouge); outline-offset: 2px; }
.bm3-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 1024px) { .bm3-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; } }

.bm3-card { display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 1px solid var(--cal-filet); border-radius: 16px; background: #fff;
    box-shadow: 0 18px 40px -28px rgba(120, 80, 30, .40); transition: transform .3s var(--cal-ease), box-shadow .3s var(--cal-ease); }
@media (min-width: 1024px) { .bm3-card { padding: 16px; } }
@media (hover: hover) { .bm3-card:hover { transform: translateY(-3px); box-shadow: 0 24px 46px -28px rgba(120, 80, 30, .5); } }
.bm3-card-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: 12px; background: #fff; }
.bm3-card-media img { display: block; width: 100%; height: 100%; padding: 6%; object-fit: contain; }
.bm3-off { position: absolute; left: 6px; top: 6px; padding: 3px 10px; border-radius: 999px; background: var(--cal-noir); color: var(--cal-ivoire);
    font-size: 14px; line-height: 20px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bm3-card-name { margin: 10px 0 0; font-size: 15px; line-height: 20px; font-weight: 700; letter-spacing: -.005em; min-height: 60px;
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.bm3-card-name a { color: var(--cal-encre); }
.bm3-card-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.bm3-card-stars { display: flex; align-items: center; gap: 6px; min-height: 18px; margin-top: 6px; font-size: 14px; line-height: 18px; color: var(--cal-gris); }
.bm3-card-stars svg { width: 14px; height: 14px; }
.bm3-card-price { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; margin: 8px 0 12px; }
.bm3-card-price b { font-size: 22px; line-height: 26px; font-weight: 800; letter-spacing: -.02em; color: var(--cal-rouge); font-variant-numeric: tabular-nums; white-space: nowrap; }
.bm3-card-price s { font-size: 14px; line-height: 20px; color: var(--cal-gris); white-space: nowrap; }
.bm3-card .bm3-add { margin-top: auto; min-height: 46px; padding: 6px 6px; font-size: 14px; white-space: nowrap; }
@media (min-width: 400px) { .bm3-card .bm3-add { font-size: 15px; } }
/* italien : libellé du site « Aggiungere al carrello » trop long pour une demi-largeur mobile -> 2 lignes centrées plutôt que coupé */
@media (max-width: 1023.98px) { .bm3-card .bm3-add:lang(it) { white-space: normal; line-height: 18px; } }
@media (min-width: 1024px) {
  .bm3-card-name { font-size: 17px; line-height: 23px; min-height: 46px; }  /* 2 lignes réservées, 3 au plus */
  .bm3-card-price b { font-size: 26px; line-height: 30px; }
  .bm3-card-price s { font-size: 15px; }
  .bm3-card .bm3-add { min-height: 48px; font-size: 16px; }
}
.bm3-panel .bm3-more { margin-top: 20px; }

/* rangée des plus grosses remises (2 x 2 mobile, 4 de front desktop), au-dessus des onglets : badge de remise rouge et plus grand */
.bm3-big .bm3-off { padding: 4px 12px; background: var(--cal-rouge); color: #fff; font-size: 16px; line-height: 22px; }
.bm3-tabs-wrap { margin-top: clamp(40px, 30px + 2.5vw, 64px); }

/* ===== 5. avis : note du site alignée sur la ligne de base, 3 citations ===== */
.bm3-rev .cal-scores { align-items: flex-end; }
@media (max-width: 1023.98px) { .bm3-quotes .cal-quote:nth-child(n+3) { display: none; } }  /* mobile : 2 avis, page plus courte */
@media (min-width: 1024px) { .bm3-quotes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cal-quote figcaption a { color: var(--cal-gris); text-decoration: underline; text-underline-offset: 3px; }
.cal-quote figcaption a:hover { color: var(--cal-encre); }

/* ===== 6. clôture ===== */
.bm3-final .cal-final-h { max-width: 14em; }
.bm3-cd-final { margin-top: 26px; }
.bm3-final-btn { margin-top: 28px; width: auto; padding: 0 36px; }

/* ===== barre collante : état promos, un seul bouton ===== */
.bm3-sticky-one { display: flex; align-items: center; justify-content: center; }
