/* Load the base tokens and components as part of this render-blocking sheet;
 * River's measured overrides intentionally remain last in the cascade. */
@import url("site.css");

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/roboto-regular.ttf") format("truetype");
}

@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/roboto-bold.ttf") format("truetype");
}

@font-face {
  font-family: "Epilogue";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/epilogue-latin-400-700.woff2") format("woff2");
}

@font-face {
  font-family: "Alata";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/alata-latin-400.woff2") format("woff2");
}

:root {
  --ink: #222222;
  --muted: #666666;
  --paper: #fafafa;
  --surface: #ffffff;
  --surface-muted: #f7f7f7;
  --line: #eeeeee;
  --line-strong: #dddddd;
  --catalog-blue-dark: #1569cf;
  --catalog-blue: #02a7f0;
  --lime: #ff8500;
  --lime-dark: #e87500;
  --font-copy: "Roboto", Arial, Helvetica, sans-serif;
  --font-body: "Epilogue", Arial, Helvetica, sans-serif;
  --font-display: "Alata", Arial, Helvetica, sans-serif;
}

html {
  background: #ffffff;
  overflow-x: clip;
}

body {
  background: #fafafa;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}

.site-header,
.mega-menu,
.home-page,
.catalog-page,
.site-footer {
  font-family: var(--font-body);
}

.site-header {
  height: 111px;
  border-bottom: 0;
  background: #ffffff;
  box-shadow: none;
}

.site-header__main {
  height: 71px;
  border-bottom: 0;
}

.site-header__nav {
  height: 40px;
  border-bottom: 0;
  background: #ffffff;
}

.site-header__nav-inner,
.primary-nav,
.primary-nav__links {
  height: 40px;
  min-height: 40px;
}

.header-search {
  height: 41px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 120px;
  background: #f2f4f7;
  transition: background-color 180ms ease, border-color 180ms ease;
}

.header-search:focus-within {
  border-color: #1569cf;
  background: #ffffff;
}

.header-search input {
  height: 39px;
  border: 0;
  border-radius: 120px 0 0 120px;
  padding: 0 16px;
  background: transparent;
  color: #222222;
  font-size: 15px;
}

.header-search input::placeholder {
  color: #bdbdbd;
}

.header-search button {
  width: 52px;
  min-width: 52px;
  height: 35px;
  align-self: center;
  margin-right: 2px;
  border: 0;
  border-radius: 120px;
  background: #1569cf;
}

.header-search button:hover {
  background: #02a7f0;
}

.header-actions a {
  gap: 6px;
  color: #222222;
  font-size: 15px;
  font-weight: 400;
}

.header-actions b {
  background: transparent;
  color: #222222;
  font-size: 13px;
}

.primary-nav {
  width: 100%;
  font-size: 15px;
  font-weight: 400;
}

.primary-nav__links {
  width: 100%;
  justify-content: space-between;
  gap: 0;
}

.primary-nav__links > a {
  padding: 0;
}

.primary-nav__links > a,
.nav-catalog__link,
.nav-catalog__desktop-trigger,
.nav-category-link {
  min-height: 40px;
  border-bottom-width: 1px;
}

.nav-catalog {
  display: block;
  height: 40px;
}

.nav-catalog__desktop-trigger {
  position: relative;
  display: inline-flex;
  height: 40px;
  align-items: center;
  gap: 8px;
  border: 0;
  border-bottom: 0;
  padding: 0;
  background: transparent;
  color: #222222;
  font: inherit;
  line-height: 40px;
  cursor: pointer;
  transition: all 250ms ease;
  white-space: nowrap;
}

.nav-catalog__desktop-trigger .catalog-menu-icon {
  width: 20px;
  height: 14px;
  flex: 0 0 20px;
  transition: all 250ms ease;
}

.nav-catalog__desktop-trigger .catalog-menu-icon::after {
  width: 20px;
}

.nav-catalog__link,
.nav-catalog__toggle {
  display: none;
}

.navigation-enhanced .nav-catalog__toggle {
  display: none;
}

.nav-category {
  position: relative;
  height: 40px;
}

.nav-category--wide {
  display: none;
}

.nav-category-link {
  position: relative;
  display: inline-flex;
  height: 40px;
  align-items: center;
  border-bottom: 0;
  padding: 0;
  color: #222222;
  line-height: 40px;
  transition: all 250ms ease;
  white-space: nowrap;
}

.nav-catalog__desktop-trigger::after,
.nav-category-link::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: #1569cf;
  content: "";
  transform: translateX(-50%);
  transition: width 250ms ease;
}

.nav-catalog__desktop-trigger:hover,
.nav-catalog__desktop-trigger:focus-visible,
.nav-catalog__desktop-trigger[aria-expanded="true"],
.nav-category-link:hover,
.nav-category-link:focus-visible,
.nav-category-link[aria-expanded="true"],
.nav-category-link[aria-current="page"] {
  color: #1569cf;
}

.nav-catalog__desktop-trigger[aria-expanded="true"]::after,
.nav-catalog__desktop-trigger:hover::after,
.nav-catalog__desktop-trigger:focus-visible::after,
.nav-category-link[aria-expanded="true"]::after,
.nav-category-link:hover::after,
.nav-category-link:focus-visible::after,
.nav-category-link[aria-current="page"]::after {
  width: 100%;
}

