/* Black Friday 2026 — Dermalux at-home LED (/black-friday) and the homepage Black Friday bar.
   Clinical luxury: near-black, warm ivory and champagne gold; the only colour is Dermalux's own light,
   used as a soft glow behind the devices. Built on the fx design system (fonts, container, gutters). */

.fx {
  --bf-ink: #0D0B0F;
  --bf-ink-2: #15121A;
  --bf-ink-3: #1E1A24;
  --bf-ivory: #F6F1E8;
  --bf-ivory-2: #EDE5D6;
  --bf-gold: #C9A86A;
  --bf-gold-light: #E8D5A6;
  --bf-gold-deep: #9C7B40;
  --bf-on-ink: #F5F1EA;
  --bf-on-ink-muted: rgba(245, 241, 234, .74);
  --bf-line: rgba(232, 213, 166, .22);
  --bf-red: 233, 64, 52;        /* Dermalux red light, as rgb for alpha */
  --bf-nir: 160, 40, 60;
  --bf-blue: 70, 110, 220;
}

/* ── Homepage bar (replaces the app bar on / while the promotion runs): a seamless ticker ────────── */
.fx .bf-bar { position: relative; overflow: hidden; color: var(--bf-on-ink);
  background: radial-gradient(120% 220% at 12% 50%, rgba(var(--bf-red), .28), transparent 42%), var(--bf-ink); }
.fx .bf-bar::after { content: ""; position: absolute; inset: auto 0 0 0; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--bf-gold), transparent); opacity: .7; }
.fx .bf-bar__link { display: block; color: inherit; text-decoration: none; }
.fx .bf-bar__link:focus-visible { outline: 2px solid var(--bf-gold-light); outline-offset: -4px; }
.fx .bf-ticker { display: block; overflow: hidden; min-height: 52px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.fx .bf-ticker__track { display: flex; width: max-content; will-change: transform;
  animation: bf-ticker var(--bf-ticker-duration, 90s) linear infinite; }
.fx .bf-ticker__group, .fx .bf-ticker__set { display: flex; flex: none; align-items: center; }
.fx .bf-ticker__img { flex: none; width: auto; height: 40px; margin: 0 14px 0 0;
  filter: drop-shadow(0 6px 14px rgba(var(--bf-red), .35)); }
.fx .bf-ticker__item { flex: none; white-space: nowrap; font-size: .9375rem; font-weight: 600; line-height: 52px;
  letter-spacing: .01em; color: var(--bf-on-ink); }
.fx .bf-ticker__item strong { color: var(--bf-gold-light); font-weight: 700; }
.fx .bf-ticker__item--eyebrow { font-family: var(--fx-font-display); letter-spacing: .2em; text-transform: uppercase;
  font-size: .8125rem; color: var(--bf-gold-light); }
.fx .bf-ticker__item--cta { display: inline-flex; align-items: center; gap: 6px; line-height: 1; padding: 8px 16px;
  border-radius: 999px; font-weight: 700; font-size: .875rem; color: var(--bf-ink);
  background: linear-gradient(135deg, var(--bf-gold-light), var(--bf-gold) 55%, var(--bf-gold-deep));
  box-shadow: 0 0 0 1px rgba(232, 213, 166, .35), 0 6px 18px rgba(201, 168, 106, .25); }
.fx .bf-ticker__sep { flex: none; padding: 0 22px; color: var(--bf-gold); font-size: .75rem; line-height: 52px; }
/* Pause while the pointer is over it or it has focus (keyboard or otherwise). */
.fx .bf-bar__link:hover .bf-ticker__track,
.fx .bf-bar:focus-within .bf-ticker__track { animation-play-state: paused; }
/* One half of the track = one group: moving exactly -50% lands on an identical frame (no jump, no gap). */
@keyframes bf-ticker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (max-width: 760px) {
  .fx .bf-ticker, .fx .bf-ticker__item, .fx .bf-ticker__sep { min-height: 48px; line-height: 48px; }
  .fx .bf-ticker__img { height: 34px; margin-right: 12px; }
  .fx .bf-ticker__item { font-size: .875rem; }
  .fx .bf-ticker__item--eyebrow { font-size: .75rem; }
  .fx .bf-ticker__item--cta { line-height: 1; min-height: 0; padding: 7px 14px; font-size: .8125rem; }
  .fx .bf-ticker__sep { padding: 0 16px; }
}
/* Reduced motion: no scrolling - one still, centred copy (wrapping if the screen is narrow). */
@media (prefers-reduced-motion: reduce) {
  .fx .bf-ticker { -webkit-mask-image: none; mask-image: none; }
  .fx .bf-ticker__track { animation: none; width: 100%; }
  .fx .bf-ticker__group + .bf-ticker__group, .fx .bf-ticker__set + .bf-ticker__set { display: none; }
  .fx .bf-ticker__group, .fx .bf-ticker__set { flex: 1 1 100%; min-width: 0; flex-wrap: wrap; justify-content: center;
    row-gap: 2px; padding: 6px 16px; }
  .fx .bf-ticker__set > .bf-ticker__sep:last-child { display: none; }
}

/* ── Page ───────────────────────────────────────────────────────────────── */
.fx.bf .bf-main { background: var(--bf-ink); color: var(--bf-on-ink); overflow-x: clip; }
.fx.bf .bf-main a:not(.bf-btn) { color: var(--bf-gold-light); }
.fx .bf-eyebrow { margin: 0 0 14px; font-family: var(--fx-font-display); font-weight: 600; font-size: .78rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--bf-gold); }
.fx .bf-gold { background: linear-gradient(100deg, var(--bf-gold-light) 0%, var(--bf-gold) 38%, #F3E6C4 52%, var(--bf-gold) 66%, var(--bf-gold-deep) 100%);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: bf-sheen 9s ease-in-out infinite; }
@keyframes bf-sheen { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }

.fx .bf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 26px;
  border-radius: var(--fx-r-button); font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .25s var(--fx-ease), box-shadow .25s var(--fx-ease), background-color .25s, color .25s; }
.fx .bf-btn--gold { color: var(--bf-ink); background: linear-gradient(135deg, var(--bf-gold-light), var(--bf-gold) 55%, var(--bf-gold-deep));
  box-shadow: 0 10px 30px rgba(201, 168, 106, .22), inset 0 1px 0 rgba(255, 255, 255, .45); }
.fx .bf-btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(201, 168, 106, .32), inset 0 1px 0 rgba(255, 255, 255, .5); }
.fx .bf-btn--ghost { color: var(--bf-on-ink); border: 1px solid var(--bf-line); background: rgba(255, 255, 255, .02); }
.fx .bf-btn--ghost:hover { border-color: var(--bf-gold); color: var(--bf-gold-light); }
.fx .bf-btn:focus-visible { outline: 2px solid var(--bf-gold-light); outline-offset: 3px; }
.fx .bf-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Hero */
.fx .bf-hero { position: relative; isolation: isolate; padding: clamp(48px, 3rem + 4vw, 120px) 0 clamp(56px, 3rem + 4vw, 112px); }
.fx .bf-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: radial-gradient(80% 60% at 78% 38%, rgba(var(--bf-red), .10), transparent 60%),
              linear-gradient(180deg, var(--bf-ink) 0%, #120F15 100%); }
.fx .bf-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px); background-size: 3px 3px; }
.fx .bf-hero__glow { position: absolute; z-index: -1; top: 50%; right: max(4vw, calc((100vw - 1280px) / 2 + 4%)); width: min(46vw, 620px);
  aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; }
