/* ===== BASE ===== */
*{
    box-sizing: border-box;
}

body{
    overflow-x: hidden;
}

body{
margin:0;
font-family:system-ui;
background:#f4f5f7;
}
/* ===== TOPBAR ===== */
.topbar{
background:#f5f5f5;
padding:5px 15px;
font-size:12px;
display:flex;
justify-content:space-between;
}
/* ===== HEADER ===== */
.header{
display:flex;
align-items:center;
gap:20px;
padding:10px 15px;
background:#fff;
border-bottom:1px solid #eee;
}
.logo{
color:#03aab2;
font-weight:bold;
font-size:20px;
}
/* ===== SEARCH ===== */
/* SEARCH GRANDE */
.search-box{
flex:1;
display:flex;
border:2px solid #03aab2;
border-radius:30px;
overflow:hidden;
}

.search-box input{
flex:1;
border:none;
padding:10px;
outline:none;
}

.search-box button{
background:#03aab2;
color:#fff;
border:none;
padding:0 20px;
}





/* MOBILE */
@media(max-width:768px){
    .menu-panel{
        display:none !important;
    }
}
/* ===== RESTO (igual tuyo) ===== */
.search{padding:10px;background:#fff;}
.negocios{display:flex;gap:10px;overflow-x:auto;padding:10px;}
.productos{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;padding:10px;}
.card{background:#fff;border-radius:10px;padding:10px;}



/* ===== NEGOCIOS ===== */
.negocios{
display:flex;
overflow-x:auto;
gap:10px;
padding:2px;
background:white;
}

.negocio{
padding:6px 12px;
background:#eee;
border-radius:20px;
cursor:pointer;
white-space:nowrap;
}

/* ===== CATEGORIAS ===== */
.categorias{
display:flex;
overflow-x:auto;
gap:12px;
padding:10px;
background:white;
}

.categoria{
text-align:center;
min-width:70px;
cursor:pointer;
}

.categoria img{
width:60px;
height:60px;
border-radius:50%;
object-fit:cover;
}

/* ===== PRODUCTOS ===== */
.productos{
padding:10px;
display:grid;
grid-template-columns:repeat(2,1fr);
gap:12px;
}

/* TABLET */
@media(min-width:768px){
.productos{
grid-template-columns:repeat(4,1fr);
}
}

/* DESKTOP */
@media(min-width:1024px){
.productos{
grid-template-columns:repeat(6,1fr);
}
}

/* ===== CARD ===== */
.card{
background:white;
border-radius:14px;
overflow:hidden;
box-shadow:0 4px 10px rgba(0,0,0,0.08);
}

.card img{
width:100%;
height:180px;
object-fit:contain;
background:#fff;
padding:5px;
}

.card h3{
font-size:14px;
margin:8px;
}

.precio{
margin:8px;
color:#ff0424;
font-weight:bold;
}

/* ===== BTN FLOAT ===== */
.cart-float{
position:fixed;
bottom:20px;
right:20px;
background:#0a2540;
color:white;
padding:14px;
border-radius:50%;
font-size:20px;
cursor:pointer;
}

/* ===== SKELETON ===== */
.skeleton{
height:240px;
background:linear-gradient(90deg,#eee,#ddd,#eee);
animation:load 1.2s infinite;
}

@keyframes load{
0%{background-position:-200px}
100%{background-position:200px}
}
.cart-icon{
position:fixed;
top:10px;
right:10px;
background:#0a2540;
color:white;
padding:10px 14px;
border-radius:30px;
cursor:pointer;
font-size:14px;
z-index:999;
}

#cart-count{
background:red;
padding:2px 6px;
border-radius:50%;
margin-left:5px;
font-size:12px;
}

.btn-cart{
width:90%;
margin:8px;
padding:8px;
background:#0a2540;
color:white;
border:none;
border-radius:8px;
cursor:pointer;
font-size:14px;
}

.btn-cart:hover{
background:#ff0424;
}

.toast{
position:fixed;
bottom:20px;
left:50%;
transform:translateX(-50%) translateY(20px);
background:#0a2540;
color:#fff;
padding:10px 16px;
border-radius:20px;
font-size:14px;
opacity:0;
transition:all .3s ease;
z-index:9999;
}

.toast.show{
opacity:1;
transform:translateX(-50%) translateY(0);
}


/* ===== HEADER PRO ===== */
.header{
    background:#0a2540;
    color:#fff;
    padding:12px 15px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    position:sticky;
    top:0;
    z-index:1000;
}

/* LOGO */
.logo{
    font-size:18px;
    font-weight:bold;
}

/* RIGHT ACTIONS */
.header-actions{
    display:flex;
    align-items:center;
    gap:10px;
}

/* BOTON LOGIN */
.btn-login{
    background:#fff;
    color:#0a2540;
    border:none;
    padding:6px 12px;
    border-radius:20px;
    font-size:13px;
    font-weight:bold;
    cursor:pointer;
    transition:.2s;
}

.btn-login:hover{
    background:#e5e7eb;
}

/* ICONO CARRITO */
.cart-icon{
    position:relative;
    cursor:pointer;
    font-size:20px;
}

/* CONTADOR */
#cart-count{
    position:absolute;
    top:-6px;
    right:-10px;
    background:red;
    color:#fff;
    font-size:11px;
    padding:2px 6px;
    border-radius:50%;
    font-weight:bold;
}

/* ===== SEARCH ===== */
.search{
    padding:10px;
    background:#fff;
    box-shadow:0 2px 5px rgba(0,0,0,0.05);
}

.search input{
    width:100%;
    padding:12px 15px;
    border-radius:25px;
    border:1px solid #ddd;
    outline:none;
    font-size:14px;
}

/* MOBILE */
@media(max-width:600px){
    .logo{
        font-size:15px;
    }
}
.lightbox{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
align-items:center;
justify-content:center;
z-index:9999;
}

.lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
background:#fff;
padding:10px;
}


