/* Product-category archives: visual parity with /catalog/, scoped to avoid other pages. */
body.tax-product_cat .woocommerce-products-header,
body.tax-product_cat .term-description {max-width:1220px;margin:0 auto 22px}
body.tax-product_cat .woocommerce-products-header__title,
body.tax-product_cat h1.page-title{color:#143a50!important;line-height:1.2!important;font-weight:650!important}
body.tax-product_cat .term-description{color:#596b78;font-size:15px;line-height:1.65}
body.tax-product_cat ul.products,
body.tax-product_cat .woocommerce ul.products{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 gap:20px!important;padding:0!important;margin:20px 0 32px!important;
 list-style:none!important;align-items:stretch!important;
}
body.tax-product_cat ul.products:before,body.tax-product_cat ul.products:after{display:none!important}
body.tax-product_cat ul.products>li,
body.tax-product_cat .woocommerce ul.products>li{
 float:none!important;clear:none!important;display:flex!important;flex-direction:column!important;
 position:relative!important;margin:0!important;padding:16px!important;
 width:auto!important;max-width:none!important;min-width:0!important;min-height:340px!important;
 box-sizing:border-box!important;background:#fff!important;border:1px solid #e3eaf0!important;
 border-radius:0!important;box-shadow:none!important;
}
body.tax-product_cat ul.products>li .product-list-item{
 display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
 height:100%!important;width:100%!important;min-width:0!important;
 background:#fff!important;border:0!important;box-shadow:none!important;
}
body.tax-product_cat ul.products>li .product-list-item:before,
body.tax-product_cat ul.products>li .product-list-item:after{display:none!important;content:none!important}
body.tax-product_cat ul.products>li .kw-prodimage{
 width:100%!important;height:230px!important;min-height:230px!important;
 display:flex!important;align-items:center!important;justify-content:center!important;
 margin:0!important;overflow:hidden!important;padding:0!important;
 background:#d1d1d1!important;border:0!important;box-shadow:none!important;
}
body.tax-product_cat ul.products>li .kw-prodimage:has(img[src*="/uploads/"]){background:#fff!important}
body.tax-product_cat ul.products>li .kw-prodimage>a{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;height:100%!important;margin:0!important;padding:0!important;
}
body.tax-product_cat ul.products>li .kw-prodimage img[src*="/uploads/"]:not(.kw-prodimage-img-secondary),
body.tax-product_cat ul.products>li img.attachment-woocommerce_thumbnail:not([src*="placeholder"]){
 width:100%!important;max-width:100%!important;height:100%!important;
 max-height:230px!important;object-fit:contain!important;margin:0 auto!important;
 padding:12px!important;box-sizing:border-box!important;border:0!important;
 border-radius:0!important;background:#fff!important;
}
body.tax-product_cat ul.products>li .kw-prodimage img.kw-prodimage-img-secondary,
body.tax-product_cat ul.products>li img.apl-replaced-placeholder{display:none!important}
body.tax-product_cat ul.products>li .apl-placeholder-graphic{
 display:flex!important;align-items:center;justify-content:center;
 width:100%;min-height:200px;height:100%;background:#d1d1d1;color:#858585;
 font:700 16px Arial,sans-serif;letter-spacing:.02em;
}
body.tax-product_cat ul.products>li .kw-details{
 margin:0!important;padding:10px 0 0!important;
 border:0!important;box-shadow:none!important;background:#fff!important;
}
body.tax-product_cat ul.products>li h2,
body.tax-product_cat ul.products>li h3,
body.tax-product_cat ul.products>li .kw-details-title{
 font-size:17px!important;line-height:1.36!important;font-weight:600!important;
 color:#153e52!important;text-transform:none!important;margin:0 0 9px!important;
}
body.tax-product_cat ul.products>li .kw-details-desc{
 min-height:0!important;height:auto!important;margin:0 0 7px!important;
 font-size:13px!important;line-height:1.4!important;
}
body.tax-product_cat ul.products>li .price:empty{display:none!important}
body.tax-product_cat ul.products>li .price{font-weight:700!important;color:#155971!important}
body.tax-product_cat ul.products>li .star-rating,
body.tax-product_cat ul.products>li .zn_badge_new,
body.tax-product_cat ul.products>li .znew,
body.tax-product_cat ul.products>li .kw-actions,
body.tax-product_cat ul.products>li .actions-addtocart,
body.tax-product_cat ul.products>li .add_to_cart_button,
body.tax-product_cat ul.products>li .elex-rqst-quote-front-wrap,
body.tax-product_cat ul.products>li .add-request-quote-button{display:none!important}
body.tax-product_cat ul.products>li .apl-archive-actions{
 display:flex!important;flex-direction:column!important;gap:8px!important;
 position:relative!important;clear:both!important;width:100%!important;
 padding:12px 0 0!important;margin:auto 0 0!important;
}
body.tax-product_cat .apl-archive-actions a,
body.tax-product_cat .apl-archive-actions button{
 display:flex!important;align-items:center!important;justify-content:center!important;
 width:100%!important;box-sizing:border-box!important;min-height:44px!important;
 margin:0!important;padding:12px 10px!important;border-radius:0!important;
 box-shadow:none!important;text-decoration:none!important;text-align:center!important;
 text-transform:uppercase!important;white-space:normal!important;
 font:700 13px/18px Arial,sans-serif!important;letter-spacing:.02em!important;cursor:pointer!important;
}
body.tax-product_cat .apl-archive-actions .apl-details-link,
body.tax-product_cat .apl-archive-actions .apl-subcat-link{
 color:#111!important;border:1px solid #111!important;background:transparent!important;
}
body.tax-product_cat .apl-archive-actions .apl-details-link:hover,
body.tax-product_cat .apl-archive-actions .apl-details-link:focus,
body.tax-product_cat .apl-archive-actions .apl-subcat-link:hover,
body.tax-product_cat .apl-archive-actions .apl-subcat-link:focus{
 background:#111!important;color:#fff!important;
}
body.tax-product_cat .apl-archive-actions .apl-cp-open{
 color:#fff!important;border:1px solid #ca1118!important;background:#ca1118!important;
}
body.tax-product_cat .apl-archive-actions .apl-cp-open:hover,
body.tax-product_cat .apl-archive-actions .apl-cp-open:focus{
 background:#ac0e15!important;border-color:#ac0e15!important;color:#fff!important;
}
body.tax-product_cat .apl-archive-modal[hidden]{display:none!important}
body.tax-product_cat .apl-archive-modal{
 position:fixed!important;inset:0!important;z-index:2147482000!important;
 padding:16px!important;box-sizing:border-box!important;
 display:flex!important;justify-content:center!important;align-items:center!important;
 overflow:auto!important;background:rgba(0,0,0,.65)!important;
}
body.tax-product_cat .apl-archive-dialog{
 position:relative!important;box-sizing:border-box!important;
 width:min(820px,100%)!important;max-height:calc(100vh - 32px)!important;
 overflow-y:auto!important;background:#fff!important;color:#333!important;
 padding:30px!important;border-radius:0!important;box-shadow:0 18px 80px #0004!important;
}
body.tax-product_cat .apl-archive-dialog h2{
 font-size:23px!important;line-height:1.35!important;color:#24546c!important;
 margin:0 35px 20px 0!important;font-weight:400!important;
}
body.tax-product_cat .apl-archive-dialog .apl-archive-close{
 position:absolute;right:12px;top:10px;background:transparent!important;border:0!important;
 color:#444!important;font-size:28px!important;line-height:1!important;cursor:pointer!important;
}
body.tax-product_cat .apl-archive-modal-product{
 display:grid;grid-template-columns:164px minmax(0,1fr);
 gap:26px;align-items:center;margin-bottom:16px;
}
body.tax-product_cat .apl-archive-modal-image{
 display:flex;align-items:center;justify-content:center;
 width:164px;height:140px;overflow:hidden;background:#d1d1d1;
 color:#858585;font:700 14px Arial,sans-serif;
}
body.tax-product_cat .apl-archive-modal-image img{
 width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important;
}
body.tax-product_cat .apl-archive-modal-product h3{
 font-size:20px!important;line-height:1.4!important;color:#393939!important;
 margin:0!important;font-weight:400!important;
}
body.tax-product_cat .apl-archive-dialog p{font-size:15px;line-height:1.5}
body.tax-product_cat .apl-archive-form-fields{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:18px 0!important;
}
body.tax-product_cat .apl-archive-form-fields label{
 font-size:15px!important;color:#28566f!important;font-weight:400!important;
}
body.tax-product_cat .apl-archive-form-fields input{
 display:block;width:100%!important;height:44px!important;margin-top:6px!important;
 padding:10px 12px!important;box-sizing:border-box!important;
 border:1px solid #ddd!important;border-radius:0!important;box-shadow:none!important;
}
body.tax-product_cat .apl-archive-send{
 display:inline-block!important;background:#cd1017!important;color:#fff!important;
 border:0!important;border-radius:0!important;padding:13px 22px!important;
 font:700 12px Arial,sans-serif!important;cursor:pointer!important;
}
body.tax-product_cat .apl-archive-send[disabled]{opacity:.55;cursor:wait!important}
body.tax-product_cat .apl-archive-consent{
 display:flex;gap:8px;align-items:flex-start;margin:18px 0!important;
 font-size:13px;color:#365267;
}
body.tax-product_cat .apl-archive-consent input{margin-top:4px}
body.tax-product_cat .apl-archive-form-result{font-size:14px!important;min-height:20px}
@media(max-width:850px){
 body.tax-product_cat ul.products,body.tax-product_cat .woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:520px){
 body.tax-product_cat ul.products,body.tax-product_cat .woocommerce ul.products{gap:10px!important}
 body.tax-product_cat ul.products>li{padding:10px!important;min-height:290px!important}
 body.tax-product_cat ul.products>li .kw-prodimage{height:155px!important;min-height:155px!important}
 body.tax-product_cat ul.products>li h2,body.tax-product_cat ul.products>li h3{font-size:14px!important}
 body.tax-product_cat .apl-archive-actions a,body.tax-product_cat .apl-archive-actions button{padding:10px 4px!important;font-size:11px!important}
 body.tax-product_cat .apl-archive-dialog{padding:24px 16px!important}
 body.tax-product_cat .apl-archive-form-fields{grid-template-columns:minmax(0,1fr)!important;gap:12px}
 body.tax-product_cat .apl-archive-modal-product{grid-template-columns:94px minmax(0,1fr);gap:14px}
 body.tax-product_cat .apl-archive-modal-image{width:94px;height:94px}
 body.tax-product_cat .apl-archive-modal-product h3{font-size:16px!important}
}


/* v1.3: full-width product-category templates (Kallyas left blank sidebar) */
body.tax-product_cat #sidebar,
body.tax-product_cat #content .zn_sidebar,
body.tax-product_cat #content .zn-sidebar,
body.tax-product_cat #content .sidebar,
body.tax-product_cat #content .sidebar-left,
body.tax-product_cat #content .sidebar-right,
body.tax-product_cat #content .woocommerce-sidebar,
body.tax-product_cat #content aside.widget-area,
body.tax-product_cat #content .container > .row > aside,
body.tax-product_cat #content .container > .row > [class~="col-md-3"],
body.tax-product_cat #content .container > .row > [class~="col-sm-3"],
body.tax-product_cat #content .container > .row > [class~="col-lg-3"],
body.tax-product_cat #content .container > .row > [class~="col-md-4"],
body.tax-product_cat #content .container > .row > [class~="col-sm-4"],
body.tax-product_cat #content .container > .row > [class~="col-lg-4"]{
  display:none!important;
}
body.tax-product_cat #content .container > .row > [class~="col-md-9"],
body.tax-product_cat #content .container > .row > [class~="col-sm-9"],
body.tax-product_cat #content .container > .row > [class~="col-lg-9"],
body.tax-product_cat #content .container > .row > [class~="col-md-8"],
body.tax-product_cat #content .container > .row > [class~="col-sm-8"],
body.tax-product_cat #content .container > .row > [class~="col-lg-8"],
body.tax-product_cat #content .zn_shop_main_content,
body.tax-product_cat #content .zn_content_area,
body.tax-product_cat #content .main-content{
  width:100%!important;max-width:100%!important;flex:0 0 100%!important;
  float:none!important;margin-left:0!important;margin-right:0!important;
}
/* Avoid extra blank column even if the theme uses reversed sidebar markup. */
body.tax-product_cat #content .container > .row > .main-content,
body.tax-product_cat #content .container > .row > .content-area{
  width:100%!important;max-width:100%!important;flex:0 0 100%!important;
}
/* Category descriptions and product cards stay aligned within the central catalog width. */
body.tax-product_cat #content ul.products,
body.tax-product_cat #content .woocommerce-products-header,
body.tax-product_cat #content .term-description{
  width:100%!important;max-width:1220px!important;
  margin-left:auto!important;margin-right:auto!important;
}
