/* Alldekor catalogue repair. Scoped; Astra and WooCommerce core remain untouched. */
html body.home #main .woof .woof_redraw_zone{display:grid!important;grid-template-columns:90px 90px minmax(0,1.25fr) minmax(0,1fr) 110px!important;align-items:center!important;gap:10px!important;box-sizing:border-box!important;max-width:100%!important}
html body.home #main .woof .woof_redraw_zone>div{margin:0!important;padding:0!important;min-width:0!important;width:100%!important;max-width:none!important;float:none!important;clear:none!important}
html body.home #main .woof .woof_price4_search_container,html body.home #main .woof .woof_price_search_container{grid-column:1/3!important;grid-row:1!important;height:48px!important;min-height:48px!important;max-height:48px!important}
html body.home #main .woof .woof_container_product_cat{grid-column:3!important;grid-row:1!important}
html body.home #main .woof .woof_container_product_region{grid-column:4!important;grid-row:1!important}
html body.home #main .woof .woof_submit_search_form_container{grid-column:5!important;grid-row:1!important}
html body.home #main .woof .woof_container_product_cat,html body.home #main .woof .woof_container_product_region,html body.home #main .woof .woof_submit_search_form_container,html body.home #main .woof .woof_container_inner,html body.home #main .woof .woof_block_html_items{height:48px!important;min-height:48px!important;max-height:48px!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important;box-sizing:border-box!important}
/* Flex removes the anonymous line box from the BOM preceding the native select. */
html body.home #main .woof .woof_container_product_cat .woof_block_html_items{display:flex!important;align-items:center!important}
html body.home #main .woof .woof_filter_price_fields{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;width:100%!important;min-width:0!important;max-width:none!important;height:48px!important;min-height:48px!important;max-height:48px!important}
html body.home #main .woof .woof_filter_price_field{min-width:0!important;width:100%!important;max-width:none!important}
html body.home #main .woof .woof_price_filter_txt,html body.home #main .woof select.woof_select_product_cat,html body.home #main .woof .chosen-single,html body.home #main .woof .woof_submit_search_form{height:48px!important;min-height:48px!important;max-height:48px!important;width:100%!important;min-width:0!important;max-width:none!important;margin:0!important;box-sizing:border-box!important;line-height:46px!important}
html body.home #main .woof .woof_submit_search_form{line-height:1!important;background:#000!important;color:#fff!important}
html body.home #main .woof select.woof_select_product_cat{flex:1 1 auto!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product{display:flex!important;flex-direction:column!important;align-self:start!important;height:auto!important;min-height:0!important;box-shadow:none!important;border:1px solid #e5e5e5!important;border-radius:12px!important;overflow:visible!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .astra-shop-thumbnail-wrap{margin:0!important;position:relative;border-radius:11px 11px 0 0;overflow:hidden}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .astra-shop-summary-wrap{display:flex!important;flex-direction:column!important;justify-content:flex-start!important;align-items:stretch!important;flex:none!important;height:auto!important;min-height:0!important;gap:8px!important;padding:14px!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .astra-shop-summary-wrap::before{content:none!important;display:none!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .ast-woo-product-category{order:1!important;margin:0!important;padding:0!important;min-height:0!important;font-size:12px!important;color:#737373!important;background:none!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .ast-loop-product__link{order:2!important;min-height:0!important;height:auto!important;margin:0!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .woocommerce-loop-product__title{margin:0!important;padding:0!important;font-size:15px!important;line-height:1.4!important;overflow-wrap:anywhere}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .review-rating{order:3!important;min-height:0!important;margin:0!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .price{order:4!important;min-height:0!important;margin:0!important;line-height:1.4!important;color:#111!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .astra-shop-summary-wrap>a.button{order:5!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:42px!important;margin:2px 0 0!important;padding:10px 6px!important;border:1px solid #000!important;border-radius:8px!important;background:#000!important;color:#fff!important;font-size:13px!important;line-height:1.25!important;text-align:center!important;white-space:normal!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .added_to_cart{order:6!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .onsale{position:absolute!important;top:10px!important;right:10px!important;left:auto!important;min-width:0!important;min-height:0!important;width:auto!important;height:auto!important;margin:0!important;padding:6px 10px!important;border:1px solid #000!important;border-radius:6px!important;background:#000!important;color:#fff!important;font-size:11px!important;line-height:1.2!important;font-weight:600!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product a.button:focus-visible{outline:2px solid #000!important;outline-offset:3px!important}
@media(max-width:1023px){
html body.home #main .woof .woof_redraw_zone{grid-template-columns:repeat(2,minmax(0,1fr))!important}
html body.home #main .woof .woof_price4_search_container,html body.home #main .woof .woof_price_search_container{grid-column:1/-1!important;grid-row:1!important}
html body.home #main .woof .woof_container_product_cat{grid-column:1!important;grid-row:2!important}
html body.home #main .woof .woof_container_product_region{grid-column:2!important;grid-row:2!important}
html body.home #main .woof .woof_submit_search_form_container{grid-column:1/-1!important;grid-row:3!important}
}
@media(max-width:767px){
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important;margin:0!important;padding:0!important;width:100%!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products::before,html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products::after{content:none!important;display:none!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product{float:none!important;clear:none!important;width:auto!important;min-width:0!important;max-width:none!important;margin:0!important;padding:0!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .astra-shop-summary-wrap{padding:10px!important;gap:6px!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .astra-shop-thumbnail-wrap>a{display:block!important;aspect-ratio:1/1!important;margin:0!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .astra-shop-thumbnail-wrap img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .woocommerce-loop-product__title{font-size:14px!important}
html body:is(.home,.post-type-archive-product,.tax-product_cat,.tax-product_tag,.search):not(.single-product):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main ul.products li.product .astra-shop-summary-wrap>a.button{font-size:11px!important;padding:8px 4px!important}
}
@media(max-width:479px){
html body.home #main .woof .woof_container_product_cat{grid-column:1/-1!important;grid-row:2!important}
html body.home #main .woof .woof_container_product_region{grid-column:1/-1!important;grid-row:3!important}
html body.home #main .woof .woof_submit_search_form_container{grid-column:1/-1!important;grid-row:4!important}
}

/* Restore the existing icon-capable Chosen category selector. Native fallback stays available. */
html body.home #main .woof .woof_container_product_cat .woof_block_html_items:has(.chosen-container) select.woof_select_product_cat{display:none!important}
html body.home #main .woof .woof_container_product_cat .chosen-container{display:block!important;flex:1 1 auto!important;width:100%!important;min-width:0!important;height:48px!important}
html body.home #main .woof .woof_container_product_cat .chosen-single{height:48px!important;line-height:46px!important}
html body.home #main .woof .woof_container_product_cat .chosen-results{max-height:300px;overflow:auto}
html body.home #main .woof .woof_container_product_cat .alldekor-category-option{position:relative;padding-left:36px!important;min-height:32px;line-height:22px}
html body.home #main .woof .woof_container_product_cat .alldekor-category-option::before{content:'';position:absolute;left:10px;top:50%;transform:translateY(-50%);width:18px;height:18px;background-image:var(--alldekor-category-icon);background-size:contain;background-repeat:no-repeat;background-position:center}
html body.home #main .woof .woof_container_product_cat .alldekor-category-selected{padding-left:26px!important;background-image:var(--alldekor-category-icon);background-size:18px;background-repeat:no-repeat;background-position:left center}
/* Monochrome category menu states. */
html body.home #main .woof .woof_container_product_cat .chosen-drop{background:#fff!important;color:#111!important;border-color:#dedede!important}
html body.home #main .woof .woof_container_product_cat .chosen-results li{background:#fff!important;color:#111!important}
html body.home #main .woof .woof_container_product_cat .chosen-results li.highlighted{background:#000!important;background-image:none!important;color:#fff!important}
html body.home #main .woof .woof_container_product_cat .alldekor-category-option::before{filter:grayscale(1) brightness(0)!important}
html body.home #main .woof .woof_container_product_cat .alldekor-category-option.highlighted::before{filter:grayscale(1) brightness(0) invert(1)!important}
html body.home #main .woof .woof_container_product_cat .alldekor-category-selected{background-image:none!important;position:relative}
html body.home #main .woof .woof_container_product_cat .alldekor-category-selected::before{content:'';position:absolute;left:0;top:50%;transform:translateY(-50%);width:18px;height:18px;background-image:var(--alldekor-category-icon);background-size:contain;background-repeat:no-repeat;filter:grayscale(1) brightness(0)}
