/*
 * Black Friday 2026 — deal tickets on a midnight board.
 * Loaded only on page-black-friday-2026.php (see inc/hooks.php).
 *
 * Contents
 *   1. Tokens and base
 *   2. Shared pieces (wrap, buttons, headings, countdown)
 *   3. Header
 *   4. Hero, bundle ticket and countdown board
 *   5. Deal tickets
 *   6. Guarantees, FAQ, footer
 *   7. Campaign states (final hours, ended)
 *   8. Responsive and reduced motion
 */

/* 1. Tokens and base ------------------------------------------------------ */
.sigma-bf2026 {
  --bf-bg: #0a1430;
  --bf-raised: #13204a;
  --bf-line: rgba(255, 255, 255, 0.1);
  --bf-text: #eef2ff;
  --bf-muted: #aab6d9;
  --bf-sale: #ffd23f;
  --bf-sale-hover: #ffdf6e;
  --bf-sky: #4cc3ff;
  --bf-mint: #2bd4a0;
  --bf-alert: #ff6b6b;
  --bf-ink: #0e1630;
  --bf-slate: #4a5578;
  --bf-paper: #ffffff;
  --bf-stub: #f4f7fd;
  --bf-blue: #1d4ed8;
  --bf-red: #d92d4a;
  --bf-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --bf-body: Poppins, system-ui, sans-serif;

  margin: 0;
  background: var(--bf-bg);
  color: var(--bf-text);
  font: 400 16px/1.6 var(--bf-body);
  -webkit-font-smoothing: antialiased;
}
.sigma-bf2026 *,
.sigma-bf2026 *::before,
.sigma-bf2026 *::after {
  box-sizing: border-box;
}
.sigma-bf2026 [hidden] {
  display: none !important;
}
:where(.sigma-bf2026) :is(h1, h2, h3, p, ul, fieldset) {
  margin: 0;
}
.sigma-bf2026 :is(a, button, input, select, summary):focus-visible {
  outline: 3px solid var(--bf-sky);
  outline-offset: 3px;
}
html:has(.sigma-bf2026) {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}
.bf-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.bf-skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 10px;
  background: var(--bf-sale);
  color: var(--bf-ink);
  font-weight: 600;
}
.bf-skip:focus {
  top: 12px;
}

/* 2. Shared pieces -------------------------------------------------------- */
.bf-wrap {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.bf-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 28px;
  border: 0;
  border-radius: 12px;
  font: 600 15px/1.3 var(--bf-body);
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.15s,
    transform 0.15s,
    box-shadow 0.15s;
}
.bf-button:not(:disabled):hover {
  transform: translateY(-1px);
}
.bf-button--sale {
  background: var(--bf-sale);
  color: var(--bf-ink);
  box-shadow: 0 10px 30px -12px rgba(255, 210, 63, 0.7);
}
.bf-button--sale:hover {
  background: var(--bf-sale-hover);
}
.bf-h2 {
  font: 900 clamp(46px, 6vw, 76px) / 0.92 var(--bf-display);
  text-transform: uppercase;
  letter-spacing: 0.005em;
  color: var(--bf-text);
}

/* Countdown digits: one markup, two sizes. */
.bf-countdown {
  display: flex;
  font-variant-numeric: tabular-nums;
}
.bf-countdown strong {
  font-family: var(--bf-display);
  font-weight: 800;
}
.bf-countdown--compact {
  align-items: baseline;
  gap: 6px;
}
.bf-countdown--compact .bf-countdown__unit {
  display: inline-flex;
  align-items: baseline;
  gap: 1px;
}
.bf-countdown--compact strong {
  font-size: 24px;
  line-height: 1;
  color: var(--bf-sale);
}
.bf-countdown--compact small {
  font-size: 12px;
  color: var(--bf-muted);
}

/* 3. Header ---------------------------------------------------- */
.bf-header {
  border-bottom: 1px solid var(--bf-line);
}
.bf-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}
.bf-header__logo img {
  display: block;
  width: 168px;
  height: auto;
}
.bf-header__deadline {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-left: auto;
}
.bf-header__label {
  font-size: 13px;
  color: var(--bf-muted);
}

