/* MÓVIL x defecto */
.carousel-item img {
    width: 100%;
    height: 480px; /* Alto cómodo para pantallas pequeñas */
    object-fit: cover; /* Recorta los bordes sobrantes sin deformar la imagen */
    object-position: center; /* Mantiene el centro de la imagen visible */
}

/* TABLET (A partir de 768px) */
@media (min-width: 768px) {
    .carousel-item img {
        height: 550px;
    }
}

/* ESCRITORIO (A partir de 1024px) */
@media (min-width: 1024px) {
    .carousel-item img {
        height: 585px; /* Tu medida original para pantallas grandes */
    }
}
.tittle-global{
    color: #048ABF;
    font-size: 1.8rem;
}
/*BENEFICIOS*/
.container-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background-color: #016EAF;
    padding: 20px;
    color: #FFFFFF;
    width: 100%;
    box-sizing: border-box;
}

.container-info div {
    margin: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.container-info div i {
    font-size: 45px;
}

.container-info p {
    margin: 0;
}

@media (max-width: 991.98px) {

    .container-info {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================================
   SECCIÓN CATEGORÍAS
========================================= */

.categories-section {
    background-color: #048ABF;
    padding: 55px 20px;
}


.categories-container {
    max-width: 1200px;
    margin: 0 auto;
}


/* =========================================
   TÍTULO
========================================= */

.categories-header {
    text-align: center;
    color: #fff;
    margin-bottom: 35px;
}

.categories-header span {
    font-size: .75rem;
    font-weight: 600;
    letter-spacing: 2px;
    opacity: .85;
}

.categories-header h2 {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 1.8rem;
    font-weight: 600;
}

/* ========================================= 
   CARRUSEL 
   ========================================= */ 
.categories-carousel { 
    position: relative; 
    display: flex; 
    align-items: center; 
    gap: 10px; 
} 
/* Contenedor horizontal */ 
.categories-track { 
    flex: 1;
    min-width: 0;
    display: flex;
    gap: 18px; 
    width: 100%; 
    overflow-x: auto; 
    scroll-behavior: smooth; 
    scrollbar-width: none; 
    padding: 8px 5px 15px; 
} 

.categories-track::-webkit-scrollbar { 
    display: none; 
}


/* =========================================
   TARJETA
========================================= */

.category-card {
    flex: 0 0 210px;
    overflow: hidden;
    border-radius: 14px;
    background-color: #fff;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.category-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .18);
}


/* =========================================
   IMAGEN
========================================= */

.category-image {
    height: 170px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .4s ease;
}

.category-card:hover .category-image img {
    transform: scale(1.06);
}


/* =========================================
   INFORMACIÓN
========================================= */

.category-content {
    padding: 14px 16px 16px;
}

.category-content h3 {
    margin: 0 0 5px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #222;
}

.category-content span {
    font-size: .8rem;
    color: #048ABF;
    font-weight: 500;
}

.category-content i {
    margin-left: 3px;
    transition: margin-left .2s ease;
}

.category-card:hover .category-content i {
    margin-left: 7px;
}

/* =========================================
  FLECHAS 
  ========================================= */ 
  .category-arrow { 
    flex: 0 0 42px; 
    width: 42px; 
    height: 42px; 
    border: none; 
    border-radius: 50%; 
    background-color: #fff; 
    color: #048ABF; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem; 
    cursor: pointer; 
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15); 
    position: relative;
    transition: transform .2s ease, background-color .2s ease; 
} 

.category-arrow:hover { 
    background-color: #f5f5f5; 
    transform: scale(1.08); 
}

.category-arrow:active{
    transform: scale(.95);
}
/* ========================================= 
   CELULAR 
   ========================================= */ 
   @media (max-width: 767px) { 
    .categories-section { 
        padding: 40px 10px; 
    } 
    .categories-header { 
        margin-bottom: 25px; 
    } 
    .categories-header h2 { 
        font-size: 1.45rem; 
    } 
    .categories-track { 
        gap: 12px; 
        padding-left: 5px; 
        padding-right: 5px; 
    } 
    .category-card { 
        flex: 0 0 190px; 
    } 
    .category-image { 
        height: 145px; 
    } 
    .category-content { 
        padding: 12px; 
    } 
    .category-content h3 { 
        font-size: .95rem; 
    } 
    
    /* Flechas un poco más pequeñas */ 
    .category-arrow { 
        width: 36px; 
        height: 36px; 
        font-size: 1rem; 
    }
}

/* =========================================
   CELULAR
========================================= */

@media (max-width: 576px) {

    .categories-section {
        padding: 40px 15px;
    }

    .categories-header {
        margin-bottom: 25px;
    }

    .categories-header h2 {
        font-size: 1.45rem;
    }


    .categories-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }


    .category-image {
        height: 145px;
    }


    .category-content {
        padding: 12px;
    }


    .category-content h3 {
        font-size: .95rem;
    }


    .category-content span {
        font-size: .75rem;
    }

}




/*PRODUCTOS*/
.container-products{
    margin-top: 80px;

}

@media (max-width: 991.98px) {

    .container-products {
        padding-left: 45px;
        padding-right: 45px;
    }

}

/*BOTONES*/ 
.precio-boton {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.precio-boton p {
    margin-bottom: 0;
}

.botones {
    background-color: #048ABF;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    color: #F2F2F2;
    text-align: center;
    flex: 1;
    min-width: 90px;
}

/* .container-filtros{
    background-color: #F2F2F2;
    border-radius: 5px;
    padding: 20px;
} */


/* =========================================
   WHATSAPP FLOTANTE
========================================= */

.whatsapp-float {
    position: fixed;
    right: 25px;
    bottom: 25px;
    width: 88px;
    height: 88px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    font-size: 3.1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .20);
    z-index: 9999;
    transition:
        transform .25s ease,
        box-shadow .25s ease;
}


/* Hover */

.whatsapp-float:hover {
    color: #fff;

    transform: scale(1.08);

    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}


/* Click */

.whatsapp-float:active {
    transform: scale(.95);
}


/* =========================================
   CELULAR
========================================= */

@media (max-width: 767px) {

    .whatsapp-float {

        width: 52px;
        height: 52px;

        right: 18px;
        bottom: 18px;

        font-size: 1.6rem;
    }

}




