.product-visual {
  --product-matte: #ece7e2;
  position: relative;
  aspect-ratio: 1.22;
  min-height: 220px;
  border: 1px solid var(--line);
  border-radius: 2px;
  overflow: hidden;
  background: var(--product-matte);
}

.product-visual .detail-media,
.product-angle {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
  border-radius: 0;
  background: var(--product-matte);
}

.product-visual .detail-media img {
  min-height: 0;
  padding: clamp(12px, 3vw, 30px);
}

.product-angle {
  display: grid;
  place-items: center;
  padding: 8px 8px 23px;
  background: radial-gradient(ellipse at 50% 39%, var(--product-matte) 44%, #e4ded7 100%);
}

.product-angle-frame {
  height: 100%;
  max-width: 100%;
  background-repeat: no-repeat;
  background-size: 400% 200%;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent),
    linear-gradient(0deg, transparent, #000 3%, #000 97%, transparent);
  mask-composite: intersect;
  cursor: grab;
  touch-action: pan-y;
}

.product-angle-frame:active { cursor: grabbing; }
.product-angle:has(.product-angle-frame:focus-visible) { outline: 2px solid #936f36; outline-offset: -3px; }

.product-angle p {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  font-size: .74rem;
  color: var(--muted);
  pointer-events: none;
}

.photo-mode, .spin-navigation {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
}

.photo-mode { padding-bottom: 8px; border-bottom: 1px solid var(--line); }
.spin-navigation { justify-content: space-between; }
.spin-position { color: var(--muted); font-size: .85rem; }

.photo-mode button, .spin-navigation button {
  padding: 6px 12px;
  min-height: 42px;
  min-width: 44px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: transparent;
}

.photo-mode button[aria-pressed=true] { background: #29231e; color: #fff7ed; border-color: #29231e; }
.spin-navigation button:hover, .photo-mode button[aria-pressed=false]:hover { background: #e6ded3; }

.spin-note {
  margin: 8px 0 0;
  font-size: .78rem;
  color: var(--muted);
}

.product-features {
  margin-top: 21px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.product-features h2 {
  margin: 0 0 9px;
  font-size: .83rem;
  font-family: inherit;
  font-weight: 650;
  letter-spacing: .02em;
}

.product-features .feature-tags { margin: 0; }
.product-features .feature-tags li { background: transparent; color: var(--muted); }

.product-colour {
  max-width: 315px;
  margin: 0 0 21px;
}

.product-colour label { display: block; margin-bottom: 6px; font-size: .9rem; font-weight: 650; }
.product-colour label span { font-weight: 400; color: var(--muted); }
.product-colour p { font-size: .78rem; color: var(--muted); margin: 5px 0 0; }

.product-packing { margin-top: 28px; }

.photo-dialog {
  width: min(94vw, 880px);
  background: #eee8df;
}

.photo-dialog > img {
  max-height: calc(91dvh - 72px);
  background: transparent;
  mix-blend-mode: multiply;
  object-fit: contain;
}

@media (max-width: 620px) {
  .product-visual { aspect-ratio: 1.06; }
  .product-features { margin-top: 16px; }
}

@media print {
  .product-visual .detail-media[hidden] { display: grid !important; }
  .product-angle, .photo-mode, .spin-navigation, .spin-note, .product-colour { display: none !important; }
}