.fx .bf-hero__glow span { position: absolute; inset: 0; border-radius: 50%; filter: blur(48px); mix-blend-mode: screen;
  animation: bf-breathe 8s ease-in-out infinite; }
.fx .bf-hero__glow span:nth-child(1) { background: radial-gradient(circle, rgba(var(--bf-red), .55), transparent 62%); }
.fx .bf-hero__glow span:nth-child(2) { inset: 12%; background: radial-gradient(circle, rgba(var(--bf-nir), .45), transparent 65%); animation-delay: -2.6s; }
.fx .bf-hero__glow span:nth-child(3) { inset: 28% 8% 0 34%; background: radial-gradient(circle, rgba(var(--bf-blue), .22), transparent 66%); animation-delay: -5.2s; }
@keyframes bf-breathe { 0%, 100% { opacity: .72; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
.fx .bf-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.fx .bf-hero__title { margin: 0 0 22px; font-family: var(--fx-font-display); font-weight: 600; line-height: .98; letter-spacing: -.02em; }
.fx .bf-hero__title .bf-gold { display: block; font-size: clamp(3.2rem, 1.6rem + 6.4vw, 7.4rem); padding-bottom: .06em; }
.fx .bf-hero__sub { display: block; margin-top: 18px; font-size: clamp(1.45rem, 1.1rem + 1.4vw, 2.35rem); line-height: 1.15; letter-spacing: -.01em; color: var(--bf-on-ink); }
.fx .bf-hero__lead { max-width: 36ch; margin: 0 0 var(--fx-space-cta); font-size: var(--fx-step-lead); line-height: 1.6; color: var(--bf-on-ink-muted); }
.fx .bf-hero__lead strong { color: var(--bf-on-ink); font-weight: 700; }
.fx .bf-hero__end { margin: 18px 0 0; font-size: var(--fx-step-meta); letter-spacing: .06em; color: var(--bf-gold-light); }
.fx .bf-hero__end:empty { display: none; }
.fx .bf-hero__media { margin: 0; position: relative; }
.fx .bf-hero__img { display: block; width: 100%; height: auto; border-radius: var(--fx-r-panel); aspect-ratio: 1;
  object-fit: cover; box-shadow: 0 40px 90px -30px rgba(var(--bf-red), .45), 0 0 0 1px var(--bf-line); }

/* Section headings */
.fx .bf-head { max-width: 760px; margin: 0 auto clamp(32px, 2rem + 2vw, 56px); text-align: center; }
.fx .bf-head--left { margin-left: 0; text-align: left; }
.fx .bf-head__title { margin: 0 0 14px; font-family: var(--fx-font-display); font-weight: 600; font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  line-height: 1.08; letter-spacing: -.015em; color: var(--bf-on-ink); }
.fx .bf-head__lead { margin: 0; color: var(--bf-on-ink-muted); font-size: var(--fx-step-body); line-height: 1.65; }

/* Offers */
.fx .bf-offers { padding: var(--fx-section) 0; background: linear-gradient(180deg, #120F15, var(--bf-ink) 30%); }
.fx .bf-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fx-gap); align-items: stretch; }
.fx .bf-card { display: flex; }
.fx .bf-card > article { display: flex; flex-direction: column; width: 100%; overflow: hidden; border-radius: var(--fx-r-card);
  background: var(--bf-ivory); color: #241B2E; box-shadow: 0 24px 60px -36px rgba(0, 0, 0, .8);
  transition: transform .35s var(--fx-ease), box-shadow .35s var(--fx-ease); }
.fx .bf-card > article:hover { transform: translateY(-6px); box-shadow: 0 34px 70px -34px rgba(0, 0, 0, .9); }
.fx .bf-card__media { position: relative; aspect-ratio: 1; background: var(--bf-ivory-2); overflow: hidden; contain: paint; }
.fx .bf-card__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--fx-ease); }
.fx .bf-card > article:hover .bf-card__img { transform: scale(1.035); }
.fx .bf-card__body { display: flex; flex-direction: column; flex: 1; padding: 26px 26px 28px; }
.fx .bf-card__tagline { margin: 0 0 8px; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: #7A6A55; }
.fx .bf-card__title { margin: 0 0 6px; font-family: var(--fx-font-display); font-weight: 600; font-size: 1.45rem; line-height: 1.2; color: #1B1422; }
.fx .bf-card__subtitle { margin: 0 0 10px; font-family: var(--fx-font-display); font-weight: 500; font-size: 1.0625rem; letter-spacing: .01em; color: #6E5A3A; }
.fx .bf-card__includes { margin: 4px 0 6px; font-size: .9rem; line-height: 1.5; color: #3D3346; }
.fx .bf-card__includes span { display: block; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #8C7550; margin-bottom: 2px; }
.fx .bf-card__includes b { color: var(--bf-gold-deep); font-weight: 600; padding: 0 2px; }
.fx .bf-price { display: grid; grid-template-columns: auto 1fr; align-items: baseline; column-gap: 12px; row-gap: 4px; margin: 16px 0 16px; padding-top: 16px; border-top: 1px solid rgba(36, 27, 46, .12); }
.fx .bf-price__now { font-family: var(--fx-font-display); font-weight: 600; font-size: 2.35rem; line-height: 1; letter-spacing: -.02em; color: #1B1422; }
.fx .bf-price__rrp { font-size: .9375rem; color: #6E6274; }
.fx .bf-price__rrp s { text-decoration-thickness: 1.5px; }
.fx .bf-price__save { grid-column: 1 / -1; justify-self: start; padding: 5px 12px; border-radius: 999px; font-size: .8125rem; font-weight: 700;
  letter-spacing: .02em; color: #5B4521; background: rgba(201, 168, 106, .22); }
.fx .bf-klarna { min-height: 24px; margin: -6px 0 18px; }
.fx .bf-klarna:empty { min-height: 0; margin: 0; }
.fx .bf-card__points { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; font-size: .9375rem; color: #3D3346; }
.fx .bf-card__points li { position: relative; padding-left: 20px; }
.fx .bf-card__points li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle, rgba(var(--bf-red), .9), rgba(var(--bf-red), .2)); }
.fx .bf-card__actions { margin-top: auto; display: grid; gap: 10px; }
.fx .bf-card .bf-btn { width: 100%; min-height: 48px; }
.fx .bf-card .bf-btn--ghost { color: #241B2E; border-color: rgba(36, 27, 46, .2); background: transparent; }
.fx .bf-card .bf-btn--ghost:hover { border-color: #241B2E; color: #241B2E; }

/* Featured: the bundle */
.fx .bf-card--featured > article { background: linear-gradient(180deg, var(--bf-ink-3), var(--bf-ink-2)); color: var(--bf-on-ink);
  box-shadow: 0 0 0 1px rgba(201, 168, 106, .55), 0 40px 90px -40px rgba(var(--bf-red), .55); }
.fx .bf-card--featured .bf-card__media { background: radial-gradient(70% 60% at 50% 55%, rgba(var(--bf-red), .30), transparent 70%), var(--bf-ink-2); }
.fx .bf-card--featured .bf-card__img { object-fit: contain; padding: 6% 4% 0; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.fx .bf-card__flag { position: absolute; z-index: 1; top: 16px; left: 16px; padding: 7px 14px; border-radius: 999px; font-size: .75rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--bf-ink); background: linear-gradient(135deg, var(--bf-gold-light), var(--bf-gold)); }
.fx .bf-card--featured .bf-card__tagline { color: var(--bf-gold); }
.fx .bf-card--featured .bf-card__title, .fx .bf-card--featured .bf-price__now { color: var(--bf-on-ink); }
.fx .bf-card--featured .bf-price__rrp { color: var(--bf-on-ink-muted); }
.fx .bf-card--featured .bf-card__subtitle { color: var(--bf-gold-light); }
.fx .bf-card--featured .bf-card__includes { color: var(--bf-on-ink); }
.fx .bf-card--featured .bf-card__includes span { color: var(--bf-gold); }
.fx .bf-card--featured .bf-card__includes b { color: var(--bf-gold-light); }
.fx .bf-card--featured .bf-price { border-top-color: var(--bf-line); }
.fx .bf-card--featured .bf-price__save { color: var(--bf-ink); background: linear-gradient(135deg, var(--bf-gold-light), var(--bf-gold)); }
.fx .bf-card--featured .bf-card__points { color: var(--bf-on-ink-muted); }
.fx .bf-card--featured .bf-btn--ghost { color: var(--bf-on-ink); border-color: var(--bf-line); }
.fx .bf-card--featured .bf-btn--ghost:hover { border-color: var(--bf-gold); color: var(--bf-gold-light); }

/* Why */
.fx .bf-why { padding: var(--fx-section) 0; border-top: 1px solid rgba(255, 255, 255, .06); }
.fx .bf-why__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.fx .bf-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--bf-line); border: 1px solid var(--bf-line); border-radius: var(--fx-r-card); overflow: hidden; }
.fx .bf-fact { display: grid; grid-template-columns: 132px 1fr; grid-template-rows: auto 1fr; column-gap: 24px; padding: 26px 28px; background: var(--bf-ink); }
.fx .bf-fact__n { grid-row: 1 / span 2; font-family: var(--fx-font-display); font-weight: 600; font-size: 3.2rem; line-height: 1; color: transparent;
  background: linear-gradient(160deg, var(--bf-gold-light), var(--bf-gold-deep)); -webkit-background-clip: text; background-clip: text; }
.fx .bf-fact__n--word { font-size: 1.35rem; line-height: 1.2; padding-top: 6px; }
.fx .bf-fact h3 { margin: 0 0 6px; font-family: var(--fx-font-display); font-weight: 600; font-size: 1.15rem; color: var(--bf-on-ink); }
.fx .bf-fact p { margin: 0; color: var(--bf-on-ink-muted); line-height: 1.6; font-size: .9375rem; }

/* Use */
.fx .bf-use { padding: 0 0 var(--fx-section); }
.fx .bf-use__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.fx .bf-use__media { margin: 0; }
.fx .bf-use__img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--fx-r-panel); }
.fx .bf-use__copy p { color: var(--bf-on-ink-muted); line-height: 1.7; margin: 0 0 var(--fx-space-cta); max-width: 46ch; }
.fx .bf-use__copy strong { color: var(--bf-on-ink); }

/* Ordering */
.fx .bf-order { padding: clamp(48px, 3rem + 2vw, 88px) 0; background: var(--bf-ink-2); border-top: 1px solid var(--bf-line); }
.fx .bf-order__inner { max-width: 880px; }
.fx .bf-order__title { margin: 0 0 22px; font-family: var(--fx-font-display); font-weight: 600; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--bf-on-ink); }
.fx .bf-steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--fx-gap); }
.fx .bf-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: start; color: var(--bf-on-ink-muted); line-height: 1.6; }
.fx .bf-steps li p { margin: 0; }
.fx .bf-steps li span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--bf-gold);
  color: var(--bf-gold-light); font-family: var(--fx-font-display); font-weight: 600; }