/* 4. Hero ----------------------------------------------------------------- */
.bf-hero {
  padding: 72px 0 64px;
}
.bf-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}
.bf-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 32px;
  padding: 6px 14px 6px 12px;
  border: 1px solid rgba(255, 210, 63, 0.4);
  border-radius: 999px;
  color: var(--bf-sale);
  font-size: 13px;
  font-weight: 500;
}
.bf-live__dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.bf-live__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: currentColor;
  animation: bf-ping 1.8s ease-out infinite;
}
@keyframes bf-ping {
  to {
    transform: scale(3);
    opacity: 0;
  }
}
.bf-hero__title {
  font-family: var(--bf-display);
  text-transform: uppercase;
  line-height: 0.84;
  color: var(--bf-text);
  font-size: clamp(64px, 9vw, 110px);
  font-weight: 900;
}
.bf-hero__title-small {
  display: block;
  margin-bottom: 6px;
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--bf-muted);
}
.bf-hero__title-big {
  display: block;
  font-size: clamp(104px, 15vw, 196px);
  letter-spacing: -0.01em;
}
.bf-hero__lead {
  max-width: 50ch;
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--bf-muted);
}
.bf-hero__lead strong {
  color: var(--bf-text);
  font-weight: 600;
}
.bf-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin-top: 36px;
}