.negocios{
    display:flex;
    gap:15px;
    overflow-x:auto;
    padding:1px;
}

.negocio{
    display:flex;
    flex-direction:column;
    align-items:center;
    cursor:pointer;
    min-width:80px;
}

.negocio-img{
    width:70px;
    height:70px;
    border-radius:50%;
    object-fit:cover;
    border:2px solid #ddd;
    box-shadow:0 2px 6px rgba(0,0,0,0.1);
    transition:0.2s;
}

.negocio-img:hover{
    transform:scale(1.05);
}

.negocio-nombre{
    font-size:12px;
    margin-top:6px;
    text-align:center;
    color:#333;
    max-width:80px;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}

#scanner video{
    width:100% !important;
    height:auto !important;
}

#scanner{
    height:250px;
}

.topbar{
    background:#f5f5f5;
    font-size:12px;
    padding:6px 15px;
    display:flex;
    justify-content:space-between;
    color:#555;
}

.topbar span{
    margin-left:15px;
    cursor:pointer;
}

.topbar span:hover{
    color:#03aab2;
}

.header{
    background:#d93470;
    padding:10px 15px;
    display:flex;
    align-items:center;
    gap:20px;
    border-bottom:1px solid #eee;
}

.logo{
    font-size:20px;
    font-weight:bold;
    color:#03aab2;
}

/* SEARCH CENTRAL GRANDE */
.search-box{
    flex:1;
    display:flex;
    border:2px solid #03aab2;
    border-radius:30px;
    overflow:hidden;
}

.search-box input{
    flex:1;
    border:none;
    padding:10px 15px;
    outline:none;
}

.search-box button{
    background:#ff6a00;
    color:#fff;
    border:none;
    padding:9px 20px;
    cursor:pointer;
}

/* SCANNER SOLO MOBILE */
.search,
#scanner{
    display:none;
}

/* Mostrar SOLO en tablet/móvil */
@media(max-width:768px){

    .search{
        display:flex;
        justify-content:center;
        margin-top:8px;
    }

    #scanner{
        display:none; /* sigue oculto hasta activar */
    }

}

.nav-categorias{
    display:flex;
    gap:20px;
    padding:10px 15px;
    background:#fff;
    border-bottom:1px solid #eee;
    font-size:14px;
}

.nav-categorias span{
    cursor:pointer;
}

.nav-categorias span:hover{
    color:#03aab2;
}
.card:hover{
    transform:translateY(-3px);
    transition:.2s;
}
.btn-cart{
    background:#03aab2;
}

/*==========================MEGA MENU===================*/
/* ===== MEGA MENU PRO ===== */
.mega-menu{
    position:relative;
    background:#fff;
    border-bottom:1px solid #eee;
}