.fx .bf-small { margin: 0; font-size: .8125rem; line-height: 1.65; color: rgba(245, 241, 234, .58); max-width: 80ch; }

/* FAQs */
.fx .bf-faq { padding: var(--fx-section) 0; border-top: 1px solid var(--bf-line);
  background: radial-gradient(60% 50% at 50% 0%, rgba(201, 168, 106, .07), transparent 70%), var(--bf-ink); }
.fx .bf-faq__inner { max-width: 880px; }
.fx .bf-faq__list { border-top: 1px solid var(--bf-line); }
.fx .bf-faq__item { border-bottom: 1px solid var(--bf-line); }
.fx .bf-faq__q { margin: 0; font: inherit; }
.fx .bf-faq__btn { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 4px;
  border: 0; background: none; color: var(--bf-on-ink); text-align: left; cursor: pointer;
  font-family: var(--fx-font-display); font-weight: 600; font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.35;
  transition: color .25s var(--fx-ease); }
.fx .bf-faq__btn:hover, .fx .bf-faq__btn[aria-expanded="true"] { color: var(--bf-gold-light); }
.fx .bf-faq__btn:focus-visible { outline: 2px solid var(--bf-gold-light); outline-offset: 2px; border-radius: 6px; }
.fx .bf-faq__icon { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--bf-gold);
  transition: transform .35s var(--fx-ease), background-color .25s; }
