/* =========================================================
   BLACK FRIDAY 2026 - Hot Deals + Lifetime Membership (Skills Pack)
   Markup: template-parts/bf-deals.php (hot deals) and
   page-lifetime-membership.php (wrapper div.sp-bf.sp-bf-lft).
   Loaded after hot_deals.css / lifetime_membership.css; everything is
   scoped to .sp-bf so other pages that share those files are untouched.
   ========================================================= */

.sp-bf {
  --sp-bf-black: #0d0d0d;
  --sp-bf-red: #e3060f;
  --sp-bf-gold: #ffb109;
  /* clip, not hidden: hidden would break the sticky sidebar on the lifetime page */
  overflow-x: clip;
}

.sp-bf-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  height: auto;
}

/* ---------- HERO (dark polygon background, offer card + sale badge) ---------- */
.sp-bf-hero {
  position: relative;
  padding: 3.5rem 0 3rem;
  background: #1b1b1b url('../img/bf/sp-bf-hero-bg.webp') center / cover no-repeat;
}

.sp-bf-offer {
  position: relative;
  max-width: 360px;
  margin-inline: auto;
  padding: 1.1rem 1.3rem 1.3rem;
  border: 2px solid #fff;
  border-radius: 14px;
  background: rgba(0, 0, 0, .55);
  color: #fff;
}

.sp-bf-offer p {
  margin: 0;
}

.sp-bf-offer-badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .1rem .45rem;
  border-radius: 4px;
  background: var(--sp-bf-gold);
  color: #000;
  font-size: .72rem;
  font-weight: 800;
}

.sp-bf-offer-title {
  margin: .9rem 0 .1rem;
  font-family: 'Poppins', var(--primary-font);
  font-size: 1.35rem;
  font-weight: 500;
  color: #fff;
}

.sp-bf-offer-price {
  font-family: 'Poppins', var(--primary-font);
  font-size: clamp(3.4rem, 9vw, 4.4rem);
  font-weight: 800;
  line-height: 1;
  color: var(--sp-bf-red);
  -webkit-text-stroke: 2px #fff;
  paint-order: stroke fill;
  text-shadow: 0 4px 0 #fff, 0 6px 14px rgba(0, 0, 0, .4);
  margin-bottom: .55rem;
}

.sp-bf-offer-old {
  font-size: .95rem;
}

.sp-bf-offer-access {
  color: #5fd35f;
  font-weight: 700;
  font-size: .95rem;
  margin-bottom: .8rem !important;
}

.sp-bf-coupon {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .3rem .35rem .3rem 1rem;
  border-radius: 6px;
  background: #fff;
  color: #000;
}

.sp-bf-coupon-label {
  font-size: .95rem;
  margin: 0;
}

.sp-bf-coupon-code {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: #000;
  font-weight: 800;
  font-size: 1.05rem;
  letter-spacing: .04em;
  outline: none;
}

.sp-bf-coupon-copy {
  border: 0;
  border-radius: 4px;
  padding: .35rem .9rem;
  background: #000;
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease;
}

.sp-bf-coupon-copy:hover,
.sp-bf-coupon-copy:focus-visible {
  background: var(--sp-bf-red);
}

.sp-bf-browse {
  display: block;
  max-width: 360px;
  margin: .8rem auto 0;
  padding: .7rem 1rem;
  border-radius: 6px;
  background: var(--sp-bf-red);
  color: #fff;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease, transform .2s ease;
}

.sp-bf-browse:hover,
.sp-bf-browse:focus-visible {
  color: #fff;
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.sp-bf-hero-badge {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45));
}

/* ---------- LEARN WITH CONFIDENCE (gifts either side) ---------- */
.sp-bf-conf {
  position: relative;
  overflow: hidden;
}

.sp-bf-conf .container-xxl {
  position: relative;
  z-index: 1;
}

.sp-bf-conf-gift-l {
  left: 2%;
  bottom: 6%;
  width: min(9vw, 130px);
}

.sp-bf-conf-gift-l2 {
  left: 0;
  bottom: 0;
  width: min(7vw, 100px);
}

.sp-bf-conf-gift-r {
  right: 0;
  bottom: 4%;
  width: min(8vw, 115px);
}

