﻿:root {
  --solution-ink: #172726;
  --solution-paper: #f2eee7;
  --solution-rust: #a65237;
  --solution-line: rgba(23, 39, 38, 0.16);
}

.page-solutions {
  background: #fffdf8;
  color: var(--solution-ink);
}

.solutions-kicker {
  color: var(--solution-rust);
  font-size: 0.68rem;
  font-weight: 780;
  text-transform: uppercase;
}

.solutions-hero {
  display: grid;
  min-height: calc(100svh - 72px);
  grid-template-columns: 0.72fr 1.28fr;
  gap: 28px;
  padding: 28px;
  background: var(--solution-paper);
}

.solutions-hero > div:first-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px max(20px, 5vw);
}

.solutions-hero h1,
.solutions-catalog h2,
.solutions-proof-band h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3rem, 4.8vw, 5.6rem);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: 0;
}

.solutions-hero h1 {
  margin-top: 12px;
}

.solutions-hero p:not(.solutions-kicker) {
  max-width: 560px;
  margin: 22px 0 28px;
  color: rgba(23, 39, 38, 0.62);
  font-size: 0.84rem;
  line-height: 1.7;
}

.solutions-hero .button {
  align-self: flex-start;
  max-width: 100%;
  white-space: normal;
  line-height: 1.25;
  text-align: center;
}

.solutions-hero__gallery {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 1fr;
  gap: 8px;
}

.solutions-hero__gallery figure {
  margin: 0;
  overflow: hidden;
}

.solutions-hero__gallery .large {
  grid-row: 1 / 3;
}

.solutions-hero__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions-catalog {
  padding: 105px max(24px, calc((100% - 1500px) / 2));
}

.solutions-catalog__intro {
  display: grid;
  grid-template-columns: 0.28fr minmax(0, 1fr) 0.42fr;
  gap: 46px;
  align-items: end;
}

.solutions-catalog__intro > p:last-child {
  color: rgba(23, 39, 38, 0.62);
  font-size: 0.82rem;
  line-height: 1.75;
}

.solutions-filter--catalog {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  border-top: 1px solid var(--solution-line);
  border-bottom: 1px solid var(--solution-line);
  padding: 16px 0;
}

.solutions-filter button {
  min-height: 40px;
  border: 1px solid transparent;
  padding: 0 15px;
  background: transparent;
  color: rgba(23, 39, 38, 0.62);
  cursor: pointer;
  font: inherit;
  font-size: 0.7rem;
  font-weight: 760;
}

.solutions-filter button:hover,
.solutions-filter button.is-active {
  border-color: var(--solution-ink);
  background: var(--solution-ink);
  color: #fff;
}

.solutions-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 34px;
}

.solutions-product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-bottom: 1px solid var(--solution-line);
  background: #fffdf8;
}

.solutions-product-card[hidden] {
  display: none;
}

.solutions-product-card--large {
  grid-column: span 2;
}

.solutions-product-card figure {
  aspect-ratio: 4 / 3;
  margin: 0;
  overflow: hidden;
  background: #e7dfd2;
}

.solutions-product-card--large figure {
  aspect-ratio: 16 / 8.7;
}

.solutions-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease;
}

.solutions-product-card:hover img {
  transform: scale(1.025);
}

.solutions-product-card div {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px 18px;
  padding: 22px 0 26px;
}

.solutions-product-card span {
  grid-row: 1 / 3;
  color: var(--solution-rust);
  font-size: 0.72rem;
  font-weight: 780;
}

.solutions-product-card p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2.35rem);
  line-height: 1.08;
}

.solutions-product-card small {
  max-width: 520px;
  color: rgba(23, 39, 38, 0.62);
  font-size: 0.74rem;
  line-height: 1.65;
}

.solutions-proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.75fr) minmax(0, 1fr);
  gap: clamp(50px, 7vw, 110px);
  padding: 92px max(24px, calc((100% - 1500px) / 2));
  background: var(--solution-ink);
  color: #fff;
}

.solutions-proof-band h2 {
  max-width: 780px;
  margin-top: 12px;
  color: #fff;
}

.solutions-proof-band ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.solutions-proof-band li {
  display: grid;
  grid-template-columns: 0.36fr 1fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.solutions-proof-band strong {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.solutions-proof-band span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.78rem;
  line-height: 1.7;
}

.solutions-configurator {
  padding: 105px max(24px, calc((100% - 1500px) / 2));
  background: var(--solution-paper);
}

.solutions-configurator__header {
  display: grid;
  grid-template-columns: 0.42fr 1fr 0.55fr;
  gap: 48px;
  align-items: end;
}

.solutions-configurator__header p {
  color: var(--solution-rust);
  font-size: 0.68rem;
  font-weight: 780;
  text-transform: uppercase;
}

.solutions-configurator__header h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.6rem, 4.4vw, 4.9rem);
  font-weight: 400;
  line-height: 1.02;
}

.solutions-configurator__header span {
  color: rgba(23, 39, 38, 0.6);
  font-size: 0.76rem;
  line-height: 1.7;
}

.solutions-configurator__workspace {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 28px;
  margin-top: 54px;
}

.solutions-configurator__nav {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--solution-line);
}

.solutions-configurator__nav button {
  border: 0;
  border-bottom: 1px solid var(--solution-line);
  padding: 20px 0;
  background: transparent;
  color: rgba(23, 39, 38, 0.55);
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 760;
  text-transform: uppercase;
}

.solutions-configurator__nav button.is-active {
  color: var(--solution-rust);
}

.solutions-configurator__preview {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 520px;
  background: #fff;
}

.solutions-configurator__preview figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #e4ded2;
}

.solutions-configurator__preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solutions-configurator__preview figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 8px 10px;
  background: rgba(23, 39, 38, 0.8);
  color: #fff;
  font-size: 0.64rem;
}