/* Bundle preview ticket. */
.bf-hero__ticket {
  position: relative;
  justify-self: center;
  display: flex;
  flex-direction: column;
  width: min(100%, 360px);
  border-radius: 22px;
  background: var(--bf-paper);
  color: var(--bf-ink);
  text-decoration: none;
  transform: rotate(-3deg);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.75);
  transition: transform 0.25s;
}
.bf-hero__ticket:hover {
  transform: rotate(-1deg) translateY(-4px);
}
.bf-hero__ticket-top {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 30px 28px 26px;
}
.bf-hero__ticket-icons {
  display: flex;
  margin-bottom: 14px;
}
.bf-hero__ticket-name {
  font: 700 32px/1.15 var(--bf-body);
  letter-spacing: -0.03em;
}
.bf-hero__ticket-desc {
  max-width: 24ch;
  font-size: 14px;
  line-height: 1.55;
  color: var(--bf-slate);
}
.bf-hero__ticket-stub {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px 26px;
  border-radius: 0 0 22px 22px;
  background: var(--bf-stub);
}
.bf-hero__ticket-stub {
  background:
    linear-gradient(90deg, #c9d2e8 55%, transparent 0) top center / 11px 2px repeat-x,
    var(--bf-stub);
}
.bf-hero__ticket-price {
  display: grid;
}
.bf-hero__ticket-price del {
  font-size: 15px;
  color: var(--bf-red);
  text-decoration-thickness: 2px;
}
.bf-hero__ticket-price strong {
  font: 700 36px/1.15 var(--bf-body);
  letter-spacing: -0.035em;
}
.bf-hero__ticket-price small {
  font-size: 12px;
  color: var(--bf-slate);
}
.bf-hero__ticket-go {
  font-size: 13px;
  font-weight: 600;
  color: var(--bf-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
/* Ticket notches: circles in the page colour punched into both edges at the tear line. */
.bf-hero__ticket-stub::before,
.bf-hero__ticket-stub::after,
.bf-ticket__tear::before,
.bf-ticket__tear::after {
  content: "";
  position: absolute;
  top: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--bf-bg);
  transform: translateY(-50%);
}
.bf-hero__ticket-stub::before {
  left: -13px;
}
.bf-hero__ticket-stub::after {
  right: -13px;
}

.bf-stamp {
  position: absolute;
  top: -34px;
  right: -26px;
  z-index: 2;
  display: grid;
  place-items: center;
  align-content: center;
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: var(--bf-sale);
  color: var(--bf-ink);
  box-shadow:
    0 0 0 6px var(--bf-bg),
    0 0 0 7px rgba(255, 210, 63, 0.5);
  transform: rotate(12deg);
  animation: bf-stamp 0.55s cubic-bezier(0.2, 1.4, 0.4, 1) 0.35s both;
}
.bf-stamp span {
  font-size: 13px;
  font-weight: 600;
}
.bf-stamp strong {
  font: 900 50px/0.9 var(--bf-display);
}
@keyframes bf-stamp {
  from {
    opacity: 0;
    transform: rotate(-10deg) scale(1.8);
  }
}

/* Product icon chips, shared by hero and tickets. Colours match the homepage plugin cards. */
.bf-hero__ticket-icons img,
.bf-ticket__icons img {
  position: relative;
  width: 58px;
  height: 58px;
  padding: 7px;
  border-radius: 16px;
  object-fit: contain;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}
.sigma-bf2026 img.bf-icon-adbc {
  background: linear-gradient(to bottom right, #06b6d4, #0369a1);
}
.sigma-bf2026 img.bf-icon-woo {
  background: linear-gradient(to bottom right, #3b82f6, #1d4ed8);
}
/* Bundle pair: Advanced Database Cleaner first, then "+", then WOptimize. */
.bf-hero__ticket-icons,
.bf-ticket__icons {
  align-items: center;
}
.bf-plus {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-inline: 6px;
  border-radius: 50%;
  background: #e4e9f5;
  color: var(--bf-ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1;
}
/* "– Premium" after product names. */
.bf-ticket__edition {
  font-size: 0.62em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--bf-slate);
  white-space: nowrap;
}

/* Departure-board countdown. */
.bf-board {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 72px;
  padding: 26px 30px;
  border: 1px solid var(--bf-line);
  border-radius: 20px;
  background: var(--bf-raised);
}
.bf-board__label {
  font: 800 34px/1 var(--bf-display);
  text-transform: uppercase;
  color: var(--bf-text);
}
.bf-board__date {
  margin-top: 8px;
  font-size: 14px;
  color: var(--bf-muted);
}
.bf-countdown--board {
  gap: 10px;
}
.bf-countdown--board .bf-countdown__unit {
  position: relative;
  display: grid;
  justify-items: center;
  min-width: 108px;
  padding: 14px 10px 10px;
  border: 1px solid var(--bf-line);
  border-radius: 12px;
  background: var(--bf-bg);
}
/* The split-flap hinge. */
.bf-countdown--board .bf-countdown__unit::before {
  content: "";
  position: absolute;
  inset: 42% 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.bf-countdown--board strong {
  font-size: 68px;
  font-weight: 900;
  line-height: 0.95;
  color: var(--bf-sale);
}
.bf-countdown--board small {
  margin-top: 4px;
  font-size: 12px;
  color: var(--bf-muted);
}

/* 5. Deal tickets --------------------------------------------------------- */
.bf-deals {
  padding: 104px 0 72px;
}
.bf-deals__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 48px;
}
.bf-deals__head p {
  max-width: 42ch;
  color: var(--bf-muted);
  font-size: 15px;
}
.bf-deals__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: repeat(4, auto);
  column-gap: 24px;
}
.bf-deals__tax {
  margin-top: 28px;
  text-align: center;
  font-size: 13px;
  color: var(--bf-muted);
}
/* Each ticket shares the grid's rows, so product tops, tear lines and stubs align across columns. */
.bf-ticket {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: 2 / span 3;
  scroll-margin-top: 32px;
  border-radius: 22px;
  background: var(--bf-paper);
  color: var(--bf-ink);
  box-shadow: 0 30px 60px -32px rgba(0, 0, 0, 0.7);
}
.bf-ticket--featured {
  grid-row: 1 / span 4;
  box-shadow:
    0 0 0 3px var(--bf-sale),
    0 40px 90px -30px rgba(255, 210, 63, 0.35);
}
.bf-ticket__flag {
  padding: 12px 20px;
  border-radius: 20px 20px 0 0;
  background: var(--bf-sale);
  color: var(--bf-ink);
  font: 800 21px/1.1 var(--bf-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-align: center;
}
.bf-ticket__top {
  padding: 28px 28px 24px;
}
.bf-ticket__brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.bf-ticket__icons {
  display: flex;
  flex: none;
}
.bf-ticket__discount {
  padding: 4px 12px;
  border-radius: 8px;
  background: var(--bf-ink);
  color: var(--bf-sale);
  font: 900 34px/1 var(--bf-display);
  transform: rotate(-3deg);
}
.bf-ticket--featured .bf-ticket__discount {
  background: var(--bf-sale);
  color: var(--bf-ink);
  font-size: 40px;
}
.bf-ticket__for {
  font-size: 13px;
  font-weight: 600;
  color: var(--bf-blue);
}
.bf-ticket__name {
  margin: 6px 0 12px;
  font: 700 26px/1.2 var(--bf-body);
  letter-spacing: -0.025em;
}
.bf-ticket__name a {
  color: inherit;
  text-decoration: none;
}
.bf-ticket__name a:hover {
  color: var(--bf-blue);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.bf-ticket__desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--bf-slate);
}
.bf-ticket__features {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  line-height: 1.5;
}
.bf-ticket__features li {
  display: flex;
  gap: 10px;
}
.bf-ticket__features svg {
  flex: none;
  margin-top: 3px;
  color: #059669;
}
.bf-ticket__tear {
  position: relative;
  height: 0;
  margin-inline: 22px;
  border-top: 2px dashed #c9d2e8;
}
.bf-ticket__tear::before {
  left: -35px;
}
.bf-ticket__tear::after {
  right: -35px;
}
.bf-ticket__stub {
  display: flex;
  flex-direction: column;
  padding: 26px 28px 26px;
  border-radius: 0 0 22px 22px;
  background: var(--bf-stub);
}

/* Pickers. */
.bf-pickers {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}
.bf-picker {
  min-width: 0;
  padding: 0;
  border: 0;
}
.bf-picker__legend {
  display: block;
  margin-bottom: 8px;
  padding: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--bf-slate);
}
.bf-segmented {
  display: grid;
  gap: 4px;
  padding: 4px;
  border-radius: 12px;
  background: #e4e9f5;
}
.bf-segmented--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.bf-segmented--2 {
  display: inline-grid;
  grid-template-columns: auto auto;
}
.bf-segmented.bf-segmented--2 span {
  padding-inline: 24px;
}
.bf-segmented label {
  position: relative;
  cursor: pointer;
}
.bf-segmented input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: inherit;
}
.bf-segmented span {
  display: block;
  padding: 8px 2px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
  color: var(--bf-slate);
  transition:
    background-color 0.15s,
    color 0.15s;
}
.bf-segmented label:hover span {
  color: var(--bf-ink);
}
.bf-segmented input:checked + span {
  background: #fff;
  color: var(--bf-blue);
  box-shadow: inset 0 0 0 2px var(--bf-blue);
}
.bf-segmented input:disabled + span {
  opacity: 0.4;
  text-decoration: line-through;
}
.bf-segmented label:has(input:disabled) {
  cursor: not-allowed;
}
.bf-segmented input:focus-visible + span {
  outline: 3px solid var(--bf-blue);
  outline-offset: 2px;
}
.bf-select {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c9d2e8;
  border-radius: 10px;
  background: #fff;
  color: var(--bf-ink);
  font: 400 14px var(--bf-body);
}

/* Price stub. */
.bf-price__was {
  min-height: 26px;
}
.bf-price__was del {
  font-size: 18px;
  font-weight: 500;
  color: var(--bf-red);
  text-decoration-line: line-through;
  text-decoration-thickness: 2px;
}
.bf-price__now {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
}
.bf-price__now strong {
  font: 700 46px/1.1 var(--bf-body);
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.bf-price__now span {
  font-size: 14px;
  color: var(--bf-slate);
}
.bf-price__saving {
  display: inline-block;
  margin-top: 12px;
  padding: 5px 10px;
  border-radius: 8px;
  background: #d9f6ea;
  color: #046c4e;
  font-size: 13px;
  font-weight: 600;
}
.bf-price__renewal {
  min-height: 42px;
  margin-top: 10px;
  font-size: 13px;
  line-height: 1.6;
  color: var(--bf-slate);
}
.bf-ticket:not(.bf-enhanced) .bf-price {
  display: none;
}
.bf-ticket__buy {
  width: 100%;
  min-height: 56px;
  margin-top: auto;
  background: var(--bf-blue);
  color: #fff;
  font-size: 16px;
}
.bf-ticket__buy:not(:disabled):hover {
  background: var(--bf-ink);
}
.bf-ticket--featured .bf-ticket__buy {
  background: var(--bf-sale);
  color: var(--bf-ink);
}
.bf-ticket--featured .bf-ticket__buy:not(:disabled):hover {
  background: var(--bf-sale-hover);
}
.bf-ticket__buy:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}
.bf-ticket__note {
  margin-top: 12px;
  font-size: 12px;
  text-align: center;
  color: var(--bf-slate);
}
.bf-ticket__note b {
  font-weight: 600;
  color: var(--bf-ink);
}

@supports not (grid-template-rows: subgrid) {
  .bf-ticket,
  .bf-ticket--featured {
    display: flex;
    flex-direction: column;
    grid-row: auto;
    align-self: end;
  }
  .bf-ticket__stub {
    flex: 1;
  }
}

/* 6. Guarantees, FAQ, footer --------------------------------- */
.bf-guarantees {
  border-block: 1px solid var(--bf-line);
}
.bf-guarantees__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
  padding-block: 52px;
  list-style: none;
}
.bf-guarantees svg {
  color: var(--bf-sale);
}
.bf-guarantees h3 {
  margin: 14px 0 6px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}
