/* ===========================
   Basi's Snacks - Estilos
   =========================== */

/* Hero Background */
.hero-bg {
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
        url('cuernitos los dos .png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Smooth Scroll */
.smooth-scroll {
    scroll-behavior: smooth;
}

/* Card Image Zoom */
.card-zoom:hover img {
    transform: scale(1.1);
}

.card-zoom img {
    transition: transform 0.5s ease;
}

/* Accordion Styles */
details>summary {
    list-style: none;
}

details>summary::-webkit-details-marker {
    display: none;
}

details[open] summary~* {
    animation: sweep 0.5s ease-in-out;
}

@keyframes sweep {
    0% {
        opacity: 0;
        transform: translateY(-10px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Notification Toast */
#notification {
    visibility: hidden;
    min-width: 250px;
    background-color: #2c3e50;
    color: #fff;
    text-align: center;
    border-radius: 50px;
    padding: 16px 24px;
    position: fixed;
    z-index: 50;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

#notification.show {
    visibility: visible;
    opacity: 1;
    bottom: 80px;
}

/* Badge Pop Animation */
@keyframes pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.5);
    }

    100% {
        transform: scale(1);
    }
}

.badge-pop {
    animation: pop 0.3s ease;
}

/* Button Shine Effect */
.btn-shine::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
    transform: skewX(-25deg);
    transition: all 0.75s;
    z-index: 1;
}

.btn-shine:hover::after {
    animation: shine 1.5s ease-out infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}