.sp-bf-conf .spk-conf-heading {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

.sp-bf-conf .spk-conf-highlight {
  color: #555;
}

/* ---------- POPULAR COURSES ---------- */
.sp-bf-courses {
  position: relative;
  overflow: hidden;
}

.sp-bf-courses .container-xxl {
  position: relative;
  z-index: 1;
}

.sp-bf-courses-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: #555;
}

.sp-bf-courses-grid {
  max-width: 1000px;
  margin-inline: auto;
}

.sp-bf-crs {
  position: relative;
  height: 100%;
  max-width: 300px;
  margin-inline: auto;
}

.sp-bf-crs .spk-pop-crs-card-warper {
  position: relative;
  z-index: 1;
  border: 5px solid #e8e8fb;
  border-radius: 22px;
  box-shadow: 0 18px 30px -10px rgba(0, 0, 0, .25);
}

.sp-bf-crs .spk-pop-crs-card {
  border-radius: 16px 16px 28px 28px;
}

.sp-bf-crs .spk-pop-crs-thumb {
  height: 170px;
  border-radius: 14px;
}

.sp-bf-crs .spk-pop-crs-body {
  padding: .9rem .9rem .3rem;
}

.sp-bf-crs .spk-pop-crs-title {
  font-size: 1rem;
  font-weight: 500;
  min-height: 2.8rem;
}

.sp-bf-crs .spk-pop-crs-price-new {
  font-size: 1.15rem;
}

.sp-bf-crs .spk-pop-crs-actions {
  margin: 0;
  padding: .9rem 1rem 1.1rem !important;
}

.sp-bf-crs-btn {
  display: inline-block;
  width: 72%;
  padding: .4rem 1rem;
  border-radius: 999px;
  background: #fffdf3;
  color: #000;
  font-size: .9rem;
  font-weight: 600;
  border: 0;
  transition: background .2s ease, color .2s ease;
}

.sp-bf-crs-btn:hover,
.sp-bf-crs-btn:focus-visible {
  background: #000;
  color: #fff;
}

/* ---------- WHY LEARNERS CHOOSE ---------- */
.sp-bf-why {
  position: relative;
  overflow: hidden;
  padding: 80px 0 90px;
}

.sp-bf-why .container {
  position: relative;
  z-index: 1;
}

