.promotion-banner { position: relative; background: #302018; color: #fff1df; padding: 12px 20px; font: 500 14px/1.45 system-ui,sans-serif; text-align: center; }
.promotion-banner[hidden] { display: none; }
.promotion-banner-inner { max-width: 1100px; margin: auto; overflow-wrap: anywhere; }
.promotion-banner p { margin: 0; }
.promotion-banner a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.promotion-banner a:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.promotion-banner ~ .logo { top: calc(var(--promotion-height, 48px) + 16px); }
.promo-standalone { background: #faf2e8; color: #302018; font: 16px/1.5 system-ui,sans-serif; min-height: 100vh; padding: 32px 20px; }
.promo-container { max-width: 560px; margin: 0 auto; }
.promo-container>img { width: 180px; display: block; margin: 0 auto 36px; }
.promo-container h1 { font-family: Georgia,serif; line-height: 1.2; font-size: 34px; }
.promo-card { padding: 24px; margin: 24px 0; border: 1px solid #d8c5b3; border-radius: 16px; background: #fffaf5; }
.promo-card label { display: block; margin-bottom: 12px; }
.promo-card input[type=text] { width: 100%; border: 1px solid #9f8570; border-radius: 8px; padding: 12px; box-sizing: border-box; font: inherit; }
.promo-card button { padding: 12px 20px; border-radius: 8px; border: none; background: #3a281c; color: #fff; font: inherit; cursor: pointer; margin: 10px 0; }
.promo-card button:disabled { opacity: .6; cursor: wait; }
.promo-card fieldset { margin: 24px 0; border: 0; padding: 0; }
.promo-card [role=alert] { color: #9b201a; }
.promo-total { display: flex; justify-content: space-between; font-size: 22px; margin: 24px 0; }
.promo-voucher-code { display: block; overflow-wrap: anywhere; font-size: 18px; padding: 12px; background: #efe2d5; }

/* Editions quiz (html.quiz-editions): the banner as a dark sleeve edge with a gold line, and the countdown chip
   that banner.js adds. Texts keep the light colours the admin's banner editor sets inline. */
html.quiz-editions .promotion-banner { background: #2a1d17; color: #f7efe3; padding: 9px 14px; border-bottom: 2px solid #f2c86b; font: 700 13.5px/1.4 Manrope,system-ui,sans-serif; }
html.quiz-editions .promotion-banner-inner { max-width: 560px; }
.promotion-countdown { display: inline-block; margin-left: 8px; padding: 2px 8px; border-radius: 6px; background: #f2c86b; color: #2a1d17; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Black Friday band, black and red, in the poster face of the Black Friday page (pass_bf_v6.html). The banner
   text only needs the classes: <p class="promo-bf">BLACK FRIDAY <span class="promo-bf-cut">-43 %</span> ...</p> */
.promotion-banner.promotion-banner--bf, html.quiz-editions .promotion-banner.promotion-banner--bf { background: #0a0a0a; color: #fff; padding: 7px 12px 8px; border-bottom: 3px solid #e10600; }
.promotion-banner .promo-bf { display: flex; align-items: center; justify-content: center; gap: 9px; margin: 0; font: 900 clamp(17px,5.6vw,23px)/1 "Big Shoulders Display","Arial Narrow",Impact,sans-serif; letter-spacing: .6px; text-transform: uppercase; white-space: nowrap; color: #fff; }
.promotion-banner .promo-bf-cut { padding: 3px 8px 4px; border-radius: 4px; background: #e10600; color: #fff; font-size: 1.18em; }
.promotion-banner--bf .promotion-countdown { background: #e10600; color: #fff; }

/* Offer of the day (manage.py day_gift_offer), on the black and red band: a red label, the offer on one or two
   poster lines with the gift in its red block, then the condition and the countdown as a large red clock. */
.promotion-banner .promo-day-label { margin: 2px 0 5px; font: 800 11.5px/1 Manrope,system-ui,sans-serif; letter-spacing: 2.2px; text-transform: uppercase; color: #ff3b30; }
.promotion-banner .promo-bf.promo-day { flex-wrap: wrap; gap: 5px 9px; white-space: normal; font-size: clamp(21px,6.6vw,28px); }
.promotion-banner .promo-day .promo-bf-cut { white-space: nowrap; font-size: 1em; }
.promotion-banner .promo-day-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 5px 8px; margin: 7px 0 2px; font: 600 12.5px/1.3 Manrope,system-ui,sans-serif; color: #d9d9d9; }
.promotion-banner .promo-day-note .promotion-countdown { margin-left: 0; padding: 3px 9px 4px; border-radius: 4px; font: 900 15px/1 Manrope,system-ui,sans-serif; letter-spacing: .4px; }