.solutions-configurator__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 56px;
}

.solutions-configurator__copy h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 400;
  line-height: 1.04;
}

.solutions-configurator__copy p {
  margin: 18px 0 26px;
  color: rgba(23, 39, 38, 0.62);
  font-size: 0.82rem;
  line-height: 1.7;
}

.solutions-configurator__copy ul {
  display: grid;
  gap: 10px;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.solutions-configurator__copy li {
  border-bottom: 1px solid var(--solution-line);
  padding-bottom: 9px;
  color: rgba(23, 39, 38, 0.66);
  font-size: 0.74rem;
}

.solutions-configurator__copy a {
  align-self: flex-start;
  border-bottom: 1px solid currentColor;
  padding-bottom: 5px;
  color: var(--solution-rust);
  font-size: 0.74rem;
  font-weight: 760;
}

@media (max-width: 980px) {
  .solutions-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
  }

  .solutions-hero > div:first-child {
    padding: 56px 0 18px;
  }

  .solutions-hero__gallery {
    min-height: 420px;
  }

  .solutions-catalog__intro,
  .solutions-proof-band,
  .solutions-configurator__header,
  .solutions-configurator__workspace,
  .solutions-configurator__preview {
    grid-template-columns: 1fr;
  }

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

  .solutions-product-card--large {
    grid-column: span 2;
  }

  .solutions-configurator__header {
    gap: 14px;
  }

  .solutions-configurator__nav {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    border-top: 0;
  }

  .solutions-configurator__nav button {
    min-width: max-content;
    border: 1px solid var(--solution-line);
    padding: 10px 12px;
  }

  .solutions-configurator__nav button.is-active {
    background: var(--solution-ink);
    color: #fff;
  }

  .solutions-configurator__preview figure {
    height: 310px;
  }

  .solutions-configurator__copy {
    padding: 34px 20px;
  }
}

