/* BOTONERA FILTRO  */


.botTienda0 {
    padding: 30px 0px;
    width: 70%;
    float: left;
}

.botTienda {
  display: flex;
  flex-direction: row;
  padding: 0 40px;
  height: 50px;
}


.filtroTienda {
    background-color: #ffe0ac;
    padding: 10px 20px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius: 8px;border-radius:8px;
    width: 250px;
    height: 50px;
    display: flex;
    flex-direction: row;
    position: relative;
}

.icoLupa {
    width: 20px;
    filter: brightness(0) invert(1); /* icono blanco */
    margin-right: 10px;
}

.inputFiltroTienda {
    background: none;
}

.filtroCarrito {
    display: flex;
    flex-direction: row;
    gap: 30px;
    position: sticky;
    top: 0; /* o la distancia desde arriba que quieras */
    z-index: 999; /* para que quede encima de todo */
    width: 30%;
    float: right;
    padding: 30px 0 0 30px;
}



.botCarrito {
  display: flex;
  padding: 20px;
  background-color: #ffc765;
  border-radius: 50%;
  box-shadow: #132d4636 10px 10px 10px;
  height: 70px;
  width: 70px;
  justify-content: center;
  align-items: center;
}

#buscadorProductos{
  border: none;       /* elimina borde */
  outline: none;      /* elimina el borde azul al hacer foco */
  background: transparent; /* opcional: fondo transparente */

}


.botTienda2 {
    
    display: flex;
    justify-content: left;
    gap: 100px;
    margin: auto;
}

.botT1 {
    display: flex;
    justify-items: center;
    font-size: large;
    color: aliceblue;
    text-decoration: none;
    background-color: #9fa5c8;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius: 8px;border-radius:8px;
    box-shadow: #132d4636 10px 10px 10px;
    padding: 10px 20px;
    height: 50px;
    font-weight: bold;
}

.botT1:hover {
    font-weight: bold;
    color: aliceblue;
}






.botCarrito:hover {
  transform: scale(1.08);
}



.icoCarrito {
    width: 150%;
}

/* SECCION TIENDA PERROS  */
.botTiendaP {
    background-color: #ffc765;
    width: 80%;
    height: 60px;
    margin: 10px auto;
    display: flex;
    flex-direction: row;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius: 8px;
    border-radius:8px;
    align-items: center;
}

.tituloPerros {
    font-size: x-large;
    color: aliceblue;
    font-weight: bolder;
    padding: 0 30px;       
    display: flex;   
    align-items: center;    
    height: 100%;
    position: relative;
    top: 5px;
}

.atajoSecPerro {
    display: flex;
    justify-content: center;
    gap: 30%;
    width: 80%;
}

.atajoSecPerro2 {
    color: aliceblue;
    font-size: larger;
    text-decoration: none;
}

.atajoSecPerro2:hover{
    font-weight: bold;
}

/* CAJAS PRODUCTOS */

.shopDiv {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 60px;
    margin: 30px 0;
}

/* Tarjeta del producto */
.prodDiv2 {
    background-color:#9fa5c8a1;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 320px;
    overflow: hidden;
    -moz-border-radius:15px;
    -webkit-border-radius:15px;
    -o-border-radius: 15px;
    border-radius:15px;
}

/* Imagen */
.contenedorFotoProd {
    width: 80%;
    height: 280px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 10px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius: 8px;
    border-radius:8px;
    background-color: #ffffff;
}

.fotoProd {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius: 8px;border-radius:8px;
}

/* Bloque de descripción */
.divDescProd {
    width: 100%;
    height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
}

/* Textos del producto */
.nombreProd {
    margin: 0;
    font-size: 1.1em;
}

.descProd {
    margin: 0;
}

.precioProd {
    font-size: 1.1em;
    margin: 0;
}

