body.template-page-black-friday-preview #main-content {
  .ks-product-rail__track, .ks-bmp.ks-bmp--rail .ks-bmp__grid { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 24px; overflow-x: auto; scroll-snap-type: x proximity; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #9da1a5 transparent; padding: 4px 24px 20px 0; margin: 0; }
  .ks-bmp--rail { overflow: clip; }
  [data-rail-ready='true'] .ks-product-rail__track, .ks-bmp.ks-bmp--rail[data-rail-ready='true'] .ks-bmp__grid { scrollbar-width: none; }
  [data-rail-ready='true'] .ks-product-rail__track::-webkit-scrollbar, .ks-bmp.ks-bmp--rail[data-rail-ready='true'] .ks-bmp__grid::-webkit-scrollbar { display: none; }
  .ks-bmp.ks-bmp--rail .ks-bmp__grid { width: calc(100% + var(--product-rail-bleed, 0px)); }
  .ks-bmp.ks-bmp--rail .ks-product-rail__item { flex: 0 0 302px; width: 302px; min-width: 0; }
  .ks-product-rail__intro {
    position: relative;
    isolation: isolate;
    flex: 0 0 302px;
    display: flex;
    align-items: flex-end;
    padding: 28px;
    overflow: hidden;
    background: var(--bf-dark);
    color: var(--bf-on-dark);
    border-radius: 16px;
    scroll-snap-align: start;
  }
  .ks-product-rail__intro-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 90%;
    object-fit: cover;
    object-position: 54% center;
    z-index: -2;
  }
  .ks-product-rail__intro::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(to bottom, transparent 51%, rgb(16 17 19 / .16) 62%, rgb(16 17 19 / .94) 79%, var(--bf-dark) 90%);
  }
  .ks-product-rail__intro h2 { margin: 0; font-size: 36px; line-height: 1.1; letter-spacing: -.025em; color: inherit; }
  .ks-product-rail__intro p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--bf-on-dark-muted); }
  .ks-product-rail__item { flex: 0 0 302px; min-width: 0; scroll-snap-align: start; display: flex; }
  .ks-product-rail__item .ks-ccard { width: 100%; }
  .ks-product-rail__controls { display: flex; justify-content: flex-end; align-items: center; gap: 12px; padding-top: 24px; padding-right: 24px; }
  .ks-product-rail__progress { width: 200px; height: 3px; margin-right: 12px; background: var(--bf-dark-line); overflow: hidden; }
  .ks-product-rail__progress span { display: block; height: 100%; background: var(--bf-on-dark-muted); }
  .ks-product-rail__arrow { display: inline-flex; justify-content: center; align-items: center; flex: 0 0 44px; height: 44px; border-radius: 12px; border: 0; background: var(--bf-dark-control); color: var(--bf-on-dark); padding: 0; cursor: pointer; }
  .ks-product-rail__arrow svg { width: 20px; height: 20px; }
  .ks-product-rail__arrow:hover:enabled { background: var(--bf-dark-control-hover); }
  .ks-product-rail__arrow:disabled { background: var(--bf-dark-raised); color: var(--bf-on-dark-muted); cursor: not-allowed; }
  .ks-bmp--rail .ks-product-rail__item .ks-ccard__media { height: 280px; aspect-ratio: auto; }
  .ks-bmp--rail .ks-product-rail__item .ks-ccard__image { object-fit: contain; }
  :is(.ks-bmrc__series, .ks-bmp--rail) {
    .ks-ccard { background: transparent; }
    .ks-ccard__body {
      --ks-ink: var(--bf-on-dark);
      --ks-muted: var(--bf-on-dark-muted);
      --ks-line: var(--bf-dark-line);
      margin-block-start: 4px;
      border-radius: var(--bf-radius);
      background: #1c1719;
      color: var(--ks-ink);
    }
    .ks-ccard__media {
      background: #fff;
      border-radius: var(--bf-radius, 16px);
    }
    .ks-ccard__media:focus-visible { outline-color: var(--bf-on-dark); }
    .ks-campaign-saving {
      position: absolute;
      z-index: 2;
      inset-block-start: 12px;
      inset-inline-start: 12px;
      border-radius: 6px;
      padding: 5px 9px;
      background: #f1dfbc;
      color: #38291c;
      font-size: .75rem;
      font-weight: 700;
      font-variant-numeric: tabular-nums;
      line-height: 1.35;
      pointer-events: none;
    }
    .ks-ccard__stars { background-image: linear-gradient(90deg, #dedfe2 var(--pct, 100%), #68696d var(--pct, 100%)); }
    /* Override the product section's important price color within these rails. */
    .ks-ccard__price { color: var(--ks-ink) !important; font-size: 1.375rem; }
    .ks-ccard__price s { font-size: .72em; }
    .ks-ccard__more {
      background: transparent;
      border-color: #777b80;
      color: var(--ks-ink);
    }
    .ks-ccard__more:hover {
      background: var(--bf-dark-control);
      border-color: var(--ks-muted);
      color: var(--ks-ink);
    }
    .ks-ccard__view { background: var(--bf-dark-control); color: var(--bf-on-dark); }
    .ks-ccard__view:not(:disabled) { background: var(--bf-campaign-cta); }
    .ks-ccard__view:hover:not(:disabled) { background: var(--bf-campaign-cta-hover); color: var(--bf-on-dark); }
  }
  [data-rail-overflow='false'] .ks-product-rail__controls { display: none; }
  @media(max-width:749px) {
    .ks-product-rail__item { flex-basis: min(302px, 82vw); }
    .ks-product-rail__progress { width: 100px; }
  }
}
/* Keep rotated tickets inside the rail's scrollport, including during hover. */
.section-collection-tabs .ks-bmp.ks-bmp--rail .ks-product-rail__track .ks-ticket {
  top: 20px;
  left: 14px;
}
