﻿/* Product detail — gallery + customization table (ink/brass) */
.product-gallery {
  max-width: 100%;
}
.product-gallery-stage {
  display: block;
  position: relative;
  border: 1px solid var(--line, rgba(11, 21, 32, 0.12));
  background: #fff;
  overflow: hidden;
}
.product-gallery-stage .product-gallery-image-wrap,
.product-gallery-stage .et_pb_image_wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background: #fff;
}
.product-gallery-stage img,
.product-gallery [data-gallery-main] {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  transition: opacity .25s ease;
}
.product-gallery [data-gallery-main].is-fading {
  opacity: 0.35;
}
.product-gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
  -webkit-overflow-scrolling: touch;
}
.product-gallery-thumb {
  box-sizing: border-box;
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  padding: 2px;
  border: 2px solid var(--line, rgba(11, 21, 32, 0.12));
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}
.product-gallery-thumb:hover {
  border-color: var(--steel, #2a445c);
}
.product-gallery-thumb.is-active {
  border-color: var(--brass, #c9922a);
}
.product-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.customization-table {
  border: none;
  width: 100%;
}
.customization-table td {
  width: 50%;
  vertical-align: top;
  padding: 8px 12px 8px 0;
}
@media only screen and (max-width: 767px) {
  .product-gallery-thumb {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
  .customization-table td {
    display: block;
    width: 100%;
  }
}
