/*
Theme Name: ISD V4 Storefront
Theme URI: https://isdingenieria.cl/
Author: ISD
Version: 3.0
*/
:root{--navy:#071525;--navy2:#0c1e32;--blue:#1d67e8;--cyan:#5ed0ff;--ink:#102033;--muted:#64748b;--line:#e5eaf0;--bg:#f6f8fb;--card:#fff;--green:#1f9d68;--orange:#f59e0b}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--bg)}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.wrap{width:min(1240px,92%);margin:auto}
/* Header */
.isd-top{background:var(--navy);color:#fff;font-size:12px}.isd-top .wrap{height:32px;display:flex;align-items:center;justify-content:space-between}.isd-top strong{color:#9bdfff}.isd-header{background:#fff;border-bottom:1px solid var(--line);position:sticky;top:0;z-index:50}.isd-head-main{display:grid;grid-template-columns:220px 1fr auto;gap:24px;align-items:center;padding:16px 0}.brand{display:flex;align-items:center;gap:10px}.brandmark{width:44px;height:44px;border:2px solid var(--blue);border-radius:50%;display:grid;place-items:center;color:var(--blue);font-weight:900;letter-spacing:-2px;position:relative}.brandmark:after{content:"";position:absolute;width:7px;height:7px;border-radius:50%;background:var(--cyan);right:1px;top:7px}.brandtext{font-weight:900;font-size:23px;letter-spacing:.08em}.brandtext small{display:block;font-size:8px;letter-spacing:.24em;color:var(--muted);margin-top:1px}.search{display:flex;height:46px;border:1px solid #d7dee8;border-radius:9px;overflow:hidden;background:#fff}.search input{border:0;outline:0;flex:1;padding:0 17px;font-size:14px}.search button{width:52px;border:0;background:var(--blue);color:#fff;font-size:18px;cursor:pointer}.head-actions{display:flex;gap:10px;align-items:center}.head-action{padding:10px 12px;border:1px solid var(--line);border-radius:8px;font-size:13px;font-weight:700;white-space:nowrap}.cart-count{background:var(--blue);color:#fff;padding:2px 7px;border-radius:99px;margin-left:4px}.isd-nav{border-top:1px solid #f0f2f5}.isd-nav .wrap{display:flex;align-items:center;gap:28px;height:46px}.cat-btn{font-weight:800;color:#fff;background:var(--navy2);padding:12px 18px;margin-left:-1px}.isd-nav a{font-size:13px;font-weight:750}.nav-spacer{margin-left:auto;color:var(--muted);font-size:12px}
/* Hero */
.hero-v3{background:linear-gradient(105deg,#081728 0%,#0b2037 58%,#12335a 100%);color:#fff;min-height:290px;position:relative;overflow:hidden}.hero-v3:after{content:"";position:absolute;inset:-100px -10% auto auto;width:650px;height:650px;border:1px solid rgba(94,208,255,.12);border-radius:50%;box-shadow:0 0 0 70px rgba(94,208,255,.025),0 0 0 140px rgba(94,208,255,.018)}.hero-inner{min-height:290px;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;gap:40px;position:relative;z-index:1}.eyebrow{font-size:12px;text-transform:uppercase;letter-spacing:.18em;color:#8fdfff;font-weight:800;margin-bottom:9px}.hero h1{font-size:clamp(32px,4vw,54px);line-height:.98;letter-spacing:-.04em;margin:0 0 13px}.hero h1 span{color:#66d3ff}.hero p{font-size:16px;color:#c5d3e2;margin:0 0 20px;max-width:650px}.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:8px;padding:12px 18px;font-weight:800;font-size:13px}.btn-primary{background:#1d67e8;color:#fff}.btn-ghost{border:1px solid rgba(255,255,255,.28);color:#fff;margin-left:8px}.hero-products{display:grid;grid-template-columns:1fr 1fr;gap:12px}.hero-tile{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.15);border-radius:12px;padding:14px;min-height:112px;display:flex;flex-direction:column;justify-content:space-between}.hero-tile b{font-size:14px}.hero-tile span{font-size:11px;color:#aebed0}.mini-device{height:36px;display:flex;align-items:center;gap:8px}.mini-device i{display:block;width:50px;height:27px;border:2px solid #74d8ff;border-radius:5px;position:relative}.mini-device i:after{content:"";position:absolute;width:4px;height:4px;border-radius:50%;background:#74d8ff;right:5px;top:5px}
/* Store content */
.section{padding:42px 0}.section.alt{background:#fff}.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:20px}.section-head h2{margin:0;font-size:25px;letter-spacing:-.03em}.section-head p{margin:5px 0 0;color:var(--muted);font-size:13px}.link{color:var(--blue);font-size:13px;font-weight:800}.offer-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:18px}.offer-main{background:#fff;border:1px solid var(--line);border-radius:14px;padding:22px;display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:center;box-shadow:0 8px 28px rgba(16,32,51,.05)}.offer-main .tag{color:#fff;background:#e8590c;border-radius:99px;display:inline-block;padding:5px 9px;font-size:10px;font-weight:900;text-transform:uppercase}.offer-main h3{font-size:25px;margin:11px 0 7px}.offer-main p{font-size:13px;color:var(--muted);line-height:1.5}.price{font-size:26px;font-weight:900}.old{font-size:13px;color:#9aa5b2;text-decoration:line-through;margin-left:8px;font-weight:600}.stock{font-size:11px;color:var(--green);font-weight:800;margin:9px 0 15px}.product-visual{height:230px;border-radius:12px;background:linear-gradient(145deg,#eef4fa,#fff);display:grid;place-items:center;position:relative;overflow:hidden}.product-visual:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;background:#dceeff;filter:blur(1px)}.device-card{position:relative;width:155px;height:105px;background:linear-gradient(145deg,#1a2737,#080e15);border-radius:10px;box-shadow:0 25px 30px rgba(0,0,0,.18);transform:perspective(500px) rotateY(-12deg) rotateX(4deg)}.device-card:before{content:"";position:absolute;inset:13px 15px 20px;border:1px solid #394b5f;border-radius:5px}.device-card:after{content:"ISD";position:absolute;left:17px;bottom:7px;color:#8bdfff;font-size:9px;font-weight:900;letter-spacing:.12em}.camera{width:140px;height:82px;border-radius:14px 14px 30px 30px;background:linear-gradient(145deg,#26384a,#0c131a);position:relative;box-shadow:0 22px 25px rgba(0,0,0,.2);transform:rotate(-6deg)}.camera:before{content:"";position:absolute;width:42px;height:42px;border-radius:50%;background:#0b1118;border:7px solid #44586c;left:47px;top:19px}.camera:after{content:"";position:absolute;width:10px;height:10px;border-radius:50%;background:#63d6ff;left:63px;top:35px}.reader{width:90px;height:135px;border-radius:10px;background:linear-gradient(145deg,#27394a,#0c131a);box-shadow:0 20px 28px rgba(0,0,0,.18);position:relative}.reader:before{content:"";position:absolute;width:42px;height:42px;border-radius:50%;border:2px solid #62d4ff;left:24px;top:29px}.reader:after{content:"";position:absolute;left:22px;right:22px;bottom:20px;height:5px;background:#2c4256;border-radius:99px}.switch{width:170px;height:62px;border-radius:8px;background:linear-gradient(145deg,#28394a,#0b131b);box-shadow:0 20px 25px rgba(0,0,0,.2);position:relative}.switch:after{content:"••••••••••••";position:absolute;letter-spacing:5px;color:#59cfff;font-size:16px;left:18px;top:18px}.offer-side{display:grid;grid-template-columns:1fr;gap:12px}.side-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:16px;display:flex;gap:14px;align-items:center}.side-card .small-visual{width:92px;height:80px;border-radius:9px;background:#f0f4f8;display:grid;place-items:center;flex:none}.side-card h4{margin:0 0 5px;font-size:14px}.side-card p{margin:0;color:var(--muted);font-size:11px}.side-card .mini-price{font-weight:900;margin-top:8px}
/* Categories */
.cat-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.cat-card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:19px;min-height:150px;position:relative;overflow:hidden;transition:.2s}.cat-card:hover{transform:translateY(-3px);box-shadow:0 12px 28px rgba(16,32,51,.08);border-color:#cbd7e5}.cat-icon{width:48px;height:48px;border-radius:10px;background:#edf5ff;color:var(--blue);display:grid;place-items:center;font-size:23px;margin-bottom:18px}.cat-card h3{font-size:15px;margin:0 0 5px}.cat-card p{font-size:11px;color:var(--muted);margin:0}.cat-card a{position:absolute;right:15px;bottom:15px;color:var(--blue);font-size:11px;font-weight:800}
/* Products */
.product-toolbar{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.chips{display:flex;gap:7px;flex-wrap:wrap}.chip{border:1px solid #dbe3ec;background:#fff;border-radius:99px;padding:7px 11px;font-size:11px;font-weight:800;color:#4b5d70}.chip.active,.chip:hover{background:#eaf3ff;border-color:#9dc5ff;color:#1260d7}.products-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.p-card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;position:relative;transition:.2s}.p-card:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(16,32,51,.08)}.p-img{height:185px;background:linear-gradient(145deg,#f4f7fa,#fff);display:grid;place-items:center;position:relative}.p-img img{width:150px;height:150px;object-fit:contain;display:block;position:relative;z-index:1}.p-brand{position:absolute;left:11px;top:10px;background:#fff;border:1px solid #e2e8ef;border-radius:5px;padding:4px 7px;font-size:9px;font-weight:900;color:#33485f}.p-badge{position:absolute;right:10px;top:10px;background:#e8590c;color:#fff;border-radius:99px;padding:4px 7px;font-size:9px;font-weight:900}.p-body{padding:14px}.p-cat{font-size:9px;color:#789; text-transform:uppercase;letter-spacing:.08em;font-weight:800}.p-card h3{font-size:13px;line-height:1.35;margin:6px 0 8px;min-height:35px}.p-meta{font-size:10px;color:var(--muted);margin-bottom:10px}.p-price{font-size:18px;font-weight:900}.p-old{font-size:10px;color:#9aa5b2;text-decoration:line-through;margin-left:5px}.p-foot{display:flex;justify-content:space-between;align-items:center;margin-top:10px}.p-stock{font-size:10px;color:var(--green);font-weight:800}.buy{background:var(--navy2);color:#fff;border-radius:7px;padding:8px 10px;font-size:10px;font-weight:900}.buy:hover{background:var(--blue)}
/* Brands */
.brand-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.brand-card{height:92px;background:#fff;border:1px solid var(--line);border-radius:11px;display:grid;place-items:center;padding:18px;filter:none;transition:.2s}.brand-card:hover{box-shadow:0 8px 22px rgba(16,32,51,.07);transform:translateY(-2px)}.brand-logo{font-size:22px;font-weight:950;letter-spacing:-.04em}.zkteco{color:#58a832}.dahua{color:#222}.dahua b{color:#e31b23}.ubiq{color:#1d2228}.ruijie{color:#d61f2c;font-style:italic}.bdn{color:#222;border:2px solid #222;padding:2px 8px;font-size:20px}
/* Trust / installer */
.trust{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:#dfe6ee;border:1px solid #dfe6ee;border-radius:12px;overflow:hidden}.trust-item{background:#fff;padding:18px}.trust-item strong{display:block;font-size:13px}.trust-item span{font-size:11px;color:var(--muted)}.installer{background:linear-gradient(105deg,#0b1b2e,#12365b);color:#fff;border-radius:14px;padding:23px 26px;display:flex;align-items:center;justify-content:space-between;gap:25px}.installer h3{margin:0 0 5px;font-size:20px}.installer p{margin:0;color:#bcd0e2;font-size:12px}.contact{background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px;display:flex;align-items:center;justify-content:space-between}.contact h2{margin:0 0 7px}.contact p{margin:0;color:var(--muted);font-size:13px}
/* Footer */
.site-footer{background:#071525;color:#c8d5e2;margin-top:0}.footer-grid{padding:36px 0;display:grid;grid-template-columns:1.3fr 1fr 1fr 1fr;gap:30px}.footer-brand{color:#fff;font-weight:900;font-size:22px;letter-spacing:.1em}.site-footer h4{color:#fff;margin:0 0 10px;font-size:12px}.site-footer p,.site-footer li{font-size:11px;line-height:1.7;color:#9eb0c2}.site-footer ul{padding:0;margin:0;list-style:none}.copyright{border-top:1px solid rgba(255,255,255,.08);padding:14px 0;font-size:10px;color:#8093a7}
/* Shop */
.shop-shell{padding:32px 0}.shop-layout{display:grid;grid-template-columns:230px 1fr;gap:24px}.filters{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;height:max-content}.filters h3{font-size:14px;margin:0 0 15px}.filters a{display:block;padding:8px 0;font-size:12px;color:#52677d}.filters a.active,.filters a:hover{color:var(--blue);font-weight:800}.shop-title{display:flex;justify-content:space-between;align-items:center;margin-bottom:17px}.shop-title h1{margin:0;font-size:28px}.count{font-size:11px;color:var(--muted)}
@media(max-width:980px){.isd-head-main{grid-template-columns:1fr;gap:12px}.head-actions{display:none}.isd-nav .wrap{overflow:auto}.hero-inner{grid-template-columns:1fr}.hero-products{display:none}.offer-grid{grid-template-columns:1fr}.cat-grid{grid-template-columns:repeat(2,1fr)}.products-grid{grid-template-columns:repeat(2,1fr)}.brand-grid{grid-template-columns:repeat(3,1fr)}.trust{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.shop-layout{grid-template-columns:1fr}}
@media(max-width:560px){.wrap{width:94%}.isd-top{display:none}.isd-head-main{padding:10px 0}.search{height:42px}.isd-nav .wrap{gap:18px}.isd-nav a{font-size:11px}.cat-btn{padding:10px 12px}.hero-v3,.hero-inner{min-height:245px}.hero h1{font-size:35px}.hero p{font-size:13px}.section{padding:30px 0}.cat-grid,.products-grid,.brand-grid{grid-template-columns:1fr 1fr}.offer-main{grid-template-columns:1fr}.product-visual{height:190px}.trust{grid-template-columns:1fr}.installer,.contact{display:block}.installer .btn,.contact .btn{margin-top:15px}.footer-grid{grid-template-columns:1fr}}
.remote-product-image{width:100%;height:100%;object-fit:contain;display:block;padding:18px;box-sizing:border-box}
.product-page{padding-top:30px;padding-bottom:70px}.breadcrumbs{font-size:13px;color:#6d7c91;margin-bottom:24px}.breadcrumbs a{color:#1d68d5;text-decoration:none}.product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:46px;align-items:start}.product-gallery{background:#fff;border:1px solid #dce4ed;border-radius:20px;padding:20px}.product-main-image{height:500px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#f8fafc,#eef3f8);border-radius:16px;overflow:hidden}.product-main-image img{width:100%;height:100%;object-fit:contain;padding:35px;box-sizing:border-box}.gallery-note{font-size:12px;color:#8492a5;margin:12px 4px 0}.product-summary{padding-top:10px}.p-brand-label{display:inline-block;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#2368d5;background:#edf4ff;border-radius:999px;padding:7px 11px}.product-summary h1{font-size:40px;line-height:1.08;margin:14px 0 12px;color:#10233b}.product-model{font-size:13px;color:#718097;margin-bottom:20px}.product-price{font-size:34px;font-weight:900;color:#10233b;margin:8px 0}.product-stock{font-size:14px;font-weight:800;color:#149d69;margin:8px 0 20px}.product-stock span{color:#16a36c}.product-desc{font-size:16px;line-height:1.65;color:#45556a}.product-buy{margin-top:22px}.product-buy .quantity input{height:48px;border:1px solid #ccd6e2;border-radius:8px}.product-buy .single_add_to_cart_button{background:#0d2137!important;border-radius:9px!important;padding:15px 25px!important;font-weight:800!important}.product-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.product-links a{display:inline-block;border:1px solid #cfd9e5;padding:11px 14px;border-radius:9px;text-decoration:none;color:#18324f;font-weight:800;font-size:13px;background:#fff}.product-info-grid{display:grid;grid-template-columns:1.4fr .6fr;gap:22px;margin-top:35px}.info-box{background:#fff;border:1px solid #dce4ed;border-radius:16px;padding:24px}.info-box h2{font-size:21px;margin:0 0 15px;color:#10233b}.specs-text{line-height:1.8;color:#4b5c71}.info-box ul{padding-left:20px;color:#4b5c71;line-height:2}.large-visual{width:55%;height:55%;min-width:220px;min-height:180px}.large-visual.camera,.large-visual.reader,.large-visual.device-card,.large-visual.barrier,.large-visual.switch{transform:scale(1.45)}
@media(max-width:800px){.product-layout,.product-info-grid{grid-template-columns:1fr}.product-main-image{height:360px}.product-summary h1{font-size:30px}}
.product-page{padding:28px 0 70px}.breadcrumbs{font-size:13px;color:#6b7280;margin-bottom:22px}.breadcrumbs a{color:#334155;text-decoration:none}.product-layout{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);gap:42px;align-items:start}.product-gallery{background:#fff}.product-main-image{min-height:520px;border:1px solid #e5e7eb;border-radius:18px;background:#f8fafc;display:flex;align-items:center;justify-content:center;padding:32px}.product-main-image img{max-width:100%;max-height:520px;width:auto;height:auto;object-fit:contain;display:block}.product-thumbs{display:flex;gap:10px;margin-top:12px;flex-wrap:wrap}.product-thumbs button{width:82px;height:82px;border:1px solid #dbe1e8;border-radius:10px;background:#fff;padding:5px;cursor:pointer}.product-thumbs img{width:100%;height:100%;object-fit:contain}.gallery-note{font-size:12px;color:#7b8491;margin-top:10px}.product-summary{padding-top:8px}.p-brand-label{font-size:13px;font-weight:800;color:#2563eb;text-transform:uppercase;letter-spacing:.06em}.product-summary h1{font-size:40px;line-height:1.08;margin:9px 0 12px}.product-model{font-size:13px;color:#667085}.product-price{font-size:32px;font-weight:900;margin:22px 0 8px}.product-price small{font-size:13px;font-weight:700;color:#667085}.product-stock{font-size:13px;color:#166534;font-weight:700;margin-bottom:22px}.product-stock span{color:#16a34a}.product-desc{font-size:16px;line-height:1.65;color:#344054;margin-bottom:22px}.product-buy .quantity input{height:44px}.product-buy .single_add_to_cart_button{border:0;border-radius:10px;padding:13px 22px;font-weight:800;background:#111827;color:#fff}.product-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}.product-links a{display:inline-flex;padding:11px 14px;border:1px solid #d7dde5;border-radius:10px;text-decoration:none;font-size:13px;font-weight:800;color:#1f2937;background:#fff}.product-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:34px}.info-box{border:1px solid #e5e7eb;border-radius:16px;padding:24px;background:#fff}.info-box h2{font-size:18px;margin:0 0 14px}.specs-text{font-size:15px;line-height:1.7;color:#344054}.info-box ul{margin:0;padding-left:18px;color:#475467;line-height:1.9}.large-visual{width:280px;height:320px}@media(max-width:900px){.product-layout,.product-info-grid{grid-template-columns:1fr}.product-main-image{min-height:360px}.product-summary h1{font-size:32px}}
