.product-cards {
  --product-blue: #063f8c;
  --product-accent: #ffb400;
  --product-border: color-mix(in srgb, var(--product-blue) 20%, transparent);
  --product-soft: color-mix(in srgb, var(--product-blue) 4%, white);
  padding: 0;
  color: var(--product-blue);
  background: #fff;
}

.product-cards *,
.product-cards *::before,
.product-cards *::after { box-sizing: border-box; }

.product-cards__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.product-cards__container {
  width: min(100%, 96rem);
  margin-inline: auto;
}

.product-cards__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.product-cards__heading { max-width: 48rem; }
.product-cards__heading h2 { margin-top: 0; }
.product-cards__introduction > :first-child { margin-top: 0; }
.product-cards__introduction > :last-child { margin-bottom: 0; }

.product-cards__overview-link,
.product-cards__featured-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  color: var(--product-blue);
  font-weight: 700;
  text-decoration: none;
}

.product-cards__overview-link { flex: 0 0 auto; padding-top: .65rem; }
.product-cards__overview-links { flex: 0 0 auto; }
.product-cards__overview-link { display: none; }
.product-cards__overview-link.is-active { display: inline-flex; }
.product-cards__overview-link span:last-child,
.product-cards__featured-link span:last-child { color: var(--product-accent); }

.product-cards__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(22rem, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.product-cards__tabs {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--product-border);
}

.product-cards__tab {
  position: relative;
  padding: .85rem 0 1rem;
  border: 0;
  color: color-mix(in srgb, var(--product-blue) 65%, white);
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.product-cards__tab::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--product-accent);
  content: "";
  opacity: 0;
}

.product-cards__tab.is-active { color: var(--product-blue); }
.product-cards__tab.is-active::after { opacity: 1; }
.product-cards__tab:focus-visible { outline: 3px solid color-mix(in srgb, var(--product-accent) 65%, transparent); outline-offset: 4px; }
.product-cards__panel[hidden] { display: none; }

.product-cards__featured,
.product-cards__compact {
  overflow: hidden;
  border: 1px solid var(--product-border);
  border-radius: .5rem;
  background: #fff;
}

.product-cards__featured {
  display: flex;
  flex-direction: column;
  min-height: 42rem;
}

.product-cards__featured-media,
.product-cards__compact-media {
  display: grid;
  place-items: center;
}

.product-cards__featured-media { min-height: 23rem; padding: clamp(1rem, 2vw, 2rem); }

.product-cards__featured-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 24rem;
  object-fit: contain;
}

.product-cards__featured-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 0 50px 50px;
}

.product-cards__eyebrow {
  margin: 0 0 .75rem;
  color: var(--product-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .025em;
  text-transform: uppercase;
}

.product-cards__eyebrow::after {
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: .8rem;
  background: var(--product-accent);
  content: "";
}

.product-cards__featured-name {
  margin: 0 0 .75rem;
  font-size: clamp(2.1rem, 3vw, 3.1rem);
  font-weight: 750;
  line-height: 1.05;
}

.product-cards__featured-content h3 { margin: 0; }
.product-cards__description { margin-top: 1rem; }
.product-cards__description > :first-child { margin-top: 0; }
.product-cards__description > :last-child { margin-bottom: 0; }

.product-cards__featured-link {
  margin-top: 2rem;
  padding: .8rem 1.1rem;
  border: 1px solid var(--product-blue);
  border-radius: .25rem;
  transition: color .2s ease, background-color .2s ease;
}

.product-cards__featured-link:hover,
.product-cards__featured-link:focus-visible {
  color: #fff;
  background: var(--product-blue);
}

.product-cards__compact-list {
  display: grid;
  grid-auto-rows: minmax(10rem, 1fr);
  gap: 1.5rem;
}

.product-cards__compact-list:empty { display: none; }
.product-cards__grid:has(.product-cards__compact-list:empty) { grid-template-columns: 1fr; }

.product-cards__compact {
  position: relative;
  display: grid;
  grid-template-columns: minmax(9.5rem, .8fr) minmax(0, 1.3fr) 2.75rem;
  align-items: center;
  min-height: 10rem;
  transition: border-color .2s ease, background-color .2s ease;
}

.product-cards__compact:hover {
  border-color: color-mix(in srgb, var(--product-blue) 40%, transparent);
  background: var(--product-soft);
}

.product-cards__compact-media {
  align-self: stretch;
  min-height: 10rem;
  padding: 0;
}

.product-cards__compact-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 9rem;
  object-fit: contain;
}

