.avh-catalog-rating:empty{display:none}
/* Only the phone-sized category grid; related products retain their layout. */
@media(max-width:600px){
 body.tax-product_cat.woocommerce ul.products{width:100%!important;margin:0!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important;align-items:stretch}
 body.tax-product_cat.woocommerce ul.products:before,body.tax-product_cat.woocommerce ul.products:after{display:none!important}
 body.tax-product_cat.woocommerce ul.products li.product{width:100%!important;margin:0!important;padding:6px 0 12px!important;min-width:0;box-sizing:border-box;display:flex;flex-direction:column}
 body.tax-product_cat.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link{height:150px!important;width:auto!important;margin:0 6px!important;padding:0!important;display:flex;align-items:center;justify-content:center}
 body.tax-product_cat.woocommerce ul.products li.product>a.woocommerce-LoopProduct-link>img{max-height:150px!important;width:100%!important;height:100%!important;object-fit:contain}
 body.tax-product_cat.woocommerce ul.products li.product .my_loop_product{display:flex;flex-direction:column;flex:1;min-height:0!important;height:auto!important;padding:0 8px}
 body.tax-product_cat.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:15px!important;line-height:1.25!important;height:auto!important;min-height:0!important;margin:10px 0 12px!important;padding:0!important;overflow:visible!important}
 body.tax-product_cat.woocommerce ul.products li.product .products_stock_block{margin:0 0 8px!important;font-size:12px!important}
 body.tax-product_cat.woocommerce ul.products li.product .avh-catalog-rating{margin:0 0 8px!important;font-size:11px!important;min-height:0!important}
 body.tax-product_cat.woocommerce ul.products li.product .price{font-size:23px!important;line-height:1.2!important;padding:6px 0!important;margin:0!important;justify-content:center;flex-wrap:wrap;gap:3px}
 body.tax-product_cat.woocommerce ul.products li.product .price del{font-size:14px!important;margin:0!important}
 body.tax-product_cat.woocommerce ul.products li.product .price ins{font-size:23px!important}
 body.tax-product_cat.woocommerce ul.products li.product .price .woocommerce-Price-currencySymbol{font-size:12px!important}
 body.tax-product_cat.woocommerce ul.products li.product .my_loop_product>a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;height:auto!important}
 body.tax-product_cat.woocommerce ul.products li.product .products_stock_block{margin-top:auto!important}
 body.tax-product_cat.woocommerce ul.products li.product .add_to_cart_button{width:100%!important;max-width:100%!important;font-size:14px!important;height:40px!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:8px}
}

@media(max-width:600px){body.tax-product_cat.woocommerce ul.products li.product .add_to_cart_button:after{margin-left:0!important;flex-shrink:0}}

.woocommerce .products .added_to_cart.wc-forward{display:none!important}
@media(max-width:600px){body.tax-product_cat.woocommerce ul.products li.product .woocommerce-loop-product__title{display:block!important;-webkit-line-clamp:unset!important;max-height:none!important;text-overflow:clip!important;white-space:normal!important}}

/* Stretch each category row; the purchase area stays on its bottom edge. */
body.tax-product_cat.woocommerce ul.products{align-items:stretch!important}
body.tax-product_cat.woocommerce ul.products li.product{display:flex;flex-direction:column;height:auto!important}
body.tax-product_cat.woocommerce ul.products li.product .my_loop_product{display:flex;flex-direction:column;flex:1}
body.tax-product_cat.woocommerce ul.products li.product .my_loop_product>a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1}
body.tax-product_cat.woocommerce ul.products li.product .my_loop_product .price{margin-top:auto!important}
.swiper_home .swiper-wrapper{align-items:stretch}
.swiper_home .product.swiper-slide{height:auto;display:flex;flex-direction:column}
.swiper_home .product_wrapper{height:100%;display:flex;flex-direction:column}
.swiper_home .my_loop_product{flex:1;display:flex;flex-direction:column}
.swiper_home .my_loop_product>a.woocommerce-LoopProduct-link{flex:1;display:flex;flex-direction:column}
.swiper_home .my_loop_product .price{margin-top:auto!important}
/* Replace both the label and the theme's cart icon with one centred spinner. */
body.woocommerce .add_to_cart_button.loading,.swiper_home .add_to_cart_button.loading{position:relative!important;color:transparent!important;opacity:1!important;padding-top:0!important;padding-bottom:0!important}
body .add_to_cart_button.loading:after{content:""!important;position:absolute!important;left:calc(50% - 10px)!important;top:calc(50% - 10px)!important;right:auto!important;bottom:auto!important;width:20px!important;height:20px!important;margin:0!important;box-sizing:border-box!important;background:none!important;border:2px solid rgba(255,255,255,.4)!important;border-top-color:#fff!important;border-radius:50%!important;animation:avh-cart-spin .7s linear infinite!important;transform:none;}
body .add_to_cart_button.added:not(.loading):after{animation:none!important}
@keyframes avh-cart-spin{to{transform:rotate(360deg)}}
.avh-cart-toast{position:fixed;left:50%;bottom:28px;transform:translate(-50%,12px);z-index:999999;max-width:calc(100vw - 32px);width:max-content;box-sizing:border-box;padding:13px 20px;border-radius:8px;background:#242424;color:#fff;font:16px/1.35 sans-serif;box-shadow:0 4px 20px #0003;opacity:0;visibility:hidden;pointer-events:none;transition:opacity .18s,transform .18s,visibility .18s;text-align:center}
.avh-cart-toast.is-visible{opacity:1;visibility:visible;transform:translate(-50%,0)}
.avh-cart-toast.is-error{background:#9f2525}
@media(prefers-reduced-motion:reduce){.avh-cart-toast{transition:none}}

body.tax-product_cat.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:30px!important}
body.tax-product_cat.woocommerce ul.products:before,body.tax-product_cat.woocommerce ul.products:after{display:none!important}
body.tax-product_cat.woocommerce ul.products li.product{width:100%!important;margin:0!important;float:none!important;box-sizing:border-box;min-width:0}
body.woocommerce .add_to_cart_button.loading,.swiper_home .add_to_cart_button.loading{transition:none!important}
@media(max-width:700px){body.tax-product_cat.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}}

body.tax-product_cat.woocommerce ul.products li.product .my_loop_product .add_to_cart_button{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:10px}
body.tax-product_cat.woocommerce ul.products li.product .my_loop_product .add_to_cart_button:after{margin-left:0!important;flex-shrink:0}