/* Botones */
.botCarritoVer {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.botT2 {
    background-color: #ffc765;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius: 8px;
    border-radius:8px;
    padding: 10px 20px;
    text-decoration: none;
}

.icoBotT2 {
    width: 23px;
}

/* VER PRODUCTOS  */

.verProd {
    width: 70%;
    max-width: 1000px;
     max-height: 90vh;     /* 80% de la altura visible */
    overflow-y: auto;     /* scroll interno si el contenido es largo */
    background-color: #dddee2;
    margin: 30px auto ;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius: 8px;
    border-radius:8px;
    display: flex;
    flex-direction: column;
    padding: 30px;
}

.fotoNombreVerProd{
    height: 300px;
    display: flex;
    flex-direction: row;
}

.contFotoVerProd {
    width: 40%;
}

.fotoVerProd {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.contNombVerProd {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.cerrarVerProd{
    text-align: right;
    margin-right: 10px;
}

.nombreVerProd {
    font-size: 1.7em;
}

.subtituloVerProd {
    font-size: 1.4em;
}

.precioVerProd {
    font-size: 1.6em;
}

.btnAgregar {
    background-color: #ffc765;
    padding: 12px 40px;
    border: none;
    font-size: 1.2em;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -o-border-radius: 10px;
    border-radius:10px;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 10px #00000033;
    transition: 0.2s;
    text-decoration: none;
    color: black;
    margin-top: 20px;
}

.btnAgregar:hover {
    background-color: #ffb641;
    transform: scale(1.05);
}


.descVerProd {
    padding-top: 10px;
    max-height: 200px;
    overflow-y: auto;
}

/* TIENDA ADMIN  */

.modalProducto{
  position: fixed;
  inset: 0;
  display: none;           /* se mostrará con JS (display:flex) */
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
}
.modalProducto form{
  background: #fff;
  padding: 18px;
  border-radius: 8px;
  width: 100%;
  max-width: 480px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.contBtnEditElim {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap:20px;
    justify-content: center;
    margin-top: 10px;
}

.editarProducto,
.eliminarProducto,
.verOcul {
    width: 25%;
    box-sizing: border-box;
    padding: 8px 0;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.editarProducto {
    background-color: #faeb66;
}

.eliminarProducto {
    background-color: #ff5e5e;
}

.verOcul {
    background-color: #2ecc71;
}

.modalVer{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

.modalContenidoVer{
  background: white;
  padding: 20px;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  animation: aparecer .3s ease;
  box-shadow: 0 0 25px rgba(0,0,0,0.5);
}


@keyframes aparecer {
  from {transform: scale(.7); opacity:0}
  to {transform: scale(1); opacity:1}
}


.imgVer{
  width: 100%;
  border-radius: 15px;
}

.precioVer{
  font-size: 22px;
  font-weight: bold;
  margin-top: 10px;
  color: #2b2b2b;
}

.btnCerrarModal {
    background: none;
    border: none;
    cursor: pointer;
    font-size: inherit;
    color: inherit;
}

.modalVer {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modalVer.activo {
    opacity: 1;
}

.modalVer .verProd {
    transform: scale(0.85);
    opacity: 0;
    transition: all 0.3s ease;
}

.modalVer.activo .verProd {
    transform: scale(1);
    opacity: 1;
}

.verProducto {
    border: 0;    
}

/* MODAL CARRITO  */

.modalCarrito{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.contenidoCarrito {
    background-color: #babdc9;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -o-border-radius: 10px;
    border-radius:10px;
    padding:20px 40px;
    max-height: 95%;
}

.carritoContenido{
    background: #fff;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    border-radius: 15px;
    padding: 20px;
    overflow-y: auto;
    position: relative;
    animation: aparecer .3s ease;
}

/* LISTADO DE PRODUCTOS SCROLLEABLE */
#listaCarrito {
  overflow-y: auto;
  flex: 1;                 /* ocupa el espacio disponible */
  max-height: 50vh;        /* altura máxima del listado */
  padding-right: 5px;
}

/* Scroll estético opcional */
#listaCarrito::-webkit-scrollbar {
  width: 6px;
}
#listaCarrito::-webkit-scrollbar-thumb {
  background: #999;
  border-radius: 10px;
}

.btnCerrarCarrito{
  float:right;
  font-size: 22px;
  cursor:pointer;
}

.totalCarrito {
    font-size: x-large;
    text-align: right;
}

.tituloCarritoh3 {
    display: block;
    background-color: #ffc765;
    color: #ffffff;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    -o-border-radius: 8px;
    border-radius:8px;
    width: 80%;
    padding-left: 40px;
    margin:  0 auto 20px;
}



@keyframes aparecer{
  from{ transform: scale(0.8); opacity:0;}
  to{ transform: scale(1); opacity:1;}
}

.cerrarCarrito{
    position:absolute;
    top:10px;
    right:15px;
    background:none;
    border:none;
    font-size:25px;
    cursor:pointer;
}

.listaCarrito{
    margin-top:15px;
}

.itemCarrito{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
}

.itemCarrito img{
    width:50px;
    height:50px;
    object-fit:cover;
}

.footerCarrito{
    margin-top:20px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.totalTexto{
    font-size:20px;
    font-weight:bold;
}

.btnFinalizar{
    background:#2ecc71;
    color:#fff;
    border:none;
    padding:10px 15px;
    border-radius:8px;
    cursor:pointer;
}

.contador-carrito {
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    margin-left: 5px;
    display: none; /* oculto por defecto */
}

.datosCliente input{
  width:100%;
  padding:10px;
  margin-bottom:8px;
  border-radius:6px;
  border:1px solid #ccc;
}

.restarUnidad {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius: 10px;
    border-radius:5px;
    border: 0;
    padding: 0 10px;
    font-weight: bold;
}

.sumarUnidad {
    -moz-border-radius:5px;
    -webkit-border-radius:5px;
    -o-border-radius: 10px;
    border-radius:5px;
    border: 0;
    padding: 0 10px;
    font-weight: bold;
}

.eliminarDelCarrito {
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -o-border-radius: 10px;
    border-radius:10px;
    border: 0;
    background-color: rgb(255, 131, 131);
    color: aliceblue;
}

.cantProdCarrito{
  font-weight: bold;
  font-size: 1.1em;
}

.btnWhatsapp {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
    -o-border-radius: 10px;
    border-radius:10px;
    border: 0;
    padding: 3px 10px;
    background-color: #ffda99;
}

.btnWhatsapp:hover {
    background-color: #ffc765;
    font-weight: bold;
}

.wspEnviarPedido {
    width: 20px;
    margin: 0 5px;
}

.menu-toggle {
    display: none;
}


#menuTienda {
    display: none;
}

#menuTiendaToggle {
    display: none;
}

@media (max-width: 768px) {


/* Mostrar botón hamburguesa */
    .menu-toggle {
        display: block;
        z-index: 10001; 
        cursor: pointer;
        color: #fff;      /* color blanco */
        font-size: 28px;   /* tamaño del icono */
        user-select: none; /* opcional, evita selección al tocarlo */
        margin: auto;
        background-color: #5d4594;
    }

    /* Menú vertical tipo sidebar alineado a la derecha */
    #menu {
        flex-direction: column;
        position: absolute;
        top: 100px;          /* justo debajo de la cabecera */
        right: 0;           /* alineado a la derecha */
        width: 50%;         /* ocupa la mitad de la pantalla */
        background-color: #8b7cad;
        display: none;      /* oculto por defecto */
        align-items: flex-start;
        padding: 20px;
        z-index: 10000;     /* sobre el contenido, debajo del botón */
        border-radius: 10px 0 0 10px; /* bordes redondeados en la izquierda */
        box-sizing: border-box;
    }

    /* Mostrar menú al activar */
    #menu.show {
        display: flex;
    }

    #menu a.bot1 {
        color: #fff;
        font-size: 18px;
        margin: 10px 0;
        text-decoration: none;
        width: 100%;       /* ocupa todo el ancho del menú */
        text-align: left;  /* enlaces alineados a la izquierda dentro del sidebar */
    }

    #menu a.bot1:hover {
        color: #ffd700;
    }


    .logBot {
        width: 70%;
        height: auto;
    }


    .botT1 {
        display: block;     
        text-align: center;  
    }

    .botTienda0 {
        display: none;
       
    }

    .botTienda {
        height: auto;
    }

    .botTienda2 {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        box-sizing: border-box;
    }

    .filtroCarrito {
    position: sticky;
    top: 10px;
    z-index: 1000;

    display: flex;
    gap: 10px;
    padding: 0 10px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 20px auto;

}


    .filtroTienda {
        background-color: #ffe0ac;
        padding: 10px 20px;
        -moz-border-radius:8px;
        -webkit-border-radius:8px;
        -o-border-radius: 8px;border-radius:8px;
        width: 60%;
        height: 50px;
        display: flex;
        flex-direction: row;
        margin: auto;
    }


    #menuTiendaToggle {
        display: flex;
        background-color: #8b7cadd0;
        -moz-border-radius:5px;
        -webkit-border-radius:5px;
        -o-border-radius: 5px;
        border-radius:5px;
        padding: 15px;
        height: 45px;
        font-size: 18px;
        align-items: center;
    }

    #menuTienda {
        flex-direction: column;
        position: absolute;
        top: 0px;
        left: 70px;
        width: 50%;
        max-width: 300px;
        background-color: #8b7cad;
        display: none;
        align-items: flex-start;
        padding: 20px;
        z-index: 10000;
       -moz-border-radius:5px;
        -webkit-border-radius:5px;
        -o-border-radius: 5px;
        border-radius:5px;
        box-sizing: border-box;
    }

    #menuTienda.show {
        display: flex;
    }

    #menuTienda a.botT1 {
        background: none;      /* quita fondo */
        border: none;          /* quita borde */
        box-shadow: none;      /* por si tenía sombra */
        padding: 0;            /* elimina padding heredado */
        color: #fff;           /* color del texto */
        font-size: 18px;
        margin: 10px 0;
        text-decoration: none;
        width: 100%;
        text-align: left;
        display: block;        /* asegura comportamiento tipo item */
        font-weight: normal;
    }


    #menuTienda a.botT1:hover {
        color: #ffd700;
    }

    .botCarrito {
    display: flex;
    padding: 10px;
    background-color: #ffc765;
    border-radius: 50%;
    box-shadow: #132d4636 10px 10px 10px;
    height: 60px;
    width: 60px;
    justify-content: center;
    align-items: center;
    }

    .icoCarrito {
        width: 40px;
    }

    .contador-carrito {
        font-size: 15px;
        
        margin-left: 0px;
        display: none; /* oculto por defecto */
    }

    .shopDiv {
        grid-template-columns: repeat(2, 1fr); /* 2 por fila */
        gap: 15px;
        padding: 0 10px;
    }

        /* Tarjeta del producto */
    .prodDiv2 {
        padding: 5px 5px 10px;
        height: 320px;
    }

    /* Imagen */
    .contenedorFotoProd {
        width: 80%;
        height: 300px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
        margin-bottom: 15px;
        -moz-border-radius:8px;
        -webkit-border-radius:8px;
        -o-border-radius: 8px;
        border-radius:8px;
    }

    .fotoProd {
        width: 100%;
        height: 100%;
        object-fit: contain;
        -moz-border-radius:8px;
        -webkit-border-radius:8px;
        -o-border-radius: 8px;border-radius:8px;
    }

    /* Bloque de descripción */
    .divDescProd {
        width: 100%;
        height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        text-align: center;
    }

    .contenidoCarrito {
        display: flex;
        flex-direction: column;
        width: 90%;
    }

    /* Botón cerrar */
    .btnCerrarCarrito {
        align-self: flex-end;   /* izquierda */
        margin: 0;  /* separación */
        cursor: pointer;
    }

    /* Título */
    .tituloCarritoh3 {
        width: 100%;
        margin: 0 auto 20px;
        text-align: center;
        padding: 0%;
    }

    /* LISTADO DE PRODUCTOS SCROLLEABLE */
    #listaCarrito {
    overflow-y: auto;
    max-height: 60vh;        /* altura máxima del listado */
    padding: 0%;
    width: 100%;
    }

    .itemCarrito{
    justify-content: center;
    }

    .itemCarrito img{
        width:70px;
        height:70px;
        object-fit:cover;
        margin-right: 20px;
    }

    .btnWhatsapp {
        width: 80%;
        margin: auto;
    }

        /* VER PRODUCTOS  */

    .verProd {
        width: 90%;
        margin: 30px auto ;
        flex-direction: column;
        padding: 30px;
    }

    .fotoNombreVerProd{
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .contFotoVerProd {
        width: 60%;
        margin: auto;
    }

    .fotoVerProd {
        margin: auto;
    }

    .contNombVerProd {
        width: 100%;
        margin: 10px auto 0;
    }

    .nombreVerProd {
        font-size: 1.7em;
        line-height: 1.0;
    }

    .subtituloVerProd {
        font-size: 1.4em;
        line-height: 1.0;
    }

    .precioVerProd {
        font-size: 1.6em;
        line-height: 1.0;
    }

    .btnAgregar {
        padding: 10px;
        margin-bottom: 15px;
    }

    .descVerProd {
        padding: 10px;
        max-height: none;      /* ← CLAVE */
        overflow-y: visible;
    }

    .botTiendaP {
        width: 90%;
    }



.logBotAdm {
    margin: auto;
}

.login-box {
    width: 80%;
    margin: 40px auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
}

.inputLogin {
    padding: 5px 10px;
}


 /* Botón hamburguesa admin */
    #mobile-menu-adm {
    display: block;
    z-index: 10001;
    cursor: pointer;
    color: #fff;
    font-size: 28px;
    user-select: none;
    margin: auto;
    background-color: #5d4594;
}

    #menu-adm {
    flex-direction: column;
    position: absolute;
    top: 100px;              /* igual que el menú público */
    right: 0;
    width: 50%;
    background-color: #8b7cad;
    display: none;
    align-items: flex-start;
    padding: 20px;
    z-index: 10000;
    border-radius: 10px 0 0 10px;
    box-sizing: border-box;
}


    #menu-adm.show {
    display: flex;
}


    #menu-adm a.bot1 {
    color: #fff;
    font-size: 18px;
    margin: 10px 0;
    text-decoration: none;
    width: 100%;
    text-align: left;
}

