/* Portrait category photographs keep the model's full height at every breakpoint. */
.iv-home .iv-category-mosaic {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  grid-template-rows: none;
  gap: 16px;
  align-items: start;
}
.iv-home .iv-category-tile {
  grid-column: auto;
  grid-row: auto;
  min-width: 0;
  background: #fff;
}
.iv-home .iv-category-tile > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  object-position: center top;
  transform: none;
  transition: none;
}
.iv-home .iv-category-tile:hover > img { transform: none; }
.iv-home .iv-category-tile > span {
  position: static;
  min-width: 0;
  min-height: 44px;
  max-width: 100%;
  gap: 8px;
  padding: 12px 0;
}
.iv-home .iv-category-tile:hover > span,
.iv-home .iv-category-tile:focus-visible > span {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.iv-home .iv-hero__image img {
  object-position: center top;
}
.iv-home .iv-product-card__image {
  aspect-ratio: 32 / 41;
  background: #fff;
}
.iv-home .iv-product-card__image img {
  object-fit: contain;
  object-position: center top;
}
@media (min-width: 768px) and (max-width: 1100px) {
  .iv-home .iv-hero__image img { object-position: 72% top; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .iv-home .iv-category-mosaic { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .iv-home .iv-category-tile { grid-column: span 2; }
  .iv-home .iv-category-tile:nth-child(4) { grid-column: 2 / span 2; }
  .iv-home .iv-category-tile:nth-child(5) { grid-column: 4 / span 2; }
}
@media (max-width: 767px) {
  .iv-home .iv-category-mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 12px; }
  .iv-home .iv-category-tile:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 12px) / 2);
    justify-self: center;
  }
  .iv-home .iv-hero__image img { object-position: 82% top; }
}
