.product-gallery {
  min-width: 0;
}
button.gallery-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  position: relative;
  text-align: inherit;
  cursor: zoom-in;
  color: var(--ink);
  background: var(--paper);
}
.gallery-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.gallery-zoom-hint {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.94);
  font-size: 12px;
  box-shadow: 0 1px 8px #0001;
}
.gallery-zoom-hint svg {
  width: 16px;
  height: 16px;
}
.gallery-color-note {
  min-height: 2.8em;
  line-height: 1.6;
}
.gallery-thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 2px 8px;
}
.gallery-thumbnails button {
  width: 76px;
  flex: 0 0 76px;
  padding: 4px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  color: inherit;
}
.gallery-thumbnails button[aria-pressed='true'] {
  border-color: var(--green);
  box-shadow: 0 0 0 1px var(--green);
}
.gallery-thumbnails img {
  display: block;
  width: 66px;
  height: 88px;
  object-fit: contain;
}
.gallery-thumbnails span {
  display: block;
  font-size: 12px;
  margin-top: 5px;
}
.gallery-main:focus-visible,
.gallery-thumbnails button:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.gallery-zoom-caption {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: min(680px, calc(100% - 36px));
  font:
    14px/1.6 Arial,
    sans-serif;
  text-align: center;
  color: #fff;
  pointer-events: none;
}
.pswp {
  z-index: 10000;
}
@media (max-width: 600px) {
  .gallery-zoom-hint {
    right: 10px;
    bottom: 10px;
  }
  .gallery-zoom-caption {
    font-size: 12px;
    bottom: 18px;
  }
  .gallery-thumbnails {
    gap: 8px;
  }
}

.product-commercial-summary {
  font-size: 15px;
  line-height: 1.7;
  color: #657160;
}
.product-commercial-copy {
  padding: 18px 0;
  border-top: 1px solid #e1e6d9;
}
.product-commercial-copy h2 {
  font-size: 13px;
  font-weight: 600;
}
.product-commercial-copy p {
  font-size: 13px;
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

@media (max-width: 760px) {
  .gallery-thumbnails {
    gap: 8px;
    padding-bottom: 4px;
  }
  .gallery-thumbnails button {
    width: 64px;
    flex-basis: 64px;
  }
  .gallery-thumbnails img {
    width: 54px;
    height: 64px;
  }
  .gallery-thumbnails span {
    font-size: 12px;
  }
  .gallery-color-note {
    font-size: 12px;
    min-height: 0;
    margin-block: 10px;
  }
  .gallery-zoom-hint {
    font-size: 12px;
    min-height: 40px;
    padding: 8px 10px;
    right: 10px;
    bottom: 10px;
  }
  .gallery-zoom-caption {
    font-size: 13px;
  }
}