#menu-adm a.bot1:hover {
    color: #ffd700;
}

    #menu-adm .cerrarSesion {
    align-self: flex-end;
    margin-top: 10px;
    position: static;
}

.cerrarSesion {
    font-size: 0; /* oculta la X sin eliminar el botón */
    width: auto;
    padding: 10px 15px;
    margin: auto;
}

.cerrarSesion::after {
    content: "Cerrar sesión";
    font-size: 18px;
    color: #fff;
    font-weight: normal;
}

.editNuevo  {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
}


}


/* ================================
   TABLET: forzar menú hamburguesa
   ================================ */
@media screen and (min-width: 769px) and (max-width: 1024px) {

    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: block;
        z-index: 10001;
        cursor: pointer;
        color: #fff;
        font-size: 28px;
        user-select: none;
        margin-left: auto;
        background-color: #5d4594;
    }

    /* Ocultar menú horizontal */
    #menu {
        flex-direction: column;
        position: absolute;
        top: 100px;
        right: 0;
        width: 50%;
        background-color: #8b7cad;
        display: none;
        align-items: flex-start;
        padding: 20px;
        z-index: 10000;
        border-radius: 10px 0 0 10px;
        box-sizing: border-box;
    }

    /* Mostrar menú al activar */
    #menu.show {
        display: flex;
    }

    #menu a.bot1 {
        color: #fff;
        font-size: 18px;
        margin: 10px 0;
        text-decoration: none;
        width: 100%;
        text-align: left;
    }

    #menu a.bot1:hover {
        color: #ffd700;
    }


    .botTienda0 {
        display: none;
       
    }
    