@media (max-width: 640px) {
  .solutions-hero h1 {
    font-size: clamp(2.55rem, 11vw, 3.45rem);
  }

  .solutions-hero__gallery {
    min-height: 360px;
  }

  .solutions-catalog,
  .solutions-configurator {
    padding: 72px 16px;
  }

  .solutions-filter--catalog {
    flex-wrap: nowrap;
    overflow-x: auto;
  }

  .solutions-filter button {
    white-space: nowrap;
  }

  .solutions-product-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .solutions-product-card--large {
    grid-column: auto;
  }

  .solutions-product-card--large figure,
  .solutions-product-card figure {
    aspect-ratio: 4 / 3;
  }

  .solutions-product-card div {
    grid-template-columns: 34px 1fr;
  }

  .solutions-proof-band {
    padding: 72px 16px;
  }

  .solutions-proof-band li {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
/* Solutions visual refinement: rounded filter, masonry product flow, clearer configurator tabs. */
.solutions-filter--catalog {
  width: min(1240px, calc(100% - 48px));
  margin: 40px auto 44px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(23, 39, 38, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 18px 42px rgba(23, 39, 38, 0.055);
  overflow-x: auto;
  scrollbar-width: none;
}

.solutions-filter--catalog::-webkit-scrollbar {
  display: none;
}

.solutions-filter--catalog button {
  min-width: max-content;
  border: 0 !important;
  border-radius: 999px !important;
  padding: 13px 24px !important;
  background: transparent;
  color: rgba(23, 39, 38, 0.68);
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.solutions-filter--catalog button:hover {
  background: rgba(23, 39, 38, 0.075);
  color: var(--solution-ink);
  transform: translateY(-1px);
}

.solutions-filter--catalog button.is-active {
  background: var(--solution-ink) !important;
  color: #fffdf8 !important;
  box-shadow: 0 12px 26px rgba(23, 39, 38, 0.16);
}

.solutions-product-grid {
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 34px 30px !important;
  align-items: start;
}

.solutions-product-card {
  grid-column: span 4;
  display: flex !important;
  flex-direction: column;
  gap: 16px;
  border: 0 !important;
  background: transparent !important;
  text-decoration: none;
}

.solutions-product-card[hidden] {
  display: none !important;
}

.solutions-product-card--large,
.solutions-product-card:nth-child(5) {
  grid-column: span 8;
}

.solutions-product-card:nth-child(2) {
  grid-column: span 4;
  margin-top: 0;
}

.solutions-product-card figure {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #e7dfd2;
  box-shadow: 0 22px 58px rgba(23, 39, 38, 0.1);
}

.solutions-product-card figure,
.solutions-product-card img {
  aspect-ratio: 4 / 3;
}

.solutions-product-card--large figure,
.solutions-product-card--large img,
.solutions-product-card:nth-child(5) figure,
.solutions-product-card:nth-child(5) img {
  aspect-ratio: 16 / 9;
}

.solutions-product-card:nth-child(2) figure,
.solutions-product-card:nth-child(2) img {
  aspect-ratio: 1 / 0.86;
}

.solutions-product-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 420ms ease, filter 420ms ease;
}

.solutions-product-card:hover img {
  transform: scale(1.026);
  filter: saturate(1.02) contrast(1.02);
}

.solutions-product-card div {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 8px 18px;
  padding: 0 2px 28px !important;
  border-bottom: 1px solid rgba(23, 39, 38, 0.13);
}

.solutions-product-card span {
  grid-row: 1 / 3;
  padding-top: 4px;
  color: var(--solution-rust);
  font-size: 0.72rem;
  font-weight: 820;
  letter-spacing: 0.08em;
}

.solutions-product-card p {
  margin: 0;
  max-width: 14em;
  color: var(--solution-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.35rem, 1.75vw, 2.15rem);
  line-height: 1.08;
}

.solutions-product-card small {
  max-width: 48ch;
  color: rgba(23, 39, 38, 0.62);
  font-size: 0.78rem;
  line-height: 1.65;
}

.solutions-configurator__workspace {
  grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
  gap: 34px;
}

.solutions-configurator__nav {
  display: flex !important;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(23, 39, 38, 0.1) !important;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.7);
  box-shadow: 0 18px 42px rgba(23, 39, 38, 0.055);
}

.solutions-configurator__nav button {
  position: relative;
  border: 0 !important;
  border-radius: 17px !important;
  padding: 17px 46px 17px 18px !important;
  background: transparent;
  color: rgba(23, 39, 38, 0.6);
  line-height: 1;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.solutions-configurator__nav button:hover {
  background: rgba(23, 39, 38, 0.075);
  color: var(--solution-ink);
}

.solutions-configurator__nav button.is-active {
  background: var(--solution-ink) !important;
  color: #fffdf8 !important;
  box-shadow: 0 14px 30px rgba(23, 39, 38, 0.15);
  transform: translateX(4px);
}

.solutions-configurator__nav button.is-active::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--solution-rust);
  transform: translateY(-50%);
}

.solutions-configurator__preview {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 24px 64px rgba(23, 39, 38, 0.08);
}

@media (max-width: 980px) {
  .solutions-product-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .solutions-product-card,
  .solutions-product-card:nth-child(2) {
    grid-column: span 3;
  }

  .solutions-product-card--large,
  .solutions-product-card:nth-child(5) {
    grid-column: span 6;
  }

  .solutions-configurator__workspace {
    grid-template-columns: 1fr;
  }

  .solutions-configurator__nav {
    flex-direction: row;
    overflow-x: auto;
    border-radius: 999px;
    scrollbar-width: none;
  }

  .solutions-configurator__nav::-webkit-scrollbar {
    display: none;
  }

  .solutions-configurator__nav button {
    min-width: max-content;
    padding: 14px 34px 14px 18px !important;
  }

  .solutions-configurator__nav button.is-active {
    transform: translateY(-1px);
  }
}

@media (max-width: 680px) {
  .solutions-filter--catalog,
  .solutions-product-grid {
    width: min(100% - 32px, 620px);
  }

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

  .solutions-product-card,
  .solutions-product-card:nth-child(2),
  .solutions-product-card--large,
  .solutions-product-card:nth-child(5) {
    grid-column: 1 / -1;
  }

  .solutions-product-card figure,
  .solutions-product-card img,
  .solutions-product-card--large figure,
  .solutions-product-card--large img {
    aspect-ratio: 4 / 3;
  }
}

/* Three-page conversion update */
.page-solutions .solutions-hero h1,
.page-solutions .solutions-catalog h2,
.page-solutions .solutions-proof-band h2,
.page-solutions .solutions-material-library h2,
.page-foldable-v3 .foldable-detail-zoom h2,
.page-wine-v2 .wine-protection h2,
.page-wine-v2 .wine-finishes h2 {
  font-family: var(--font-sans, Inter, Arial, sans-serif) !important;
  font-weight: 820 !important;
  letter-spacing: 0 !important;
}

.solutions-hero__gallery {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(23,39,38,.12);
}

.solutions-product-card div {
  align-content: start;
}

.solutions-tech-tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.solutions-tech-tags em {
  display: inline-flex;
  border: 1px solid rgba(166,82,55,.28);
  border-radius: 999px;
  padding: 6px 9px;
  color: var(--solution-rust);
  background: rgba(166,82,55,.07);
  font-size: 11px;
  font-style: normal;
  font-weight: 780;
}

.solutions-material-library {
  padding: 100px max(24px, calc((100% - 1500px) / 2));
  background: #fff;
}

.solutions-material-library__intro {
  display: grid;
  grid-template-columns: .36fr 1fr .5fr;
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.solutions-material-library__intro h2 {
  margin: 0;
  color: var(--solution-ink);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 1.02;
}

.solutions-material-library__intro span {
  color: rgba(23,39,38,.62);
  font-size: .9rem;
  line-height: 1.65;
}

.solutions-material-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.solutions-material-grid figure,
.foldable-detail-zoom__grid figure,
.wine-finishes__grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #f5f1ea;
}

.solutions-material-grid img,
.foldable-detail-zoom__grid img,
.wine-finishes__grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.solutions-material-grid figcaption,
.foldable-detail-zoom__grid figcaption,
.wine-finishes__grid figcaption {
  display: grid;
  gap: 6px;
  padding: 18px;
  color: var(--solution-ink);
}

.solutions-material-grid figcaption span,
.foldable-detail-zoom__grid figcaption span,
.wine-finishes__grid figcaption,
.wine-finishes__grid figcaption span {
  color: rgba(23,39,38,.58);
  font-size: .78rem;
  line-height: 1.45;
}

.foldable-detail-zoom {
  padding: 105px max(32px, calc((100% - 1500px) / 2));
  background: #fff;
}

.foldable-detail-zoom__intro {
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 42px;
}

.foldable-detail-zoom__intro p {
  color: var(--fold-rust);
  font-size: .68rem;
  font-weight: 780;
  text-transform: uppercase;
}

.foldable-detail-zoom h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.9rem);
  line-height: 1.02;
}

.foldable-detail-zoom__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.foldable-final-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.foldable-final-cta small,
.wine-cta-note {
  color: rgba(23,37,37,.62);
  font-size: .82rem;
  line-height: 1.5;
}

.page-wine-v2 .wine-bottle-map {
  grid-column: 2;
  margin: 0 0 28px;
  overflow: hidden;
  border-radius: 26px;
  background: #f4eee5;
}

.page-wine-v2 .wine-bottle-map img {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  display: block;
}

