/* NF Audios — Black Friday layer (20 Nov 2026): the top bar, the home section, the "−25%" card badges.
   Loaded only while a price-system sale is live (nf_bf_head in includes/nf2/bf.php). Light site, brand ink + the logo's teal→lime. */
:root { --nf-bf-ink: #16241C; --nf-bf-ink2: #0f1a14; --nf-bf-teal: #2bb3a3; --nf-bf-lime: #a6d84a; --nf-bf-green: #2F6B4F; }

/* ── the bar ── */
.nf-bf { position: relative; z-index: 61; background: linear-gradient(90deg, var(--nf-bf-ink2), var(--nf-bf-ink) 55%, #1d3a2b); color: #fff; font-size: 14px; line-height: 1.35; }
.nf-bf-in { position: relative; display: flex; align-items: center; justify-content: center; max-width: 1180px; margin: 0 auto; padding: 0 44px 0 16px; min-height: 44px; }
.nf-bf-link { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 8px 0; color: #fff !important; text-decoration: none !important; }
.nf-bf-tag { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 99px; background: linear-gradient(90deg, var(--nf-bf-teal), var(--nf-bf-lime)); color: var(--nf-bf-ink2); font-weight: 700; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.nf-bf-txt { white-space: nowrap; }
.nf-bf-txt b { font-weight: 700; color: #d9f2a6; }
.nf-bf-sep { margin: 0 7px; opacity: .55; }
.nf-bf-end { opacity: .9; }
.nf-bf-clock { display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 8px; background: rgba(255,255,255,.1); font-variant-numeric: tabular-nums; font-weight: 600; font-size: 13px; white-space: nowrap; }
.nf-bf-clock::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--nf-bf-lime); box-shadow: 0 0 0 3px rgba(166,216,74,.22); }
.nf-bf-go { font-weight: 650; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.nf-bf-link:hover .nf-bf-go { color: #d9f2a6; }
.nf-bf-x { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; min-height: 0 !important; padding: 0; border: 0; border-radius: 50%; background: transparent; color: #fff; font-size: 22px; line-height: 1; cursor: pointer; opacity: .75; }
.nf-bf-x:hover { opacity: 1; background: rgba(255,255,255,.12); }
.nf-bf-x:focus-visible, .nf-bf-link:focus-visible { outline: 2px solid var(--nf-bf-lime); outline-offset: 2px; }
@media (max-width: 640px) {
  .nf-bf { font-size: 13px; }
  .nf-bf-in { padding: 0 38px 0 12px; }
  .nf-bf-link { gap: 5px 8px; padding: 7px 0; }
  .nf-bf-what { display: none; }
  .nf-bf-sep { margin: 0 4px; }
  .nf-bf-clock { font-size: 12px; padding: 2px 7px; }
}
@media (max-width: 360px) { .nf-bf-end, .nf-bf-sep { display: none; } }
@media print { .nf-bf { display: none; } }

/* ── "−25%" on cards ── */
.nf-bf-off { position: absolute; right: 12px; top: 12px; z-index: 3; padding: 6px 9px; border-radius: 99px; background: var(--nf-bf-ink); color: #d9f2a6; font: 700 12px/1 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif; letter-spacing: .02em; font-variant-numeric: tabular-nums; box-shadow: 0 6px 16px -8px rgba(22,36,28,.7); pointer-events: none; }
.nf-bf-off.is-b { left: 16px; right: auto; top: 16px; font-size: 13px; padding: 7px 11px; }
/* product cards: bottom-left of the picture (the quick-add cart sits top-right), out of the way while the hover peek shows */
.pcard .pic .nf-bf-off { left: 10px; right: auto; top: auto; bottom: 10px; transition: opacity .2s; }
.pcard:hover .pic .nf-bf-off, .pcard:focus-visible .pic .nf-bf-off { opacity: 0; }

/* ── the home section ── */
.nfs .nf-bf-home { padding: clamp(46px, 6vw, 84px) 0; background: radial-gradient(ellipse at 15% 0%, rgba(43,179,163,.10), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(166,216,74,.12), transparent 55%), var(--bg2, #f4f7f4); border-top: 1px solid var(--line, #e2e8e3); border-bottom: 1px solid var(--line, #e2e8e3); }
.nfs .nf-bf-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 28px; }
.nfs .nf-bf-head h2 { margin-top: 14px; }
.nfs .nf-bf-head .lead { margin-top: 12px; }
.nfs .nf-bf-ends { display: grid; gap: 4px; padding: 14px 18px; border-radius: 16px; background: var(--ink, #16241C); color: #fff; min-width: 210px; }
.nfs .nf-bf-ends span:first-child { font: 600 11px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #a8c7b5; }
.nfs .nf-bf-ends .sw-count { font: 600 26px/1.1 var(--sans); font-variant-numeric: tabular-nums; color: #d9f2a6; }
.nfs .nf-bf-bundles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 34px; }
.nfs .nf-bf-b { display: flex; flex-direction: column; border-radius: 20px; background: #fff; border: 1px solid var(--line); overflow: hidden; box-shadow: 0 20px 50px -34px rgba(22,36,28,.45); }
.nfs .nf-bf-b-pic { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--bg3, #eaf0eb); overflow: hidden; }
.nfs .nf-bf-b-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s cubic-bezier(.2,.7,.3,1); }
.nfs .nf-bf-b:hover .nf-bf-b-pic img { transform: scale(1.04); }
.nfs .nf-bf-b-pic .nf-bf-off { font-size: 14px; padding: 8px 12px; }
.nfs .nf-bf-b-t { display: grid; gap: 6px; padding: 18px 22px 22px; flex: 1; align-content: start; }
.nfs .nf-bf-b-n { font: 600 11px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.nfs .nf-bf-b h3 { font-size: 24px; }
.nfs .nf-bf-b-pr { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.nfs .nf-bf-b-pr s { color: var(--mute); font-size: 17px; }
.nfs .nf-bf-b-pr b { font: 600 34px/1 var(--serif); color: var(--ink); }
.nfs .nf-bf-b-save { font-size: 14.5px; font-weight: 600; color: var(--green); }
.nfs .nf-bf-b .btn { margin-top: 10px; justify-self: start; height: 46px; }
.nfs .nf-bf-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 46px 0 18px; }
.nfs .nf-bf-row h3 { font-size: clamp(22px, 2.2vw, 28px); }
.nfs .nf-bf-row a { font-weight: 600; font-size: 15px; color: var(--green); text-decoration: none; white-space: nowrap; }
.nfs .nf-bf-row a:hover { text-decoration: underline; }
@media (max-width: 900px) { .nfs .nf-bf-bundles { grid-template-columns: 1fr; } .nfs .nf-bf-b { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } .nfs .nf-bf-b-pic { aspect-ratio: auto; height: 100%; min-height: 180px; } }
@media (max-width: 640px) {
  .nfs .nf-bf-b { display: flex; }
  .nfs .nf-bf-b-pic { aspect-ratio: 16 / 9; height: auto; min-height: 0; }
  .nfs .nf-bf-ends { width: 100%; grid-template-columns: auto 1fr; align-items: baseline; gap: 10px; }
  .nfs .nf-bf-ends .sw-count { font-size: 22px; text-align: right; }
  .nfs .nf-bf-row { margin-top: 34px; }
}