#menuTiendaToggle {
        display: flex;
        background-color: #8b7cadd0;
        -moz-border-radius:5px;
        -webkit-border-radius:5px;
        -o-border-radius: 5px;
        border-radius:5px;
        padding: 15px;
        height: 45px;
        font-size: 18px;
        align-items: center;
    }

    #menuTienda {
        flex-direction: column;
        position: absolute;
        top: 0px;
        left: 70px;
        width: 50%;
        max-width: 300px;
        background-color: #8b7cad;
        display: none;
        align-items: flex-start;
        padding: 20px;
        z-index: 10000;
       -moz-border-radius:5px;
        -webkit-border-radius:5px;
        -o-border-radius: 5px;
        border-radius:5px;
        box-sizing: border-box;
    }

    #menuTienda.show {
        display: flex;
    }

    #menuTienda a.botT1 {
        background: none;      /* quita fondo */
        border: none;          /* quita borde */
        box-shadow: none;      /* por si tenía sombra */
        padding: 0;            /* elimina padding heredado */
        color: #fff;           /* color del texto */
        font-size: 18px;
        margin: 10px 0;
        text-decoration: none;
        width: 100%;
        text-align: left;
        display: block;        /* asegura comportamiento tipo item */
        font-weight: normal;
    }


    #menuTienda a.botT1:hover {
        color: #ffd700;
    }

