/*
 * Black Friday 2026 popup (temporary) - components/popup_bf.php
 * Loaded after the Promo Popup plugin's popup.css, only while Black Friday is on.
 * Everything is scoped to .sa-popup--bf.
 */

.sa-popup--bf {
  --bf-gold: #d4b47a;
  --bf-gold-line: rgba(212, 180, 122, 0.5);
}

.sa-popup--bf .sa-popup__card {
  /* same size as the regular popup (popup.css: 900 x 540) */
  width: 900px;
  height: 540px;
  background-color: #18343f;
  background-size: cover;
  background-position: center;
}

.sa-popup--bf .sa-popup__panel {
  padding: 34px 40px 30px;
  overflow-y: auto;
}

.sa-popup--bf .sa-popup__panel::before {
  display: none;
}

.sa-popup--bf .sa-popup__close {
  top: 18px;
  right: 18px;
  background: transparent;
  box-shadow: none;
  color: #fff;
}

.sa-popup--bf .sa-popup__close svg {
  width: 18px;
  height: 18px;
}

.sa-popup--bf .sa-popup__close:focus-visible,
.sa-popup--bf .sa-popup__btn:focus-visible {
  outline-color: #fff;
}

.sa-popup--bf .sa-popup__eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--bf-gold);
}

.sa-popup--bf .sa-popup__heading {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: 60px;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--bf-gold);
  background: linear-gradient(180deg, #ecd39a 0%, #c9a465 55%, #a8844d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sa-popup-bf__date {
  margin: 0 0 20px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bf-gold);
}

.sa-popup-bf__date span {
  margin: 0 0.8em;
}

.sa-popup-bf__tiers {
  list-style: none;
  width: 480px;
  max-width: 100%;
  margin: 0 0 30px;
  padding: 0;
  border-top: 1px solid var(--bf-gold-line);
}

.sa-popup-bf__tiers li {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 22px;
  margin: 0;
  padding: 3px 0;
  border-bottom: 1px solid var(--bf-gold-line);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.5;
  color: #fff;
}

.sa-popup-bf__tiers li::before {
  display: none;
}

.sa-popup-bf__spend {
  text-align: right;
}

.sa-popup-bf__bonus {
  text-align: left;
}

.sa-popup-bf__bonus b {
  font-weight: 400;
  color: var(--bf-gold);
}

.sa-popup-bf__tiers small {
  margin-right: 7px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  vertical-align: 0.45em;
}

.sa-popup-bf__arrow {
  font-size: 13px;
  color: var(--bf-gold);
}

.sa-popup--bf .sa-popup__btn {
  min-width: 290px;
  height: 60px;
  background: #fff;
  color: #18343f;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.12em;
}

.sa-popup--bf .sa-popup__btn:hover,
.sa-popup--bf .sa-popup__btn:focus {
  background: #18343f;
  color: #fff;
  box-shadow: inset 0 0 0 2px #fff;
}

.sa-popup--bf .sa-popup__note {
  max-width: none;
  margin-top: 24px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .sa-popup--bf .sa-popup__card {
    width: 360px;
    height: auto;
    background-position: 70% center;
  }

  .sa-popup--bf .sa-popup__panel {
    padding: 46px 20px 30px;
  }

  .sa-popup--bf .sa-popup__close {
    top: 8px;
    right: 8px;
  }

  .sa-popup--bf .sa-popup__eyebrow {
    margin-bottom: 12px;
    font-size: 10px;
    letter-spacing: 0.16em;
  }

  .sa-popup--bf .sa-popup__heading {
    margin-bottom: 10px;
    font-size: 40px;
  }

  .sa-popup-bf__date {
    margin-bottom: 18px;
    font-size: 10px;
    letter-spacing: 0.2em;
  }

  .sa-popup-bf__tiers {
    margin-bottom: 26px;
  }

  .sa-popup-bf__tiers li {
    gap: 12px;
    padding: 3px 0;
    font-size: 20px;
  }

  .sa-popup-bf__tiers small {
    margin-right: 5px;
    font-size: 9px;
    letter-spacing: 0.16em;
  }

  .sa-popup-bf__arrow {
    font-size: 12px;
  }

  .sa-popup--bf .sa-popup__btn {
    width: 100%;
    min-width: 0;
    height: 54px;
    font-size: 14px;
  }

  .sa-popup--bf .sa-popup__btn-m,
  .sa-popup--bf .sa-popup__btn-d {
    display: none;
  }

  .sa-popup--bf .sa-popup__note {
    margin-top: 22px;
    font-size: 11px;
  }

  .sa-popup--bf .sa-popup__note br {
    display: none;
  }
}