/* BOTON */
.menu-trigger{
    padding:14px 18px;
    font-weight:bold;
    cursor:pointer;
    display:flex;
    align-items:center;
    gap:8px;
}

/* PANEL */
.menu-panel{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    max-width:1000px;
    height:420px;
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
    z-index:999;
    border-radius:0 0 10px 10px;
    overflow:hidden;
}

/* IZQUIERDA */
.menu-left{
    width:260px;
    border-right:1px solid #eee;
    overflow-y:auto;
    background:#fafafa;
}

/* ITEM */
.menu-item{
    padding:12px 15px;
    cursor:pointer;
	color: #0a2540;
    font-size:14px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    transition:.2s;
	
}
.menu-btn {
    font-size: 22px;
    cursor: pointer;
}
.menu-item:hover{
    background:#fff;
    color:#03aab2;
    font-weight:500;
}

/* DERECHA */
.menu-right{
    flex:1;
    padding:20px;
    overflow-y:auto;
}

/* GRID */
.sub-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:15px;
}

/* CARD */
.subcat-card{
    text-align:center;
    padding:12px;
    border-radius:12px;
    cursor:pointer;
    transition:.25s;
}

.subcat-card:hover{
    background:#f5f5f5;
    transform:translateY(-3px);
}

/* IMAGEN */
.subcat-card img{
    width:65px;
    height:65px;
    object-fit:contain;
    margin-bottom:6px;
}

/* TEXTO */
.subcat-card div{
    font-size:13px;
	 
}

/* SCROLL BONITO */
.menu-left::-webkit-scrollbar,
.menu-right::-webkit-scrollbar{
    width:6px;
}
.menu-left::-webkit-scrollbar-thumb,
.menu-right::-webkit-scrollbar-thumb{
    background:#ddd;
    border-radius:10px;
}

/* MOBILE */
@media(max-width:768px){
    .menu-panel{
        display:none !important;
    }

    .menu-trigger{
        background:#03aab2;
        color:#fff;
    }
}

/* ===== MOBILE MENU ===== */
.mobile-menu{
    position:fixed;
    top:0;
    left:-100%;
    width:100%;
    height:100%;
    background:#fff;
    z-index:9999;
    transition:.3s;
    display:flex;
    flex-direction:column;
}

.mobile-menu.active{
    left:0;
}

/* HEADER */
.mobile-header{
    padding:15px;
    background:#03aab2;
    color:#fff;
    display:flex;
    justify-content:space-between;
    align-items:center;
    font-weight:bold;
}

/* BODY */
.mobile-body{
    flex:1;
    display:flex;
    overflow:hidden;
}

/* LEFT */
.mobile-left{
    width:40%;
    background:#f5f5f5;
    overflow-y:auto;
}

.mobile-cat{
    padding:12px;
    border-bottom:1px solid #eee;
    cursor:pointer;
    font-size:14px;
}

.mobile-cat.active{
    background:#fff;
    color:#03aab2;
    font-weight:bold;
}

/* RIGHT */
.mobile-right{
    flex:1;
    padding:10px;
    overflow-y:auto;
}

.mobile-sub{
    padding:10px;
    border-bottom:1px solid #eee;
    cursor:pointer;
    font-size:14px;
}

.mobile-sub:hover{
    color:#03aab2;
}

/* ===== HEADER FLEX ===== */
.header{
    display:flex;
    align-items:center;
    gap:10px;
    padding:10px;
}

/* SEARCH */
.search-box{
    flex:1;
}

/* ===== MOBILE ===== */
@media(max-width:768px){

    .header{
        flex-wrap:wrap;
    }

    .logo{
        width:100%;
        text-align:left;
    }

    .search-box{
        width:100%;
        order:2;
    }

    .desktop-only{
        display:none;
    }
}

/* ===== BOTTOM NAV ===== */
.bottom-nav{
    position:fixed;
    bottom:0;
    left:0;
    width:100%;
    height:60px;
    background:#fff;
    border-top:1px solid #eee;
    display:flex;
    justify-content:space-around;
    align-items:center;
    z-index:9999;
}

.bottom-nav div{
    text-align:center;
    font-size:18px;
    cursor:pointer;
}

.bottom-nav small{
    display:block;
    font-size:11px;
}

