:root{
  --bg:#f4f6f8;--surface:#fff;--surface-2:#f8fafb;--text:#18212b;--muted:#687482;
  --line:#dfe5ea;--brand:#0051bd;--brand-dark:#003f92;--danger:#a93333;--warn:#8b6212;
  --shadow:0 8px 30px rgba(24,33,43,.07);--radius:14px;--max:1440px;
}
*{box-sizing:border-box}html{font-family:Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--text);background:var(--bg)}body{margin:0;line-height:1.45}a{color:var(--brand);text-decoration:none}a:hover{text-decoration:underline}code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.9em;word-break:break-word}
.topbar,.shop-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:24px;min-height:64px;padding:10px 24px;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.brand{font-weight:800;color:var(--text);white-space:nowrap}.topbar nav,.shop-header nav{display:flex;flex-wrap:wrap;gap:6px;flex:1}.topbar nav a,.shop-header nav a{padding:8px 10px;border-radius:9px;color:#35414d}.topbar nav a:hover,.shop-header nav a:hover{background:#eef4f1;text-decoration:none;color:var(--brand)}.userbox{font-size:.9rem;color:var(--muted);white-space:nowrap}.userbox a{margin-left:8px}
.page{width:min(calc(100% - 32px),var(--max));margin:30px auto 70px}.page>h1{font-size:1.65rem;margin:0 0 20px}.footer{padding:26px;text-align:center;color:var(--muted);font-size:.88rem;border-top:1px solid var(--line);background:#fff}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);padding:22px;margin:0 0 20px;box-shadow:var(--shadow)}.card h2:first-child{margin-top:0}.narrow{max-width:620px;margin:40px auto}.muted{color:var(--muted)}.eyebrow{display:inline-block;font-size:.78rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--brand)}
.btn,button.btn{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:8px 14px;border:1px solid #bdc7ce;border-radius:9px;background:#fff;color:#26323c;font:inherit;font-weight:650;cursor:pointer}.btn:hover{text-decoration:none;background:#f4f7f9}.btn.primary{background:var(--brand);border-color:var(--brand);color:#fff}.btn.primary:hover{background:var(--brand-dark)}.btn.danger{color:#fff;background:var(--danger);border-color:var(--danger)}.btn.small{min-height:30px;padding:5px 9px;font-size:.82rem}
.toolbar{display:flex;gap:12px;justify-content:space-between;align-items:center;margin-bottom:18px;flex-wrap:wrap}.search{display:flex;gap:8px;flex:1;max-width:640px}.search input{flex:1}
input,select,textarea{width:100%;border:1px solid #cbd4db;border-radius:9px;background:#fff;padding:10px 11px;color:var(--text);font:inherit;outline:none}input:focus,select:focus,textarea:focus{border-color:#4b83c9;box-shadow:0 0 0 3px rgba(0,81,189,.10)}label{display:flex;flex-direction:column;gap:6px;font-size:.9rem;font-weight:650}label.check{flex-direction:row;align-items:center;gap:8px;font-weight:500}label.check input{width:auto}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin-bottom:18px}.form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions{display:flex;align-items:end;gap:9px;flex-wrap:wrap}.check-grid{display:flex;flex-wrap:wrap;gap:12px 18px;margin:16px 0}.permission-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:14px 0 22px}.permission-grid .card{padding:13px;margin:0;align-items:flex-start}.permission-grid small{display:block;color:var(--muted);font-weight:400;margin-top:3px}
.table-wrap{overflow:auto;background:#fff;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}table{border-collapse:collapse;width:100%;min-width:760px}th,td{padding:11px 13px;text-align:left;border-bottom:1px solid #edf0f2;vertical-align:top}th{font-size:.78rem;text-transform:uppercase;letter-spacing:.04em;color:#64717e;background:#f8fafb}tbody tr:hover{background:#fbfcfd}.table-wrap tr:last-child td{border-bottom:0}
.flash{padding:12px 14px;border-radius:10px;margin:0 0 16px;border:1px solid}.flash.success{background:#edf8f2;border-color:#b8ddca;color:#195a3f}.flash.error{background:#fff0f0;border-color:#edc0c0;color:#8b2525}.flash.warning{background:#fff8e9;border-color:#ead39c;color:#72500d}.flash.info{background:#edf5fb;border-color:#bfd7e7;color:#28576f}
.stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:22px}.stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:18px;box-shadow:var(--shadow)}.stat strong{display:block;font-size:1.8rem}.stat span{display:block;color:var(--muted);font-size:.75rem;margin-top:5px;text-transform:uppercase;letter-spacing:.04em}
.auth-body{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#eef5f1,#f5f7f9)}.auth-card{width:min(92vw,420px);background:#fff;padding:30px;border:1px solid var(--line);border-radius:18px;box-shadow:0 20px 70px rgba(24,33,43,.12)}.auth-card h1{margin:0}.auth-card form{display:grid;gap:15px;margin-top:22px}
.hero{min-height:390px;display:grid;align-items:center;border-radius:20px;background:linear-gradient(120deg,#e8f4ed,#f7faf8);border:1px solid #d8e8df;padding:50px;margin-bottom:34px}.hero>div{max-width:760px}.hero h1{font-size:clamp(2.1rem,5vw,4rem);line-height:1.04;margin:12px 0 18px}.hero p{font-size:1.08rem;color:#53616d;max-width:660px}.hero-actions{display:flex;gap:10px;margin-top:25px}
.catalog-head{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}.catalog-head h1{margin-bottom:0}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px;box-shadow:var(--shadow)}.product-card h3{margin:7px 0}.product-card p{color:var(--muted);min-height:42px}.product-image-placeholder{height:150px;border-radius:10px;display:grid;place-items:center;background:#eef4f1;color:#7a9c8d;font-size:1.5rem;font-weight:900;margin-bottom:12px}.product-meta{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:12px}.badge{display:inline-block;margin-top:10px;padding:4px 8px;border-radius:999px;background:#edf5fb;font-size:.75rem;color:#3b6177}
.detail-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.detail-grid strong{display:block;font-size:.75rem;text-transform:uppercase;color:var(--muted);margin-bottom:4px}.line-card{border:1px solid var(--line);border-radius:12px;padding:15px;margin:10px 0}.line-main{display:flex;justify-content:space-between;gap:14px}.batch-box{background:var(--surface-2);border-radius:9px;padding:12px;margin-top:12px}.batch-box ul{margin:8px 0;padding-left:20px}.inline-form{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px}.inline-form select{max-width:450px}.inline-form input{max-width:150px}
dl{display:grid;grid-template-columns:160px 1fr;gap:8px 14px}dt{font-weight:700;color:var(--muted)}dd{margin:0}
@media(max-width:1100px){.stats{grid-template-columns:repeat(3,1fr)}.product-grid{grid-template-columns:repeat(3,1fr)}.form-grid.three,.permission-grid{grid-template-columns:repeat(2,1fr)}.topbar{align-items:flex-start;flex-wrap:wrap}.topbar nav{order:3;width:100%}}
@media(max-width:720px){.page{width:min(calc(100% - 20px),var(--max));margin-top:18px}.topbar,.shop-header{padding:10px 12px;gap:8px;flex-wrap:wrap}.shop-header nav{width:100%;order:3}.form-grid,.form-grid.three,.permission-grid,.detail-grid{grid-template-columns:1fr}.product-grid{grid-template-columns:repeat(2,1fr)}.stats{grid-template-columns:repeat(2,1fr)}.catalog-head,.line-main{align-items:stretch;flex-direction:column}.hero{padding:28px 20px;min-height:330px}}
@media(max-width:460px){.product-grid,.stats{grid-template-columns:1fr}.hero-actions,.toolbar,.search{align-items:stretch;flex-direction:column}.btn{width:100%}}

.product-image{width:100%;height:150px;object-fit:contain;border-radius:10px;background:#fff;margin-bottom:12px}

.product-images-admin{margin-top:20px}
.product-image-admin-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:14px;margin-top:16px}
.product-image-admin-item{border:1px solid var(--line);border-radius:12px;padding:10px;background:#fff}
.product-image-admin-item img{width:100%;height:160px;object-fit:contain;border-radius:8px;background:#f7f7f7;margin-bottom:8px}
.product-image-admin-item .form-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.product-image-admin-item form{margin:0}

/* ===== V8 portal cliente: cuentas, precios, carrito y pedidos ===== */
.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.inline{display:inline;margin:0}.link-button{border:0;background:none;padding:0;color:var(--brand);font:inherit;cursor:pointer;text-decoration:none}.link-button:hover{text-decoration:underline}.danger-link{color:var(--danger)}
.account-links{margin-top:18px;color:var(--muted)}.account-hero{display:flex;justify-content:space-between;align-items:center;gap:24px}.account-hero h1{margin:6px 0}.price-profile{min-width:230px;padding:16px 18px;background:var(--surface-2);border:1px solid var(--line);border-radius:12px}.price-profile span,.price-profile small{display:block;color:var(--muted)}.price-profile strong{display:block;font-size:1.2rem;margin:3px 0}.account-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.account-action{display:block;color:var(--text);transition:transform .15s ease,box-shadow .15s ease}.account-action:hover{transform:translateY(-2px);text-decoration:none}.account-action strong{display:block;font-size:1.12rem;margin-bottom:5px}.account-action span{color:var(--muted)}
.stock-reference{margin-top:10px;padding:7px 9px;border-radius:8px;background:#f1f7f4;color:#335f4d;font-size:.82rem}.stock-reference.stock-zero{background:#fff5e9;color:#7b5719}.product-price{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;margin:12px 0}.product-price strong{font-size:1.25rem}.product-price small{width:100%;color:var(--muted)}.old-price{text-decoration:line-through;color:var(--muted)}.discount-badge{display:inline-block;padding:3px 7px;border-radius:999px;background:#eaf6ef;color:#1d704d;font-size:.74rem;font-weight:800}.add-cart-form{display:grid;grid-template-columns:100px 1fr;gap:8px;align-items:end;margin-top:14px}.add-cart-form label{font-size:.78rem}
.cart-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.cart-lines{min-width:0}.cart-line{display:grid;grid-template-columns:110px minmax(0,1fr) 120px 145px;gap:16px;align-items:center}.cart-line h3{margin:0 0 5px}.cart-thumb img{width:100px;height:100px;object-fit:contain;border-radius:10px;background:#fff}.product-image-placeholder.small{height:100px;margin:0}.cart-amount{display:grid;gap:3px;text-align:right}.cart-amount small{color:var(--muted)}.cart-summary{position:sticky;top:88px}.cart-summary dl{grid-template-columns:1fr auto}.cart-summary dd{text-align:right}.wide{width:100%;margin-top:16px}.small-text{font-size:.82rem}.empty-state{text-align:center;padding:45px 20px}
.checkout-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:20px;align-items:start}.checkout-form{margin-top:20px;display:grid;gap:16px}.status-pill{display:inline-block;padding:5px 9px;border-radius:999px;font-size:.78rem;font-weight:800;background:#edf5fb;color:#385f76}.status-pill.large{font-size:.9rem;padding:8px 12px}.status-0{background:#edf5fb;color:#385f76}.status-1{background:#fff6df;color:#765710}.status-2{background:#eaf7ef;color:#226744}.status-3{background:#fff0d9;color:#80591a}.status-4{background:#fdecec;color:#8b2f2f}.order-history ol{padding-left:24px}.order-history li{margin:10px 0}
@media(max-width:950px){.cart-layout,.checkout-layout{grid-template-columns:1fr}.cart-summary{position:static}.cart-line{grid-template-columns:90px minmax(0,1fr) 110px}.cart-amount{grid-column:2/4;text-align:left;grid-template-columns:auto auto;align-items:center}.account-actions{grid-template-columns:1fr 1fr}.account-hero{align-items:flex-start;flex-direction:column}.price-profile{width:100%}}
@media(max-width:620px){.cart-line{grid-template-columns:70px 1fr}.cart-qty,.cart-amount{grid-column:1/3}.cart-amount{grid-template-columns:1fr 1fr}.cart-thumb img,.product-image-placeholder.small{width:70px;height:70px}.account-actions{grid-template-columns:1fr}.add-cart-form{grid-template-columns:1fr}}

/* ========================================================================== */
/* V10-A · Storefront cliente - diseño comercial tradicional / responsive      */
/* ========================================================================== */
body.storefront{--store-blue:#0051bd;--store-blue-dark:#003d8f;--store-blue-soft:#eaf2fc;--store-green:#88c75c;--store-green-dark:#5d9939;--store-red:#d9272e;--store-ink:#172433;--store-muted:#657181;--store-line:#d7dde5;--store-bg:#fff;--store-soft:#f4f6f8;--store-max:1500px;background:#fff;color:var(--store-ink);font-family:Arial,"Segoe UI",sans-serif;line-height:1.4}
body.storefront a{color:var(--store-blue)}
body.storefront .page.store-page{width:min(calc(100% - 32px),var(--store-max));margin:24px auto 56px}
.store-shell{width:min(calc(100% - 32px),var(--store-max));margin:0 auto}
.store-utility{background:var(--store-blue);color:#fff;font-size:12px}.store-utility .store-shell{height:34px;display:flex;align-items:center;justify-content:space-between;gap:20px}.store-utility a{color:#fff}.store-utility-links{display:flex;align-items:center;gap:22px}
.store-header{position:sticky;top:0;z-index:60;background:#fff;box-shadow:0 1px 0 rgba(15,35,55,.12)}.store-header-row{height:82px;display:grid;grid-template-columns:auto 235px minmax(260px,1fr) auto;gap:20px;align-items:center}.store-logo{display:flex;align-items:center}.store-logo img{display:block;width:225px;max-height:60px;object-fit:contain}.store-menu-button{display:none;width:42px;height:42px;border:0;background:transparent;padding:7px;cursor:pointer}.store-menu-button span{display:block;height:3px;background:var(--store-blue);margin:5px 0;border-radius:1px}
.store-search{display:flex;height:42px;border:1px solid #aeb9c5;background:#fff}.store-search input{border:0;border-radius:0;box-shadow:none;padding:0 14px;font-size:14px}.store-search input:focus{box-shadow:none}.store-search button{width:86px;border:0;background:var(--store-blue);color:#fff;font-weight:700;cursor:pointer}.store-search button:hover{background:var(--store-blue-dark)}.store-search-disabled{align-items:center;padding:0 14px;color:var(--store-muted);background:#f7f8fa}
.store-header-actions{display:flex;align-items:center;gap:12px;justify-self:end}.store-account{position:relative}.store-account-button,.store-login-link{border:0;background:transparent;text-align:left;padding:5px 10px;color:var(--store-blue);cursor:pointer;display:block;min-width:115px}.store-login-link{text-decoration:none}.store-account-button span,.store-login-link span{display:block;font-size:11px;text-transform:uppercase}.store-account-button strong,.store-login-link strong{display:block;font-size:15px}.store-account-menu{display:none;position:absolute;right:0;top:52px;width:250px;background:#fff;border:1px solid var(--store-line);box-shadow:0 12px 32px rgba(12,31,52,.17);padding:8px;z-index:80}.store-account-menu.is-open{display:block}.store-account-menu a{display:block;padding:10px 12px;color:var(--store-ink);border-bottom:1px solid #eef1f4}.store-account-menu a:hover{background:#f5f8fb;text-decoration:none;color:var(--store-blue)}.store-account-menu .store-account-name{padding:10px 12px;font-weight:700;color:var(--store-blue);border-bottom:2px solid var(--store-blue)}.store-account-menu .store-account-logout{color:#b1262c;border-bottom:0}
.store-cart{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--store-blue);min-width:85px}.store-cart:hover{text-decoration:none}.store-cart-icon{font-size:28px;line-height:1;transform:rotate(90deg)}.store-cart strong{font-size:17px}.store-cart small{display:block;color:var(--store-muted);font-size:11px}
.store-category-bar{background:#f6f7f9;border-top:1px solid #edf0f3;border-bottom:1px solid #dce2e8}.store-category-bar .store-shell{display:flex;align-items:center;overflow:auto;scrollbar-width:none}.store-category-bar .store-shell::-webkit-scrollbar{display:none}.store-category-bar a{flex:0 0 auto;color:#17314f;padding:12px 17px;border-right:1px solid #dce2e8;font-size:13px;text-decoration:none;white-space:nowrap}.store-category-bar a:hover{background:#fff;color:var(--store-blue)}.store-category-bar .store-category-main{background:var(--store-blue);color:#fff;font-weight:700}.store-category-bar .store-orders-link{margin-left:auto;color:var(--store-blue);font-weight:700;border-left:1px solid #dce2e8}
.store-drawer,.store-drawer-overlay{display:none}
.store-breadcrumb{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--store-muted);margin:10px 0 22px;padding:10px 12px;background:#f3f5f7;border-left:4px solid var(--store-blue)}.store-breadcrumb a{color:var(--store-blue)}
.store-page-title,.store-catalog-title{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;margin:0 0 22px}.store-page-title h1,.store-catalog-title h1{margin:0 0 5px;font-size:28px;color:#17314f}.store-page-title p,.store-catalog-title p{margin:0;color:var(--store-muted)}.store-result-count{color:var(--store-blue);font-size:18px}
body.storefront .btn,body.storefront button.btn{border-radius:3px;min-height:40px;font-size:14px;border-color:#aab5c0;background:#fff;color:#25374a}body.storefront .btn.primary{background:var(--store-blue);border-color:var(--store-blue);color:#fff}body.storefront .btn.primary:hover{background:var(--store-blue-dark)}body.storefront .btn.danger{background:#b7282e;border-color:#b7282e;color:#fff}.btn.danger-outline{background:#fff!important;color:#b7282e!important;border-color:#b7282e!important}
body.storefront .card{border-radius:4px;box-shadow:none;border-color:var(--store-line);padding:20px}
body.storefront .flash{border-radius:3px}

/* Home */
.store-hero{min-height:420px;display:grid;grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);background:linear-gradient(90deg,#f6f9fd 0,#fff 58%);border:1px solid #dce4ec;overflow:hidden;margin:4px 0 26px;position:relative}.store-hero:before{content:"";position:absolute;left:0;top:0;bottom:0;width:7px;background:var(--store-green)}.store-hero-content{padding:58px 55px;position:relative;z-index:2}.store-kicker{display:block;color:var(--store-blue);font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.08em;margin-bottom:8px}.store-hero h1{font-size:clamp(32px,4vw,52px);line-height:1.07;letter-spacing:-.02em;color:#102c4c;margin:0 0 20px;max-width:820px}.store-hero p{font-size:18px;color:#526173;max-width:760px;margin:0}.store-hero-actions{display:flex;gap:10px;margin-top:28px}.store-hero-meta{display:flex;gap:18px;flex-wrap:wrap;margin-top:26px;color:#38516c;font-size:13px}.store-hero-meta span:before{color:var(--store-green-dark)}.store-hero-visual{position:relative;min-height:380px;background:var(--store-blue);overflow:hidden}.store-hero-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,0) 45%)}.store-hero-visual>img{position:absolute;width:330px;right:30px;top:45px;opacity:.18;filter:brightness(0) invert(1)}.hero-panel{position:absolute;background:#fff;color:var(--store-blue);font-weight:700;border-left:5px solid var(--store-green);padding:14px 22px;box-shadow:0 7px 18px rgba(0,0,0,.18);z-index:2}.hero-panel-a{left:35px;top:90px}.hero-panel-b{right:45px;top:180px}.hero-panel-c{left:80px;bottom:62px}
.store-quick-links{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--store-line);margin-bottom:34px}.store-quick-links a{padding:20px 22px;color:var(--store-ink);border-right:1px solid var(--store-line);text-decoration:none;background:#fff}.store-quick-links a:last-child{border-right:0}.store-quick-links a:hover{background:#f7fafe}.store-quick-links strong{display:block;color:var(--store-blue);margin-bottom:5px}.store-quick-links span{font-size:13px;color:var(--store-muted)}
.store-section{margin:32px 0}.store-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;border-bottom:2px solid var(--store-blue);margin-bottom:18px;padding-bottom:8px}.store-section-head h2{margin:0;color:#17314f}.store-process,.store-public-intro{display:grid;grid-template-columns:repeat(4,1fr);margin:42px 0 10px;border-top:1px solid var(--store-line);border-bottom:1px solid var(--store-line)}.store-process>div,.store-public-intro>div{padding:22px;border-right:1px solid var(--store-line)}.store-process>div:last-child,.store-public-intro>div:last-child{border-right:0}.store-process>div>span{display:grid;width:32px;height:32px;place-items:center;background:var(--store-blue);color:#fff;border-radius:50%;font-weight:700;margin-bottom:10px}.store-process strong,.store-public-intro strong{display:block;color:#17314f;margin-bottom:5px}.store-process p,.store-public-intro p{margin:0;font-size:13px;color:var(--store-muted)}.store-public-intro{grid-template-columns:repeat(3,1fr)}

/* Product catalog */
.catalog-mobile-tools{display:none;margin-bottom:12px}.store-catalog-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:18px;align-items:start}.store-filters{border:1px solid var(--store-line);background:#fff}.store-filter-head{background:var(--store-blue);color:#fff;padding:12px 14px}.store-filter-search{padding:14px;border-bottom:1px solid var(--store-line);display:grid;gap:9px}.store-filter-search label{font-size:12px}.store-filter-group{padding:10px 0}.store-filter-group h2{font-size:13px;text-transform:uppercase;color:#5f6b78;padding:4px 14px 9px;margin:0}.filter-link{display:flex;justify-content:space-between;gap:10px;padding:9px 14px;color:#26394d!important;font-size:13px;border-left:4px solid transparent;text-decoration:none}.filter-link:hover,.filter-link.is-active{background:#eef5fd;border-left-color:var(--store-blue);text-decoration:none}.filter-link.is-active{font-weight:700;color:var(--store-blue)!important}.filter-link small{color:#8a95a0}.store-clear-filter{display:block;margin:0 14px 14px;font-size:13px}.store-sortbar{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#f3f5f7;border:1px solid var(--store-line);padding:10px 12px;margin-bottom:14px;font-size:13px}.store-sortbar form{margin:0}.store-sortbar label{display:flex;align-items:center;flex-direction:row;font-size:12px}.store-sortbar select{width:190px;padding:7px;border-radius:2px}
body.storefront .storefront-products{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.storefront-product-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:12px!important;border-radius:5px!important;box-shadow:0 2px 7px rgba(15,35,55,.09)!important;transition:box-shadow .15s ease}.storefront-product-card:hover{box-shadow:0 5px 16px rgba(15,35,55,.15)!important}.product-card-top{height:23px;display:flex;align-items:flex-start;justify-content:space-between;gap:6px}.product-category{font-size:10px;color:#5e6c79;text-transform:uppercase;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.offer-flag{background:var(--store-red);color:#fff;font-size:10px;padding:3px 6px;font-weight:700;white-space:nowrap}.product-image-link{height:170px;display:grid;place-items:center;margin:4px 0 8px}.storefront-product-card .product-image{height:165px;width:100%;object-fit:contain;margin:0;background:#fff}.storefront-product-card .product-image-placeholder{height:150px;width:100%;margin:0;background:#fff;display:grid;place-items:center}.storefront-product-card .product-image-placeholder img{width:76px;height:76px;opacity:.22}.product-stock-row{display:flex;align-items:center;gap:6px;min-height:18px}.stock-dot{width:8px;height:8px;border-radius:50%;background:#43a047;flex:0 0 auto}.stock-dot.is-empty{background:#c7ccd2}.product-stock-row small{font-size:10px;color:#64717d;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.storefront-product-card h3{font-size:13px;line-height:1.25;margin:6px 0 5px;color:#25374a;min-height:33px}.product-code{font-size:10px;color:#7a8590;min-height:16px}.storefront-product-card .product-price{min-height:53px;margin:8px 0 6px;display:block}.storefront-product-card .product-price strong{color:var(--store-red);font-size:20px;margin-right:7px}.storefront-product-card .product-price.compact strong{font-size:18px}.storefront-product-card .product-price .old-price{font-size:11px}.storefront-product-card .product-price small{display:block;width:auto;font-size:9px;color:#7a8590}.product-note{font-size:9px;color:#665012;margin-bottom:5px}.storefront-product-card .add-cart-form{display:grid;grid-template-columns:1fr;gap:6px;margin-top:auto}.qty-stepper{height:34px;display:grid;grid-template-columns:32px 1fr 32px;border:1px solid #cbd3dc;background:#fff}.qty-stepper button{border:0;background:#fff;color:var(--store-blue);font-size:18px;cursor:pointer}.qty-stepper button:hover{background:#eef5fd}.qty-stepper input{min-width:0;border:0;border-left:1px solid #e5e9ed;border-right:1px solid #e5e9ed;border-radius:0;text-align:center;padding:4px;box-shadow:none}.qty-stepper input::-webkit-inner-spin-button{appearance:none;margin:0}.storefront-product-card .btn.wide,.storefront-product-card .add-cart-form>.btn{min-height:34px;font-size:12px}.store-pagination{display:flex;align-items:center;justify-content:center;gap:6px;margin:24px 0 10px}.store-pagination a{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b9c5d1;color:var(--store-blue);text-decoration:none;background:#fff}.store-pagination a:hover{background:#eef5fd}.store-pagination .is-disabled{pointer-events:none;color:#adb5bd;background:#f5f6f7}.store-pagination span{font-size:13px;padding:0 8px}.store-empty-catalog,.store-empty-cart{text-align:center;border:1px solid var(--store-line);padding:54px 20px;background:#fff}.store-empty-catalog img,.store-empty-cart img{width:80px;height:80px;opacity:.18;margin-bottom:10px}.store-empty-catalog h2,.store-empty-cart h2{color:#17314f;margin:0 0 6px}.store-empty-catalog p,.store-empty-cart p{color:var(--store-muted)}

/* Cart */
.storefront-cart-layout{grid-template-columns:minmax(0,1fr) 340px}.cart-table-head{display:grid;grid-template-columns:minmax(0,1fr) 145px 110px 125px;background:var(--store-blue);color:#fff;padding:10px 14px;font-size:11px;font-weight:700;text-transform:uppercase}.store-cart-line{display:grid!important;grid-template-columns:minmax(0,1fr) 145px 110px 125px!important;gap:0!important;align-items:center!important;border:0!important;border-left:1px solid var(--store-line)!important;border-right:1px solid var(--store-line)!important;border-bottom:1px solid var(--store-line)!important;border-radius:0!important;box-shadow:none!important;margin:0!important;padding:13px 14px!important}.cart-product-block{display:grid;grid-template-columns:85px minmax(0,1fr);gap:14px;align-items:center}.store-cart-line .cart-thumb img,.store-cart-line .product-image-placeholder.small{width:80px;height:80px}.store-cart-line .product-image-placeholder.small img{width:42px;height:42px;opacity:.2}.store-cart-line .cart-description h3{font-size:14px;margin:3px 0}.store-cart-line .cart-unit-price,.store-cart-line .cart-line-total{text-align:right}.store-cart-line .cart-unit-price strong,.store-cart-line .cart-line-total strong{display:block;color:#17314f}.store-cart-line .cart-unit-price small{font-size:9px}.store-cart-line .danger-link{font-size:11px;margin-top:6px}.store-cart-actions{display:flex;justify-content:space-between;gap:10px;padding:14px;border:1px solid var(--store-line);border-top:0;background:#f7f8fa}.store-order-summary{position:sticky;top:142px!important;border-top:4px solid var(--store-blue)!important}.store-order-summary h2{color:#17314f;font-size:18px}.store-order-summary dl{grid-template-columns:1fr auto}.store-order-summary dd{text-align:right}.store-order-summary .summary-total-label,.store-order-summary .summary-total{border-top:1px solid var(--store-line);padding-top:12px;margin-top:6px}.store-order-summary .summary-total strong{color:var(--store-red);font-size:22px}.store-summary-note{font-size:11px;color:var(--store-muted);margin:14px 0 0}.store-order-summary .wide{margin-top:12px}

/* Checkout */
.storefront-checkout-layout{grid-template-columns:minmax(0,1fr) 340px}.store-customer-summary{border-top:4px solid var(--store-green)!important}.store-customer-summary h2,.store-checkout-main>.card h2,.store-checkout-form h2{font-size:18px;color:#17314f;margin-top:0}.store-checkout-table{box-shadow:none;border-radius:0}.store-checkout-table table{min-width:650px}.store-checkout-form{display:grid;gap:14px}.store-notice{border-left:4px solid var(--store-blue);background:#eef5fd;padding:12px 14px}.store-notice strong{color:#17314f}.store-notice p{margin:4px 0 0;color:#526173;font-size:13px}.store-checkout-form .form-actions{justify-content:flex-end}

/* Account */
.store-account-hero{display:grid;grid-template-columns:minmax(0,1fr) 285px;gap:30px;background:#f5f9fe;border:1px solid #d7e2ef;border-left:6px solid var(--store-blue);padding:30px;margin-bottom:20px}.store-account-hero h1{font-size:30px;color:#17314f;margin:4px 0 8px}.store-account-hero p{margin:0;color:var(--store-muted)}.account-identifiers{display:flex;gap:22px;flex-wrap:wrap;margin-top:18px;font-size:12px}.account-identifiers span{color:var(--store-muted)}.account-identifiers strong{color:#24384e;margin-left:5px}.store-account-hero .price-profile{background:#fff;border-radius:2px;border-color:#cfd8e2}.store-account-actions{grid-template-columns:repeat(3,1fr);gap:14px}.store-account-actions .account-action{border:1px solid var(--store-line);padding:22px;text-decoration:none;background:#fff;color:var(--store-ink)}.store-account-actions .account-action:hover{border-color:#9db9dc;background:#f8fbff;transform:none}.account-action-icon{display:block;color:var(--store-blue);font-size:26px;height:34px}.store-account-actions strong{color:#17314f}.store-account-actions em{display:block;font-style:normal;color:var(--store-blue);font-size:12px;margin-top:14px;font-weight:700}.store-account-help{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--store-line);border-bottom:1px solid var(--store-line);padding:20px 0;margin-top:28px}.store-account-help p{margin:4px 0 0;color:var(--store-muted);font-size:13px;max-width:950px}.store-orders-table{border-radius:0;box-shadow:none}.store-orders-table th{background:var(--store-blue);color:#fff}.table-action{white-space:nowrap;font-weight:700}.store-order-detail{border-top:4px solid var(--store-blue)!important}.store-order-notes{border-top:1px solid var(--store-line);margin-top:18px;padding-top:15px}.store-order-notes p{margin:5px 0 0;color:var(--store-muted)}.store-order-lines{border-radius:0;box-shadow:none;margin-bottom:20px}.store-order-history ol{list-style:none;padding:0;margin:0}.store-order-history li{display:grid;grid-template-columns:18px 1fr;gap:8px;position:relative;margin:0!important;padding:0 0 18px}.store-order-history li:not(:last-child):before{content:"";position:absolute;left:6px;top:13px;bottom:0;width:2px;background:#d7e2ef}.history-dot{width:14px;height:14px;border:3px solid var(--store-blue);background:#fff;border-radius:50%;margin-top:3px;z-index:1}.store-order-history time,.store-order-history li div>span{font-size:12px;color:var(--store-muted);margin-left:8px}.store-order-history p{margin:3px 0 0;color:#657181;font-size:12px}.store-bottom-actions{justify-content:space-between}

/* Auth / forms */
body.storefront .narrow.card{max-width:560px;border-top:4px solid var(--store-blue);margin:36px auto;padding:28px}body.storefront .narrow.card h1{font-size:25px;color:#17314f;margin-top:0}body.storefront .narrow.card form{display:grid;gap:14px}.account-links{font-size:13px}

/* Footer */
.store-footer{margin-top:52px;background:#f2f4f6;border-top:5px solid var(--store-blue);color:#4f5e6e}.store-footer-grid{display:grid;grid-template-columns:1.2fr .7fr 1.2fr;gap:50px;padding:34px 0}.store-footer section{display:flex;flex-direction:column;align-items:flex-start}.store-footer-logo{width:230px;height:auto;margin-bottom:12px}.store-footer h3{font-size:14px;color:#17314f;margin:0 0 10px}.store-footer a{font-size:13px;margin:3px 0}.store-footer p{font-size:12px;max-width:540px;margin:0}.store-footer-bottom{background:var(--store-blue);color:#fff;font-size:11px;padding:13px 0;text-align:center}

/* Responsive storefront */
@media(max-width:1250px){.store-header-row{grid-template-columns:auto 200px minmax(220px,1fr) auto;gap:12px}.store-logo img{width:195px}.store-category-bar a{padding:11px 12px}.store-category-bar .store-shell a:nth-of-type(n+7):not(.store-orders-link){display:none}body.storefront .storefront-products{grid-template-columns:repeat(3,minmax(0,1fr))}.store-hero-content{padding:45px 38px}.store-quick-links{grid-template-columns:repeat(2,1fr)}.store-quick-links a:nth-child(2){border-right:0}.store-quick-links a:nth-child(-n+2){border-bottom:1px solid var(--store-line)}}
@media(max-width:980px){body.storefront .page.store-page{width:min(calc(100% - 22px),var(--store-max));margin-top:16px}.store-utility{display:none}.store-header{top:0}.store-header-row{height:70px;grid-template-columns:44px minmax(150px,210px) 1fr auto}.store-menu-button{display:block}.store-logo img{width:190px}.store-account{display:none}.store-login-link{display:none}.store-cart{min-width:auto}.store-cart small{display:none}.store-category-bar{display:none}.store-search{grid-column:1/-1;grid-row:2;height:40px;margin-bottom:10px}.store-header-row{height:auto;padding-top:8px;padding-bottom:0}.store-header-actions{grid-column:4;grid-row:1}.store-drawer-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:80;opacity:0;visibility:hidden;transition:.15s}.store-drawer-overlay.is-open{opacity:1;visibility:visible}.store-drawer{display:block;position:fixed;left:0;top:0;bottom:0;width:min(86vw,350px);background:#fff;z-index:90;transform:translateX(-105%);transition:transform .2s ease;overflow:auto;box-shadow:12px 0 30px rgba(0,0,0,.18)}.store-drawer.is-open{transform:none}.store-drawer-open{overflow:hidden}.store-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:15px;border-bottom:3px solid var(--store-blue)}.store-drawer-head img{width:210px}.store-drawer-head button{border:0;background:transparent;color:var(--store-blue);font-size:32px;cursor:pointer}.store-drawer nav{display:flex;flex-direction:column}.store-drawer nav a{padding:12px 17px;color:#24384e;border-bottom:1px solid #edf0f3;text-decoration:none}.store-drawer nav .drawer-category{padding-left:28px;font-size:13px}.store-drawer nav hr{width:100%;border:0;border-top:4px solid #f2f4f6;margin:0}.store-hero{grid-template-columns:1fr}.store-hero-visual{display:none}.store-hero-content{padding:42px 32px}.store-process{grid-template-columns:repeat(2,1fr)}.store-process>div:nth-child(2){border-right:0}.store-process>div:nth-child(-n+2){border-bottom:1px solid var(--store-line)}.store-catalog-layout{grid-template-columns:1fr}.catalog-mobile-tools{display:block}.store-filters{display:none}.store-filters.is-mobile-open{display:block}.store-filter-group{display:grid;grid-template-columns:repeat(2,1fr)}.store-filter-group h2{grid-column:1/-1}.store-clear-filter{display:inline-block}.storefront-cart-layout,.storefront-checkout-layout{grid-template-columns:1fr}.store-order-summary{position:static!important}.store-account-hero{grid-template-columns:1fr}.store-account-actions{grid-template-columns:1fr}.store-footer-grid{grid-template-columns:1fr 1fr}.store-footer-grid section:first-child{grid-column:1/-1}}
@media(max-width:720px){.store-shell{width:min(calc(100% - 20px),var(--store-max))}.store-header-row{grid-template-columns:40px minmax(135px,1fr) auto;gap:8px}.store-logo img{width:170px}.store-header-actions{grid-column:3}.store-cart span:last-child{display:none}.store-search{grid-column:1/-1}.store-search button{width:62px;font-size:0}.store-search button:after{content:"⌕";font-size:20px}.store-page-title,.store-catalog-title{align-items:flex-start;flex-direction:column}.store-page-title h1,.store-catalog-title h1{font-size:24px}.store-hero-content{padding:34px 23px}.store-hero h1{font-size:34px}.store-hero p{font-size:16px}.store-hero-actions{flex-direction:column;align-items:stretch}.store-hero-actions .btn{width:100%}.store-hero-meta{gap:8px;flex-direction:column}.store-quick-links,.store-process,.store-public-intro{grid-template-columns:1fr}.store-quick-links a,.store-process>div,.store-public-intro>div{border-right:0;border-bottom:1px solid var(--store-line)!important}.store-quick-links a:last-child,.store-process>div:last-child,.store-public-intro>div:last-child{border-bottom:0!important}.store-section-head{align-items:flex-start;flex-direction:column}.store-filter-group{grid-template-columns:1fr}.store-sortbar{align-items:flex-start;flex-direction:column}.store-sortbar form,.store-sortbar label,.store-sortbar select{width:100%}.cart-table-head{display:none}.store-cart-line{grid-template-columns:1fr!important;padding:15px!important;gap:12px!important}.cart-product-block{grid-template-columns:80px 1fr}.store-cart-line .cart-qty,.store-cart-line .cart-unit-price,.store-cart-line .cart-line-total{grid-column:auto;text-align:left}.store-cart-line .cart-unit-price{display:flex;align-items:center;gap:5px}.store-cart-line .cart-line-total{display:flex;justify-content:space-between;align-items:center;border-top:1px solid #edf0f3;padding-top:10px}.store-cart-actions{flex-direction:column}.store-cart-actions .btn{width:100%}.store-account-help{align-items:flex-start;flex-direction:column}.detail-grid{grid-template-columns:1fr 1fr}.store-footer-grid{grid-template-columns:1fr;gap:25px}.store-footer-grid section:first-child{grid-column:auto}.store-footer-logo{width:210px}.store-bottom-actions{flex-direction:column}.store-bottom-actions .btn{width:100%}}
@media(max-width:540px){body.storefront .storefront-products{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.storefront-product-card{padding:9px!important}.product-image-link{height:125px}.storefront-product-card .product-image{height:120px}.storefront-product-card .product-image-placeholder{height:115px}.storefront-product-card h3{font-size:12px;min-height:45px}.storefront-product-card .product-price strong{font-size:17px}.product-card-top{height:20px}.product-category{font-size:9px}.offer-flag{font-size:8px}.storefront-product-card .add-cart-form>.btn{font-size:11px}.store-breadcrumb{font-size:11px;overflow:auto;white-space:nowrap}.detail-grid{grid-template-columns:1fr}.store-account-hero{padding:22px}.store-account-hero h1{font-size:25px}.account-identifiers{flex-direction:column;gap:7px}}
@media(max-width:360px){body.storefront .storefront-products{grid-template-columns:1fr}.store-logo img{width:145px}}
.store-auth-layout{display:grid;grid-template-columns:minmax(0,600px) minmax(280px,420px);justify-content:center;gap:24px;align-items:start}.store-auth-layout .narrow.card{width:100%;max-width:none;margin:0}.store-auth-info{border:1px solid var(--store-line);background:#f6f9fd;padding:32px;min-height:300px}.store-auth-info img{width:90px;height:90px;opacity:.18}.store-auth-info h2{color:#17314f}.store-auth-info p{color:var(--store-muted);font-size:13px}.store-auth-card .form-grid{grid-template-columns:1fr 1fr}.store-auth-card .form-actions{grid-column:1/-1}
@media(max-width:820px){.store-auth-layout{grid-template-columns:1fr}.store-auth-info{min-height:auto}.store-auth-card .form-grid{grid-template-columns:1fr}.store-auth-card .form-actions{grid-column:auto}}

/* ===== V10-B administración tradicional y responsiva ===== */
body.admin-ui{background:#eef2f6;color:#1b2734}.admin-layout{min-height:100vh;display:grid;grid-template-columns:260px minmax(0,1fr)}.admin-sidebar{position:sticky;top:0;height:100vh;background:#fff;border-right:1px solid #d9e1e8;display:flex;flex-direction:column;z-index:50}.admin-brand{min-height:78px;display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:4px solid var(--brand)}.admin-brand img{display:block;width:210px;max-height:52px;object-fit:contain;object-position:left center}.admin-brand button{display:none;border:0;background:none;font-size:30px;color:#35506b;cursor:pointer}.admin-nav{padding:12px 10px;overflow:auto;flex:1}.admin-nav-group{padding:8px 0 12px}.admin-nav-group>span{display:block;padding:5px 11px 6px;color:#7a8794;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.09em}.admin-nav-group>a{display:block;padding:9px 11px;border-radius:5px;color:#263849;font-size:14px;margin:1px 0}.admin-nav-group>a:hover{background:#eef5ff;color:#003f92;text-decoration:none}.admin-nav-group>a.is-active{background:#e4efff;color:#003f92;font-weight:800;border-left:4px solid var(--brand);padding-left:7px}.admin-sidebar-foot{padding:15px 18px;border-top:1px solid #e5e9ed;color:#617080}.admin-sidebar-foot span,.admin-sidebar-foot small{display:block}.admin-sidebar-foot span{font-size:12px;font-weight:800}.admin-sidebar-foot small{font-size:11px;margin-top:2px}.admin-content{min-width:0;display:flex;min-height:100vh;flex-direction:column}.admin-topbar{height:70px;background:#fff;border-bottom:1px solid #d9e1e8;display:flex;align-items:center;padding:0 26px;gap:14px;position:sticky;top:0;z-index:30}.admin-menu-button{display:none;width:42px;height:42px;border:1px solid #d4dce3;border-radius:5px;background:#fff;padding:9px;cursor:pointer}.admin-menu-button span{display:block;height:2px;background:#294258;margin:4px 0}.admin-topbar-title{display:flex;flex-direction:column;min-width:0}.admin-topbar-title span{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#7a8794}.admin-topbar-title strong{font-size:17px;color:#1c3044;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.admin-user{margin-left:auto;display:grid;grid-template-columns:auto auto;column-gap:11px;align-items:center;text-align:right}.admin-user span{font-size:13px;font-weight:750;color:#263849}.admin-user small{grid-column:1;color:#7a8794;font-size:11px}.admin-user a{grid-column:2;grid-row:1/3;border-left:1px solid #dce2e8;padding-left:11px;font-size:12px;font-weight:700}.admin-page{width:min(calc(100% - 42px),1500px);margin:24px auto 46px;flex:1}.admin-page-head{display:flex;justify-content:space-between;align-items:center;margin:0 0 18px}.admin-page-head h1{font-size:25px;margin:0;color:#19324a}.admin-footer{padding:16px 24px;text-align:center;font-size:11px;color:#72808d;border-top:1px solid #d9e1e8;background:#fff}.admin-sidebar-overlay{display:none}.admin-ui .card{border-radius:7px;box-shadow:0 2px 8px rgba(25,43,60,.05);padding:20px}.admin-ui .btn,.admin-ui button.btn{border-radius:5px;min-height:37px}.admin-ui input,.admin-ui select,.admin-ui textarea{border-radius:4px}.admin-ui .table-wrap{border-radius:6px;box-shadow:none}.admin-ui table th{background:#eaf0f5;color:#39516a}.admin-ui tbody tr:hover{background:#f7fbff}.admin-lead{margin:0}.admin-toolbar{margin-bottom:15px}.admin-section-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:15px}.admin-section-head h2{margin:0 0 3px;font-size:18px;color:#1b334a}.admin-section-head p{margin:0}.admin-stats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}.admin-stat{display:block;background:#fff;border:1px solid #d9e1e8;border-top:3px solid var(--brand);padding:15px 16px;color:#23384b}.admin-stat:hover{text-decoration:none;background:#fbfdff}.admin-stat strong{display:block;font-size:26px;line-height:1}.admin-stat span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:#72808d;margin-top:7px}.admin-dashboard-grid{display:grid;grid-template-columns:1.5fr .8fr;gap:18px}.admin-module-links{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e1e6eb}.admin-module-links a{padding:16px;color:#24384a;border-right:1px solid #e1e6eb;border-bottom:1px solid #e1e6eb}.admin-module-links a:nth-child(2n){border-right:0}.admin-module-links a:nth-last-child(-n+2){border-bottom:0}.admin-module-links a:hover{text-decoration:none;background:#f7fbff}.admin-module-links strong,.admin-module-links span{display:block}.admin-module-links strong{font-size:14px}.admin-module-links span{font-size:12px;color:#72808d;margin-top:3px}.admin-portal-status{display:flex;align-items:baseline;gap:9px;margin:10px 0 22px}.admin-portal-status strong{font-size:40px;color:var(--brand)}.admin-portal-status span{color:#647586}.flat-table{border-radius:0;border-left:0;border-right:0;border-bottom:0}.admin-info-strip{background:#eaf4ff;border-left:4px solid var(--brand);padding:13px 15px;color:#35516b;font-size:13px}.row-actions{white-space:nowrap}.row-actions>*{margin-right:8px}.admin-status{display:inline-block;padding:4px 8px;border-radius:12px;font-size:11px;font-weight:750}.admin-status.is-ok{background:#e7f6ed;color:#17633b}.admin-status.is-warn{background:#fff4d8;color:#795a13}.admin-status.is-off{background:#edf0f2;color:#66727d}

/* Banners */
.banner-guidance{display:flex;justify-content:space-between;align-items:center;gap:18px;border-left:4px solid var(--brand)}.banner-guidance p{margin:5px 0 0;color:#667685;font-size:13px}.banner-list-thumb{width:180px;height:58px;object-fit:cover;display:block;background:#edf1f4;border:1px solid #d9e0e6}.banner-admin-table table{min-width:980px}.empty-state{text-align:center;padding:45px!important}.empty-state h2{margin-top:0}.banner-editor{padding-bottom:65px}.banner-upload-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.banner-preview{position:relative;overflow:hidden;border:1px solid #cfd8e0;background:#eef2f5;margin-top:11px}.banner-preview.desktop{aspect-ratio:16/5}.banner-preview.mobile{aspect-ratio:4/3;max-width:360px}.banner-preview img{width:100%;height:100%;object-fit:cover;display:block}.banner-preview .safe-zone{position:absolute;inset:10% 15%;border:2px dashed rgba(255,255,255,.9);box-shadow:0 0 0 999px rgba(0,0,0,.12);display:flex;align-items:center;justify-content:center;color:#fff;font-size:11px;font-weight:800;text-shadow:0 1px 2px #000}.banner-guide{scroll-margin-top:90px}.banner-guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.banner-guide-grid>div{border:1px solid #dce3e9;background:#f9fbfd;padding:15px}.banner-guide-grid strong,.banner-guide-grid span{display:block}.banner-guide-grid strong{font-size:14px;color:#1c3b59}.banner-guide-grid span{font-size:18px;color:var(--brand);font-weight:800;margin:5px 0}.banner-guide-grid p,.banner-rules p{font-size:12px;color:#667685;margin:5px 0}.banner-rules{border-top:1px solid #dfe5ea;margin-top:17px;padding-top:13px}.banner-active-check{justify-content:flex-end;align-self:end;padding-bottom:12px}.image-dimension-note{display:block;color:#17633b;margin-top:5px}.admin-sticky-actions{position:sticky;bottom:0;background:rgba(255,255,255,.97);border:1px solid #d8e0e7;padding:10px 12px;z-index:10;box-shadow:0 -4px 12px rgba(25,43,60,.06)}

/* Banner comercial del storefront */
.store-banner-carousel{position:relative;margin:0 0 24px;background:#eef2f5;overflow:hidden;border:1px solid var(--store-line)}.store-banner-track{position:relative;aspect-ratio:16/5}.store-banner-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .35s ease;display:block}.store-banner-slide.is-active{opacity:1;visibility:visible;z-index:1}.store-banner-slide picture,.store-banner-slide img{display:block;width:100%;height:100%}.store-banner-slide img{object-fit:cover;object-position:center}.store-banner-arrow{position:absolute;z-index:4;top:50%;transform:translateY(-50%);width:38px;height:52px;border:0;background:rgba(0,0,0,.30);color:#fff;font-size:32px;line-height:1;cursor:pointer}.store-banner-arrow:hover{background:rgba(0,0,0,.48)}.store-banner-arrow.prev{left:0}.store-banner-arrow.next{right:0}.store-banner-dots{position:absolute;z-index:5;left:50%;bottom:10px;transform:translateX(-50%);display:flex;gap:7px}.store-banner-dots button{width:9px;height:9px;padding:0;border:1px solid rgba(0,0,0,.3);border-radius:50%;background:rgba(255,255,255,.8);cursor:pointer}.store-banner-dots button.is-active{background:var(--store-blue);border-color:#fff}

@media(max-width:1200px){.admin-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:960px){body.admin-ui{overflow-x:hidden}.admin-layout{display:block}.admin-sidebar{position:fixed;left:0;top:0;bottom:0;width:min(84vw,300px);height:100vh;transform:translateX(-105%);transition:transform .2s ease;box-shadow:15px 0 30px rgba(0,0,0,.18)}.admin-sidebar.is-open{transform:none}.admin-brand button{display:block}.admin-sidebar-overlay{display:block;position:fixed;inset:0;background:rgba(0,0,0,.38);z-index:40;opacity:0;visibility:hidden;transition:.15s}.admin-sidebar-overlay.is-open{opacity:1;visibility:visible}.admin-menu-open{overflow:hidden}.admin-menu-button{display:block}.admin-topbar{padding:0 14px}.admin-page{width:min(calc(100% - 24px),1500px);margin-top:18px}.admin-dashboard-grid{grid-template-columns:1fr}.banner-upload-grid{grid-template-columns:1fr}.banner-guide-grid{grid-template-columns:1fr 1fr}.banner-active-check{justify-content:flex-start}.admin-user span,.admin-user small{display:none}}
@media(max-width:640px){.admin-topbar-title span{display:none}.admin-topbar-title strong{font-size:15px}.admin-user{display:block}.admin-user a{border:0;padding:0}.admin-page{width:calc(100% - 18px)}.admin-page-head h1{font-size:21px}.admin-stats{grid-template-columns:repeat(2,1fr)}.admin-stat{padding:13px}.admin-stat strong{font-size:23px}.admin-module-links{grid-template-columns:1fr}.admin-module-links a,.admin-module-links a:nth-child(2n),.admin-module-links a:nth-last-child(-n+2){border-right:0;border-bottom:1px solid #e1e6eb}.admin-module-links a:last-child{border-bottom:0}.banner-guidance{align-items:flex-start;flex-direction:column}.banner-guide-grid{grid-template-columns:1fr}.admin-ui .form-grid,.admin-ui .form-grid.three{grid-template-columns:1fr}.admin-sticky-actions{flex-direction:column;align-items:stretch}.admin-sticky-actions .btn{width:100%}.banner-preview.desktop{aspect-ratio:2.2/1}}
@media(max-width:720px){.store-banner-track{aspect-ratio:4/3}.store-banner-arrow{width:34px;height:46px}.store-banner-dots{bottom:7px}}
.admin-login-body{background:#edf2f6}.admin-login-card{border-radius:7px;border-top:5px solid var(--brand);box-shadow:0 12px 35px rgba(26,48,69,.12)}.admin-login-card>img{display:block;width:260px;max-width:100%;height:auto;margin:0 auto 22px}.admin-login-card h1{text-align:center;color:#1b3650;font-size:24px}.admin-login-card>p{text-align:center;color:#6b7885;margin-top:5px}.admin-login-foot{display:block;text-align:center;color:#89949e;margin-top:20px}

/* V11-A · Reportes operativos */
.report-filter{margin-bottom:16px}.report-filter-second{grid-template-columns:minmax(260px,1fr) minmax(360px,1.4fr);align-items:end}.report-stats{grid-template-columns:repeat(6,minmax(0,1fr))}.report-stats .admin-stat{margin:0}.report-card{margin-top:18px}.report-card .table-wrap{max-height:620px}.report-card table{font-size:13px}.report-card th{position:sticky;top:0;z-index:2}.report-sub{display:block;margin-top:3px;color:#73808c;font-size:11px;line-height:1.3}.report-positive{color:#167347;font-weight:750}.report-negative{color:#a72b2b!important;font-weight:750}.report-warning{color:#8a5b00!important;font-weight:750;background:#fff9e9}.report-menu-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid #dde4ea}.report-menu-grid a{display:block;padding:20px;color:#20374e;border-right:1px solid #dde4ea;border-bottom:1px solid #dde4ea;text-decoration:none}.report-menu-grid a:nth-child(2n){border-right:0}.report-menu-grid a:nth-last-child(-n+2){border-bottom:0}.report-menu-grid a:hover{background:#f5f9fe}.report-menu-grid strong,.report-menu-grid span{display:block}.report-menu-grid strong{font-size:16px;color:#164f8f}.report-menu-grid span{margin-top:5px;color:#687887;font-size:12px;line-height:1.45}.report-card .admin-section-head>a{white-space:nowrap;font-size:12px;font-weight:750}.report-filter .form-actions{min-height:42px}.report-filter .check{align-self:center}
@media(max-width:1200px){.report-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.report-filter-second{grid-template-columns:1fr}.report-menu-grid{grid-template-columns:1fr}.report-menu-grid a,.report-menu-grid a:nth-child(2n),.report-menu-grid a:nth-last-child(-n+2){border-right:0;border-bottom:1px solid #dde4ea}.report-menu-grid a:last-child{border-bottom:0}.report-card .admin-section-head{align-items:flex-start;flex-direction:column}}
@media(max-width:640px){.report-stats{grid-template-columns:repeat(2,1fr)}.report-filter .form-actions{align-items:stretch}.report-filter .form-actions .btn{width:100%}}

/* V11-B · Dashboard ejecutivo / BI */
.bi-hero{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(420px,.8fr);gap:28px;align-items:center;margin:-4px 0 18px;padding:28px 30px;background:linear-gradient(120deg,#003f92 0%,#0051bd 58%,#1270c9 100%);color:#fff;border-radius:10px;box-shadow:0 12px 30px rgba(0,63,146,.18);position:relative;overflow:hidden}.bi-hero:after{content:"";position:absolute;right:-90px;top:-150px;width:330px;height:330px;border:70px solid rgba(136,199,92,.18);border-radius:50%}.bi-hero>div,.bi-period{position:relative;z-index:1}.bi-eyebrow,.bi-panel-kicker{display:block;text-transform:uppercase;letter-spacing:.095em;font-size:10px;font-weight:850}.bi-eyebrow{color:#d8f1c8}.bi-hero h2{font-size:28px;line-height:1.1;margin:5px 0 9px}.bi-hero p{margin:0;max-width:760px;color:rgba(255,255,255,.84);font-size:13px}.bi-period{display:grid;grid-template-columns:1fr 1fr;gap:9px;background:rgba(255,255,255,.12);padding:13px;border:1px solid rgba(255,255,255,.23);border-radius:8px;backdrop-filter:blur(4px)}.bi-period label{color:#fff;font-size:11px}.bi-period input{background:#fff;border:0;border-radius:5px;padding:8px 9px}.bi-period .btn{min-height:34px;border-radius:5px}.bi-period .btn.primary{background:#88c75c;border-color:#88c75c;color:#16380e}.bi-period .btn:not(.primary){background:rgba(255,255,255,.96);border-color:#fff;color:#164a86}
.bi-kpi-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-bottom:18px}.bi-kpi{background:#fff;border:1px solid #dbe3ea;border-top:4px solid #0051bd;padding:15px 15px 13px;min-height:145px;box-shadow:0 5px 14px rgba(25,48,71,.045)}.bi-kpi:nth-child(4){border-top-color:#88c75c}.bi-kpi:nth-child(5){border-top-color:#4a7aa5}.bi-kpi:nth-child(6){border-top-color:#6e8da7}.bi-kpi>span{display:block;color:#687987;text-transform:uppercase;font-size:10px;letter-spacing:.055em;font-weight:800}.bi-kpi>strong{display:block;margin:7px 0 4px;color:#18364f;font-size:24px;line-height:1.05;word-break:break-word}.bi-kpi p{font-size:10.5px;color:#7b8791;line-height:1.35;margin:8px 0 0}.bi-delta{display:inline-block;font-size:10px;font-weight:800}.bi-delta.is-up{color:#197346}.bi-delta.is-down{color:#a93838}.bi-delta.is-neutral{color:#788591}
.bi-grid{display:grid;gap:16px;margin-bottom:16px}.bi-grid-main{grid-template-columns:minmax(0,2fr) minmax(300px,.9fr)}.bi-grid-equal{grid-template-columns:repeat(2,minmax(0,1fr))}.bi-span-2{min-width:0}.bi-panel{margin:0;border-radius:8px;box-shadow:0 5px 16px rgba(25,48,71,.05);padding:18px 19px}.bi-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:13px}.bi-panel-head h2{font-size:17px;line-height:1.2;color:#17354e;margin:2px 0 0}.bi-panel-head>a{font-size:11px;font-weight:800;white-space:nowrap}.bi-panel-kicker{color:#64809a}.bi-chart{position:relative;width:100%;min-height:270px}.bi-chart canvas{display:block;width:100%;height:100%}.bi-chart-tall{height:330px}.bi-chart-medium{height:235px}.bi-chart-donut{height:225px}.bi-chart-bars{height:310px}.bi-empty{display:none;position:absolute;inset:0;align-items:center;justify-content:center;color:#87939d;font-size:12px;background:#fff}.bi-chart.is-empty .bi-empty{display:flex}.bi-chart.is-empty canvas{visibility:hidden}
.bi-status-legend{display:grid;grid-template-columns:1fr 1fr;gap:6px 12px;margin-top:9px;padding-top:10px;border-top:1px solid #edf1f4}.bi-status-legend span{display:grid;grid-template-columns:8px 1fr auto;align-items:center;gap:7px;color:#687888;font-size:10.5px}.bi-status-legend i{width:8px;height:8px;border-radius:50%}.bi-status-legend i.s0{background:#e3ad34}.bi-status-legend i.s1{background:#3f86c5}.bi-status-legend i.s2{background:#4ca467}.bi-status-legend i.s3{background:#6eaacf}.bi-status-legend i.s4{background:#cf6d6d}.bi-status-legend b{color:#254158}.bi-purchase-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:#dfe6ec;border:1px solid #dfe6ec;margin-bottom:14px}.bi-purchase-strip>div{background:#f9fbfd;padding:11px 13px}.bi-purchase-strip span,.bi-purchase-strip small{display:block;color:#71808d;font-size:10px}.bi-purchase-strip strong{display:block;color:#1c466d;font-size:17px;margin:3px 0}.bi-inventory-value{padding:17px;background:linear-gradient(125deg,#edf5ff,#f7fbff);border-left:4px solid #0051bd;margin-bottom:12px}.bi-inventory-value span{display:block;color:#6b7b89;font-size:10px;text-transform:uppercase;font-weight:800}.bi-inventory-value strong{display:block;font-size:28px;color:#174d82;margin-top:2px}.bi-mini-stats{display:grid;grid-template-columns:1fr 1fr;border:1px solid #e1e6eb}.bi-mini-stats>div{padding:12px;border-right:1px solid #e1e6eb;border-bottom:1px solid #e1e6eb;min-height:69px}.bi-mini-stats>div:nth-child(2n){border-right:0}.bi-mini-stats>div:nth-last-child(-n+2){border-bottom:0}.bi-mini-stats>div:last-child{grid-column:1/-1;border-right:0;border-bottom:0}.bi-mini-stats strong,.bi-mini-stats span{display:block}.bi-mini-stats strong{font-size:19px;color:#25445e}.bi-mini-stats span{font-size:10px;color:#71808c}.bi-mini-stats .is-warn strong{color:#97671a}.bi-mini-stats .is-danger strong{color:#a53232}
.bi-insights{display:grid;gap:8px}.bi-insight{display:grid;grid-template-columns:4px 1fr;gap:11px;padding:10px 12px;background:#f8fafc;border:1px solid #e6ebef}.bi-insight>span{background:#8a9baa;border-radius:3px}.bi-insight.is-good>span{background:#65a84c}.bi-insight.is-warn>span{background:#d59b2c}.bi-insight strong{display:block;color:#29445c;font-size:12px}.bi-insight p{margin:2px 0 0;color:#6a7884;font-size:11px;line-height:1.4}.bi-health-list{border-top:1px solid #e7ebef}.bi-health-list a{display:grid;grid-template-columns:1fr auto;gap:12px;align-items:center;padding:11px 2px;border-bottom:1px solid #e7ebef;color:#455a6d;font-size:12px}.bi-health-list a:hover{text-decoration:none;background:#fafcfd}.bi-health-list strong{min-width:34px;text-align:center;padding:3px 7px;border-radius:12px;font-size:11px}.bi-health-list .is-ok{background:#e8f6ec;color:#287344}.bi-health-list .is-warn{background:#fff4dc;color:#815d19}.bi-health-list .is-danger{background:#fdeaea;color:#9d3333}.bi-alert-table{border-top:1px solid #e5eaee}.bi-alert-table>div{display:grid;grid-template-columns:1fr auto;gap:14px;align-items:center;padding:10px 0;border-bottom:1px solid #e9edf0}.bi-alert-table span b,.bi-alert-table span{display:block}.bi-alert-table span{color:#667887;font-size:10.5px}.bi-alert-table span b{color:#27465f;font-size:11.5px}.bi-alert-table strong{font-size:11px}.bi-alert-table .is-warn{color:#956513}.bi-alert-table .is-danger{color:#a33131}.bi-all-clear{padding:28px 18px;text-align:center;background:#eef8f1;color:#35764b;border:1px solid #d4eadb;font-size:12px}.bi-footnote{margin:2px 0 12px;padding:12px 14px;background:#eef4f9;border-left:4px solid #6e8da7;color:#556c7e;font-size:11px}.bi-footnote strong{color:#294c69}
@media(max-width:1320px){.bi-kpi-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:1050px){.bi-hero{grid-template-columns:1fr}.bi-grid-main,.bi-grid-equal{grid-template-columns:1fr}.bi-chart-tall{height:300px}.bi-chart-bars{height:290px}}
@media(max-width:700px){.bi-hero{padding:20px 18px;border-radius:6px}.bi-hero h2{font-size:23px}.bi-period{grid-template-columns:1fr 1fr}.bi-kpi-grid{grid-template-columns:repeat(2,1fr)}.bi-kpi{min-height:132px}.bi-purchase-strip{grid-template-columns:1fr}.bi-chart-tall,.bi-chart-medium{height:250px}.bi-chart-bars{height:300px}.bi-panel{padding:15px}.bi-panel-head{gap:8px}.bi-status-legend{grid-template-columns:1fr}}
@media(max-width:470px){.bi-period{grid-template-columns:1fr}.bi-kpi-grid{grid-template-columns:1fr 1fr;gap:7px}.bi-kpi{padding:12px 11px}.bi-kpi>strong{font-size:20px}.bi-kpi p{display:none}.bi-panel-head{flex-direction:column}.bi-purchase-strip{display:block}.bi-purchase-strip>div{border-bottom:1px solid #dfe6ec}.bi-chart-tall,.bi-chart-medium{height:225px}.bi-chart-bars{height:285px}}

/* V12 · Estado del sistema / producción */
.system-hero{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:24px 28px;margin:-4px 0 18px;border-radius:10px;background:linear-gradient(120deg,#153d66,#0051bd);color:#fff;box-shadow:0 10px 28px rgba(0,63,146,.15)}.system-hero.is-ready{background:linear-gradient(120deg,#174e62,#006f7c)}.system-hero.has-errors{background:linear-gradient(120deg,#6d3030,#a43a3a)}.system-kicker{display:block;text-transform:uppercase;letter-spacing:.09em;font-size:10px;font-weight:850;color:#6a8194}.system-hero .system-kicker{color:#d9edf9}.system-hero h2{margin:4px 0 8px;font-size:25px}.system-hero p{margin:0;color:rgba(255,255,255,.82);max-width:760px;font-size:12px}.system-score{display:grid;grid-template-columns:auto auto;gap:2px 10px;align-items:baseline;min-width:155px;padding:13px 16px;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22);border-radius:8px}.system-score strong{font-size:25px}.system-score span{font-size:11px;color:rgba(255,255,255,.78)}.system-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-bottom:14px}.system-grid-summary{grid-template-columns:repeat(4,1fr)}.system-summary-card{margin:0;padding:16px;border-radius:8px}.system-summary-card span,.system-summary-card small{display:block;color:#74828d;font-size:10px}.system-summary-card strong{display:block;color:#1f4668;font-size:25px;margin:4px 0}.system-summary-card .system-date{font-size:14px;margin-top:9px}.system-check-card{padding:18px;margin-bottom:14px}.system-check-list{border-top:1px solid #e5eaef}.system-check-row{display:grid;grid-template-columns:64px minmax(180px,.7fr) minmax(0,1.5fr);gap:14px;align-items:center;padding:10px 2px;border-bottom:1px solid #e8edf1}.system-check-row small,.system-check-row strong{display:block}.system-check-row small{font-size:9px;text-transform:uppercase;color:#84909a;letter-spacing:.055em}.system-check-row strong{font-size:12px;color:#29465f}.system-check-row p{margin:0;color:#62717d;font-size:11px;word-break:break-word}.system-status{display:inline-flex;justify-content:center;padding:4px 6px;border-radius:999px;font-size:9px;font-weight:850}.system-status.is-ok{background:#e5f5e9;color:#287544}.system-status.is-warning{background:#fff2d3;color:#855d10}.system-status.is-error{background:#fde6e6;color:#9c3030}.system-info-card{margin:0;border-radius:8px}.system-info-card h2{margin:3px 0 12px;font-size:17px;color:#23435e}.system-info-card dl{grid-template-columns:145px 1fr;font-size:12px}.system-info-card p{font-size:12px;line-height:1.5}
@media(max-width:1100px){.system-grid-summary{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.system-hero{grid-template-columns:1fr;padding:20px}.system-score{width:100%}.system-grid,.system-grid-summary{grid-template-columns:1fr}.system-check-row{grid-template-columns:58px 1fr}.system-check-row p{grid-column:2}.system-info-card dl{grid-template-columns:1fr}.system-info-card dd{margin-bottom:8px}}

/* V12.2a · paginado y captura de almacén */
.pagination-ux{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 4px;margin:10px 0;color:#506477;font-size:13px}
.pagination-ux-actions,.pagination-ux-size{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.pagination-ux a{display:inline-flex;align-items:center;justify-content:center;min-width:32px;min-height:32px;border:1px solid #cbd8e4;background:#fff;border-radius:5px;color:#0051bd;text-decoration:none;padding:5px 9px;font-weight:700}
.pagination-ux a:hover{background:#eaf3ff}.pagination-ux a.is-current{background:#0051bd;color:#fff;border-color:#0051bd}
.browse-filters,.admin-page .toolbar .search{display:flex;flex-wrap:wrap;align-items:end;gap:10px}.browse-filters label,.admin-page .toolbar .search label{display:grid;gap:3px;font-size:12px}.browse-filters input,.browse-filters select{max-width:230px}
.product-lookup{position:relative}.inventory-suggestions{position:absolute;top:70px;left:0;right:0;max-height:320px;overflow-y:auto;z-index:20;background:#fff;border:1px solid #aec9e4;border-radius:7px;box-shadow:0 10px 23px rgba(15,54,96,.17)}
.inventory-suggestions[hidden]{display:none}.inventory-option{display:block;text-align:left;border:0;border-bottom:1px solid #edf1f5;background:#fff;color:#17344f;width:100%;padding:10px 12px;cursor:pointer;font-size:13px;white-space:normal}
.inventory-option:hover,.inventory-option.is-active{background:#e9f3ff}.inventory-option span{display:block;color:#617487;font-size:11px;margin-top:4px}.inventory-option small{font-size:9px;background:#edf3fc;color:#0051bd;padding:2px 5px;margin-left:7px}
.inventory-selected{display:block;padding:7px 10px;border-radius:5px;background:#f3f6fa;color:#66798c;font-size:12px}.inventory-selected.is-selected{background:#e7f5ec;color:#166738;font-weight:700}
.inventory-batch-progress{margin:8px 0!important;padding:8px 10px;font-size:12px;font-weight:700;border-radius:5px}.inventory-batch-progress.is-pending{background:#fff4e0;color:#895819}.inventory-batch-progress.is-complete{background:#e8f6ec;color:#176538}
.inventory-line-edit{margin:11px 0;padding:9px 12px;border:1px solid #d6e3ed;border-radius:5px}.inventory-line-edit summary{cursor:pointer;color:#0051bd;font-size:12px;font-weight:700}.inventory-line-edit form{margin-top:12px}.inventory-validation-error{display:block;color:#a03629;font-weight:700;margin-top:6px}
@media(max-width:740px){.pagination-ux{justify-content:center}.pagination-ux-info{width:100%;text-align:center}.browse-filters>*{flex:1 1 155px}.browse-filters input,.browse-filters select{max-width:100%}.inventory-suggestions{max-height:260px}}
.product-lookup{display:grid;gap:6px}.product-lookup>label{font-size:12px;font-weight:700}.product-lookup>input{width:100%}
.inventory-cost-auto{display:grid;align-content:center;gap:6px}.inventory-cost-auto strong{font-size:12px}

/* V12.2b · selección sencilla de impuestos fiscales */
.admin-ui .tax-checkbox-group{grid-column:span 2;min-width:0;margin:0;padding:13px 15px;border:1px solid #d6e3ed;border-radius:9px;background:#fbfdff}
.admin-ui .tax-checkbox-group legend{font-size:13px;font-weight:750;color:#183b5d;padding:0 6px}
.admin-ui .tax-checkbox-help{font-size:12px;line-height:1.45;margin:0 0 12px}
.admin-ui .tax-checkbox-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;max-height:290px;overflow:auto;padding:2px}
.admin-ui label.tax-checkbox-option{display:flex;flex-direction:row;align-items:center;gap:10px;cursor:pointer;font-size:13px;font-weight:550;background:#fff;border:1px solid #dce5ee;border-radius:7px;padding:11px 12px;min-width:0}
.admin-ui label.tax-checkbox-option:hover{background:#f1f7ff;border-color:#bed5ef}
.admin-ui label.tax-checkbox-option:has(input:checked){background:#e8f3ff;border-color:#a3c6ed;color:#08478e}
.admin-ui label.tax-checkbox-option input[type=checkbox]{flex:0 0 18px;width:18px;height:18px;min-width:18px;cursor:pointer;accent-color:#0051bd;margin:0;padding:0}
.admin-ui label.tax-checkbox-option span{overflow-wrap:anywhere}
@media(max-width:720px){.admin-ui .tax-checkbox-group{grid-column:1/-1}.admin-ui .tax-checkbox-list{grid-template-columns:1fr}}

/* V12.2c — controles uniformes en catálogos */
.admin-ui .catalog-toolbar{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 15px}
.admin-ui .catalog-search{margin:0;flex:1 1 365px}
.admin-ui .catalog-search input[type="search"]{width:min(100%,320px);max-width:none;min-height:37px}
.admin-ui .catalog-toolbar-actions{display:flex;gap:8px;flex-wrap:wrap;align-items:center}
.admin-ui .catalog-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 16px}
.admin-ui .catalog-editor{margin-bottom:18px}
.admin-ui .catalog-no-results{text-align:center;padding:24px;color:#63778a}
@media(max-width:720px){.admin-ui .catalog-toolbar,.admin-ui .catalog-search,.admin-ui .catalog-toolbar-actions{width:100%}.admin-ui .catalog-search input[type="search"]{width:100%}.admin-ui .catalog-toolbar-actions>.btn{flex:1 1 auto;text-align:center}}