.sp-bf-why h2 {
  color: #555;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

.sp-bf-why-intro {
  max-width: 760px;
  color: #828282;
}

/* ---------- TESTIMONIALS ---------- */
.sp-bf-reviews {
  position: relative;
  overflow: hidden;
}

.sp-bf-reviews .swiper,
.sp-bf-reviews .container > div {
  position: relative;
  z-index: 1;
}

.sp-bf-reviews .btn.spk-btn {
  --_base: #000;
  --_text-base: #fff;
  border-radius: 8px;
  padding: .45rem 2.5rem;
  font-weight: 400;
}

/* ---------- LIFETIME CTA ---------- */
.sp-bf-lt {
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.sp-bf-lt-card {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 330px;
  padding: 1.4rem 1.3rem 1.4rem;
  background: #000;
  color: #fff;
  border: 4px solid #fff;
  border-radius: 22px;
  box-shadow: 0 0 0 2px #000, 0 16px 30px rgba(0, 0, 0, .3);
}

.sp-bf-lt-card p {
  margin: 0;
}

.sp-bf-lt-plan {
  max-width: 75%;
  font-family: 'Poppins', var(--primary-font);
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.05;
}

.sp-bf-lt-price {
  font-family: 'Poppins', var(--primary-font);
  font-size: 4.6rem;
  font-weight: 800;
  line-height: 1.05;
  background: var(--bg-gradient-3_4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sp-bf-lt-regular {
  font-size: 1rem;
}

.sp-bf-lt-off {
  margin-left: .9rem;
  color: var(--theme-color-3);
  font-size: .85rem;
  font-weight: 700;
}

.sp-bf-lt-access {
  font-weight: 700;
  margin-bottom: 1.1rem !important;
}

.sp-bf-lt-register {
  display: block;
  padding: .7rem 1rem;
  border-radius: 8px;
  background: var(--bg-gradient-3_4);
  color: #000;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: filter .2s ease;
}

.sp-bf-lt-register:hover,
.sp-bf-lt-register:focus-visible {
  color: #000;
  filter: brightness(1.1);
}

.sp-bf .sp-bf-black-btn {
  border-radius: 8px;
  padding: .7rem 3.5rem;
  font-weight: 400;
}

.sp-bf-lt .spk-cert-heading,
.sp-bf-cert .spk-cert-heading {
  font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* ---------- CERTIFICATE ---------- */
.sp-bf-cert {
  position: relative;
  overflow: hidden;
}

.sp-bf-cert::before {
  display: none;
}

.sp-bf-cert .spk-cert-img {
  max-width: 280px;
}

/* course cards: Black Friday corner ribbon, gold footer */
.sp-bf-crs-corner {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 86px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.sp-bf-courses-ribbon-r {
  right: 0;
  top: 8%;
  width: min(8vw, 110px);
}

.sp-bf-courses-ribbon-m {
  left: 0;
  top: 40%;
  width: min(12vw, 170px);
  transform: scaleX(-1);
}

/* why section decorations */
.sp-bf-why-bag {
  left: 1%;
  top: 22%;
  width: min(10vw, 150px);
}

.sp-bf-why-ribbon {
  right: 0;
  top: 10px;
  width: min(9vw, 120px);
}

/* testimonials on the dark polygon background */
.sp-bf-reviews {
  background: #1b1b1b url('../img/bf/sp-bf-hero-bg.webp') center / cover no-repeat;
}

.sp-bf-reviews .spk-testi-card {
  color: #fff;
}

.sp-bf-reviews-gift-r {
  right: 0;
  bottom: 4%;
  width: min(9vw, 130px);
  z-index: 2;
}

.sp-bf-reviews-gold-r {
  right: 0;
  top: -10px;
  width: min(7vw, 100px);
}

.sp-bf-reviews-gift-l {
  left: 0;
  bottom: 6%;
  width: min(9vw, 130px);
  z-index: 2;
}

/* lifetime card */
.sp-bf-lt-corner {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 96px;
  height: auto;
  z-index: 2;
}

.sp-bf-lt-gift {
  position: absolute;
  right: -14px;
  bottom: -14px;
  width: 86px;
  height: auto;
  z-index: 2;
  pointer-events: none;
}

.sp-bf-lt-card {
  overflow: visible !important;
}

.sp-bf-lt-ribbon-l {
  left: 0;
  bottom: 10%;
  width: min(7vw, 95px);
}

.sp-bf-lt-ribbon-r {
  right: 0;
  bottom: 6%;
  width: min(8vw, 110px);
}

/* certificate */
.sp-bf-cert-gift {
  left: 0;
  bottom: 8%;
  width: min(9vw, 130px);
}

.sp-bf-cert-gold {
  right: 0;
  top: 25%;
  width: min(7vw, 100px);
}

.sp-bf-cert .sp-bf-cert-img {
  max-width: 340px;
  width: 100%;
  height: auto;
}

@media (min-width: 992px) {
  .sp-bf-hero {
    padding: 4.5rem 0 4rem;
  }

  .sp-bf-offer,
  .sp-bf-browse {
    margin-inline: 0 auto;
  }

  .sp-bf-conf .spk-conf-heading {
    position: relative;
    top: 2.5rem;
    text-align: left;
    padding-left: 30%;
    white-space: nowrap;
  }
}

@media (max-width: 1199.98px) {
  .sp-bf-why-bag,
  .sp-bf-lt-ribbon-l,
  .sp-bf-lt-ribbon-r,
  .sp-bf-cert-gift,
  .sp-bf-cert-gold,
  .sp-bf-courses-ribbon-m {
    opacity: .35;
  }
}

@media (max-width: 767.98px) {
  .sp-bf-conf-gift-l2,
  .sp-bf-why-bag,
  .sp-bf-courses-ribbon-m,
  .sp-bf-reviews-gift-l,
  .sp-bf-reviews-gift-r,
  .sp-bf-cert-gift {
    display: none;
  }

  .sp-bf-conf-gift-l,
  .sp-bf-conf-gift-r {
    width: 64px;
    opacity: .6;
  }

  .sp-bf-crs-corner {
    width: 72px;
  }

  .sp-bf-crs {
    max-width: 280px;
  }
}

/* =========================================================
   LIFETIME - lifetime page (wrapper div.sp-bf.sp-bf-lft)
   Confidence gifts and the reviews band reuse the hot deals rules above.
   ========================================================= */
.sp-bf-lft .sp-bf-lft-hero {
  position: relative;
  background: #1b1b1b url('../img/bf/sp-bf-hero-bg.webp') center / cover no-repeat;
  color: #fff;
}

.sp-bf-lft-hero-art {
  position: relative;
}

.sp-bf-lft .sp-bf-lft-hero-art .sp-bf-lft-tag {
  position: absolute;
  left: -2%;
  top: -14%;
  width: 26%;
  max-width: 190px;
  z-index: 2;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .45));
}
.sp-bf-lft .spk-lftm-hero-heading .spk-lftm-hero-to,
.sp-bf-lft .spk-lftm-hero-heading .spk-lftm-hero-courses {
  color: var(--primary-color);
}

.sp-bf-lft .spk-lftm-hero-image-frame img {
  max-width: 640px;
  margin-inline: auto;
}

.sp-bf-lft .spk-lftm-sidebar-card {
  position: sticky;
}

.sp-bf-lft .spk-lftm-price-sparkle {
  display: none;
}

.sp-bf-lft-card-img img {
  display: block;
  width: 108%;
  max-width: none;
  margin: -2.5rem -4% 0;
}

.sp-bf-lft-spiders {
  position: absolute;
  right: -18px;
  top: 38%;
  width: 84px;
  height: auto;
  pointer-events: none;
  z-index: 2;
}

.sp-bf-lft .sp-bf-deco {
  z-index: 0;
}

.sp-bf-lft-cert,
.sp-bf-lft-faq,
.sp-bf-lft-mbg {
  position: relative;
}

.sp-bf-lft-cert > .container-xxl,
.sp-bf-lft-faq > .container-xxl,
.sp-bf-lft-mbg > .spk-lftm-cert-block {
  position: relative;
  z-index: 1;
}

.sp-bf-lft-cert {
  background: linear-gradient(135deg, #fff 0%, var(--theme-color-5) 100%);
  border-radius: 14px;
  margin-top: 2.5rem;
}

.sp-bf-lft-cert::before {
  display: none;
}

.sp-bf-lft-cert-title {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin: 0 0 -1rem;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: #000;
}

.sp-bf-lft-cert-title img {
  width: clamp(48px, 6vw, 72px);
  height: auto;
}

.sp-bf-lft-cert .spk-cert-img {
  max-width: 300px;
}

.sp-bf-lft-cert-tree {
  left: -130px;
  bottom: 30px;
  width: 110px;
}

.sp-bf-lft-swarm {
  right: -250px;
  top: 30%;
  width: 150px;
}

.sp-bf-lft-faq-branch {
  right: -240px;
  top: 10%;
  width: 130px;
}

.sp-bf-lft-faq-tree {
  right: -230px;
  bottom: 10px;
  width: 120px;
}

.sp-bf-lft-mbg {
  border-radius: 14px;
  margin-bottom: 3rem;
}

.sp-bf-lft-mbg-bats {
  left: -30px;
  top: -20px;
  width: 80px;
}

/* Side decorations only where there is room next to the content */
@media (max-width: 1499.98px) {
  .sp-bf-lft-cert-tree {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .sp-bf-lft-swarm,
  .sp-bf-lft-faq-branch,
  .sp-bf-lft-faq-tree {
    display: none;
  }
}

@media (max-width: 991.98px) {
  .sp-bf-lft-spiders {
    display: none;
  }

  .sp-bf-lft-card-img img {
    width: 100%;
    margin: 0;
  }

  .sp-bf-lft-mbg-bats {
    width: 80px;
    left: 0;
  }
}

/* Black Friday landing page: lifetime counter-offer under the hero */
main.sp-bf .sp-bf-counter-eyebrow { margin: 0 0 .6rem; color: #e10e17; font-family: 'Poppins', sans-serif; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
