/* Bundle offer banner, mentions, popup, and offer-state visibility. */
[data-bundle-when][hidden] {
  display: none !important;
}

.bf-banner {
  margin: 0 auto 8px;
}
.bf-banner .bf-banner-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  background: #16233c;
  border: 1px solid rgba(229, 133, 31, 0.45);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 0 0 1px rgba(14, 26, 48, 0.4), 0 10px 30px rgba(0, 0, 0, 0.18);
}
.bf-banner-covers {
  display: flex;
  align-items: flex-end;
}
.bf-banner-covers img {
  width: 72px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  background: #0E1A30;
}
.bf-banner-covers img + img {
  margin-left: -22px;
}
.bf-banner-copy .eyebrow {
  margin: 0 0 6px;
}
.bf-banner-copy h2 {
  margin: 0 0 8px;
  font-family: Oswald, Impact, sans-serif;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.15;
  color: #fff;
}
.bf-banner-copy p {
  margin: 0;
  color: #9AA7BC;
  font-size: 15px;
}
.bf-price {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 8px 0 0;
  font-weight: 700;
  color: #fff;
}
.bf-price .now {
  color: #E5851F;
  font-size: 1.15em;
}
.bf-price s,
.bf-price .was {
  color: #9AA7BC;
  font-weight: 500;
  text-decoration: line-through;
}
.bf-banner .btn {
  white-space: nowrap;
}
@media (max-width: 800px) {
  .bf-banner .bf-banner-inner {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 22px 18px;
    gap: 16px;
  }
  .bf-banner-covers img {
    width: 64px;
  }
}

.bf-mention {
  background: #16233c;
  border-bottom: 1px solid rgba(229, 133, 31, 0.35);
  color: #E7ECF3;
  font-size: 15px;
}
.bf-mention .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.bf-mention p {
  margin: 0;
  color: #E7ECF3;
}
.bf-mention a {
  color: #E5851F;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.bf-mention a:hover,
.bf-mention a:focus-visible {
  text-decoration: underline;
}

/* Popup */
body.bf-popup-open {
  overflow: hidden;
}
.bf-popup {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 14, 26, 0.72);
}
.bf-popup[hidden] {
  display: none !important;
}
.bf-popup-dialog {
  position: relative;
  width: min(560px, 100%);
  background: #0E1A30;
  color: #E7ECF3;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 28px 26px 26px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}
.bf-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #E7ECF3;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.bf-popup-close:hover,
.bf-popup-close:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: 2px solid #E5851F;
  outline-offset: 1px;
}
.bf-popup-covers {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 8px 0 18px;
}
.bf-popup-covers img {
  width: 92px;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
  background: #16233c;
}
.bf-popup-covers img + img {
  margin-left: -24px;
}
.bf-popup .eyebrow {
  text-align: center;
  margin: 0 0 8px;
  color: #E5851F;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}
.bf-popup h2 {
  text-align: center;
  margin: 0 0 8px;
  font-family: Oswald, Impact, sans-serif;
  font-size: 28px;
  line-height: 1.15;
}
.bf-popup .bf-popup-lead {
  text-align: center;
  margin: 0 0 18px;
  color: #9AA7BC;
  font-size: 15px;
}
.bf-popup .btn {
  display: block;
  width: 100%;
  text-align: center;
}

/* Bundle sales page */
.bf-hero-covers {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.bf-hero-covers img {
  width: min(180px, 28vw);
  height: auto;
  border-radius: 4px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
  background: #0E1A30;
}
.bf-hero-covers img + img {
  margin-left: -48px;
}
.bf-hero-covers img:nth-child(1) { transform: rotate(-7deg); z-index: 1; }
.bf-hero-covers img:nth-child(2) { transform: rotate(0deg); z-index: 3; margin-bottom: 10px; }
.bf-hero-covers img:nth-child(3) { transform: rotate(7deg); z-index: 2; }
.bf-kit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 860px) {
  .bf-kit-grid { grid-template-columns: 1fr; }
  .bf-hero-covers img + img { margin-left: -28px; }
}
.bf-kit-card {
  background: #16233c;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 20px 20px;
}
.bf-kit-card img.cover {
  width: 120px;
  height: auto;
  display: block;
  margin: 0 auto 14px;
  border-radius: 3px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}
.bf-kit-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-family: Oswald, Impact, sans-serif;
}
.bf-kit-card .each {
  color: #E5851F;
  font-weight: 700;
  margin: 0 0 10px;
  font-size: 14px;
}
.bf-kit-card ul {
  margin: 0 0 14px;
  padding: 0 0 0 18px;
  color: #c5d0e0;
  font-size: 14.5px;
}
.bf-kit-card li { margin: 0 0 6px; }
.bf-kit-card a.plain {
  color: #E5851F;
  font-weight: 600;
  text-decoration: none;
}
.bf-kit-card a.plain:hover { text-decoration: underline; }
.bf-ended-links,
.bf-before-note {
  text-align: center;
}
.bf-ended-links a { margin: 0 8px; }

