/* Product-only additions; the approved typography and main gallery are unchanged. */
body.sitrin-storefront .woocommerce .st-product-layout form.cart .variations th.st-size-label-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 14px;
  padding-right: 48px;
}
.st-product-summary .st-size-guide {
  appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--st-ink, #161616);
  padding: 6px 0;
  min-height: 32px;
  font: 400 11px/20px var(--st-sans);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.st-size-guide:focus-visible,
#st-lightbox .st-lightbox-step:focus-visible {
  outline: 2px solid var(--st-ink, #161616);
  outline-offset: 4px;
}
.st-product-details details[data-size-guide] {
  scroll-margin-top: 24px;
}
#st-lightbox.st-lightbox--navigable {
  max-width: calc(100vw - 24px);
  max-height: calc(100dvh - 24px);
  padding: 40px 20px 16px;
}
#st-lightbox.st-lightbox--navigable > img {
  max-width: 100%;
  max-height: calc(96dvh - 166px);
}
#st-lightbox .st-lightbox-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 12px;
}
#st-lightbox .st-lightbox-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 12px;
  border: 1px solid var(--st-line, #dedede);
  border-radius: 0;
  background: #fff;
  color: var(--st-ink, #161616);
  cursor: pointer;
}
#st-lightbox .st-lightbox-step[aria-disabled="true"] {
  opacity: .35;
  cursor: default;
}
#st-lightbox .st-lightbox-step img {
  display: block;
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  margin: 0;
  padding: 0;
}
#st-lightbox .st-lightbox-position {
  min-width: 48px;
  text-align: center;
  color: var(--st-ink, #161616);
  font: 400 11px/1.5 var(--st-sans);
  font-variant-numeric: tabular-nums;
}
