/*
Theme Name: SISOTEK Commerce - Seguridad
Author: SISOTEK
Version: 1.0.2
*/
:root{--blue:#e30613;--deep:#111317;--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:#111317;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:#15191e}.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,#b8000b,#f01824);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:#111317;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:#1a1d21;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:#b8000b}.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)}}

/* SISOTEK Seguridad */
.nav{background:linear-gradient(90deg,#a90009,#ed101c)}
.hero-photo{background:#0b0d10}
.woocommerce ul.products li.product .button,.woocommerce button.button.alt,.woocommerce a.button.alt{background:#e30613}
.woocommerce ul.products li.product .price{color:#e30613}
.footer{background:#101216}

.sisotek-hero{background:radial-gradient(circle at 78% 45%,#4b0a0d 0,#1b1114 28%,#090b0e 70%);color:#fff;padding:62px 0}.sisotek-hero .wrap{display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:35px}.eyebrow{color:#ff4b55;font-weight:900;letter-spacing:1px}.sisotek-hero h1{font-size:54px;line-height:1;margin:10px 0 17px}.sisotek-hero h1 span{color:#ed101c}.sisotek-hero p{font-size:19px;line-height:1.5;color:#e4e6e9;max-width:650px}.hero-btn{display:inline-block;background:#e30613;color:#fff;padding:14px 24px;border-radius:6px;font-weight:900;margin-top:10px}.security-art{height:270px;position:relative}.camera,.nvr,.access{position:absolute;background:#15191f;border:5px solid #292f38;box-shadow:0 25px 40px #0008;color:#fff;font-weight:900;display:flex;align-items:center;justify-content:center}.camera{width:210px;height:110px;border-radius:60px 15px 15px 60px;right:150px;top:25px;font-size:65px;color:#e30613}.nvr{width:260px;height:85px;border-radius:10px;right:25px;bottom:25px;letter-spacing:8px}.access{width:105px;height:150px;border-radius:10px;right:15px;top:10px;color:#e30613}.security-promos{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.security-promos a{min-height:145px;padding:25px;border-radius:10px;color:#fff;background:linear-gradient(135deg,#171a1f,#c0000b);display:flex;flex-direction:column;justify-content:flex-end}.security-promos a:nth-child(2){background:linear-gradient(135deg,#26070a,#ed101c)}.security-promos a:nth-child(3){background:linear-gradient(135deg,#111317,#4b515b)}.security-promos b{font-size:22px}.security-promos span{margin-top:7px;color:#f2f2f2}
@media(max-width:800px){.sisotek-hero .wrap{grid-template-columns:1fr}.security-art{display:none}.security-promos{grid-template-columns:1fr}.sisotek-hero h1{font-size:40px}}

/* FIX 1.0.1: logo oficial SISOTEK integrado al tema y header corregido */
.header .wrap{
 display:grid;
 grid-template-columns:330px minmax(360px,1fr) auto;
 align-items:center;
 gap:28px;
 min-height:92px;
}
.sisotek-brand{
 display:flex!important;
 align-items:center!important;
 justify-content:flex-start!important;
 width:330px!important;
 height:82px!important;
 overflow:visible!important;
}
.sisotek-fixed-logo{
 display:block!important;
 width:auto!important;
 height:auto!important;
 max-width:320px!important;
 max-height:78px!important;
 object-fit:contain!important;
 object-position:left center!important;
 margin:0!important;
 padding:0!important;
}
.header .search{min-width:0;width:100%}
.header .actions{justify-self:end}
@media(max-width:1000px){
 .header .wrap{grid-template-columns:250px 1fr}
 .sisotek-brand{width:250px!important;height:70px!important}
 .sisotek-fixed-logo{max-width:240px!important;max-height:66px!important}
 .header .search{grid-column:1/-1;grid-row:2}
}
@media(max-width:600px){
 .header .wrap{grid-template-columns:1fr auto;gap:12px}
 .sisotek-brand{width:210px!important;height:60px!important}
 .sisotek-fixed-logo{max-width:205px!important;max-height:56px!important}
}

/* FIX 1.0.2 - resultados de búsqueda / catálogo */
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}
}
