.product-image {
  background: #e9e1d6;
}

.product-image img {
  object-fit: contain;
  object-position: center;
}

.product-gallery {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  position: sticky;
  top: 0;
  height: 90vh;
  max-height: 90vh;
  min-height: 0;
  background: #171411;
  overflow: hidden;
}

.gallery-stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
}

.gallery-stage > img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 50%;
  background: rgba(20,16,12,.72);
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  transform: translateY(-50%);
}

.gallery-arrow:hover { background: var(--amber); }
.gallery-arrow.prev { left: 15px; }
.gallery-arrow.next { right: 15px; }

.gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  padding: 5px 9px;
  border-radius: 20px;
  background: rgba(20,16,12,.7);
  color: #fff;
  font-size: 10px;
  letter-spacing: .08em;
}

.gallery-thumbs {
  display: flex;
  gap: 8px;
  padding: 10px;
  overflow-x: auto;
  background: #211c17;
}

.gallery-thumb {
  flex: 0 0 62px;
  width: 62px;
  height: 62px;
  padding: 0;
  border: 1px solid transparent;
  background: #eee5d9;
  cursor: pointer;
  opacity: .58;
}

.gallery-thumb.active { border-color: var(--amber); opacity: 1; }
.gallery-thumb img { width: 100%; height: 100%; object-fit: contain; }
.gallery-note { margin-top: 12px; font-size: 10px; color: var(--muted); }

.legal-consent {
  display: grid !important;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px !important;
  margin: 8px 0 18px;
}

.legal-consent input { margin-top: 3px; accent-color: var(--amber); }
.legal-consent span { text-transform: none !important; letter-spacing: 0 !important; font-weight: 500 !important; line-height: 1.5; }
.legal-consent a { color: var(--cognac); text-decoration: underline; }
footer { grid-template-columns: 1fr auto auto auto; }
footer .legal-links { display: grid; gap: 3px; }

@media (max-width: 820px) {
  .product-gallery { position: relative; height: 440px; max-height: 55vh; }
  .gallery-stage > img { max-height: none; }
  footer { grid-template-columns: 1fr; }
}