/* ocultar en desktop */
.mobile-only{
    display:none;
}

@media(max-width:768px){
    .mobile-only{
        display:flex;
    }
}
@media(max-width:768px){
    body{
        padding-bottom:70px;
    }
}

.logo img{
    height:50px;
    width:auto;
    display:block;
}

@media(max-width:768px){
    .logo img{
        height:40px;
    }
}
.logo img{
    transition:.2s;
}

.logo img:hover{
    transform:scale(1.05);
}

#negocios div {
    text-align: center;
    cursor: pointer;
	color: #ec2c7b;
}

#negocios img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: auto;
}

#negocios div:hover img {
    transform: scale(1.1);
    transition: 0.3s;
}

.subcat-card img {
    width: 100%;
    height: 70px;
    /*border-radius: 50%;*/
    object-fit: cover;
    display: block;
    margin: 0 auto 5px;
	
	
}

.subcat-card {
    text-align: center;
    cursor: pointer;
}

.subcat-card:hover img {
    transform: scale(1.1);
    transition: 0.3s;
}


/* ===== LAYOUT ===== */
.product-container{
    display:grid;
    grid-template-columns: 1fr 1fr;
    gap:40px;
    padding:30px;
    max-width:1200px;
    margin:auto;
}

/* ===== TABLET ===== */
@media (max-width: 992px){
    .product-container{
        grid-template-columns: 1fr;
        gap:25px;
        padding:20px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 576px){
    .product-container{
        grid-template-columns: 1fr;
        gap:20px;
        padding:15px;
    }
}

/* ===== GALERIA ===== */
.gallery{
    background:#fff;
    padding:20px;
    border-radius:10px;
}

.main-img{
    width:100%;
    height:400px;
    object-fit:contain;
    border-radius:10px;
}

.thumbs{
    display:flex;
    gap:10px;
    margin-top:10px;
}

.thumbs img{
    width:70px;
    height:70px;
    object-fit:cover;
    border:2px solid #eee;
    cursor:pointer;
    border-radius:8px;
}

.thumbs img:hover{
    border-color:#03aab2;
}

/* ===== INFO ===== */
.product-info{
    background:#fff;
    padding:20px;
    border-radius:10px;
}

.product-title{
    font-size:22px;
    font-weight:600;
}

.price{
    font-size:28px;
    color:#03aab2;
    margin:15px 0;
}

.stock{
    color:green;
    font-weight:600;
}

/* ===== BOTONES ===== */
.actions{
    margin-top:20px;
    display:flex;
    gap:10px;
}

.btn{
    flex:1;
    padding:12px;
    border:none;
    border-radius:8px;
    cursor:pointer;
    font-size:16px;
}

.btn-cart{
    background:#03aab2;
    color:#fff;
}

.btn-buy{
    background:#000;
    color:#fff;
}

/* ===== DESCRIPCION ===== */
.description{
    margin:30px;
    background:#fff;
    padding:20px;
    border-radius:10px;
}

/* ===== MOBILE ===== */
@media(max-width:768px){
    .product-container{
        grid-template-columns:1fr;
    }
}


/* ===== LIGHTBOX PRO ===== */
.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.95);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
    overflow:hidden;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
    cursor:grab;
    transition: transform 0.2s ease;
}

/* BOTON CERRAR */
.close{
    position:absolute;
    top:20px;
    right:30px;
    font-size:30px;
    color:#fff;
    cursor:pointer;
}

/* FLECHAS */
.nav{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    font-size:40px;
    color:#fff;
    cursor:pointer;
    padding:10px;
    user-select:none;
}

.prev{ left:20px; }
.next{ right:20px; }

/* CONTADOR */
.counter{
    position:absolute;
    bottom:20px;
    color:#fff;
    font-size:14px;
}
/* ===== ZOOM AMAZON ===== */
.zoom-container{
    position:relative;
    overflow:hidden;
}

.zoom-container img{
    transition: transform 0.1s ease;
    transform-origin: center;
}
/* ===== ZOOM AMAZON REAL ===== */
.zoom-wrapper{
    display:flex;
    gap:20px;
}

.zoom-container{
    position:relative;
    width:400px;
}

.zoom-container img{
    width:100%;
    border-radius:10px;
}

