#texair-clean-gallery{box-sizing:border-box;clear:left;margin:10px 0 22px;padding:10px 0 0;color:#26394d;background:#fff;position:relative;z-index:2}#texair-clean-gallery[hidden],#texair-clean-modal[hidden]{display:none!important}
#texair-clean-gallery .ta-gallery-title{display:block;font-size:15px;font-weight:700;margin:0 0 10px;color:#26394d}
#texair-clean-gallery .ta-gallery-thumbs{display:flex;gap:10px;flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x mandatory;padding:4px 1px 10px}
#texair-clean-gallery .ta-photo{display:flex;flex-direction:column;flex:0 0 92px;width:92px;max-width:92px;border:1px solid #d2dbe3;border-radius:4px;background:#fff;padding:5px;cursor:pointer;scroll-snap-align:start;color:#293b50;text-align:left}
#texair-clean-gallery .ta-photo img{display:block;width:80px;height:80px;object-fit:contain;background:#fff}
#texair-clean-gallery .ta-photo:hover,#texair-clean-gallery .ta-photo:focus-visible{border-color:#386b8f;outline:2px solid #7fb3d3;outline-offset:1px}
#texair-clean-gallery .ta-photo span{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-size:10px;line-height:1.2;margin-top:5px}
#texair-clean-modal{position:fixed;inset:0;z-index:999999;background:rgba(8,18,28,.9);display:flex;align-items:center;justify-content:center;padding:35px 15px}
#texair-clean-modal .ta-lightbox{width:min(95vw,860px);max-height:95vh;display:flex;align-items:center;flex-direction:column;position:relative}
#texair-clean-modal .ta-large{background:#fff;max-width:100%;max-height:72vh;width:auto;height:auto;object-fit:contain}
#texair-clean-modal .ta-label{color:#fff;font-size:15px;line-height:1.4;margin:10px 0;text-align:center}
#texair-clean-modal button{background:#263e52;border:1px solid #a5b4c3;color:#fff;padding:9px 16px;border-radius:4px;cursor:pointer}
#texair-clean-modal .ta-close{align-self:flex-end;margin-bottom:10px}
#texair-clean-modal .ta-nav{display:flex;align-items:center;gap:13px;color:#fff}
@media(max-width:767px){#texair-clean-gallery{float:none!important;clear:both!important;width:100%!important;max-width:100%!important}#texair-clean-gallery .ta-photo{flex-basis:85px;width:85px}#texair-clean-gallery .ta-photo img{width:73px;height:73px}}

/* v1.5: Only on matched managed drone-bundle pages, hide the *old* WooCommerce
   thumbnail navigation row. Never hide the large hero image or zoom trigger. */
body.texair-one-bundle-gallery .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs,
body.texair-one-bundle-gallery .woocommerce-product-gallery ol.flex-control-nav,
body.texair-one-bundle-gallery .woocommerce-product-gallery ul.flex-control-nav,
body.texair-one-bundle-gallery .woocommerce-product-gallery .woocommerce-product-gallery__thumbnails,
body.texair-one-bundle-gallery .woocommerce-product-gallery .woocommerce-product-gallery__thumbnail-list,
body.texair-one-bundle-gallery .woocommerce-product-gallery .wc-gallery-thumbnails,
body.texair-one-bundle-gallery .woocommerce-product-gallery .product-thumbnails,
body.texair-one-bundle-gallery .woocommerce-product-gallery .gallery-thumbs,
body.texair-one-bundle-gallery .woocommerce-product-gallery .swiper-thumbs,
body.texair-one-bundle-gallery .woocommerce-product-gallery .slick-dots,
body.texair-one-bundle-gallery .woocommerce-product-gallery .owl-dots,
body.texair-one-bundle-gallery .woocommerce-product-gallery .flex-control-paging,
body.texair-one-bundle-gallery .woocommerce div.product div.images ol.flex-control-nav.flex-control-thumbs,
body.texair-one-bundle-gallery .woocommerce div.product div.images ul.flex-control-nav.flex-control-thumbs,
body.texair-one-bundle-gallery .woocommerce div.product div.images .thumbnails:not(#texair-clean-gallery),
body.texair-one-bundle-gallery .woocommerce .product .images .woocommerce-product-gallery__thumbnails {
  display:none!important;
}
/* Keep our replacement gallery visible and easy to use. */
body.texair-one-bundle-gallery #texair-clean-gallery {display:block;}
body.texair-one-bundle-gallery #texair-clean-gallery[hidden] {display:none!important;}


/* v1.8.1: Prevent any old cached list or explanatory note from being visible.
 * The entire panel and note were also removed from PHP and JS. */
#texair-clean-gallery .ta-verified-list,
#texair-clean-gallery .ta-component-list,
#texair-clean-gallery .ta-photo-pending,
#texair-clean-gallery .ta-gallery-note {display:none!important;}



/* v1.8.5: The equipment strip is a direct child of the original WooCommerce
   image column. It is never a separate float/flex/grid sibling, and never a
   child of FlexSlider's .flex-viewport or its image wrapper. */
body.texair-one-bundle-gallery .woocommerce div.product div.images > #texair-clean-gallery,
body.texair-one-bundle-gallery div.product div.images > #texair-clean-gallery {
  box-sizing:border-box !important;
  display:block;
  visibility:visible;
  width:100% !important;
  max-width:100% !important;
  float:none !important;
  clear:both !important;
  position:relative !important;
  margin:12px 0 18px !important;
  padding:8px 0 0 !important;
  overflow:visible !important;
}
body.texair-one-bundle-gallery div.product div.images > #texair-clean-gallery[hidden] {display:none !important;}
body.texair-one-bundle-gallery div.product div.images.texair-has-equipment-gallery {
  overflow:visible !important;
  /* Theme owns column size, position, and float. No height overrides. */
}

/* v1.8.6 — Same visual structure across mapped Agras & Enterprise bundles. */
body.texair-one-bundle-gallery .texair-has-equipment-gallery .texair-native-thumbnails-hidden {
  display:none !important;
}
/* Explicitly keep the clean gallery in the LEFT WooCommerce image column,
   without changing that column's width, float, flex-basis, or its sibling. */
body.texair-one-bundle-gallery .woocommerce div.product .images #texair-clean-gallery,
body.texair-one-bundle-gallery div.product .images #texair-clean-gallery {
  box-sizing:border-box !important;
  width:100% !important;
  max-width:100% !important;
  flex:0 0 auto !important;
  float:none !important;
  clear:both !important;
  margin:12px 0 18px !important;
  padding:8px 0 0 !important;
}
/* Only enabled on a page when JS actually observes the equipment strip above
   the hero. This avoids touching T100 pages whose layout already works. */