.page-wine-v2 .wine-bottle-map figcaption,
.page-wine-v2 .wine-protection figcaption {
  padding: 10px 14px;
  color: rgba(16,25,27,.58);
  font-size: .75rem;
}

.page-wine-v2 .wine-protection {
  padding: 100px 0;
  background: #fff;
}

.page-wine-v2 .wine-protection__shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, .82fr);
  gap: clamp(42px, 7vw, 110px);
  align-items: center;
}

.page-wine-v2 .wine-protection figure {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #f4eee5;
}

.page-wine-v2 .wine-protection figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.page-wine-v2 .wine-protection p,
.page-wine-v2 .wine-finishes__intro p {
  color: var(--terracotta-dark);
  font-size: .72rem;
  font-weight: 780;
  text-transform: uppercase;
}

.page-wine-v2 .wine-protection h2,
.page-wine-v2 .wine-finishes h2 {
  margin: 12px 0 0;
  color: var(--forest);
  font-size: clamp(2.4rem, 4vw, 4.8rem);
  line-height: 1.02;
}

.page-wine-v2 .wine-protection ul {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
}

.page-wine-v2 .wine-protection li {
  padding: 18px 0 18px 34px;
  border-top: 1px solid var(--line);
  position: relative;
  color: rgba(16,25,27,.72);
}

.page-wine-v2 .wine-protection li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta-dark);
}

.page-wine-v2 .wine-finishes {
  padding: 100px 0;
  background: var(--paper);
}

.page-wine-v2 .wine-finishes__intro {
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 38px;
}

.page-wine-v2 .wine-finishes__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px) {
  .solutions-material-library__intro,
  .foldable-detail-zoom__intro,
  .page-wine-v2 .wine-finishes__intro,
  .page-wine-v2 .wine-protection__shell {
    grid-template-columns: 1fr;
  }

  .solutions-material-grid,
  .foldable-detail-zoom__grid,
  .page-wine-v2 .wine-finishes__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-wine-v2 .wine-bottle-map {
    grid-column: auto;
  }
}

@media (max-width: 640px) {
  .solutions-material-grid,
  .foldable-detail-zoom__grid,
  .page-wine-v2 .wine-finishes__grid {
    grid-template-columns: 1fr;
  }

  .solutions-material-library,
  .foldable-detail-zoom,
  .page-wine-v2 .wine-protection,
  .page-wine-v2 .wine-finishes {
    padding-top: 68px;
    padding-bottom: 68px;
  }
}

/* Refine category technical tags: light, compact, natural placement */
.page-solutions .solutions-product-card div:has(.solutions-tech-tags) {
  align-content: start;
  gap: 8px 16px !important;
}

.page-solutions .solutions-tech-tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: 100%;
  margin-top: 2px;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-solutions .solutions-tech-tags em {
  display: inline-flex;
  width: auto;
  max-width: 100%;
  min-width: 0;
  min-height: 24px;
  align-items: center;
  border: 1px solid rgba(166, 82, 55, .2);
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(166, 82, 55, .055);
  color: rgba(166, 82, 55, .9);
  font-size: 10.5px;
  font-style: normal;
  font-weight: 760;
  line-height: 1.15;
  white-space: nowrap;
  word-break: keep-all;
  overflow-wrap: normal;
}

.page-solutions .solutions-product-card--large .solutions-tech-tags {
  max-width: 520px;
}

@media (max-width: 640px) {
  .page-solutions .solutions-tech-tags {
    grid-column: 1 / -1;
    margin-left: 34px;
  }

  .page-solutions .solutions-tech-tags em {
    font-size: 10px;
  }
}

/* Fix nested tag stacking caused by broad product-card div rules */
.page-solutions .solutions-product-card > div {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  gap: 8px 18px !important;
  padding: 0 2px 28px !important;
  border-bottom: 1px solid rgba(23, 39, 38, 0.13) !important;
}

.page-solutions .solutions-product-card > div > span {
  grid-column: 1;
  grid-row: 1 / 4;
}

.page-solutions .solutions-product-card > div > p,
.page-solutions .solutions-product-card > div > small,
.page-solutions .solutions-product-card > div > .solutions-tech-tags {
  grid-column: 2;
}

