/* Only the product-detail recommendation rail; retain each store's native palette. */
body #column-center #alsoPurchased.ns-related,
body #alsoPurchased.ns-related {
  --related-accent: #805d00;
  --related-soft: #fff8e1;
  --related-card-width: clamp(150px, 13vw, 184px);
  --related-line: #e4d7a9;
  display: block;
  box-sizing: border-box;
  clear: both;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 32px 0 0;
  padding: 0;
  color: var(--m-ink, #2d2d2d);
}
body #alsoPurchased.ns-related::before,
body #alsoPurchased.ns-related::after { content: none; }
#alsoPurchased.ns-related .ns-related__header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
body #alsoPurchased.ns-related h2.centerBoxHeading { float: none; width: auto; margin: 0; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-size: clamp(19px, 1.5vw, 24px); font-weight: 700; line-height: 1.3; letter-spacing: -.2px; text-align: left; }
#alsoPurchased.ns-related .ns-related__controls { display: flex; flex: 0 0 auto; gap: 8px; }
#alsoPurchased.ns-related .ns-related__controls[hidden] { display: none; }
#alsoPurchased.ns-related button { display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid var(--related-line); border-radius: 50%; background: var(--related-soft); color: var(--related-accent); font: inherit; font-size: 23px; line-height: 1; cursor: pointer; }
#alsoPurchased.ns-related button:hover:not(:disabled) { border-color: var(--related-accent); }
#alsoPurchased.ns-related button:disabled { opacity: .35; cursor: default; }
#alsoPurchased.ns-related .ns-related__track { display: flex; box-sizing: border-box; gap: 18px; width: 100%; max-width: 100%; margin: 0; padding: 3px 3px 16px; list-style: none; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scroll-padding-inline: 3px; scrollbar-width: thin; scrollbar-color: var(--related-accent) var(--related-soft); }
#alsoPurchased.ns-related .ns-related__card { display: block; flex: 0 0 var(--related-card-width); width: var(--related-card-width); min-width: 0; margin: 0; padding: 0; list-style: none; scroll-snap-align: start; }
#alsoPurchased.ns-related .ns-related__link { display: block; color: inherit; font: inherit; font-size: 15px; line-height: 1.45; font-weight: 600; text-decoration: none; }
#alsoPurchased.ns-related .ns-related__cover { display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 100%; height: var(--related-card-width); aspect-ratio: 1; margin-bottom: 11px; overflow: hidden; border-radius: var(--m-radius-cover, 6px); background: var(--m-surface-2, #f7f6f3); box-shadow: inset 0 0 0 1px var(--related-line); }
#alsoPurchased.ns-related .ns-related__cover img { display: block; box-sizing: border-box; width: 100%; max-width: 100%; height: 100%; margin: 0; padding: 0; border: 0; object-fit: contain; }
#alsoPurchased.ns-related .ns-related__name { display: block; overflow-wrap: anywhere; }
#alsoPurchased.ns-related .ns-related__link:hover .ns-related__name { color: var(--related-accent); text-decoration: underline; text-underline-offset: 3px; }
#alsoPurchased.ns-related :is(a, button, .ns-related__track):focus-visible { outline: 2px solid var(--related-accent); outline-offset: 2px; }
@media (max-width: 479px) {
  #alsoPurchased.ns-related .ns-related__header { align-items: flex-start; gap: 12px; }
  #alsoPurchased.ns-related .ns-related__controls { gap: 4px; }
  #alsoPurchased.ns-related .ns-related__track { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  #alsoPurchased.ns-related .ns-related__track { scroll-behavior: auto; }
}
