/* Golden Veil Bridal v578 — compact editorial product gallery */
#productDetail.product-detail {
  padding-top: clamp(22px, 2.6vw, 38px);
  padding-bottom: clamp(38px, 4vw, 64px);
}
#productDetail .back-button {
  margin-bottom: 20px;
}
#productDetail .detail-grid {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
  gap: clamp(24px, 3.4vw, 54px);
  align-items: start;
}
#productDetail .detail-grid > div { min-width: 0; }
#productDetail .detail-photo-wrap {
  min-height: 0;
  height: auto;
  background: #f0eae5;
  border-radius: 5px;
}
#productDetail .detail-photo {
  height: clamp(400px, 42vw, 620px);
  min-height: 0;
  width: 100%;
  object-fit: contain;
  object-position: center;
}
#productDetail .detail-thumbs {
  display: flex !important;
  grid-template-columns: none !important;
  flex-wrap: nowrap !important;
  gap: 7px !important;
  margin: 9px 0 0 !important;
  padding: 0 0 5px !important;
  width: 100%;
  max-width: 100%;
  overflow-x: auto !important;
  overflow-y: hidden;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: #cbb7a9 transparent;
}
#productDetail .detail-thumbs .thumb {
  box-sizing: border-box;
  flex: 0 0 clamp(55px, calc((100% - 42px) / 7), 83px) !important;
  width: clamp(55px, calc((100% - 42px) / 7), 83px) !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 4 / 5 !important;
  border-radius: 3px;
  scroll-snap-align: start;
}
#productDetail .detail-thumbs .thumb.active {
  border: 1px solid #7c685b;
  box-shadow: inset 0 0 0 1px #7c685b;
}
#productDetail .detail-thumbs .thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
#productDetail #gv572PhotoCredit {
  margin: 7px 0 0 !important;
  padding: 0 1px;
  text-align: left !important;
  color: #7b6c63;
  font-size: 11px;
  line-height: 1.45;
}
#productDetail .detail-copy { min-width: 0; }
@media (min-width: 801px) {
  #productDetail .detail-grid > div:first-child {
    position: sticky;
    top: 94px;
    align-self: start;
  }
}
@media (max-width: 800px) {
  #productDetail.product-detail { padding: 22px 4vw 48px; }
  #productDetail .back-button { margin-bottom: 16px; }
  #productDetail .detail-grid { grid-template-columns: minmax(0, 1fr); gap: 17px !important; }
  #productDetail .detail-grid > div:first-child { position: static; }
  #productDetail .detail-photo-wrap { height: auto !important; min-height: 0 !important; }
  #productDetail .detail-photo {
    height: auto !important;
    max-height: min(68vh, 570px) !important;
    object-fit: contain !important;
  }
  #productDetail .detail-thumbs .thumb {
    flex-basis: clamp(52px, calc((100% - 42px) / 7), 72px) !important;
    width: clamp(52px, calc((100% - 42px) / 7), 72px) !important;
  }
}
@media (max-width: 520px) {
  #productDetail.product-detail { padding-left: 14px; padding-right: 14px; }
  #productDetail .detail-grid { gap: 14px !important; }
  #productDetail .detail-thumbs { gap: 5px !important; margin-top: 7px !important; }
  #productDetail .detail-thumbs .thumb {
    flex-basis: clamp(46px, calc((100% - 30px) / 7), 63px) !important;
    width: clamp(46px, calc((100% - 30px) / 7), 63px) !important;
  }
  #productDetail #gv572PhotoCredit { margin-top: 6px !important; font-size: 10px; }
}