.header-category-menu {
  position: fixed;
  z-index: 56;
  top: var(--header-menu-top, 111px);
  left: var(--header-menu-left, 0px);
  display: flex;
  width: calc(266px * var(--header-menu-columns, 1));
  height: calc(35px * var(--header-menu-rows, 1));
  flex-flow: column wrap;
  overflow: hidden;
  border-radius: 0 0 6px 6px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  opacity: 1;
  transition: opacity 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.header-category-menu.is-entering,
.header-category-menu.is-leaving {
  opacity: 0;
}

.header-category-menu__item {
  display: list-item;
  width: 266px;
  height: 35px;
  flex: 0 0 35px;
  min-height: 35px;
  border-left: 4px solid transparent;
  padding: 8px 14px 4px calc(14px + (var(--category-depth, 1) - 1) * 14px);
  color: #222222;
  font-size: 15px;
  font-weight: 300;
  line-height: 20px;
  list-style: none;
  transition: all 250ms ease;
  white-space: nowrap;
}

.header-category-menu__item:hover,
.header-category-menu__item:focus-visible,
.header-category-menu__item[aria-current="page"] {
  border-left-color: #222222;
  background: rgba(240, 240, 239, 0.835);
  color: #222222;
  font-weight: 400;
}

.mega-menu {
  z-index: 60;
  top: 111px;
  height: 512px;
  max-height: calc(100vh - 111px);
  overflow: hidden;
  border: 0;
  background: #ffffff;
  box-shadow: 0 5px 5px rgba(0, 0, 0, 0.05);
}

.mega-menu__inner {
  display: flex;
  height: 512px;
  gap: 20px;
  padding: 18px 0 20px;
}

.mega-menu__parents {
  display: block;
  width: 364px;
  flex: 0 0 364px;
  max-height: 474px;
  overflow: hidden auto;
  scrollbar-width: thin;
}

.mega-menu__parent {
  position: relative;
  display: flex;
  min-height: 43px;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  border-left: 4px solid transparent;
  padding: 8px 10px;
  color: #222222;
  font-size: 18px;
  font-weight: 500;
  line-height: 27px;
}

.mega-menu__parent:hover,
.mega-menu__parent:focus-visible,
.mega-menu__parent.is-active {
  border-left-color: #222222;
  background: rgba(205, 205, 203, 0.3);
  color: #111111;
}

.mega-menu__parent:hover,
.mega-menu__parent:focus-visible,
.mega-menu__parent.is-active {
  font-weight: 700;
}

.mega-menu__parent-mark {
  position: relative;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
}

.mega-menu__parent-mark--image {
  overflow: hidden;
}

.mega-menu__parent-icon {
  display: block;
  width: 25px;
  height: 25px;
  object-fit: contain;
}

.mega-menu__parent-mark--fallback {
  border: 1px solid #222222;
  border-radius: 2px;
}

.mega-menu__parent-mark--fallback::before,
.mega-menu__parent-mark--fallback::after {
  position: absolute;
  content: "";
}

.mega-menu__parent-mark--fallback::before {
  top: 4px;
  right: 5px;
  left: 5px;
  height: 3px;
  border: 1px solid #222222;
  border-bottom: 0;
  border-radius: 3px 3px 0 0;
}

.mega-menu__parent-mark--fallback::after {
  right: 4px;
  bottom: 4px;
  left: 4px;
  height: 10px;
  border: 1px solid #222222;
}

.mega-menu__panels,
.mega-menu__panel {
  height: 100%;
  min-width: 0;
}

.mega-menu__panels {
  flex: 1 1 auto;
}

.mega-menu__panel {
  display: flex;
  gap: 20px;
}

.mega-menu__panel[hidden] {
  display: none;
}

.mega-menu__children {
  display: grid;
  width: 488px;
  flex: 0 0 488px;
  align-content: start;
  grid-template-columns: repeat(2, 234px);
  grid-auto-rows: 30px;
  gap: 20px;
  max-height: 474px;
  overflow: hidden auto;
}

.mega-menu__child {
  display: flex;
  min-width: 0;
  align-items: center;
  height: 42px;
  padding: 10px 5px 10px calc(5px + (var(--category-depth, 1) - 1) * 14px);
  color: #222222;
  font-size: 15px;
  font-weight: 300;
  line-height: 22.5px;
}

.mega-menu__child:hover,
.mega-menu__child:focus-visible,
.mega-menu__child[aria-current="page"] {
  color: #111111;
  font-weight: 400;
}

.mega-menu__recommendations {
  display: flex;
  width: 260px;
  flex: 0 0 260px;
  flex-wrap: wrap;
  align-content: start;
  gap: 20px;
  margin-left: auto;
  padding-top: 12px;
}

.mega-menu__product {
  display: block;
  width: 260px;
  height: fit-content;
  color: #222222;
}

.mega-menu__product-image {
  display: block;
  grid-column: 1 / -1;
  width: 260px;
  height: 138px;
  overflow: hidden;
  background: #ffffff;
}

.mega-menu__product-image img,
.mega-menu__product-image .product-image-missing {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
}

.mega-menu__product-copy {
  display: block;
  padding-top: 16px;
}

.mega-menu__product-copy strong {
  display: block;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mega-menu__product-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: #555555;
  font-size: 12px;
  font-weight: 400;
  margin-top: 10px;
  line-height: 18px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mega-menu__product:hover strong,
.mega-menu__product:focus-visible strong,
.mega-menu__product-empty:hover {
  color: #1569cf;
}

.mega-menu__product-empty {
  display: flex;
  min-height: 60px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #eeeeee;
  color: #1569cf;
  font-size: 14px;
}

.site-menu-backdrop {
  top: 111px;
  z-index: 59;
  background: rgba(0, 0, 0, 0.26);
}

.home-page {
  background: #fafafa;
}

.home-hero {
  background: #ffffff;
}

.home-hero__media picture,
.home-hero__media img {
  width: 100%;
  height: 100%;
}

.home-hero__media img {
  padding: 0;
  object-fit: cover;
  object-position: center;
}

.home-hero__media--mobile {
  display: none;
}

.home-hero.home-hero--category-banners {
  height: 36.458333vw;
  min-height: 0;
  max-height: none;
}

.home-hero--category-banners .home-hero__slide::after {
  display: none;
}

.home-hero--category-banners .home-hero__media img {
  object-fit: cover;
}

.home-hero--category-banners .home-hero__copy {
  display: none;
}

.home-hero--category-banners .home-hero__control {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(18, 26, 33, 0.58);
}

.home-hero--category-banners .home-hero__control:hover,
.home-hero--category-banners .home-hero__control:focus-visible {
  background: rgba(18, 26, 33, 0.86);
}

.home-hero__slide-link {
  position: absolute;
  z-index: 3;
  inset: 0;
}

.home-hero__slide-link:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: -6px;
}

.home-page .home-section__heading--center {
  justify-content: center;
  justify-items: center;
  align-items: center;
  text-align: center;
}

.home-hero__control {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
}

.home-hero__control--previous {
  left: 3.65vw;
}

.home-hero__control--next {
  right: 3.65vw;
}

.home-section__heading h2 {
  color: #111111;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 1.2;
}

.home-section--latest,
.home-section--categories,
.resources-band,
.contact-band {
  background: #fafafa;
}

.product-rail {
  gap: 8px;
}

.category-tile,
.category-tile__media {
  border-radius: 0;
}

.catalog-page {
  background: #ffffff;
}

.catalog-discovery {
  background: #f7f7f7;
}

.catalog-breadcrumb-row .breadcrumbs {
  color: #666666;
  font-size: 14px;
  line-height: 40px;
  text-transform: none;
}

.catalog-banner {
  height: calc(17.58vw + 9px);
  min-height: 234px;
  max-height: 346px;
}

.catalog-banner__track {
  gap: 14px;
  padding: 4px 0 10px;
  scroll-padding-inline: 0;
}

.catalog-banner__item {
  width: auto;
  min-width: 0;
  height: 100%;
  flex: 0 0 auto;
  aspect-ratio: 670 / 377;
}

.category-nav-frame {
  height: auto;
}

.category-nav {
  height: auto;
  gap: 12px;
  padding: 0 0 25px;
}

.category-nav a {
  height: auto;
  min-height: 0;
  grid-template-rows: auto 43px;
  gap: 0;
  border: 0;
  color: #666666;
  transition: color 180ms ease, opacity 180ms ease;
}

.category-nav a:hover {
  color: #222222;
}

.category-nav a:hover .category-nav__media,
.category-nav a:focus-visible .category-nav__media,
.category-nav a[aria-current="page"] .category-nav__media {
  border-color: #999999;
}

.category-nav a[aria-current="page"] {
  color: #222222;
}

.category-nav__media {
  width: 100%;
  height: auto;
  border: 1px solid #eeeeee;
  background: #ffffff;
  aspect-ratio: 1;
  transition: border-color 180ms ease;
}

.category-nav__media img {
  padding: 0;
}

.category-nav strong {
  align-self: start;
  padding-top: 10px;
  color: inherit;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
}

.catalog-filter {
  min-height: 65px;
  margin: 12px 0 0;
  padding-bottom: 20px;
}

.catalog-filter input,
.catalog-filter select,
.catalog-filter .command {
  height: 36px;
  min-height: 36px;
  border-color: #dddddd;
  font-size: 14px;
}

.catalog-filter .command {
  min-width: 108px;
  border-color: #02a7f0;
  background: #02a7f0;
  color: #07263a;
}

.catalog-filter .clear-filter {
  font-size: 14px;
}

.catalog-results {
  min-height: 33px;
  margin: -20px 0 16px;
  color: #444444;
  font-size: 14px;
  line-height: 21px;
}

.catalog-page .product-grid {
  gap: 8px;
}

.product-card {
  position: relative;
  min-width: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #ffffff;
  box-shadow: none;
}

.product-card__default {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

.product-card__image {
  width: 100%;
  margin: 0;
  border: 1px solid #eeeeee;
  border-radius: 0;
  padding: 30px;
  background: #ffffff;
  aspect-ratio: 1;
}

.catalog-page .product-card__image img,
.home-section--latest .product-card__image img,
.related-products .product-card__image img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: contain;
  mix-blend-mode: multiply;
  transform: none;
}

.product-card:hover .product-card__image img {
  transform: none;
}

.product-card__badges {
  top: 10px;
  right: auto;
  bottom: auto;
  left: 10px;
  gap: 6px;
}

.product-card__badges b,
.badges b {
  display: inline-flex;
  min-height: 22px;
  align-items: center;
  border: 1px solid #e1e6ec;
  border-radius: 999px;
  padding: 3px 8px;
  background: rgba(255, 255, 255, 0.94);
  color: #a72b2b;
  font-size: 10px;
  font-weight: 600;
  line-height: 14px;
  text-transform: none;
}

.product-card__badges b.deep,
.badges b.deep {
  border-color: #cbdbe7;
  background: rgba(246, 250, 253, 0.96);
  color: #244e6b;
}

.product-card__badges b.deep {
  box-shadow: 0 1px 3px rgba(24, 53, 74, 0.12);
}

.product-card__badges b.deep::before,
.badges b.deep::before {
  width: 6px;
  height: 6px;
  margin-right: 5px;
  border-radius: 50%;
  background: #2a769f;
  content: "";
}

.product-card__meta {
  display: none;
}

.catalog-page .product-card h2,
.home-section--latest .product-card h2,
.related-products .product-card h2 {
  display: -webkit-box;
  min-height: 44px;
  margin: 10px 0 0;
  overflow: hidden;
  color: #111111;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 22px;
  text-transform: capitalize;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card__colors {
  display: none;
}

.product-card__footer {
  margin-top: 4px;
  border: 0;
  padding: 0;
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--font-body);
}

.product-card__price span,
.product-card__price small {
  color: #444444;
  font-size: 12px;
  font-weight: 500;
}

.product-card__price strong {
  color: #222222;
  font-size: 14px;
  font-weight: 700;
}

.product-card__sku {
  margin: 0;
  color: #666666;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 22px;
}

.product-card__hover {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: auto;
  overflow: hidden;
  border: 1px solid #dddddd;
  padding-bottom: 5px;
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 500ms ease, transform 600ms ease, visibility 500ms;
  visibility: hidden;
  will-change: opacity, transform;
}

.product-card__hover-image {
  position: relative;
  display: flex;
  margin-bottom: 5px;
  padding: 0 22px;
  align-items: center;
  justify-content: center;
}

.product-card__hover-image > img,
.product-card__hover-image > picture,
.product-card__hover-image > picture img {
  width: 100%;
  height: auto;
  padding: 0;
  object-fit: contain;
  aspect-ratio: 1;
}

.product-card__hover-arrow {
  position: absolute;
  z-index: 2;
  top: 30px;
  bottom: 30px;
  display: grid;
  width: 18px;
  place-items: center;
  background: rgba(0, 0, 0, 0.02);
  color: #222222;
  font-size: 18px;
}

.product-card__hover-arrow--previous {
  left: 7px;
}

.product-card__hover-arrow--next {
  right: 7px;
}

.product-card__hover-swatches {
  display: flex;
  width: 96%;
  min-height: 22px;
  margin: 0 auto;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.product-card__hover-swatches--empty {
  min-height: 10px;
}

.product-card__hover-swatch {
  display: grid;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  place-items: center;
  border: 1px solid #dddddd;
  border-radius: 50%;
  padding: 2px;
  background: var(--card-swatch, #eeeeee);
}

.product-card__hover-swatch.is-active {
  border-color: #0e8bff;
}

.product-card__hover-swatch--image img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.product-card__hover-info {
  display: block;
  padding: 10px;
}

.product-card__hover-sku {
  display: block;
  border-bottom: 1px dashed #dddddd;
  padding: 0 0 10px;
  color: #222222;
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
}

.product-card__hover-pricing {
  position: relative;
  display: block;
  overflow: hidden;
  color: #222222;
  font-family: var(--font-body);
  font-size: 13px;
  white-space: nowrap;
}

.product-card__hover-pricing::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 16%;
  background: linear-gradient(270deg, #ffffff 10%, rgba(255, 255, 255, 0.6));
  content: "";
}

.product-card__hover-row {
  display: flex;
  min-width: max-content;
  padding-top: 10px;
  align-items: center;
  font-weight: 500;
  line-height: 1;
}

.product-card__hover-row b {
  width: 35px;
  flex: 0 0 35px;
}

.product-card__hover-row em {
  width: 65px;
  flex: 0 0 65px;
  color: #444444;
  font-style: normal;
}

.product-card__hover-tags {
  display: flex;
  margin-top: 10px;
  flex-wrap: wrap;
  gap: 8px;
}

.product-card__hover-tags b {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border: 1px solid #dddddd;
  border-radius: 13px;
  padding: 3px 8px;
  color: #111111;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  line-height: 16px;
}

.single-jf_product {
  background: #fafafa;
}

.product-detail {
  color: #222222;
  font-family: var(--font-copy);
  font-size: 16px;
  line-height: 24px;
}

.product-detail .breadcrumbs {
  min-height: 40px;
  padding: 8px 0;
  color: #666666;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 24px;
  text-transform: none;
}

.product-layout {
  align-items: start;
}

.product-layout__left,
.product-summary {
  min-width: 0;
}

.product-gallery__status {
  display: none;
}

.product-gallery__primary,
.product-gallery__thumb {
  border-color: #dddddd;
  border-radius: 0;
  background: #ffffff;
}

.product-gallery__primary img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery__thumb[aria-current="true"] {
  border-color: #02a7f0;
  box-shadow: inset 0 0 0 1px #02a7f0;
}

.product-gallery-downloads {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.product-gallery-downloads__item {
  display: flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #02a7f0;
  padding: 7px 12px;
  color: #02a7f0;
  font-family: var(--font-copy);
  text-align: left;
}

.product-gallery-downloads__item:hover {
  border-color: #1569cf;
  color: #1569cf;
}

.product-gallery-downloads__item.is-unavailable,
.product-gallery-downloads__item.is-unavailable:hover {
  border-color: #b8bec5;
  color: #777777;
  cursor: not-allowed;
}

.product-gallery-downloads__item > span:last-child {
  display: grid;
  gap: 1px;
}

.product-gallery-downloads__item b {
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
}

.product-gallery-downloads__item small {
  color: #666666;
  font-size: 11px;
  line-height: 14px;
}

.product-gallery-downloads__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid currentColor;
  border-top: 0;
}

.product-gallery-downloads__icon::before {
  position: absolute;
  top: -3px;
  left: 7px;
  width: 5px;
  height: 9px;
  border-left: 1px solid currentColor;
  content: "";
}

.product-gallery-downloads__icon::after {
  position: absolute;
  top: 3px;
  left: 5px;
  width: 5px;
  height: 5px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.product-summary {
  display: flex;
  flex-direction: column;
  color: #222222;
  font-family: var(--font-copy);
}

.product-summary > .eyebrow {
  display: none;
}

.product-layout .product-summary > h1 {
  order: 1;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 18px;
  font-weight: 650;
  line-height: 27px;
}

.product-summary__top {
  order: 2;
  min-height: 24px;
  margin: 0 0 10px;
  color: #02a7f0;
  font-size: 16px;
  line-height: 24px;
}

.product-summary__top > span {
  font-weight: 400;
}

.product-summary__top .badges {
  gap: 6px;
}

.product-options {
  order: 3;
  margin: 0 0 8px;
}

.product-options__group {
  margin: 0 0 16px;
}

.product-options__group legend {
  display: flex;
  width: 100%;
  min-height: 37px;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
  padding: 8px;
  background: #f5f5f5;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  text-transform: uppercase;
}

.product-options__echo,
.product-options__echo--empty {
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.product-options__choices {
  gap: 8px;
}

.product-options__choice {
  min-height: 40px;
  gap: 7px;
  border-color: #dddddd;
  border-radius: 0;
  padding: 7px 12px;
  background: #ffffff;
  color: #222222;
  font-size: 14px;
}

.product-options__choice:hover,
.product-options__choice:has(input:checked) {
  border-color: #02a7f0;
}

.product-options__choice:has(input:checked) {
  background: #ffffff;
  box-shadow: none;
}

.product-options__swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
}

.product-options__thumb {
  width: 44px;
  height: 44px;
}

.product-options__help {
  margin-top: 5px;
  color: #666666;
  font-size: 13px;
  line-height: 20px;
}

.product-pricing {
  order: 4;
  margin: 0 0 8px;
  border: 0;
  padding: 0;
  background: transparent;
}

.product-pricing::before {
  display: block;
  min-height: 37px;
  margin-bottom: 8px;
  padding: 8px;
  background: #f5f5f5;
  color: #222222;
  content: "IMPRINT METHOD & QUANTITY";
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.product-pricing__heading {
  align-items: end;
  padding: 0 8px 6px;
}

.product-pricing__heading .eyebrow {
  color: #666666;
  font-size: 12px;
}

.product-pricing__heading h2 {
  margin-top: 2px;
  font-family: var(--font-copy);
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.product-pricing__code span,
.product-pricing__code b {
  font-size: 13px;
}

.price-tiers {
  overflow-x: auto;
}

.price-tier-table {
  min-width: 100%;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 14px;
}

.price-tier-table th,
.price-tier-table td {
  min-width: 92px;
  height: 32px;
  border-color: #dddddd;
  padding: 4px 8px;
  background: #ffffff;
  color: #222222;
  font-size: 14px;
  line-height: 22px;
}

.price-tier-table th:first-child,
.price-tier-table tbody th {
  min-width: 118px;
  color: #666666;
  text-align: left;
}

.price-tier-table thead th:not(:first-child),
.price-tier-table tbody td {
  text-align: left;
}

.price-tier-table thead th:nth-child(2),
.price-tier-table tbody td:first-of-type {
  background: #e2f5fd;
}

.price-tier-table thead small {
  color: #1569cf;
  font-size: 10px;
}

.price-note {
  margin: 8px 0 0;
  color: #666666;
  font-size: 12px;
  line-height: 18px;
}

.product-package {
  order: 5;
  gap: 12px;
  border: 0;
  border-top: 3px solid #02a7f0;
  padding: 16px;
  background: #f5fbfe;
}

.product-package__configuration span,
.product-package .jf-field label {
  color: #222222;
  font-size: 14px;
  font-weight: 700;
}

.product-package__configuration b,
.product-package__notice,
.product-package__count {
  font-size: 14px;
  line-height: 21px;
}

.product-package__fields {
  grid-template-columns: minmax(0, 215px);
}

.product-package .jf-field input,
.product-package .jf-field select {
  min-height: 40px;
  border-color: #dddddd;
  border-radius: 0;
  font-size: 14px;
}

.product-package .jf-field__hint {
  color: #666666;
  font-size: 13px;
  line-height: 19px;
}

.product-package .command {
  min-height: 40px;
  border-radius: 0;
  padding: 9px 14px;
  font-size: 14px;
}

.product-summary__actions {
  order: 6;
  min-height: 44px;
  font-size: 14px;
}

.product-summary .product-intro,
.product-summary .product-facts {
  display: none;
}

.deep-stock-status {
  order: 7;
  font-size: 13px;
}

.product-jump {
  display: none;
}

.detail-sections {
  margin-top: 18px;
  border: 0;
  color: #222222;
  font-family: var(--font-copy);
}

.detail-sections details {
  border: 0;
}

.detail-sections details + details {
  margin-top: 20px;
}

.detail-sections summary {
  min-height: 37px;
  padding: 8px;
  background: #f5f5f5;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  text-transform: uppercase;
}

.detail-sections summary::after {
  color: #222222;
  font-weight: 400;
}

.product-description-copy,
.feature-list,
.feature-single,
.detail-note,
.download-list__desc,
.download-list__meta {
  padding: 14px 4px 0;
  color: #222222;
  font-size: 16px;
  line-height: 24px;
}

.detail-grid {
  grid-template-columns: 1fr;
  gap: 0;
  padding: 8px 4px 0;
}

.detail-grid > div {
  grid-template-columns: minmax(150px, 33.333%) minmax(0, 1fr);
  gap: 12px;
  border-bottom: 0;
  padding: 6px 0;
  font-size: 14px;
  line-height: 21px;
}

.detail-grid dt {
  color: #888888;
  font-size: 14px;
  font-weight: 700;
  text-transform: none;
}

.detail-grid dd {
  color: #222222;
  font-size: 14px;
}

.imprint-option {
  margin: 12px 4px 0;
}

.imprint-option h3 {
  margin: 0 0 4px;
  font-family: var(--font-copy);
  font-size: 15px;
  font-weight: 700;
}

.related-products {
  margin-top: 54px;
  padding-top: 32px;
  padding-bottom: 40px;
  background: #f2f2f2;
}

.related-products__heading h2 {
  font-family: var(--font-copy);
  font-size: 18px;
  font-weight: 700;
  line-height: 27px;
}

.related-products__heading .eyebrow,
.related-products .section-link {
  font-size: 13px;
}

.disclaimer {
  font-family: var(--font-copy);
  font-size: 13px;
  line-height: 20px;
}

.content-page--policy,
.content-page--support {
  font-family: var(--font-copy);
}

.content-page--policy .content-page__header h1,
.content-page--policy .content-page__body h2 {
  font-family: var(--font-copy);
}

.content-page--support {
  padding-top: 16px;
  padding-bottom: 78px;
}

.content-page--support .content-page__frame {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  column-gap: 56px;
  padding: 0 26px 0 10px;
}

.contact-support-nav {
  grid-column: 1;
  grid-row: 1 / span 3;
  min-width: 0;
  padding-right: 0;
}

.contact-support-nav h2 {
  margin: 0 0 18px;
  font-family: var(--font-copy);
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
}

.contact-support-nav nav {
  display: grid;
}

.contact-support-nav a {
  min-height: 45px;
  border-left: 4px solid transparent;
  padding: 11px 12px;
  color: #444444;
  font-size: 15px;
  line-height: 22px;
}

.contact-support-nav a:hover,
.contact-support-nav a[aria-current="page"] {
  border-left-color: #222222;
  background: #f0f0ef;
  color: #222222;
}

.content-page--support .content-page__header {
  grid-column: 2;
  grid-row: 1;
  max-width: none;
  margin-left: 0;
  border: 0;
  padding: 0 0 14px;
  text-align: left;
}

.content-page--support .content-page__header .eyebrow {
  display: none;
}

.content-page--support .content-page__header h1 {
  margin: 7px 0 0;
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 400;
  line-height: 46px;
}

.content-page--support .content-page__header-copy > p:last-child {
  display: none;
}

.contact-support-overview {
  grid-column: 2;
  grid-row: 2;
}

.contact-support-banner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  gap: 8px;
  min-height: 198px;
  border-radius: 8px;
  padding: 24px clamp(32px, 9vw, 150px);
  background: #eef7fd;
  text-align: center;
}

.contact-support-banner > span {
  display: none;
}

.contact-support-banner h2 {
  font-family: var(--font-copy);
  font-size: 28px;
  font-weight: 700;
  line-height: 34px;
}

.contact-support-banner p {
  max-width: 620px;
  margin: 8px 0 0;
  color: #444444;
  font-size: 18px;
  line-height: 28px;
}

.contact-support-banner > a {
  display: flex;
  width: min(394px, 100%);
  min-height: 52px;
  margin-top: 14px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 4px;
  background: #1569cf;
  box-shadow: 0 6px 12px rgba(21, 105, 207, 0.18);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.contact-support-banner > a:hover {
  background: #02a7f0;
}

.contact-support-links__heading {
  margin: 34px 0 28px;
  text-align: center;
}

.contact-support-links__heading h2 {
  font-family: var(--font-copy);
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
}

.contact-support-links__heading p {
  margin: 8px 0 0;
  color: #666666;
  font-size: 16px;
  line-height: 24px;
}

.contact-support-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 0;
}

.contact-support-links > a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  min-height: 104px;
  border: 1px solid #dddddd;
  padding: 17px;
  background: #ffffff;
}

.contact-support-links > a:hover {
  border-color: #1569cf;
}

.contact-support-links__icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #1569cf;
  border-radius: 50%;
  color: #1569cf;
  font-size: 18px;
  font-weight: 700;
}

.contact-support-links > a > span:nth-child(2) {
  display: grid;
  gap: 4px;
}

.contact-support-links b {
  font-size: 16px;
  line-height: 22px;
}

.contact-support-links small {
  color: #666666;
  font-size: 14px;
  line-height: 20px;
}

.contact-support-links i {
  color: #1569cf;
  font-size: 20px;
  font-style: normal;
}

.content-page--support .content-layout {
  grid-column: 2;
  grid-row: 3;
  display: block;
  padding-top: 42px;
}

.content-page--support .content-page__body {
  max-width: 900px;
}

.content-page--support .content-page__aside {
  display: none;
}

.content-page--support .content-page__body,
.content-page--support .content-page__body p,
.content-page--support .content-page__body label,
.content-page--support .content-page__body input,
.content-page--support .content-page__body textarea,
.content-page--support .content-page__body select,
.content-page--support .content-page__body button {
  font-size: 16px;
  line-height: 24px;
}

.footer-grid {
  font-size: 15px;
}

.footer-column summary {
  font-size: 18px;
  font-weight: 500;
}

.footer-column a {
  font-size: 15px;
  font-weight: 300;
  line-height: 27px;
}

.footer-spotlight p,
.footer-spotlight > a:last-child {
  font-size: 14px;
  line-height: 22px;
}

.footer-bottom {
  font-size: 14px;
}

@media (min-width: 1280px) {
  .shell,
  .site-header .shell {
    width: max(79.1666667vw, 1119px);
    max-width: none;
  }

  .site-header__inner {
    display: flex;
    min-height: 71px;
    gap: 0;
  }

  .mega-menu__inner {
    width: max(79.1666667vw, 1119px);
    max-width: none;
  }

  .site-identity {
    width: 210px;
    flex: 0 0 210px;
  }

  .brand__logo {
    width: 210px;
  }

  .header-search {
    width: auto;
    max-width: none;
    flex: 1 1 auto;
    grid-template-columns: minmax(0, 1fr) 52px;
    margin: 0 5%;
  }

  .header-actions {
    width: 414px;
    flex: 0 0 414px;
    gap: 20px;
  }

  .home-hero {
    height: 36.2vw;
    min-height: 0;
    max-height: none;
    margin-top: -40px;
  }

  .product-rail > .product-card {
    flex-basis: calc((100% - 24px) / 4);
  }

  .category-nav a {
    width: calc((100% - 96px) / 9);
    min-width: calc((100% - 96px) / 9);
    flex-basis: calc((100% - 96px) / 9);
  }

  .catalog-page .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .catalog-page .product-card,
  .home-section--latest .product-card {
    z-index: 1;
    margin-bottom: 30px;
    padding-bottom: 35px;
  }

  .catalog-page .product-card:hover,
  .home-section--latest .product-card:hover {
    z-index: 20;
  }

  .product-detail {
    width: calc(80vw - 16px);
    max-width: none;
  }

  .product-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .product-layout .product-gallery {
    display: grid;
    width: 100%;
    min-height: 0;
    grid-template-columns: 14.7% minmax(0, 1fr);
    grid-template-rows: auto;
    column-gap: 20px;
  }

  .product-layout .product-gallery__primary {
    width: 100%;
    height: auto;
    min-height: 0;
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 1;
  }

  .product-layout .product-gallery__primary img {
    padding: 20px;
  }

  .product-layout .product-gallery__thumbs {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    max-height: none;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
  }

  .product-layout .product-gallery__thumb {
    width: 100%;
    min-width: 0;
    min-height: 0;
    flex: 0 0 auto;
    aspect-ratio: 1;
  }

  .product-layout .product-gallery__thumb img {
    width: 100%;
    height: 100%;
    padding: 8px;
    object-fit: contain;
  }

  .related-products {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding-right: max(10.4166667vw, calc((100vw - 1532px) / 2));
    padding-left: max(10.4166667vw, calc((100vw - 1532px) / 2));
  }

  .content-page--support {
    width: 79.1666667vw;
    max-width: none;
  }
}

@media (min-width: 1680px) {
  .nav-category--wide {
    display: block;
  }

  .product-rail > .product-card {
    flex-basis: calc((100% - 32px) / 5);
  }

  .catalog-page .product-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .product-detail {
    width: min(calc(100% - 40px), 1532px);
  }
}
/* River expands the PDP shell at 1600px; the 450px gallery stage remains in
   place until the 1601px media step below enables the 618px wide gallery. */
@media (min-width: 1600px) and (max-width: 1679px) {
  .product-detail {
    width: min(calc(100% - 40px), 1532px);
  }
}

@media (min-width: 1920px) {
  .catalog-banner {
    height: min(calc(23.125vw - 98px), 494px);
    max-height: 494px;
  }
}

@media (hover: hover) and (pointer: fine) and (min-width: 1281px) {
  .product-card:hover .product-card__default {
    opacity: 0;
    transform: translateY(-6px);
  }

  .product-card:hover .product-card__hover {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }
}

@media (max-width: 1280px) {
  .product-card__hover {
    display: none;
  }

  .catalog-page .product-card,
  .home-section--latest .product-card {
    margin-bottom: 0;
    padding-bottom: 0;
  }

  .footer-grid {
    font-size: 14px;
  }

  .footer-column summary {
    font-size: 16px;
  }

  .footer-column a {
    font-size: 14px;
    line-height: 24px;
  }
}

@media (max-width: 1279px) {
  .nav-catalog {
    display: grid;
  }

  .nav-catalog__desktop-trigger,
  .header-category-menu {
    display: none !important;
  }

  .nav-catalog__link {
    display: inline-flex;
  }

  .navigation-enhanced .nav-catalog__toggle {
    display: grid;
  }

  .nav-category {
    display: contents;
  }

  .nav-category-link {
    min-height: 49px;
    height: auto;
    border-bottom: 1px solid #eeeeee;
    padding: 0 5px;
    font-size: 13px;
    line-height: 24px;
  }

  .nav-category-link::after {
    display: none;
  }
}

@media (min-width: 960px) and (max-width: 1279px) {
  .catalog-banner {
    height: 220px;
    min-height: 220px;
  }
}

@media (max-width: 959px) {
  .site-header,
  .site-header__main {
    height: 129px;
  }

  .site-header__main {
    border-bottom: 1px solid #f0f0ef;
  }

  .site-header__inner {
    display: grid;
    width: calc(100% - 60px);
    min-height: 129px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    grid-template-rows: 68px 41px 20px;
    gap: 0;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    grid-column: 1;
    grid-row: 1;
    align-self: center;
    border: 0;
    padding: 9px;
  }

  .site-identity {
    grid-column: 2;
    grid-row: 1;
  }

  .brand__logo {
    width: 180px;
  }

  .header-actions {
    grid-column: 3;
    grid-row: 1;
    gap: 14px;
  }

  .header-actions a {
    min-height: 44px;
  }

  .header-action__label {
    display: none;
  }

  .header-search {
    width: 100%;
    max-width: none;
    grid-column: 1 / -1;
    grid-row: 2;
    grid-template-columns: minmax(0, 1fr) 52px;
    justify-self: stretch;
  }

  .site-header__nav,
  .site-header__nav-inner {
    height: 0;
    min-height: 0;
    border: 0;
    background: transparent;
  }

  .navigation-enhanced .primary-nav {
    height: auto;
    max-height: none;
  }

  .navigation-enhanced .primary-nav__links {
    height: auto;
  }

  .mobile-catalog--parents {
    padding: 0 0 22px;
  }

  .mobile-catalog__parent {
    width: 100%;
    min-height: 50px;
    border: 0;
    border-bottom: 1px solid #eeeeee;
    padding: 0 4px;
    background: #ffffff;
    color: #222222;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 400;
    text-align: left;
    cursor: pointer;
  }

  .mobile-catalog--children {
    padding-bottom: 22px;
  }

  .mobile-catalog--children .mobile-catalog__child {
    justify-content: space-between;
    min-height: 48px;
    border-bottom: 1px solid #eeeeee;
    padding-right: 4px;
    color: #333333;
    font-size: 14px;
  }

  .home-hero {
    height: 102.08vw;
    min-height: 0;
    max-height: none;
    margin-top: 10px;
  }

  .home-hero__media--desktop {
    display: none;
  }

  .home-hero__media--mobile {
    display: block;
  }

  .home-hero__control {
    display: none;
  }

  .home-hero--category-banners .home-hero__control {
    display: grid;
    top: auto;
    bottom: 8px;
    width: 32px;
    height: 32px;
    transform: none;
  }

  .home-hero--category-banners .home-hero__control--previous {
    right: 46px;
    left: auto;
  }

  .home-hero--category-banners .home-hero__control--next {
    right: 8px;
    left: auto;
  }

  .home-section--latest {
    padding-top: 34px;
  }

  .home-section__heading h2 {
    font-size: 22px;
    line-height: 32px;
  }

  .catalog-banner {
    height: 177px;
    min-height: 177px;
    max-height: 177px;
  }

  .catalog-banner__track {
    gap: 4px;
    padding: 0;
  }

  .category-nav {
    gap: 8px;
    padding: 10px 0 25px;
  }

  .category-nav a {
    width: calc((100% - 40px) / 6);
    min-width: calc((100% - 40px) / 6);
    flex-basis: calc((100% - 40px) / 6);
    grid-template-rows: auto 31px;
  }

  .category-nav strong {
    padding-top: 7px;
    font-size: 12px;
    line-height: 15px;
  }

  .catalog-filter input,
  .catalog-filter select,
  .catalog-filter .command {
    font-size: 12px;
  }

  .catalog-results {
    font-size: 12px;
  }

  .content-page--support {
    width: calc(100% - 32px);
    padding-top: 20px;
    padding-bottom: 54px;
  }

  .content-page--support .content-page__frame {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .contact-support-nav {
    grid-column: 1;
    grid-row: 1;
    border-right: 0;
    border-bottom: 1px solid #eeeeee;
    padding: 0;
  }

  .contact-support-nav h2 {
    display: none;
  }

  .contact-support-nav nav {
    display: flex;
    overflow-x: auto;
  }

  .contact-support-nav a {
    min-width: max-content;
    border-bottom: 2px solid transparent;
    border-left: 0;
  }

  .contact-support-nav a:hover,
  .contact-support-nav a[aria-current="page"] {
    border-bottom-color: #222222;
    border-left-color: transparent;
  }

  .content-page--support .content-page__header {
    grid-column: 1;
    grid-row: 2;
    padding-top: 18px;
  }

  .contact-support-overview {
    grid-column: 1;
    grid-row: 3;
  }

  .contact-support-banner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .contact-support-banner > a {
    grid-column: 2;
  }

  .content-page--support .content-layout {
    grid-column: 1;
    grid-row: 4;
  }
}

@media (max-width: 700px) {
  .content-page--support {
    width: calc(100% - 48px);
  }

  .site-header,
  .site-header__main {
    height: 108px;
  }

  .site-header__inner,
  .site-header .shell {
    width: calc(100% - 28px);
  }

  .site-header__inner {
    min-height: 108px;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    grid-template-rows: 57px 41px 10px;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
    padding: 6px;
  }

  .brand__logo {
    width: 130px;
  }

  .header-actions {
    gap: 7px;
  }

  .header-actions a {
    min-height: 38px;
  }

  .header-actions .header-action__icon {
    width: 19px;
    height: 19px;
    flex-basis: 19px;
  }

  .header-actions b {
    min-width: 12px;
    height: 14px;
    font-size: 10px;
  }

  .header-search input {
    font-size: 13px;
  }

  .home-hero {
    height: 102.08vw;
  }

  .home-section--latest .product-card__image,
  .catalog-page .product-card__image,
  .related-products .product-card__image {
    padding: 18px;
  }

  .catalog-page .product-card h2,
  .home-section--latest .product-card h2,
  .related-products .product-card h2 {
    min-height: 44px;
    margin-top: 8px;
    font-size: 18px;
    line-height: 22px;
  }

  .product-card__price span,
  .product-card__price small {
    font-size: 11px;
  }

  .product-card__sku {
    font-size: 13px;
    line-height: 19px;
  }

  .catalog-banner {
    height: 259px;
    min-height: 259px;
    max-height: 259px;
  }

  .catalog-banner__item {
    width: 100vw;
    min-width: 100vw;
    height: 219px;
    flex-basis: 100vw;
    aspect-ratio: auto;
  }

  .category-nav-frame {
    width: calc(100% - 28px);
  }

  .category-nav {
    padding: 14px 0 32px;
  }

  .category-nav a {
    width: 71px;
    min-width: 71px;
    flex-basis: 71px;
    grid-template-rows: 71px 45px;
  }

  .category-nav strong {
    padding-top: 7px;
    font-size: 12px;
    line-height: 15px;
  }

  .catalog-page__inner {
    width: calc(100% - 28px);
  }

  .catalog-filter {
    min-height: 56px;
    padding-bottom: 20px;
  }

  .catalog-results {
    margin-top: -20px;
  }

  .product-detail {
    width: calc(100% - 16px);
    margin: 0 8px;
    overflow: hidden;
  }

  .product-detail .breadcrumbs {
    padding-right: 8px;
    padding-left: 8px;
    font-size: 13px;
  }

  .product-layout {
    gap: 0;
  }

  .product-layout .product-gallery__primary {
    border-right: 0;
    border-left: 0;
  }

  .product-layout .product-gallery__primary img {
    padding: 14px;
  }

  .product-gallery-downloads {
    order: 2;
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 8px;
  }

  .product-gallery-downloads__item {
    justify-content: flex-start;
  }

  .product-layout .product-summary {
    padding: 14px 8px 0;
  }

  .product-layout .product-summary > h1 {
    font-size: 18px;
    line-height: 27px;
  }

  .product-summary__top {
    font-size: 14px;
  }

  .product-options__group legend,
  .product-options__echo,
  .product-options__echo--empty,
  .product-pricing::before,
  .detail-sections summary {
    font-size: 14px;
    line-height: 21px;
  }

  .product-options__choice,
  .product-options__help,
  .price-tier-table,
  .price-tier-table th,
  .price-tier-table td,
  .product-package__configuration span,
  .product-package__configuration b,
  .product-package .jf-field label,
  .product-package .jf-field input,
  .product-package .jf-field__hint,
  .product-package .command,
  .product-summary__actions {
    font-size: 14px;
  }

  .product-layout__left .detail-sections {
    width: 100%;
    margin-top: 18px;
    padding: 0 8px;
  }

  .product-description-copy,
  .feature-list,
  .feature-single,
  .detail-note {
    font-size: 15px;
    line-height: 23px;
  }

  .detail-grid > div {
    grid-template-columns: 120px minmax(0, 1fr);
  }

  .detail-grid dt,
  .detail-grid dd {
    font-size: 13px;
  }

  .related-products {
    width: 100%;
    margin-top: 38px;
    padding: 28px 8px 34px;
  }

  .contact-support-banner {
    grid-template-columns: 1fr;
    min-height: 198px;
    padding: 16px 24px;
  }

  .contact-support-banner p {
    font-size: 16px;
    line-height: 24px;
  }

  .contact-support-banner > a {
    grid-column: 1;
    min-height: 44px;
    margin-top: 8px;
  }

  .contact-support-links {
    grid-template-columns: 1fr;
  }

  .contact-support-links > a {
    min-height: 94px;
  }

  .footer-column summary {
    font-size: 15px;
  }

  .footer-column a {
    font-size: 14px;
  }

  .footer-bottom {
    font-size: 12px;
  }
}

.product-gallery-downloads--single {
  grid-template-columns: minmax(0, 100%);
}

.product-gallery-downloads__item {
  box-sizing: border-box;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  font: inherit;
  text-decoration: none;
}

html.product-download-dialog-open {
  overflow: hidden;
}

dialog.product-download-dialog {
  width: min(520px, calc(100vw - 40px));
  max-width: 520px;
  max-height: min(680px, calc(100dvh - 40px));
  margin: auto;
  border: 0;
  border-radius: 4px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 9px 28px 8px rgba(0, 0, 0, 0.05), 0 6px 16px rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12);
  color: #222222;
  font-family: var(--font-copy);
}

dialog.product-download-dialog::backdrop {
  background: rgba(0, 0, 0, 0.46);
}

.product-download-dialog__shell {
  display: grid;
  max-height: min(680px, calc(100dvh - 40px));
  grid-template-rows: 56px minmax(0, 1fr);
  background: #ffffff;
}

.product-download-dialog__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px 0 24px;
}

.product-download-dialog__header h2 {
  margin: 0;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 16px;
  font-weight: 550;
  letter-spacing: 0;
  line-height: 24px;
}

.product-download-dialog__close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  color: #666666;
  cursor: pointer;
  font: 28px/1 Arial, sans-serif;
}

.product-download-dialog__close:hover,
.product-download-dialog__close:focus-visible {
  color: #1569cf;
}

.product-download-dialog__body {
  padding: 4px 24px 12px;
  overflow: auto;
}

.product-download-dialog__intro {
  margin: 0 0 18px;
  color: #666666;
  font-size: 13px;
  line-height: 20px;
}

.product-download-dialog__section + .product-download-dialog__section {
  margin-top: 20px;
  border-top: 1px solid #eeeeee;
  padding-top: 18px;
}

.product-download-dialog__section h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 20px;
}

