html:has(body.template-page-black-friday-b) { scroll-behavior: auto; }

body.template-page-black-friday-preview #main-content {
  a.bf-spin-link, .bf-spin-link span { display: none; }
  &:has([data-bf-wheel="open"], [data-bf-wheel="prize"]) .bf-spin-link { display: inline-flex; }
  &:has([data-bf-wheel="open"]) .bf-spin-link span:first-child,
  &:has([data-bf-wheel="prize"]) .bf-spin-link span:last-child { display: inline; }
}

body.template-page-black-friday-b #main-content {
  > .shopify-section:has(.bf-category-nav) { --bf-gap-after: var(--bf-anchor-breath); }
  .bf-category-nav {
    display: flex; gap: 6px; width: max-content; max-width: calc(100% - 24px);
    margin-inline: auto; padding: 4px; border: 1px solid #3c393a; border-radius: 32px;
  }
  .bf-category-nav a {
    display: grid; align-content: center; min-height: 44px; padding-inline: clamp(8px, 2vw, 25px);
    color: #faf8f5; border-radius: 24px; text-decoration: none; font-size: clamp(12px, 2.9vw, 15px); font-weight: 650;
  }
  .bf-category-nav a:hover, .bf-category-nav a:focus-visible { background: #343031; }
  .bf-category-nav a[hidden], .shopify-section:has(.bf-category-nav):not(:has(.bf-category-nav a:not([hidden]))) { display: none; }
}

body.template-page-black-friday-b #main-content {
  --bf-anchor-offset: calc(var(--header-height, 64px) + var(--bf-anchor-breath, 16px));
  --bf-chapter-space: clamp(64px, 7vw, 112px);
  --bf-feature-transition-space: var(--bf-chapter-space);

  > .shopify-section:has(.ks-bmh) { --bf-gap-after: var(--bf-feature-transition-space); }
}

