/* ============================================================================
   Black Friday 2026 — page /black-friday et fiches /black-friday/pack-…
   Feuille reprise de la maquette Creative du 25/11/2026 (Aymen), classes ap2-bf-.
   ⚠️ CHARGÉE UNIQUEMENT par les gabarits black_friday_page et black_friday_fiche
   (lien direct, PAS dans web.assets_frontend) : ses dernières règles masquent
   les promesses de délai du gabarit commun, elles ne doivent toucher aucune
   autre page.
   ========================================================================== */
.ap2-bf {
  --bf-noir: #111111;
  --bf-jaune: #F5C800;
  --bf-jaune-survol: #FFD633;
  --bf-jaune-clair: #FFF3B8;
  --bf-encre: #1A1A2E;
  --bf-gris: #64748B;
  --bf-bord: #E2E8F0;
  --bf-fond: #F0F2F5;
  --bf-vert: #1A8A4A;
  --bf-titre: 'DM Serif Display', Georgia, serif;
  --bf-texte: 'DM Sans', system-ui, sans-serif;
  font-family: var(--bf-texte);
  color: var(--bf-encre);
  background-color: var(--bf-fond);
  background-image: radial-gradient(circle, rgba(0,0,0,.045) 1px, transparent 1px);
  background-size: 24px 24px;
  padding: 20px 0 48px;
  -webkit-font-smoothing: antialiased;
}
.ap2-bf *, .ap2-bf *::before, .ap2-bf *::after { box-sizing: border-box; }
.ap2-bf-wrap { max-width: 1328px; margin: 0 auto; padding: 0 24px; }
.ap2-bf a { color: inherit; }
#conditions, #packs { scroll-margin-top: 140px; }

/* ---------- Bandeau du haut ---------- */
.ap2-bf-hero {
  position: relative; overflow: hidden;
  border-radius: 18px;
  background: radial-gradient(ellipse at 30% 50%, #2A2A2A 0%, #141414 45%, #050505 100%);
  color: #fff;
  padding: 36px 40px;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center;
}
.ap2-bf-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--bf-jaune);
}
.ap2-bf-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(245,200,0,.55); background: rgba(245,200,0,.14); color: var(--bf-jaune);
  font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.ap2-bf-badge-point { width: 8px; height: 8px; border-radius: 50%; background: var(--bf-jaune); box-shadow: 0 0 0 3px rgba(245,200,0,.3); }
