/* The Black Friday finder owns the product data, search, filters and carousel. */
#picked[data-section-id$="__christmas_products"] {
  --paper: #f3e6c2;
  --forest: #182118;
  --berry: #9b292f;
  background: var(--forest);
  color: var(--paper);
  font-family: 'RTC Christmas Hero Inter', var(--text-font-family, Arial), sans-serif;
  padding: clamp(64px, 8vw, 112px) clamp(16px, 5vw, 76px) 20px;

  .bf-picked__content { max-width: 1400px; }
  .bf-picked__carousel { grid-template-columns: 48px minmax(0, 1fr) 48px; gap: 28px; }
  .bf-picked__toolbar {
    display: grid;
    grid-template-columns: auto minmax(150px, 1fr) max-content;
    gap: clamp(18px, 2.5vw, 42px);
    margin: 0 76px 34px;
    anchor-name: --rtc-product-tools;
  }
  .bf-picked__toolbar h2 {
    grid-column: auto;
    font: 700 clamp(30px, 3.48vw, 50px)/1.16 'RTC Christmas Hero Inter', var(--text-font-family, Arial), sans-serif;
    color: inherit;
    letter-spacing: -.035em;
    anchor-name: --rtc-product-title;
  }
  .bf-picked__search {
    justify-self: end;
    width: min(100%, 520px);
    height: 46px;
    background: #2c352c;
    color: var(--paper);
  }
  .bf-picked__search:focus-within { outline: 2px solid var(--paper); outline-offset: 2px; }
  .bf-picked__search input { color: inherit; }
  .bf-picked__search input::placeholder { color: #d2ccb7; text-align: end; }
  .bf-picked__category-trigger { color: var(--paper); }
  .bf-picked__category-options { background: var(--paper); }
  .bf-picked__category-list [aria-selected="true"] { background: var(--forest); color: var(--paper); }
  .bf-picked__category-list [role="option"]:not([aria-selected="true"]):hover { background: #e4d5ae; }
  .bf-picked__track { --bf-gap: 24px; padding-block: 0 4px; }
  .bf-picked__card { padding: 0; background: var(--paper); color: #211b16; border-radius: 15px; }
  .bf-picked__image { aspect-ratio: 1; border-radius: 15px 15px 0 0; }
  .bf-picked__image img { object-fit: cover; }
  .bf-picked__title { margin: 18px 20px 4px; font-family: inherit; }
  .bf-picked__title a { min-height: 0; -webkit-line-clamp: 1; }
  .bf-picked__price { padding: 0 20px 12px; }
  .bf-picked__actions { padding: 0 20px 20px; }
  .bf-picked__actions :is(.bf-picked__add,.bf-picked__choose,.bf-picked__view) {
    min-height: 48px; border-radius: 8px; border-color: var(--berry); background: var(--berry); color: var(--paper); font-size: 16px;
  }
  .bf-picked__arrow { color: var(--forest); background: var(--paper); }
  .bf-picked__dots { color: var(--paper); }
}

.rtc-products-notes {
  background: #182118; color: #f3e6c2;
  padding: 12px 16px 36px;
  font: 400 16px/1.5 'RTC Christmas Hero Inter', var(--text-font-family, Arial), sans-serif;
  text-align: center;
}
.rtc-products-notes p { margin: 0 auto 16px; }
.rtc-products-notes a { display: inline-flex; align-items: center; min-height: 44px; gap: 8px; color: inherit; }
.rtc-products-notes a:hover { text-decoration: underline; }

/* Older browsers keep the introduction in normal flow above the return link. */
@supports (top: anchor(--rtc-product-tools bottom)) {
  .rtc-products-notes p {
    position: absolute;
    top: calc(anchor(--rtc-product-title bottom) + 9px);
    left: anchor(--rtc-product-tools left);
    width: anchor-size(--rtc-product-tools width);
    margin: 0; text-align: start;
    font-size: 15px;
  }
  #picked[data-section-id$="__christmas_products"] .bf-picked__toolbar { margin-bottom: 92px; }
}

@media (max-width: 1100px) {
  #picked[data-section-id$="__christmas_products"] {
    .bf-picked__carousel { grid-template-columns: 40px minmax(0, 1fr) 40px; gap: 16px; }
    .bf-picked__toolbar { margin-inline: 56px; grid-template-columns: minmax(0, 1fr) auto; gap: 14px; }
    .bf-picked__toolbar h2 { grid-column: 1 / -1; }
    .bf-picked__search { justify-self: start; }
  }
  @supports (top: anchor(--rtc-product-tools bottom)) {
    #picked[data-section-id$="__christmas_products"] .bf-picked__toolbar { margin-bottom: 32px; }
    #picked[data-section-id$="__christmas_products"] .bf-picked__toolbar h2 { margin-bottom: 62px; }
  }
}
@media (max-width: 700px) {
  #picked[data-section-id$="__christmas_products"] {
    padding: 64px 0 8px;
    .bf-picked__toolbar { margin-inline: 16px; gap: 12px; }
    .bf-picked__toolbar h2 { font-size: 25px; }
    .bf-picked__search { grid-column: 1; grid-row: auto; padding-inline: 16px; height: 44px; }
    .bf-picked__filter { grid-column: 2; grid-row: auto; }
    .bf-picked__category-options { width: min(250px, calc(100vw - 32px)); }
    .bf-picked__carousel { display: block; }
    .bf-picked__carousel > :is(carousel-prev-button, carousel-next-button) { display: none; }
    .bf-picked__track { grid-auto-columns: clamp(220px, 60vw, 340px); --bf-gap: 16px; padding-inline: 16px; scroll-padding-inline: 16px; }
    .bf-picked__title { margin: 12px 12px 2px; font-size: 15px; }
    .bf-picked__title a { -webkit-line-clamp: 2; }
    .bf-picked__price { padding: 0 12px 9px; }
    .bf-picked__actions { padding: 0 12px 12px; }
    .bf-picked__dots { justify-content: center; }
  }
  .rtc-products-notes { padding-bottom: 24px; font-size: 14px; }
  .rtc-products-notes p { font-size: 13px; }
}
