/* One retail lineup, aligned with the page rather than enclosed in product tiles. */
.pouch-panorama-track {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 13px;
  padding:13px 4px 16px;
  margin-inline: -4px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.pouch-panorama-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
  gap: 13px;
  color: var(--ink);
  text-decoration: none;
  scroll-snap-align: start;
  outline-offset: 2px;
}
.pouch-panorama-media { display: block; position: relative; flex: none; aspect-ratio: 657 / 1000; }
.pouch-panorama-media img {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.pouch-panorama-name {
  display: block;
  min-height: 36px;
  padding-inline: 2px;
  text-align: center;
  font: 500 12px/1.5 var(--sans);
}
.pouch-panorama-product:hover .pouch-panorama-name { text-decoration: underline; text-underline-offset: 4px; }
.pouch-panorama-product:focus-visible { outline: 2px solid var(--tone-ink, var(--ink)); border-radius: 4px; }
.pouch-panorama-controls { display: flex; align-items: center; justify-content: space-between; gap: 13px; margin-top: 10px; }
.pouch-panorama-controls[hidden] { display: none; }
.pouch-panorama-controls p { font-size: 12px; }
.pouch-panorama-buttons { display: flex; gap: 8px; }
.pouch-panorama-buttons button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.pouch-panorama-buttons button:hover:not(:disabled) { background: var(--sage); border-color: var(--ink); }
.pouch-panorama-buttons button:disabled { opacity: .35; cursor: default; }
@media (max-width: 1000px) {
  .pouch-panorama-track { grid-template-columns: repeat(8, 146px); gap: 16px; }
}
@media (max-width: 580px) {
  .pouch-panorama-track { grid-template-columns: repeat(8, 138px); gap: 13px; padding-top: 10px; }
  .pouch-panorama-name { font-size: 11px; }
}
