:root{--navy:#13293d;--navy2:#0d1f30;--yellow:#ffb703;--orange:#fb8500;--blue:#1677ff;--paper:#f4f6f8;--white:#fff;--ink:#17202a;--muted:#617080;--line:#dce2e8;--green:#16844b;--red:#c43b31;--shadow:0 8px 24px #13293d18}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.45 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}body.drawer-open{overflow:hidden}button,input,select,textarea{font:inherit}button,a{color:inherit}a{text-decoration:none}img{display:block;max-width:100%}.skip-link{position:fixed;left:1rem;top:-5rem;z-index:100;padding:.8rem;background:#fff}.skip-link:focus{top:1rem}.market-header{position:sticky;top:0;z-index:30;color:#fff;box-shadow:0 2px 10px #0003}.header-main{min-height:76px;padding:.65rem max(1rem,calc((100% - 1480px)/2));display:grid;grid-template-columns:auto minmax(280px,1fr) auto auto;gap:1.2rem;align-items:center;background:var(--navy2)}.brand{font-size:2rem;font-weight:900;letter-spacing:-.08em}.brand span{color:var(--yellow)}.header-search{height:48px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;background:#fff;border:3px solid transparent;border-radius:10px;overflow:hidden;color:#445}.header-search:focus-within{border-color:var(--yellow)}.header-search>span{font-size:1.5rem;padding:0 .55rem}.header-search input{height:100%;border:0;outline:0;min-width:0}.header-search button{height:100%;padding:0 1.2rem;border:0;background:var(--yellow);font-weight:800;cursor:pointer}.delivery-link,.header-order{display:flex;gap:.45rem;align-items:center}.delivery-link span,.header-order>span:last-child{display:grid}.delivery-link small,.header-order small{font-size:.72rem;color:#cad5df}.delivery-link strong,.header-order strong{font-size:.86rem}.header-order{border:0;background:transparent;color:#fff;cursor:pointer}.header-order>span:first-child{font-size:1.5rem}.header-order b{color:var(--yellow)}.category-nav{height:44px;padding:0 max(1rem,calc((100% - 1480px)/2));display:flex;gap:1.65rem;align-items:center;background:var(--navy);overflow-x:auto;white-space:nowrap}.category-nav a{font-size:.88rem;font-weight:650}.category-nav a:hover{color:var(--yellow)}.market-hero{max-width:1480px;min-height:430px;margin:1.25rem auto;display:grid;grid-template-columns:1.05fr 1fr 270px;background:linear-gradient(115deg,#dcecf3,#f8fbfc);border-radius:16px;overflow:hidden;box-shadow:var(--shadow)}.hero-copy{padding:4rem 2.8rem}.sale-pill{display:inline-block;padding:.4rem .7rem;background:var(--red);color:#fff;border-radius:5px;font-size:.73rem;font-weight:900;letter-spacing:.06em}.hero-copy h1{margin:1rem 0;font-size:clamp(3rem,5vw,5.6rem);line-height:.9;letter-spacing:-.065em}.hero-copy h1 em{color:var(--orange);font-family:Georgia,serif;font-weight:400}.hero-copy p{max-width:570px;color:#4f6070;font-size:1.1rem}.primary-button,.light-button{display:inline-flex;min-height:48px;padding:.75rem 1.25rem;align-items:center;justify-content:center;border:0;border-radius:8px;background:var(--yellow);color:#17202a;font-weight:850;cursor:pointer}.primary-button:hover{background:#ffc52b}.hero-image{min-width:0}.hero-image img{width:100%;height:100%;object-fit:cover}.hero-deal{margin:1.2rem;padding:1.5rem;align-self:center;display:grid;gap:.45rem;background:#fff;border-radius:14px;box-shadow:var(--shadow)}.hero-deal>span{color:var(--red);font-size:.75rem;font-weight:850;text-transform:uppercase}.hero-deal>strong{font-size:2rem}.hero-deal p{margin:0;color:var(--muted)}.hero-deal b{font-size:1.4rem}.hero-deal a{color:var(--blue);font-weight:750}.service-bar{max-width:1480px;margin:0 auto 1.25rem;padding:1.1rem 1.4rem;display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border-radius:12px;box-shadow:var(--shadow)}.service-bar>div{display:flex;gap:.75rem;align-items:center;padding:0 1rem;border-right:1px solid var(--line);font-size:1.25rem}.service-bar>div:last-child{border:0}.service-bar span{display:grid}.service-bar strong{font-size:.88rem}.service-bar small{color:var(--muted);font-size:.76rem}.category-showcase,.catalog-section,.how-section,.admin-section{max-width:1480px;margin:0 auto;padding:2.4rem 0}.section-title,.catalog-head,.admin-heading{display:flex;align-items:end;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.section-title h2,.catalog-head h2,.admin-heading h2,.how-section h2{margin:0;font-size:clamp(1.8rem,3vw,2.7rem);letter-spacing:-.045em}.section-title a{color:var(--blue);font-weight:750}.category-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:1rem}.category-cards button{padding:0 0 1.2rem;display:grid;gap:.2rem;text-align:left;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;cursor:pointer}.category-cards img{width:100%;height:170px;object-fit:cover}.category-cards strong,.category-cards span{margin:0 1.1rem}.category-cards strong{margin-top:.8rem;font-size:1.08rem}.category-cards span{color:var(--muted);font-size:.85rem}.catalog-head{padding-top:1rem;border-top:1px solid var(--line)}.catalog-head p,.admin-heading span{margin:0;color:var(--orange);font-size:.75rem;font-weight:900;letter-spacing:.1em}.catalog-head>div>span{color:var(--muted);font-size:.88rem}.catalog-head label{font-size:.82rem;font-weight:700}.catalog-head select,.admin-toolbar select{padding:.65rem;border:1px solid var(--line);border-radius:7px;background:#fff}.catalog-layout{display:grid;grid-template-columns:230px 1fr;gap:1.2rem}.filters-panel{align-self:start;position:sticky;top:132px;padding:1.2rem;background:#fff;border:1px solid var(--line);border-radius:10px}.filters-panel h3{margin:0 0 .8rem}.filters{display:grid}.filter{padding:.8rem 0;text-align:left;background:none;border:0;border-bottom:1px solid #edf0f2;cursor:pointer}.filter:hover,.filter.is-active{color:var(--blue);font-weight:800}.trust-box{margin-top:1.4rem;padding:1rem;background:#edf6ff;border-radius:8px}.trust-box p{color:var(--muted);font-size:.82rem}.trust-box a{color:var(--blue);font-size:.85rem;font-weight:800}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.8rem}.product-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:9px;overflow:hidden;transition:.2s}.product-card:hover{box-shadow:0 10px 28px #13293d20;transform:translateY(-2px)}.product-image{position:relative;height:220px;background:#fff}.product-image img{width:100%;height:100%;object-fit:contain;padding:.5rem}.product-tag,.discount-badge{position:absolute;top:.7rem;padding:.32rem .5rem;border-radius:4px;font-size:.66rem;font-weight:850}.product-tag{left:.7rem;background:var(--navy);color:#fff}.discount-badge{right:.7rem;background:var(--red);color:#fff}.product-copy{padding:1rem;display:flex;flex:1;flex-direction:column}.product-brand{margin:0;color:var(--blue);font-size:.69rem;font-weight:900;letter-spacing:.08em}.product-copy h3{margin:.2rem 0 .45rem;font-size:1rem;line-height:1.25}.product-description{margin:0 0 .8rem;color:var(--muted);font-size:.81rem;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.price-block{display:grid;margin-top:auto}.price-block strong{font-size:1.42rem}.price-block small,.regular-price{color:var(--muted);font-size:.7rem}.price-promo strong{color:var(--red)}.variant-picker{display:grid;gap:.25rem;margin-top:.65rem;color:var(--muted);font-size:.7rem}.variant-picker select{width:100%;padding:.55rem;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:.78rem}.product-meta{margin-top:.7rem;display:grid;gap:.5rem}.product-format{color:var(--muted);font-size:.7rem}.add-button{min-height:40px;width:100%;display:flex;align-items:center;justify-content:space-between;padding:.55rem .8rem;border:1px solid #e4aa00;border-radius:7px;background:var(--yellow);font-weight:800;cursor:pointer}.add-button.is-added{background:#dff3e8;border-color:#78be97}.empty-state{padding:4rem;text-align:center;background:#fff}.business-section{max-width:1480px;margin:2rem auto;padding:3.5rem;display:grid;grid-template-columns:1fr 1.1fr;gap:4rem;background:var(--navy2);color:#fff;border-radius:14px}.business-section>div>span{color:var(--yellow);font-size:.75rem;font-weight:900}.business-section h2{font-size:clamp(2.6rem,5vw,5rem);line-height:.95;letter-spacing:-.06em;margin:.8rem 0}.business-section p{color:#bdcad5}.business-points{display:grid;grid-template-columns:repeat(3,1fr);align-items:center}.business-points article{padding:1.2rem;border-left:1px solid #ffffff30;display:grid;gap:.6rem}.business-points b{color:var(--yellow)}.light-button{background:#fff}.how-section>div{display:grid;grid-template-columns:repeat(3,1fr);margin-top:1.2rem;background:#fff}.how-section article{padding:1.8rem;border-right:1px solid var(--line);display:grid;gap:.35rem}.how-section article b{color:var(--orange);font-size:1.5rem}.how-section p{margin:0;color:var(--muted)}.admin-section{margin-top:2rem;margin-bottom:4rem;padding:2rem;background:#fff;border:1px solid var(--line);border-radius:14px}.admin-heading p{margin:.35rem 0;color:var(--muted)}.admin-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.8rem;margin-bottom:1rem}.admin-stats article{padding:1.1rem;border:1px solid var(--line);border-radius:8px;display:grid}.admin-stats span{color:var(--muted);font-size:.78rem}.admin-stats strong{font-size:1.7rem}.admin-toolbar{display:flex;gap:.8rem;padding:1rem;background:#f7f8fa}.admin-toolbar input{flex:1;padding:.65rem;border:1px solid var(--line);border-radius:7px}.admin-table-wrap{overflow:auto}.admin-table{width:100%;border-collapse:collapse;min-width:760px}.admin-table th,.admin-table td{padding:.85rem;text-align:left;border-bottom:1px solid var(--line);font-size:.83rem}.admin-table th{color:var(--muted);background:#fafbfc}.admin-product{display:flex;gap:.7rem;align-items:center}.admin-product img{width:48px;height:48px;object-fit:contain;border:1px solid var(--line)}.status-pill{padding:.3rem .55rem;border-radius:999px;background:#dff3e8;color:var(--green);font-size:.7rem;font-weight:800}.status-pill.off{background:#eee;color:#68717a}.edit-product{padding:.45rem .7rem;border:1px solid var(--line);background:#fff;border-radius:6px;cursor:pointer}.admin-note{color:var(--muted);font-size:.8rem}.admin-actions{display:flex;gap:.6rem}.admin-actions button,.admin-actions label{padding:.6rem .8rem;border:1px solid var(--line);border-radius:6px;background:#fff;font-size:.8rem;cursor:pointer}footer{padding:2rem max(1rem,calc((100% - 1480px)/2));display:grid;grid-template-columns:1fr auto auto;gap:2rem;align-items:center;background:var(--navy2);color:#fff}footer p{color:#aebbc6}footer div{display:grid;text-align:right}.floating-order{display:none;position:fixed;left:.7rem;right:.7rem;bottom:.7rem;z-index:25;padding:.9rem 1rem;justify-content:space-between;border:0;border-radius:8px;background:var(--yellow);box-shadow:0 8px 30px #0005}.drawer-backdrop{position:fixed;inset:0;z-index:40;background:#09131dbb}.cart-drawer{position:fixed;z-index:50;right:0;top:0;width:min(560px,100%);height:100dvh;display:grid;grid-template-rows:auto 1fr auto;background:#fff;transform:translateX(102%);transition:.25s;box-shadow:-15px 0 40px #0003}.cart-drawer.is-open{transform:none}.drawer-header{padding:1.2rem;display:flex;justify-content:space-between;border-bottom:1px solid var(--line)}.drawer-header p,.drawer-header h2{margin:0}.drawer-header p{color:var(--orange);font-size:.72rem;font-weight:900}.icon-button{width:40px;height:40px;border:0;border-radius:50%;font-size:1.5rem;cursor:pointer}.cart-items{padding:1rem;overflow:auto}.cart-empty{padding:3rem;text-align:center}.cart-item{display:grid;grid-template-columns:82px 1fr;gap:.8rem;padding:.8rem 0;border-bottom:1px solid var(--line)}.cart-item img{width:82px;height:82px;object-fit:contain}.cart-item-info h3,.cart-item-info p{margin:0}.cart-item-info p{color:var(--muted);font-size:.77rem}.cart-item-actions{grid-column:2;display:flex;gap:.5rem;align-items:center}.quantity-control{display:flex;border:1px solid var(--line);border-radius:5px;overflow:hidden}.quantity-control button{width:30px;border:0}.quantity-control span{width:30px;text-align:center}.remove-item{border:0;background:none;color:var(--red);cursor:pointer}.cart-line-total{margin-left:auto;font-weight:800}.drawer-footer{padding:1rem 1.2rem;border-top:1px solid var(--line);background:#fafbfc}.buyer-type,.welcome-check{display:flex;justify-content:space-between;gap:1rem;margin-bottom:.7rem}.buyer-type select{padding:.4rem}.welcome-check span{display:grid}.welcome-check small{color:var(--muted)}.estimate-row{display:flex;justify-content:space-between;padding:.35rem 0}.estimate-total{margin-top:.3rem;padding-top:.7rem;border-top:1px solid var(--line);font-size:1.15rem}.estimate-note{color:var(--muted);font-size:.76rem}.full{width:100%}.is-disabled{opacity:.5;pointer-events:none}.toast{position:fixed;z-index:90;left:50%;bottom:1rem;transform:translate(-50%,150%);padding:.75rem 1rem;background:var(--navy2);color:#fff;border-radius:8px;transition:.2s}.toast.is-visible{transform:translate(-50%,0)}dialog{width:min(560px,calc(100% - 2rem));border:0;border-radius:12px;box-shadow:0 25px 80px #0005}dialog::backdrop{background:#07121dbb}#product-form{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}.dialog-head,.dialog-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between}.dialog-head span{color:var(--orange);font-size:.72rem;font-weight:900}.dialog-head h2{margin:0}.dialog-head button{border:0;background:none;font-size:1.5rem}#product-form label{display:grid;gap:.3rem;font-size:.78rem;font-weight:750}#product-form input,#product-form select,#product-form textarea{padding:.65rem;border:1px solid var(--line);border-radius:6px}.visible-check{grid-column:1/-1!important;display:flex!important}.dialog-actions{justify-content:flex-end}.dialog-actions button{margin-left:.5rem}.dialog-actions>button:first-child{padding:.7rem;border:0;background:#eee;border-radius:7px}
@media(max-width:1100px){.header-main{grid-template-columns:auto 1fr auto}.delivery-link{display:none}.market-hero{grid-template-columns:1fr 1fr}.hero-deal{display:none}.product-grid{grid-template-columns:repeat(3,1fr)}.service-bar{grid-template-columns:repeat(2,1fr);gap:1rem}.service-bar>div{border:0}.business-section{grid-template-columns:1fr}.category-showcase,.catalog-section,.how-section,.admin-section,.market-hero,.service-bar,.business-section{width:calc(100% - 1.5rem)}}
@media(max-width:720px){.header-main{grid-template-columns:auto auto;gap:.6rem}.header-search{grid-column:1/-1;grid-row:2}.header-order{justify-self:end}.category-nav{height:40px}.market-hero{grid-template-columns:1fr;min-height:0}.hero-copy{padding:2rem 1.2rem}.hero-image{height:220px}.hero-copy h1{font-size:3.25rem}.service-bar{grid-template-columns:1fr 1fr;padding:.8rem}.service-bar>div{padding:.4rem;font-size:1rem}.category-cards{grid-template-columns:1fr 1fr}.category-cards img{height:120px}.catalog-head{align-items:start;flex-direction:column}.catalog-layout{grid-template-columns:1fr}.filters-panel{position:static;padding:.6rem}.filters{display:flex;overflow:auto}.filter{padding:.6rem .8rem;white-space:nowrap;border:0}.trust-box{display:none}.product-grid{grid-template-columns:1fr 1fr;gap:.5rem}.product-image{height:150px}.product-copy{padding:.7rem}.product-description{display:none}.product-copy h3{font-size:.9rem}.price-block strong{font-size:1.2rem}.business-section{padding:2rem 1.2rem}.business-points{grid-template-columns:1fr}.business-points article{border-left:0;border-top:1px solid #ffffff30}.how-section>div{grid-template-columns:1fr}.how-section article{border-right:0;border-bottom:1px solid var(--line)}.admin-heading{align-items:start;flex-direction:column}.admin-stats{grid-template-columns:1fr 1fr}.admin-toolbar{flex-direction:column}.admin-section{padding:1rem}.admin-actions{flex-wrap:wrap}footer{grid-template-columns:1fr;text-align:center;padding-bottom:6rem}footer div{text-align:center}.floating-order:not([hidden]){display:flex}.cart-drawer{width:100%}#product-form{grid-template-columns:1fr}#product-form label{grid-column:1/-1}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition-duration:.01ms!important}}

/* El carrito siempre reserva espacio para sus productos. El formulario se
   desplaza por separado para no esconder las líneas del pedido. */
.cart-drawer{display:flex;flex-direction:column}
.drawer-header{flex:none}
.cart-items{flex:1 1 auto;min-height:260px;padding:1rem;overflow-y:auto;background:#fff}
.cart-empty{flex:1 1 auto;min-height:260px}
.drawer-footer{flex:0 1 auto;max-height:48dvh;overflow-y:auto}
.cart-list-heading{display:grid;gap:.15rem;margin-bottom:.8rem}.cart-list-heading strong{font-size:1rem}.cart-list-heading span{color:var(--muted);font-size:.78rem}
.cart-item{grid-template-columns:76px minmax(0,1fr);gap:.8rem;padding:.85rem 0}.cart-item img{width:76px;height:76px;border:1px solid #edf0f2;border-radius:10px;object-fit:contain}
.cart-item-copy{min-width:0}.cart-item-copy h3,.cart-item-copy p{margin:0}.cart-item-copy h3{margin:.12rem 0;font-size:.95rem;line-height:1.25}.cart-item-brand{color:var(--blue);font-size:.68rem;font-weight:900;letter-spacing:.08em}.cart-item-variant,.cart-item-unit,.cart-item-delivery{color:var(--muted);font-size:.76rem;line-height:1.35}
.cart-item-actions{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:.55rem;align-items:center}.quantity{display:flex;align-items:center;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff}.quantity button{width:34px;height:34px;border:0;background:#eef3f7;font-size:1.1rem;cursor:pointer}.quantity span{display:grid;width:48px;text-align:center;font-size:.74rem}.quantity small{display:none}.quantity strong{font-size:.9rem}.cart-line-total{margin-left:auto;display:grid;text-align:right;font-size:.72rem;color:var(--muted)}.cart-line-total strong{color:var(--ink);font-size:.9rem}.remove-item{display:flex;align-items:center;gap:.3rem;font-size:.75rem}.remove-item svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8}
.tax-summary{margin-top:.9rem;padding:.8rem;border-radius:8px;background:#f5f8fb;font-size:.75rem}.tax-summary p{display:flex;justify-content:space-between;margin:.25rem 0;color:var(--muted)}
.checkout-fields{display:grid;grid-template-columns:1fr 1fr;gap:.65rem;margin-bottom:.85rem}.checkout-fields strong,.checkout-fields input:nth-of-type(3),.checkout-fields input:nth-of-type(4),.checkout-fields select{grid-column:1/-1}.checkout-fields input,.checkout-fields select{min-height:42px;padding:.6rem .75rem;border:1px solid var(--line);border-radius:8px;background:#fff}
