/* Shared TR/EN Max hero placement. Keep the approved artwork sizes and mobile
   composition; give the bottle an explicit grid cell instead of right/bottom
   offsets on an out-of-flow wrapper. No browser sniffing. */
@media (min-width:761px) {
  .home-page .hero-home-art,
  .detail-max .detail-hero-art {
    display:grid;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:minmax(0,1fr);
    position:relative;
  }
  .home-page .hero-home-art {height:540px;min-height:540px}
  .detail-max .detail-hero-art {height:560px;min-height:560px}
  .home-page .hero-home-art > .hero-max-pack,
  .detail-max .detail-hero-art > .detail-max-pack {
    grid-column:1;
    grid-row:1;
    justify-self:end;
    align-self:end;
    position:relative;
    top:auto;right:auto;bottom:auto;left:auto;
    min-width:0;min-height:0;
  }
  .home-page .hero-home-art > .hero-max-pack {
    width:307px;height:570px;
    margin:0 10px -4px 0;
  }
  .detail-max .detail-hero-art > .detail-max-pack {
    width:305px;height:560px;
    margin:0 4% 0 0;
  }
  .home-page .hero-max-pack > .hero-bottle,
  .detail-max .detail-max-pack > .detail-hero-pack {
    position:relative;
    top:auto;right:auto;bottom:auto;left:auto;
    display:block;
    width:100%;height:100%;object-fit:contain;
  }
}
@media (min-width:761px) and (max-width:1100px) {
  .home-page .hero-home-art {height:500px;min-height:500px}
  .detail-max .detail-hero-art {height:490px;min-height:490px}
  .home-page .hero-home-art > .hero-max-pack {width:250px;height:505px;margin:0 0 -4px 0}
  .detail-max .detail-hero-art > .detail-max-pack {width:260px;height:490px;margin:0}
}
/* The side-by-side desktop columns cannot fit both bottle and badges at tablet
   widths. Stack copy/art as separate rows without changing the mobile contract. */
@media (min-width:761px) and (max-width:1279px) {
  .home-page .hero-home-inner,
  .detail-max .detail-hero-grid {
    grid-template-columns:minmax(0,1fr);
    gap:28px;
    min-height:0;
  }
  .home-page .hero-home-art,
  .detail-max .detail-hero-art {
    width:100%;max-width:640px;
    justify-self:center;
    margin:0;
  }
  .home-page .hero-home-art {margin-top:30px}
}