.bf-guarantees p {
  font-size: 14px;
  color: var(--bf-muted);
}

.bf-faq {
  padding: 104px 0;
}
.bf-faq__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 64px;
}
.bf-faq__intro p {
  max-width: 34ch;
  margin-top: 20px;
  color: var(--bf-muted);
}
.bf-faq a {
  color: var(--bf-sky);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.bf-faq details {
  border-bottom: 1px solid var(--bf-line);
}
.bf-faq details:first-child {
  border-top: 1px solid var(--bf-line);
}
.bf-faq summary {
  position: relative;
  padding: 22px 48px 22px 0;
  font-size: 17px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
}
.bf-faq summary::-webkit-details-marker {
  display: none;
}
.bf-faq summary::after {
  content: "";
  position: absolute;
  right: 6px;
  top: 50%;
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--bf-sale);
  border-bottom: 2px solid var(--bf-sale);
  transform: translateY(-75%) rotate(45deg);
  transition: transform 0.2s;
}
.bf-faq details[open] summary::after {
  transform: translateY(-25%) rotate(-135deg);
}
.bf-faq summary:hover {
  color: var(--bf-sale);
}
.bf-faq details p {
  max-width: 62ch;
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.75;
  color: var(--bf-muted);
}

.bf-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 32px;
  font-size: 13px;
  color: var(--bf-muted);
}
.bf-footer nav {
  display: flex;
  gap: 24px;
}
.bf-footer a {
  color: inherit;
  text-decoration: none;
}
.bf-footer a:hover {
  color: var(--bf-text);
}