/* LENTE */
#lens{
    position:absolute;
    border:2px solid #03aab2;
    width:120px;
    height:120px;
    display:none;
    background:rgba(255,255,255,0.2);
    cursor:crosshair;
}

/* RESULTADO */
#zoomResult{
    width:400px;
    height:400px;
    border:1px solid #ddd;
    background-repeat:no-repeat;
    display:none;
}

/* MOBILE */
@media(max-width:768px){
    #zoomResult{ display:none !important; }
    #lens{ display:none !important; }
}

<style>

/* ===== LIGHTBOX ===== */
.lightbox{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.95);
    display:none;
    align-items:center;
    justify-content:center;
    z-index:9999;
}

.lightbox img{
    max-width:90%;
    max-height:90%;
}

.close{
    position:absolute;
    top:20px;
    right:30px;
    font-size:30px;
    color:#fff;
    cursor:pointer;
}

/* ===== ZOOM AMAZON ===== */
.zoom-wrapper{
    display:flex;
    gap:20px;
}

.zoom-container{
    position:relative;
    width:400px;
}

#lens{
    position:absolute;
    border:2px solid #03aab2;
    width:120px;
    height:120px;
    display:none;
}

#zoomResult{
    width:400px;
    height:400px;
    border:1px solid #ddd;
    background-repeat:no-repeat;
    display:none;
}

.share-box{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:15px;
}

.share-title{
    font-size:14px;
    color:#666;
    font-weight:500;
}

/* BOTONES */
.share-btn{
    position:relative;
    width:40px;
    height:40px;
    border-radius:50%;
    border:none;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    transition:0.25s;
}

.share-btn svg{
    width:18px;
    height:18px;
    fill:#fff;
}

/* COLORES */
.share-btn.whatsapp{ background:#25D366; }
.share-btn.facebook{ background:#1877F2; }
.share-btn.link{
    background:#eee;
}
.share-btn.link svg{
    fill:#333;
}

/* HOVER */
.share-btn:hover{
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 6px 15px rgba(0,0,0,0.15);
}

/* TOOLTIP */
.tooltip{
    position:absolute;
    bottom:120%;
    background:#333;
    color:#fff;
    font-size:12px;
    padding:5px 8px;
    border-radius:6px;
    opacity:0;
    pointer-events:none;
    transform:translateY(5px);
    transition:0.2s;
    white-space:nowrap;
}

.share-btn:hover .tooltip{
    opacity:1;
    transform:translateY(0);
}

/* COPIADO EFECTO */
.share-btn.copied{
    background:#4CAF50 !important;
}

.share-btn.copied svg{
    fill:#fff;
}
img{
    max-width:100%;
    height:auto;
    display:block;
}

.gallery{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.zoom-wrapper{
    width:100%;
    display:flex;
    gap:15px;
}

/* CONTENEDOR IMAGEN */
.zoom-container{
    width:100%;
    max-width:100%;
    position:relative;
}

/* IMAGEN PRINCIPAL */
#mainImage{
    width:100%;
    height:auto;
    display:block;
    border-radius:10px;
}

/* ZOOM DESKTOP */
#zoomResult{
    width:300px;
    height:300px;
    flex-shrink:0;
}

/* MOBILE: ocultar zoom */
@media (max-width:768px){
    .zoom-wrapper{
        flex-direction:column;
    }

    #zoomResult{
        display:none;
    }
}
.thumbs{
    display:flex;
    gap:10px;
    margin-top:10px;
    overflow-x:auto;
}

.thumbs img{
    width:70px;
    height:70px;
    object-fit:cover;
    border-radius:6px;
    cursor:pointer;
    flex-shrink:0;
}
.product-info{
    width:100%;
    max-width:100%;
    overflow:hidden;
}

.product-container{
    overflow:hidden;
}

.paginacion{
    display:flex;
    justify-content:center;
    gap:8px;
    margin:30px 0;
    flex-wrap:wrap;
}

.paginacion button{
    border:none;
    padding:8px 12px;
    border-radius:8px;
    background:#f1f1f1;
    cursor:pointer;
    transition:.2s;
}

.paginacion button:hover{
    background:#ddd;
}

