/* thegundock-black-friday.css: /black-friday landing page (thegundock-black-friday.php). Spec:
   tgd-cs/tgd-blackfriday-20261121/spec.md. Master only (basename matches trinity_release's /thegundock/i). One deliberate
   night look in both OS themes; every colour is set here. */
.bf {
  --red: #dc2626; --red-dark: #991b1b; --dock: #05070a; --night: #08111f; --fog: #14243a;
  --card: #0b1220; --card-2: #111827; --steel: #26384f; --bone: #e7decf; --snow: #f8fafc;
  --muted: #a9b6c8; --ghost: #38bdf8; --amber: #f59e0b;
  --cond: "Roboto Condensed", "Roboto", Arial, Helvetica, sans-serif;
  background: var(--dock); color: var(--bone);
  font-family: "Roboto", Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.55;
  overflow-x: clip;
}
.bf *, .bf *::before, .bf *::after { box-sizing: border-box; }
.bf h1, .bf h2, .bf h3, .bf h4 { font-family: var(--cond); color: var(--snow); margin: 0; text-wrap: balance; }
.bf p { margin: 0; }
.bf a { color: inherit; }
.bf ul { list-style: none; margin: 0; padding: 0; }
.bf-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.bf .bf-btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  font-family: var(--cond); font-weight: 900; font-size: 19px; letter-spacing: .04em; text-transform: uppercase;
  background: var(--red); color: #fff; border: 2px solid var(--red); border-radius: 6px; text-decoration: none;
  box-shadow: 0 10px 30px rgba(220, 38, 38, .35); transition: background .15s, border-color .15s, transform .15s;
}
.bf .bf-btn:hover { background: var(--red-dark); border-color: var(--red-dark); color: #fff; }
.bf .bf-btn:focus-visible, .bf a:focus-visible { outline: 3px solid var(--ghost); outline-offset: 3px; }
.bf .bf-btn--ghost { background: rgba(5, 7, 10, .55); border-color: rgba(248, 250, 252, .7); box-shadow: none; }
.bf .bf-btn--ghost:hover { background: rgba(248, 250, 252, .12); border-color: var(--snow); }
.bf .bf-btn--block { display: flex; width: 100%; }

/* Hero: desktop keeps the art's own proportions so Santa, lantern and chest are never cropped */
.bf-hero { position: relative; background: var(--night); isolation: isolate; }
.bf-hero__art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; max-width: none; }
.bf-hero__art { position: absolute; inset: 0; z-index: -2; }
.bf-hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 7, 10, .88) 0%, rgba(5, 7, 10, .62) 34%, rgba(5, 7, 10, .12) 56%, rgba(5, 7, 10, 0) 70%),
    radial-gradient(60% 50% at 18% 78%, rgba(153, 27, 27, .32), rgba(153, 27, 27, 0) 70%),
    linear-gradient(0deg, rgba(5, 7, 10, .9) 0%, rgba(5, 7, 10, 0) 22%);
}
.bf-snow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.bf-lantern {
  position: absolute; left: 86.3%; top: 48%; width: 9%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; pointer-events: none; z-index: -1; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255, 170, 70, .5) 0%, rgba(255, 140, 40, .18) 40%, rgba(255, 140, 40, 0) 70%);
  animation: bf-flicker 4s ease-in-out infinite;
}
@keyframes bf-flicker { 0%, 100% { opacity: .55; } 30% { opacity: .9; } 55% { opacity: .65; } 75% { opacity: 1; } }
.bf-hero__wrap {
  max-width: 1240px; margin: 0 auto; min-height: 560px; aspect-ratio: 2000 / 848;
  display: flex; align-items: center;
  padding: 48px max(24px, env(safe-area-inset-right, 0px)) 56px max(24px, env(safe-area-inset-left, 0px));
}
.bf-hero__copy { max-width: 580px; }
.bf-eyebrow {
  display: inline-block; font-family: var(--cond); font-weight: 700; font-size: 15px; letter-spacing: .14em; text-transform: uppercase;
  color: #fff; background: var(--red); padding: 6px 12px; border-radius: 3px; margin-bottom: 18px;
}
.bf-hero h1 {
  font-weight: 900; font-size: clamp(46px, 5.6vw, 82px); line-height: .9; letter-spacing: -.005em; text-transform: uppercase;
  text-shadow: 0 4px 30px rgba(0, 0, 0, .7), 0 0 2px rgba(0, 0, 0, .9);
}
.bf-sub { margin-top: 18px; font-size: 19px; color: var(--bone); max-width: 520px; text-shadow: 0 2px 12px rgba(0, 0, 0, .8); }
.bf-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bf-count { display: flex; gap: 10px; margin-top: 26px; }
.bf-count span {
  min-width: 74px; padding: 10px 8px 8px; text-align: center; border-radius: 6px;
  background: rgba(5, 7, 10, .72); border: 1px solid rgba(248, 250, 252, .18);
}
.bf-count b { display: block; font-family: var(--cond); font-weight: 900; font-size: 32px; line-height: 1; color: var(--snow); font-variant-numeric: tabular-nums; }
.bf-count i { display: block; margin-top: 4px; font-style: normal; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* Band */
.bf-band { background: linear-gradient(100deg, var(--red-dark) 0%, #5b1010 38%, var(--card) 100%); border-block: 1px solid rgba(255, 255, 255, .12); }
.bf-band__wrap {
  max-width: 1240px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 28px max(24px, env(safe-area-inset-right, 0px)) 28px max(24px, env(safe-area-inset-left, 0px));
}
.bf-band h2 { font-size: clamp(32px, 4vw, 46px); font-weight: 900; text-transform: uppercase; line-height: 1; }
.bf-band p { margin-top: 6px; color: #f3e9e9; font-size: 17px; }
.bf-band .bf-band__date {
  margin: 0; flex: 0 0 auto; text-align: right; font-family: var(--cond); font-weight: 700; font-size: 20px; color: var(--snow);
  border-left: 3px solid rgba(255, 255, 255, .35); padding-left: 20px; line-height: 1.2;
}
.bf-band__date span { display: block; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #f3d5d5; }

/* Deals */
.bf-deals { max-width: 1240px; margin: 0 auto; padding: 56px max(24px, env(safe-area-inset-right, 0px)) 56px max(24px, env(safe-area-inset-left, 0px)); }
.bf-deals__head { margin-bottom: 28px; max-width: 760px; }
.bf-deals__head h2 { font-size: clamp(28px, 3.2vw, 38px); font-weight: 900; text-transform: uppercase; }
.bf-deals__head p { margin-top: 8px; color: var(--muted); font-size: 17px; }
.bf-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bf-grid--4, .bf-grid--7, .bf-grid--8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bf-grid--1 { grid-template-columns: minmax(0, 420px); }
.bf-grid--2 { grid-template-columns: repeat(2, minmax(0, 420px)); }
.bf-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: linear-gradient(180deg, var(--card), var(--card-2)); border: 1px solid var(--steel); border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .4); transition: border-color .15s, transform .15s; border-radius: 18px;
}
.bf-card::before { content: ""; display: block; height: 4px; background: var(--red); }
.bf-card:hover { border-color: rgba(220, 38, 38, .7); }
.bf-card__img {
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; padding: 18px;
  background: radial-gradient(circle at 50% 46%, #f4f8fc 0%, #dbe7f4 38%, #8ea2ba 72%, #34465e 100%);
}
.bf-card__img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .35)); }
.bf-card__body { display: flex; flex-direction: column; gap: 14px; padding: 18px 20px 20px; flex: 1; }
.bf-badges { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-badge {
  font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--snow); background: rgba(220, 38, 38, .16); border: 1px solid rgba(220, 38, 38, .6); border-radius: 999px; padding: 4px 10px;
}
.bf-badge--hot { background: var(--red); border-color: var(--red); }
.bf-card h4 { font-size: 22px; font-weight: 900; line-height: 1.12; }
.bf-card h4 a { text-decoration: none; }
.bf-card h4 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.bf-specs { display: flex; flex-wrap: wrap; gap: 6px; }
.bf-specs li { font-size: 13px; color: var(--bone); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 4px; padding: 3px 8px; }
.bf-price { margin-top: auto; padding-top: 14px; border-top: 1px dashed rgba(255, 255, 255, .16); display: flex; flex-direction: column; gap: 2px; }
.bf-price__label { font-family: var(--cond); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bf-price__value { font-family: var(--cond); font-weight: 900; font-size: 34px; line-height: 1.05; color: var(--snow); font-variant-numeric: tabular-nums; }
.bf-price__value s { font-size: 18px; font-weight: 700; color: var(--muted); margin-left: 6px; }
.bf-price--cart .bf-price__value { color: var(--ghost); font-size: 28px; }
.bf-price__note { font-size: 13px; color: var(--muted); }

/* NFA note + fine print */
.bf-nfa {
  max-width: 1192px; margin: 0 auto 40px; display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 24px 40px;
  background: var(--card); border: 1px solid var(--steel); border-left: 5px solid var(--red); border-radius: 10px; padding: 28px 32px;
  scroll-margin-top: 90px;
}
.bf-deals { scroll-margin-top: 70px; }
.bf-nfa h2 { font-size: 26px; font-weight: 900; text-transform: uppercase; line-height: 1.05; }
.bf-nfa p { color: var(--bone); font-size: 17px; }
.bf .bf-link { display: inline-block; margin-top: 12px; color: var(--ghost); font-weight: 700; text-underline-offset: 3px; }
.bf-fine { max-width: 1240px; margin: 0 auto; padding: 0 max(24px, env(safe-area-inset-right, 0px)) 72px max(24px, env(safe-area-inset-left, 0px)); }
.bf-fine h2 { font-size: 15px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.bf-fine p { margin-top: 6px; font-size: 13px; color: var(--muted); max-width: 900px; }

/* Tablet and narrow desktop: fixed-height hero, art anchored on Santa */
@media (max-width: 1199px) {
  .bf-hero__wrap { aspect-ratio: auto; min-height: 600px; }
  .bf-lantern { display: none; }
  .bf-grid--4, .bf-grid--7, .bf-grid--8 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1023px) {
  .bf-grid, .bf-grid--4, .bf-grid--7, .bf-grid--8, .bf-grid--3, .bf-grid--5, .bf-grid--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bf-hero__copy { max-width: 460px; }
  .bf-band__wrap { flex-direction: column; align-items: flex-start; }
  .bf-band .bf-band__date { text-align: left; border-left: 0; padding-left: 0; }
  .bf-nfa { grid-template-columns: minmax(0, 1fr); margin-inline: 24px; }
}

/* Phone: the art stands on its own (Santa uncovered), the copy panel rises over the dark dock at its foot */
@media (max-width: 767px) {
  .bf-hero__art { position: relative; inset: auto; z-index: 0; display: block; aspect-ratio: 820 / 868; }
  .bf-hero__art img { object-position: 85% center; }
  .bf-hero::after { background: linear-gradient(0deg, var(--dock) 0%, rgba(5, 7, 10, 0) 40%); bottom: auto; height: calc(100vw * 868 / 820); }
  .bf-snow { height: calc(100vw * 868 / 820); }
  .bf-hero__wrap { min-height: 0; display: block; padding: 0 16px 28px; margin-top: -120px; position: relative; z-index: 1; }
  .bf-hero__copy {
    max-width: none; padding: 22px 20px 20px; border-radius: 16px;
    background: rgba(5, 7, 10, .88); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 -10px 40px rgba(0, 0, 0, .5);
  }
  .bf-eyebrow { font-size: 13px; }
  .bf-hero h1 { font-size: 44px; line-height: .94; }
  .bf-sub { font-size: 16px; }
  .bf-ctas { flex-direction: column; }
  .bf .bf-btn { width: 100%; }
  .bf-count { justify-content: space-between; gap: 6px; }
  .bf-count span { min-width: 0; flex: 1; }
  .bf-count b { font-size: 26px; }
  .bf-band__wrap, .bf-deals, .bf-fine { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
  .bf-grid, .bf-grid--1, .bf-grid--2, .bf-grid--3, .bf-grid--4, .bf-grid--5, .bf-grid--6, .bf-grid--7, .bf-grid--8 { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bf-deals { padding-top: 40px; }
  .bf-nfa { margin-inline: 16px; padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .bf-lantern { animation: none; }
  .bf .bf-btn, .bf-card { transition: none; }
}

/* professional-fixes.min.css forces `section { background: #fff !important }` and `h1..h6 { color: #222 !important }`
   site-wide; this page's sections and headings win back with their own !important (scoped to .bf only). */
.bf > section { background-color: transparent !important; }
.bf > section.bf-band { background-image: linear-gradient(100deg, var(--red-dark) 0%, #5b1010 38%, var(--card) 100%) !important; }
.bf > section.bf-nfa { background-color: var(--card) !important; }
.bf h1, .bf h2, .bf h3, .bf h3 a, .bf h4, .bf h4 a { color: var(--snow) !important; }
.bf .bf-fine h2 { color: var(--muted) !important; }
.bf { background-color: var(--dock) !important; }
/* The theme sets img height:auto, so the art kept its own ratio and spilled over the band. The hero box itself now
   follows the art's proportions on wide screens (lantern glow stays on the lantern) and clips anything past it. */
.bf-hero { overflow: hidden; aspect-ratio: 2000 / 848; min-height: 560px; }
.bf-hero__art img { height: 100% !important; }
.bf-hero__wrap { aspect-ratio: auto; height: 100%; }
@media (max-width: 1199px) { .bf-hero { aspect-ratio: auto; } }
@media (max-width: 767px) {
  .bf-hero { min-height: 0; }
  .bf-hero__wrap { height: auto; margin-top: -56px; }
}
/* professional-fixes.min.css: img:not(.icon):not(.logo-img):not([src*=credit-cards]) { height:auto !important } (0,3,1) */
html body .bf .bf-hero .bf-hero__art img { height: 100% !important; }
/* The theme pads every section (32px 12px on phones); this page sets its own. */
.bf > section.bf-hero, .bf > section.bf-band { padding: 0 !important; }
.bf > section.bf-deals { padding: 56px max(24px, env(safe-area-inset-right, 0px)) 56px max(24px, env(safe-area-inset-left, 0px)) !important; }
.bf > section.bf-nfa { padding: 28px 32px !important; }
.bf > section.bf-fine { padding: 0 max(24px, env(safe-area-inset-right, 0px)) 72px max(24px, env(safe-area-inset-left, 0px)) !important; }
@media (max-width: 767px) {
  .bf > section.bf-deals { padding: 40px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)) !important; }
  .bf > section.bf-nfa { padding: 22px 20px !important; }
  .bf > section.bf-fine { padding: 0 max(16px, env(safe-area-inset-right, 0px)) 48px max(16px, env(safe-area-inset-left, 0px)) !important; }
}
/* Gate round 2: blend the catalog photos' white boxes into a slightly warmer spotlight; small hover lift. */
.bf-card__img { background: radial-gradient(circle at 50% 46%, #ffffff 0%, #eef1f4 34%, #b6c1cf 70%, #46566c 100%); overflow: hidden; }
.bf-card__img img { mix-blend-mode: multiply; transition: transform .25s ease; }
.bf-card:hover .bf-card__img img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .bf-card__img img { transition: none; } .bf-card:hover .bf-card__img img { transform: none; } }

/* Hero video (Brad 2026-11-21): sits exactly over the still (same crop), dissolves in over it once it plays.
   !important: professional-fixes.min.css forces media height:auto !important. */
html body .bf .bf-hero video.bf-hero__vid {
  position: absolute !important; inset: 0 !important; z-index: -2 !important; display: block;
  width: 100% !important; height: 100% !important; max-width: none !important; max-height: none !important;
  object-fit: cover !important; object-position: 78% 50% !important; opacity: 0; transition: opacity .8s ease; pointer-events: none;
}
html body .bf .bf-hero video.bf-hero__vid.is-on { opacity: 1; }
.bf-hero.is-vid .bf-lantern { opacity: 0 !important; animation: none; transition: opacity .8s ease; }
@media (max-width: 767px) {
  html body .bf .bf-hero video.bf-hero__vid { inset: 0 auto auto 0 !important; z-index: 0 !important; height: calc(100vw * 868 / 820) !important; object-position: 85% center !important; }
}
@media (prefers-reduced-motion: reduce) { html body .bf .bf-hero video.bf-hero__vid { display: none !important; } }

/* Storm canvas (Brad 2026-11-21 "bad weather and snow blowing"): fades in over the art and the video. Phones: over the art
   block and video (later in the DOM, same z-index), still under the copy card (z-index 1). */
.bf-snow { opacity: 0; transition: opacity .4s ease; }
.bf-snow.is-on { opacity: 1; }
@media (max-width: 767px) { .bf-snow { z-index: 0; } }

/* Deal groups (Brad 2026-11-21: Blue Line .22s at $199, handguns and rifles at cost joined the kits) */
.bf-group { margin: 44px 0 18px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); }
.bf-deals__head + .bf-group { margin-top: 0; padding-top: 0; border-top: 0; }
.bf-group__h { font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; text-transform: uppercase; letter-spacing: .02em; }
.bf-group p { margin-top: 6px; color: var(--muted); font-size: 16px; }
@media (max-width: 767px) { .bf-group { margin-top: 34px; } }
