.page-weave .products__thumb {
  background: #f2efe9;
}

.page-weave .contact {
  min-height: 460px;
}

.page-weave .contact__info {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-weave .contact__form-panel {
  padding: 36px 52px;
}

/* Lattice: the Figma grid is a strict 2-up. Pin the card to the thumb width so a
   long name like "Intreccio Monochrome" can't widen it and break the wrap. */
.page-lattice .products__card {
  width: 487.68px;
}

.page-lattice .products__name {
  font-size: 36px;
}

@media (max-width: 900px) {
  .page-lattice .products__card {
    width: 100%;
  }

  .page-lattice .products__name {
    font-size: 20px;
  }
}

/* Black fallback behind the hero photo while it loads. */
.hero--lattice {
  background: #000;
}

/* Lattice product pages show two equal boxes: the still on the left, the clip
   on the right. No captions, unlike the Ribbed partition/cladding gallery.
   06 Nov Figma: 1201px row = 253 intro + 78 gap + 871 gallery (2 x 385 + 101). */
@media (min-width: 901px) {
  .product-detail--lattice .product-detail__inner {
    width: 1201px;
    max-width: 100%;
    align-items: flex-start;
  }
}

.product-detail__gallery--lattice {
  width: 871px;
}

.product-detail__gallery--lattice .product-detail__gallery-row {
  gap: 101px;
}

.product-detail__tile--lattice {
  width: 385px;
}

.product-detail__tile-img--lattice,
.product-detail__tile-video--lattice {
  width: 385px;
  height: 419px;
  object-fit: cover;
}

@media (max-width: 1280px) {
  .product-detail__gallery--lattice {
    width: auto;
    flex: 1;
    min-width: 0;
  }

  .product-detail__gallery--lattice .product-detail__gallery-row {
    gap: 40px;
  }

  .product-detail__tile--lattice {
    flex: 1;
    width: auto;
    min-width: 0;
  }

  .product-detail__tile-img--lattice,
  .product-detail__tile-video--lattice {
    width: 100%;
    height: auto;
    aspect-ratio: 385 / 419;
  }
}

@media (max-width: 900px) {
  .product-detail__tile--lattice,
  .product-detail__tile-img--lattice,
  .product-detail__tile-video--lattice {
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 385 / 419;
  }
}
