/* Local adjustments for the existing ANBIT template, not a replacement theme. */
.anbit-line-icon .elementor-image-box-img{width:140px!important;height:140px!important;aspect-ratio:1;padding:0!important;border:0!important;background:transparent!important;border-radius:50%;overflow:hidden}
.anbit-line-icon .elementor-image-box-img img{width:100%;height:100%;object-fit:contain;border-radius:50%}
.anbit-line-icon .elementor-image-box-title{min-height:2.4em;display:flex;align-items:center;justify-content:center}
.anbit-line-icon .elementor-image-box-description{min-height:3.2em}
.anbit-product-card .elementor-image-box-img{display:block!important;width:95%!important;aspect-ratio:1;margin-left:auto!important;margin-right:auto!important;background:#fff}
.anbit-product-card .elementor-image-box-img img{width:100%;height:100%;object-fit:contain}
.anbit-product-card .elementor-image-box-title{min-height:2.5em;display:flex;align-items:center;justify-content:center}
.anbit-product-card .elementor-image-box-description{min-height:4.8em}
.anbit-scene img{width:100%;aspect-ratio:16/9;object-fit:cover}
.anbit-scene figcaption{font-size:11px;line-height:1.4;color:#66717d;margin:3px 0 0}
.anbit-factory-aerial{padding:0!important;background:none!important}
.anbit-factory-aerial:before{display:none!important}
.anbit-factory-aerial>.elementor-widget-image{width:100%}
.anbit-factory-aerial img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:4px}
.anbit-strength .anbit-strength-word{font-size:2.5em;line-height:1.2;font-weight:700;color:var(--e-global-color-astglobalcolor8,#174976);margin:0 0 9px}
.anbit-strength .anbit-strength-caption{font-size:16px;line-height:1.4}
.anbit-product-grid ul.products li.product{display:flex;flex-direction:column}
.anbit-product-grid ul.products li.product .astra-shop-thumbnail-wrap{aspect-ratio:1;background:#fff;width:100%}
.anbit-product-grid ul.products li.product a img{width:100%;height:auto;aspect-ratio:1;object-fit:contain}
.anbit-product-grid ul.products li.product .woocommerce-loop-product__title{min-height:2.8em}
.anbit-product-grid ul.products li.product .astra-shop-summary-wrap{flex:1;display:flex;flex-direction:column}
.anbit-product-main .woocommerce-product-gallery{width:100%!important;float:none!important;margin-bottom:0!important}
.anbit-product-main .woocommerce-product-gallery__image img{width:100%;height:auto;aspect-ratio:1;max-height:540px;object-fit:contain}
.anbit-product-main .woocommerce-product-gallery__wrapper{margin:0}
.anbit-news-grid .elementor-post__thumbnail img{object-fit:cover}
.anbit-news-grid .elementor-post__title{min-height:3.6em}
.anbit-news-grid .elementor-post__excerpt{min-height:4.8em}
.anbit-news-grid .elementor-post__text{height:100%;display:flex;flex-direction:column}
.anbit-news-grid .elementor-post__read-more{margin-top:auto}
.anbit-footer-logo{display:inline-flex;align-items:center;gap:12px;color:#fff;font-size:32px;line-height:1;font-weight:700}
.anbit-footer-logo img{width:72px;height:72px;object-fit:contain;filter:brightness(0) invert(1)}
#colophon #text-2 a{color:#fff}
#colophon #text-2 a:hover{color:var(--ast-global-color-0)}
.anbit-hero .elementor-repeater-item-616da71 .swiper-slide-bg{background-size:contain!important;background-position:right center!important;background-repeat:no-repeat!important;background-color:#202226}
.anbit-hero .elementor-repeater-item-5963c55 .swiper-slide-bg{background-position:75% center}
.anbit-inner-banner{background-repeat:no-repeat!important;background-position:center 60%!important}
.anbit-contained-gallery .e-gallery-image{background-size:contain!important;background-repeat:no-repeat;background-color:#fff}
@media(max-width:1024px){.anbit-line-icon .elementor-image-box-img{width:110px!important;height:110px!important}.anbit-strength .anbit-strength-word{font-size:2em}.anbit-news-grid .elementor-post__title{min-height:0}.anbit-news-grid .elementor-post__excerpt{min-height:0}}
@media(max-width:767px){.anbit-line-icon .elementor-image-box-img{width:100px!important;height:100px!important}.anbit-product-card .elementor-image-box-title,.anbit-product-card .elementor-image-box-description,.anbit-line-icon .elementor-image-box-title,.anbit-line-icon .elementor-image-box-description{min-height:0}.anbit-strength .anbit-strength-word{font-size:1.5em}.anbit-strength .anbit-strength-caption{font-size:14px}.anbit-factory-aerial img{min-height:0}.anbit-hero .elementor-repeater-item-616da71 .swiper-slide-bg{background-position:right center!important}.anbit-product-main .woocommerce-product-gallery__image img{max-height:none}.anbit-footer-logo{font-size:28px}}
/* Browser acceptance fixes: aligned factory row and contained mobile submenus. */
.anbit-factory-aerial>.elementor-widget-image,.anbit-factory-aerial>.elementor-widget-image>.elementor-widget-container{height:100%;min-height:100%;position:relative}
.anbit-factory-aerial img{aspect-ratio:auto!important}
.anbit-hero .elementor-repeater-item-616da71 .swiper-slide-bg{background-color:#202226!important}
@media(max-width:1024px){
 .hfe-nav-menu__layout-horizontal.hfe-dropdown{overflow:hidden;max-width:100vw}
 .hfe-nav-menu__layout-horizontal.hfe-dropdown .sub-menu{position:relative!important;left:0!important;right:auto!important;width:100%!important;min-width:0!important;max-width:100%!important}
 .hfe-nav-menu__layout-horizontal.hfe-dropdown .hfe-menu-item,.hfe-nav-menu__layout-horizontal.hfe-dropdown .hfe-sub-menu-item{white-space:normal!important;width:100%;box-sizing:border-box}
 .hfe-nav-menu__layout-horizontal.hfe-dropdown .hfe-menu-toggle{margin-left:auto;flex-shrink:0}
}
@media(max-width:767px){.anbit-factory-aerial{min-height:180px!important;width:100%!important}.anbit-factory-aerial>.elementor-widget-image{min-height:180px}.anbit-factory-aerial>.elementor-widget-image>.elementor-widget-container{min-height:180px}}
.e-con-inner:has(>.anbit-factory-aerial){display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px!important;align-items:stretch!important}
.e-con-inner>.anbit-factory-aerial{width:100%!important;min-width:0}
.e-con-inner:has(>.anbit-factory-aerial)>.elementor-element-1aba17b{width:100%!important;grid-column:span 3;min-width:0}
.anbit-factory-aerial img{height:100%!important;max-height:none!important;object-fit:cover!important}
@media(max-width:1024px){.e-con-inner:has(>.anbit-factory-aerial){gap:10px!important}}
@media(max-width:767px){.e-con-inner:has(>.anbit-factory-aerial){grid-template-columns:1fr}.e-con-inner:has(>.anbit-factory-aerial)>.elementor-element-1aba17b{grid-column:auto}.anbit-factory-aerial{aspect-ratio:3/2;min-height:0!important}.anbit-factory-aerial>.elementor-widget-image,.anbit-factory-aerial>.elementor-widget-image>.elementor-widget-container{min-height:0!important;height:100%!important}}
/* Match visual product occupancy while retaining the entire insert. */
.anbit-product-grid .astra-shop-thumbnail-wrap,.anbit-product-main .woocommerce-product-gallery__image{overflow:hidden}
.anbit-product-grid img[src*="product-16ir-threading"],.anbit-product-main img[src*="product-16ir-threading"]{transform:scale(1.4)}
.anbit-news-grid .elementor-post{display:flex;flex-direction:column}
.anbit-news-grid .elementor-post__text{flex:1}
.anbit-news-grid .elementor-post__excerpt p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}
@media(max-width:767px){
 .e-con-inner:has(>.anbit-factory-aerial){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .e-con-inner:has(>.anbit-factory-aerial)>.elementor-element-1aba17b,.elementor-element-f8c49ac,.elementor-element-f8c49ac>.elementor-widget-container,.elementor-element-f8c49ac .elementor-gallery__container{display:contents!important}
 .elementor-element-f8c49ac .e-gallery-item{position:relative!important;inset:auto!important;width:100%!important;height:auto!important;aspect-ratio:3/2;margin:0!important}
 .elementor-element-f8c49ac .e-gallery-image{height:100%!important;padding:0!important}
}
/* Keep authentic equipment photographs complete inside equal frames. */
.anbit-contained-gallery .elementor-gallery__container{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px!important;height:auto!important;padding-bottom:0!important}
.anbit-contained-gallery .e-gallery-item{position:relative!important;inset:auto!important;transform:none!important;width:100%!important;height:auto!important;aspect-ratio:4/3;border:1px solid #edf0f3;background:#fff}
.anbit-contained-gallery .e-gallery-image{width:100%!important;height:100%!important;padding:0!important;background-size:contain!important}
.elementor-21 .elementor-widget-gallery .e-gallery-image{background-size:contain!important;background-repeat:no-repeat;background-color:#fff}
@media(max-width:767px){.anbit-contained-gallery .elementor-gallery__container{grid-template-columns:1fr;gap:12px!important}}