.product-download-dialog__section h3 span {
  color: #777777;
  font-size: 12px;
  font-weight: 400;
}

.product-download-dialog__item {
  display: grid;
  min-height: 48px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 9px 0;
}

.product-download-dialog__item + .product-download-dialog__item {
  border-top: 1px solid #eeeeee;
}

.product-download-dialog__file {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.product-download-dialog__filename {
  min-width: 0;
  color: #222222;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  overflow-wrap: anywhere;
}

.product-download-dialog__file small {
  color: #777777;
  font-size: 11px;
  line-height: 16px;
}

.product-download-dialog__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-download-dialog__download {
  display: inline-flex;
  min-width: 76px;
  height: 30px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  border: 1px solid #166acf;
  border-radius: 4px;
  padding: 0 10px;
  color: #166acf;
  font-size: 13px;
  font-weight: 400;
  line-height: 28px;
  text-decoration: none;
}

.product-download-dialog__download:hover,
.product-download-dialog__download:focus-visible,
.product-download-dialog__download.is-primary {
  background: #166acf;
  color: #ffffff;
}

.product-download-dialog__download.is-primary:hover,
.product-download-dialog__download.is-primary:focus-visible {
  background: #0f57ad;
  border-color: #0f57ad;
}

.product-download-dialog__download.is-locked {
  border-color: #999999;
  color: #666666;
  white-space: nowrap;
}

.product-download-dialog__download.is-locked:hover,
.product-download-dialog__download.is-locked:focus-visible {
  background: #f5f5f5;
  border-color: #666666;
  color: #222222;
}

.reference-decoration-list {
  display: grid;
  gap: 18px;
  padding: 8px 4px 0;
}

.reference-decoration-group {
  min-width: 0;
}

.reference-decoration-group > header {
  display: grid;
  gap: 2px;
  margin-bottom: 7px;
}

.reference-decoration-group > header strong {
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.reference-decoration-group > header small {
  color: #777777;
  font-size: 12px;
  line-height: 18px;
}

.reference-decoration-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}

.reference-decoration-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  color: #222222;
  font-size: 13px;
  line-height: 19px;
}