.fx .bf-faq__icon::before, .fx .bf-faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px;
  background: var(--bf-gold-light); transform: translate(-50%, -50%); transition: transform .35s var(--fx-ease); }
.fx .bf-faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.fx .bf-faq__btn[aria-expanded="true"] .bf-faq__icon { background: rgba(201, 168, 106, .14); }
.fx .bf-faq__btn[aria-expanded="true"] .bf-faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
/* Smooth height: grid row 0fr -> 1fr (no fixed heights, works for any answer length). */
.fx .bf-faq__list.is-enhanced .bf-faq__a { display: grid; grid-template-rows: 0fr; opacity: 0;
  transition: grid-template-rows .38s var(--fx-ease), opacity .3s var(--fx-ease); }
.fx .bf-faq__list.is-enhanced .bf-faq__a.is-open { grid-template-rows: 1fr; opacity: 1; }
.fx .bf-faq__a-inner { min-height: 0; overflow: hidden; }
.fx .bf-faq__a p { margin: 0 4px 22px; max-width: 68ch; color: var(--bf-on-ink-muted); line-height: 1.7; font-size: var(--fx-step-body); }
.fx .bf-faq__a strong { color: var(--bf-on-ink); }
@media (prefers-reduced-motion: reduce) {
  .fx .bf-faq__list.is-enhanced .bf-faq__a, .fx .bf-faq__icon, .fx .bf-faq__icon::before, .fx .bf-faq__icon::after { transition: none; }
}