.product-cards__compact-content { padding: 1.25rem 1rem; }
.product-cards__compact-content h3 { margin: 0; }
.product-cards__compact-headline { margin: .45rem 0 0; }
.product-cards__compact-description { margin-top: .45rem; }
.product-cards__compact-description > :first-child { margin-top: 0; }
.product-cards__compact-description > :last-child { margin-bottom: 0; }

.product-cards__compact-link {
  display: inline-grid;
  width: 2.5rem;
  height: 2.5rem;
  place-items: center;
  align-self: end;
  margin: 0 .75rem .75rem 0;
  color: var(--product-accent);
  font-size: 1.45rem;
  text-decoration: none;
}

.product-cards__specials-list { display: grid; gap: 1.5rem; }

.product-cards__special {
  display: grid;
  grid-template-columns: minmax(15rem, .75fr) minmax(0, 2fr);
  min-height: 15rem;
  overflow: hidden;
  border: 1px solid var(--product-border);
  border-radius: .5rem;
  background: #fff;
}

.product-cards__special-media { display: grid; min-height: 15rem; padding: 1rem; place-items: center; }
.product-cards__special-image { display: block; width: 100%; height: 100%; max-height: 14rem; object-fit: contain; }
.product-cards__special-content { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.5rem, 3vw, 2.5rem); border-left: 1px solid var(--product-border); }
.product-cards__special-content h3 { margin: 0; font-size: clamp(1.5rem, 2.5vw, 2rem); }
.product-cards__special-headline { margin: .55rem 0 0; font-weight: 700; }
.product-cards__special-description { margin-top: .65rem; }
.product-cards__special-description > :first-child { margin-top: 0; }
.product-cards__special-description > :last-child { margin-bottom: 0; }
.product-cards__special-link { display: inline-flex; align-items: center; gap: 2rem; margin-top: 1.25rem; color: var(--product-blue); font-weight: 700; text-decoration: none; }
.product-cards__special-link span:last-child { color: var(--product-accent); }

.product-cards__overview-link:focus-visible,
.product-cards__featured-link:focus-visible,
.product-cards__compact-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--product-accent) 65%, transparent);
  outline-offset: 3px;
}

@media (max-width: 75rem) {
  .product-cards__grid { grid-template-columns: 1fr; }
  .product-cards__featured { min-height: 34rem; }
  .product-cards__compact-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 52rem) {
  .product-cards__header { flex-direction: column; }
  .product-cards__featured-media { min-height: 22rem; }
  .product-cards__compact-list { grid-template-columns: 1fr; }
  .product-cards__special { grid-template-columns: 1fr; }
  .product-cards__special-content { border-top: 1px solid var(--product-border); border-left: 0; }
}

