/* Black November landing page (template-black-november.php).
   Black + gold, the shiny label from style.css ("Black November label"), site red for prices. */

/* Shared tokens: the landing page (.bn-page) and card grids embedded elsewhere (.bn-embed, e.g. front page). */
.bn-page,
.bn-embed {
  --bn-bg: #050505;
  --bn-panel: #111010;
  --bn-cream: #f5efe3;
  --bn-muted: rgb(245 239 227 / 70%);
  --bn-red: #e43443;
  --bn-gold: linear-gradient(100deg, #a8782a 0%, #e9c46a 22%, #fff3c4 38%, #d9a441 55%, #f6dc8c 72%, #a8782a 100%);
  --bn-gold-solid: #d9a441;
  font-family: 'Poppins', sans-serif;
}
.bn-page {
  background: var(--bn-bg);
  color: var(--bn-cream);
}
.bn-page *,
.bn-page *::before,
.bn-page *::after,
.bn-embed *,
.bn-embed *::before,
.bn-embed *::after {
  box-sizing: border-box;
}

/* ---------- Hero ---------- */
.bn-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 90px 20px 80px;
  text-align: center;
  background:
    radial-gradient(60% 50% at 50% 0%, rgb(217 164 65 / 14%), rgb(0 0 0 / 0) 70%),
    var(--bn-bg);
}
.bn-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bn-hero.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgb(5 5 5 / 78%) 0%, rgb(5 5 5 / 70%) 45%, var(--bn-bg) 100%);
}
.bn-hero__inner {
  max-width: 980px;
  margin: 0 auto;
}
.bn-hero__live .bf-shine-label__text {
  font-size: 13px;
}
.bn-hero__title {
  margin: 28px 0 0;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  line-height: .9;
  letter-spacing: -.01em;
  text-transform: uppercase;
}
.bn-hero__title-solid,
.bn-hero__title-outline {
  display: block;
  font-size: clamp(56px, 13vw, 160px);
}
.bn-hero__title-solid {
  color: var(--bn-cream);
}
.bn-hero__title-outline {
  color: transparent;
  -webkit-text-stroke: 2px var(--bn-gold-solid);
  text-shadow: 0 0 24px rgb(233 196 106 / 45%), 0 0 60px rgb(217 164 65 / 25%);
}
.bn-hero__sub {
  margin: 32px auto 0;
  max-width: 760px;
  font-size: clamp(22px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.25;
  color: var(--bn-cream);
}
.bn-hero__text {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bn-muted);
}
.bn-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.bn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}
.bn-btn--primary {
  background: var(--bn-red);
  color: #fff;
}
.bn-btn--primary:hover,
.bn-btn--primary:focus {
  background: #c92835;
  color: #fff;
}
.bn-btn--ghost {
  border: 1.5px solid rgb(245 239 227 / 35%);
  color: var(--bn-cream);
}
.bn-btn--ghost:hover,
.bn-btn--ghost:focus {
  border-color: var(--bn-gold-solid);
  color: var(--bn-cream);
}

/* ---------- Countdown: one "campaign ticket" with a progress bar ---------- */
.bn-ticket {
  padding: 1.5px;
  border-radius: 22px;
  background: var(--bn-gold);
  box-shadow: 0 0 0 6px rgb(217 164 65 / 8%), 0 24px 60px rgb(0 0 0 / 55%), 0 0 40px rgb(233 196 106 / 12%);
}
.bn-ticket__inner {
  border-radius: 20.5px;
  background: radial-gradient(120% 140% at 0% 0%, #231f1b 0%, #0b0a09 55%, #050505 100%);
}
.bn-countdown {
  max-width: 760px;
  margin: 48px auto 0;
  text-align: left;
}
.bn-countdown .bn-ticket__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 32px;
  padding: 22px 28px 18px;
}
.bn-countdown__head {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.bn-countdown__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #e9c46a;
}
.bn-countdown__when {
  font-size: 15px;
  color: var(--bn-muted);
}
.bn-countdown__digits {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}
.bn-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 64px;
}
.bn-countdown__unit b {
  font-size: 46px;
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: var(--bn-cream);
}
.bn-countdown__unit--sec b {
  color: #ff5a66;
}
.bn-countdown__unit small {
  margin-top: 6px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgb(245 239 227 / 65%);
}
.bn-countdown__sep {
  font-size: 38px;
  font-weight: 800;
  line-height: 1;
  background: var(--bn-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bnBlink 1s steps(1) infinite;
}
.bn-countdown__progress {
  flex: 1 1 100%;
}
.bn-countdown__bar {
  position: relative;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgb(245 239 227 / 12%);
}
.bn-countdown__bar span {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  overflow: hidden;
  border-radius: 3px;
  background: var(--bn-gold);
  box-shadow: 0 0 12px rgb(233 196 106 / 60%);
  transition: width .6s ease;
}
.bn-countdown__bar span::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, rgb(255 255 255 / 0), rgb(255 248 220 / 80%), rgb(255 255 255 / 0));
  animation: bnSweep 3s ease-in-out infinite;
}
.bn-countdown__meta {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  font-weight: 600;
  color: rgb(245 239 227 / 60%);
}
@keyframes bnBlink {
  50% { opacity: .25; }
}
@keyframes bnSweep {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(420%); }
}

