/*
 * Black Friday deal pages + homepage callout.
 * Plain CSS: style.css is a purged Tailwind build with no build step on the
 * server, so new utility classes would not exist. Loaded via $extraStylesheets.
 */
.bf-hero { background: linear-gradient(135deg, #0b0b0f 0%, #1c1917 55%, #3b0d0d 100%); color: #f5f5f4; padding: 2rem 0 2.25rem; }
.bf-crumbs { font-size: .8125rem; color: #a8a29e; margin-bottom: 1rem; }
.bf-crumbs a { color: #d6d3d1; text-decoration: none; }
.bf-crumbs a:hover { text-decoration: underline; }
.bf-kicker { display: inline-block; font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fde68a; background: rgba(220, 38, 38, .25); border: 1px solid rgba(248, 113, 113, .45); border-radius: 9999px; padding: .25rem .75rem; margin-bottom: .75rem; }
.bf-title { font-size: 2rem; line-height: 2.4rem; font-weight: 800; letter-spacing: -.01em; margin: 0 0 .75rem; color: #fff; }
.bf-lede { max-width: 48rem; font-size: 1rem; line-height: 1.6rem; color: #d6d3d1; margin: 0 0 1.25rem; }
.bf-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; max-width: 40rem; }
.bf-stats > div { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: .75rem; padding: .5rem .625rem; min-width: 0; }
.bf-stats strong { display: block; font-size: 1rem; line-height: 1.3rem; color: #fff; }
.bf-stats span { display: block; font-size: .6875rem; line-height: .95rem; color: #a8a29e; }
@media (min-width: 768px) {
    .bf-stats { gap: .75rem; }
    .bf-stats > div { padding: .625rem .875rem; }
    .bf-stats strong { font-size: 1.25rem; line-height: 1.6rem; }
    .bf-stats span { font-size: .75rem; }
}
@media (min-width: 768px) {
    .bf-hero { padding: 2.75rem 0 3rem; }
    .bf-title { font-size: 2.75rem; line-height: 3.1rem; }
    .bf-lede { font-size: 1.0625rem; }
}

/* Category chips: every BF page links to every other */
.bf-chips { display: flex; gap: .5rem; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-bottom: .25rem; margin-bottom: 2rem; }
.bf-chips::-webkit-scrollbar { display: none; }
.bf-chips a { flex: 0 0 auto; padding: .5rem 1rem; border-radius: 9999px; border: 1px solid #e7e5e4; background: #fff; color: #292524; font-size: .875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bf-chips a:hover { border-color: #dc2626; color: #dc2626; }
.bf-chips a.is-active { background: #111827; border-color: #111827; color: #fff; }

.bf-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; margin-bottom: 1.25rem; }
.bf-more { font-weight: 700; color: #dc2626; text-decoration: none; white-space: nowrap; }
.bf-more:hover { text-decoration: underline; }

/* Savings band above each deal card */
.bf-deal { display: flex; flex-direction: column; }
.bf-deal > .card { flex: 1; border-top-left-radius: 0; border-top-right-radius: 0; }
.bf-ribbon { display: flex; flex-wrap: wrap; align-items: center; gap: .375rem .5rem; background: #111827; color: #fff; border-radius: .5rem .5rem 0 0; padding: .5rem .75rem; }
.bf-pct { font-weight: 800; font-size: 1.125rem; color: #fca5a5; }
.bf-saved { font-weight: 700; font-size: .875rem; }
.bf-low { margin-left: auto; font-size: .6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; background: #dc2626; color: #fff; border-radius: .25rem; padding: .125rem .375rem; }
.bf-typical { background: #f5f5f4; color: #57534e; font-size: .75rem; padding: .375rem .75rem; border-left: 1px solid #e7e5e4; border-right: 1px solid #e7e5e4; }

.bf-method { background: #fff; border: 1px solid #e7e5e4; border-left: 4px solid #dc2626; border-radius: .5rem; padding: 1.25rem 1.25rem .75rem; margin: 1rem 0 3rem; }
.bf-method p { color: #44403c; line-height: 1.65; margin: .75rem 0; }
.bf-guides { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.bf-guides a { color: #1e40af; font-weight: 600; text-decoration: none; }
.bf-guides a:hover { text-decoration: underline; }
.bf-faq details { background: #fff; border: 1px solid #e7e5e4; border-radius: .5rem; padding: .875rem 1rem; margin-bottom: .5rem; }
.bf-faq summary { cursor: pointer; font-weight: 700; color: #1c1917; }
.bf-faq p { margin: .625rem 0 0; color: #44403c; line-height: 1.6; }

/* Homepage callout */
.bf-callout { position: relative; overflow: hidden; border-radius: 1rem; background: linear-gradient(135deg, #0b0b0f 0%, #1c1917 55%, #3b0d0d 100%); color: #fff; padding: 1.25rem; margin-bottom: 1.5rem; }
.bf-callout-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1rem; }
.bf-callout h2 { font-size: 1.5rem; line-height: 1.9rem; font-weight: 800; margin: 0; color: #fff; }
.bf-callout p { color: #d6d3d1; margin: .25rem 0 0; font-size: .9375rem; }
.bf-callout-cta { display: inline-block; background: #dc2626; color: #fff; font-weight: 800; padding: .625rem 1.125rem; border-radius: 9999px; text-decoration: none; white-space: nowrap; }
.bf-callout-cta:hover { background: #b91c1c; }
.bf-callout-links { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 1rem; }
.bf-callout-links::-webkit-scrollbar { display: none; }
.bf-callout-links a { flex: 0 0 auto; color: #fde68a; border: 1px solid rgba(253, 230, 138, .4); border-radius: 9999px; padding: .375rem .75rem; font-size: .8125rem; font-weight: 600; text-decoration: none; }
.bf-callout-links a:hover { background: rgba(253, 230, 138, .12); }
.bf-mini { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.bf-mini a { display: flex; flex-direction: column; background: #fff; color: #1c1917; border-radius: .625rem; overflow: hidden; text-decoration: none; }
.bf-mini img { width: 100%; height: 7rem; object-fit: contain; background: #fff; padding: .5rem; }
.bf-mini-body { padding: .5rem .625rem .625rem; display: flex; flex-direction: column; gap: .25rem; flex: 1; }
.bf-mini-pct { align-self: flex-start; background: #dc2626; color: #fff; font-weight: 800; font-size: .75rem; border-radius: .25rem; padding: .0625rem .375rem; }
.bf-mini-title { font-size: .8125rem; line-height: 1.1rem; font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bf-mini-price { margin-top: auto; display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .25rem; font-size: .875rem; font-weight: 800; }
.bf-mini-price s { color: #78716c; font-weight: 500; font-size: .75rem; }
@media (min-width: 768px) {
    .bf-callout { padding: 1.75rem 2rem; }
    .bf-callout h2 { font-size: 1.875rem; line-height: 2.25rem; }
    .bf-mini { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
    .bf-mini { grid-template-columns: repeat(6, minmax(0, 1fr)); }
}

/* Dark mode (site uses class-based dark mode on <html>) */
.dark .bf-chips a { background: #1f2937; border-color: #374151; color: #e5e7eb; }
.dark .bf-chips a.is-active { background: #dc2626; border-color: #dc2626; }
.dark .bf-typical { background: #1f2937; color: #d1d5db; border-color: #374151; }
.dark .bf-method, .dark .bf-faq details { background: #1f2937; border-color: #374151; }
.dark .bf-method p, .dark .bf-faq p { color: #d1d5db; }
.dark .bf-faq summary { color: #f9fafb; }
.dark .bf-guides a { color: #93c5fd; }
.dark .bf-mini a { background: #1f2937; color: #f9fafb; }
.dark .bf-mini img { background: #fff; }
