@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

body {
    font-family: "Poppins";
}

.activa {
    border-bottom: 3px solid #b4b9bb;
    color: #fff;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

.grid-item {
    border: 2px solid #d3d3d3;
    padding: 8px;
    background-color: #f8f9fa;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.grid-item:hover {
    cursor: pointer;
    transform: scale(1.1);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

.imagenCategory {
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0px 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.imagenCategory:hover {
    cursor: pointer;
    transform: scale(1.1);
}

.media-icon {
    font-size: 2rem;
    color: #8c2a4e;
    margin-bottom: 10px;
}

.media-body h5 {
    color: #343a40;
}
.media-body span {
    color: #6c757d;
}

.btn-outline-guindo {
    color: #8c2a4e;
    border: 1px solid #8c2a4e;
    background-color: transparent;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}

.btn-outline-guindo:hover {
    color: #fff;
    background-color: #8c2a4e;
    border-color: #8c2a4e;
}

#buscadorCatalogo {
    display: flex;
    justify-content: end;
}

#inputBuscador {
    width: 300px;
}

#bannerCatalogo {
    border-radius: 20px;
    cursor: pointer;
}

.container-boton {
    opacity: 0;
    transform: scale(0.8);
    visibility: hidden;
    background-color: #2e6329;
    border: 1px solid #fff;
    position: fixed;
    z-index: 999;
    border-radius: 50%;
    bottom: 20px;
    right: 25px;
    padding: 10px;
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
    animation: efecto 1.2s infinite;
}

.container-boton.visible {
    opacity: 1;
    transform: scale(1);
    visibility: visible;
}

.container-boton:hover {
    transform: scale(1.1);
    transition: 0.3s;
}

.boton {
    width: 35px;
    transition: ease 1s;
}

.btn-whatsApp a:hover {
    color: white !important;
}

.btn-mail a:hover {
    color: white !important;
}

@keyframes efecto {
    0% {
        box-shadow: 0 0 0 0 rgba(72, 199, 21, 0.85);
    }
    100% {
        box-shadow: 0 0 0 5px rgba(2, 158, 36, 0.85);
    }
}

/* Media query para el buscador de catálogo */
@media (max-width: 650px) {
    #buscadorCatalogo {
        justify-content: center;
    }
    #inputBuscador {
        width: 210px;
    }
}

/* Media query para las cartas de los productos aleatorios */
@media (max-width: 768px) {
    .product-card {
        width: 300px;
        margin: 0 auto;
    }
}
