.item-page { min-height: 100vh; min-height: 100svh; }
.item-page .shop-header { position: sticky; top: 0; z-index: 2; background: #e6e6e8; }
.item-layout {
  width: min(100%, 1480px); margin: 0 auto; display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .82fr); align-items: start;
  gap: clamp(35px, 7.2vw, 120px);
  padding: clamp(28px, 5vh, 68px) max(var(--edge), env(safe-area-inset-right, 0px)) max(36px, env(safe-area-inset-bottom, 0px)) max(var(--edge), env(safe-area-inset-left, 0px));
}
.item-gallery, .item-copy { min-width: 0; }
.gallery-images { display: grid; gap: 12px; }
.gallery-frame { margin: 0; background: #fff; width: 100%; aspect-ratio: 1.1; }
.gallery-frame img { width: 100%; height: 100%; object-fit: contain; }
.gallery-picker { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gallery-picker button {
  display: inline-flex; align-items: center; gap: 8px; padding: 3px 10px 3px 3px; min-height: 42px;
  border: 1px solid transparent; background: transparent; font: 500 10px/1.25 var(--mono);
  letter-spacing: .07em; text-transform: uppercase;
}
.gallery-picker button[aria-pressed="true"] { border-color: var(--ink); }
.gallery-picker button:hover { text-decoration: underline; text-underline-offset: .25em; }
.gallery-picker img { width: 34px; height: 34px; object-fit: contain; background: #fff; }
.item-copy { align-self: center; padding-block: 4px; }
.item-context, .item-specs dt, .availability, .buy-link { font: 500 clamp(10px,.76vw,13px)/1.5 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.item-context span { padding-inline: .32em; }
.item-copy h1 {
  margin: clamp(14px, 2.1vw, 32px) 0 0 -.045em;
  font-size: clamp(40px, 5.55vw, 93px); line-height: .94; overflow-wrap: break-word;
}
.item-description { max-width: 36ch; margin-top: clamp(16px, 2.2vw, 31px); font: 400 clamp(16px,1.28vw,22px)/1.45 var(--display); letter-spacing: -.015em; }
.item-specs { margin: clamp(23px,3vw,46px) 0 0; border-top: 1px solid var(--section-rule); }
.item-specs > div { display: grid; grid-template-columns: minmax(66px,.55fr) minmax(0,1.45fr); gap: 13px; padding: 12px 0; border-bottom: 1px solid var(--section-rule); }
.item-specs dd { margin: 0; font-size: clamp(14px,1.03vw,17px); line-height: 1.4; }
.item-specs dt { padding-top: .16em; color: #4f5053; }
.availability { display: flex; align-items: baseline; gap: 9px; margin-top: 20px; }
.availability > span { position: relative; top: -.04em; width: 7px; height: 7px; flex: none; border: 1px solid currentColor; }
.buy-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; margin-top: 16px; text-decoration: underline; text-underline-offset: .34em; }
@media (min-width: 761px) {
  .item-gallery { width: min(100%,max(380px,73vh)); justify-self: end; }
}
@media (max-width: 760px) {
  .item-layout { grid-template-columns: minmax(0,1fr); gap: 21px; padding-top: 17px; }
  .gallery-frame { aspect-ratio: 1.14; }
  .item-copy { padding-block: 0; }
  .item-copy h1 { margin-top: 10px; font-size: clamp(40px,11vw,66px); }
  .item-specs { margin-top: 21px; }
}