/* ---------- Newsletter (Brevo form) ---------- */
.bn-news-wrap {
  padding: 20px 24px 40px;
}
.bn-news-wrap .bn-ticket {
  max-width: 1080px;
  margin: 0 auto;
}
.bn-news {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 28px 48px;
  padding: 44px 48px;
}
.bn-news__intro,
.bn-news__form {
  flex: 1 1 340px;
  min-width: 0;
}
.bn-news__intro .bf-shine-label__text {
  font-size: 12px;
}
.bn-news__heading {
  margin: 18px 0 0;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--bn-cream);
}
.bn-news__text {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--bn-muted);
}
/* Brevo's form markup varies by form; style its fields generically. */
.bn-news__form,
.bn-news__form p,
.bn-news__form label {
  color: rgb(245 239 227 / 85%);
  font-family: 'Poppins', sans-serif;
}
.bn-news__form form {
  margin: 0;
}
.bn-news__form input[type="email"],
.bn-news__form input[type="text"] {
  width: 100% !important;
  min-height: 52px;
  margin: 6px 0 12px;
  padding: 0 18px !important;
  border: 1.5px solid rgb(217 164 65 / 45%) !important;
  border-radius: 999px !important;
  background: #0d0b0a !important;
  color: var(--bn-cream) !important;
  font-size: 16px;
  box-shadow: none !important;
}
.bn-news__form input[type="email"]:focus,
.bn-news__form input[type="text"]:focus {
  outline: none;
  border-color: #e9c46a !important;
  box-shadow: 0 0 0 3px rgb(233 196 106 / 25%) !important;
}
.bn-news__form input[type="submit"],
.bn-news__form button {
  width: 100%;
  min-height: 52px;
  padding: 0 26px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--bn-red) !important;
  color: #fff !important;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  cursor: pointer;
}
.bn-news__form input[type="submit"]:hover,
.bn-news__form button:hover {
  background: #c92835 !important;
}
.bn-news__form a {
  color: #e9c46a;
}

/* ---------- Marquee band ---------- */
.bn-marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--bn-gold);
  color: #0d0b0a;
}
.bn-marquee__track {
  display: flex;
  width: max-content;
  animation: bnMarquee 80s linear infinite;
  will-change: transform;
}
.bn-marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.bn-marquee__item {
  padding: 0 22px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bn-marquee__star {
  font-size: 18px;
}
@keyframes bnMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Product sections ---------- */
.bn-sections {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 20px;
}
.bn-section {
  padding: 50px 0 30px;
}
.bn-section__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--bn-red);
}
.bn-section__heading {
  margin: 8px 0 0;
  padding-bottom: 18px;
  position: relative;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--bn-cream);
}
.bn-section__heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 4px;
  border-radius: 2px;
  background: var(--bn-gold);
}
.bn-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}
/* 1–2 products: keep cards at a third of the width, centred. */
.bn-grid--count-1,
.bn-grid--count-2 {
  grid-template-columns: repeat(var(--bn-count), minmax(0, calc((100% - 48px) / 3)));
  justify-content: center;
}
.bn-grid--count-1 { --bn-count: 1; }
.bn-grid--count-2 { --bn-count: 2; }
/* Front page Black November section: sand background, cards a little softer than on black. */
.bf-cards {
  padding: 0 24px 10px;
}
.bf-cards .bn-grid {
  margin-top: 0;
}
@media screen and (max-width: 600px) {
  /* The section container already has side padding on phones. */
  .bf-cards {
    padding: 0 0 10px;
  }
}
.bf-cards .bn-card {
  box-shadow: 0 0 0 1px rgb(217 164 65 / 45%), 0 16px 34px rgb(53 47 42 / 22%);
}

.bn-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(217 164 65 / 35%), 0 20px 40px rgb(0 0 0 / 45%);
  transition: box-shadow .25s;
}
.bn-card:hover {
  box-shadow: 0 0 0 1px rgb(233 196 106 / 85%), 0 24px 48px rgb(0 0 0 / 55%), 0 0 30px rgb(217 164 65 / 18%);
}
.bn-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: radial-gradient(70% 60% at 50% 10%, #2b2622, #0d0b0a 70%);
}
/* Fill the square frame whatever the photo's proportions
   (WooCommerce sets img { height: auto }, which would let each photo keep its own height). */
