/* =========================================================
   Black Friday Page Stylesheet
   Uses the site's fonts (Roboto from newheader.cfm) and button
   look so the page sits in with the rest of vanceoutdoors.com
   ========================================================= */

.bf-page,
.bf-page * { box-sizing: border-box; }

/* Wrapper div between newheader.cfm and newfooter.cfm */
.bf-page {
  --bf-red: #bb0e18;
  --bf-red-hover: #960b13;
  --bf-dark: #333333;
  --bf-text: #011425;
  --bf-border: #dddddd;

  background: #ffffff;
  color: var(--bf-text);
}

.bf-page img { max-width: 100%; height: auto; display: block; }

.bf-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ---------- Buttons (matches the site's red buttons) ---------- */
.bf-btn {
  display: inline-block;
  background: var(--bf-red);
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 200px;
  border-radius: 3px;
}
.bf-btn:hover,
.bf-btn:focus {
  background: var(--bf-red-hover);
  color: #ffffff;
  text-decoration: none;
}
.bf-btn--block {
  display: block;
  font-size: 16px;
  padding: 10px;
  text-align: center;
}

/* ---------- Hero ---------- */
.bf-hero {
  background: #000000;
  color: #ffffff;
  padding: 0 0 40px;
  text-align: center;
}

/* Designer's finished hero art (2000x729): badge on the snow */
.bf-page .bf-hero__img {
  width: 100%;
  max-width: 2000px;
  margin: 0 auto 25px;
}

/* ---------- Section bars (like the site's dark headings) ---------- */
.bf-bar {
  background: var(--bf-dark);
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 15px;
  margin: 0 0 25px;
}

/* ---------- Deals / Items ---------- */
.bf-deals { padding: 0 0 40px; }

.bf-drop { margin-bottom: 40px; }
.bf-drop:last-child { margin-bottom: 0; }

.bf-drop__title {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  border-bottom: 2px solid var(--bf-red);
  padding-bottom: 6px;
  margin: 0 0 20px;
}
.bf-drop__date {
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
  color: #666666;
  margin-left: 8px;
}

.bf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.bf-card {
  border: 1px solid var(--bf-border);
  display: flex;
  flex-direction: column;
  background: #ffffff;
}
.bf-card__img {
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}
.bf-card__img img { max-height: 100%; object-fit: contain; }
.bf-card__body {
  padding: 0 15px 15px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.bf-card__name {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 8px;
}
.bf-card__prices {
  margin: 0 0 12px;
  flex: 1;
}
.bf-card__was {
  color: #777777;
  text-decoration: line-through;
  margin-right: 6px;
}
.bf-card__now {
  color: var(--bf-red);
  font-weight: 700;
  font-size: 20px;
}

.bf-empty {
  text-align: center;
  border: 1px solid var(--bf-border);
  background: #f5f5f5;
  padding: 40px 15px;
  font-size: 18px;
}

/* ---------- Countdown ---------- */
.bf-countdown {
  background: #000000;
  color: #ffffff;
  padding: 35px 0;
  text-align: center;
}
/* "Pile of snow" countdown row (designer's color) */
.bf-countdown--snow {
  background: #eae8ed;
  color: var(--bf-text);
}
.bf-countdown__title {
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 4px;
}
.bf-countdown__date {
  font-size: 18px;
  margin: 0 0 20px;
}
.bf-timer {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.bf-timer__unit {
  background: var(--bf-red);
  border-radius: 3px;
  min-width: 90px;
  padding: 12px 8px 8px;
}
.bf-timer__num {
  display: block;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}
.bf-timer__label {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ---------- Bottom Shop Now ---------- */
.bf-cta {
  padding: 35px 0 45px;
  text-align: center;
}
.bf-cta__text {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 15px;
}

/* =========================================================
   V2 - designer's layout (indextest.cfm only, via .bf-v2)
   Snow from the hero image fades into a #eae8ed "pile of snow"
   panel holding the dates, fine print and Shop Now.
   ========================================================= */
.bf-v2 {
  --bf-snow: #eae8ed;
  --bf-bf-red: #dc1826;
  --bf-condensed: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
}

.bf-v2 .bf-hero { padding: 0; position: relative; }
.bf-v2 .bf-hero__img { margin: 0 auto; }
/* fade the bottom of the hero's snow into the snow panel */
.bf-v2 .bf-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 12%;
  background: linear-gradient(to bottom, rgba(234, 232, 237, 0), var(--bf-snow));
  pointer-events: none;
}

.bf-snow {
  background: var(--bf-snow);
  color: #000000;
  font-family: var(--bf-condensed);
  padding: 10px 0 30px;
}
.bf-snow__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
}
.bf-snow p { margin: 0; }
.bf-snow__valid { line-height: 1; }
.bf-snow__label {
  display: block;
  font-size: 30px;
  font-weight: 700;
  text-transform: uppercase;
}
.bf-snow__date {
  display: block;
  color: var(--bf-bf-red);
  font-size: 48px;
  font-weight: 700;
  margin-top: 4px;
}
.bf-snow .bf-snow__fine {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 10px;
}
.bf-snow .bf-snow__weekly {
  font-size: 28px;
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 8px;
}

/* Designer's Shop Now: red gradient, slight shadow */
.bf-v2 .bf-btn--snow {
  background: linear-gradient(to bottom, #e3232b 0%, #c12028 55%, #d42027 100%);
  font-family: var(--bf-condensed);
  font-size: 34px;
  font-weight: 700;
  padding: 12px 64px;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
}
.bf-v2 .bf-btn--snow:hover,
.bf-v2 .bf-btn--snow:focus {
  background: #a5161d;
}

/* Wide screens: text left, button right (like the 800x400 ad) */
@media (min-width: 992px) {
  .bf-snow { padding: 10px 0 34px; }
  .bf-snow__inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
    gap: 30px;
  }
  .bf-snow__label,
  .bf-snow__date { display: inline; }
  .bf-snow__label { font-size: 36px; margin-right: 10px; }
  .bf-snow__date { font-size: 56px; }
}

/* Countdown sits between the hero and the snow panel: same snow
   background, tighter spacing so they read as one area */
.bf-v2 .bf-countdown--top { padding: 15px 0 20px; }

/* Countdown and bottom Shop Now in the same type */
.bf-v2 .bf-countdown__title,
.bf-v2 .bf-cta__text {
  font-family: var(--bf-condensed);
  font-size: 34px;
}
.bf-v2 .bf-countdown__date {
  font-family: var(--bf-condensed);
  font-size: 22px;
}
.bf-v2 .bf-timer__unit {
  background: linear-gradient(to bottom, #e3232b 0%, #c12028 55%, #d42027 100%);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .35);
  color: #ffffff;
}
.bf-v2 .bf-timer__num { font-family: var(--bf-condensed); font-size: 48px; }
.bf-v2 .bf-cta__text { font-style: italic; }

@media (max-width: 600px) {
  .bf-snow__label { font-size: 22px; }
  .bf-snow__date { font-size: 34px; }
  .bf-snow .bf-snow__fine { font-size: 12px; letter-spacing: .5px; }
  .bf-snow__fine span { display: block; }
  .bf-snow__fine .bf-snow__sep { display: none; }
  .bf-snow .bf-snow__weekly { font-size: 21px; }
  .bf-v2 .bf-btn--snow { font-size: 26px; padding: 10px 44px; }
  .bf-v2 .bf-countdown__title,
  .bf-v2 .bf-cta__text { font-size: 24px; }
  .bf-v2 .bf-timer__num { font-size: 32px; }
}

/* ---------- Test banner (indextest.cfm only) ---------- */
.bf-test-banner {
  background: #ffcc00;
  color: #000000;
  font-size: 14px;
  padding: 8px 15px;
  text-align: center;
}
.bf-test-banner a { color: #000000; font-weight: 700; margin: 0 6px; }

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  .bf-cta__text { font-size: 18px; }
  .bf-btn:not(.bf-btn--block) { font-size: 22px; padding: 14px 44px; }
  .bf-bar, .bf-countdown__title { font-size: 22px; }
  .bf-timer { gap: 6px; }
  .bf-timer__unit { min-width: 68px; padding: 10px 4px 6px; }
  .bf-timer__num { font-size: 30px; }
  .bf-timer__label { font-size: 11px; }
}