.paginacion button.active{
    background:#03aab2;
    color:#fff;
    font-weight:bold;
}
@media (max-width:768px){

.mega-menu{
    position:relative;
    background:#fff;
    border-bottom:1px solid #eee;
}

/* =========================
   PANEL DESKTOP
========================= */
.menu-panel{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    max-width:1000px;
    height:420px;
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
    z-index:9999;
    border-radius:0 0 10px 10px;
    overflow:hidden;
}

/* ACTIVO DESKTOP */
.menu-panel.active{
    display:flex;
}

/* =========================
   IZQUIERDA / DERECHA
========================= */
.menu-left{
    width:260px;
    border-right:1px solid #eee;
    overflow-y:auto;
    background:#fafafa;
}

.menu-right{
    flex:1;
    padding:20px;
    overflow-y:auto;
}

/* ITEMS */
.menu-item{
    padding:12px 15px;
    cursor:pointer;
    font-size:14px;
    display:flex;
    justify-content:space-between;
    transition:.2s;
	
}

.menu-item:hover{
    background:#fff;
    color:#03aab2;
}

/* SCROLL */
.menu-left::-webkit-scrollbar,
.menu-right::-webkit-scrollbar{
    width:6px;
}
.menu-left::-webkit-scrollbar-thumb,
.menu-right::-webkit-scrollbar-thumb{
    background:#ddd;
    border-radius:10px;
}

/* =========================
   OVERLAY (MOBILE)
========================= */
.menu-overlay{
    display:none;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.5);
    z-index:9998;
}

.menu-overlay.active{
    display:block;
}

/* =========================
   MOBILE DRAWER STYLE
========================= */
@media (max-width:768px){

.menu-panel{
    position:fixed;
    top:0;
    left:-100%;
    width:85%;
    height:100vh;
    background:#fff;
    z-index:9999;
    flex-direction:column;
    overflow:auto;
    transition:0.3s ease;
}

/* activo móvil */
.menu-panel.active{
    left:0;
}

/* trigger */
.menu-trigger{
    background:#03aab2;
    color:#fff;
}

/* header móvil dentro menú */
.menu-header{
    padding:15px;
    font-weight:bold;
    display:flex;
    justify-content:space-between;
    border-bottom:1px solid #eee;
}

/* bottom padding fix */
body{
    padding-bottom:70px;
}
}
.menu-panel{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    max-width:1000px;
    height:420px;
    background:#fff;
    box-shadow:0 15px 40px rgba(0,0,0,0.12);
    z-index:9999;
    border-radius:0 0 10px 10px;
    overflow:hidden;
}

/* ACTIVADO */
.menu-panel.active{
    display:flex;
}

/* ===== SEARCH BOX PRO ===== */
.search-box{
    display:flex;
    align-items:center;
    width:100%;
    max-width:600px;
    background:#fff;
    border-radius:30px;
    overflow:hidden;
    border:1px solid #ddd;
    box-shadow:0 2px 8px rgba(0,0,0,0.05);
}

.search-box input{
    flex:1;
    border:none;
    padding:12px 15px;
    font-size:14px;
    outline:none;
}

/* lupa */
.btn-search{
    background:#03aab2;
    border:none;
    color:#fff;
    padding:12px 15px;
    cursor:pointer;
    font-size:16px;
}

/* scanner */
.btn-scan{
    background:#f5f5f5;
    border:none;
    padding:12px 14px;
    cursor:pointer;
    font-size:16px;
    border-left:1px solid #eee;
    transition:all .2s;
}

.btn-scan:hover{
    background:#ffe0cc;
}

/* ===== SCANNER BOX ===== */
#scanner{
    width:100%;
    max-width:500px;
    margin:15px auto;
    border-radius:12px;
    overflow:hidden;
    display:none;
    box-shadow:0 5px 20px rgba(0,0,0,0.15);
    border:2px solid #03aab2;
    position:relative;
}

/* efecto borde animado */
#scanner::before{
    content:"Escaneando código...";
    position:absolute;
    top:10px;
    left:50%;
    transform:translateX(-50%);
    background:#03aab2;
    color:#fff;
    padding:5px 12px;
    border-radius:20px;
    font-size:12px;
    z-index:2;
}

/* línea tipo laser */
#scanner::after{
    content:"";
    position:absolute;
    width:100%;
    height:2px;
    background:red;
    animation:scanline 2s infinite;
    top:0;
}

@keyframes scanline{
    0%{ top:0; }
    100%{ top:100%; }
}

