/* Song Vang WooCommerce final cascade layer 2026-11-11 */
.post-type-archive-product .products .product-small .box-image,
.tax-product_cat .products .product-small .box-image{
 display:block!important;
 aspect-ratio:1 / 1;
 overflow:hidden;
 background:#fff;
 opacity:1!important;
 visibility:visible!important;
}
.post-type-archive-product .products .product-small .box-image .image-zoom,
.tax-product_cat .products .product-small .box-image .image-zoom,
.post-type-archive-product .products .product-small .box-image .image-zoom>a,
.tax-product_cat .products .product-small .box-image .image-zoom>a{
 display:block!important;
 position:relative!important;
 inset:auto!important;
 width:100%!important;
 height:auto!important;
 aspect-ratio:1 / 1;
 min-width:0!important;
 max-width:none!important;
 opacity:1!important;
 visibility:visible!important;
 background-position:center!important;
 background-repeat:no-repeat!important;
 background-size:contain!important;
}
.post-type-archive-product .products .product-small .box-image img,
.tax-product_cat .products .product-small .box-image img{
 display:block!important;
 position:relative!important;
 inset:auto!important;
 width:100%!important;
 max-width:none!important;
 height:auto!important;
 min-height:0!important;
 aspect-ratio:1 / 1;
 padding:10px!important;
 object-fit:contain!important;
 opacity:1!important;
 visibility:visible!important;
 transform:none!important;
}
.post-type-archive-product .products .product-small .price,
.post-type-archive-product .products .product-small ins,
.tax-product_cat .products .product-small .price,
.tax-product_cat .products .product-small ins{color:#7b431f!important}
.post-type-archive-product .shop-page-title .woocommerce-result-count,
.tax-product_cat .shop-page-title .woocommerce-result-count{color:#3b2418!important;font-weight:700!important}
.post-type-archive-product .products .product-small .add-to-cart-button a,
.tax-product_cat .products .product-small .add-to-cart-button a{
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 min-height:44px!important;
 height:auto!important;
 padding:9px 14px!important;
}
#shop-sidebar .price_slider_amount .button{
 height:38px!important;
 min-height:38px!important;
 line-height:34px!important;
 border:2px solid #8a5838!important;
 background:transparent!important;
 color:#6b3f24!important;
}
#shop-sidebar .sv-equal-price-filter button{height:44px!important;min-height:44px!important;line-height:44px!important}
#shop-sidebar .sv-equal-price-filter .sv-price-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}
#shop-sidebar .sv-equal-price-filter label{display:block;color:#68402d;font-size:12px;font-weight:600}
#shop-sidebar .sv-equal-price-filter input{width:100%;height:44px;margin-top:4px;padding:0 8px;border:1px solid #e6ded4;border-radius:6px;background:#fff;color:#2b211d}
#shop-sidebar .sv-equal-price-filter button{width:100%;margin:0;border-radius:6px;background:#b96f24;color:#fff}
@media(max-width:767px){
 .post-type-archive-product .products .product-small .add-to-cart-button a,
 .tax-product_cat .products .product-small .add-to-cart-button a{padding:9px 8px!important}
}

/* Archive title cleanup 2026-11-11: one compact orange band, no nested title tile. */
body.post-type-archive-product .shop-page-title.category-page-title,
body.tax-product_cat .shop-page-title.category-page-title{
 min-height:0!important;
 height:auto!important;
 padding:0!important;
 overflow:visible!important;
 background:#cf8c3e!important;
}
.post-type-archive-product .shop-page-title .page-title-bg,
.post-type-archive-product .shop-page-title .title-bg,
.post-type-archive-product .shop-page-title .title-overlay,
.tax-product_cat .shop-page-title .page-title-bg,
.tax-product_cat .shop-page-title .title-bg,
.tax-product_cat .shop-page-title .title-overlay{
 display:none!important;
 height:0!important;
 min-height:0!important;
 margin:0!important;
 padding:0!important;
}
body.post-type-archive-product .shop-page-title.category-page-title .page-title-inner,
body.tax-product_cat .shop-page-title.category-page-title .page-title-inner{
 min-height:60px!important;
 height:auto!important;
 margin:0 auto!important;
 padding:8px 24px!important;
 background:transparent!important;
}
.post-type-archive-product .shop-page-title h1.shop-page-title,
.tax-product_cat .shop-page-title h1.shop-page-title{
 display:none!important;
 min-height:0!important;
 margin:0 0 5px!important;
 padding:0!important;
 border:0!important;
 border-radius:0!important;
 background:transparent!important;
 box-shadow:none!important;
}
@media(max-width:1023px){
 body.post-type-archive-product .shop-page-title.category-page-title .page-title-inner,
 body.tax-product_cat .shop-page-title.category-page-title .page-title-inner{
  position:relative!important;
  min-height:0!important;
  padding:8px 24px!important;
  gap:8px!important;
 }
 .post-type-archive-product .shop-page-title .page-title-inner>.flex-grow,
 .tax-product_cat .shop-page-title .page-title-inner>.flex-grow{padding-right:96px!important}
 .post-type-archive-product .shop-page-title .category-filtering,
 .tax-product_cat .shop-page-title .category-filtering{
  position:absolute!important;
  top:8px!important;
  right:24px!important;
  margin:0!important;
 }
 .post-type-archive-product .shop-page-title .woocommerce-result-count.hide-for-medium,
 .tax-product_cat .shop-page-title .woocommerce-result-count.hide-for-medium{display:none!important}
}
@media(max-width:767px){
 body.post-type-archive-product .shop-page-title.category-page-title .page-title-inner,
 body.tax-product_cat .shop-page-title.category-page-title .page-title-inner{padding:8px 16px!important}
 .post-type-archive-product .shop-page-title .page-title-inner>.flex-grow,
 .tax-product_cat .shop-page-title .page-title-inner>.flex-grow{padding-right:88px!important}
 .post-type-archive-product .shop-page-title .category-filtering,
 .tax-product_cat .shop-page-title .category-filtering{top:8px!important;right:16px!important}
}

/* Align and refine the desktop product sorting control. */
@media(min-width:1024px){
 body.post-type-archive-product .shop-page-title .page-title-inner,
 body.tax-product_cat .shop-page-title .page-title-inner{
  max-width:1280px!important;
 }
 .post-type-archive-product .shop-page-title .page-title-inner>.form-flat,
 .tax-product_cat .shop-page-title .page-title-inner>.form-flat{
  display:flex!important;
  justify-content:flex-end!important;
  margin-left:auto!important;
  padding-right:0!important;
 }
 .post-type-archive-product .shop-page-title .woocommerce-ordering,
 .tax-product_cat .shop-page-title .woocommerce-ordering{
  position:relative;
  width:300px;
  margin:0!important;
 }
 .post-type-archive-product .shop-page-title .woocommerce-ordering::before,
 .tax-product_cat .shop-page-title .woocommerce-ordering::before{
  content:"";
  position:absolute;
  z-index:2;
  top:50%;
  left:4px;
  width:20px;
  height:20px;
  pointer-events:none;
  transform:translateY(-50%);
  background:center/20px 20px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 5h16M7 12h10M10 19h4'/%3E%3C/svg%3E");
 }
 .post-type-archive-product .shop-page-title .woocommerce-ordering select,
 .tax-product_cat .shop-page-title .woocommerce-ordering select{
  width:100%!important;
  height:42px;
  margin:0!important;
  padding:0 34px!important;
  border:0!important;
  border-bottom:0!important;
  border-radius:0!important;
  background-color:transparent!important;
  color:#fff!important;
  font-weight:700;
  box-shadow:none!important;
 }
 .post-type-archive-product .shop-page-title .woocommerce-ordering select option,
 .tax-product_cat .shop-page-title .woocommerce-ordering select option{
  background:#fff;
  color:#4b2e1c;
 }
}
