/* Only product-page recommendation and recently-viewed sections opt in. */
.fl-pdp-product-rail {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  contain: inline-size;
  --fl-rail-gap: 4px;
  --fl-card-title-size: 11px;
  --fl-card-title-line: 16px;
}
@supports (overflow: clip) {
  .fl-pdp-product-rail { overflow: clip; }
}
.fl-pdp-product-rail > .page-width { box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0; padding-inline: 4px; }
.fl-pdp-product-rail :is(.section-recommended-product, .section-recently-viewed-product) { min-width: 0; max-width: 100%; row-gap: 16px; }
.fl-pdp-product-rail :is(.section-recommended-product, .section-recently-viewed-product) > .block-heading {
  margin: 0; padding: 0 16px; text-align: left;
  font-family: var(--fl-rail-heading-font, Arial, sans-serif);
  font-size: var(--fl-rail-heading-size, 13px);
  font-weight: 400; line-height: 1.5; letter-spacing: .08em; text-transform: uppercase;
}
.fl-pdp-product-rail :is(theme-recommended-product, theme-recently-viewed-product, .block-product-list__carousel) { display: block; position: relative; box-sizing: border-box; min-width: 0; width: 100%; max-width: 100%; }
.fl-pdp-product-rail .block-product-list__carousel > .block-product-list {
  display: grid; grid-template-columns: none; grid-template-rows: auto;
  grid-auto-flow: column; grid-auto-columns: calc((100% - 4 * var(--fl-rail-gap)) / 5);
  gap: var(--fl-rail-gap); align-items: start;
  box-sizing: border-box; width: 100%; max-width: 100%; min-width: 0;
  margin: 0; padding: 0; list-style: none;
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  scroll-padding-inline: 0; scroll-snap-type: x proximity; scroll-behavior: smooth;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  touch-action: pan-x pan-y pinch-zoom; cursor: grab;
}
.fl-pdp-product-rail .block-product-list::-webkit-scrollbar { display: none; }
.fl-pdp-product-rail .block-product-list > li { min-width: 0; width: 100%; max-width: 100%; margin: 0; padding: 0; scroll-snap-align: start; }
.fl-pdp-product-rail .block-product-card { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 0; width: 100%; min-width: 0; height: auto; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.fl-pdp-product-rail .block-product-image__layer-image-wrapper { box-sizing: border-box; width: 100%; min-width: 0; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
.fl-pdp-product-rail .block-product-image__image-wrapper { aspect-ratio: 2 / 3; height: auto; border-radius: 0; }
.fl-pdp-product-rail .block-product-card-info,
.fl-pdp-product-rail .block-product-card-info__content { display: flex; flex-direction: column; flex-wrap: nowrap; gap: 4px; box-sizing: border-box; min-width: 0; width: 100%; margin: 0; padding: 8px 0 0; text-align: left; }
.fl-pdp-product-rail .block-product-card-info--layer { position: static; max-height: none; background: none; }
.fl-pdp-product-rail .block-product-card-info__content { padding: 0; }
.fl-pdp-product-rail .block-product-variant-picker,
.fl-pdp-product-rail form:has(> .block-product-variant-picker) { display: none !important; }
.fl-pdp-product-rail .block-product-title {
  display: block !important; box-sizing: border-box; flex: 0 0 calc(2 * var(--fl-card-title-line));
  min-height: calc(2 * var(--fl-card-title-line)); height: calc(2 * var(--fl-card-title-line)); max-height: calc(2 * var(--fl-card-title-line));
  width: 100%; min-width: 0; margin: 0; padding: 0 !important; overflow: hidden;
  font: 400 var(--fl-card-title-size)/var(--fl-card-title-line) Arial, sans-serif;
  letter-spacing: .04em; text-align: left; text-decoration: none; color: #111;
}
.fl-pdp-product-rail .block-product-title > span {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
  overflow: hidden; overflow-wrap: anywhere; text-overflow: ellipsis;
  font: inherit; line-height: var(--fl-card-title-line); --max-row: 2 !important;
}
.fl-pdp-product-rail .block-product-price { display: block; flex: 0 0 auto; min-width: 0; min-height: 18px; margin: 0; padding: 0 !important; text-align: left; }
.fl-pdp-product-rail .block-product-price .product-price { justify-content: flex-start; align-items: baseline; gap: 4px 8px; margin: 0; }
.fl-pdp-product-rail .block-product-price .product-price__item { font: 400 11px/18px Arial, sans-serif; letter-spacing: .04em; color: #000; }
.fl-pdp-product-rail .block-product-list__button { width: 32px; height: 40px; color: #111; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
.fl-pdp-product-rail .block-product-list__button:disabled { opacity: .3; }
.fl-pdp-product-rail .block-product-list__button--previous { inset-inline-start: 0; }
.fl-pdp-product-rail .block-product-list__button--next { inset-inline-end: 0; }
.fl-pdp-product-rail .block-product-list.fl-rail-dragging { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; user-select: none; }
.fl-pdp-product-rail .block-product-list.fl-rail-dragging * { cursor: grabbing; user-select: none; }
@media (max-width: 959px) {
  .fl-pdp-product-rail :is(.section-recommended-product, .section-recently-viewed-product) > .block-heading { font-size: var(--fl-rail-heading-size-mobile, 13px); padding-inline: 8px; }
  .fl-pdp-product-rail .block-product-list__carousel > .block-product-list { grid-auto-columns: calc((100% - 2 * var(--fl-rail-gap)) / 2.3); width: 100%; margin-inline: 0; padding-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .fl-pdp-product-rail .block-product-list__carousel > .block-product-list { scroll-behavior: auto; }
}

.fl-pdp-product-rail { --sort-body-font: Arial, sans-serif; --sort-title-font: Arial, sans-serif; --sort-body-font-mobile: Arial, sans-serif; --sort-title-font-mobile: Arial, sans-serif; font-family: Arial, sans-serif; }
.fl-pdp-product-rail .block-product-price .product-price__item :is(span,a,s) { color: inherit; font: inherit; }
