/*
Theme Name: SISOTEK Commerce - Compucasa v3
Author: SISOTEK
Version: 3.0.4
*/
:root{--blue:#087ff5;--deep:#08213d;--ink:#101828;--line:#e5eaf1;--soft:#f6f8fb}*{box-sizing:border-box}html,body{margin:0;max-width:100%;overflow-x:hidden}body{font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}a{text-decoration:none;color:inherit}.wrap{width:min(1450px,95%);margin:auto}.topbar{background:#0b2748;color:#fff;font-size:13px;padding:8px 0}.topbar .wrap{display:flex;justify-content:space-between}.header{padding:10px 0}.header .wrap{display:grid;grid-template-columns:330px 1fr auto;align-items:center;gap:26px;min-height:82px}.brand{height:70px;display:flex;align-items:center}.brand .custom-logo-link{display:flex!important;align-items:center;height:100%}.brand img,.custom-logo-link img{width:auto!important;height:auto!important;max-width:315px!important;max-height:66px!important;object-fit:contain!important}.brand-text{font-size:31px;font-weight:900;color:#0c315c}.brand-text span{color:var(--blue)}.search form{display:flex;border:1px solid #cfd8e5;border-radius:6px;overflow:hidden}.search input{width:100%;border:0;outline:0;padding:14px}.search button{border:0;background:var(--blue);color:#fff;padding:0 24px;font-weight:800}.actions{display:flex;gap:20px;font-size:13px;font-weight:700;white-space:nowrap}.nav{background:linear-gradient(90deg,#0564d8,#0d8dff);color:#fff}.nav .wrap{display:flex;gap:30px;align-items:center;min-height:48px;overflow:auto;white-space:nowrap}.nav a{font-weight:800;font-size:14px}.catbtn{background:#082b50;padding:16px 24px}.hero-photo{width:100%;background:#071b33}.hero-photo img{display:block;width:100%;height:auto;max-height:430px;object-fit:cover}.section{padding:30px 0}.alt{background:var(--soft)}.title{font-size:24px;margin:0 0 18px}.cats{display:grid;grid-template-columns:repeat(10,1fr);gap:12px}.cat{border:1px solid var(--line);border-radius:10px;padding:16px 7px;text-align:center;background:#fff}.cat .ico{font-size:34px;display:block;margin-bottom:8px}.cat strong{font-size:12px}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.benefit{background:#fff;border:1px solid var(--line);padding:18px;border-radius:9px;text-align:center}.benefit b{display:block;color:#0b315f;margin-bottom:4px}.promo-image img{width:100%;display:block;border-radius:10px}.two-products{display:grid;grid-template-columns:1fr 1fr;gap:34px}.products ul.products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:14px}.products ul.products:before,.products ul.products:after{display:none!important}.products li.product{width:auto!important;margin:0!important;border:1px solid var(--line);padding:13px!important;border-radius:9px;background:#fff}.woocommerce ul.products li.product .price{color:#e11d2e;font-weight:900}.woocommerce ul.products li.product .button,.woocommerce button.button.alt,.woocommerce a.button.alt{background:var(--blue);color:#fff;border-radius:5px}.brands{display:grid;grid-template-columns:repeat(10,1fr);gap:8px}.brandbox{border:1px solid var(--line);border-radius:6px;padding:15px 5px;text-align:center;font-weight:900;color:#174f89}.footer{background:#071b33;color:#cbd8e5;padding:42px 0 18px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:32px}.footer h3{color:#fff}.copyright{border-top:1px solid #233b53;margin-top:28px;padding-top:17px;font-size:12px}@media(max-width:1000px){.header .wrap{grid-template-columns:230px 1fr}.search{grid-column:1/-1;grid-row:2}.cats{grid-template-columns:repeat(5,1fr)}.two-products{grid-template-columns:1fr}.products ul.products{grid-template-columns:repeat(3,1fr)}.brands{grid-template-columns:repeat(5,1fr)}.footer-grid{grid-template-columns:1fr 1fr}}@media(max-width:600px){.header .wrap{grid-template-columns:1fr auto}.brand{height:56px}.brand img,.custom-logo-link img{max-width:210px!important;max-height:52px!important}.actions{font-size:0}.actions a{font-size:19px}.hero-photo img{min-height:220px;object-fit:cover}.cats{grid-template-columns:repeat(2,1fr)}.benefits,.footer-grid{grid-template-columns:1fr}.products ul.products{grid-template-columns:repeat(2,1fr)}.brands{grid-template-columns:repeat(2,1fr)}}
/* v3.0.1 catálogo principal */
.products ul.products{grid-template-columns:repeat(5,1fr)}
@media(max-width:1000px){.products ul.products{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.products ul.products{grid-template-columns:repeat(2,1fr)}}

/* FIX 3.0.2 - resultados de búsqueda / tienda / categorías */
body.search .site-main, body.search main,
body.post-type-archive-product .site-main, body.tax-product_cat .site-main{
 width:min(1450px,95%);margin:0 auto;padding:38px 0 55px;
}
body.search .woocommerce-result-count,
body.post-type-archive-product .woocommerce-result-count{
 margin:0 0 22px;font-size:14px;color:#667085
}
body.search .woocommerce-ordering,
body.post-type-archive-product .woocommerce-ordering{margin:0 0 22px}
body.search .woocommerce-ordering select,
body.post-type-archive-product .woocommerce-ordering select{
 min-width:190px;padding:10px 12px;border:1px solid #d9e0e8;border-radius:7px;background:#fff
}
body.search ul.products,
body.post-type-archive-product ul.products,
body.tax-product_cat ul.products{
 display:grid!important;
 grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:20px!important;clear:both
}
body.search ul.products:before,body.search ul.products:after,
body.post-type-archive-product ul.products:before,body.post-type-archive-product ul.products:after{
 display:none!important
}
body.search ul.products li.product,
body.post-type-archive-product ul.products li.product,
body.tax-product_cat ul.products li.product{
 width:auto!important;margin:0!important;float:none!important;
 display:flex!important;flex-direction:column;
 padding:16px!important;border:1px solid #e5eaf1!important;
 border-radius:12px!important;background:#fff!important;
 min-width:0;overflow:hidden;box-shadow:0 3px 12px rgba(15,23,42,.04)
}
body.search ul.products li.product a.woocommerce-LoopProduct-link,
body.post-type-archive-product ul.products li.product a.woocommerce-LoopProduct-link{
 display:flex;flex-direction:column;flex:1
}
body.search ul.products li.product img,
body.post-type-archive-product ul.products li.product img,
body.tax-product_cat ul.products li.product img{
 width:100%!important;height:230px!important;object-fit:contain!important;
 margin:0 0 14px!important;background:#fff
}
body.search ul.products li.product .woocommerce-loop-product__title,
body.post-type-archive-product ul.products li.product .woocommerce-loop-product__title,
body.tax-product_cat ul.products li.product .woocommerce-loop-product__title{
 font-size:15px!important;line-height:1.3!important;min-height:58px;
 margin:0 0 9px!important;display:-webkit-box;-webkit-line-clamp:3;
 -webkit-box-orient:vertical;overflow:hidden
}
body.search ul.products li.product .price,
body.post-type-archive-product ul.products li.product .price,
body.tax-product_cat ul.products li.product .price{
 font-size:16px!important;margin-top:auto!important;margin-bottom:12px!important
}
body.search ul.products li.product .button,
body.post-type-archive-product ul.products li.product .button,
body.tax-product_cat ul.products li.product .button{
 margin-top:auto!important;width:100%;text-align:center;padding:12px 8px!important
}
body.search .woocommerce-pagination{margin-top:35px}
body.search .woocommerce-pagination ul{border:0!important}
body.search .woocommerce-pagination ul li{border:0!important;margin:3px!important}
body.search .woocommerce-pagination .page-numbers{border-radius:6px!important}
@media(max-width:1100px){
 body.search ul.products,body.post-type-archive-product ul.products,body.tax-product_cat ul.products{
  grid-template-columns:repeat(3,minmax(0,1fr))!important
 }
}
@media(max-width:720px){
 body.search ul.products,body.post-type-archive-product ul.products,body.tax-product_cat ul.products{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px!important
 }
 body.search ul.products li.product img,
 body.post-type-archive-product ul.products li.product img,
 body.tax-product_cat ul.products li.product img{height:170px!important}
}

/* FIX 3.0.4 - logo azul Compucasa verificado e integrado */
.compucasa-brand{display:flex!important;align-items:center!important;justify-content:flex-start!important;width:320px!important;height:78px!important;overflow:hidden!important}
.compucasa-fixed-logo{display:block!important;width:auto!important;height:auto!important;max-width:305px!important;max-height:70px!important;object-fit:contain!important;object-position:left center!important;margin:0!important}
@media(max-width:1000px){.compucasa-brand{width:240px!important;height:66px!important}.compucasa-fixed-logo{max-width:230px!important;max-height:60px!important}}
@media(max-width:600px){.compucasa-brand{width:205px!important;height:56px!important}.compucasa-fixed-logo{max-width:195px!important;max-height:50px!important}}
