/* PDP gallery — Alpha parity, measured 2026-09-03 at 390px on goalphalabs.com/product/all-peptides/bpc-157/
   Alpha (logged in, 390px): card rgba(255,255,255,.94) radius 20px padding 8px shadow 0 22px 60px rgba(5,51,58,.09);
   thumb strip flex row, gap 8px, margin-top 30px, thumbs 51x66 radius 10, opacity 1 (never dimmed);
   3 images (photo / certificate / alt). Ours renders Woo flexslider; this overrides the vertical 80px thumb stack. AAA-PDP-GALLERY-20260903 */
.single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery {
  background: rgba(255, 255, 255, .94);
  border-radius: 20px;
  padding: 8px;
  box-shadow: 0 22px 60px 0 rgba(5, 51, 58, .09);
  overflow: hidden;
}
.single-product div.product .woocommerce-product-gallery .flex-viewport div a,
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image a {
  border: 0;
  padding: 0;
  height: auto;
  border-radius: 12px;
}
.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 12px;
  background: #fff;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
  display: flex !important;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 8px;
  margin: 30px 0 0 !important;
  padding: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar { display: none; }
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li {
  float: none !important;
  flex: 0 0 auto;
  width: 51px !important;
  height: 66px;
  margin: 0 !important;
  border: 1px solid transparent;
  border-radius: 13px;
  padding: 3px;
  background: #fff;
  box-shadow: 0 8px 20px 0 rgba(5, 51, 58, .06);
  display: flex;
  align-items: center;
  justify-content: center;
}
/* active thumb = 2px teal ring (Alpha uses box-shadow, not a border) */
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li:has(img.flex-active) {
  box-shadow: 0 0 0 2px #078B8E, 0 10px 24px 0 rgba(7, 139, 142, .14);
}
.single-product div.product .woocommerce-product-gallery .flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
  opacity: 1;
}

@media (min-width: 768px) {
  .single-product div.product .woocommerce-product-gallery .flex-control-thumbs li { width: 72px !important; height: 92px; }
}

/* Alpha mobile geometry (measured logged-in, 390px): gallery card spans 14→376 (362 wide);
   summary/ATC column inset to 37→353 (316 wide). Ours sat at 50/309 from stacked container padding. */
@media (max-width: 767px) {
  .single-product div.product .woocommerce-product-gallery.woocommerce-product-gallery {
    margin-left: -18px;
    margin-right: -18px;
    width: auto !important;   /* beats an earlier 'width:100% !important' in alpha-base */
    max-width: none;
  }
  .single-product div.product .summary.entry-summary {
    margin-left: -13px;
    margin-right: -13px;
  }
}

/* TESTED FOR — Alpha measured (logged-in, 390px): label row 12px/800 #0B3D45,
   then white pill chips radius 999px, 11.5px, padding 7px 10px, colour #05333A, gap 8px.
   Ours previously rendered dark inline pills that clipped past the viewport. */
.summary .nl-tested-badges.tested_for {
  display: block;
  margin: 10px 0 16px;
  padding: 14px 15px;
  border-radius: 18px;
  background: transparent;
  /* AAA-TESTEDFOR-BORDER-20260904: Alpha renders this as a contained trust card
     with a hairline teal rule (1px solid rgba(7,139,142,.13), measured live on
     their PDP). Ours was borderless, so the block read as loose floating text
     rather than a card. Everything else here already matches or exceeds them
     (we list Purity/Weight/Endotoxins; they list Purity only). */
  border: 1px solid rgba(7, 139, 142, .13);
}
.summary .nl-tested-badges.tested_for > span.nl-tested-label,
.summary .nl-tested-badges .nl-tested-label {
  display: block;
  background: none !important;   /* kills legacy .nl-tested-badges span chip fill */
  padding: 0 0 10px !important;  /* kills theme .tested_for > span 19px/26px + 12px pad */
  font: 800 12px/1.5 Inter, system-ui, sans-serif !important;
  color: #0B3D45 !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #0B3D45;
  margin-bottom: 10px;
}
.summary .nl-tested-badges .nl-tested-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.summary .nl-tested-badges .nl-tested-list li {
  background: #fff;
  color: #05333A;
  border: 1px solid rgba(5, 51, 58, .10);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: capitalize;
  line-height: 1.2;
  list-style: none;
  margin: 0;
}