body.template-page-black-friday-preview #main-content {
  .ks-bmh:has(~ [data-bf-window]:not([hidden])) .ks-bmh__stage::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 7%;
    background: linear-gradient(transparent, #100609);
    pointer-events: none;
  }
  .ks-bmh.ks-bmh--editorial {
    display: block;
    position: relative;
    width: 100%;
    height: auto;
    max-height: none;
    aspect-ratio: var(--bmh-ar-desktop);
  }
  .ks-bmh.ks-bmh--editorial .ks-bmh__stage { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; }
  .ks-bmh.ks-bmh--editorial .ks-bmh__stage::after { content: none; }
  .ks-bmh.ks-bmh--editorial .ks-bmh__image { width: 100%; height: 100%; object-fit: cover; object-position: center; }
  .ks-bmh.ks-bmh--editorial .ks-bmh__editorial-copy {
    position: absolute;
    inset: 0 0 auto;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(5px, .55vw, 10px);
    padding: clamp(12px, 1.5vw, 30px) 16px 0;
    text-align: center;
    background: transparent;
  }
  .ks-bmh__editorial-copy .ks-bmh__eyebrow { margin: 0; color: #e5cdab; }
  .ks-bmh__editorial-copy .ks-bmh__editorial-heading { margin: 0; font-size: clamp(48px, 5.6vw, 92px); line-height: .97; font-weight: 800; letter-spacing: -.055em; }
  .ks-bmh__editorial-heading span { display: inline; color: white; }
  .ks-bmh__editorial-heading span + span { color: #f0c57e; }
  .ks-bmh__editorial-copy .ks-bmh__editorial-description { margin: 0; color: #f0eded; font-size: clamp(15px, 1.4vw, 21px); }
  .ks-bmh__editorial-copy .ks-bmh__editorial-button { margin: 3px 0 0; min-height: 40px; padding: 6px 22px; border-radius: 30px; }
  .bf-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 18px; }
  .bf-hero-secondary { display: inline-flex; align-items: baseline; gap: .2em; min-height: 44px; align-content: center; flex-wrap: wrap; padding: 10px 0; color: #f5e8d6; font-size: 14px; font-weight: 600; }
  .bf-hero-secondary:hover { text-decoration: underline; }
}

body.template-page-black-friday-b #main-content {
  .bf-kids-shipping { margin: 8px 0 0; color: #cbc7c8; font-size: 15px; }
  .bf-kids-shipping a { color: #f0d6a7; text-decoration: underline; }
  .ks-trust-icon--location > svg { width: 100%; height: 100%; fill: #edc889; }
  .bf-count {
    background-image: linear-gradient(to bottom, #100609, transparent 48%, var(--bf-surface)), url('ks-bf-countdown-red-stage.webp');
  }
  .bf-count .bf-new__inner { gap: clamp(16px, 2vw, 28px); }
  .bf-count .bf-count__date { margin-block-start: 14px; }
  .bf-protection { max-width: 60ch; margin: 0 auto; color: #e5e0df; font-size: 14px; line-height: 1.55; text-align: center; }
  .bf-protection strong { color: white; }
  .bf-protection a, .bf-offer__terms a, .ks-bmf__answer a { color: inherit; text-decoration: underline; }
  .ks-bmp__item:has(> .bf-model) { align-self: stretch; }
  [data-bf-maximum][hidden], .bf-offer [hidden], [data-bf-window][hidden], [data-bf-window] [hidden] { display: none; }
  #bf-clearance .ks-bmp__grid.ks-product-rail__track { padding-block-start: 0; }
  #bf-clearance.ks-bmp .ks-product-rail__track > .ks-product-rail__item:not([hidden]) { display: flex; grid-row: auto; grid-template-rows: none; }

}

body.template-page-black-friday-preview #main-content #bf-bestsellers.ks-bmp--featured .bf-feature-story:has(.bf-race-results) {
  row-gap: 0;
  [data-featured-ride="f18"] { border-end-start-radius: 0; border-end-end-radius: 0; }
}
.bf-race-results {
  padding: clamp(20px, 2.6vw, 40px) clamp(18px, 4vw, 64px);
  margin-block-end: clamp(32px, 4vw, 64px);
  border-radius: 0 0 16px 16px;
  background: linear-gradient(135deg, #201a18, #151415 62%);
  color: #faf6ed;
  scroll-margin-top: var(--bf-anchor-offset);
}

body.template-page-black-friday-preview #main-content #bf-bestsellers.ks-bmp--featured .bf-feature-story [data-featured-ride="f18"]:has(.bf-f18-scene) {
  --bf-feature-inset: clamp(28px, 4vw, 68px);
  aspect-ratio: 1.92;
  min-height: 460px;
  padding-block: clamp(24px, 2.5vw, 40px);
  background:
    radial-gradient(ellipse 29% 7% at 49% 84%, rgb(205 44 34 / .31), transparent),
    radial-gradient(ellipse at 47% 110%, #65151c, transparent 61%),
    linear-gradient(122deg, #151012, #270c11 52%, #110c0d 76%);

  .bf-f18-scene {
    --scene-slant: clamp(22px, 3vw, 46px);
    position: absolute;
    inset: 0 0 0 auto;
    height: 100%;
    aspect-ratio: .715;
    max-width: 48%;
    overflow: hidden;
    background: #aa9274;
    clip-path: polygon(var(--scene-slant) 0, 100% 0, 100% 100%, 0 100%);
  }
  .bf-f18-scene img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 47% 38%;
    clip-path: polygon(calc(var(--scene-slant) + 1px) 0, 100% 0, 100% 100%, 1px 100%);
  }
  .ks-bmp__product-cutout {
    inset: 10% auto auto 30%;
    width: 35%;
    height: 80%;
    filter: drop-shadow(0 17px 12px rgb(0 0 0 / .45));
    pointer-events: none;
  }
  .ks-bmp__feature-award { width: clamp(180px, 17vw, 238px); }
  .ks-bmp__banner-copy { width: 35%; max-width: none; }

  @media (min-width: 750px) and (max-width: 999px) {
    aspect-ratio: 1.6;
    .ks-bmp__product-cutout { display: none; }
    .ks-bmp__banner-copy { width: 50%; }
  }
  @media (max-width: 749px) {
    --bf-feature-inset: clamp(14px, 4vw, 24px);
    aspect-ratio: auto;
    min-height: clamp(360px, 90vw, 500px);
    padding-block: 24px;
    gap: 16px;
    .bf-f18-scene { --scene-slant: 14px; width: 51%; max-width: none; }
    .ks-bmp__product-cutout { display: none; }
    .ks-bmp__feature-award { width: min(38%, 180px); max-width: none; }
    .ks-bmp__banner-copy { width: 49%; }
  }
  @media (max-width: 599px) {
    display: grid;
    grid-template-columns: 46% 54%;
    grid-template-rows: minmax(14px, 1fr) repeat(5, auto) minmax(14px, 1fr) auto;
    min-height: 0;
    padding: 0;
    gap: 0;
    .bf-f18-scene {
      position: relative;
      inset: auto;
      grid-area: 1 / 2 / 8 / 3;
      width: 100%;
      height: auto;
      aspect-ratio: auto;
      min-height: 70vw;
    }
    .bf-f18-scene img { position: absolute; inset: 0; }
    .ks-bmp__banner-copy { display: contents; }
    .ks-bmp__feature-award {
      grid-area: 2 / 1;
      width: calc(100% - var(--bf-feature-inset) - 4px);
      max-width: 170px;
      margin: 0 0 14px var(--bf-feature-inset);
    }
    .ks-bmp__banner-kicker, h3, .ks-bmp__banner-description, .bf-rating {
      grid-column: 1;
      margin-inline: var(--bf-feature-inset) 0;
    }
    .ks-bmp__banner-kicker { grid-row: 3; font-size: clamp(10px, 2.65vw, 12px); letter-spacing: .045em; text-wrap: balance; }
    h3 { grid-row: 4; }
    .ks-bmp__banner-description { grid-row: 5; font-size: 14px; }
    .bf-rating { grid-row: 6; font-size: 13px; }
    .bf-offer {
      grid-area: 8 / 1 / auto / -1;
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 3px 10px;
      margin: 0;
      padding: 14px var(--bf-feature-inset) 16px;
      border-top: 1px solid #583135;
      background: #201316;
    }
    .bf-offer [data-bf-badge] { grid-area: 1 / 1; justify-self: start; margin: 0; }
    .bf-offer__prices { grid-area: 2 / 1; }
    .bf-offer__form { grid-area: 1 / 2 / 3 / 3; padding: 0; }
    .bf-installments { grid-area: 3 / 1 / auto / -1; margin-top: 3px; }
  }
}
.bf-race-results h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 clamp(16px, 2vw, 28px);
  color: inherit;
  font-size: clamp(22px, 2.3vw, 36px);
  line-height: 1.15;
  letter-spacing: -.035em;
}
.bf-race-results h3 img { width: clamp(32px, 3.3vw, 48px); height: auto; filter: sepia(.85) saturate(1.45) brightness(1.08); }
.bf-race-results ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.bf-race-results li {
  display: grid;
  grid-template-columns: clamp(44px, 5vw, 72px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin: 0;
  padding-inline: clamp(12px, 1.8vw, 28px);
  border-inline-start: 1px solid #49413c;
}
.bf-race-results li:first-child { border: 0; padding-inline-start: 0; }
.bf-race-results li:last-child { padding-inline-end: 0; }
.bf-race-results__logo { width: 100%; height: 54px; object-fit: contain; }
.bf-race-results strong { display: block; color: inherit; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.25; }
.bf-race-results__wins { color: #f4d49a; font-size: 14px; font-weight: 650; }
.bf-race-results p { margin: 3px 0 0; color: #c8c2bc; font-size: 13px; line-height: 1.4; }
@media (min-width: 768px) {
  .bf-race-results li > div { align-self: start; }
}
@media (max-width: 767px) {
  .bf-race-results ul { grid-template-columns: 1fr; }
  .bf-race-results li {
    grid-template-columns: 56px minmax(0, 1fr);
    padding: 12px 0;
    border: 0;
    border-block-start: 1px solid #49413c;
  }
  .bf-race-results li:first-child { padding-top: 0; }
  .bf-race-results li:last-child { padding-bottom: 0; }
  .bf-race-results__logo { height: 44px; }
  .bf-race-results strong { display: inline; margin-inline-end: 8px; }
  .bf-race-results__wins { white-space: nowrap; }
}

.bf-model {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid #343031;
  border-radius: 16px;
  background: #1b191a;
  color: #fff;
}
.bf-model__media { position: relative; background: #fff; }
.bf-model__media > a { display: block; aspect-ratio: 4 / 3; }
.bf-model__media > a img { display: block; width: 100%; height: 100%; padding: 12px; object-fit: contain; }
.bf-model__swatches { position: absolute; inset: auto auto 10px 10px; display: flex; padding: 2px 4px; border-radius: 24px; background: rgb(255 255 255 / .94); }
.bf-model__swatches a { display: grid; width: 31px; height: 32px; place-items: center; border-radius: 50%; }
.bf-model__swatches span { display: block; width: 17px; height: 17px; overflow: hidden; border: 1px solid #9c9c9c; border-radius: 50%; }
.bf-model__swatches a[aria-current="true"] span { outline: 1.5px solid #151515; outline-offset: 2px; }
.bf-model__swatch-image img { width: 100%; height: 100%; object-fit: cover; }
.bf-model__body { display: flex; flex: 1; flex-direction: column; padding: clamp(16px, 1.4vw, 24px); }
.bf-model__use { margin: 0 0 5px; color: #edc889; font-size: 13px; font-weight: 600; }
.bf-model__body h3 { margin: 0; color: white; font-size: clamp(26px, 2.3vw, 36px); line-height: 1.12; }
.bf-model__body h3 a { color: inherit; text-decoration: none; }
.bf-model__specs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin: 16px 0; padding-block: 12px; border-block: 1px solid #423f40; }
.bf-model__specs dt { margin: 0; color: #c5c1c2; font-size: 12px; line-height: 1.35; }
.bf-model__specs dd { margin: 3px 0 0; color: #fff; font-size: 14px; line-height: 1.4; font-weight: 650; }
.bf-offer { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.bf-offer__prices { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px 8px; }
.bf-offer__prices strong { color: #fff; font-size: clamp(24px, 2vw, 31px); font-variant-numeric: tabular-nums; line-height: 1.1; }
.bf-offer__prices s { color: #cbc5c4; font-size: 14px; }
.bf-offer [data-bf-badge] { align-self: flex-start; margin-block-end: 7px; padding: 2px 7px; border-radius: 5px; background: #f4ddb6; color: #322115; font-weight: 650; font-size: 12px; line-height: 1.45; white-space: nowrap; }
.bf-rating { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .32em; color: #eee7db; font-size: 14px; line-height: 1.4; text-decoration: none; }
.bf-rating:hover, .bf-rating:focus-visible { text-decoration: underline; }
.bf-rating span:first-child { color: #ffd27b; }
.bf-model__rating-slot { display: flex; align-items: flex-start; font-size: 14px; line-height: 1.4; }
.ks-bmp__banner-copy > .bf-rating { margin-block-start: 6px; }
.bf-offer .bf-offer__form { display: flex; flex: 1; flex-direction: column; justify-content: flex-end; gap: 12px; margin: 0; padding-top: 12px; }
.bf-offer .bf-offer__terms { margin: 0 0 auto; color: #d8d2d3; font-size: 12px; line-height: 1.45; text-wrap: pretty; }
.bf-offer__terms shopify-payment-terms { display: block; }
.bf-offer__action { display: flex; min-height: 44px; align-items: center; justify-content: center; padding: 9px 18px; border: 0; border-radius: 10px; background: #b91d30; color: #fff; font: inherit; font-size: 15px; font-weight: 650; text-decoration: none; cursor: pointer; }
.bf-offer__action:hover { background: #d3263d; color: #fff; }
.ks-bmp__banner-copy .bf-offer { margin-top: 6px; }
.ks-bmp__banner-copy .bf-offer [data-bf-badge] { margin-block-end: 4px; }
.ks-bmp__banner-copy .bf-offer__prices s { color: #e8dddb; }
.ks-bmp__banner-copy .bf-offer__terms { color: #f6f1ef; }
.ks-bmp__banner-copy .bf-offer__action { align-self: flex-start; color: #171415; background: #fff; }
.ks-bmp__banner-copy .bf-offer__terms { max-width: 100%; }

@media (min-width: 900px) {
  body.template-page-black-friday-b #main-content > .shopify-section:has(.ks-bmp--rail[data-rail-overflow='false']) { --bf-trailing-inset: 0px; }
  body.template-page-black-friday-b #main-content .ks-bmp.ks-bmp--rail {
    .ks-bmp__grid.ks-product-rail__track {
      display: grid;
      grid-auto-flow: row;
      grid-template: auto / repeat(2, minmax(0, 1fr));
      gap: clamp(16px, 1.7vw, 28px);
      align-items: stretch;
      justify-content: stretch;
      width: 100%;
      padding: 0;
      margin: 0;
      overflow: visible;
    }
    .ks-product-rail__track:has(> :only-child) { grid-template-columns: 1fr; }
    .ks-product-rail__track:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .ks-product-rail__track > .ks-product-rail__item:not([hidden]) { display: flex; grid-row: auto; width: 100%; min-width: 0; }
    .bf-model { width: 100%; }
    .bf-model__media > a { max-height: 330px; }
    .ks-product-rail__controls { display: none; }
  }
}
@media (min-width: 640px) {
  body.template-page-black-friday-b #main-content .ks-bmp.ks-bmp--rail .ks-product-rail__track > :only-child {
    .bf-model { display: grid; grid-template-columns: 1fr 1fr; }
    .bf-model__media > a { position: absolute; inset: 0; height: 100%; max-height: none; aspect-ratio: auto; }
    .bf-model__body { justify-content: center; padding: clamp(24px, 4vw, 60px); }
    .bf-offer__action { align-self: flex-start; min-width: 12em; }
  }
}

body.template-page-black-friday-preview #main-content .ks-bmp.ks-bmp--rail[data-bf-collection] {
  --bf-rail-gap: clamp(12px, 1.6vw, 24px);
  --bf-rail-width: min(82vw, 340px);
  .ks-bmp__grid.ks-product-rail__track {
    display: grid; grid-template: auto / none; grid-auto-flow: column; grid-auto-columns: var(--bf-rail-width);
    width: 100%; padding: 0; margin: 0; gap: 0 var(--bf-rail-gap); align-items: stretch;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
  }
  .ks-bmp__grid.ks-product-rail__track:has(> :only-child) { grid-auto-columns: 100%; }
  .ks-product-rail__track > .ks-product-rail__item:not([hidden]) { grid-row: auto; width: 100%; min-width: 0; max-width: none; }
  .bf-model { width: 100%; }
  .bf-model__body h3 { overflow-wrap: anywhere; }
  &[data-rail-overflow="true"] .ks-product-rail__controls { display: flex; }
  @media (min-width: 900px) { --bf-rail-width: calc((100% - 2 * var(--bf-rail-gap)) / 3); }
  @media (min-width: 1260px) { --bf-rail-width: calc((100% - 3 * var(--bf-rail-gap)) / 4); }
  @media (min-width: 900px) {
    .ks-bmp__grid.ks-product-rail__track:has(> :nth-child(2):last-child) { grid-auto-columns: calc((100% - var(--bf-rail-gap)) / 2); }
    .ks-bmp__grid.ks-product-rail__track:has(> :nth-child(3):last-child) { grid-auto-columns: calc((100% - 2 * var(--bf-rail-gap)) / 3); }
  }
}

@supports (grid-template-rows: subgrid) {
  @media (max-width: 899px) {
    body.template-page-black-friday-b #main-content .ks-bmp--rail:not([data-bf-collection]) .ks-product-rail__track:has(> :nth-child(2) > .bf-model) {
      display: grid;
      grid-auto-flow: column;
      grid-auto-columns: var(--rail-card-width, 302px);
      grid-template-columns: none;
      grid-template-rows: repeat(8, auto);
      row-gap: 0;
    }
  }
  body.template-page-black-friday-preview #main-content .ks-bmp.ks-bmp--rail:is([data-bf-collection], #bf-clearance, #bf-kids-gifts) .ks-product-rail__track:has(> :nth-child(2) > .bf-model) {
    .ks-product-rail__item:not([hidden]), .bf-model, .bf-model__body, .bf-offer {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: subgrid;
      row-gap: 0;
    }
    .ks-product-rail__item:not([hidden]), .bf-model { grid-row: span 8; }
    .bf-model__media { grid-row: 1; }
    .bf-model__body { grid-row: 2 / span 7; container-type: normal; }
    .bf-model__use { grid-row: 1; }
    .bf-model__body h3 { grid-row: 2; }
    .bf-model__rating-slot { grid-row: 3; }
    .bf-model__specs { grid-row: 4; }
    .bf-offer { grid-row: 5 / span 3; }
    .bf-offer__prices { grid-row: 1; align-self: start; container-type: inline-size; }
    .bf-installments { grid-row: 2; align-self: start; }
    .bf-offer__form { grid-row: 3; }
  }
}
@media (min-width: 1260px) {
  body.template-page-black-friday-b #main-content .ks-bmp.ks-bmp--rail .ks-product-rail__track:has(> :nth-child(4):last-child) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 899px) {
  body.template-page-black-friday-b #main-content .ks-bmp.ks-bmp--rail .ks-bmp__grid:has(> :only-child) { width: 100%; padding: 0; }
  body.template-page-black-friday-b #main-content .ks-bmp.ks-bmp--rail .ks-bmp__grid > .ks-product-rail__item:only-child { --rail-card-width: 100%; flex: 0 0 100%; width: 100%; min-width: 0; max-width: none; }
  .ks-product-rail__item:only-child > .bf-model { width: 100%; }
}

@media (max-width: 767px) {
  body.template-page-black-friday-b #main-content {
    --bf-chapter-space: 56px;
  }
  body.template-page-black-friday-preview #main-content {
    .ks-bmh.ks-bmh--editorial { aspect-ratio: var(--bmh-ar-mobile); }
    .ks-bmh.ks-bmh--editorial .ks-bmh__editorial-copy { padding-top: clamp(18px, 6vw, 36px); gap: 6px; }
    .ks-bmh__editorial-copy .ks-bmh__editorial-heading { font-size: clamp(43px, 13vw, 70px); }
    .bf-hero-actions { flex-direction: column; gap: 0; }
    &:has([data-bf-wheel="open"], [data-bf-wheel="prize"]) .bf-hero-actions { display: grid; grid-template-columns: auto auto; gap: 0 3px; }
    .bf-hero-actions .ks-bmh__editorial-button { grid-column: 1 / -1; justify-self: center; }
    .bf-hero-secondary { min-height: 40px; padding-inline: 10px; color: white; font-size: 13px; text-shadow: 0 1px 4px #000, 0 0 8px #000; }
  }
  body.template-page-black-friday-preview #main-content {
    #bf-bestsellers.ks-bmp--featured .bf-feature-story [data-featured-ride] { padding-block: 16px 20px; }
    .ks-bmp--featured .ks-bmp__banner-copy:has(.bf-offer) { max-width: 60%; }
    .ks-bmp__banner-copy .bf-offer__prices { gap: 5px; }
    .ks-bmp__banner-copy .bf-offer__prices strong { font-size: 24px; }
    .ks-bmp__banner-copy .bf-offer__terms { font-size: 12px; }
  }
}

body.template-page-black-friday-preview #main-content .ks-vr--campaign-details {
  .ks-vr__rail[data-overflow='true'] .ks-vr__controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 16px;
  }
  .ks-vr__arrow {
    position: static;
    display: grid;
    width: 44px;
    height: 44px;
    border: 1px solid #585558;
    border-radius: 50%;
    color: #fff;
    background: #302e30;
    transform: none;
  }
  .ks-vr__arrow::before, .ks-vr__arrow::after { content: none; }
  .ks-vr__arrow:not(:disabled):hover { background: #484548; }
  .ks-vr__arrow:disabled { opacity: .45; }
  .ks-vr__arrow svg { width: 18px; height: 18px; fill: none; }
  .ks-vr__controls .flickity-page-dots { width: auto; margin: 0; }
  @media (min-width: 768px) {
    .ks-vr__controls .flickity-page-dots { display: flex; }
    .ks-vr__position { display: none; }
  }
}
[dir="rtl"] .ks-vr--campaign-details .ks-vr__arrow svg { transform: scaleX(-1); }

.ks-trust-card .ks-trust-image[src*="ks-trust-tuv-rheinland"] {
  box-sizing: border-box;
  padding: 9px 14px;
  border-radius: 6px;
  background: white;
}

.bf-model-count { display: inline-block; color: #cec6bc; font: 500 14px/1.4 var(--ks-font-body, sans-serif); vertical-align: middle; letter-spacing: 0; white-space: nowrap; }
:is(body.template-page-black-friday-b #main-content .ks-bmp--rail, body.template-page-black-friday-preview #main-content #bf-all-products) {
  .ks-bmp__header { display: flex; max-width: none; align-items: baseline; text-align: start; gap: 12px 24px; }
  .ks-bmp__header-copy { width: auto; flex: 1 1 auto; }
  .ks-bmp__header h2 { margin-inline: 0; }
  .ks-bmp__header .ks-bmp__view-all { color: #eee3cf; }
  @media (max-width: 767px) {
    .ks-bmp__header { align-items: stretch; flex-direction: column; gap: 4px; }
    .ks-bmp__header .ks-bmp__view-all { align-self: flex-start; }
    &[data-bf-collection] h2.ks-bmp__heading {
      display: flex;
      flex-wrap: wrap;
      align-items: baseline;
      gap: 2px 8px;
      max-width: none;
      font-size: clamp(1.625rem, 7.4vw, 2rem);
      text-wrap: wrap;
    }
    .bf-collection-title { max-inline-size: 100%; overflow-wrap: anywhere; }
  }
}

#bf-all-products .bf-model__rating-slot { margin-block-start: 4px; }
.bf-scenario-pills:not([hidden]) {
  display: flex;
  gap: 6px;
  max-inline-size: 100%;
  overflow-x: auto;
  margin-block: 0 12px;
  scrollbar-width: thin;
}
.ks-bmp__inner:has(> .bf-scenario-pills:not([hidden])) > .ks-bmp__header { margin-block-end: 8px; }
.bf-scenario-pills button {
  flex: none;
  min-block-size: 44px;
  padding: 4px 14px;
  border: 1px solid #595453;
  border-radius: 999px;
  background: transparent;
  color: #f5f2ef;
  font: 600 14px/1.2 var(--ks-font-body, sans-serif);
  cursor: pointer;
}
.bf-scenario-pills button[aria-pressed="true"] { background: #f5f2ef; border-color: #f5f2ef; color: #191718; }
.bf-scenario-pills button:focus-visible { outline: 2px solid #dc9a41; outline-offset: -3px; }
[data-bf-collection]:has([data-bf-scenarios]) [data-rail-track] > [hidden] { display: none !important; }
@media (max-width: 767px) {
  #bf-all-products .bf-model__media > a { aspect-ratio: 16 / 10; }
  #bf-all-products .bf-model__specs { margin-block: 10px; padding-block: 9px; }
}
