/* 0.1.28: WooCommerce native FlexSlider width and product-card alignment fixes.
   Only affects individual product pages; no changes to gallery data or Woo scripts. */
body.hr-at-product-detail .hr-product-main {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.94fr) !important;
}
body.hr-at-product-detail .hr-product-gallery-col,
body.hr-at-product-detail .hr-product-info-col {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
body.hr-at-product-detail .hr-product-gallery-col {
  align-self: start;
  padding: clamp(12px,1.5vw,20px);
  background: rgba(255,255,255,.96);
}
body.hr-at-product-detail .hr-product-gallery-col .woocommerce-product-gallery {
  display:block;
  width:100% !important;
  max-width:none !important;
  min-width:0;
  margin:0 !important;
  float:none !important;
}
body.hr-at-product-detail .hr-product-gallery-col .flex-viewport,
body.hr-at-product-detail .hr-product-gallery-col .woocommerce-product-gallery__wrapper {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing:border-box;
}
body.hr-at-product-detail .hr-product-gallery-col .woocommerce-product-gallery__image,
body.hr-at-product-detail .hr-product-gallery-col .woocommerce-product-gallery__image > a {
  display:block;
  max-width:100%;
}
body.hr-at-product-detail .hr-product-gallery-col .woocommerce-product-gallery__image img {
  display:block;
  width:100% !important;
  max-width:100% !important;
  height:auto !important;
  object-fit:contain;
  object-position:center;
  border-radius:11px;
}
body.hr-at-product-detail .hr-product-gallery-col .flex-control-thumbs {
  justify-content:flex-start;
  align-items:center;
  gap:10px;
}
body.hr-at-product-detail .hr-product-gallery-col .flex-control-thumbs li {
  width:72px !important;
  flex:0 0 72px;
}
body.hr-at-product-detail .hr-product-gallery-col .flex-control-thumbs img {
  aspect-ratio:1;
  object-fit:cover;
}
@media(max-width:880px){
  body.hr-at-product-detail .hr-product-main{grid-template-columns:minmax(0,1fr)!important}
  body.hr-at-product-detail .hr-product-gallery-col{width:100%;max-width:none}
}