.reference-decoration-table th,
.reference-decoration-table td {
  border: 1px solid #e1e1e1;
  padding: 7px 8px;
  text-align: left;
  white-space: nowrap;
}

.reference-decoration-table thead th {
  background: #f5f5f5;
  color: #555555;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.reference-decoration-table tbody th {
  background: #fbfbfb;
  font-weight: 600;
}

@media (max-width: 540px) {
  .home-hero.home-hero--category-banners {
    height: clamp(180px, 56.25vw, 220px);
  }

  .home-hero--category-banners [data-hero-category="bags"] .home-hero__media img,
  .home-hero--category-banners [data-hero-category="sports-and-outdoor"] .home-hero__media img,
  .home-hero--category-banners [data-hero-category="events-and-occasions"] .home-hero__media img {
    object-position: left center;
  }

  dialog.product-download-dialog {
    width: calc(100vw - 24px);
    max-height: calc(100dvh - 24px);
  }

  .product-download-dialog__shell {
    max-height: calc(100dvh - 24px);
  }

  .product-download-dialog__header {
    padding-right: 12px;
    padding-left: 16px;
  }

  .product-download-dialog__body {
    padding-right: 16px;
    padding-left: 16px;
  }

  .product-download-dialog__item {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .product-download-dialog__actions {
    justify-content: flex-start;
  }
}

/* Fifth-round Rivers parity: one media system owns PDP thumbnails, color
   images, zoom, full-screen viewing and the compact responsive sequence. */
.product-summary__identity {
  display: flex;
  order: 1;
  flex-direction: column;
}

.product-summary__identity > .eyebrow {
  display: none;
}

.product-summary__identity h1 {
  order: 1;
  margin: 0;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 18px;
  font-weight: 650;
  line-height: 27px;
}

.product-summary__identity .product-summary__top {
  order: 2;
}

.product-gallery {
  position: relative;
  overflow: visible;
  border: 0;
  background: transparent;
}

.product-gallery__primary {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.product-gallery__primary-link {
  position: relative;
  z-index: 1;
  cursor: zoom-in;
}

.product-gallery__zoom-lens {
  position: absolute;
  z-index: 4;
  display: none;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(21, 105, 207, 0.65);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.55) inset;
  pointer-events: none;
}

.product-gallery__primary.is-zooming .product-gallery__zoom-lens {
  display: block;
}

.product-gallery__zoom-preview {
  position: absolute;
  z-index: 35;
  top: 0;
  left: calc(100% + 24px);
  display: none;
  width: calc(85.3% - 20px);
  border: 1px solid #ededed;
  aspect-ratio: 1;
  background-color: #ffffff;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-size: 226% 226%;
  box-shadow: 0 4px 16px rgba(17, 17, 17, 0.08);
  pointer-events: none;
}

.product-gallery__zoom-preview.is-visible {
  display: block;
}

.product-gallery__fullscreen,
.product-gallery__arrow {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #c9c9c9;
  background: rgba(255, 255, 255, 0.92);
  color: #555555;
  cursor: pointer;
}

.product-gallery__fullscreen:hover,
.product-gallery__fullscreen:focus-visible,
.product-gallery__arrow:hover,
.product-gallery__arrow:focus-visible {
  border-color: #02a7f0;
  color: #1569cf;
}

.product-gallery__fullscreen {
  right: 10px;
  bottom: 10px;
  width: 28px;
  height: 28px;
  border-radius: 3px;
}

.product-gallery__fullscreen > span,
.product-gallery__fullscreen > span::before {
  width: 13px;
  height: 9px;
  border: 2px solid currentColor;
  content: "";
}

.product-gallery__fullscreen > span {
  position: relative;
  display: block;
  border-right: 0;
  border-bottom: 0;
}

.product-gallery__fullscreen > span::before {
  position: absolute;
  right: -4px;
  bottom: -4px;
  border-top: 0;
  border-left: 0;
}

.product-gallery__arrow {
  top: 50%;
  width: 34px;
  height: 52px;
  border: 0;
  background: rgba(255, 255, 255, 0.78);
  font-size: 32px;
  line-height: 1;
  opacity: 0;
  transform: translateY(-50%);
  transition: opacity 150ms ease, color 150ms ease;
}

.product-gallery__primary:hover .product-gallery__arrow,
.product-gallery__arrow:focus-visible {
  opacity: 1;
}

.product-gallery__arrow--previous {
  left: 0;
}

.product-gallery__arrow--next {
  right: 0;
}

.product-gallery__dots {
  display: none;
}

.product-options__group[data-option-group="color"] .product-options__choices {
  gap: 10px;
}

.product-options__choice--product-image {
  width: 60px;
  height: 60px;
  min-height: 60px;
  flex: 0 0 60px;
  border-color: transparent;
  padding: 0;
}

.product-options__choice--product-image:hover,
.product-options__choice--product-image:focus-within,
.product-options__choice--product-image:has(input:checked) {
  border-color: #02a7f0;
}

.product-options__choice--product-image .product-options__thumb {
  width: 58px;
  height: 58px;
  border: 0;
  object-fit: contain;
}

.product-options__choice--product-image .product-options__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.product-gallery-downloads {
  grid-template-columns: repeat(2, minmax(0, 268px));
  justify-content: start;
  gap: 16px;
  margin-top: 10px;
}

.product-gallery-downloads__item {
  width: 100%;
  height: 36px;
  min-height: 36px;
  padding: 5px 12px;
}

.product-gallery-downloads__item small {
  display: none;
}

html.lightbox-open {
  overflow: hidden;
}

dialog.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  border-radius: 0;
  padding: 0;
  overflow: hidden;
  background: #111111;
  color: #ffffff;
}