/* 7. Campaign states ------------------------------------------------------ */
.is-final-hours .bf-countdown strong,
.is-final-hours .bf-live {
  color: var(--bf-alert);
}
.is-final-hours .bf-live {
  border-color: rgba(255, 107, 107, 0.5);
}
.is-final-hours .bf-board {
  border-color: rgba(255, 107, 107, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 107, 107, 0.2);
}
.bf-page[data-ended="true"] .bf-live {
  color: var(--bf-muted);
  border-color: var(--bf-line);
}
.bf-page[data-ended="true"] .bf-live__dot::after,
.bf-page[data-ended="true"] .bf-stamp {
  display: none;
}
.bf-page[data-ended="true"] :is(.bf-board, .bf-countdown) {
  display: none;
}

/* 8. Responsive and reduced motion --------------------------------------- */
@media (max-width: 1080px) {
  .bf-deals__grid {
    column-gap: 16px;
  }
  .bf-ticket__top,
  .bf-ticket__stub {
    padding-inline: 20px;
  }
  .bf-ticket__tear {
    margin-inline: 16px;
  }
  .bf-ticket__tear::before {
    left: -29px;
  }
  .bf-ticket__tear::after {
    right: -29px;
  }
  .bf-segmented span {
    font-size: 11px;
  }
  .bf-price__now strong {
    font-size: 42px;
  }
  .bf-countdown--board .bf-countdown__unit {
    min-width: 88px;
  }
  .bf-countdown--board strong {
    font-size: 56px;
  }
}