/* Ended */
.fx .bf-ended { padding: clamp(80px, 6rem + 4vw, 168px) 0; text-align: center;
  background: radial-gradient(60% 70% at 50% 0%, rgba(var(--bf-red), .14), transparent 70%), var(--bf-ink); }
.fx .bf-ended__inner { max-width: 640px; }
.fx .bf-ended__title { margin: 0 0 16px; font-family: var(--fx-font-display); font-weight: 600; font-size: clamp(2rem, 1.4rem + 2.4vw, 3.2rem); color: var(--bf-on-ink); }
.fx .bf-ended p { color: var(--bf-on-ink-muted); line-height: 1.7; margin: 0 0 var(--fx-space-cta); }
.fx .bf-ended .bf-actions { justify-content: center; }

/* Entrance */
.fx .bf-rise { animation: bf-rise .9s var(--fx-ease) both; animation-delay: calc(var(--d, 0) * 110ms + 80ms); }
@keyframes bf-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Responsive */
@media (max-width: 1099px) {
  .fx .bf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fx .bf-card--featured { grid-column: 1 / -1; order: -1; }
  .fx .bf-card--featured > article { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .fx .bf-card--featured .bf-card__media { aspect-ratio: auto; min-height: 100%; }
  .fx .bf-why__grid, .fx .bf-use__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .fx .bf-hero__grid { grid-template-columns: minmax(0, 1fr); }
  .fx .bf-hero__media { order: -1; max-width: 520px; }
  .fx .bf-hero__glow { top: 22%; right: 0; left: 0; margin-inline: auto; transform: translateY(-50%); width: 100%; }
  .fx .bf-grid { grid-template-columns: minmax(0, 1fr); }
  .fx .bf-card--featured > article { display: flex; }
  .fx .bf-card--featured .bf-card__media { aspect-ratio: 1; min-height: 0; }   /* reset the tablet layout's min-height:100% */
  .fx .bf-fact { grid-template-columns: 92px 1fr; padding: 22px 20px; column-gap: 16px; }
  .fx .bf-fact__n { font-size: 2.6rem; }
  .fx .bf-fact__n--word { font-size: 1.05rem; }
  .fx .bf-steps { grid-template-columns: minmax(0, 1fr); }
  .fx .bf-actions .bf-btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .fx .bf-rise, .fx .bf-gold, .fx .bf-hero__glow span { animation: none; }
  .fx .bf-card > article, .fx .bf-card__img, .fx .bf-btn { transition: none; }
}

/* ── Online ordering (black_friday_shop.py, static/black-friday-shop.js) ───────────────────────────────── */
/* Card: quantity + Buy now / Add to basket */
.fx .bf-buy { margin-top: auto; display: grid; gap: 12px; }
.fx .bf-qty { display: inline-flex; align-items: center; justify-self: start; border: 1px solid rgba(36, 27, 46, .2); border-radius: 999px; overflow: hidden; }
.fx .bf-qty__btn { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; font-size: 1.25rem; line-height: 1; cursor: pointer;
  transition: background-color .2s, color .2s; }
.fx .bf-qty__btn:hover:not(:disabled) { background: rgba(201, 168, 106, .18); }
.fx .bf-qty__btn:disabled { opacity: .35; cursor: default; }
.fx .bf-qty__btn:focus-visible, .fx .bf-qty__input:focus-visible { outline: 2px solid var(--bf-gold); outline-offset: -2px; }
.fx .bf-qty__input, .fx .bf-qty__val { width: 44px; height: 44px; border: 0; background: transparent; color: inherit; text-align: center;
  font: 600 1rem/44px var(--fx-font-display); -moz-appearance: textfield; appearance: textfield; }
.fx .bf-qty__input::-webkit-outer-spin-button, .fx .bf-qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.fx .bf-card__actions--buy { grid-template-columns: minmax(0, 1fr); margin-top: 0; }
.fx .bf-card .bf-btn.is-added { border-color: var(--bf-gold-deep); color: var(--bf-gold-deep); }
.fx .bf-card__alt { margin: 12px 0 0; font-size: .8125rem; color: #6E6274; }
.fx.bf .bf-main .bf-card__alt a { color: #5B4521; font-weight: 600; }
.fx .bf-card__status { margin: 0 0 12px; padding: 10px 14px; border-radius: 10px; font-size: .875rem; line-height: 1.5;
  color: #5B4521; background: rgba(201, 168, 106, .16); }
.fx .bf-card--featured .bf-qty { border-color: var(--bf-line); }
.fx .bf-card--featured .bf-card__alt { color: var(--bf-on-ink-muted); }
.fx.bf .bf-main .bf-card--featured .bf-card__alt a { color: var(--bf-gold-light); }
.fx .bf-card--featured .bf-card__status { color: var(--bf-gold-light); background: rgba(201, 168, 106, .12); }
.fx .bf-card--featured .bf-btn.is-added { border-color: var(--bf-gold); color: var(--bf-gold-light); }

/* Basket bar (offers page) */
.fx .bf-basketbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 12px 0 calc(12px + env(safe-area-inset-bottom));
  background: rgba(13, 11, 15, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid var(--bf-line);
  animation: bf-rise .45s var(--fx-ease) both; }
.fx .bf-basketbar[hidden] { display: none; }
.fx .bf-basketbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fx .bf-basketbar__msg { margin: 0; color: var(--bf-on-ink); font-weight: 600; }
.fx .bf-basketbar__msg span { color: var(--bf-gold-light); }
.fx .bf-basketbar .bf-btn { min-height: 46px; }

/* Checkout + order pages */
.fx.bf-shop .bf-main { background: radial-gradient(70% 40% at 85% 0%, rgba(var(--bf-red), .10), transparent 65%), var(--bf-ink); }
.fx .bf-co { padding: clamp(28px, 2rem + 2vw, 64px) 0 var(--fx-section); }
.fx .bf-co__back { display: inline-block; margin-bottom: 22px; font-size: .875rem; text-decoration: none; }
.fx .bf-co__title { margin: 0 0 clamp(22px, 1.5rem + 1vw, 36px); font-family: var(--fx-font-display); font-weight: 600;
  font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); line-height: 1.05; letter-spacing: -.015em; color: var(--bf-on-ink); }
.fx .bf-co__notice { margin: 0 0 22px; padding: 14px 18px; border-radius: 12px; border: 1px solid rgba(201, 168, 106, .45);
  background: rgba(201, 168, 106, .10); color: var(--bf-on-ink); line-height: 1.55; }
.fx .bf-co__empty { padding: 40px 0; color: var(--bf-on-ink-muted); }
.fx .bf-co__empty p { margin: 0 0 20px; font-size: 1.125rem; }
.fx .bf-co__grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3vw, 44px); align-items: start; }
.fx .bf-co__main { display: grid; gap: 18px; min-width: 0; }
.fx .bf-co__link { padding: 0; border: 0; background: none; color: var(--bf-gold-light); font: inherit; font-size: .875rem; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; }
.fx .bf-co__link:disabled { opacity: .4; cursor: default; }
.fx .bf-panel { padding: clamp(20px, 1rem + 1.5vw, 32px); border: 1px solid var(--bf-line); border-radius: var(--fx-r-card);
  background: linear-gradient(180deg, var(--bf-ink-3), var(--bf-ink-2)); }
.fx .bf-panel__title { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font-family: var(--fx-font-display); font-weight: 600;
  font-size: 1.25rem; color: var(--bf-on-ink); }
.fx .bf-panel__title span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--bf-gold);
  color: var(--bf-gold-light); font-size: .9rem; }