dialog.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.96);
}

.lightbox__shell {
  display: grid;
  height: 100%;
  grid-template-rows: 64px minmax(0, 1fr);
}

.lightbox__bar {
  border-bottom: 1px solid #333333;
  padding: 10px 22px;
  background: #111111;
}

.lightbox__count {
  color: #dddddd;
  font-family: var(--font-copy);
  font-size: 14px;
  font-weight: 400;
}

.lightbox__close {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: #ffffff;
  font-size: 34px;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  color: #02a7f0;
}

.lightbox__body {
  display: grid;
  min-height: 0;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 0;
}

.lightbox__thumbs {
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 12px;
  overflow: auto;
  border-right: 1px solid #333333;
  padding: 18px 16px;
  background: #171717;
}

.lightbox__thumbs button {
  width: 79px;
  height: 79px;
  flex: 0 0 79px;
  overflow: hidden;
  border: 1px solid #555555;
  border-radius: 0;
  padding: 0;
  background: #ffffff;
  cursor: pointer;
}

.lightbox__thumbs button[aria-current="true"] {
  border-color: #02a7f0;
  box-shadow: 0 0 0 1px #02a7f0;
}

.lightbox__thumbs img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
}

.lightbox__stage {
  min-height: 0;
  padding: 24px 72px;
  background: #111111;
}

.lightbox__image {
  max-width: 100%;
  max-height: calc(100vh - 112px);
  max-height: calc(100dvh - 112px);
}

.lightbox__nav {
  width: 48px;
  height: 64px;
  border: 0;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 36px;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  border-color: transparent;
  background: rgba(255, 255, 255, 0.18);
  color: #02a7f0;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1281px) {
  .product-gallery__primary.is-zooming .product-gallery__fullscreen,
  .product-gallery__primary.is-zooming .product-gallery__arrow {
    opacity: 0;
  }
}

@media (min-width: 1280px) {
  .product-layout .product-gallery {
    grid-template-columns: clamp(79px, 14.7%, 111px) minmax(0, 1fr);
    column-gap: 20px;
  }

  .product-layout .product-gallery__thumbs {
    gap: 16px;
  }

  .product-layout .product-gallery__thumb {
    border: 1px solid #dddddd;
  }
}

