/* EMCO NEÓN — capa final: colores más claros y llamativos (azul rey del logo + celeste y dorado neón) */
:root{--neon-c:#22e6ff;--neon-g:#ffc21a;--neon-p:#ff3df2;--royal:#2148b8;--royal-2:#1a3a9a;--royal-3:#132c78;
  --bg:#1a3a9a;--ink:#ffffff;--muted:#d4e2ff;--line:#7fd8ff40}
html,body{background:#1a3a9a!important}
body{background:
  radial-gradient(900px 600px at 10% -5%,#22e6ff40 0,transparent 60%),
  radial-gradient(800px 600px at 100% 15%,#ffc21a2e 0,transparent 60%),
  radial-gradient(900px 700px at 50% 110%,#ff3df222 0,transparent 60%),
  linear-gradient(180deg,#2453c9 0%,#1d43ad 40%,#173a98 100%)!important;background-attachment:fixed!important;color:#fff!important}
body::before{opacity:.5}
p,.section-heading p,.category-total,.product-pres,.price-per,small{color:#d4e2ff}
/* textos neón */
h1,h2,h3{color:#fff!important}
.section-heading h2,.ads-header h2,.promo-compact-heading h2{background:none!important;-webkit-text-fill-color:#fff!important;color:#fff!important;
  text-shadow:0 0 6px #fff,0 0 14px var(--neon-c),0 0 28px var(--neon-c),0 0 48px #22e6ff99!important}
.red-dot,.brand-period{color:var(--neon-g)!important;-webkit-text-fill-color:var(--neon-g)!important;text-shadow:0 0 8px var(--neon-g),0 0 20px var(--neon-g)!important}
.section-kicker,.ads-header .section-kicker{color:var(--neon-g)!important;text-shadow:0 0 8px #ffc21acc,0 0 18px #ffc21a88!important}
/* barras */
.announcement{background:linear-gradient(90deg,#ff3df2,#2148b8 30%,#2148b8 70%,#22e6ff)!important;color:#fff!important;border:0!important;text-shadow:0 0 8px #fff8}
.topbar{background:rgba(26,58,154,.82)!important;border-bottom:2px solid var(--neon-c)!important;box-shadow:0 0 18px #22e6ff99,0 4px 30px #0004!important}
.app-install-strip{background:linear-gradient(90deg,#1f47b3,#2a5ad4,#1f47b3)!important;border-bottom:1px solid #22e6ff66!important}
.app-install-label{color:#fff!important}
.quick-search-bar{background:transparent!important}
#searchInput{background:#ffffff!important;color:#102b51!important;border:2px solid var(--neon-c)!important;box-shadow:0 0 14px #22e6ffaa!important}
#searchInput::placeholder{color:#5b6f96!important}
/* portada */
.emco-hero{background:radial-gradient(600px 300px at 50% 30%,#22e6ff33,transparent 70%),linear-gradient(160deg,#2a5ad4 0%,#2148b8 55%,#1a3a9a 100%)!important;
  border:2px solid var(--neon-c)!important;box-shadow:0 0 10px var(--neon-c),0 0 30px #22e6ff88,0 0 60px #22e6ff44,inset 0 0 40px #22e6ff33!important;animation:neonPulse 3s ease-in-out infinite}
@keyframes neonPulse{50%{box-shadow:0 0 14px var(--neon-g),0 0 36px #ffc21a88,0 0 70px #ffc21a44,inset 0 0 40px #ffc21a2a;border-color:var(--neon-g)}}
.emco-hero-slogan{color:#fff!important;text-shadow:0 0 10px #22e6ff}
.emco-hero-logo img{filter:drop-shadow(0 0 10px #22e6ffaa) drop-shadow(0 0 22px #22e6ff66)!important}
.emco-hero-promise{background:var(--neon-g)!important;color:#102b51!important;box-shadow:0 0 12px var(--neon-g),0 0 30px #ffc21a99!important}
.emco-hero-brands span{background:#ffffff22!important;border:1.5px solid #ffffffaa!important;box-shadow:0 0 10px #ffffff44}
/* tarjetas tipo vidrio neón */
.product-card,.category-card,.ad-panel,.socio-banner,.promo-slide,.step,.order-card{
  background:linear-gradient(160deg,rgba(60,110,230,.55),rgba(30,66,170,.55))!important;border:1.5px solid #22e6ffaa!important;
  box-shadow:0 0 8px #22e6ff77,0 0 22px #22e6ff33,inset 0 0 18px #22e6ff1f!important;backdrop-filter:blur(8px)}
.product-card:hover,.category-card:hover{border-color:var(--neon-g)!important;box-shadow:0 0 10px var(--neon-g),0 0 30px #ffc21a77,inset 0 0 18px #ffc21a22!important}
.company-card{border-color:var(--neon-g)!important;box-shadow:0 0 8px #ffc21a88,0 0 22px #ffc21a33!important}
.category-card.is-active{background:linear-gradient(160deg,#2f63e0,#2148b8)!important;border:2px solid var(--neon-g)!important;box-shadow:0 0 12px var(--neon-g),0 0 30px #ffc21a88!important}
.category-icon{box-shadow:0 0 12px #22e6ffaa!important}
.category-name,.product-name{color:#fff!important}
.product-company{color:var(--neon-c)!important;text-shadow:0 0 8px #22e6ff99}
.product-image-area{border:1px solid #22e6ff55!important}
.price,.price-sale,.product-body .price{color:var(--neon-g)!important;text-shadow:0 0 8px #ffc21acc,0 0 18px #ffc21a66!important}
.pack-note,.category-pack-note{background:#ffc21a26!important;border:1px solid var(--neon-g)!important;color:#fff3c4!important;box-shadow:0 0 8px #ffc21a55}
.pick-units,.cart-units{color:var(--neon-g)!important;text-shadow:0 0 8px #ffc21a99}
/* botones */
.add-btn,.btn-primary:not(.btn-whatsapp),.quick-search-submit,.app-install-button,.socio-banner button{
  background:linear-gradient(135deg,#ffd23f,#ffb000)!important;color:#102b51!important;box-shadow:0 0 10px #ffc21acc,0 0 24px #ffc21a66!important;border:0!important}
.add-btn:hover,.btn-primary:hover{box-shadow:0 0 14px #ffd23f,0 0 36px #ffc21aaa!important;transform:translateY(-1px)}
.btn-whatsapp{box-shadow:0 0 12px #25d366,0 0 30px #25d36688!important}
.orders-btn,.access-logout{border:1.5px solid var(--neon-c)!important;color:#fff!important;background:#ffffff14!important;box-shadow:0 0 10px #22e6ff77!important}
.product-qty-controls button,.quantity-bar button{box-shadow:0 0 8px #22e6ff66}
.ads-nav button,#promoPrev,#promoNext{border:1.5px solid var(--neon-c)!important;color:#fff!important;box-shadow:0 0 10px #22e6ff88!important}
.ad-dot.is-current,.promo-carousel-dot.is-current{background:var(--neon-g)!important;box-shadow:0 0 10px var(--neon-g)!important}
.cart-fab{box-shadow:0 0 14px var(--neon-g),0 0 34px #ffc21a88!important}
/* carrito y ventanas */
.cart-drawer,.checkout-modal,.orders-modal{background:linear-gradient(180deg,#2350c4,#1a3a9a)!important;border-left:2px solid var(--neon-c)!important;box-shadow:0 0 30px #22e6ff77!important}
.how-section{background:linear-gradient(135deg,#1f47b3,#2a5ad4)!important;border-top:2px solid var(--neon-c);border-bottom:2px solid var(--neon-g)}
.footer{background:#142e80!important;border-top:2px solid var(--neon-c)!important;box-shadow:0 0 24px #22e6ff66}
/* entrada */
.access-screen{background:radial-gradient(700px 500px at 20% 10%,#22e6ff44,transparent 60%),radial-gradient(700px 500px at 90% 90%,#ffc21a33,transparent 60%),linear-gradient(160deg,#2a5ad4,#1a3a9a)!important}
.access-card{background:rgba(30,66,170,.75)!important;border:2px solid var(--neon-c)!important;box-shadow:0 0 14px var(--neon-c),0 0 40px #22e6ff77!important}
.entry-option{background:linear-gradient(120deg,#2f63e0,#2148b8)!important;border:1.5px solid var(--neon-g)!important;box-shadow:0 0 10px #ffc21a88!important}
.access-overline{color:var(--neon-g)!important;text-shadow:0 0 10px var(--neon-g)}
@media(prefers-reduced-motion:reduce){.emco-hero{animation:none}}
/* Imagen cuadrada que llena todo el recuadro */
.product-card .product-image-area{aspect-ratio:1/1!important;height:auto!important;min-height:0!important;padding:0!important;overflow:hidden!important;border-radius:14px!important;background:#2148b8!important}
.product-card .product-image-area img.product-image{width:100%!important;height:100%!important;max-height:none!important;object-fit:cover!important;padding:0!important;margin:0!important;transform:none!important}
/* Prioridad alta para barras superiores */
html body .topbar{background:linear-gradient(90deg,#1d43ad,#2a5ad4,#1d43ad)!important;border-bottom:2px solid #22e6ff!important;box-shadow:0 0 16px #22e6ffaa!important}
html body .announcement{background:linear-gradient(90deg,#ff3df2,#2148b8 28%,#2148b8 72%,#22e6ff)!important;color:#fff!important}
html body .footer,html body .how-section{background:linear-gradient(135deg,#1d43ad,#2a5ad4)!important}
.emco-hero-promise small{color:#102b51!important;opacity:.85}
html body .drawer-footer{background:linear-gradient(180deg,#1d43ad,#16348e)!important;border-top:2px solid #22e6ff!important;box-shadow:0 -6px 20px #22e6ff44!important}
html body .cart-drawer,html body .checkout-modal,html body .orders-modal{background:linear-gradient(180deg,#2350c4,#1a3a9a)!important}
/* Evitar que el celular acerque la página al tocar varias veces + / − o los campos de cantidad */
html,body,button,a,input,select,textarea,.product-qty-controls,.quantity-bar{touch-action:manipulation!important}
input,select,textarea,.product-qty-input,[data-cart-input]{font-size:16px!important}
button{-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.emco-age-icon{margin:4px auto 10px;width:86px;height:86px;border-radius:50%;display:grid;place-items:center;font-size:34px;font-weight:900;color:#fff;border:3px solid #ffc21a;box-shadow:0 0 12px #ffc21a,0 0 30px #ffc21a88;background:#ffffff14}
.emco-age-icon span{font-size:20px;color:#ffc21a;margin-left:2px}
.entry-age{text-align:center}
.entry-age .entry-check,.entry-trade-note{text-align:left}
#ageDeny{color:#ffd9e8}
[hidden]{display:none!important}
html body .emco-age-icon{display:flex!important;flex-direction:row!important;align-items:center;justify-content:center;gap:1px;font-family:inherit!important;line-height:1}
html body .emco-age-icon span{display:inline!important;position:static!important;margin:0!important}
html body #entryError{background:#ff3d6e22!important;color:#ffe3ea!important;border:1px solid #ff6b8f!important}
html body #entryError:empty{display:none!important}

/* ===== Menos iluminación (23 nov): mismos colores, brillos suaves ===== */
html body .section-heading h2,html body .ads-header h2,html body .promo-compact-heading h2{text-shadow:0 0 10px #22e6ff55!important}
html body .section-kicker,html body .red-dot,html body .brand-period,html body .product-company,html body .access-overline,html body .emco-hero-slogan{text-shadow:none!important}
html body .price,html body .price-sale,html body .product-body .price,html body .pick-units,html body .cart-units{text-shadow:none!important}
html body .emco-hero{animation:none!important;border:1.5px solid #22e6ff99!important;box-shadow:0 6px 24px #0b1d5a55!important}
html body .emco-hero-logo img,html body .emco-gate-logo,html body .emco-header-logo{filter:drop-shadow(0 2px 6px #0003)!important}
html body .emco-hero-promise{box-shadow:0 4px 12px #0003!important}
html body .emco-hero-brands span{box-shadow:none!important}
html body .product-card,html body .category-card,html body .ad-panel,html body .socio-banner,html body .promo-slide,html body .step,html body .order-card{border:1px solid #9fe9ff66!important;box-shadow:0 4px 16px #0b1d5a40!important}
html body .product-card:hover,html body .category-card:hover{border-color:#ffc21a!important;box-shadow:0 6px 20px #0b1d5a55!important}
html body .company-card{border-color:#ffc21aaa!important;box-shadow:0 4px 16px #0b1d5a40!important}
html body .category-card.is-active{box-shadow:0 0 0 2px #ffc21a!important}
html body .category-icon{box-shadow:none!important}
html body .add-btn,html body .btn-primary:not(.btn-whatsapp),html body .quick-search-submit,html body .app-install-button,html body .socio-banner button{box-shadow:0 3px 10px #0003!important}
html body .btn-whatsapp{box-shadow:0 3px 10px #0003!important}
html body .orders-btn,html body .access-logout,html body .ads-nav button,html body #promoPrev,html body #promoNext,html body .product-qty-controls button,html body .quantity-bar button{box-shadow:none!important}
html body .cart-fab{box-shadow:0 4px 14px #0005!important}
html body .topbar{box-shadow:0 2px 10px #0b1d5a55!important;border-bottom:1px solid #22e6ff88!important}
html body #searchInput{box-shadow:none!important;border-width:1.5px!important}
html body .pack-note,html body .category-pack-note{box-shadow:none!important}
html body .access-card{box-shadow:0 10px 30px #0b1d5a66!important;border:1.5px solid #22e6ff99!important}
html body .entry-option{box-shadow:none!important}
html body .emco-age-icon{box-shadow:none!important}
html body .footer,html body .cart-drawer,html body .checkout-modal,html body .orders-modal,html body .drawer-footer{box-shadow:none!important}
html body .ad-dot.is-current,html body .promo-carousel-dot.is-current{box-shadow:none!important}
#spot{display:none!important}
#fx{opacity:.35}
/* Empresas con su logo; sus categorías se abren debajo */
html body #categoryGrid{display:block!important}
.company-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.company-card{display:flex;flex-direction:column;align-items:center;gap:10px;padding:14px;border-radius:20px;cursor:pointer;font:inherit;color:#fff;
  background:linear-gradient(160deg,rgba(60,110,230,.55),rgba(30,66,170,.55));border:1px solid #9fe9ff66;box-shadow:0 4px 16px #0b1d5a40;transition:transform .15s,border-color .15s}
.company-card:hover{transform:translateY(-2px);border-color:#ffc21a}
.company-card.is-active{border:2px solid #ffc21a;background:linear-gradient(160deg,#2f63e0,#2148b8)}
.company-logo{width:100%;aspect-ratio:1/1;max-height:170px;border-radius:16px;background:#fff;display:grid;place-items:center;overflow:hidden;padding:10px}
.company-logo-img{max-width:100%;max-height:100%;object-fit:contain;display:block}
.company-logo:has(img[src*="heineken"]){padding:0;border-radius:50%;aspect-ratio:1/1;width:auto;height:100%;max-height:150px}
.company-wordmark{font-weight:900;font-size:clamp(15px,3.4vw,22px);text-align:center;color:var(--emp)}
.company-meta{font-size:13px;font-weight:700;color:#d4e2ff;display:flex;gap:6px;align-items:center}
.company-meta b{color:#ffc21a;font-size:11px}
.company-cats{margin-top:16px;padding:14px;border-radius:20px;border:1px dashed #ffc21a99;background:#ffffff10;animation:catsIn .25s ease}
@keyframes catsIn{from{opacity:0;transform:translateY(-6px)}}
.company-cats-title{font-weight:800;margin:0 0 12px;color:#fff}
.company-cats-title strong{color:#ffc21a}
.company-cats-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px}
@media(max-width:560px){.company-row{gap:8px}.company-card{padding:8px;border-radius:14px}.company-logo{padding:6px;border-radius:12px}.company-meta{font-size:11px}.company-cats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
html body .company-logo{aspect-ratio:auto!important;height:150px;max-height:none!important;width:100%}
html body .company-logo-img{width:100%;height:100%;object-fit:contain}
html body .company-logo:has(img[src*="heineken"]){width:150px;height:150px;padding:0}
@media(max-width:560px){html body .company-logo{height:96px}html body .company-logo:has(img[src*="heineken"]){width:96px;height:96px}}
/* Banner de comercios */
.socio-banner{margin:22px auto 30px;padding:24px;border-radius:18px;display:flex;justify-content:space-between;align-items:center;gap:20px;color:#fff}
.socio-banner small{color:#ffc21a;font-weight:800;letter-spacing:2px}
.socio-banner h2{color:#fff;margin:5px 0;font-size:clamp(20px,3vw,28px)}
.socio-banner p{margin:0}
.socio-banner button{padding:14px 18px;border-radius:12px;font-weight:900;cursor:pointer;font-size:15px;white-space:nowrap}
@media(max-width:650px){.socio-banner{flex-direction:column;align-items:stretch;text-align:center}.socio-banner button{width:100%}}
html body .company-logo-img{height:128px!important;max-height:128px!important;width:auto!important;max-width:100%!important}
html body .company-logo:has(img[src*="heineken"]) .company-logo-img{height:150px!important;max-height:150px!important}
@media(max-width:560px){html body .company-logo-img{height:82px!important;max-height:82px!important}html body .company-logo:has(img[src*="heineken"]) .company-logo-img{height:96px!important;max-height:96px!important}}
.price-bump{animation:priceBump .25s ease}
@keyframes priceBump{50%{transform:scale(1.08)}}
.emco-tax-note{font-size:12.5px;line-height:1.5;color:#e6eeff!important;background:#ffffff14;border-left:3px solid #ffc21a;padding:8px 10px;border-radius:8px;margin:8px 0 12px}
.emco-tax-note strong{color:#ffc21a}
.patente-enviada .trade-only{display:none!important}
.emco-min-note{font-size:13px;line-height:1.45;margin:8px 0 4px;padding:8px 10px;border-radius:8px;background:#ffffff14;color:#e6eeff}
.emco-min-note strong{color:#ffc21a}
.emco-min-note.is-short{background:#ff3d6e26;border:1px solid #ff6b8f;color:#fff}
.emco-hours-note{font-size:12.5px;margin:0 0 6px;color:#d4e2ff}
#checkoutBtn:disabled{opacity:.55;cursor:not-allowed;filter:grayscale(.3)}
/* Banner fijo de versión beta (debajo del logo) */
.beta-banner-wrap{margin-top:18px}
.beta-banner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:22px 26px;border-radius:22px;
  background:linear-gradient(120deg,#2f63e0 0%,#2148b8 55%,#1a3a9a 100%);border:1px solid #9fe9ff66;box-shadow:0 4px 16px #0b1d5a40;position:relative;overflow:hidden}
.beta-banner::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,#22e6ff33,transparent 70%)}
.beta-copy{display:flex;flex-direction:column;gap:6px;position:relative;z-index:1}
.beta-tag{align-self:flex-start;font-size:11px;font-weight:900;letter-spacing:2px;color:#102b51;background:#ffc21a;padding:5px 10px;border-radius:999px}
.beta-title{font-size:clamp(20px,3.2vw,28px);font-weight:900;color:#fff}
.beta-sub{font-size:14.5px;line-height:1.5;color:#e6eeff;max-width:620px}
.beta-art{position:relative;z-index:1;flex:none;width:96px;height:96px;border-radius:50%;display:grid;place-items:center;border:3px solid #22e6ff;background:#ffffff14}
.beta-art span{font-size:42px}
@media(max-width:560px){.beta-banner{padding:18px}.beta-art{width:64px;height:64px;border-width:2px}.beta-art span{font-size:28px}.beta-sub{font-size:13.5px}}
/* Precio unitario y selector Unidad / Caja */
.unit-price{font-size:13px;color:#d4e2ff;margin:2px 0 8px}
.unit-price b{color:#fff;font-weight:900}
.unit-toggle{display:flex;align-items:center;justify-content:center;gap:8px;margin:2px 0 10px}
.ut-label{background:none;border:0;color:#c9d8ff;font:inherit;font-weight:800;font-size:14px;cursor:pointer;padding:4px 2px}
.ut-label.on{color:#fff;text-decoration:underline;text-decoration-color:#ffc21a;text-underline-offset:4px;text-decoration-thickness:2px}
.ut-switch{position:relative;width:50px;height:28px;border-radius:999px;border:0;cursor:pointer;background:#ffffff33;padding:0;transition:background .2s}
.ut-switch span{position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#ffc21a;box-shadow:0 2px 6px #0004;transition:transform .2s}
.ut-switch.is-caja{background:#22e6ff66}
.ut-switch.is-caja span{transform:translateX(22px)}
.pick-units:empty{display:none}
.cart-qty-units{min-width:56px;display:grid;place-items:center;background:#fff;color:#102b51;font-weight:900;font-size:17px;align-self:stretch}
/* Logo de PROMOCIÓN sobre la imagen */
html body .product-image-area .promo-sticker{top:10px!important;left:auto!important;right:10px!important;z-index:3!important;background:linear-gradient(135deg,#ff2d55,#ff7a00)!important;color:#fff!important;
  font-size:12px!important;font-weight:900!important;letter-spacing:1px!important;padding:7px 11px!important;border-radius:999px!important;border:2px solid #ffc21a!important;box-shadow:0 3px 10px #0005!important;transform:rotate(4deg)}
html body .product-image-area .promo-sticker::before{content:"🔥 "}
html body .product-card.is-promo{border-color:#ff7a00!important}
html body .price-before{color:#c9d8ff!important;font-size:14px!important;text-decoration:line-through}
html body .product-card .product-image-area .promo-sticker{bottom:auto!important;width:auto!important;height:auto!important;line-height:1.2!important}
/* Etiqueta de promoción: transparente y elegante */
html body .product-card .product-image-area .promo-sticker{background:rgba(10,24,60,.38)!important;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);
  color:#ffd76a!important;border:1px solid rgba(255,215,106,.75)!important;box-shadow:none!important;transform:none!important;
  font-size:10.5px!important;font-weight:800!important;letter-spacing:2.5px!important;padding:6px 12px!important;border-radius:999px!important;text-transform:uppercase}
html body .product-card .product-image-area .promo-sticker::before{content:"✦ "!important;letter-spacing:0}
html body .product-card.is-promo{border-color:rgba(255,215,106,.7)!important}
.promo-slide-prices{flex-wrap:wrap;justify-content:center}
.promo-slide-prices .promo-per{flex-basis:100%;text-align:center;font-size:13px;font-weight:700;color:#d4e2ff;margin-top:2px}
html body .promo-slide{height:auto!important;min-height:0!important;padding-bottom:14px!important;overflow:visible!important}
html body .promo-slide-prices{padding-bottom:4px!important;overflow:visible!important;height:auto!important}
html body .promo-slide-image{background:#2148b8!important}
html body .promo-carousel-rail{align-items:stretch}
html body .promo-carousel-rail .promo-slide{max-height:none!important;height:auto!important}
html body .promo-carousel-rail{height:auto!important}
/* Botón de código de barras dentro del buscador: transparente y elegante */
.search-with-suggestions{position:relative}
html body #searchInput{padding-right:92px!important}
.scan-btn{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:12px;border:1px solid rgba(33,72,184,.25);
  background:rgba(33,72,184,.06);display:grid;place-items:center;cursor:pointer;padding:0;z-index:3;transition:background .2s,border-color .2s}
.scan-btn:hover,.scan-btn:focus-visible{background:rgba(255,194,26,.18);border-color:#ffc21a;outline:none}
.scan-btn svg{width:24px;height:24px;fill:none;stroke:#2148b8;stroke-width:1.8;stroke-linecap:round}
.scan-btn .scan-laser{stroke:#ff3d6e;stroke-width:1.4;animation:laser 1.8s ease-in-out infinite}
@keyframes laser{50%{transform:translateY(3px);opacity:.5}}
html body #clearSearch{right:52px!important}
@media(prefers-reduced-motion:reduce){.scan-btn .scan-laser{animation:none}}
/* Ventana del escáner */
.scan-modal{position:fixed;inset:0;z-index:100002;background:rgba(4,12,36,.78);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:center;justify-content:center;padding:16px}
.scan-modal[hidden]{display:none!important}
.scan-card{width:min(100%,460px);border-radius:22px;padding:18px;background:linear-gradient(180deg,#2350c4,#1a3a9a);border:1px solid #9fe9ff66;color:#fff}
.scan-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}
.scan-head small{color:#ffc21a;font-weight:800;letter-spacing:2px}
.scan-head h2{margin:2px 0 0;font-size:20px;color:#fff}
.scan-view{position:relative;width:100%;aspect-ratio:4/3;border-radius:16px;overflow:hidden;background:#000}
.scan-view video,#scanReader{width:100%;height:100%;object-fit:cover;display:block}
#scanReader video{width:100%!important;height:100%!important;object-fit:cover}
#scanReader img,#scanReader #qr-shaded-region{display:none!important}
.scan-frame{position:absolute;left:9%;right:9%;top:28%;bottom:28%;border:2px solid rgba(255,255,255,.85);border-radius:12px;box-shadow:0 0 0 999px rgba(0,0,0,.35);pointer-events:none}
.scan-line{position:absolute;left:6%;right:6%;top:50%;height:2px;background:#ff3d6e;box-shadow:0 0 10px #ff3d6e;animation:scanmove 1.6s ease-in-out infinite}
@keyframes scanmove{0%,100%{top:15%}50%{top:85%}}
.scan-status{margin:12px 2px 2px;font-size:14px;line-height:1.45;color:#e6eeff;text-align:center}
.scan-status.is-bad{color:#ffd9e2}
html body .catalog-search .scan-btn{top:50%!important;right:6px!important;transform:translateY(-50%)!important;width:38px!important;height:38px!important;
  background:rgba(33,72,184,.06)!important;border:1px solid rgba(33,72,184,.25)!important;border-radius:11px!important;box-shadow:none!important;font-size:0!important}
html body .catalog-search .scan-btn:hover,html body .catalog-search .scan-btn:focus-visible{background:rgba(255,194,26,.2)!important;border-color:#ffc21a!important}
html body .catalog-search #clearSearch{top:50%!important;transform:translateY(-50%)!important;right:50px!important;background:transparent!important;color:#5b6f96!important;box-shadow:none!important}
html body #searchInput::-webkit-search-cancel-button{-webkit-appearance:none;display:none}
.scan-card{transition:transform .25s ease;transform-origin:center}
.scan-modal.is-rotated{overflow:hidden}
.scan-modal.is-rotated .scan-view{aspect-ratio:4/3}
/* Botón Buscar: solo la lupa, transparente, a la par del escáner */
html body .catalog-search .search-go{position:absolute;top:50%!important;transform:translateY(-50%)!important;right:48px!important;width:38px!important;height:38px!important;
  display:grid;place-items:center;padding:0;cursor:pointer;z-index:3;background:rgba(33,72,184,.06)!important;border:1px solid rgba(33,72,184,.25)!important;border-radius:11px!important;box-shadow:none!important;font-size:0!important}
html body .catalog-search .search-go svg{width:22px;height:22px;fill:none;stroke:#2148b8;stroke-width:2;stroke-linecap:round}
html body .catalog-search .search-go:hover,html body .catalog-search .search-go:focus-visible{background:rgba(255,194,26,.2)!important;border-color:#ffc21a!important;outline:none}
html body #searchInput{padding-right:136px!important}
html body .catalog-search #clearSearch{right:90px!important}
html body .quick-search-inner{grid-template-columns:1fr!important}
html body .quick-search-inner .catalog-search{width:100%;max-width:100%}
/* ===== Asistente de ayuda ===== */
.bot-fab{position:fixed;left:16px;bottom:18px;z-index:9000;display:flex;align-items:center;gap:8px;padding:10px 16px 10px 12px;border-radius:999px;cursor:pointer;
  background:rgba(16,43,110,.72);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border:1.5px solid #22e6ffaa;color:#fff;font:inherit;font-weight:800;box-shadow:0 6px 20px #0005}
.bot-fab-ico{font-size:20px}.bot-fab.is-open{border-color:#ffc21a}
.bot-panel{position:fixed;left:12px;bottom:78px;z-index:9001;width:min(380px,calc(100vw - 24px));height:min(560px,calc(100dvh - 110px));display:flex;flex-direction:column;
  border-radius:22px;overflow:hidden;background:linear-gradient(180deg,#2350c4,#1a3a9a);border:1px solid #9fe9ff66;box-shadow:0 18px 50px #0008;color:#fff}
.bot-panel[hidden]{display:none!important}
.bot-head{display:flex;align-items:center;gap:10px;padding:12px 14px;background:rgba(7,20,60,.45);border-bottom:1px solid #9fe9ff40}
.bot-head img{width:42px;height:auto}.bot-head b{display:block;font-size:15px}.bot-head small{color:#7dffb0;font-size:11.5px}
.bot-close{margin-left:auto;width:34px;height:34px;border-radius:50%;border:1px solid #ffffff44;background:transparent;color:#fff;font-size:22px;cursor:pointer;line-height:1}
.bot-log{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:10px;scroll-behavior:smooth}
.bot-msg{max-width:88%;padding:10px 12px;border-radius:16px;font-size:14px;line-height:1.45;word-wrap:break-word}
.bot-msg.is-bot{align-self:flex-start;background:rgba(255,255,255,.12);border:1px solid #ffffff22;border-bottom-left-radius:4px}
.bot-msg.is-me{align-self:flex-end;background:#ffc21a;color:#102b51;font-weight:700;border-bottom-right-radius:4px}
.bot-msg ol,.bot-msg ul{margin:6px 0 0;padding-left:18px}.bot-msg li{margin:3px 0}
.bot-msg b{color:#ffd76a}.bot-msg.is-me b{color:#102b51}
.bot-wa{display:inline-block;margin-top:8px;padding:9px 12px;border-radius:12px;background:#1fae5b;color:#fff!important;font-weight:800;text-decoration:none}
.bot-prods{display:grid;gap:8px;margin-top:8px}
.bot-prod{display:flex;align-items:center;gap:10px;width:100%;text-align:left;padding:8px;border-radius:12px;border:1px solid #9fe9ff55;background:rgba(7,20,60,.35);color:#fff;font:inherit;cursor:pointer}
.bot-prod img{width:46px;height:46px;border-radius:8px;object-fit:cover;flex:none}
.bot-prod span{flex:1;min-width:0}.bot-prod b{display:block;font-size:13.5px;color:#fff}.bot-prod small{display:block;font-size:11.5px;color:#bcd0f5}
.bot-prod em{display:block;font-style:normal;font-size:12.5px;color:#ffd76a;font-weight:800;margin-top:2px}.bot-prod i{font-style:normal;color:#22e6ff;font-weight:800;font-size:12px}
.bot-chips{display:flex;gap:6px;overflow-x:auto;padding:8px 12px;border-top:1px solid #9fe9ff30;scrollbar-width:none}
.bot-chips::-webkit-scrollbar{display:none}
.bot-chip{flex:none;padding:7px 11px;border-radius:999px;border:1px solid #ffc21a99;background:transparent;color:#ffe3a3;font:inherit;font-size:12.5px;font-weight:700;cursor:pointer}
.bot-form{display:flex;gap:8px;padding:10px 12px 12px}
.bot-form input{flex:1;min-width:0;padding:11px 12px;border-radius:12px;border:1.5px solid #22e6ff;background:#fff;color:#102b51;font-size:16px}
.bot-form button{width:44px;border-radius:12px;border:0;background:linear-gradient(135deg,#ffd23f,#ffb000);cursor:pointer;display:grid;place-items:center}
.bot-form svg{width:20px;height:20px;fill:#102b51}
.bot-typing{display:inline-flex;gap:4px}.bot-typing i{width:7px;height:7px;border-radius:50%;background:#c9d8ff;animation:bt 1s infinite}
.bot-typing i:nth-child(2){animation-delay:.15s}.bot-typing i:nth-child(3){animation-delay:.3s}
@keyframes bt{50%{opacity:.3;transform:translateY(-3px)}}
@media(max-width:560px){.bot-fab-txt{display:none}.bot-fab{padding:12px;left:12px;bottom:16px}.bot-panel{left:8px;right:8px;width:auto;bottom:74px}}
body.modal-open .bot-fab{display:none}
/* Pedido dictado */
.bot-mic{width:44px;flex:none;border-radius:12px;border:1.5px solid #22e6ff;background:rgba(255,255,255,.08);display:grid;place-items:center;cursor:pointer}
.bot-mic svg{width:20px;height:20px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
.bot-mic.is-on{background:#ff3d6e;border-color:#ff3d6e;animation:micp 1s infinite}
@keyframes micp{50%{box-shadow:0 0 0 8px #ff3d6e33}}
.bot-msg.is-order{max-width:100%;width:100%}
.ord-title{font-weight:800;margin-bottom:8px}
.ord-row{display:flex;gap:10px;align-items:flex-start;padding:8px;border-radius:12px;background:rgba(7,20,60,.35);border:1px solid #9fe9ff44;margin-bottom:8px}
.ord-row.is-bad{display:block;background:rgba(255,61,110,.15);border-color:#ff6b8f}
.ord-row img{width:44px;height:44px;border-radius:8px;object-fit:cover;flex:none}
.ord-info{flex:1;min-width:0}.ord-info b{display:block;font-size:13.5px;color:#fff}.ord-info small{display:block;color:#ffd76a;font-weight:800;font-size:12.5px;margin:2px 0 6px}
.ord-qty{display:flex;gap:6px;flex-wrap:wrap}
.ord-qty button{min-width:32px;height:30px;padding:0 9px;border-radius:9px;border:1px solid #9fe9ff77;background:transparent;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.ord-qty .ord-del{color:#ffb3c4;border-color:#ff8fa8}
.ord-alts{display:grid;gap:5px;margin-top:6px}
.ord-alts button{text-align:left;padding:7px 9px;border-radius:9px;border:1px solid #ffc21a88;background:transparent;color:#ffe3a3;font:inherit;font-size:12.5px;cursor:pointer}
.ord-add{display:block;width:100%;margin-top:6px;padding:11px;border:0;border-radius:12px;background:linear-gradient(135deg,#ffd23f,#ffb000);color:#102b51;font:inherit;font-weight:900;cursor:pointer}
.ord-help{display:block;margin-top:6px;color:#c9d8ff}
html body .bot-form .bot-mic{background:rgba(255,255,255,.1)!important;border:1.5px solid #22e6ff!important;box-shadow:none!important}
html body .bot-form .bot-mic.is-on{background:#ff3d6e!important;border-color:#ff3d6e!important}
/* Botón de voz en el buscador */
html body .catalog-search .voice-go{position:absolute;top:50%!important;transform:translateY(-50%)!important;right:90px!important;width:38px!important;height:38px!important;
  display:grid;place-items:center;padding:0;cursor:pointer;z-index:3;background:rgba(33,72,184,.06)!important;border:1px solid rgba(33,72,184,.25)!important;border-radius:11px!important;box-shadow:none!important;font-size:0!important}
html body .catalog-search .voice-go svg{width:21px;height:21px;fill:none;stroke:#2148b8;stroke-width:2;stroke-linecap:round}
html body .catalog-search .voice-go:hover,html body .catalog-search .voice-go:focus-visible{background:rgba(255,194,26,.2)!important;border-color:#ffc21a!important;outline:none}
html body .catalog-search .voice-go.is-on{background:#ff3d6e!important;border-color:#ff3d6e!important;animation:micp 1s infinite}
html body .catalog-search .voice-go.is-on svg{stroke:#fff}
html body #searchInput{padding-right:178px!important}
html body .catalog-search #clearSearch{right:132px!important}
/* ===== Pedido por voz ===== */
.voz-sheet{position:fixed;inset:0;z-index:100003;background:rgba(4,12,36,.8);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);display:flex;align-items:flex-end;justify-content:center}
.voz-sheet[hidden]{display:none!important}
.voz-card{width:min(100%,520px);height:min(92dvh,760px);display:flex;flex-direction:column;gap:8px;padding:16px 16px calc(14px + env(safe-area-inset-bottom));border-radius:24px 24px 0 0;
  background:linear-gradient(180deg,#2350c4,#1a3a9a);border:1px solid #9fe9ff66;color:#fff}
@media(min-width:700px){.voz-sheet{align-items:center}.voz-card{border-radius:24px}}
.voz-head{display:flex;justify-content:space-between;align-items:flex-start}
.voz-head small{color:#ffc21a;font-weight:800;letter-spacing:2px}.voz-head h2{margin:2px 0 0;font-size:21px;color:#fff}
.voz-mic{position:relative;align-self:center;width:118px;height:118px;border-radius:50%;border:2px solid #22e6ff;background:rgba(255,255,255,.08);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;font:inherit;margin:4px 0}
.voz-mic svg{width:40px;height:40px;fill:none;stroke:#fff;stroke-width:2;stroke-linecap:round}
.voz-mic b{font-size:11.5px;font-weight:800}
.voz-mic.is-on{background:#ff3d6e;border-color:#ff3d6e}
.voz-ring{position:absolute;inset:-8px;border-radius:50%;border:2px solid #ff3d6e;opacity:0}
.voz-mic.is-on .voz-ring{animation:vozr 1.4s ease-out infinite}
@keyframes vozr{0%{opacity:.8;transform:scale(.9)}100%{opacity:0;transform:scale(1.25)}}
.voz-estado{margin:0;text-align:center;font-size:13.5px;color:#d9e6ff;min-height:18px}
.voz-estado.is-on{color:#7dffb0}.voz-estado.is-warn{color:#ffd76a}.voz-estado.is-bad{color:#ffb3c4}
.voz-vivo{margin:0;text-align:center;font-style:italic;color:#fff;min-height:20px;font-size:15px}
.voz-lista{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:8px;padding:2px}
.voz-vacio{margin:auto;text-align:center;color:#c9d8ff;font-size:14px;line-height:1.6}
.voz-item{display:flex;gap:10px;padding:9px;border-radius:14px;background:rgba(7,20,60,.38);border:1px solid #9fe9ff44}
.voz-item img{width:48px;height:48px;border-radius:9px;object-fit:cover;flex:none}
.voz-info{flex:1;min-width:0}.voz-info b{display:block;font-size:14px}.voz-info small{display:block;color:#ffd76a;font-weight:800;font-size:13px;margin:2px 0 6px}
.voz-ctrl{display:flex;gap:6px;flex-wrap:wrap}
.voz-ctrl button{min-width:34px;height:32px;padding:0 10px;border-radius:10px;border:1px solid #9fe9ff77;background:transparent;color:#fff;font:inherit;font-weight:800;cursor:pointer}
.voz-alts{display:grid;gap:5px;margin-top:6px}
.voz-alts button{text-align:left;padding:7px 9px;border-radius:9px;border:1px solid #ffc21a88;background:transparent;color:#ffe3a3;font:inherit;font-size:12.5px;cursor:pointer}
.voz-no{padding:8px 10px;border-radius:12px;background:rgba(255,61,110,.15);border:1px solid #ff6b8f;font-size:13px;display:flex;justify-content:space-between;gap:8px;align-items:center}
.voz-no button{background:none;border:0;color:#fff;cursor:pointer}
.voz-agregar{padding:14px;border:0;border-radius:14px;background:linear-gradient(135deg,#ffd23f,#ffb000);color:#102b51;font:inherit;font-weight:900;font-size:16px;cursor:pointer}
.voz-agregar[hidden]{display:none}
.voz-form{display:flex;gap:8px}
.voz-form input{flex:1;min-width:0;padding:11px 12px;border-radius:12px;border:1.5px solid #22e6ff;background:#fff;color:#102b51;font-size:16px}
.voz-form button{width:46px;border-radius:12px;border:1.5px solid #22e6ff;background:rgba(255,255,255,.1);color:#fff;font-size:22px;cursor:pointer}
.voz-limpiar{align-self:center;background:none;border:0;color:#ffb3c4;text-decoration:underline;font:inherit;font-size:13px;cursor:pointer}
body.voz-open .bot-fab,body.voz-open .cart-fab{display:none!important}
/* Pedido escrito en la sección de voz */
.voz-form{flex-direction:column;gap:6px}
.voz-form label{font-size:13px;font-weight:800;color:#ffe3a3}
.voz-form textarea{width:100%;box-sizing:border-box;resize:vertical;min-height:84px;max-height:180px;padding:10px 12px;border-radius:12px;border:1.5px solid #22e6ff;background:#fff;color:#102b51;font:inherit;font-size:16px;line-height:1.45}
.voz-generar{padding:12px;border-radius:12px;border:1.5px solid #22e6ff;background:rgba(255,255,255,.12);color:#fff;font:inherit;font-weight:900;font-size:15px;cursor:pointer;width:100%}
html body .voz-form .voz-generar{width:100%!important}
.voz-mic{width:96px;height:96px}.voz-mic svg{width:32px;height:32px}
.voz-card{overflow-y:auto}
.voz-lista{flex:none;overflow:visible;min-height:60px}
.voz-agregar{position:sticky;bottom:0;z-index:2;box-shadow:0 -6px 16px #0b1d5a66}
/* Cuadro "Escribime tu pedido" debajo del buscador */
.quick-order{margin-top:10px}
.quick-order-box{display:grid;grid-template-columns:1fr auto;gap:8px 10px;align-items:end;padding:14px;border-radius:18px;
  background:linear-gradient(120deg,rgba(47,99,224,.55),rgba(26,58,154,.55));border:1px solid #9fe9ff66;box-shadow:0 4px 16px #0b1d5a40}
.quick-order-box label{grid-column:1/-1;color:#fff;display:flex;flex-wrap:wrap;gap:2px 6px;align-items:baseline}
.quick-order-box label b{font-size:16px}.quick-order-box label small{flex-basis:100%;color:#c9d8ff;font-size:12.5px}
.quick-order-box textarea{width:100%;box-sizing:border-box;min-height:70px;max-height:160px;resize:vertical;padding:10px 12px;border-radius:12px;border:1.5px solid #22e6ff;background:#fff;color:#102b51;font:inherit;font-size:16px;line-height:1.45}
.quick-order-go{height:46px;padding:0 16px;border:0;border-radius:12px;background:linear-gradient(135deg,#ffd23f,#ffb000);color:#102b51;font:inherit;font-weight:900;cursor:pointer;white-space:nowrap}
@media(max-width:560px){.quick-order-box{grid-template-columns:1fr}.quick-order-go{width:100%}}
.quick-order-box{padding:12px 14px;gap:6px 10px}
.quick-order-box label b{font-size:15px;letter-spacing:.3px}
.quick-order-box label small{font-size:12px}
.quick-order-box textarea{min-height:54px}
/* Sin micrófono por ahora: buscador con lupa y escáner */
html body #searchInput{padding-right:136px!important}
html body .catalog-search #clearSearch{right:90px!important}
.voz-vivo:empty,.voz-estado:empty{display:none}
/* Productos no encontrados en Pedido rápido */
html body .voz-no{display:block!important;padding:12px 14px!important;line-height:1.35}
html body .voz-no .voz-no-head{display:flex;justify-content:space-between;align-items:center;gap:8px}
html body .voz-no ul{margin:6px 0 6px;padding:0;list-style:none}
html body .voz-no li{font-weight:700;color:#ffd84d;padding:2px 0;word-break:break-word}
html body .voz-no small{display:block;opacity:.85;font-size:.82rem}
html body .voz-no button{background:none;border:0;color:inherit;font-size:1.1rem;cursor:pointer}
/* Pedido rápido: pantalla completa y fija */
html body .voz-sheet{top:0;left:0;right:0;bottom:auto;height:100%;align-items:stretch!important;justify-content:center;overscroll-behavior:contain;background:#1a3a9a}
html body .voz-card{width:100%;max-width:640px;height:100%;border-radius:0!important;border:0;overflow-y:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
  padding:calc(12px + env(safe-area-inset-top)) 16px calc(18px + env(safe-area-inset-bottom))}
html body .voz-head{position:sticky;top:calc(-12px - env(safe-area-inset-top));z-index:2;margin:calc(-12px - env(safe-area-inset-top)) -16px 0;padding:calc(12px + env(safe-area-inset-top)) 16px 10px;background:#2350c4;box-shadow:0 6px 14px rgba(0,0,0,.18)}
html body .voz-lista{flex:none;overflow:visible}
html body .voz-agregar{position:sticky;bottom:0;z-index:2}
html body .voz-form textarea{font-size:16px}
/* Carrito y paneles fijos: sin rebote ni movimiento del fondo */
html body .cart-drawer,html body .checkout-modal,html body .orders-modal{overscroll-behavior:contain}
html body .cart-drawer .cart-items{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
/* Pedido de emergencia */
html body .emerg-box{display:flex;align-items:center;gap:12px;margin:8px 0 6px;padding:11px 12px;border-radius:14px;border:1px solid #ff6b8a88;background:rgba(255,61,110,.1);cursor:pointer;color:#fff;-webkit-tap-highlight-color:transparent}
html body .emerg-box[hidden]{display:none!important}
html body .emerg-box input{position:absolute;opacity:0;width:1px;height:1px}
html body .emerg-switch{flex:none;width:44px;height:26px;border-radius:20px;background:rgba(255,255,255,.22);position:relative;transition:background .2s}
html body .emerg-switch::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;transition:transform .2s;box-shadow:0 1px 3px rgba(0,0,0,.3)}
html body .emerg-box.is-on{background:rgba(255,61,110,.22);border-color:#ff3d6e}
html body .emerg-box.is-on .emerg-switch{background:#ff3d6e}
html body .emerg-box.is-on .emerg-switch::after{transform:translateX(18px)}
html body .emerg-box input:focus-visible+.emerg-switch{outline:2px solid #22e6ff;outline-offset:2px}
html body .emerg-txt{display:flex;flex-direction:column;gap:2px;line-height:1.3}
html body .emerg-txt b{font-size:14px}
html body .emerg-txt em{font-style:normal;color:#ffd84d;margin-left:4px}
html body .emerg-txt small{font-size:12px;opacity:.85}
html body .cart-emerg-line span,html body .cart-emerg-line strong{color:#ff9db3!important}
/* Banner fijo: Pedido de emergencia */
html body .emerg-banner-wrap{margin-top:12px}
html body .emerg-banner{width:100%;text-align:left;font:inherit;color:inherit;cursor:pointer;border-color:#ff3d6e99!important;background:linear-gradient(120deg,#3a1d6e,#7a1f4f 55%,#2350c4)!important;-webkit-tap-highlight-color:transparent}
html body .emerg-banner::after{background:radial-gradient(circle,#ff3d6e44,transparent 70%)!important}
html body .emerg-banner .beta-tag{background:#ff3d6e!important;color:#fff!important}
html body .emerg-banner .beta-sub b{color:#ffd84d}
html body .emerg-banner .beta-art{border-color:#ff3d6e!important;box-shadow:0 0 18px #ff3d6e66}
html body .emerg-banner:active{transform:scale(.99)}
/* Secciones ocultas por ahora (Descubrí EMCO y Promociones): quitar la clase "oculto-por-ahora" en index.html para mostrarlas */
html body .oculto-por-ahora{display:none!important}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Portada compacta: logo + buscador + pedido rápido dentro */
html body .emco-hero-compacto{overflow:visible!important;padding:18px 16px 16px!important;margin-top:12px!important;z-index:5}
html body .emco-hero-compacto .emco-hero-logo{margin:0 0 4px}
html body .emco-hero-compacto .emco-hero-logo img{width:min(240px,62%)!important;margin:0 auto}
html body .emco-hero-compacto .emco-hero-slogan{margin:0 0 8px;font-size:17px}
html body .emco-hero-compacto .emco-hero-promise{margin:0 0 12px;padding:7px 14px;font-size:13.5px}
html body .emco-hero-compacto .quick-search-bar{padding:0!important;margin:0 0 12px;border:0!important;position:relative;z-index:60}
html body .emco-hero-compacto .quick-search-inner{padding:0!important;max-width:none}
html body .emco-hero-compacto .quick-order{margin:0!important;padding:0!important;text-align:left}
html body .emco-hero-compacto .quick-order-box{margin:0!important}
@media(min-width:760px){html body .emco-hero-compacto .emco-hero-inner{max-width:720px;margin:0 auto}}
/* Banner de emergencia: brilla y brinca (animación liviana: solo transform/opacity, y solo cuando está en pantalla y no hay ventanas abiertas) */
@keyframes emergBrinco{0%,62%,100%{transform:translateY(0) scale(1)}70%{transform:translateY(-9px) scale(1.015)}78%{transform:translateY(0) scale(1)}84%{transform:translateY(-4px)}90%{transform:translateY(0)}}
@keyframes emergBrillo{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes emergBarrido{0%{transform:translateX(-120%) skewX(-18deg)}55%,100%{transform:translateX(420%) skewX(-18deg)}}
html body .emerg-banner{position:relative;overflow:visible;box-shadow:0 0 12px #ff3d6e66!important}
html body .emerg-glow{position:absolute;inset:-3px;border-radius:24px;box-shadow:0 0 26px #ff3d6ecc,0 0 46px #ffc21a55;opacity:.25;pointer-events:none;z-index:0}
html body .emerg-shine{position:absolute;inset:0;border-radius:22px;overflow:hidden;pointer-events:none;z-index:1}
html body .emerg-shine::before{content:"";position:absolute;top:0;bottom:0;left:0;width:30%;background:linear-gradient(100deg,transparent,#ffffff40,transparent);transform:translateX(-120%) skewX(-18deg)}
html body .emerg-banner .beta-copy,html body .emerg-banner .beta-art{position:relative;z-index:2}
html body .emerg-banner::before{content:none!important}
html body .emerg-banner.anim-on{animation:emergBrinco 2.4s ease-in-out infinite!important}
html body .emerg-banner.anim-on .emerg-glow{animation:emergBrillo 1.6s ease-in-out infinite!important}
html body .emerg-banner.anim-on .emerg-shine::before{animation:emergBarrido 2.8s ease-in-out infinite!important}
/* Video tutorial dentro del asistente */
html body .bot-video{display:block;width:100%;max-height:60vh;margin-top:8px;border-radius:12px;background:#0b1d5a;border:1px solid #22e6ff66;aspect-ratio:9/16;object-fit:contain}

/* RENDIMIENTO EN CELULARES: el desenfoque (blur) detrás de cada tarjeta consume mucha memoria en iPhone
   y con 269 productos puede cerrar la página. Se quita de tarjetas y fondos; solo queda en la barra superior. */
html body .product-card,html body .category-card,html body .company-card,html body .step,html body .promo-slide,html body .catalog-search input,html body #searchInput,
html body .search-suggestions,html body .overlay,html body .access-card,html body .age-card,html body .emco-hero-brands span,html body .scan-modal,html body .voz-sheet,
html body .cart-fab,html body .cart-fab-msg,html body #toast.toast,html body .beta-banner,html body .quick-order-box,html body .bot-fab{-webkit-backdrop-filter:none!important;backdrop-filter:none!important}
html body .overlay{background:rgba(2,6,24,.72)!important}
html body .search-suggestions{background:#0b1a4a!important}
/* Carrito abierto: sin bloquear el body (causaba cierre de la página en iPhone). Solo se evita que el fondo se arrastre. */
html.panel-abierto,html.panel-abierto body{overscroll-behavior:none}
html body .overlay{touch-action:none}
html body .cart-drawer,html body .checkout-modal,html body .orders-modal{overscroll-behavior:contain}
html body .emerg-banner .beta-tag{letter-spacing:.6px!important;font-size:10.5px!important;max-width:100%}
html body .emerg-banner .beta-copy{min-width:0}

/* Fotografías reales: cuadro completo, centrado y sin recortes. */
html body .product-card .product-image-area:has(img.product-image[src$=".webp"]){background:#fff!important;}
html body .product-card .product-image-area img.product-image[src$=".webp"]{object-fit:contain!important;object-position:center center!important;}
/* RENDIMIENTO: el navegador no dibuja las tarjetas que están fuera de la pantalla (menos trabajo al desplazarse). */
html body .product-card{content-visibility:auto;contain-intrinsic-size:auto 430px}
@media(max-width:700px){html body .product-card{contain-intrinsic-size:auto 360px}}