.bn-card__media .bn-card__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
}
.bn-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgb(0 0 0 / 40%);
  transform: rotate(-3deg);
}
/* Dark strip (outer) with gold gradient text (inner span, gradient clipped to the letters). */
.bn-card__badge-top {
  padding: 5px 12px 4px;
  background: #0d0b0a;
  line-height: 1.2;
}
.bn-card__badge-top span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: var(--bn-gold);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: bfGoldShimmer 6s ease-in-out infinite;
}
/* Glint sweeping across the whole badge, like the Black November label (keyframes in style.css). */
.bn-card__badge::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 45%;
  background: linear-gradient(105deg, rgb(255 255 255 / 0), rgb(255 248 220 / 60%), rgb(255 255 255 / 0));
  transform: translateX(-180%) skewX(-16deg);
  animation: bfGlint 4.5s cubic-bezier(.4, 0, .2, 1) infinite;
  pointer-events: none;
}
/* Stagger the glint so the grid doesn't flash in unison. */
.bn-grid .bn-card:nth-child(3n+2) .bn-card__badge::after,
.bn-grid .bn-card:nth-child(3n+2) .bn-card__badge-top span { animation-delay: -1.5s; }
.bn-grid .bn-card:nth-child(3n+3) .bn-card__badge::after,
.bn-grid .bn-card:nth-child(3n+3) .bn-card__badge-top span { animation-delay: -3s; }
.bn-card__badge-save {
  padding: 4px 12px 7px;
  background: var(--bn-gold);
  color: #0d0b0a;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}
.bn-card__badge-save small {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.bn-ticker {
  overflow: hidden;
  padding: 8px 0;
  background: #0d0b0a;
  color: var(--bn-cream);
}
.bn-ticker__track {
  display: flex;
  width: max-content;
  animation: bnMarquee 55s linear infinite;
  will-change: transform;
}
.bn-ticker__group {
  display: flex;
  flex: none;
}
.bn-ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.bn-ticker__item b {
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bn-gold);
  color: #0d0b0a;
  font-size: 11px;
}
.bn-ticker__item::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 16px;
  border-radius: 50%;
  background: var(--bn-red);
}

.bn-card__body {
  padding: 18px 20px 22px;
}
.bn-card__title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}
.bn-card__title a {
  color: #1c1917;
  text-decoration: none;
}
.bn-card__title a:hover {
  color: #000;
  text-decoration: underline;
}
.bn-card__info {
  margin-top: 8px;
}
/* WooCommerce price HTML: <del>old</del> <span.screen-reader-text> <ins>new</ins> — show the new price first. */
.bn-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 12px 0 0;
}
.bn-card__price ins {
  order: -1;
  text-decoration: none;
}
.bn-card__price ins .amount,
.bn-card__price > .amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--bn-red);
}
.bn-card__price del,
.bn-card__price del .amount {
  font-size: 15px;
  font-weight: 400;
  color: #6f665d;
}
.bn-card__now,
.bn-card__now .amount {
  font-size: 22px;
  font-weight: 800;
  color: var(--bn-red);
}
.bn-card__was,
.bn-card__was .amount {
  font-size: 15px;
  color: #8a8178;
}

/* ---------- Closing CTA ---------- */
.bn-bottom {
  max-width: 760px;
  margin: 0 auto;
  padding: 60px 24px 100px;
  text-align: center;
}
.bn-bottom__heading {
  margin: 0;
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  color: var(--bn-cream);
}
.bn-bottom__text {
  margin: 14px auto 28px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--bn-muted);
}

/* ---------- Responsive ---------- */
@media screen and (max-width: 959px) {
  .bn-grid,
  .bn-grid--count-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .bn-grid--count-1 {
    grid-template-columns: minmax(0, 420px);
  }
}
@media screen and (max-width: 600px) {
  .bn-hero {
    padding: 60px 16px 56px;
  }
  .bn-hero__title-outline {
    -webkit-text-stroke-width: 1.5px;
  }
  .bn-hero__text {
    font-size: 15px;
  }
  .bn-btn {
    width: 100%;
  }
  .bn-countdown .bn-ticket__inner {
    padding: 18px 18px 16px;
  }
  .bn-countdown__unit {
    min-width: 46px;
  }
  .bn-countdown__unit b {
    font-size: 32px;
  }
  .bn-countdown__sep {
    font-size: 26px;
  }
  .bn-news {
    padding: 28px 20px;
  }
  .bn-marquee__item {
    font-size: 14px;
  }
  .bn-sections {
    padding: 20px 16px 10px;
  }
  .bn-grid,
  .bn-grid--count-1,
  .bn-grid--count-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bn-marquee__track,
  .bn-ticker__track,
  .bn-card__badge-top span,
  .bn-countdown__sep,
  .bn-countdown__bar span::after {
    animation: none;
  }
  .bn-card__badge::after {
    display: none;
  }
}
