/* Black Friday hub (plan 2026-11-09-black-friday-hub-redesign). Corporate blue, flat, no gradients. */
.bfh { --bf-blue: #0b4ea2; --bf-blue-soft: #e8f0fb; --bf-green: #0a7a3e; --bf-green-soft: #e6f4ec; --bf-red: #c92a2a; --bf-red-soft: #fdecec; --bf-line: var(--rw-line, #e3e7ee); --bf-card: var(--rw-surface, #fff); }
.bfh h2 { margin: 0 0 .35em; }
.bfh-section { margin: 1.6em 0; }
.bfh-sub { margin: -.1em 0 .8em; color: var(--rw-muted, #495057); max-width: 70ch; }

/* Hero */
.bfh-hero { background: var(--bf-card); border: 1px solid var(--bf-line); border-radius: 14px; padding: 18px 18px 14px; margin: .3em 0 1.2em; }
.bfh-hero h1 { font-size: clamp(1.7rem, 4.6vw, 2.4rem); line-height: 1.1; margin: .1em 0 .25em; }
.bfh-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--bf-red); background: var(--bf-red-soft); border-radius: 999px; padding: 3px 10px; }
.bfh-live i { width: 8px; height: 8px; border-radius: 50%; background: #e03131; display: inline-block; }
.bfh-promise { margin: 0 0 .9em; font-size: 1.05em; }
.bfh-date { margin: 0 0 .9em; font-weight: 700; }
.bfh-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 .9em; }
.bfh-stat { background: var(--bf-blue-soft); border-radius: 10px; padding: 10px 12px; }
.bfh-stat b { display: block; font-size: 1.45em; line-height: 1.1; color: var(--bf-blue); }
.bfh-stat span { display: block; font-size: .8em; line-height: 1.3; margin-top: 2px; }
.bfh-jump { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.bfh-jump a { display: inline-block; padding: 6px 12px; border: 1px solid var(--bf-line); border-radius: 999px; text-decoration: none; font-size: .9em; background: #fff; }
.bfh-jump a:hover { border-color: var(--bf-blue); color: var(--bf-blue); }

/* Deal cards */
.bfh-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.bfh-card { display: flex; flex-direction: column; gap: 4px; background: var(--bf-card); border: 1px solid var(--bf-line); border-radius: 12px; padding: 12px 14px; text-decoration: none; color: inherit; }
.bfh-card:hover { border-color: var(--bf-blue); }
.bfh-card-name { font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.bfh-card-price { font-size: 1.55em; font-weight: 800; line-height: 1.1; margin-top: 4px; }
.bfh-card-store { font-size: .88em; color: var(--rw-muted, #495057); }
.bfh-chip { align-self: flex-start; margin-top: 6px; font-size: .82em; font-weight: 700; border-radius: 999px; padding: 3px 9px; }
.bfh-chip--save { color: var(--bf-green); background: var(--bf-green-soft); }
.bfh-chip--up { color: var(--bf-red); background: var(--bf-red-soft); }
.bfh-chip--low { color: var(--bf-blue); background: var(--bf-blue-soft); }
.bfh-more { display: inline-block; margin-top: 10px; font-weight: 700; }
.bfh-how { font-size: .88em; margin-top: 8px; color: var(--rw-muted, #495057); }
.bfh-empty { background: var(--bf-card); border: 1px dashed var(--bf-line); border-radius: 12px; padding: 12px 14px; margin: 0; }

/* Movers strip */
.bfh-movers { display: flex; flex-wrap: wrap; gap: 6px; margin: .4em 0 0; padding: 0; list-style: none; }
.bfh-movers a { display: inline-flex; gap: 6px; align-items: baseline; padding: 5px 10px; border-radius: 999px; text-decoration: none; font-size: .88em; }
.bfh-movers .down { background: var(--bf-green-soft); color: var(--bf-green); }
.bfh-movers .up { background: var(--bf-red-soft); color: var(--bf-red); }

/* Stores with status dots */
.bfh-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.bfh-store { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--bf-line); border-radius: 10px; background: var(--bf-card); text-decoration: none; color: inherit; }
.bfh-store:hover { border-color: var(--bf-blue); }
.bfh-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 auto; background: #ced4da; }
.bfh-dot--up { background: #2b8a3e; } .bfh-dot--slow { background: #e67700; } .bfh-dot--down { background: #e03131; }
.bfh-store small { display: block; color: var(--rw-muted, #495057); }
.bfh-legend { font-size: .85em; color: var(--rw-muted, #495057); margin-top: 8px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Poll card */
.bfh-poll { background: var(--bf-card); border: 1px solid var(--bf-line); border-radius: 14px; padding: 16px; }

/* Folding sections */
.bfh-fold { border: 1px solid var(--bf-line); border-radius: 12px; background: var(--bf-card); margin: 8px 0; }
.bfh-fold > summary { cursor: pointer; padding: 12px 16px; font-weight: 700; font-size: 1.05em; list-style: none; }
.bfh-fold > summary::-webkit-details-marker { display: none; }
.bfh-fold > summary::after { content: "+"; float: right; color: var(--bf-blue); font-weight: 800; }
.bfh-fold[open] > summary::after { content: "−"; }
.bfh-fold > div { padding: 0 16px 12px; }
.bfh-fold h3 { font-size: 1em; margin: .9em 0 .2em; }

/* Calculator: fold extra rows on a phone, fold the small print everywhere */
.tc-more { display: none; margin-top: 8px; padding: 8px 14px; border: 1px solid var(--rw-line, #e3e7ee); border-radius: 999px; background: #fff; color: #0b4ea2; font-weight: 700; cursor: pointer; }
.tc-notes { margin-top: 10px; }
.tc-notes > summary { cursor: pointer; font-size: .9em; color: #0b4ea2; font-weight: 600; }

/* Store rows (product pages) */
.bfh-rows { display: flex; flex-direction: column; gap: 8px; }
.bfh-row { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 10px; align-items: center; padding: 10px 14px; border: 1px solid var(--rw-line, #e3e7ee); border-radius: 12px; background: var(--rw-surface, #fff); }
.bfh-row--best { border-color: #0b4ea2; box-shadow: inset 4px 0 0 #0b4ea2; }
.bfh-row-price { font-size: 1.3em; font-weight: 800; }
.bfh-row small { display: block; color: var(--rw-muted, #495057); }
.bfh-row-head { font-size: .8em; text-transform: uppercase; letter-spacing: .04em; color: var(--rw-muted, #495057); padding: 0 14px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 10px; }
.bfh-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: .6em 0 1em; }

@media (max-width: 760px) {
  .tc-more { display: inline-block; }
  #true-cost:not(.tc-all) #trueCostTable tbody tr:nth-child(n+5) { display: none; }
  .bfh-row { grid-template-columns: 1fr auto; }
  .bfh-row > :nth-child(3), .bfh-row > :nth-child(4) { grid-column: 1 / -1; font-size: .9em; }
  .bfh-row-head { display: none; }
  .bfh-summary { grid-template-columns: repeat(2, 1fr); }
  .bfh-stats { grid-template-columns: repeat(2, 1fr); }
  .bfh-cards { grid-template-columns: 1fr; }
  .bfh-card { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 10px; }
  .bfh-card-name { flex: 1 0 100%; min-height: 0; }
  .bfh-card-price { margin-top: 0; }
  .bfh-chip { margin-top: 0; }
}
@media (min-width: 761px) and (max-width: 1100px) { .bfh-cards { grid-template-columns: repeat(2, 1fr); } }
.bfh-row .was-label { display: none; }
@media (max-width: 760px) { .bfh-row .was-label { display: inline; margin-right: 6px; } }
/* Paid store listing tag (plan 2026-11-09-black-friday-paid-store-listing) */
.bfh-paid { display: inline-block; margin-left: 4px; padding: 1px 6px; border: 1px solid #adb5bd; border-radius: 4px; font-size: .72em; font-weight: 700; color: #495057; vertical-align: middle; text-transform: uppercase; letter-spacing: .03em; }
