/* Photo-first collection. Visible product bounds are supplied by the builder. */
.collection .product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}
.collection .product-card {
  --product-baseline: 71%;
  --product-height: 59%;
  --scene-ink: #253331;
  position: relative;
  display: block;
  min-width: 0;
  grid-template-columns: none;
  border: 1px solid #dfe4e1;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 104px;
  transition: box-shadow .35s ease, border-color .35s ease;
}
.collection .product-card:hover,
.collection .product-card:focus-within {
  border-color: #b9ccc7;
  box-shadow: 0 18px 48px #1c454d14;
}
.collection .product-card .product-visual {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1122 / 1402;
  overflow: hidden;
  isolation: isolate;
  background: #e9e6df;
}
.collection .product-stage {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform-origin: 50% var(--product-baseline);
  transition: transform .85s cubic-bezier(.22,.65,.3,1);
}
.collection .product-card:is(:hover,:focus-within) .product-stage {
  transform: scale(1.025);
}
.collection .product-scene {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.collection .product-visual::after {
  content: '';
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg,#16282a10,transparent 20%,transparent 77%,#0d1f2540);
}
.collection .product-card .product-render {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: auto;
  bottom: calc(100% - var(--product-baseline));
  width: calc(var(--product-height) * 1.24955437 * var(--asset-ratio));
  height: auto;
  max-width: 72%;
  aspect-ratio: var(--asset-ratio);
  margin: 0;
  transform: translateX(-50%);
}
.collection .product-card .product-render .product-image {
  position: absolute;
  left: var(--image-left);
  top: var(--image-top);
  bottom: auto;
  display: block;
  width: var(--image-width);
  height: auto;
  max-width: none;
  margin: 0;
  object-fit: contain;
  transform: none;
  filter: drop-shadow(7px 6px 4px #1a27252b);
  transition: none;
}
.collection .product-ground {
  position: absolute;
  z-index: 1;
  left: 50%;
  top: calc(var(--product-baseline) - 1.1%);
  width: 38%;
  height: 3.2%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #20221b45;
  filter: blur(6px);
}
.collection .product-card[data-scene=evening] {
  --product-baseline: 77.7%;
  --product-height: 60%;
  --scene-ink: #fff;
}
.collection .product-card[data-slug=villaem-iii] { --product-height: 58%; }
.collection .product-card[data-slug=switch] { --product-height: 59%; }
.collection .product-card[data-slug=cinnamon] { --product-height: 57%; }
.collection .product-card[data-scene=evening] .product-render .product-image {
  filter: drop-shadow(8px 6px 5px #0005);
}
.collection .product-card[data-scene^=studio] {
  --product-baseline: 88%;
  --product-height: 72%;
}
.collection .product-card[data-scene=studio-warm] .product-stage {
  background: radial-gradient(ellipse at 24% 18%,#fffdfa 0%,#f0eee8 39%,#d1d3cc 100%);
}
.collection .product-card[data-scene=studio-dark] {
  --scene-ink: #fff;
}
.collection .product-card[data-scene=studio-dark] .product-stage {
  background: radial-gradient(ellipse at 21% 12%,#66807c 0%,#3b5554 43%,#25393b 100%);
}
.collection .product-card[data-scene^=studio] .product-stage::before {
  content: '';
  position: absolute;
  inset: 78% 0 0;
  background: linear-gradient(178deg,#ffffff19,#182d2a14);
  border-top: 1px solid #ffffff2b;
  box-shadow: 0 -18px 55px #22353106;
}
.collection .product-card[data-scene^=studio] .product-ground {
  top: calc(var(--product-baseline) - .1%);
  height: 2.5%;
  width: 39%;
  background: #192c294d;
  filter: blur(9px);
}
.collection .product-number,
.collection .product-type {
  position: absolute;
  z-index: 4;
  top: 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--scene-ink);
  background: #ffffffc4;
  backdrop-filter: blur(10px);
  border: 1px solid #ffffff4d;
}
.collection .product-number {
  left: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font: 12px/1 Arial,sans-serif;
  letter-spacing: .02em;
}
.collection .product-type {
  right: 20px;
  min-height: 36px;
  padding: 1px 13px 0;
  border-radius: 30px;
  font-family: inherit;
  font-size: 20px;
  line-height: 1.15;
}
.collection .product-card:is([data-scene=evening],[data-scene=studio-dark]) :is(.product-number,.product-type) {
  background: #19303060;
  border-color: #ffffff35;
}
.collection .visual-tag {
  position: absolute;
  z-index: 4;
  bottom: 21px;
  left: 22px;
  right: 18px;
  text-align: left;
  font: 10px/1.5 Arial,sans-serif;
  font-weight: 400;
  letter-spacing: .13em;
  color: #fff;
  text-shadow: 0 1px 12px #0004;
}
.collection .product-watermark,
.collection .product-plinth { display: none; }
.collection .product-card .product-content {
  display: block;
  padding: 27px 27px 22px;
}
.collection .product-card .product-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px 14px;
  min-height: 77px;
}
.collection .product-title-row > div:first-child { min-width: 0; }
.collection .product-card .product-name {
  font-family: var(--font-display,inherit);
  font-size: clamp(40px,3.15vw,48px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.025em;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #153c46;
}
.collection .product-model {
  margin-top: 8px;
  font-family: Arial,sans-serif;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .045em;
  color: #6c817f;
}
.collection .product-card .color-picker {
  display: block;
  flex-shrink: 0;
  max-width: 176px;
  margin: -7px 0 0 auto;
  text-align: right;
}
.collection .swatches {
  display: flex;
  justify-content: flex-end;
  gap: 0;
  flex-wrap: wrap;
}
.collection .product-card .swatch {
  width: 44px;
  height: 44px;
  border-radius: 50%;
}
.collection .swatch::before {
  width: 18px;
  height: 18px;
  border: 1px solid #0002;
}
.collection .swatch[aria-pressed=true]::after {
  inset: 7px;
  border: 1px solid #173e4b;
}
.collection .swatch:hover { background: #eff4f1; }
.collection .color-name {
  font-size: 18px;
  line-height: 1.15;
  color: #657b78;
}
.collection .product-card .product-headline {
  min-height: 2.25em;
  margin-top: 18px;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.14;
  color: #193f47;
}
.collection .product-card .product-subtitle {
  max-width: none;
  min-height: 5.45em;
  margin-top: 10px;
  font-size: 23px;
  line-height: 1.38;
  color: #607875;
}
.collection .product-card .product-facts {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
  margin: 22px 0 0;
  padding: 17px 0 16px;
  border-block: 1px solid #dce6e1;
}
.collection .product-facts > div { min-width: 0; }
.collection .product-card .product-facts dt {
  margin-bottom: 6px;
  font-size: 19px;
  line-height: 1.18;
  font-weight: 400;
  color: #66817b;
}
.collection .product-card .product-facts dd {
  margin: 0;
  font-size: 25px;
  line-height: 1.12;
  font-weight: 500;
  color: #1c4248;
  overflow-wrap: anywhere;
}
.collection .product-card .product-actions {
  display: flex;
  gap: 10px;
  max-width: none;
  margin-top: 22px;
}
.collection .product-card .product-actions .button {
  min-height: 49px;
  padding: 8px 15px;
  font-size: 23px;
  line-height: 1.15;
  border-color: #bdcfc9;
  border-radius: 7px;
}
.collection .product-actions .button:first-child {
  flex: 1;
  background: #f1f6f2;
}
.collection .product-actions .button:hover {
  color: #fff;
  background: #164f5c;
  border-color: #164f5c;
}
.collection .product-actions svg { width: 20px; height: 20px; }
.collection .product-actions .phone-only {
  width: 49px;
  flex-shrink: 0;
  padding: 10px !important;
}
.collection .product-details {
  margin-top: 18px;
  border-top: 1px solid #dce6e1;
}
.collection .product-details summary {
  padding: 13px 0 0;
  min-height: 47px;
  font-size: 22px;
  line-height: 1.2;
  color: #426661;
}
.collection .product-details[open] summary { color: #133f4d; }
.collection .details-body { padding-top: 25px; }
.collection .details-body h4 {
  margin-bottom: 11px;
  font-size: 25px;
  line-height: 1.2;
  font-weight: 500;
}
.collection .details-body ul {
  padding-left: 20px;
  margin-bottom: 26px;
  font-size: 22px;
  line-height: 1.38;
}
.collection .details-body li + li { margin-top: 10px; }
.collection .spec-list { font-size: 22px; line-height: 1.35; }
.collection .spec-list > div { padding-block: 13px; }
.collection .spec-list dt { font-size: 20px; line-height: 1.2; margin-bottom: 6px; }
.collection .spec-list dd { color: #355952; }
.collection .product-notes { padding: 18px; font-size: 20px; line-height: 1.35; }
.collection .product-notes strong { font-size: 22px; }
.collection :is(.swatch,.product-actions .button,.product-details summary):focus-visible {
  outline: 3px solid #218598;
  outline-offset: 4px;
}
.collection .product-card.water-use {
  display: block !important;
  grid-template-columns: none !important;
  --product-height: 78%;
  --product-baseline: 90%;
  --visual-height: clamp(430px,38vw,550px);
}
.collection .product-card.water-use .product-visual {
  height: var(--visual-height);
  min-height: 0;
  aspect-ratio: auto;
}
.collection .product-card.water-use .product-render {
  width: calc(var(--visual-height) * .78 * var(--asset-ratio));
}
.collection .product-card[data-scene=studio-water] .product-stage {
  background: radial-gradient(ellipse at 35% 28%,#eef7f3 0%,#c7dcd5 42%,#7daba5 100%);
}
.collection .product-card.water-use .product-ground { width: 18%; }
.collection .product-card.water-use .product-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  padding: 37px 42px 30px;
}
.collection .water-use .product-title-row { grid-column: 1; grid-row: 1; min-height: 74px; }
.collection .water-use .product-headline { grid-column: 1; grid-row: 2; min-height: 0; margin-top: 14px; font-size: 36px; }
.collection .water-use .product-subtitle { grid-column: 1; grid-row: 3 / 5; min-height: 0; max-width: 510px; }
.collection .water-use .product-facts { grid-column: 2; grid-row: 1 / 3; margin-top: 0; align-self: start; }
.collection .water-use .product-actions { grid-column: 2; grid-row: 3; margin-top: 15px; }
.collection .water-use .product-details { grid-column: 1 / -1; grid-row: 5; margin-top: 28px; }
.collection .water-use .details-body { columns: 2; column-gap: 60px; }
.collection .water-use .details-body :is(h4,li,.spec-list>div) { break-inside: avoid; }
.collection .collection-footnote { font-size: 19px; line-height: 1.3; }

@media (max-width: 1100px) {
  .collection .product-grid { gap: 20px; }
  .collection .product-card .product-content { padding: 23px 21px 20px; }
  .collection .product-card .product-name { font-size: 40px; }
  .collection .product-card .product-title-row { min-height: 112px; }
  .collection .product-card .color-picker { margin: 0; text-align: left; max-width: none; }
  .collection .swatches { justify-content: flex-start; }
  .collection .product-card .product-headline { font-size: 30px; }
  .collection .product-card .product-subtitle { font-size: 22px; min-height: 6.9em; }
  .collection .product-card .product-facts { gap: 9px; }
  .collection .product-card .product-facts dd { font-size: 23px; }
  .collection .product-card .product-facts dt { font-size: 18px; }
  .collection .product-type { right: 16px; }
  .collection .product-number { left: 16px; }
  .collection .visual-tag { left: 18px; font-size: 9px; letter-spacing: .1em; }
  .collection .water-use .product-title-row { min-height: 74px; }
  .collection .water-use .product-subtitle { min-height: 0; }
}
@media (max-width: 900px) {
  .collection .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
  .collection .product-card .product-title-row { min-height: 82px; }
  .collection .product-card .color-picker { margin: 0 0 0 auto; text-align: right; max-width: 176px; }
  .collection .swatches { justify-content: flex-end; }
  .collection .product-card .product-subtitle { min-height: 5.5em; }
  .collection .water-use .product-subtitle { min-height: 0; }
  .collection .product-card.water-use .product-content { padding: 29px; column-gap: 28px; }
  .collection .water-use .details-body { column-gap: 30px; }
}
@media (max-width: 600px) {
  .collection .product-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .collection .product-card { border-radius: 12px; }
  .collection .product-card .product-visual { height: auto; min-height: 0; aspect-ratio: 1122 / 1402; }
  .collection .product-card .product-content { padding: 25px 24px 22px; }
  .collection .product-card .product-title-row { min-height: 75px; gap: 10px; }
  .collection .product-card .product-name { font-size: 45px; }
  .collection .product-card .color-picker { margin-top: -6px; }
  .collection .product-card .product-headline { margin-top: 14px; min-height: 0; font-size: 32px; line-height: 1.15; }
  .collection .product-card .product-subtitle { margin-top: 12px; min-height: 0; font-size: 23px; line-height: 1.37; }
  .collection .product-card .product-facts { margin-top: 24px; padding-block: 19px; gap: 12px; }
  .collection .product-card .product-facts dt { font-size: 20px; }
  .collection .product-card .product-facts dd { font-size: 26px; }
  .collection .product-card .product-actions .button { font-size: 24px; min-height: 51px; }
  .collection .product-actions .phone-only { width: 51px; }
  .collection .product-details summary { font-size: 23px; min-height: 51px; }
  .collection .product-card.water-use { --visual-height: 430px; }
  .collection .product-card.water-use .product-visual { height: var(--visual-height); min-height: 0; aspect-ratio: auto; }
  .collection .product-card.water-use .product-content { display: block; padding: 25px 24px 22px; }
  .collection .water-use .details-body { columns: auto; }
  .collection .water-use .product-facts { margin-top: 24px; }
  .collection .water-use .product-actions { margin-top: 22px; }
  .collection .water-use .product-details { margin-top: 18px; }
  .collection .collection-footnote { font-size: 18px; line-height: 1.35; margin-top: 26px; }
}
@media (max-width: 360px) {
  .collection .product-card .product-content { padding: 22px 19px 19px; }
  .collection .product-card .product-name { font-size: 41px; }
  .collection .product-card .product-title-row { min-height: 0; row-gap: 13px; }
  .collection .product-card .color-picker { margin: 0; text-align: left; }
  .collection .swatches { justify-content: flex-start; }
  .collection .product-card .product-headline { margin-top: 20px; font-size: 30px; }
  .collection .product-card .product-subtitle { font-size: 22px; }
  .collection .product-card .product-facts { gap: 9px; }
  .collection .product-card .product-facts dt { font-size: 18px; }
  .collection .product-card .product-facts dd { font-size: 24px; }
  .collection .product-card .product-actions .button { font-size: 22px; padding-inline: 10px; }
  .collection .product-details summary { font-size: 22px; }
  .collection .visual-tag { font-size: 8px; }
  .collection .product-card.water-use .product-content { padding: 22px 19px 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .collection .product-stage { transition: none; }
  .collection .product-card:is(:hover,:focus-within) .product-stage { transform: none; }
}
.motion-paused .collection .product-card .product-stage { transition: none; transform: none; }