@media (max-width: 959px) {
  .product-layout {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .product-layout__left,
  .product-layout .product-summary {
    display: contents;
  }

  .product-layout .product-gallery {
    order: 1;
  }

  .product-summary__identity {
    order: 2;
    width: 100%;
    margin-top: 14px;
    padding: 0 8px;
  }

  .product-layout .product-options {
    order: 3;
    width: 100%;
    padding: 0 8px;
  }

  .product-layout .product-pricing {
    order: 4;
    width: calc(100% - 16px);
    margin-right: 8px;
    margin-left: 8px;
  }

  .product-gallery-downloads {
    order: 5;
    width: calc(100% - 16px);
    margin: 12px 8px 18px;
  }

  .product-layout .product-package {
    order: 6;
    width: calc(100% - 16px);
    margin-right: 8px;
    margin-left: 8px;
  }

  .product-layout .product-summary__actions {
    order: 7;
    width: calc(100% - 16px);
    margin-right: 8px;
    margin-left: 8px;
  }

  .product-layout .deep-stock-status {
    order: 8;
    width: calc(100% - 16px);
    margin-right: 8px;
    margin-left: 8px;
  }

  .product-layout__left .detail-sections {
    order: 9;
  }

  .product-layout .product-mobile-actions {
    order: 10;
  }
}

@media (min-width: 701px) and (max-width: 959px) {
  .product-layout .product-gallery {
    width: min(100%, 509px);
    grid-template-columns: 75px minmax(0, 414px);
    column-gap: 20px;
  }

  .product-layout .product-gallery__primary {
    width: 414px;
    height: 414px;
    min-height: 414px;
  }

  .product-layout .product-gallery__thumb {
    width: 75px;
    min-height: 75px;
    flex-basis: 75px;
  }
}

@media (max-width: 700px) {
  .product-detail {
    overflow: visible;
  }

  .product-summary__identity {
    order: 1;
    margin-top: 0;
    margin-bottom: 14px;
  }

  .product-layout .product-gallery {
    order: 2;
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
    grid-template-rows: auto 32px;
    gap: 0;
  }

  .product-layout .product-gallery__primary {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    border-right: 0;
    border-left: 0;
    aspect-ratio: 374 / 450;
  }

  .product-layout .product-gallery__primary img {
    padding: 12px;
  }

  .product-layout .product-gallery__thumbs,
  .product-layout .product-gallery__status,
  .product-gallery__zoom-preview,
  .product-gallery__zoom-lens,
  .product-gallery__arrow {
    display: none !important;
  }

  .product-gallery__dots {
    display: flex;
    grid-column: 1;
    grid-row: 2;
    min-height: 32px;
    align-items: center;
    justify-content: center;
    gap: 9px;
  }

  .product-gallery__dots button {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: #d0d0d0;
    cursor: pointer;
  }

  .product-gallery__dots button[aria-current="true"] {
    background: #168cf1;
  }

  .product-gallery__dots button[hidden] {
    display: none;
  }

  .product-gallery__fullscreen {
    right: 10px;
    bottom: 10px;
  }

  .product-summary__identity h1 {
    font-size: 18px;
    line-height: 24px;
  }

  .product-options__choice--product-image {
    width: 60px;
    min-width: 60px;
  }

  .product-gallery-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 0;
  }

  .product-gallery-downloads__item {
    justify-content: center;
    padding: 5px 7px;
  }

  .product-gallery-downloads__item b {
    font-size: 13px;
    line-height: 18px;
  }

  .detail-sections details + details {
    margin-top: 4px;
  }

  .detail-sections details:not([open]) > :not(summary) {
    display: none;
  }

  dialog.lightbox .lightbox__shell {
    grid-template-rows: 56px minmax(0, 1fr);
  }

  dialog.lightbox .lightbox__bar {
    padding: 6px 10px 6px 16px;
  }

  dialog.lightbox .lightbox__body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 82px;
  }

  dialog.lightbox .lightbox__thumbs {
    grid-row: 2;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    border-top: 1px solid #333333;
    border-right: 0;
    padding: 8px 12px;
  }

  dialog.lightbox .lightbox__thumbs button {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
  }

  dialog.lightbox .lightbox__stage {
    grid-row: 1;
    min-height: 0;
    padding: 14px 42px;
  }

  dialog.lightbox .lightbox__image {
    max-height: calc(100dvh - 166px);
  }

  dialog.lightbox .lightbox__nav {
    width: 38px;
    height: 54px;
    font-size: 30px;
  }

  dialog.lightbox .lightbox__nav--prev {
    left: 2px;
  }

  dialog.lightbox .lightbox__nav--next {
    right: 2px;
  }
}

/* V5 classic PDP lock. Rivers currently serves two incompatible detail
   layouts; these measured rules intentionally follow product-public-style. */
.product-detail {
  padding-top: 8px;
}