.filtroCarrito {
    position: sticky;
    top: 10px;
    z-index: 1000;

    display: flex;
    gap: 10px;
    padding: 0 10px;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin: 20px auto;

}


.contenidoCarrito {
        display: flex;
        flex-direction: column;
        width: 60%;
        overflow-y: scroll;
    }

/* LISTADO DE PRODUCTOS SCROLLEABLE */
    #listaCarrito {
    overflow: visible;
        max-height: none;
    padding: 0%;
    width: 100%;
    }

   .itemCarrito .imgCarrito {
    width: 110px;
    height: 110px;
}

   .itemCarrito {
    justify-content: center;
   }

   
.btnWhatsapp {
        width: 60%;
        margin: 10px auto;
    }

.shopDiv {
    grid-template-columns: repeat(3, 1fr); /* 3 por fila */
    gap: 20px;
    padding: 0 10px;
}


.botPrin {
    display: none;
}

/* Botón hamburguesa admin */
    #mobile-menu-adm {
    display: block;
    z-index: 10001;
    cursor: pointer;
    color: #fff;
    font-size: 28px;
    user-select: none;
    margin: auto;
    background-color: #5d4594;
}

    #menu-adm {
    flex-direction: column;
    position: absolute;
    top: 100px;              /* igual que el menú público */
    right: 0;
    width: 50%;
    background-color: #8b7cad;
    display: none;
    align-items: flex-start;
    padding: 20px;
    z-index: 10000;
    border-radius: 10px 0 0 10px;
    box-sizing: border-box;
}


    #menu-adm.show {
    display: flex;
}


    #menu-adm a.bot1 {
    color: #fff;
    font-size: 18px;
    margin: 10px 0;
    text-decoration: none;
    width: 100%;
    text-align: left;
}

#menu-adm a.bot1:hover {
    color: #ffd700;
}

    #menu-adm .cerrarSesion {
    align-self: flex-end;
    margin-top: 10px;
    position: static;
}

.cerrarSesion {
    font-size: 0; /* oculta la X sin eliminar el botón */
    width: auto;
    padding: 10px 15px;
    margin: auto;
}

.cerrarSesion::after {
    content: "Cerrar sesión";
    font-size: 18px;
    color: #fff;
    font-weight: normal;
}

.editNuevo  {
    display: flex;
    flex-direction: row;
    gap: 30px;
    justify-content: center;
}

/* FIX MODAL VER PRODUCTO */
.verProd {
    height: auto;
    overflow-y: auto;
}

.descVerProd {
    height: auto;
    max-height: none;
    overflow-y: visible;
}




}