/* Christmas bundle (Dec 1-24, 2026): holiday accent. */
.bf-banner.xmas .bf-banner-inner {
  border-color: rgba(95, 170, 125, 0.55);
}
.bf-banner.xmas .eyebrow,
.bf-mention.xmas b {
  color: #7FCB9B;
}
.bf-mention.xmas {
  border-bottom-color: rgba(95, 170, 125, 0.45);
}
.bf-popup .eyebrow {
  color: #E5851F;
}
.bf-kit-card .xmas-for {
  margin: 0 0 10px;
  color: #E7ECF3;
  font-size: 14.5px;
}

/* Christmas lights (SVG string). Hero, Christmas homepage banner, Christmas popup. */
.xmas-lights {
  pointer-events: none;
  line-height: 0;
}
.xmas-lights svg {
  display: block;
  width: 100%;
  height: 52px;
  overflow: hidden;
}
.xmas-lights.compact svg {
  height: 36px;
}
.xmas-lights .glass {
  animation: xmas-bulb-twinkle var(--dur, 2.6s) ease-in-out var(--delay, 0s) infinite;
}
.xmas-lights .glow {
  animation: xmas-glow-twinkle var(--dur, 2.6s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes xmas-bulb-twinkle {
  0%, 100% { opacity: 1; }
  52% { opacity: 0.5; }
}
@keyframes xmas-glow-twinkle {
  0%, 100% { opacity: 0.42; }
  52% { opacity: 0.1; }
}
@media (prefers-reduced-motion: reduce) {
  .xmas-lights .glass,
  .xmas-lights .glow {
    animation: none;
  }
  .xmas-lights .glow { opacity: 0.35; }
}

/* Hero: hang from the top edge, inside the existing top padding. */
.h-hero.xmas-hero {
  /* home.css already sets position: relative and overflow: hidden */
}
.h-hero.xmas-hero > .xmas-lights {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2;
}
@media (max-width: 760px) {
  .h-hero.xmas-hero {
    padding-top: 64px;
  }
  .h-hero.xmas-hero > .xmas-lights svg {
    height: 40px;
  }
}

/* Homepage Christmas banner: reserved top padding, lights sit on the top edge. */
.bf-banner.xmas .bf-banner-inner {
  position: relative;
  padding-top: 40px;
}
.bf-banner.xmas .bf-banner-inner > .xmas-lights {
  position: absolute;
  top: 2px;
  left: 10px;
  right: 10px;
  z-index: 2;
}
@media (max-width: 800px) {
  .bf-banner.xmas .bf-banner-inner {
    padding-top: 34px;
  }
  .bf-banner.xmas .xmas-lights svg {
    height: 32px;
  }
}

/* Christmas exit popup: lights along the top, behind the close button. */
.bf-popup-close {
  z-index: 3;
}
.bf-popup-dialog > .xmas-lights {
  position: absolute;
  top: 4px;
  left: 12px;
  right: 44px;
  z-index: 1;
}
.bf-popup-dialog:has(> .xmas-lights:not([hidden])) {
  padding-top: 44px;
}