.product-detail > .breadcrumbs {
  min-height: 24px;
  height: 24px;
  align-items: center;
  padding: 0;
  color: #888888;
  font-family: var(--font-copy);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.product-detail > .breadcrumbs b {
  font-weight: 400;
}

.product-summary__identity {
  min-height: 48px;
}

.product-summary__identity .product-summary__top {
  min-height: 21px;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.product-summary__identity .product-summary__top > span {
  font-weight: 400;
}

.product-layout .product-options {
  padding-top: 4px;
}

.product-options__group[data-option-group="color"] {
  margin-bottom: 12px;
}

.product-options__group[data-option-group="color"] .product-options__choices {
  gap: 8px;
}

.product-options__group[data-option-group="color"] .product-options__help {
  display: none;
}

.product-options__group[data-option-group="decoration"] {
  display: flex;
  margin-bottom: 0;
  flex-direction: column;
}

.product-options__group[data-option-group="decoration"] legend {
  order: 1;
}

.product-options__group[data-option-group="decoration"] .product-options__help {
  order: 2;
  display: flex;
  min-height: 35px;
  align-items: center;
  margin: 0 0 15px;
  padding: 7px 10px;
  background: #e2f5fd;
  color: #222222;
  font-size: 14px;
  line-height: 21px;
}

.product-options__group[data-option-group="decoration"] .product-options__choices {
  order: 3;
}

.product-options__legend-label,
.product-options__echo,
.product-options__echo--empty {
  color: #222222;
  font-size: 14px;
  font-weight: 700;
}

.product-pricing::before,
.product-pricing__heading {
  display: none;
}

.product-pricing {
  margin-bottom: 8px;
}

.price-tiers {
  margin-top: 0;
  padding-bottom: 0;
}

.price-tier-table {
  min-width: 556px;
  table-layout: fixed;
  font-size: 14px;
}

.price-tier-table th,
.price-tier-table td {
  min-width: 0;
  height: 31px;
  border: 0;
  border-bottom: 1px solid #8fdcff;
  padding: 4px 5px;
  background: #ffffff;
  color: #222222;
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  text-align: left;
  text-transform: none;
}

.price-tier-table thead th,
.price-tier-table thead th:not(:first-child),
.price-tier-table tbody td {
  background: #ffffff;
  color: #222222;
  font-size: 14px;
  font-weight: 400;
  text-align: left;
  text-transform: none;
}

.price-tier-table th:first-child,
.price-tier-table thead th:first-child,
.price-tier-table tbody th {
  width: 116px;
  min-width: 116px;
  background: #ffffff;
  color: #666666;
  font-size: 14px;
  font-weight: 400;
  text-transform: none;
}

.price-tier-table thead th:nth-child(2),
.price-tier-table tbody td:first-of-type {
  background: #e2f5fd;
}

.price-tier-table thead small {
  display: none;
}

.price-tier-table strong {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
}

.product-gallery-downloads {
  grid-template-columns: repeat(2, minmax(0, calc((100% - 20px) / 2)));
}

.product-package {
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 8px 12px;
  padding: 12px;
}

.product-package__notice,
.product-package .jf-form__errors,
.product-package__configuration,
.product-package__count,
.product-package__save {
  grid-column: 1 / -1;
}

.product-package__fields {
  grid-column: 1;
  grid-template-columns: minmax(0, 180px);
}

.product-package__actions {
  grid-column: 2;
  align-self: start;
  gap: 8px;
}

.product-package .command {
  min-height: 36px;
  padding: 7px 12px;
}

.product-layout__left .detail-sections {
  margin-top: 20px;
}

@media (min-width: 701px) {
  .product-layout__left .detail-sections summary {
    min-height: 37px;
    padding: 8px;
  }

  .detail-sections summary::after {
    display: none;
  }
}

@media (min-width: 1280px) {
  .product-hero {
    padding-top: 12px;
  }

  .product-layout .product-gallery {
    width: 100%;
    grid-template-columns: 79px 450px;
    grid-template-rows: 450px;
    column-gap: 22px;
  }

  .product-layout .product-gallery__primary {
    width: 450px;
    height: 450px;
    min-height: 450px;
  }

  .product-layout .product-gallery__zoom-preview {
    width: 452px;
    height: 452px;
    aspect-ratio: auto;
  }

  .product-layout .product-gallery__thumbs {
    gap: 18px;
  }

  .product-layout .product-gallery__thumb {
    width: 79px;
    height: 79px;
    min-height: 79px;
    flex-basis: 79px;
  }
}

@media (min-width: 1601px) {
  .product-layout .product-gallery {
    grid-template-columns: 109px 618px;
    grid-template-rows: 618px;
  }

  .product-layout .product-gallery__primary {
    width: 618px;
    height: 618px;
    min-height: 618px;
  }

  .product-layout .product-gallery__zoom-preview {
    width: 620px;
    height: 620px;
  }

  .product-layout .product-gallery__thumb {
    width: 109px;
    height: 109px;
    min-height: 109px;
    flex-basis: 109px;
  }

  .price-tier-table {
    min-width: 754px;
  }
}

@media (max-width: 959px) {
  .product-detail {
    padding-top: 8px;
  }

  .product-hero {
    padding-top: 12px;
  }

  .product-layout .product-gallery {
    order: 1;
  }

  .product-summary__identity {
    order: 2;
  }

  .product-layout .product-options {
    order: 3;
  }

  .product-layout .product-pricing {
    order: 4;
  }

  .product-gallery-downloads {
    order: 5;
  }

  .product-layout .product-package {
    order: 6;
  }

  .product-layout .product-summary__actions {
    order: 7;
  }

  .product-layout .deep-stock-status {
    order: 8;
  }

  .product-layout__left .detail-sections {
    order: 9;
  }
}

@media (min-width: 701px) and (max-width: 959px) {
  .product-detail {
    width: calc(100% - 40px);
    margin-inline: 20px;
  }

  .product-layout .product-gallery {
    width: 507px;
    grid-template-columns: 73px 412px;
    grid-template-rows: 412px 25px;
    column-gap: 22px;
  }

  .product-layout .product-gallery__primary {
    width: 412px;
    height: 412px;
    min-height: 412px;
  }

  .product-layout .product-gallery__thumbs {
    gap: 18px;
  }

  .product-layout .product-gallery__thumb {
    width: 73px;
    height: 73px;
    min-height: 73px;
    flex-basis: 73px;
  }

  .product-layout .product-gallery__status {
    min-height: 25px;
    align-content: end;
  }

  .product-summary__identity {
    margin-top: 0;
    padding: 0;
  }

  .product-layout .product-options {
    padding-right: 0;
    padding-left: 0;
  }

  .product-gallery-downloads,
  .product-layout .product-pricing,
  .product-layout .product-package,
  .product-layout .product-summary__actions,
  .product-layout .deep-stock-status {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .product-hero {
    padding-top: 36px;
  }

  .product-layout .product-gallery {
    order: 1;
    grid-template-rows: auto 24px;
  }

  .product-gallery__dots {
    min-height: 24px;
  }

  .product-summary__identity {
    order: 2;
    margin: 0;
    padding: 0;
  }

  .product-summary__identity h1 {
    line-height: 27px;
  }

  .product-layout .product-options {
    padding: 4px 0 0;
  }

  .product-options__group[data-option-group="color"] legend {
    min-height: 58px;
    align-items: flex-start;
  }

  .product-gallery-downloads,
  .product-layout .product-pricing,
  .product-layout .product-package,
  .product-layout .product-summary__actions,
  .product-layout .deep-stock-status {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .product-gallery-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-package {
    grid-template-columns: 1fr;
  }

  .product-package__fields,
  .product-package__actions {
    grid-column: 1;
  }

  .product-package__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .product-layout__left .detail-sections {
    margin-top: 18px;
    padding: 0;
  }
}

.product-gallery-downloads.product-gallery-downloads--single {
  grid-template-columns: minmax(0, 100%);
}

/* Native fieldset legends otherwise occupy their own implicit row. River keeps
   the label and control on one horizontal track on desktop and tablet. */
.river-imprint-field {
  position: relative;
  display: block;
  padding: 7px 0 7px 139px;
}

.river-imprint-field > legend {
  position: absolute;
  top: 7px;
  left: 0;
  width: 139px;
  padding: 7px 0;
}

.river-location-choices {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.river-imprint-color-list {
  width: min(100%, 360px);
}

.river-imprint-color-row select {
  width: 100%;
}

.river-imprint-colors.is-full-color-only .river-imprint-color-row select {
  appearance: none;
  background-image: none;
  color: #777777;
}

/* V12 River PDP configuration parity. Public product information stays on the
   left; RFQ-compatible product decisions follow River's sequence on the right. */
.product-summary__identity {
  order: 1;
}

.product-summary-features {
  order: 2;
  margin: 2px 0 12px;
  padding: 0 4px;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 14px;
  line-height: 21px;
}

.product-summary-features h2 {
  margin: 0 0 4px;
  font-family: var(--font-copy);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}

.product-summary-features p,
.product-summary-features ul {
  margin: 0;
}

.product-summary-features ul {
  display: grid;
  gap: 2px;
  padding-left: 18px;
}

.product-layout .product-options {
  order: 3;
}

.product-layout .product-package {
  order: 4;
}

.product-layout .product-summary__actions {
  order: 5;
}

.river-method-quantity,
.river-imprint-options {
  margin: 0 0 14px;
  color: #222222;
  font-family: var(--font-copy);
}

.river-method-quantity > h2,
.river-imprint-options > h2 {
  display: flex;
  min-height: 37px;
  align-items: center;
  margin: 0 0 8px;
  padding: 8px;
  background: #f5f5f5;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
  text-transform: uppercase;
}

.product-options__group.product-options__group--method {
  margin: 0;
}

.product-options__group--method > legend.screen-reader-text {
  width: 1px;
  min-height: 0;
  margin: -1px;
  padding: 0;
  background: transparent;
}

.product-options__group--method .product-options__choices {
  gap: 16px;
  padding: 0 4px;
}

.product-options__group--method .product-options__choice {
  min-width: 104px;
  min-height: 34px;
  justify-content: center;
  border-color: #cccccc;
  padding: 6px 13px;
  color: #222222;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}

.product-options__group--method .product-options__choice:hover,
.product-options__group--method .product-options__choice:focus-within,
.product-options__group--method .product-options__choice:has(input:checked) {
  border-color: #02a7f0;
  color: #078bd0;
}

.product-options__group--method .product-options__label {
  font-weight: 400;
}

.product-options .product-pricing--summary {
  margin: 8px 0 14px;
}

.product-options .product-pricing--summary .price-note {
  margin-top: 7px;
  padding-inline: 4px;
}

.river-imprint-options {
  margin-top: 4px;
}

.river-imprint-field {
  display: grid;
  min-width: 0;
  grid-template-columns: 139px minmax(0, 1fr);
  gap: 8px 0;
  align-items: start;
  margin: 0;
  border: 0;
  padding: 10px 0;
}

.river-imprint-field + .river-imprint-field {
  border-top: 1px solid #eeeeee;
}

.river-imprint-field > legend {
  width: 139px;
  grid-column: 1;
  margin: 0;
  padding: 7px 0;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}

.river-location-choices,
.river-location-fallback,
.river-imprint-color-list,
.river-physical-sample > label {
  grid-column: 2;
}

.river-location-choices {
  display: none;
  min-height: 36px;
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(139px, 139px));
  gap: 0;
}

.navigation-enhanced .river-location-choices {
  display: grid;
}

.river-location-choices label,
.river-physical-sample > label {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  gap: 7px;
  color: #222222;
  font-size: 14px;
  line-height: 21px;
  cursor: pointer;
}

.river-location-choices label,
.river-physical-sample > label {
  padding-left: 6px;
}

.river-location-choices input,
.river-physical-sample input {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  margin: 0;
  accent-color: #02a7f0;
}

.river-location-fallback {
  display: block;
  width: min(100%, 360px);
  min-height: 36px;
  border: 1px solid #cccccc;
  padding: 6px 34px 6px 10px;
  background: #ffffff;
  color: #222222;
  font-size: 14px;
}

.navigation-enhanced .river-location-fallback {
  display: none;
}

.river-imprint-color-list {
  display: grid;
  width: min(100%, 104px);
  gap: 8px;
}

.river-imprint-color-row {
  display: block;
}

.river-imprint-color-row select {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cccccc;
  padding: 6px 34px 6px 10px;
  background: #ffffff;
  color: #222222;
  font-size: 14px;
}

.river-imprint-colors.is-full-color-only .river-imprint-color-row select {
  color: #222222;
  font-weight: 400;
}

.river-physical-sample {
  padding-bottom: 4px;
}

.river-physical-sample > label {
  width: max-content;
}

.detail-sections--river {
  margin-top: 20px;
}

.detail-sections--river details + details {
  margin-top: 20px;
}

.detail-sections--river .product-description-copy {
  padding: 13px 5px 0;
  font-size: 14px;
  line-height: 21px;
}

.detail-sections--river .product-description-copy p {
  margin: 0 0 10px;
}

.river-specifications {
  display: grid;
  margin: 0;
  padding: 8px 5px 0;
}

.river-specifications > div {
  display: grid;
  grid-template-columns: minmax(145px, 34%) minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid #eeeeee;
  padding: 7px 0;
  color: #222222;
  font-size: 14px;
  line-height: 21px;
}

.river-specifications > div:last-child {
  border-bottom: 0;
}

.river-specifications dt {
  color: #777777;
  font-weight: 600;
}

.river-specifications dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.imprint-location-intro {
  margin: 0;
  padding: 13px 5px 8px;
  color: #555555;
  font-size: 13px;
  line-height: 20px;
}

.imprint-location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 4px 5px 0;
}

.imprint-location-card {
  min-width: 0;
  margin: 0;
}

.imprint-location-card__visual {
  display: grid;
  width: 100%;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  aspect-ratio: 4 / 3;
  background: #ffffff;
}

.imprint-location-card__visual img {
  width: 100%;
  height: 100%;
  padding: 10px;
  object-fit: contain;
}

.imprint-location-card__diagram {
  position: relative;
  display: block;
  width: 46%;
  border: 2px solid #c5c5c5;
  border-radius: 4px 4px 12px 12px;
  aspect-ratio: 3 / 4;
}

.imprint-location-card__diagram span {
  position: absolute;
  top: 38%;
  right: 18%;
  left: 18%;
  height: 24%;
  border: 2px dashed #02a7f0;
}

.imprint-location-card figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 2px 0;
  color: #222222;
  font-size: 13px;
  line-height: 19px;
}

.imprint-location-card figcaption strong {
  font-weight: 600;
}

.imprint-location-card figcaption span {
  color: #777777;
  text-align: right;
}

.product-ordering-process {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 5px 0;
  color: #222222;
  font-size: 14px;
  line-height: 21px;
}

.product-ordering-process button {
  border: 0;
  border-bottom: 1px solid currentColor;
  padding: 2px 0;
  background: transparent;
  color: #078bd0;
  font-size: 14px;
  cursor: pointer;
}

dialog.product-ordering-dialog {
  width: min(calc(100vw - 32px), 620px);
  max-width: 620px;
  max-height: calc(100dvh - 32px);
  margin: auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #ffffff;
  color: #222222;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

dialog.product-ordering-dialog::backdrop {
  background: rgba(0, 0, 0, 0.52);
}

.product-ordering-dialog__shell {
  max-height: calc(100dvh - 32px);
  overflow: auto;
  font-family: var(--font-copy);
}

.product-ordering-dialog__shell > header {
  display: flex;
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid #e5e5e5;
  padding: 10px 14px 10px 20px;
}

.product-ordering-dialog__shell h2 {
  margin: 0;
  font-family: var(--font-copy);
  font-size: 18px;
  font-weight: 600;
  line-height: 26px;
}

.product-ordering-dialog__shell header button {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #555555;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.product-ordering-dialog__shell ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 8px 20px 20px 58px;
}

.product-ordering-dialog__shell li {
  padding: 12px 0 12px 5px;
}

.product-ordering-dialog__shell li + li {
  border-top: 1px solid #eeeeee;
}

.product-ordering-dialog__shell li strong,
.product-ordering-dialog__shell li span {
  display: block;
}

.product-ordering-dialog__shell li strong {
  margin-bottom: 3px;
  font-size: 14px;
  line-height: 21px;
}

.product-ordering-dialog__shell li span {
  color: #555555;
  font-size: 13px;
  line-height: 20px;
}

@media (max-width: 959px) {
  .product-summary-features {
    order: 3;
    width: 100%;
    margin-top: 10px;
    padding: 0;
  }

  .product-layout .product-options {
    order: 4;
  }

  .product-gallery-downloads {
    order: 5;
  }

  .product-layout .product-package {
    order: 6;
  }

  .product-layout .product-summary__actions {
    order: 7;
  }

  .product-layout__left .detail-sections--river {
    order: 8;
  }

  .product-layout .product-mobile-actions {
    order: 9;
  }
}

@media (max-width: 700px) {
  .product-summary-features {
    margin: 8px 0 12px;
  }

  .river-method-quantity > h2,
  .river-imprint-options > h2 {
    min-height: 37px;
    font-size: 13px;
  }

  .product-options__group--method .product-options__choices {
    gap: 8px;
    padding: 0;
  }

  .product-options__group--method .product-options__choice {
    min-width: 0;
    flex: 1 1 calc(50% - 4px);
  }

  .river-imprint-field {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding-right: 0;
    padding-left: 0;
  }

  .river-imprint-field > legend,
  .river-location-choices,
  .river-location-fallback,
  .river-imprint-color-list,
  .river-physical-sample > label {
    width: 100%;
    grid-column: 1;
  }

  .river-imprint-field > legend {
    padding: 0;
    font-weight: 600;
  }

  .river-location-choices {
    grid-template-columns: repeat(2, minmax(0, 139px));
  }

  .river-imprint-color-list {
    width: 100%;
  }

  .imprint-location-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .river-specifications > div {
    grid-template-columns: minmax(122px, 40%) minmax(0, 1fr);
    gap: 10px;
  }

  .product-ordering-dialog__shell ol {
    padding-right: 16px;
    padding-left: 48px;
  }
}

/* V13 responsive PDP parity. River changes the product container at the
   Bootstrap-style 1200/992/768/576 boundaries. Keep the RFQ workflow, but
   follow the same single-column transition and control geometry. */
.river-imprint-field {
  position: relative;
  display: block;
  padding: 7px 0 7px 139px;
}

.river-imprint-field > legend {
  position: absolute;
  top: 7px;
  left: 0;
  width: 139px;
  padding: 7px 0;
}

.river-location-choices {
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.river-imprint-color-list {
  width: min(100%, 360px);
}

.river-imprint-color-row select {
  width: 100%;
}

.river-imprint-colors.is-full-color-only .river-imprint-color-row select {
  appearance: none;
  background-image: none;
  color: #777777;
}

@media (min-width: 1200px) and (max-width: 1599px) {
  .product-detail {
    width: min(1136px, calc(100% - 40px));
  }

  .product-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media (max-width: 1199px) {
  .product-detail {
    width: min(960px, calc(100% - 32px));
    margin-inline: auto;
  }

  .product-detail > .breadcrumbs {
    padding-inline: 8px;
  }

  .product-layout {
    display: flex;
    width: calc(100% - 16px);
    margin-inline: 8px;
    flex-direction: column;
    gap: 0;
  }

  .product-layout__left,
  .product-layout .product-summary {
    display: contents;
  }

  .product-layout .product-gallery {
    width: 100%;
    max-width: none;
  }

  .product-layout__left .detail-sections,
  .product-summary__identity,
  .product-summary-features,
  .product-layout .product-options,
  .product-gallery-downloads,
  .product-layout .product-package,
  .product-layout .product-summary__actions,
  .product-layout .deep-stock-status {
    width: 100%;
    margin-right: 0;
    margin-left: 0;
  }

  .river-imprint-field {
    padding: 7px 0 7px 16.6667%;
  }

  .river-imprint-field > legend {
    position: absolute;
    top: 7px;
    left: 0;
    width: 16.6667%;
    padding: 7px 0;
  }

  .river-location-choices {
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .river-imprint-color-list {
    width: 100%;
  }

  .river-imprint-field + .river-imprint-field {
    border-top: 1px solid #eeeeee;
  }

  .product-package {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-package__fields,
  .product-package__actions {
    grid-column: 1;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .product-layout .product-gallery {
    grid-template-columns: 140px minmax(0, calc(100% - 162px));
    grid-template-rows: auto 0;
    column-gap: 20px;
    row-gap: 0;
  }

  .product-layout .product-gallery__primary {
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 1;
  }

  .product-layout .product-gallery__thumbs {
    gap: 16px;
  }

  .product-layout .product-gallery__thumb {
    width: 140px;
    height: 140px;
    min-height: 140px;
    flex-basis: 140px;
  }

  .product-gallery-downloads {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .product-gallery-downloads__item {
    height: 46px;
    min-height: 46px;
  }

  .product-layout .product-gallery {
    margin-bottom: 0;
  }

  .product-layout .product-gallery {
    order: 1;
  }

  .product-gallery-downloads {
    order: 2;
  }

  .product-summary__identity {
    order: 3;
    margin-top: 14px;
    padding: 0;
  }

  .product-summary-features {
    order: 4;
  }

  .product-layout .product-options {
    order: 5;
    padding-right: 0;
    padding-left: 0;
  }

  .product-layout .product-package {
    order: 6;
  }

  .product-layout .product-summary__actions {
    order: 7;
  }

  .product-layout .deep-stock-status {
    order: 8;
  }

  .product-layout__left .detail-sections {
    order: 9;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .product-detail {
    width: min(744px, calc(100% - 24px));
  }

  .product-layout .product-gallery {
    grid-template-columns: 107px minmax(0, calc(100% - 130px));
    grid-template-rows: auto 0;
    column-gap: 20px;
    row-gap: 0;
  }

  .product-layout .product-gallery__primary {
    width: 598px;
    height: 598px;
    min-height: 598px;
  }

  .product-layout .product-gallery__thumb {
    width: 107px;
    height: 107px;
    min-height: 107px;
    flex-basis: 107px;
  }

  .product-gallery-downloads {
    order: 2;
  }

  .product-gallery-downloads__item {
    height: 46px;
    min-height: 46px;
  }

  .product-summary__identity {
    order: 3;
    margin-top: 14px;
    padding: 0;
  }

  .product-summary-features {
    order: 4;
  }

  .product-layout .product-options {
    order: 5;
    padding-right: 0;
    padding-left: 0;
  }

  .product-layout .product-package {
    order: 6;
  }

  .product-layout .product-summary__actions {
    order: 7;
  }

  .product-layout__left .detail-sections {
    order: 9;
  }
}

@media (min-width: 701px) and (max-width: 767px) {
  .product-detail {
    width: min(528px, calc(100% - 24px));
  }

  .product-layout .product-gallery {
    grid-template-columns: 75px 414px;
    grid-template-rows: auto 0;
    column-gap: 20px;
    row-gap: 0;
    min-height: 0;
  }

  .product-layout .product-gallery__primary {
    width: 414px;
    height: 414px;
    min-height: 414px;
  }

  .product-layout .product-gallery__thumb {
    width: 75px;
    height: 75px;
    min-height: 75px;
    flex-basis: 75px;
  }

  .product-summary__identity {
    order: 2;
    margin-top: 24px;
  }

  .product-summary-features {
    order: 3;
  }

  .product-layout .product-options {
    order: 4;
  }

  .product-gallery-downloads {
    order: 5;
  }

  .product-layout__left .detail-sections {
    order: 8;
  }
}

@media (min-width: 768px) and (max-width: 768px) {
  .product-layout .product-gallery {
    grid-template-columns: 75px 414px;
    grid-template-rows: auto 0;
    column-gap: 20px;
    row-gap: 0;
    min-height: 0;
  }

  .product-layout .product-gallery__primary {
    width: 414px;
    height: 414px;
    min-height: 414px;
  }

  .product-layout .product-gallery__thumb {
    width: 75px;
    height: 75px;
    min-height: 75px;
    flex-basis: 75px;
  }

  .product-summary__identity {
    order: 2;
    margin-top: 24px;
  }

  .product-summary-features {
    order: 3;
  }

  .product-layout .product-options {
    order: 4;
  }

  .product-gallery-downloads {
    order: 5;
  }

  .product-layout__left .detail-sections {
    order: 8;
  }
}

@media (min-width: 701px) and (max-width: 991px) {
  .river-imprint-field {
    padding-left: 121px;
  }

  .river-imprint-field > legend {
    width: 121px;
  }
}

@media (max-width: 700px) {
  .river-imprint-field {
    position: static;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
    padding: 7px 0;
  }

  .river-imprint-field > legend {
    position: static;
    width: 100%;
    grid-column: 1;
    padding: 0;
  }

  .river-location-choices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-options__group--method .product-options__choice {
    min-width: 0;
    flex: 0 0 auto;
  }

  .river-imprint-colors.is-full-color-only .river-imprint-color-row select {
    appearance: none;
    background-image: none;
    color: #777777;
  }
}

@media (max-width: 575px) {
  .product-detail {
    width: 100%;
    margin-inline: 0;
  }

  .product-layout {
    width: calc(100% - 16px);
    margin-inline: 8px;
  }
}

/* Final quote-preview pass: keep the River-style right-hand information stack
 * compact while making the server-authoritative price composition readable. */
.product-quote-preview {
  display: grid;
  gap: 9px;
  margin: 12px 0 0;
  border-top: 3px solid #02a7f0;
  padding: 14px 14px 15px;
  background: #f5fbfe;
  color: #222222;
}

.product-quote-preview > h3 {
  margin: 0;
  color: #222222;
  font-family: var(--font-copy);
  font-size: 17px;
  font-weight: 700;
  line-height: 24px;
}

.product-quote-preview__intro,
.product-quote-preview__status,
.product-quote-preview__amount,
.product-quote-preview__includes,
.product-quote-preview__formula-expression,
.product-quote-preview__formula-note {
  margin: 0;
  color: #666666;
  font-size: 13px;
  line-height: 19px;
}

.product-quote-preview__controls {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}

.product-quote-preview__controls label {
  display: grid;
  gap: 4px;
  color: #222222;
  font-size: 12px;
  font-weight: 700;
  line-height: 17px;
}

.product-quote-preview__controls input {
  width: 100%;
  min-height: 40px;
  border: 1px solid #cccccc;
  border-radius: 0;
  padding: 8px 10px;
  background: #ffffff;
  color: #222222;
  font: inherit;
  font-size: 14px;
  font-weight: 400;
}

.product-quote-preview__controls input:focus {
  border-color: #02a7f0;
  outline: 2px solid rgba(2, 167, 240, .18);
  outline-offset: 1px;
}

.product-quote-preview__amount {
  color: #222222;
  font-size: 15px;
  font-weight: 700;
}

.product-quote-preview__includes {
  color: #078bd0;
}

.product-quote-preview__formula {
  display: grid;
  gap: 9px;
  margin-top: 3px;
  border: 1px solid #d5e8ef;
  padding: 12px;
  background: #ffffff;
}

.product-quote-preview__formula-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 7px;
}

.product-quote-preview__formula-heading h4 {
  margin: 0;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  text-transform: uppercase;
}

.product-quote-preview__formula-heading span {
  color: #078bd0;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.product-quote-preview__formula-meta {
  color: #666666;
  font-size: 12px;
  line-height: 17px;
}

.product-quote-preview__formula-rows {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 12px;
  margin: 0;
  font-size: 13px;
  line-height: 19px;
}

.product-quote-preview__formula-rows dt {
  color: #555555;
}

.product-quote-preview__formula-rows dt small {
  display: block;
  color: #777777;
  font-size: 11px;
  line-height: 16px;
}

.product-quote-preview__formula-rows dd {
  margin: 0;
  color: #222222;
  font-variant-numeric: tabular-nums;
  text-align: right;
  white-space: nowrap;
}

.product-quote-preview__formula-rows .is-included-status {
  color: #078bd0;
  font-size: 12px;
}

.product-quote-preview__formula-rows dd.is-included-status {
  white-space: normal;
}

.product-quote-preview__formula-expression {
  border-top: 1px solid #eeeeee;
  padding-top: 7px;
  font-size: 11px;
}

.product-quote-preview__formula-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 2px solid #222222;
  padding-top: 9px;
  color: #222222;
  font-size: 13px;
  font-weight: 700;
}

.product-quote-preview__formula-total strong {
  color: #078bd0;
  font-size: 20px;
  line-height: 25px;
  text-align: right;
}

.product-quote-preview__formula.is-review {
  border-color: #ead9a4;
  background: #fffdf5;
}

.product-quote-preview__formula.is-review .product-quote-preview__formula-total strong {
  color: #8a6a00;
  font-size: 15px;
}

.product-quote-preview__formula.is-public {
  border-color: #c8dfe7;
  background: #f8fcfd;
}

.product-quote-preview__formula.is-public .product-quote-preview__formula-total strong {
  color: #078bd0;
  font-size: 18px;
}

.product-package__quantity-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 10px;
  color: #222222;
  font-size: 14px;
}

.product-package__quantity-summary span {
  font-weight: 700;
}

.product-package__quantity-summary strong {
  color: #078bd0;
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}

.product-package__quantity-summary small {
  width: 100%;
  color: #666666;
  font-size: 12px;
  line-height: 17px;
}

@media (max-width: 700px) {
  .product-quote-preview {
    margin-top: 10px;
    padding: 12px;
  }

  .product-quote-preview__controls {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-quote-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin-top: 14px;
  border: 1px solid #dddddd;
  background: #dddddd;
}

.product-quote-fact {
  display: grid;
  gap: 3px;
  min-width: 0;
  padding: 11px 13px;
  background: #ffffff;
}

.product-quote-fact span {
  color: #666666;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-quote-fact strong {
  min-width: 0;
  color: #222222;
  font-size: 14px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

@media (max-width: 575px) {
  .product-quote-facts {
    grid-template-columns: minmax(0, 1fr);
  }
}

.product-summary__edit-link {
  display: inline-block;
  margin-left: 8px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-transform: none;
}

/* The approved category artwork is supplied at a 1200:1260 ratio. Keep each
 * link at that ratio so the 5x2 wall stays stable while the image loads. */
.home-section--categories .category-tile-grid--featured {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 3px;
  border: 0;
  background: transparent;
}

.home-section--categories .category-tile-grid--featured .category-tile {
  aspect-ratio: 1200 / 1260;
  overflow: hidden;
  background: #eef0f2;
}

.home-section--categories .category-tile-grid--featured .category-tile__media {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}

.home-section--categories .category-tile-grid--featured .category-tile__media img {
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: cover;
  transition: transform 220ms ease;
}

.home-section--categories .category-tile-grid--featured .category-tile:hover .category-tile__media img,
.home-section--categories .category-tile-grid--featured .category-tile:focus-visible .category-tile__media img {
  transform: scale(1.035);
}

.home-section--categories .category-tile-grid--featured .category-tile__body {
  min-height: 42px;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(61, 61, 61, .48);
}

.home-section--categories .category-tile-grid--featured .category-tile__body strong {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 12px;
  line-height: 1.08;
  text-transform: uppercase;
}

@media (max-width: 959px) {
  .home-section--categories .category-tile-grid--featured {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px;
  }

  .home-section--categories .category-tile-grid--featured .category-tile__body {
    min-height: 39px;
    gap: 4px;
    padding: 6px 7px;
  }

  .home-section--categories .category-tile-grid--featured .category-tile__body > span {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
    font-size: 13px;
  }

  .home-section--categories .category-tile-grid--featured .category-tile__body strong {
    font-size: 10px;
    line-height: 1.08;
  }
}