.fx .bf-panel__hint { margin: 0; color: var(--bf-on-ink-muted); }
.fx .bf-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--bf-line); }
.fx .bf-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 18px; align-items: center; padding: 16px 0; background: var(--bf-ink-3); }
.fx .bf-lines .bf-line:first-child { padding-top: 0; }
.fx .bf-line__img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; background: var(--bf-ivory-2); }
.fx .bf-line__name { margin: 0; font-family: var(--fx-font-display); font-weight: 600; color: var(--bf-on-ink); }
.fx .bf-line__sub { margin: 2px 0 0; font-size: .875rem; color: var(--bf-gold-light); }
.fx .bf-line__price { margin: 6px 0 0; display: flex; gap: 10px; align-items: baseline; font-size: .9375rem; }
.fx .bf-line__unit { color: var(--bf-on-ink); font-weight: 600; }
.fx .bf-line__rrp { color: var(--bf-on-ink-muted); font-size: .8125rem; }
.fx .bf-line__ctl { display: grid; justify-items: center; gap: 6px; }
.fx .bf-line .bf-qty { border-color: var(--bf-line); color: var(--bf-on-ink); }
.fx .bf-line__total { margin: 0; min-width: 84px; text-align: right; font-family: var(--fx-font-display); font-weight: 600; font-size: 1.125rem; color: var(--bf-on-ink); }
.fx .bf-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.fx .bf-field { display: grid; gap: 6px; }
.fx .bf-field--wide { grid-column: 1 / -1; }
.fx .bf-field label { font-size: .875rem; font-weight: 600; color: var(--bf-on-ink); }
.fx .bf-field label small { font-weight: 400; color: var(--bf-on-ink-muted); }
.fx .bf-field input { width: 100%; min-height: 50px; padding: 0 14px; border: 1px solid rgba(232, 213, 166, .28); border-radius: 10px;
  background: rgba(13, 11, 15, .6); color: var(--bf-on-ink); font: inherit; font-size: 1rem; transition: border-color .2s, box-shadow .2s; }
