/* Black Friday deals page: mockup A (R1 cards), chosen by Sean on 5 Nov 2026. Square edges, hairline grids, mono for
   labels and prices. Every rule is scoped to .bfd, so the theme's header, menu and footer are untouched.
   Colours as mockup A / Gear Spec Finder light mode: orange fill #f7a42a only behind dark text; #a35600 for orange text. */
@font-face { font-family: "BFD Inter Tight"; src: url(fonts/inter-tight-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BFD Inter Tight"; src: url(fonts/inter-tight-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "BFD Inter Tight"; src: url(fonts/inter-tight-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "BFD Inter Tight"; src: url(fonts/inter-tight-latin-400-italic.woff2) format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "BFD JetBrains Mono"; src: url(fonts/jetbrains-mono-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "BFD JetBrains Mono"; src: url(fonts/jetbrains-mono-latin-500-normal.woff2) format("woff2"); font-weight: 500; font-display: swap; }

/* ---- Tokens and theme resets ----------------------------------------------------------------------------------- */
.bfd {
  --bg: #e4e3dd; --panel: #fbfbf9; --rule: #1a1a18; --line: #c9c7bf; --text: #141414; --muted: #5c5b56; --soft: #33322f;
  --orange: #f7a42a; --on-orange: #141006; --acc: #a35600; --tile: #eeede8; --ok: #1d8a52; --ok-glow: rgba(29,138,82,.18);
  --sans: "BFD Inter Tight", "Helvetica Neue", Arial, sans-serif; --mono: "BFD JetBrains Mono", Consolas, monospace;
  background: var(--bg); color: var(--text); font-family: var(--sans); font-size: 14px; color-scheme: light;
}
.bfd h1, .bfd h2, .bfd h3, .bfd p, .bfd ul, .bfd li { font-family: inherit; color: inherit; letter-spacing: inherit; text-transform: none; margin: 0; }
.bfd label, .bfd button, .bfd select, .bfd input { font-family: inherit; letter-spacing: inherit; text-transform: none; border-radius: 0; box-shadow: none; text-shadow: none; }
.bfd a { box-shadow: none; }
.bfd * { box-sizing: border-box; }
.bfd [hidden] { display: none !important; }
.bfd :focus-visible { outline: 2px solid var(--orange); outline-offset: 2px; }
/* The site's Additional CSS pins the menu row at 1000px+; on this page it scrolls away (as on Gear Spec Finder). */
body.bfd-page [data-row="bottom:boxed"] .ct-container { position: static; }

/* ---- Layout: the theme's own container width, so edges line up with the header ------------------------------- */
.bfd .bfd-wrap { width: min(var(--theme-container-edge-spacing, 90vw), var(--theme-normal-container-max-width, 1290px));
  margin: 0 auto; padding-block: 20px 60px; display: grid; gap: 12px; }
.bfd .panel { background: var(--panel); border: 1px solid var(--rule); padding: 28px; display: grid; gap: 18px; min-width: 0; }
.bfd .mono { font-family: var(--mono); font-size: 11px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); }
.bfd .acc { color: var(--acc); }
.bfd .led { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; margin-right: 10px; vertical-align: 0; }
.bfd .led.ok { background: var(--ok); box-shadow: 0 0 0 4px var(--ok-glow); }
.bfd .sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.bfd h2 { font-weight: 600; text-transform: uppercase; letter-spacing: -.04em; line-height: .9; font-size: clamp(32px, 5vw, 48px); }

/* ---- Hero: title, disclosure, the page's own intro, stat tiles ------------------------------------------------ */
.bfd .hero { padding-block: 32px; }
/* Like Gear Spec Finder's top (Sean, 7 Nov): big two-line heading, numbers stacked on the right, one line under a rule. */
.bfd .hero { gap: 26px; }
.bfd .hero-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 40px; align-items: start; }
.bfd .hero h1 { font-weight: 600; text-transform: uppercase; letter-spacing: -.05em; line-height: .84; font-size: clamp(52px, 11vw, 168px); }
.bfd .nums { display: grid; gap: 20px; justify-items: end; text-align: right; padding-top: 6px; }
.bfd .num b { display: block; font: 400 48px/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.bfd .num .mono { display: block; margin-top: 6px; }
.bfd .num .mono .led { margin-right: 8px; vertical-align: 1px; }
.bfd .num.hot b { color: var(--acc); }
.bfd .lede { border-top: 1px solid var(--rule); padding-top: 24px; }
.bfd .lede p { max-width: 30em; font-size: 28px; line-height: 1.2; letter-spacing: -.015em; color: var(--muted); text-wrap: balance; }
.bfd .lede strong { color: var(--text); font-weight: 500; }
.bfd .lede em { font-style: italic; font-weight: 400; color: var(--muted); }  /* tagline style F (Sean, 8 Nov) */
.bfd .hero-link { color: var(--text); text-decoration: none; white-space: nowrap; font-weight: 500; padding: 0 2px; margin: 0 -2px;
  background-image: linear-gradient(var(--orange), var(--orange)), linear-gradient(rgba(247,164,42,.38), rgba(247,164,42,.38));
  background-repeat: no-repeat; background-size: 100% 1px, 0% 100%; background-position: 0 100%, 0 100%; transition: background-size .35s ease; }
.bfd .hero-link:hover, .bfd .hero-link:focus-visible { background-size: 100% 1px, 100% 100%; outline: none; }
/* How we pick (Sean, 7 Nov): a sentence of listings checked vs made the cut, then one measured number per rule, in the top's number
   style. Hover: the box lifts to white, an orange line draws across its top and its number turns orange. */
.bfd .fn-line { font-size: 28px; line-height: 1.2; letter-spacing: -.015em; color: var(--muted); text-wrap: balance; }
.bfd .fn-line strong { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.bfd .pick-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bfd .pick-list li { position: relative; background: var(--panel); padding: 20px 20px 22px; display: grid; gap: 8px; align-content: start; transition: background-color .25s ease; }
.bfd .pick-list li::before { content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .7, .2, 1); }
.bfd .pick-list li:hover { background: #fff; }
.bfd .pick-list li:hover::before { transform: scaleX(1); }
.bfd .pl-stat { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; }
.bfd .pl-stat b { font: 400 40px/1 var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; transition: color .25s ease; }
.bfd .pick-list li:hover .pl-stat b { color: var(--acc); }
.bfd .pick-list h3 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.2; }
.bfd .pick-list li > p:last-child { font-size: 15px; line-height: 1.5; color: var(--soft); }
@media (prefers-reduced-motion: reduce) { .bfd .pick-list li, .bfd .pick-list li::before, .bfd .pl-stat b { transition: none; } }
@media (max-width: 860px) {
  .bfd .hero-top { grid-template-columns: 1fr; }
  .bfd .nums { grid-auto-flow: column; justify-content: start; justify-items: start; text-align: left; gap: 28px; }
  .bfd .num b { font-size: 28px; }
  .bfd .lede p { font-size: 18px; }
  .bfd .pick-list { grid-template-columns: 1fr; }
  .bfd .pl-stat b { font-size: 32px; }
  .bfd .fn-line { font-size: 20px; }
}
.bfd .disclose { font-size: 13px; color: var(--muted); }
.bfd .intro { max-width: 46em; font-size: 18px; line-height: 1.5; color: var(--soft); display: grid; gap: 12px; }
.bfd .intro h2 { font-size: 22px; letter-spacing: -.01em; line-height: 1.15; color: var(--text); margin-top: 4px; }
.bfd .intro p { margin: 0; }
.bfd .intro img { max-width: 100%; height: auto; }
.bfd .intro a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.bfd .stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.bfd .stats > div { background: var(--panel); padding: 14px 16px; display: grid; gap: 4px; }
.bfd .stats b { font: 400 28px/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.bfd .stats .st-go { background: var(--panel); padding: 14px 16px; display: grid; gap: 4px; color: var(--text); text-decoration: none; }
.bfd .stats .st-go:hover { background: var(--orange); color: var(--on-orange); }

/* ---- Picks (shown only once Sean approves some) --------------------------------------------------------------- */
/* One row that scrolls sideways (Sean, 7 Nov: option B), so "All deals" starts near the top. Name and verdict are cut
   to two lines; the arrows (page script) are for mouse users, phones swipe. */
.bfd .pk-head { display: flex; align-items: center; gap: 12px; }
.bfd .pk-nav { display: flex; gap: 6px; }
.bfd .pk-nav .chip { min-width: 40px; justify-content: center; }
.bfd .pk-nav .chip:disabled { opacity: .35; cursor: default; }
.bfd .pk-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.bfd .pk { flex: 0 0 270px; scroll-snap-align: start; background: var(--panel); padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bfd .pk h3 { font-size: 16px; font-weight: 600; line-height: 1.15; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bfd .pk .pr b { font-size: 20px; }
.bfd .pk .go { min-height: 38px; margin-top: auto; }
.bfd .vd { font-size: 13px; line-height: 1.45; color: var(--soft); border-top: 1px solid var(--line); padding-top: 6px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 640px) { .bfd .pk { flex-basis: 78%; } .bfd .pk-nav { display: none; } }

/* Producer Hive picks as the page's dark block (Sean, 7 Nov: contrast; like Gear Spec Finder's "Start here"). */
.bfd .picks { background: #141414; color: #ecebe6; border-color: #141414; }
.bfd .picks h2 { color: #fff; }
.bfd .picks .mono { color: #a9a8a2; }
.bfd .picks .acc { color: var(--orange); }
.bfd .picks .pk-grid { background: #3a3a36; border-color: #3a3a36; }
.bfd .picks .pk { background: #1d1d1b; }
.bfd .picks .pk h3 { color: #fff; }
.bfd .picks .br { color: #a9a8a2; }
.bfd .picks .pr b { color: var(--orange); }
.bfd .picks .pk .pr s { color: #8a8984; }
.bfd .picks .off { border-color: #ecebe6; color: #ecebe6; }
.bfd .picks .vd { color: #cfcdc6; border-color: #3a3a36; }
.bfd .picks .go { background: transparent; color: #ecebe6; border-color: #ecebe6; }
.bfd .picks .go:hover { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
.bfd .picks .chip { background: #1d1d1b; color: #ecebe6; border-color: #55544f; }
.bfd .picks .chip:hover { border-color: #ecebe6; background: #1d1d1b; color: #fff; }
.bfd .picks :focus-visible { outline-color: var(--orange); }
/* Picks scrollbar hidden (Sean, 7 Nov, BS-12 "A. no bar"): the arrows above are the control on desktop, swiping on
   phones; the row still scrolls. */
.bfd .picks .pk-grid { scrollbar-width: none; padding-bottom: 10px; background: #141414; }
.bfd .picks .pk-grid::-webkit-scrollbar { display: none; }

/* ---- Controls --------------------------------------------------------------------------------------------------- */
/* Filter area (Sean's brief, 8 Nov): the search bar is the one heavy element; category is a row of plain text tabs; Price,
   Ending, Sort and the grid/list view sit in one slim toolbar; applied filters show as pills. Monospace caps only for the
   deal count. Phones: tabs scroll sideways and the toolbar's controls open in a bottom sheet. */
.bfd .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bfd .find { position: relative; display: block; margin: 0; }
.bfd .find svg { position: absolute; left: 18px; top: 50%; width: 22px; height: 22px; transform: translateY(-50%); color: var(--text); pointer-events: none; }
.bfd .find input[type="search"] { min-height: 60px; border: 3px solid var(--rule); background: #fff; padding: 0 16px 0 54px;
  font: 19px var(--sans); color: var(--text); width: 100%; border-radius: 0; }
.bfd .find input[type="search"]::placeholder { color: #75746e; }
.bfd .find input[type="search"]:focus { outline: 3px solid var(--orange); outline-offset: 0; }
.bfd .chips { display: flex; flex-wrap: wrap; gap: 6px; }
.bfd .chip { min-height: 44px; padding: 0 14px; border: 1px solid var(--line); background: var(--panel); color: var(--text);
  font: 500 11px var(--mono); letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.bfd .chip:hover { border-color: var(--text); background: var(--panel); color: var(--text); }
.bfd .chip[aria-pressed="true"] { border-color: var(--text); background: var(--orange); color: var(--on-orange); }

.bfd .tabs { display: flex; gap: 4px 22px; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-top: 2px; }
.bfd .tab { min-height: 44px; padding: 0 1px; margin-bottom: -1px; border: 0; border-bottom: 2px solid transparent; background: none;
  font: 500 16px var(--sans); color: var(--muted); cursor: pointer; white-space: nowrap; border-radius: 0; }
.bfd .tab:hover { color: var(--text); background: none; }
.bfd .tab[aria-pressed="true"] { color: var(--text); border-bottom-color: var(--orange); }

.bfd .toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin-top: -6px; }
.bfd .toolbar .count { color: var(--muted); }
.bfd .tools { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.bfd .dd { position: relative; display: inline-flex; align-items: center; min-height: 34px; margin: 0; padding: 0 30px 0 12px;
  border: 1px solid var(--line); border-radius: 4px; background: var(--panel); font: 14px var(--sans); color: var(--text); cursor: pointer; }
.bfd .dd::after { content: ""; position: absolute; right: 12px; top: 50%; width: 6px; height: 6px; margin-top: -5px;
  border: solid var(--muted); border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); pointer-events: none; }
.bfd .dd:hover, .bfd .dd:focus-within { border-color: var(--text); }
.bfd .dd select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.bfd .dd[hidden] { display: none; }
.bfd .view { display: inline-flex; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; }
.bfd .view button { display: inline-flex; align-items: center; justify-content: center; width: 36px; min-height: 34px; padding: 0;
  border: 0; background: var(--panel); color: var(--muted); cursor: pointer; border-radius: 0; }
.bfd .view button + button { border-left: 1px solid var(--line); }
.bfd .view button[aria-pressed="true"] { background: var(--text); color: var(--panel); }
.bfd .view svg { width: 16px; height: 16px; }

.bfd .active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: -6px; }
.bfd .active[hidden] { display: none; }
.bfd .pills { display: contents; }
.bfd .pill { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 6px 0 12px; border: 0; border-radius: 999px;
  background: #fde6c2; color: #5c3200; font: 14px var(--sans); cursor: pointer; }
.bfd .pill span { font-size: 17px; line-height: 1; padding: 0 4px; }
.bfd .pill:hover { background: #fbd69c; color: #5c3200; }
.bfd .link { border: 0; background: none; padding: 4px 2px; font: 14px var(--sans); color: var(--text); text-decoration: underline; cursor: pointer; }
.bfd .link:hover { background: none; color: var(--acc); }

.bfd .f-btn, .bfd .sheet-head, .bfd .sheet-foot { display: none; }
.bfd .sheet-bg { display: none; }
@media (max-width: 640px) {
  .bfd .find input[type="search"] { min-height: 54px; font-size: 17px; }
  .bfd .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; gap: 20px; }
  .bfd .tabs::-webkit-scrollbar { display: none; }
  .bfd .f-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border: 1px solid var(--text);
    border-radius: 4px; background: var(--panel); font: 500 15px var(--sans); color: var(--text); cursor: pointer; }
  .bfd .f-btn .badge { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--orange); color: var(--on-orange);
    font: 600 12px/20px var(--sans); text-align: center; }
  .bfd .f-btn .badge[hidden] { display: none; }
  /* Bottom sheet */
  .bfd-js .tools { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100001; display: none; flex-direction: column; align-items: stretch;
    gap: 12px; max-height: 85vh; overflow-y: auto; padding: 18px 16px calc(16px + env(safe-area-inset-bottom)); background: var(--panel);
    border-top: 1px solid var(--rule); box-shadow: 0 -8px 24px rgba(0, 0, 0, .18); }
  .bfd-js .tools.is-open { display: flex; }
  .bfd .sheet-head { display: block; margin: 0; font: 600 18px var(--sans); color: var(--text); }
  .bfd .tools .dd { min-height: 48px; font-size: 16px; }
  .bfd .tools .view { align-self: flex-start; }
  .bfd .tools .view button { width: 52px; min-height: 44px; }
  .bfd .sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 4px; }
  .bfd .apply { min-height: 48px; padding: 0 28px; border: 1px solid var(--text); border-radius: 4px; background: var(--text); color: var(--panel);
    font: 600 16px var(--sans); cursor: pointer; }
  .bfd-js .sheet-bg:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 100000; background: rgba(0, 0, 0, .4); }
}

/* ---- Deal cards ------------------------------------------------------------------------------------------------- */
.bfd .grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
/* Before the script runs: the first page only, no flash. Not once it's ready, so moving cards doesn't restyle them all. */
.bfd-js:not(.bfd-ready) .grid > .d:nth-child(n+25) { display: none; }
.bfd .d { background: var(--panel); padding: 18px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
/* Product photos (Sean, 7 Nov): a fixed square on white across the top of the card, the photo fitted inside it (never
   cropped). Cards without a photo get an empty square, so the grid stays even. The box has a fixed height, so nothing
   moves while a photo loads. "Hide photos" (remembered per visitor) drops the boxes; hidden photos never load. */
.bfd .d .ph { margin: -18px -18px 2px; height: 178px; background: #fff; border-bottom: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; }
.bfd .d .ph img { display: block; width: 150px; height: 150px; object-fit: contain; }
.bfd .d .ph:empty::after { content: ""; width: 150px; height: 150px; background: var(--tile); }
/* No photo at any store (Sean, 8 Nov, placeholder "B"): the brand's name and the category on white */
.bfd .d .ph-n { flex-direction: column; gap: 6px; padding: 0 18px; text-align: center; }
.bfd .d .ph-n b { font: 500 22px/1.15 var(--sans); letter-spacing: -.01em; color: var(--text);
  overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bfd .d .ph-n span { font: 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bfd.bfd-nophoto .d .ph { display: none; }
.bfd:not(.bfd-js) .view, .bfd:not(.bfd-js) .tools .dd { display: none; }  /* no script: the controls can't work */
.bfd .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.bfd .t { font: 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; border: 1px solid var(--line); padding: 3px 6px; color: var(--soft); }
.bfd .t.es { border-color: var(--text); color: var(--text); }
.bfd .d h3 { font-size: 18px; font-weight: 600; line-height: 1.15; overflow-wrap: anywhere; }
.bfd .br { font-size: 14px; color: var(--muted); margin-top: -4px; }
.bfd .pr { display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; font-family: var(--mono); font-variant-numeric: tabular-nums; }
.bfd .pr b { font-size: 26px; font-weight: 400; color: var(--acc); }
.bfd .pk .pr s { font-size: 14px; color: var(--muted); }
.bfd .was { font-size: 13px; color: var(--muted); }
.bfd .off { font-size: 13px; border: 1px solid var(--text); padding: 1px 5px; }
.bfd .cp, .bfd .gf { font-size: 13px; line-height: 1.35; color: var(--soft); }
.bfd .cp code { font: 500 12px var(--mono); background: var(--tile); border: 1px dashed var(--muted); padding: 2px 6px; color: var(--text); }
.bfd .buy { margin-top: auto; display: grid; gap: 8px; border-top: 1px solid var(--line); padding-top: 10px; }
.bfd .w { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.bfd .go { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: 0 14px; border: 1px solid var(--text);
  background: var(--panel); color: var(--text); text-decoration: none; font: 500 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.bfd .go:hover, .bfd .rows a:hover { background: var(--orange); border-color: var(--orange); color: var(--on-orange); }
/* Store rows: up to 3, cheapest first; the cheapest looks like the main button. */
.bfd .rows { list-style: none; padding: 0; display: grid; gap: 4px; }
.bfd .rows a { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 44px; padding: 4px 12px;
  border: 1px solid var(--line); color: var(--text); text-decoration: none; font: 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.bfd .rows li:first-child a { border-color: var(--text); }
.bfd .sn { display: grid; gap: 2px; min-width: 0; }
.bfd .sn small { font-size: 10px; color: var(--muted); }
.bfd .sp { font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; }
/* Producer Hive shop sale (Sean, 6 Nov): after the first screen of deals, never at the top. The script moves it into
   the grid after the 24th shown card; without the script it sits under the first 24. Dark ink so it reads as our own
   shop, not a store's deal; PH orange #F8A525 only as a fill behind dark text. */
.bfd .shop { grid-column: 1 / -1; background: #1d2228; color: #ecf1f2; padding: 26px 28px; display: flex; flex-wrap: wrap;
  align-items: center; justify-content: space-between; gap: 18px 28px; border: 1px solid var(--rule); }
.bfd .grid .shop { border: 0; }
.bfd .shop-txt { display: grid; gap: 8px; min-width: 0; flex: 1 1 420px; }
.bfd .shop img { height: 22px; width: auto; max-width: 100%; margin-bottom: 6px; }
.bfd .shop .mono { color: #b9c0c6; }
.bfd .shop h3 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: #fff; }
.bfd .shop-sub { font-size: 15px; line-height: 1.45; color: #cfd5d9; }
.bfd .shop-go { display: inline-flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 22px; background: #f8a525; color: #1d2228;
  border: 1px solid #f8a525; text-decoration: none; font: 600 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; flex: none; }
.bfd .shop-go:hover { background: #fff; border-color: #fff; color: #1d2228; }
.bfd .more { display: flex; justify-content: center; }
.bfd .more .go { min-height: 48px; padding: 0 28px; }
.bfd .empty { padding: 24px; border: 1px dashed var(--line); font: 12px var(--mono); color: var(--muted); text-transform: uppercase; }

/* Ended deals (Sean, 6 Nov): a collapsed list at the bottom, compact rows with a plain link, clearly marked as over.
   The same rows show as "Already ended" under the search results, never mixed into the cards. */
.bfd .ended summary { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px;
  cursor: pointer; list-style: none; }
.bfd .ended summary::-webkit-details-marker { display: none; }
.bfd .ended summary h2 { font-size: clamp(20px, 2.2vw, 26px); }
.bfd .ended summary h2::before { content: "+ "; font-family: var(--mono); }
.bfd .ended details[open] summary h2::before { content: "\2212  "; }
.bfd .ended .mono, .bfd .xg h3 { color: var(--muted); }
.bfd .x-note { margin: 14px 0 6px; }
.bfd .xl { list-style: none; padding: 0; display: grid; }
.bfd .xl li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 2px 16px;
  padding: 9px 0; border-bottom: 1px solid var(--line); }
.bfd .xl a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; min-width: 0; overflow-wrap: anywhere; }
.bfd .xl a:hover { color: var(--text); }
.bfd .xm { font: 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.bfd .xm b { color: var(--text); font-weight: 600; white-space: nowrap; }
.bfd .xm i { font-style: normal; }
.bfd .xg { margin-top: 22px; border-top: 1px solid var(--rule); padding-top: 14px; }
.bfd .xg h3 { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }

/* ---- Phones ------------------------------------------------------------------------------------------------------ */
@media (max-width: 640px) {
  .bfd .panel { padding: 20px 16px; }
  .bfd .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bfd .stats b { font-size: 22px; }
  .bfd .intro { font-size: 16px; }
}

/* ---- Brand-wide sales (phase 2; Sean 7 Nov: compact rows below the deals) ------------------------------------- */
.bfd .bsl { list-style: none; padding: 0; display: grid; }
.bfd .bsl li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 16px;
  padding: 12px 0; border-top: 1px solid var(--line); }
.bfd .bsl .bs-t { font-size: 15px; min-width: 0; overflow-wrap: anywhere; }
.bfd .bsl .bs-t b { margin-right: 6px; }
.bfd .bsl a { color: var(--text); text-underline-offset: 3px; }