@media (max-width: 900px) {
  .bf-hero__grid {
    grid-template-columns: 1fr;
    gap: 72px;
  }
  .bf-hero__ticket {
    justify-self: start;
    margin-left: 8px;
  }
  .bf-board {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .bf-countdown--board {
    width: 100%;
  }
  .bf-countdown--board .bf-countdown__unit {
    flex: 1;
    min-width: 0;
  }
  .bf-deals__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .bf-deals__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: none;
    row-gap: 32px;
    max-width: 560px;
    margin-inline: auto;
  }
  .bf-ticket,
  .bf-ticket--featured {
    display: flex;
    flex-direction: column;
    grid-row: auto;
  }
  .bf-ticket__top,
  .bf-ticket__stub {
    padding-inline: 28px;
  }
  .bf-ticket__tear {
    margin-inline: 22px;
  }
  .bf-ticket__tear::before {
    left: -35px;
  }
  .bf-ticket__tear::after {
    right: -35px;
  }
  .bf-guarantees__list {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .bf-faq__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .bf-wrap {
    width: calc(100% - 32px);
  }
  .bf-header__inner {
    min-height: 64px;
    gap: 12px;
  }
  .bf-header__logo img {
    width: 128px;
  }
  .bf-header__label {
    display: none;
  }
  .bf-countdown--compact strong {
    font-size: 20px;
  }
  .bf-hero {
    padding: 44px 0 48px;
  }
  .bf-hero__title-big {
    font-size: clamp(88px, 28vw, 132px);
  }
  .bf-hero__lead {
    font-size: 16px;
  }
  .bf-hero__actions .bf-button {
    width: 100%;
  }
  .bf-hero__ticket {
    width: calc(100% - 40px);
  }
  .bf-stamp {
    width: 100px;
    height: 100px;
    right: -18px;
  }
  .bf-stamp strong {
    font-size: 40px;
  }
  .bf-board {
    margin-top: 56px;
    padding: 20px 16px;
  }
  .bf-board__label {
    font-size: 28px;
  }
  .bf-countdown--board {
    gap: 6px;
  }
  .bf-countdown--board .bf-countdown__unit {
    padding: 10px 4px 8px;
  }
  .bf-countdown--board strong {
    font-size: 44px;
  }
  .bf-countdown--board small {
    font-size: 11px;
  }
  .bf-deals {
    padding: 72px 0 56px;
  }
  .bf-ticket__top,
  .bf-ticket__stub {
    padding-inline: 20px;
  }
  .bf-ticket__tear {
    margin-inline: 16px;
  }
  .bf-ticket__tear::before {
    left: -29px;
  }
  .bf-ticket__tear::after {
    right: -29px;
  }
  .bf-ticket__name {
    font-size: 24px;
  }
  .bf-segmented span {
    font-size: 11px;
  }
  .bf-guarantees__list {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 44px;
  }
  .bf-faq {
    padding: 72px 0;
  }
  .bf-faq summary {
    font-size: 16px;
  }
  .bf-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html:has(.sigma-bf2026) {
    scroll-behavior: auto;
  }
  .bf-live__dot::after,
  .bf-stamp {
    animation: none;
  }
  .sigma-bf2026 .bf-button,
  .bf-hero__ticket {
    transition: none;
  }
  .sigma-bf2026 .bf-button:not(:disabled):hover,
  .bf-hero__ticket:hover {
    transform: none;
  }
  .bf-hero__ticket:hover {
    transform: rotate(-3deg);
  }
}
