/* Pokelite Black Friday : sobre, dans le style du site.
   Bandeau anthracite comme le bandeau d'accueil (#1a1a1a, texte blanc), or (#daa93d) seulement en accent,
   libellé en petites capitales comme les étiquettes de catégorie du blog. Pas de pastilles ni de badges. */
.pk-bf-bar,
.pk-bf-progress {
  --pk-bf-gold: var(--global-palette1, #daa93d);
  --pk-bf-ink: var(--global-palette3, #212121);
  --pk-bf-line: var(--global-palette9, #e9e9e9);
}

.pk-bf-bar {
  background: #1a1a1a;
  color: #fff;
  font-size: 13.5px;
  line-height: 1.4;
  position: relative;
  z-index: 1001;
}
.pk-bf-bar[hidden] { display: none !important; }
.pk-bf-bar__in {
  display: flex;
  align-items: baseline;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px 18px;
  max-width: 1290px;
  margin: 0 auto;
  padding: 10px 16px;
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
}
.pk-bf-bar__tag {
  color: var(--pk-bf-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pk-bf-bar__txt { font-weight: 500; letter-spacing: .3px; }
.pk-bf-bar__cd { color: #a4a4a4; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pk-bf-bar__cta {
  font-weight: 600;
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--pk-bf-gold);
}
.pk-bf-bar__in:hover .pk-bf-bar__cta { color: var(--pk-bf-gold); }
.pk-bf-short { display: none; }
/* Annonce ou offre en cours : un seul des deux textes longs est visible, selon la phase posée sur le bandeau. */
.pk-bf-bar[data-phase="teaser"] .pk-bf-l,
.pk-bf-bar[data-phase="live"] .pk-bf-t { display: none; }
.pk-bf-free { font-weight: 600; }
.pk-bf-nb { white-space: nowrap; }

/* Progression dans le bandeau : une ligne discrète et un trait fin */
.pk-bf-prog { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.pk-bf-prog--bar {
  max-width: 1290px;
  margin: -4px auto 0;
  padding: 0 16px 10px;
  font-size: 12.5px;
  color: #cbcbcb;
}
.pk-bf-prog--bar strong { color: #fff; font-weight: 600; }
.pk-bf-prog__track { display: block; width: 100%; max-width: 260px; height: 2px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.pk-bf-prog__fill { display: block; height: 100%; background: var(--pk-bf-gold); transition: width .4s ease; }

/* Encart en haut du panier et de la page de paiement */
.pk-bf-progress {
  background: #fff;
  color: var(--pk-bf-ink);
  border: 1px solid var(--pk-bf-line);
  border-radius: 4px;
  padding: 14px 18px 16px;
  margin: 0 0 24px;
  font-size: 15px;
}
.pk-bf-progress[hidden] { display: none !important; }
.pk-bf-progress .pk-bf-prog { align-items: stretch; gap: 10px; }
.pk-bf-progress .pk-bf-prog__msg::before {
  content: "Black Friday";
  display: block;
  margin-bottom: 4px;
  color: var(--pk-bf-gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.pk-bf-progress strong { font-weight: 700; }
.pk-bf-progress .pk-bf-prog__track { max-width: none; height: 4px; background: var(--pk-bf-line); border-radius: 2px; }
.pk-bf-progress .pk-bf-prog__fill { border-radius: 2px; }

@media (max-width: 767px) {
  .pk-bf-bar { font-size: 12px; }
  .pk-bf-bar__in { gap: 2px 10px; padding: 8px 12px; }
  .pk-bf-bar__tag { font-size: 11px; }
  .pk-bf-long { display: none; }
  .pk-bf-short { display: inline; }
  .pk-bf-bar__tag { order: 1; }
  .pk-bf-bar__cd { order: 2; }
  .pk-bf-bar__txt.pk-bf-short { order: 3; flex-basis: 100%; font-size: 11.5px; letter-spacing: 0; text-wrap: balance; }
  .pk-bf-bar__cta { display: none; }
  .pk-bf-prog--bar { padding: 0 12px 8px; font-size: 11.5px; gap: 5px; }
  .pk-bf-progress .pk-bf-long { display: inline; }
  .pk-bf-progress .pk-bf-short { display: none; }
  .pk-bf-progress { padding: 12px 14px 14px; font-size: 14px; }
}

/* Fenêtre des conditions */
.pk-bf-modal { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; }
.pk-bf-modal[hidden] { display: none !important; }
.pk-bf-modal__overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .55); }
.pk-bf-modal__box {
  --pk-bf-gold: var(--global-palette1, #daa93d);
  position: relative;
  width: 100%;
  max-width: 560px;
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: #fff;
  color: var(--global-palette3, #212121);
  border-radius: 4px;
  padding: 32px 32px 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .25);
  font-size: 15px;
  line-height: 1.5;
  outline: none;
}
.pk-bf-modal__close {
  position: absolute; top: 10px; right: 12px;
  width: 36px; height: 36px; padding: 0;
  border: 0; background: none; box-shadow: none;
  color: #6b6b6b; font-size: 28px; line-height: 1; cursor: pointer;
}
.pk-bf-modal__close:hover { color: #000; background: none; }
.pk-bf-modal__label { margin: 0 0 6px; color: var(--pk-bf-gold); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.pk-bf-modal__title { margin: 0 0 6px; font-size: 26px; line-height: 1.25; color: inherit; }
.pk-bf-modal__dates { margin: 0 0 20px; color: #6b6b6b; }
.pk-bf-modal__tiers { list-style: none; margin: 0 0 22px; padding: 0; border-top: 1px solid var(--global-palette9, #e9e9e9); }
.pk-bf-modal__tiers li { display: flex; gap: 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--global-palette9, #e9e9e9); margin: 0; }
.pk-bf-modal__tiers span { flex: 0 0 auto; min-width: 64px; font-weight: 700; }
.pk-bf-modal__tiers span::before { content: "Dès "; font-weight: 400; color: #6b6b6b; }
.pk-bf-modal__sub { margin: 0 0 6px; font-weight: 700; }
.pk-bf-modal__rules { margin: 0 0 24px; padding-left: 18px; color: #4a4a4a; font-size: 14px; }
.pk-bf-modal__rules li { margin: 0 0 4px; }
.pk-bf-modal__btn {
  display: inline-block;
  background: var(--pk-bf-gold);
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 22px;
  border-radius: 3px;
  font-weight: 600;
}
.pk-bf-modal__btn:hover { background: var(--global-palette2, #c89116); }
html.pk-bf-modal-open { overflow: hidden; }
@media (max-width: 767px) {
  .pk-bf-modal__box { padding: 26px 20px 22px; }
  .pk-bf-modal__title { font-size: 22px; }
}