.fx .bf-field input:focus { outline: none; border-color: var(--bf-gold); box-shadow: 0 0 0 3px rgba(201, 168, 106, .22); }
.fx .bf-field input:disabled { opacity: .6; }
.fx .bf-form.was-checked input:invalid { border-color: #F08A80; }
.fx .bf-form__country { margin: -4px 0 0; font-size: .8125rem; color: var(--bf-on-ink-muted); }
.fx .bf-check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: .9rem; line-height: 1.55; color: var(--bf-on-ink-muted); }
.fx .bf-check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--bf-gold); }
.fx .bf-field__error { margin: 0; padding: 10px 14px; border-radius: 10px; background: rgba(240, 138, 128, .12); color: #F6B3AB; font-size: .9rem; line-height: 1.5; }
.fx .bf-form .bf-btn, .fx .bf-pay__btn { width: 100%; }
.fx .bf-btn, .fx .bf-qty__btn { -webkit-user-select: none; user-select: none; }
.fx .bf-btn:disabled { opacity: .55; cursor: default; transform: none; }
.fx .bf-pay__timer { margin: 0 0 16px; font-size: .875rem; color: var(--bf-gold-light); }
.fx .bf-pay__element { min-height: 120px; margin-bottom: 18px; }
.fx .bf-pay__btn { margin: 4px 0 14px; font-size: 1.0625rem; }
.fx .bf-summary { position: sticky; top: 96px; padding: clamp(20px, 1rem + 1.5vw, 30px); border-radius: var(--fx-r-card); color: var(--bf-on-ink);
  background: linear-gradient(180deg, #1A1620, var(--bf-ink-2)); box-shadow: 0 0 0 1px rgba(201, 168, 106, .45), 0 30px 70px -40px rgba(var(--bf-red), .5); }
.fx .bf-summary .bf-summary__title, .fx .bf-panel .bf-panel__title { color: var(--bf-on-ink); }
.fx .bf-summary__title { margin: 0 0 16px; font-family: var(--fx-font-display); font-weight: 600; font-size: 1.25rem; }
.fx .bf-summary__rows { margin: 0; display: grid; gap: 12px; }
.fx .bf-summary__rows > div { display: flex; justify-content: space-between; gap: 16px; }
.fx .bf-summary__rows > div[hidden] { display: none; }
.fx .bf-summary__rows dt { color: var(--bf-on-ink-muted); }
.fx .bf-summary__rows dt small { display: block; font-size: .75rem; }
.fx .bf-summary__rows dd { margin: 0; font-weight: 600; text-align: right; }
.fx .bf-summary__save dd { color: var(--bf-gold-light); }
.fx .bf-summary__total { margin-top: 4px; padding-top: 14px; border-top: 1px solid var(--bf-line); }
.fx .bf-summary__total dt { color: var(--bf-on-ink); font-weight: 600; }
.fx .bf-summary__total dd { font-family: var(--fx-font-display); font-size: 1.75rem; line-height: 1; }
.fx .bf-summary__vat { margin: 14px 0 0; font-size: .8125rem; line-height: 1.55; color: var(--bf-on-ink-muted); }
.fx .bf-summary__trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--bf-line); display: grid; gap: 8px;
  font-size: .8125rem; color: var(--bf-on-ink-muted); }
.fx .bf-summary__trust li { position: relative; padding-left: 18px; }
.fx .bf-summary__trust li::before { content: ""; position: absolute; left: 0; top: .5em; width: 7px; height: 7px; border-radius: 50%; background: var(--bf-gold); }

/* Order page */
.fx .bf-done__inner { max-width: 720px; text-align: center; }
.fx .bf-done__mark { width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%; border: 2px solid var(--bf-gold); position: relative; }
.fx .bf-done__mark::after { content: ""; position: absolute; inset: 14px; border-radius: 50%; border: 3px solid var(--bf-gold-light);
  border-right-color: transparent; animation: bf-spin 1s linear infinite; }
.fx .bf-done__mark--paid { background: radial-gradient(circle, rgba(201, 168, 106, .25), transparent 70%); }
.fx .bf-done__mark--paid::after { inset: 20px 24px 26px; border: 0; border-bottom: 4px solid var(--bf-gold-light); border-right: 4px solid var(--bf-gold-light);
  border-radius: 0; transform: rotate(45deg) translate(-2px, -3px); width: 14px; height: 26px; margin: auto; animation: none; }
.fx .bf-done__mark--cancelled::after, .fx .bf-done__mark--review::after, .fx .bf-done__mark--unknown::after { content: "!"; inset: 0; border: 0;
  display: grid; place-items: center; font: 700 2rem/1 var(--fx-font-display); color: var(--bf-gold-light); animation: none; }
@keyframes bf-spin { to { transform: rotate(360deg); } }
.fx .bf-done__lead { margin: -14px auto 28px; max-width: 52ch; color: var(--bf-on-ink-muted); line-height: 1.65; }
.fx .bf-done__order { text-align: left; margin-bottom: 28px; }
.fx .bf-done__number { margin: 0 0 14px; color: var(--bf-on-ink-muted); }
.fx .bf-done__number strong { color: var(--bf-gold-light); letter-spacing: .04em; }
.fx .bf-done__items { list-style: none; margin: 0 0 16px; padding: 0 0 16px; border-bottom: 1px solid var(--bf-line); display: grid; gap: 8px; }
.fx .bf-done__items li { display: flex; justify-content: space-between; gap: 16px; color: var(--bf-on-ink); }
.fx .bf-done__ship { margin: 16px 0 0; font-size: .9rem; color: var(--bf-on-ink-muted); }
.fx .bf-done__actions { justify-content: center; }

@media (max-width: 1099px) {
  .fx .bf-co__grid { grid-template-columns: minmax(0, 1fr); }
  .fx .bf-summary { position: static; order: -1; }
}
@media (max-width: 760px) {
  .fx .bf-card__actions--buy { grid-template-columns: minmax(0, 1fr); }
  .fx .bf-line { grid-template-columns: 72px minmax(0, 1fr); gap: 10px 14px; }
  .fx .bf-line__img { width: 72px; height: 72px; }
  .fx .bf-line__ctl { grid-column: 2; justify-items: start; grid-auto-flow: column; align-items: center; gap: 14px; }
  .fx .bf-line__total { grid-column: 2; text-align: left; }
  .fx .bf-form { grid-template-columns: minmax(0, 1fr); }
  .fx .bf-field { grid-column: 1 / -1; }
  .fx .bf-basketbar .bf-btn { flex: none; padding: 0 20px; }
  .fx.bf .bf-main:has(.bf-basketbar:not([hidden])) { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .fx .bf-basketbar, .fx .bf-done__mark::after { animation: none; }
}