.page-solutions .solutions-product-card .solutions-tech-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  gap: 7px !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: 560px !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.page-solutions .solutions-product-card .solutions-tech-tags em {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  min-height: 24px !important;
  padding: 4px 9px !important;
  border: 1px solid rgba(166, 82, 55, .22) !important;
  border-radius: 999px !important;
  background: rgba(166, 82, 55, .055) !important;
  color: rgba(166, 82, 55, .92) !important;
  font-size: 10.5px !important;
  font-style: normal !important;
  font-weight: 760 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

@media (max-width: 640px) {
  .page-solutions .solutions-product-card > div {
    grid-template-columns: 30px minmax(0, 1fr) !important;
    gap: 8px 12px !important;
  }

  .page-solutions .solutions-product-card .solutions-tech-tags {
    margin-left: 0 !important;
  }
}

/* Category entry system: each supplied folder becomes a compact clickable page card. */
.page-solutions .solutions-product-grid--compact {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
  gap: 34px 28px !important;
  align-items: start;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card {
  grid-column: span 4;
  border-bottom: 1px solid rgba(34, 54, 55, 0.12);
  border-radius: 18px 18px 0 0;
  overflow: visible;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card--wide {
  grid-column: span 6;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card:hover {
  transform: translateY(-4px);
}

.page-solutions .solutions-product-grid--compact .solutions-product-card figure {
  height: auto !important;
  aspect-ratio: 1.28 / 1 !important;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(16, 25, 27, 0.08);
}

.page-solutions .solutions-product-grid--compact .solutions-product-card--wide figure {
  aspect-ratio: 1.55 / 1 !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card > div {
  grid-template-columns: 34px minmax(0, 1fr) !important;
  gap: 8px 14px !important;
  padding: 18px 0 24px !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card > div > span {
  color: var(--terracotta);
  font-size: .7rem;
  font-weight: 820;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card > div > p {
  max-width: 100%;
  font-size: clamp(1.15rem, 1.55vw, 1.8rem) !important;
  line-height: 1.12 !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card > div > small {
  max-width: 420px;
  font-size: .76rem !important;
  line-height: 1.55 !important;
}

.page-solutions .solutions-product-grid--compact .solutions-tech-tags {
  display: flex !important;
  flex-wrap: wrap;
  grid-column: 2 !important;
  gap: 6px !important;
  margin-top: 4px !important;
}

.page-solutions .solutions-product-grid--compact .solutions-tech-tags em {
  width: auto !important;
  max-width: 100%;
  min-height: 24px !important;
  border-radius: 999px !important;
  padding: 5px 9px !important;
  background: rgba(208, 90, 58, 0.08) !important;
  color: var(--terracotta-dark) !important;
  font-size: .64rem !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

.page-solutions .solutions-filter--catalog {
  width: min(1180px, calc(100% - 56px));
  margin-inline: auto;
}

.page-category-detail {
  background: #fffdf8;
}

.category-detail-hero {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: clamp(36px, 5vw, 86px);
  align-items: center;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
  padding: 86px 0 72px;
}

.category-detail-hero h1 {
  max-width: 720px;
  font-size: clamp(2.7rem, 4.2vw, 5.2rem);
}

.category-detail-hero p:not(.solutions-kicker) {
  max-width: 560px;
  margin-top: 20px;
  color: rgba(16, 25, 27, .64);
  font-size: .98rem;
  line-height: 1.65;
}

.category-detail-hero .solutions-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.category-detail-hero .button {
  margin-top: 28px;
}

.category-detail-hero figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 22px;
  background: var(--off-white);
  box-shadow: 0 26px 70px rgba(16, 25, 27, .1);
}

.category-detail-hero img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.category-detail-hero figcaption,
.category-detail-grid figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  border-radius: 999px;
  padding: 7px 10px;
  background: rgba(16, 25, 27, .76);
  color: #fff;
  font-size: .66rem;
  font-weight: 720;
}

.category-detail-gallery {
  padding: 78px 0 90px;
}

.category-detail-heading {
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: 42px;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto 40px;
}

.category-detail-heading h2 {
  max-width: 820px;
  font-size: clamp(2.1rem, 3.4vw, 4.2rem);
}

.category-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto;
}

.category-detail-grid figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: var(--off-white);
}

.category-detail-grid img {
  width: 100%;
  aspect-ratio: 1.18 / 1;
  object-fit: cover;
}

.category-detail-review {
  display: grid;
  grid-template-columns: .5fr repeat(3, 1fr);
  gap: 28px;
  width: min(1440px, calc(100% - 64px));
  margin: 0 auto 90px;
  border-top: 1px solid var(--line);
  padding-top: 34px;
}

.category-detail-review div {
  display: grid;
  gap: 10px;
}

.category-detail-review strong {
  color: var(--forest);
  font-size: 1rem;
}

.category-detail-review span {
  color: rgba(16, 25, 27, .6);
  font-size: .82rem;
  line-height: 1.6;
}

@media (max-width: 1080px) {
  .page-solutions .solutions-product-grid--compact {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .page-solutions .solutions-product-grid--compact .solutions-product-card,
  .page-solutions .solutions-product-grid--compact .solutions-product-card--wide {
    grid-column: span 3;
  }
  .category-detail-hero,
  .category-detail-heading,
  .category-detail-review {
    grid-template-columns: 1fr;
  }
  .category-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .page-solutions .solutions-product-grid--compact,
  .page-solutions .solutions-filter--catalog,
  .category-detail-hero,
  .category-detail-heading,
  .category-detail-grid,
  .category-detail-review {
    width: calc(100% - 32px);
  }
  .page-solutions .solutions-product-grid--compact {
    grid-template-columns: 1fr;
    gap: 28px !important;
  }
  .page-solutions .solutions-product-grid--compact .solutions-product-card,
  .page-solutions .solutions-product-grid--compact .solutions-product-card--wide {
    grid-column: 1 / -1;
  }
  .category-detail-hero {
    padding: 54px 0 46px;
  }
  .category-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* Designed folder detail pages: aligned with the Foldable product-page rhythm. */
.page-category-detail-v2 {
  background: #fffdf8;
}

.cat-hero-v2 {
  display: grid;
  min-height: calc(100svh - 72px);
  grid-template-columns: .82fr 1.18fr;
  background: var(--off-white);
}

.cat-hero-v2__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px max(32px, 7vw);
}

.cat-hero-v2 h1,
.cat-states-v2 h2,
.cat-detail-v2 h2,
.cat-validation-v2 h2,
.cat-visual-rail-v2 h2 {
  max-width: 760px;
  margin: 0;
  color: var(--forest);
  font-size: clamp(2.7rem, 4.4vw, 5.4rem);
  font-weight: 760 !important;
  line-height: 1.02 !important;
}

.cat-hero-v2__copy > p:not(.solutions-kicker) {
  max-width: 560px;
  margin-top: 22px;
  color: rgba(16, 25, 27, .64);
  font-size: .96rem;
  line-height: 1.68;
}

.cat-hero-v2__copy > .solutions-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.cat-hero-v2__copy > div:last-child {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 30px;
}

.cat-hero-v2__copy > div:last-child a:last-child {
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  color: var(--terracotta-dark);
  font-size: .78rem;
  font-weight: 760;
}

.cat-hero-v2 > figure {
  position: relative;
  min-height: 0;
  margin: 28px 28px 28px 0;
  overflow: hidden;
  border-radius: 22px;
  background: #eee9df;
}

.cat-hero-v2 > figure img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.cat-hero-v2 figcaption,
.cat-states-v2 figcaption,
.cat-visual-rail-v2 figcaption {
  position: absolute;
  right: 16px;
  bottom: 16px;
  border-radius: 999px;
  padding: 8px 11px;
  background: rgba(18, 38, 37, .78);
  color: #fff;
  font-size: .66rem;
  font-weight: 720;
}

.cat-states-v2 {
  padding: 96px max(32px, calc((100% - 1500px) / 2));
}

.cat-states-v2 > header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.cat-states-v2 > header p {
  max-width: 450px;
  color: rgba(16, 25, 27, .62);
  font-size: .86rem;
  line-height: 1.7;
}

.cat-states-v2__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 46px;
}

.cat-states-v2__grid figure,
.cat-visual-rail-v2 figure {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
  background: var(--off-white);
}

.cat-states-v2__grid img {
  width: 100%;
  aspect-ratio: 1.35 / 1;
  object-fit: cover;
}

.cat-detail-v2 {
  padding: 92px max(32px, calc((100% - 1500px) / 2));
  background: #fff;
}

.cat-detail-v2 > div:first-child {
  display: grid;
  grid-template-columns: .34fr 1fr;
  gap: 48px;
  align-items: start;
}

.cat-detail-v2 h2,
.cat-validation-v2 h2,
.cat-visual-rail-v2 h2 {
  font-size: clamp(2.35rem, 3.6vw, 4.6rem);
}

.cat-detail-v2__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 44px;
}

.cat-detail-v2__cards article {
  overflow: hidden;
  border-radius: 20px;
  background: var(--off-white);
}

.cat-detail-v2__cards img {
  width: 100%;
  aspect-ratio: 1.12 / 1;
  object-fit: cover;
}

.cat-detail-v2__cards strong,
.cat-detail-v2__cards span {
  display: block;
  padding-inline: 22px;
}

.cat-detail-v2__cards strong {
  padding-top: 20px;
  color: var(--forest);
  font-size: 1.1rem;
}

.cat-detail-v2__cards span {
  padding-top: 8px;
  padding-bottom: 24px;
  color: rgba(16, 25, 27, .62);
  font-size: .82rem;
  line-height: 1.55;
}

.cat-validation-v2 {
  display: grid;
  min-height: 650px;
  grid-template-columns: 1.08fr .92fr;
  background: var(--forest);
  color: #fff;
}

.cat-validation-v2 figure {
  margin: 0;
  overflow: hidden;
}

.cat-validation-v2 figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cat-validation-v2 > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 72px max(32px, 7vw);
}

.cat-validation-v2 h2,
.cat-validation-v2 .solutions-kicker {
  color: #fff !important;
}

.cat-validation-v2 dl {
  display: grid;
  grid-template-columns: 110px 1fr;
  margin: 32px 0 30px;
  border-top: 1px solid rgba(255,255,255,.22);
}

.cat-validation-v2 dt,
.cat-validation-v2 dd {
  margin: 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  padding: 14px 0;
  font-size: .78rem;
}

.cat-validation-v2 dt {
  color: #fff;
  font-weight: 800;
}

.cat-validation-v2 dd {
  color: rgba(255,255,255,.66);
}

.cat-visual-rail-v2 {
  padding: 96px 0 104px;
  background: var(--off-white);
}

.cat-visual-rail-v2 > div:first-child {
  display: grid;
  width: min(1500px, calc(100% - 64px));
  grid-template-columns: .34fr 1fr;
  gap: 48px;
  margin: 0 auto 42px;
}

.cat-visual-rail-v2__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.cat-visual-rail-v2 img {
  width: 100%;
  height: 390px;
  object-fit: cover;
}

.page-category-wine .cat-validation-v2 {
  background: #231d1a;
}

.page-category-beauty .cat-hero-v2,
.page-category-beauty .cat-visual-rail-v2 {
  background: #fbf6f1;
}

.page-category-electronics .cat-validation-v2 {
  background: #111c21;
}

.page-category-electronics .cat-hero-v2 {
  background: #f2f4f4;
}

@media (max-width: 980px) {
  .cat-hero-v2,
  .cat-validation-v2 {
    grid-template-columns: 1fr;
  }
  .cat-hero-v2 > figure {
    margin: 0 20px 24px;
  }
  .cat-hero-v2 > figure img {
    min-height: 0;
    aspect-ratio: 1.2 / 1;
  }
  .cat-detail-v2 > div:first-child,
  .cat-visual-rail-v2 > div:first-child {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .cat-detail-v2__cards,
  .cat-visual-rail-v2__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .cat-hero-v2__copy,
  .cat-states-v2,
  .cat-detail-v2,
  .cat-validation-v2 > div {
    padding-inline: 16px;
  }
  .cat-states-v2 > header,
  .cat-states-v2__grid {
    display: grid;
    grid-template-columns: 1fr;
  }
  .cat-detail-v2__cards,
  .cat-visual-rail-v2__grid {
    grid-template-columns: 1fr;
  }
  .cat-visual-rail-v2 > div:first-child {
    width: calc(100% - 32px);
  }
  .cat-visual-rail-v2 img {
    height: 300px;
  }
}

/* Final catalog tuning: subject-focused hero collage, compact paged cards, and empty material slot. */
.page-solutions .solutions-hero__gallery--overlap {
  position: relative;
  display: block !important;
  min-height: 620px;
  overflow: visible;
}

.page-solutions .solutions-hero__gallery--overlap figure {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border-radius: 26px;
  background: #f8f4ec;
  box-shadow: 0 24px 70px rgba(16, 25, 27, .12);
}

.page-solutions .solutions-hero__gallery--overlap .large {
  inset: 40px 23% 26px 0;
  z-index: 1;
}

.page-solutions .solutions-hero__gallery--overlap figure:nth-child(2) {
  top: 18px;
  right: 0;
  z-index: 2;
  width: 34%;
  height: 47%;
}

.page-solutions .solutions-hero__gallery--overlap figure:nth-child(3) {
  right: 2%;
  bottom: 0;
  z-index: 3;
  width: 31%;
  height: 43%;
}

.page-solutions .solutions-hero__gallery--overlap img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
  padding: 18px;
  background: #fbf8f1;
}

.page-solutions .solutions-hero__gallery--overlap .large img {
  padding: 10px;
}

.page-solutions .solutions-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: min(1180px, calc(100% - 56px));
  margin: 34px auto 0;
}

.page-solutions .solutions-pagination[hidden] {
  display: none;
}

.page-solutions .solutions-pagination button {
  display: grid;
  min-width: 42px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(34, 54, 55, .14);
  border-radius: 999px;
  background: #fffdf8;
  color: rgba(16,25,27,.64);
  cursor: pointer;
  font: 760 .76rem var(--font-sans, Inter, sans-serif);
}

.page-solutions .solutions-pagination button.is-active,
.page-solutions .solutions-pagination button:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: #fff;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card[hidden] {
  display: none !important;
}

.page-solutions .solutions-material-empty > div {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 1px dashed rgba(34, 54, 55, .2);
  border-radius: 18px 18px 0 0;
  background: repeating-linear-gradient(135deg, rgba(34,54,55,.04) 0 10px, transparent 10px 20px), #faf7ef;
}

@media (max-width: 980px) {
  .page-solutions .solutions-hero__gallery--overlap {
    min-height: 520px;
  }
}

@media (max-width: 680px) {
  .page-solutions .solutions-hero__gallery--overlap {
    min-height: 430px;
  }
  .page-solutions .solutions-hero__gallery--overlap .large {
    inset: 20px 0 150px 0;
  }
  .page-solutions .solutions-hero__gallery--overlap figure:nth-child(2) {
    top: auto;
    right: 51%;
    bottom: 0;
    width: 49%;
    height: 145px;
  }
  .page-solutions .solutions-hero__gallery--overlap figure:nth-child(3) {
    right: 0;
    bottom: 0;
    width: 48%;
    height: 145px;
  }
}

/* Catalog alignment and subject-led product stack */
.page-solutions .solutions-hero__gallery--product-stack {
  position: relative;
  isolation: isolate;
  min-height: clamp(520px, 46vw, 700px) !important;
  border-radius: 0 !important;
  overflow: visible !important;
  box-shadow: none !important;
}

.page-solutions .solutions-hero__gallery--product-stack::before {
  content: "";
  position: absolute;
  inset: 6% 2% 2% 8%;
  z-index: 0;
  border-radius: 34px;
  background: radial-gradient(circle at 64% 30%, rgba(255,255,255,.95), rgba(247,242,232,.78) 46%, rgba(232,224,211,.58));
  box-shadow: 0 34px 92px rgba(16, 25, 27, .1);
}

.page-solutions .solutions-hero__gallery--product-stack figure {
  position: absolute !important;
  margin: 0 !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  background: transparent !important;
  box-shadow: 0 26px 70px rgba(16, 25, 27, .16) !important;
}

.page-solutions .solutions-hero__gallery--product-stack img {
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
  object-fit: cover !important;
  object-position: center !important;
  background: transparent !important;
  display: block;
}

.page-solutions .solutions-hero__gallery--product-stack .stack-main {
  inset: 20% 22% 4% 0 !important;
  z-index: 2;
}

.page-solutions .solutions-hero__gallery--product-stack .stack-tall {
  top: 4% !important;
  right: 2% !important;
  width: 35% !important;
  height: 43% !important;
  z-index: 4;
}

.page-solutions .solutions-hero__gallery--product-stack .stack-soft {
  right: 0 !important;
  bottom: 0 !important;
  width: 34% !important;
  height: 38% !important;
  z-index: 5;
}

.page-solutions .solutions-hero__gallery--product-stack .stack-open {
  left: 6% !important;
  top: 6% !important;
  width: 34% !important;
  height: 28% !important;
  z-index: 3;
  transform: rotate(-2deg);
}

.page-solutions .solutions-hero__gallery--product-stack .stack-small {
  left: 45% !important;
  top: 0 !important;
  width: 24% !important;
  height: 26% !important;
  z-index: 1;
  opacity: .96;
}

.page-solutions .solutions-product-grid--compact {
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 42px 30px !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card,
.page-solutions .solutions-product-grid--compact .solutions-product-card--wide,
.page-solutions .solutions-product-grid--compact .solutions-product-card:nth-child(2),
.page-solutions .solutions-product-grid--compact .solutions-product-card:nth-child(5) {
  grid-column: span 4 !important;
  gap: 14px !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card.catalog-card-wide-slot {
  grid-column: span 6 !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card figure,
.page-solutions .solutions-product-grid--compact .solutions-product-card--wide figure,
.page-solutions .solutions-product-grid--compact .solutions-product-card:nth-child(2) figure,
.page-solutions .solutions-product-grid--compact .solutions-product-card:nth-child(5) figure {
  aspect-ratio: 1.45 / 1 !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card.catalog-card-wide-slot figure {
  aspect-ratio: 1.62 / 1 !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card > div {
  grid-template-columns: 40px minmax(0, 1fr) !important;
  min-height: 168px;
  align-content: start;
  padding: 2px 0 24px !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card > div > p {
  min-height: 2.24em;
  font-family: Inter, Arial, sans-serif !important;
  font-size: clamp(1.18rem, 1.35vw, 1.58rem) !important;
  font-weight: 620;
  letter-spacing: 0 !important;
}

.page-solutions .solutions-product-grid--compact .solutions-product-card > div > small {
  min-height: 3.1em;
}

.page-solutions .solutions-product-grid--compact .solutions-tech-tags {
  min-height: 28px;
}

@media (max-width: 980px) {
  .page-solutions .solutions-product-grid--compact .solutions-product-card,
  .page-solutions .solutions-product-grid--compact .solutions-product-card--wide,
  .page-solutions .solutions-product-grid--compact .solutions-product-card.catalog-card-wide-slot {
    grid-column: span 6 !important;
  }
}

@media (max-width: 680px) {
  .page-solutions .solutions-hero__gallery--product-stack {
    min-height: 470px !important;
  }
  .page-solutions .solutions-hero__gallery--product-stack .stack-main {
    inset: 18% 0 24% 0 !important;
  }
  .page-solutions .solutions-hero__gallery--product-stack .stack-tall {
    top: 0 !important;
    right: 0 !important;
    width: 49% !important;
    height: 25% !important;
  }
  .page-solutions .solutions-hero__gallery--product-stack .stack-open {
    top: 0 !important;
    left: 0 !important;
    width: 46% !important;
    height: 25% !important;
  }
  .page-solutions .solutions-hero__gallery--product-stack .stack-soft {
    width: 50% !important;
    height: 22% !important;
  }
  .page-solutions .solutions-hero__gallery--product-stack .stack-small {
    left: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 47% !important;
    height: 22% !important;
  }
  .page-solutions .solutions-product-grid--compact .solutions-product-card,
  .page-solutions .solutions-product-grid--compact .solutions-product-card--wide,
  .page-solutions .solutions-product-grid--compact .solutions-product-card.catalog-card-wide-slot {
    grid-column: 1 / -1 !important;
  }
  .page-solutions .solutions-product-grid--compact .solutions-product-card > div {
    min-height: 0;
  }
  .page-solutions .solutions-product-grid--compact .solutions-product-card > div > p,
  .page-solutions .solutions-product-grid--compact .solutions-product-card > div > small,
  .page-solutions .solutions-product-grid--compact .solutions-tech-tags {
    min-height: 0;
  }
}

/* Notion Solutions update: poster hero, video display, and uploaded finish library. */
.page-solutions .solutions-hero--catalog {
  grid-template-columns: minmax(360px, .7fr) minmax(0, 1.3fr) !important;
  align-items: stretch;
  gap: clamp(20px, 2.4vw, 42px) !important;
  padding: clamp(18px, 2vw, 32px) !important;
}

.page-solutions .solutions-hero__gallery--single-poster {
  display: grid !important;
  grid-template-columns: 1fr !important;
  grid-template-rows: 1fr !important;
  min-height: 0;
}

.page-solutions .solutions-hero__gallery--single-poster figure {
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #e8e0d4;
  box-shadow: 0 30px 90px rgba(23, 39, 38, .14);
}

.page-solutions .solutions-hero__gallery--single-poster img {
  width: 100%;
  height: 100%;
  min-height: clamp(520px, 72svh, 780px);
  object-fit: cover;
  object-position: center center;
  display: block;
}

.solutions-video-showcase {
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 86px);
  align-items: center;
  padding: clamp(82px, 8vw, 130px) max(24px, calc((100% - 1500px) / 2));
  background: #102321;
  color: #fff;
}

.solutions-video-showcase__copy h2 {
  max-width: 620px;
  margin: 12px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.4rem, 4.2vw, 5rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

.solutions-video-showcase__copy span {
  display: block;
  max-width: 470px;
  margin-top: 22px;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
  line-height: 1.65;
}

.solutions-video-showcase__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 28px;
  background: #071817;
  box-shadow: 0 28px 90px rgba(0,0,0,.24);
}

.solutions-video-showcase__media img {
  width: 100%;
  aspect-ratio: 1545 / 1999;
  max-height: min(780px, 78svh);
  object-fit: cover;
  object-position: center center;
  display: block;
}

.solutions-video-showcase__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,20,19,0) 48%, rgba(8,20,19,.58));
  content: "";
}

.solutions-video-showcase__media figcaption {
  position: absolute;
  left: 24px;
  bottom: 24px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border-radius: 999px;
  padding: 10px 16px 10px 10px;
  background: rgba(255,255,255,.92);
  color: #102321;
  font-weight: 760;
}

.solutions-video-showcase__media figcaption span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #e4573a;
  color: #fff;
  font-size: .92rem;
}

.page-solutions .solutions-material-grid--notion {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: clamp(14px, 1.6vw, 26px) !important;
}

.page-solutions .solutions-material-grid--notion figure {
  aspect-ratio: 1545 / 2000 !important;
  border-radius: 24px;
  background: #eee8de;
}

.page-solutions .solutions-material-grid--notion img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
}

.page-solutions .solutions-material-grid--notion figcaption {
  background: linear-gradient(180deg, rgba(16,35,33,0), rgba(16,35,33,.74));
}

@media (max-width: 1050px) {
  .page-solutions .solutions-hero--catalog,
  .solutions-video-showcase {
    grid-template-columns: 1fr !important;
  }

  .page-solutions .solutions-hero__gallery--single-poster img {
    min-height: 0;
    aspect-ratio: 2000 / 1414;
  }

  .page-solutions .solutions-material-grid--notion {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 640px) {
  .page-solutions .solutions-hero__gallery--single-poster figure,
  .solutions-video-showcase__media,
  .page-solutions .solutions-material-grid--notion figure {
    border-radius: 18px;
  }

  .solutions-video-showcase {
    padding-inline: 16px;
  }

  .page-solutions .solutions-material-grid--notion {
    grid-template-columns: 1fr !important;
  }
}
