/* Each can illustration is already composed horizontally. */
.mag-cell img {
  width: var(--shelf-can, 70%);
  height: auto;
  max-width: 94%;
  transform: translate(-50%, -50%);
  filter: brightness(.96) drop-shadow(1px 5px 3px #0009);
}

.can-pickup {
  transform: translateY(var(--can-drop, 0%)) rotate(var(--can-tilt, 0deg));
}

.marquee .poster {
  left: 4%;
  top: 10%;
  width: 39%;
  height: 80%;
  object-fit: contain;
  object-position: center;
  mask-image: none;
  transform: rotate(-5deg);
  filter: drop-shadow(1px 5px 3px #0007);
}

.details .detail-stage {
  display: grid;
  grid-template: auto minmax(0, 1fr) auto / minmax(0, 1fr) auto;
  align-content: center;
  align-items: center;
  gap: clamp(12px, 2.5vh, 32px) 5%;
  height: auto;
  min-height: 100%;
  box-sizing: border-box;
  padding: max(54px, 7vh) max(6vw, env(safe-area-inset-right)) max(28px, 6vh);
  background: radial-gradient(ellipse at 54% 42%, #ffffff15, transparent 60%), var(--detail);
}
.details .detail-heading,
.details .detail-note,
.details .detail-flavour {
  position: static;
  width: auto;
  margin: 0;
}
.details .detail-heading {
  grid-column: 1 / -1;
}
.details .product {
  position: static;
  inset: auto;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: auto;
  transform: none;
}
.details .product img {
  display: block;
  width: min(80%, 1070px, 120vh);
  height: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 13px 16px #0006);
}
.details .detail-flavour {
  max-width: none;
}
.details .detail-note {
  max-width: 33em;
}

@media (max-width: 600px) {
  .details .detail-stage {
    grid-template: auto 1fr auto auto / 1fr;
    gap: 15px;
    padding: max(58px, 8vh) 6% max(25px, env(safe-area-inset-bottom));
  }
  .details .product img {
    width: 100%;
  }
  .details .detail-flavour {
    grid-row: 3;
    text-align: left;
  }
  .details .detail-note {
    grid-row: 4;
    text-wrap: pretty;
  }
}

@media (max-height: 480px) and (min-width: 601px) {
  .details .detail-stage { padding-block: 18px; gap: 8px; }
  .details .detail-heading h2 { font-size: clamp(2rem, 10vh, 4rem); }
  .details .detail-heading span { margin-top: .25em; }
  .details .product img { width: min(68%, 104vh); }
  .details .detail-note { font-size: .9rem; }
}

@media (prefers-reduced-motion: reduce) {
  #dispensed-can { translate: none; }
}

.details .hall-guide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 44px);
  padding-top: 1rem;
  border-top: 1px solid #fff5;
}
.hall-guide h3 { margin: 0 0 .5em; font-size: 1.15rem; }
.hall-guide p { margin: 0; line-height: 1.75; }
@media (max-width: 700px) {
  .details .hall-guide { grid-template-columns: 1fr; }
}
