.skeleton {
    background-color: #e0e0e0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
.skeleton::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    height: 100%;
    width: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.4) 50%, transparent 100%);
    animation: loading 1.2s infinite;
}
/*Slider*/
.sidebar-alergenos {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0,0,0,0.3);
    z-index: 1050;
    transition: left 0.3s ease;
    overflow-y: auto;
    transition: left 0.3s ease-in-out;
}

.sidebar-alergenos.show {
    left: 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* fondo oscuro semitransparente */
    z-index: 999;
    display: none;
}

.overlay.show {
    display: block;
}
@keyframes loading {
    100% {
        left: 100%;
    }
}
.banner {
    background: linear-gradient(90deg, #ff0000 0%, #ff4d4d 50%, #ff0000 100%);
    transform: rotate(45deg);  /* Mantén el ángulo descendente */
    position: absolute;
    z-index: 1;
    top: 10px;  /* Se mantiene en la parte superior del contenedor */
    right: -30px;  /* Ajustado para estar cerca del borde derecho */
    height: 30px;  /* Altura del banner */
    line-height: 30px;  /* Centra el texto verticalmente */
    padding: 0 1rem;  /* Ajusta el padding para el espaciado horizontal */
    border: 2px solid #eeea1b;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    font-size: 14px;
    color: white;
    width: 30%;
    text-align: center;  /* Centra el texto horizontalmente */
  }
/*No disponible*/
.no-disponible {
    opacity: 0.5;
    pointer-events: none; /* Desactiva la interacción con el elemento */
     position: relative;
}
.no-disponible::after {
     content: 'No disponible';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 2;
}

/*BAnner*/
.footer-banner .banner-img {
    object-fit: cover;
    width: 100%;
    height: auto;
    max-height: 150px; /* o lo que estimes, puedes ajustar */
}

@media (max-width: 768px) {
    .footer-banner .banner-img {
        max-height: 120px;
    }
}

/* @media (min-width: 992px) {
        .filters-desktop {
            display: block !important;
        }
        .filters-offcanvas {
            display: none !important;
        }
    }

    @media (max-width: 991.98px) {
        .filters-desktop {
            display: none !important;
        }
        .filters-offcanvas {
            display: block !important;
        }
    }
 */