.ap2-bf .ap2-bf-title {
  font-family: var(--bf-titre); font-weight: 400;
  font-size: 40px; line-height: 1.12; letter-spacing: -.01em;
  margin: 16px 0 14px; color: #fff;
}
.ap2-bf-title em { font-style: italic; color: var(--bf-jaune); background: linear-gradient(135deg, #FFE066 0%, #F5C800 55%, #E6B800 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ap2-bf-subtitle { font-size: 17px; line-height: 1.5; margin: 0; color: rgba(255,255,255,.86); max-width: 620px; }
.ap2-bf-subtitle strong { color: #fff; font-weight: 800; }
.ap2-bf-hero-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.ap2-bf-btn-jaune {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 24px;
  background: var(--bf-jaune); color: var(--bf-noir) !important; border-radius: 10px;
  font-weight: 700; font-size: 16px; text-decoration: none;
}
.ap2-bf-btn-jaune:hover { background: var(--bf-jaune-survol); }

/* ---------- Conditions (visibles sans défiler) ---------- */
.ap2-bf-conditions {
  background: #fff; color: var(--bf-encre);
  border-radius: 14px; padding: 20px 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,.35);
}
.ap2-bf .ap2-bf-conditions-titre { font-family: var(--bf-texte) !important; line-height: 1.3; font-size: 15px; font-weight: 800; margin: 0 0 10px; text-transform: uppercase; letter-spacing: .05em; color: var(--bf-noir); }
.ap2-bf-conditions ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ap2-bf-conditions li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 15px; line-height: 1.4; }
.ap2-bf-conditions li::before {
  content: ""; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--bf-jaune) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.ap2-bf-conditions strong { font-weight: 700; }

/* ---------- Packs ---------- */
.ap2-bf-packs { padding-top: 40px; }
.ap2-bf .ap2-bf-h2 { font-family: var(--bf-titre); font-weight: 400; font-size: 34px; line-height: 1.15; margin: 0 0 6px; }
.ap2-bf-h2-sous { color: var(--bf-gris); font-size: 16px; margin: 0 0 22px; }
.ap2-bf-groupe + .ap2-bf-groupe { margin-top: 30px; }
.ap2-bf .ap2-bf-groupe-titre {
  font-family: var(--bf-texte) !important; color: var(--bf-encre); line-height: 1.2;
  display: flex; align-items: center; gap: 12px;
  font-size: 14px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px;
}
.ap2-bf-groupe-titre::before { content: ""; width: 34px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, #00A8D4, #E8155A, #F5C800); }
.ap2-bf-groupe--mono .ap2-bf-groupe-titre::before { background: var(--bf-encre); }
.ap2-bf-grille { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }

.ap2-bf-card {
  position: relative; background: #fff; border: 1.5px solid var(--bf-bord); border-radius: 18px; overflow: hidden;
  display: grid; grid-template-columns: 220px minmax(0, 1fr);
  transition: border-color .15s, box-shadow .15s;
}
.ap2-bf-card:hover { border-color: var(--bf-jaune); box-shadow: 0 8px 28px rgba(26,26,46,.08); }
.ap2-bf-card-img { position: relative; display: flex; align-items: center; justify-content: center; padding: 22px 16px; background: #fff; border-right: 1px solid #F1F3F6; text-decoration: none; }
.ap2-bf-card-img img { width: 100%; max-width: 188px; height: 188px; object-fit: contain; display: block; }
.ap2-bf-pastille {
  position: absolute; top: 12px; left: 12px;
  background: var(--bf-jaune); color: var(--bf-noir); border-radius: 999px; padding: 4px 10px;
  font-size: 11px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
}
.ap2-bf-card-corps { padding: 20px 22px 20px; display: flex; flex-direction: column; min-width: 0; }
.ap2-bf .ap2-bf-card-nom { font-family: var(--bf-texte); font-size: 18px; font-weight: 800; line-height: 1.3; margin: 0; text-decoration: none; display: block; }
.ap2-bf-card-nom:hover { text-decoration: underline; text-underline-offset: 3px; }
.ap2-bf-card-atout { margin: 6px 0 0; font-size: 14px; color: var(--bf-gris); font-weight: 500; }
.ap2-bf-card-contenu { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 5px; font-size: 14px; line-height: 1.4; }
.ap2-bf-card-contenu li { display: grid; grid-template-columns: 16px 1fr; gap: 8px; }
.ap2-bf-card-contenu li::before { content: "+"; font-weight: 800; color: var(--bf-noir); text-align: center; }
.ap2-bf-card-contenu .ap2-bf-rendement::before { content: "≈"; }
.ap2-bf-card-prix { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-top: 16px; }
.ap2-bf-prix-ttc { font-size: 30px; font-weight: 800; letter-spacing: -.01em; line-height: 1; }
.ap2-bf-prix-ttc small { font-size: 14px; font-weight: 700; margin-left: 3px; }
.ap2-bf-prix-ht { font-size: 14px; color: var(--bf-gris); }
.ap2-bf-economie { margin-top: 10px; display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 13px; color: var(--bf-gris); }
.ap2-bf-economie strong { background: var(--bf-jaune-clair); color: var(--bf-noir); border-radius: 6px; padding: 3px 8px; font-size: 14px; font-weight: 800; }
.ap2-bf-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: auto; padding-top: 16px; }
.ap2-bf-card-actions form { margin: 0; }
.ap2-bf-btn-panier {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 20px;
  background: var(--bf-jaune); color: var(--bf-noir); border: 0; border-radius: 10px; cursor: pointer;
  font-family: var(--bf-texte); font-size: 16px; font-weight: 700; white-space: nowrap;
  box-shadow: inset 0 -2px 0 rgba(0,0,0,.16);
}
.ap2-bf-btn-panier:hover { background: var(--bf-jaune-survol); }
.ap2-bf-btn-panier:focus-visible, .ap2-bf-btn-jaune:focus-visible { outline: 3px solid var(--bf-noir); outline-offset: 2px; }
.ap2-bf-lien-detail { font-size: 15px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--bf-encre) !important; white-space: nowrap; }
.ap2-bf-statut { display: none; font-size: 14px; font-weight: 700; border-radius: 10px; padding: 11px 14px; margin: 0; }

/* Carte épuisée */
.ap2-bf-card--epuise .ap2-bf-card-img img { filter: grayscale(1); opacity: .45; }
.ap2-bf-card--epuise .ap2-bf-pastille { background: #64748B; color: #fff; }
.ap2-bf-card--epuise .ap2-bf-prix-ttc, .ap2-bf-card--epuise .ap2-bf-card-nom { color: #94A3B8; }
.ap2-bf-card--epuise .ap2-bf-economie { display: none; }
.ap2-bf-card--epuise form { display: none; }
.ap2-bf-card--epuise .ap2-bf-statut--epuise { display: block; background: #F1F5F9; color: var(--bf-encre); }

/* Avant le début */
.ap2-bf[data-etat="avant"] .ap2-bf-card form { display: none; }
.ap2-bf[data-etat="avant"] .ap2-bf-card:not(.ap2-bf-card--epuise) .ap2-bf-statut--avant { display: block; background: var(--bf-jaune-clair); color: var(--bf-noir); }

/* Fiche pack : mêmes statuts que la carte */
.ap2-bf[data-etat="avant"] .ap2-bf-fiche:not(.ap2-bf-card--epuise) .ap2-bf-statut--avant { display: block; background: var(--bf-jaune-clair); color: var(--bf-noir); }

/* Offre terminée */
.ap2-bf-fin { display: none; }
.ap2-bf[data-etat="terminee"] .ap2-bf-hero--offre,
.ap2-bf[data-etat="terminee"] .ap2-bf-packs,
.ap2-bf[data-etat="terminee"] .ap2-bf-origine { display: none; }
.ap2-bf[data-etat="terminee"] .ap2-bf-fin { display: grid; }
.ap2-bf-fin { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 64px 40px 68px; }
.ap2-bf-fin .ap2-bf-title { max-width: 760px; }
.ap2-bf-fin .ap2-bf-subtitle { max-width: 640px; }

/* ---------- Vous préférez des toners d'origine ? ---------- */
.ap2-bf-origine {
  margin-top: 36px; background: #fff; border: 1.5px solid var(--bf-bord); border-radius: 18px;
  padding: 22px 26px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
}
.ap2-bf .ap2-bf-origine-titre { font-family: var(--bf-titre); font-weight: 400; font-size: 24px; margin: 0; }
.ap2-bf-origine p { margin: 4px 0 0; color: var(--bf-gris); font-size: 15px; }
.ap2-bf-btn-contour {
  display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border-radius: 10px;
  border: 1.5px solid var(--bf-encre); color: var(--bf-encre) !important; font-weight: 700; font-size: 15px; text-decoration: none; white-space: nowrap;
}
.ap2-bf-btn-contour:hover { background: var(--bf-encre); color: #fff !important; }
.ap2-bf-note { margin: 18px 0 0; font-size: 13px; line-height: 1.5; color: var(--bf-gris); max-width: 920px; }

/* ---------- Fiche pack (/black-friday/pack-…) : même charte ---------- */
.ap2-bf-fiche { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 28px; align-items: start; }
.ap2-bf-fiche-img { background: #fff; border: 1.5px solid var(--bf-bord); border-radius: 18px; padding: 28px; position: relative; display: flex; justify-content: center; }
.ap2-bf-fiche-img img { width: 100%; max-width: 460px; height: auto; max-height: 460px; object-fit: contain; }
.ap2-bf-fiche-corps { background: #fff; border: 1.5px solid var(--bf-bord); border-radius: 18px; padding: 24px 26px; }
.ap2-bf .ap2-bf-fiche-titre { font-family: var(--bf-texte) !important; font-size: 26px; font-weight: 800; line-height: 1.25; margin: 10px 0 8px; color: var(--bf-encre); }
.ap2-bf-fiche-corps .ap2-bf-badge { background: var(--bf-noir); }
.ap2-bf-fiche-retour { display: inline-block; margin-top: 14px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ap2-bf-fiche-section { margin-top: 24px; background: #fff; border: 1.5px solid var(--bf-bord); border-radius: 18px; padding: 22px 26px; }
.ap2-bf .ap2-bf-fiche-h2 { font-family: var(--bf-texte) !important; font-size: 18px; font-weight: 800; margin: 0 0 12px; color: var(--bf-encre); }
.ap2-bf-fiche-specs { font-size: 14px; overflow-x: auto; }
.ap2-bf-fiche-specs table { width: 100%; }
.ap2-bf-fiche .ap2-bf-card-actions { margin-top: 18px; }

/* ---------- Tablette ---------- */
@media (max-width: 1100px) {
  .ap2-bf-grille { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .ap2-bf-hero { grid-template-columns: 1fr; gap: 20px; padding: 28px 24px; }
  .ap2-bf .ap2-bf-title { font-size: 32px; }
  .ap2-bf-fiche { grid-template-columns: 1fr; }
}
/* ---------- Téléphone ---------- */
@media (max-width: 600px) {
  .ap2-bf { padding: 10px 0 32px; }
  .ap2-bf-wrap { padding: 0 10px; }
  #conditions, #packs { scroll-margin-top: 120px; }
  .ap2-bf-hero { padding: 16px 14px 18px; gap: 12px; border-radius: 14px; }
  .ap2-bf-badge { font-size: 11px; padding: 4px 10px; }
  .ap2-bf .ap2-bf-title { font-size: 22px; line-height: 1.15; margin: 10px 0 8px; }
  .ap2-bf-subtitle { font-size: 13.5px; line-height: 1.42; }
  .ap2-bf-hero--offre .ap2-bf-hero-btns { display: none; }
  .ap2-bf-conditions { padding: 12px 14px; border-radius: 12px; }
  .ap2-bf .ap2-bf-conditions-titre { font-size: 12px; margin-bottom: 7px; }
  .ap2-bf-conditions ul { gap: 5px; }
  .ap2-bf-conditions li { font-size: 13px; line-height: 1.3; grid-template-columns: 15px 1fr; gap: 7px; }
  .ap2-bf-conditions li::before { width: 15px; height: 15px; background-size: 9px; }
  .ap2-bf-packs { padding-top: 26px; }
  .ap2-bf .ap2-bf-h2 { font-size: 26px; }
  .ap2-bf-h2-sous { font-size: 14px; margin-bottom: 16px; }
  .ap2-bf-card { grid-template-columns: 1fr; }
  .ap2-bf-card-img { border-right: 0; border-bottom: 1px solid #F1F3F6; padding: 14px; }
  .ap2-bf-card-img img { max-width: 170px; height: 150px; }
  .ap2-bf-card-corps { padding: 14px 16px 16px; }
  .ap2-bf .ap2-bf-card-nom { font-size: 17px; }
  .ap2-bf-prix-ttc { font-size: 28px; }
  .ap2-bf-card-actions { flex-direction: column-reverse; align-items: stretch; }
  .ap2-bf-card-actions form, .ap2-bf-btn-panier { width: 100%; justify-content: center; }
  .ap2-bf-lien-detail { text-align: center; }
  .ap2-bf-origine { padding: 18px 16px; }
  .ap2-bf .ap2-bf-origine-titre { font-size: 21px; }
  .ap2-bf-btn-contour { width: 100%; justify-content: center; }
  .ap2-bf-fin { padding: 40px 18px 44px; }
  .ap2-bf-fiche-img { padding: 14px; }
  .ap2-bf-fiche-corps, .ap2-bf-fiche-section { padding: 16px; }
  .ap2-bf .ap2-bf-fiche-titre { font-size: 21px; }
}

/* ---------- Promesses de délai du gabarit commun : masquées ICI seulement ----------
   Aymen, 25/11 : pas de « 1 à 2 jours ouvrés » sur /black-friday ni sur les fiches
   pack. Barre du haut mobile, 1re pastille de réassurance du pied, paragraphe de
   présentation du pied. Cette feuille n'est chargée que par ces 5 pages. */
.ap2-promo-bar { display: none !important; }
.ap2-footer-reas-inner > .ap2-footer-reas-item:first-child,
.ap2-footer-reas-inner > .ap2-footer-reas-item:first-child + .ap2-footer-reas-sep { display: none !important; }
.ap2-footer-about { display: none !important; }

