/* Flyer lifecycle (26 Oct 2026): ended-flyer page, Black Friday off-season page, online-only promos, /flyer/ archive. */

/* ---------- Shared: chip + typographic cover ---------- */
.hb-flyer-chip { display: inline-flex; align-items: center; padding: 6px 10px; color: #fff; background: #3c4046; font-family: "Manrope", "Blinker", system-ui, sans-serif; font-size: 12px; font-weight: 700; letter-spacing: .08em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.hb-flyer-chip-live { background: #c2000c; }
.hb-flyer-cover { position: relative; box-sizing: border-box; width: 100%; aspect-ratio: 4 / 5; padding: clamp(22px, 2.4vw, 32px); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; color: #fff; background: #000; border-bottom: 4px solid #c2000c; font-family: "Blinker", "Manrope", system-ui, sans-serif; }
.hb-flyer-cover-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hb-flyer-cover-month, .hb-flyer-cover-deadline { color: #c2c7ce; font-family: "Inter", system-ui, sans-serif; font-size: 14px; line-height: 1.4; }
.hb-flyer-cover-copy { display: flex; flex-direction: column; gap: 10px; }
.hb-flyer-cover-title { display: block; color: #fff; font-family: "Blinker", "Manrope", system-ui, sans-serif; font-size: clamp(48px, 5.4vw, 84px); font-weight: 700; line-height: .9; letter-spacing: -.01em; text-transform: uppercase; overflow-wrap: anywhere; }
.hb-flyer-cover-highlight { display: block; color: #f0444c; font-family: "Blinker", "Manrope", system-ui, sans-serif; font-size: clamp(22px, 2.2vw, 32px); font-weight: 700; line-height: 1; text-transform: uppercase; overflow-wrap: anywhere; }
.hb-flyer-cover-past { aspect-ratio: 4 / 3; padding: 24px; background: #24262a; border-bottom: 0; }
.hb-flyer-cover-past .hb-flyer-cover-title { font-size: clamp(34px, 3.2vw, 48px); }
.hb-flyer-cover-past .hb-flyer-cover-highlight { font-size: 24px; }
.hb-flyer-cover-ref { border-bottom-color: #5b6068; }
/* Printed flyer cover (page 1 of the PDF) shown whole; the status chip sits on its bottom band. */
.hb-flyer-cover.hb-flyer-cover-image { display: block; aspect-ratio: auto; padding: 0; background: #fff; }
.hb-flyer-cover.hb-flyer-cover-image .hb-flyer-cover-img { display: block; width: 100%; height: auto; max-width: 100%; }
.hb-flyer-cover.hb-flyer-cover-image .hb-flyer-cover-chip { position: absolute; left: 20px; bottom: -12px; z-index: 1; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.hb-flyer-current-card .hb-flyer-cover-image + .hb-flyer-current-foot, .hb-flyer-cover-image + .hb-flyer-archive-body { padding-top: 28px; }
.hb-flyer-cover-past.hb-flyer-cover-image { border-bottom: 1px solid #dfe2e6; }
/* Campaign featured photo behind the headline, darkened toward the bottom so the white/red type stays readable. */
.hb-flyer-cover.hb-flyer-cover-photo { background: linear-gradient(180deg, rgba(0,0,0,.30) 0%, rgba(0,0,0,.45) 40%, rgba(0,0,0,.90) 100%), var(--hb-cover-image) center / cover no-repeat, #000; }
.hb-flyer-cover.hb-flyer-cover-photo .hb-flyer-cover-month { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.hb-flyer-cover.hb-flyer-cover-photo .hb-flyer-cover-title, .hb-flyer-cover.hb-flyer-cover-photo .hb-flyer-cover-highlight { text-shadow: 0 2px 12px rgba(0,0,0,.45); }
.hb-flyer-cover.hb-flyer-cover-photo .hb-flyer-cover-highlight { color: #ff5a61; }
.hb-flyer-cover-ref .hb-flyer-cover-title { font-size: clamp(44px, 4.4vw, 64px); }

/* ---------- Ended flyer + Black Friday off-season ---------- */
.hb-flyer-page.hb-flyer-ended { color: #0c0c0d; background: #fff; }
.hb-flyer-ended-wrap { width: min(100%, 1280px); margin: 0 auto; }
.hb-flyer-ended-hero { padding: clamp(56px, 7vw, 96px) clamp(20px, 5vw, 76px); color: #fff; background: #0c0c0d; }
.hb-flyer-page .hb-flyer-ended-hero h1 { max-width: 16ch; margin: 0 0 22px; color: #fff !important; font-size: clamp(44px, 5.6vw, 84px); font-weight: 700; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.hb-flyer-page .hb-flyer-ended-hero p { max-width: 60ch; margin: 0 0 28px; color: #c2c7ce; font-size: 18px; line-height: 1.6; }
.hb-flyer-ended-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hb-flyer-page .hb-flyer-ended-btn { box-sizing: border-box; min-height: 52px; padding: 14px 28px; display: inline-flex; align-items: center; justify-content: center; border: 2px solid #c2000c; border-radius: 0; font-size: 16px; font-weight: 700; letter-spacing: .06em; line-height: 1.2; text-align: center; text-decoration: none; text-transform: uppercase; }
.hb-flyer-page .hb-flyer-ended-btn-primary { color: #fff !important; background: #c2000c; }
.hb-flyer-page .hb-flyer-ended-btn-primary:hover { background: #99000a; border-color: #99000a; }
.hb-flyer-page .hb-flyer-ended-btn-outline { color: #fff !important; background: transparent; border-color: #fff; }
.hb-flyer-page .hb-flyer-ended-btn-outline:hover { color: #0c0c0d !important; background: #fff; }
.hb-flyer-page .hb-flyer-ended-btn:focus-visible { outline: 2px solid #0c0c0d; outline-offset: 3px; }
.hb-flyer-ended-hero .hb-flyer-ended-btn:focus-visible { outline-color: #fff; }

.hb-flyer-ended-section { padding: clamp(56px, 6vw, 80px) clamp(20px, 5vw, 76px); color: #0c0c0d; background: #fff; }
.hb-flyer-ended-ref { background: #f3f4f5; }
.hb-flyer-ended-head { max-width: 68ch; margin: 0 0 40px; }
.hb-flyer-page .hb-flyer-ended-head .hb-flyer-eyebrow { margin: 0 0 12px; color: #c2000c; font-size: 14px; letter-spacing: .16em; }
.hb-flyer-page .hb-flyer-ended-head h2 { margin: 0 0 14px; color: #0c0c0d !important; font-size: clamp(38px, 4.6vw, 64px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.hb-flyer-page .hb-flyer-ended-head p:last-child { margin: 0; color: #3c4046; font-size: 18px; line-height: 1.6; }
.hb-flyer-page .hb-flyer-ended-more { display: inline-block; margin-top: 32px; color: #c2000c !important; font-size: 16px; font-weight: 700; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.hb-flyer-page .hb-flyer-ended-more:hover { text-decoration: underline; }
.hb-flyer-page .hb-flyer-ended-empty { margin: 0; color: #3c4046; font-size: 18px; line-height: 1.6; }
.hb-flyer-page .hb-flyer-ended-empty a { color: #c2000c; font-weight: 700; }

/* Offer cards (ended page "On now" and live-flyer online-only section) */
.hb-flyer-now-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.hb-flyer-online .hb-flyer-now-grid { max-width: 1320px; margin: 0 auto; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)); justify-content: center; }
.hb-flyer-now-card { display: flex; flex-direction: column; color: #0c0c0d; background: #fff; border: 1px solid #dfe2e6; }
.hb-flyer-now-image { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #f3f4f5; }
.hb-flyer-page .hb-flyer-now-image img { position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; max-width: none !important; object-fit: cover !important; }
.hb-flyer-now-body { flex: 1 1 auto; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.hb-flyer-page .hb-flyer-now-label { margin: 0; color: #5b6068; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.hb-flyer-page .hb-flyer-now-body h3 { margin: 0; color: #0c0c0d !important; font-size: 26px; line-height: 1.05; text-transform: uppercase; }
.hb-flyer-page .hb-flyer-now-price { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; color: #c2000c; text-transform: uppercase; }
.hb-flyer-now-price strong { font-size: 44px; line-height: .95; }
.hb-flyer-now-price span { color: #0c0c0d; font-size: 16px; font-weight: 700; }
.hb-flyer-now-price small { width: 100%; color: #5b6068; font-size: 15px; }
.hb-flyer-page .hb-flyer-now-excerpt { flex: 1 1 auto; margin: 0; color: #3c4046; font-size: 16px; line-height: 1.5; }
.hb-flyer-now-body > .hb-flyer-ended-btn, .hb-flyer-now-body > .hb-flyer-offer-button { width: 100%; margin-top: 6px; }

/* Reference (the old flyer, dimmed) */
.hb-flyer-ref-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.hb-flyer-ref-layout > .hb-flyer-cover { flex: 1 1 260px; max-width: 360px; opacity: .72; }
.hb-flyer-ref-side { flex: 999 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.hb-flyer-ref-list { background: #fff; border: 1px solid #dfe2e6; }
.hb-flyer-ref-row { padding: 18px 24px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; justify-content: space-between; }
.hb-flyer-ref-row + .hb-flyer-ref-row { border-top: 1px solid #dfe2e6; }
.hb-flyer-ref-copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hb-flyer-ref-copy strong { color: #5b6068; font-size: 18px; text-transform: uppercase; }
.hb-flyer-ref-copy s { color: #5b6068; font-size: 16px; }
.hb-flyer-ref-side .hb-flyer-ended-more { margin-top: 8px; }

/* ---------- /flyer/ archive shortcodes ---------- */
.hb-flyer-archive, .hb-flyer-archive *, .hb-flyer-archive *::before, .hb-flyer-archive *::after { box-sizing: border-box; }
.hb-flyer-archive { width: 100%; font-family: "Inter", system-ui, sans-serif; }
.hb-flyer-archive-current { max-width: 440px; margin-left: auto; }
.hb-flyer-archive .hb-flyer-current-card { display: flex; flex-direction: column; width: 100%; color: #fff; text-decoration: none; background: #17181a; border: 1px solid rgba(255, 255, 255, .12); }
.hb-flyer-archive .hb-flyer-current-card:hover .hb-flyer-current-cta { text-decoration: underline; }
.hb-flyer-archive .hb-flyer-current-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.hb-flyer-current-foot { padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.hb-flyer-current-title { color: #fff; font-family: "Manrope", system-ui, sans-serif; font-size: 18px; font-weight: 700; }
.hb-flyer-current-cta { color: #f0444c; font-family: "Manrope", system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
.hb-flyer-archive .hb-flyer-pdf-link { display: inline-block; margin-top: 14px; color: #fff; font-family: "Manrope", system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-decoration: underline; text-underline-offset: 3px; text-transform: uppercase; }
.hb-flyer-current-empty { padding: 32px; color: #fff; background: #17181a; border: 1px solid rgba(255, 255, 255, .12); }
.hb-flyer-current-empty p { margin: 0 0 12px; font-family: "Manrope", system-ui, sans-serif; font-size: 20px; font-weight: 700; }
.hb-flyer-current-empty a { color: #f0444c; font-weight: 700; }

.hb-flyer-year-group + .hb-flyer-year-group { margin-top: 48px; }
.hb-flyer-year { margin: 0 0 24px; display: flex; align-items: center; gap: 16px; }
.hb-flyer-year::after { content: ""; flex: 1 1 auto; height: 1px; background: #dfe2e6; }
.hb-flyer-archive .hb-flyer-year h3 { margin: 0; color: #0c0c0d; font-family: "Manrope", system-ui, sans-serif; font-size: 24px; font-weight: 700; line-height: 1.3; }
.hb-flyer-archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.hb-flyer-archive .hb-flyer-archive-card { display: flex; flex-direction: column; color: #0c0c0d; text-decoration: none; background: #fff; border: 1px solid #dfe2e6; transition: border-color .15s ease; }
.hb-flyer-archive .hb-flyer-archive-card:hover { border-color: #0c0c0d; }
.hb-flyer-archive .hb-flyer-archive-card:focus-visible { outline: 2px solid #0c0c0d; outline-offset: 3px; }
.hb-flyer-archive-body { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.hb-flyer-archive-title { color: #0c0c0d; font-family: "Manrope", system-ui, sans-serif; font-size: 20px; font-weight: 700; line-height: 1.3; }
.hb-flyer-archive-dates { color: #5b6068; font-size: 14px; line-height: 1.5; }
.hb-flyer-archive-link { padding-top: 8px; color: #c2000c; font-family: "Manrope", system-ui, sans-serif; font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hb-flyer-archive-empty { margin: 0; color: #3c4046; font-size: 18px; line-height: 1.6; }

@media (max-width: 1024px) {
  .hb-flyer-archive-current { margin-left: 0; }
}
@media (max-width: 767px) {
  .hb-flyer-ended-actions .hb-flyer-ended-btn { width: 100%; }
  .hb-flyer-ref-row { padding: 16px 20px; }
}
