/*
Theme Name: Catalogo B2B
Description: Plantilla WordPress para catálogo B2B con selección de cantidades y cotización por WhatsApp.
Version: 1.0.0
Author: Black Solutions
*/
:root{--primary:#111827;--accent:#16a34a;--soft:#f5f7fa;--border:#e5e7eb;--text:#172033;--muted:#667085}
*{box-sizing:border-box}body{margin:0;font-family:Inter,Arial,sans-serif;color:var(--text);background:#fff}a{text-decoration:none;color:inherit}
.container{width:min(1180px,92%);margin:auto}.site-header{border-bottom:1px solid var(--border);position:sticky;top:0;background:#fff;z-index:30}.header-inner{height:74px;display:flex;align-items:center;gap:30px}.logo{font-size:22px;font-weight:800}.nav{display:flex;gap:22px;font-size:14px}.header-actions{margin-left:auto;display:flex;gap:10px;align-items:center}.search{border:1px solid var(--border);padding:11px 14px;border-radius:10px;min-width:210px}.quote-button{background:var(--primary);color:#fff;border:0;border-radius:10px;padding:12px 16px;font-weight:700;cursor:pointer}
.hero{background:var(--soft);padding:70px 0}.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:40px;align-items:center}.eyebrow{font-size:13px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--accent)}h1{font-size:clamp(38px,5vw,66px);line-height:1.02;margin:12px 0 20px;letter-spacing:-.04em}.hero p{font-size:18px;color:var(--muted);max-width:600px}.hero-image{height:360px;border-radius:24px;background:linear-gradient(135deg,#dfe5ea,#fff);display:flex;align-items:center;justify-content:center;color:#8993a0;font-weight:700}
.section{padding:64px 0}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:25px}.section h2{font-size:32px;margin:0}.muted{color:var(--muted)}
.categories,.products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.category-card,.product-card{border:1px solid var(--border);border-radius:16px;overflow:hidden;background:#fff}.category-img,.product-img{background:#f3f5f7;min-height:180px;display:flex;align-items:center;justify-content:center;color:#98a2b3}.category-body,.product-body{padding:18px}.product-name{font-weight:800;margin:7px 0}.sku{font-size:12px;color:var(--muted)}.qty{display:flex;align-items:center;gap:8px;margin:14px 0}.qty button{width:34px;height:34px;border:1px solid var(--border);background:#fff;border-radius:8px;cursor:pointer}.qty input{width:48px;text-align:center;border:1px solid var(--border);border-radius:8px;padding:8px}.add-quote{width:100%;border:0;background:var(--primary);color:#fff;border-radius:9px;padding:12px;font-weight:700;cursor:pointer}
.cta{background:var(--primary);color:#fff;border-radius:24px;padding:45px;display:flex;justify-content:space-between;align-items:center;gap:25px}.cta p{color:#cbd5e1}.cta .quote-button{background:#fff;color:var(--primary)}
.site-footer{background:#0b1220;color:#dbe2ea;padding:45px 0;margin-top:40px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.footer-title{font-weight:800;margin-bottom:12px}
.catalog-toolbar{display:flex;justify-content:space-between;gap:12px;margin:20px 0}.filters{display:flex;gap:8px;flex-wrap:wrap}.chip{border:1px solid var(--border);padding:9px 12px;border-radius:999px;background:#fff}
.quote-drawer{position:fixed;right:0;top:0;height:100vh;width:min(410px,94vw);background:#fff;box-shadow:-15px 0 40px rgba(0,0,0,.12);z-index:100;padding:24px;transform:translateX(105%);transition:.25s;overflow:auto}.quote-drawer.open{transform:none}.quote-head{display:flex;justify-content:space-between;align-items:center}.quote-item{padding:15px 0;border-bottom:1px solid var(--border)}.quote-row{display:flex;justify-content:space-between;gap:10px}.quote-close{border:0;background:none;font-size:24px;cursor:pointer}.whatsapp{width:100%;background:var(--accent);color:#fff;border:0;border-radius:10px;padding:14px;font-weight:800;cursor:pointer;margin-top:15px}.empty{padding:30px 0;color:var(--muted)}
@media(max-width:900px){.nav{display:none}.search{display:none}.hero-grid{grid-template-columns:1fr}.categories,.products{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr}.cta{display:block}}
@media(max-width:520px){.header-inner{height:64px}.categories,.products{grid-template-columns:1fr 1fr;gap:10px}.product-body{padding:12px}.category-img,.product-img{min-height:135px}.hero{padding:45px 0}.section{padding:45px 0}.cta{padding:30px}}