body.texair-one-bundle-gallery div.product div.images.texair-fix-gallery-order,
body.texair-one-bundle-gallery div.product div.images.woocommerce-product-gallery.texair-fix-gallery-order {
  display:flex !important;
  flex-direction:column !important;
  flex-wrap:nowrap !important;
  align-items:stretch !important;
  justify-content:flex-start !important;
}
body.texair-one-bundle-gallery div.product div.images.texair-fix-gallery-order > :not(#texair-clean-gallery) {
  order:0 !important;
}
body.texair-one-bundle-gallery div.product div.images.texair-fix-gallery-order > #texair-clean-gallery {
  order:999 !important;
  position:relative !important;
  top:auto !important;
  left:auto !important;
}
/* The native FlexSlider's main hero stays fully visible and interactive. */
body.texair-one-bundle-gallery div.product div.images.texair-fix-gallery-order > .flex-viewport,
body.texair-one-bundle-gallery div.product div.images.texair-fix-gallery-order > .woocommerce-product-gallery__wrapper {
  width:100% !important;
  max-width:100% !important;
  flex-shrink:0 !important;
}

/* v1.8.7: Old WooCommerce thumbnail navigation can be a sibling of
   .images (not a descendant) on custom product templates. Scope this
   to the 12 mapped bundle products; never hide the primary photo. */
body.texair-one-bundle-gallery .product ol.flex-control-nav,
body.texair-one-bundle-gallery .product ul.flex-control-nav,
body.texair-one-bundle-gallery .product .flex-control-thumbs,
body.texair-one-bundle-gallery .product .woocommerce-product-gallery__thumbnails,
body.texair-one-bundle-gallery .product .woocommerce-product-gallery__thumbnail-list,
body.texair-one-bundle-gallery .product .wc-gallery-thumbnails,
body.texair-one-bundle-gallery .product .wc-product-gallery-thumbnails,
body.texair-one-bundle-gallery .product .product-thumbnails,
body.texair-one-bundle-gallery .product .gallery-thumbs:not(.ta-gallery-thumbs),
body.texair-one-bundle-gallery .product .swiper-thumbs,
body.texair-one-bundle-gallery .product .swiper-container-thumbs,
body.texair-one-bundle-gallery .product .thumbnails:not(.ta-gallery-thumbs),
body.texair-one-bundle-gallery .product .flex-control-paging,
body.texair-one-bundle-gallery .product .texair-native-thumbnails-hidden {
  display:none !important;
}
/* Override theme-generated generic thumbnails but not the custom gallery. */
body.texair-one-bundle-gallery #texair-clean-gallery,
body.texair-one-bundle-gallery #texair-clean-gallery .ta-gallery-thumbs,
body.texair-one-bundle-gallery #texair-clean-gallery .ta-photo {
  visibility:visible !important;
}

/* The T60X fallback uses a real Talos source photograph with a separate original Tex-Air watermark.
   Once the local image is imported, the JPG contains the watermark and this overlay is hidden. */
#texair-clean-gallery .ta-photo{position:relative;}
#texair-clean-gallery .ta-photo .ta-remote-stamp{position:absolute!important;top:64px!important;right:5px!important;width:18px!important;height:18px!important;opacity:.25!important;object-fit:contain!important;pointer-events:none!important;}
#texair-clean-modal .ta-remote-watermark-overlay{position:absolute!important;bottom:calc(18vh + 20px)!important;right:30px!important;width:90px!important;height:90px!important;opacity:.24!important;object-fit:contain!important;pointer-events:none!important;}
#texair-clean-modal .ta-remote-watermark-overlay[hidden]{display:none!important;}