@media (max-width: 34rem) {
  .product-cards__tabs { gap: 1.25rem; }
  .product-cards__tab { font-size: .95rem; }
  .product-cards__compact { grid-template-columns: 7.5rem minmax(0, 1fr) 2.5rem; }
  .product-cards__compact-media { min-height: 8rem; }
  .product-cards__compact-content { padding-inline: .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .product-cards__featured-link,
  .product-cards__compact { transition: none; }
}

/* Simple overview: new design scoped to this view only. */
.product-cards--simple {
  --product-blue: #063f8c;
  --product-accent: #ffb400;
  color: var(--product-blue);
}
.product-cards--simple *, .product-cards--simple *::before, .product-cards--simple *::after { box-sizing: border-box; }
.product-cards--simple .product-cards__container { max-width: 96rem; margin: 0 auto; }
.product-cards--simple .product-cards__title { margin: 0 0 .75rem; color: inherit; font-size: 2rem; font-weight: 700; line-height: 1.2; }
.product-cards--simple .product-cards__introduction { font-size: 1rem; line-height: 1.5; }
.product-cards--simple .product-cards__introduction > :first-child { margin-top: 0; }
.product-cards--simple .product-cards__introduction > :last-child { margin-bottom: 0; }
.product-cards--simple .product-cards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.product-cards--simple .product-cards__grid[data-columns="1"] { grid-template-columns: minmax(0, 1fr); }
.product-cards--simple .product-cards__grid[data-columns="2"] { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-cards--simple .product-cards__grid[data-columns="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-cards--simple .product-cards__card { position: relative; min-width: 0; padding: .625rem; border: 1px solid #dce5f1; border-radius: .875rem; background: #fff; box-shadow: 0 .375rem 1rem rgb(6 63 140 / 5%); transition: border-color .2s, box-shadow .2s, transform .2s; }
.product-cards--simple .product-cards__media { /*aspect-ratio: 6 / 5;*/ overflow: hidden; border-radius: .5rem; background: #f3f5f8; }
.product-cards--simple .product-cards__media img.product-cards__image { display: block; width: 100%; height: 100%; max-width: 100%; margin: 0; object-fit: contain; }
.product-cards--simple .product-cards__content { padding: 1rem .5rem .75rem; overflow-wrap: anywhere; }
.product-cards--simple .product-cards__name { margin: 0 0 .5rem; color: inherit; font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.product-cards--simple .product-cards__text { margin: 0; font-size: 1rem; line-height: 1.5; }
.product-cards--simple .product-cards__text + .product-cards__text { margin-top: .5rem; }
.product-cards--simple .product-cards__text > :first-child { margin-top: 0; }
.product-cards--simple .product-cards__text > :last-child { margin-bottom: 0; }
.product-cards--simple /* A sibling link covers the card without nesting links from rich text. */
.product-cards__link { position: absolute; inset: 0; border-radius: inherit; color: var(--product-accent); text-decoration: none; }
.product-cards--simple .product-cards__arrow { position: absolute; top: 1rem; right: 1rem; font-size: 1.5rem; line-height: 1; }
.product-cards--simple .product-cards__content a { position: relative; z-index: 1; }
.product-cards--simple .product-cards__card:has(.product-cards__link):focus-within { border-color: var(--product-blue); box-shadow: 0 .625rem 1.5rem rgb(6 63 140 / 10%); }
.product-cards--simple .product-cards__sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (hover: hover) {
.product-cards--simple .product-cards__card:has(.product-cards__link):hover { transform: translateY(-.1875rem); border-color: #b8cbe5; box-shadow: 0 .625rem 1.5rem rgb(6 63 140 / 10%); }
}
@media (max-width: 64rem) {
.product-cards--simple .product-cards__grid[data-columns="3"], .product-cards--simple .product-cards__grid[data-columns="4"], .product-cards--simple .product-cards__grid:not([data-columns="1"]):not([data-columns="2"]) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 40rem) {
  .product-cards--simple .product-cards__grid[data-columns="3"], .product-cards--simple .product-cards__grid[data-columns="4"], .product-cards--simple .product-cards__grid:not([data-columns="1"]):not([data-columns="2"]) { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.product-cards--simple .product-cards__grid, .product-cards--simple .product-cards__grid[data-columns] { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
.product-cards--simple .product-cards__card { transition: none; }
.product-cards--simple .product-cards__card:has(.product-cards__link):hover { transform: none; }
}
.product-cards--simple .product-cards__tile-overview { display: inline-block; margin-top: 1rem; color: inherit; font-size: 1rem; }
