/* Prueba de Fuentes */
@import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap');
@font-face {
    font-family: 'Moonrising';
    src: url('../assets/fonts/moonrising/Moonrising.ttf') format('truetype'),
         url('../assets/fonts/moonrising/Moonrising.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Moonrising';
    src: url('../assets/fonts/moonrising/Moonrising Italic.ttf') format('truetype'),
         url('../assets/fonts/moonrising/Moonrising Italic.otf') format('opentype');
    font-weight: normal;
    font-style: italic;
}


.navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.active, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .show>.nav-link {
    color: rgb(48 71 193) !important;
    font-weight: 700 !important;
}

.rounded {
    border-radius: 2.25rem !important;
}

/* Asegúrate de que el contenedor no se desborde */
.swiper-container {
    width: 100%;
    overflow: hidden;
}

/* Ajusta las diapositivas para que se adapten a la pantalla */
.swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
}

/* Asegura que las imágenes dentro de las diapositivas sean responsivas */
.product-image {
    max-width: 100%;
    height: auto;
}

/* Opcional: Asegura que el contenedor del swiper esté correctamente alineado */
#destacados .container {
    padding-left: 10;
    padding-right: 10;
}

.alineado-derecha{
    margin-left: auto !important;
}

.alineado-izquierda{
    margin-right: auto !important;
}

.navbar-nav{
    font-size: 1.3rem !important;
    font-family: 'Raleway' !important;
}

.product-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff5eb;
    height: 500px;
}

.product-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.product-image {
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}
.product-info {
    background: #fff;
    padding: 20px;
    text-align: center;
    position: relative;
}
.product-info-btn {
   
    position: absolute;
    bottom: 35px;
    right: 0px;
    left: 0px;
}

.btn-cotizacion{
    /* width: 100px !important; */
}

/* Card categorias */
.categorie-card {
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #fff5eb;
}

.categorie-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.categorie-image {
    transition: transform 0.3s ease;
}

.categorie-card:hover .categorie-image {
    transform: scale(1.1);
}
.categorie-image {
    max-width: 100%;
    height: auto;
}
.categorie-image {
    max-width: 100%;
    height: auto;
}
/* Card categorias */


.product-name {
    /* text-transform: lowercase !important; */
    font-family: 'Raleway', sans-serif !important;
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #0778bc;
    font-feature-settings: 'pnum' on, 'lnum' on; 
    /* text-transform: capitalize !important; */
    
}

.btn{
    cursor: pointer;
    align-content: center !important;
}

.btn-primary {
    background-color: #0778bc !important;
    border: none;
    font-family: 'Raleway' !important;
    width: 150px;
    font-weight: 700;
    color: #fff;
    border-radius: 10px !important;
}

.btn-primary:hover {
    background-color: #34abf9 !important;
    font-weight: 700;
    color: #fff;
}
.btn-agregar{
    width: 180px;
    height: 50px;
    
}
.btn-secondary {
    color: #fff;
    background-color: #07408e;
    width: 308px;
    border: none;
    text-transform: uppercase;
    font-weight: 500;
    font-size: larger;
    height: 60px;
    border-radius: 15px;
}

.requiered{
    color:crimson;
    font-weight: 700;
}

@media (min-width: 1500px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1540px;
    }
    .product-card {
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        border: 1px solid #fff5eb;
    }
    
}

.form_busqueda{
    margin-top: 50px;
    width: 80%;
    margin-right: auto;
    margin-left: auto;
}
/* Estilos personalizados para la sección de contacto */


.form-control.rounded-input {
    border-radius: 10px;
    border: 1px solid #ced4da;
    transition: all 0.3s ease;
}

.form-control.rounded-input:focus {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
    border-color: #80bdff;
}


@media (max-width: 768px) {
    .form-row .form-group {
        margin-bottom: 1rem;
    }
}



/* Estilos personalizados para el footer */
footer {
    background-color: #f8f9fa;
}

footer h5 {
    font-size: 1.25rem;
    color: #343a40;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li i {
    color: #007bff;
}

footer .bg-dark {
    background-color: #343a40 !important;
}

footer .text-white {
    color: #ffffff !important;
}

footer .text-dark {
    color: #343a40 !important;
}

footer .text-dark:hover {
    color: #007bff !important;
}

@media (max-width: 768px) {
    footer .text-center {
        text-align: center !important;
    }

    footer .text-md-left {
        text-align: left !important;
    }
}



/* Estilos personalizados para el slider */
#slider-section {
    position: relative;
}

.carousel-item {
    height: 600px; /* Puedes ajustar la altura según tus necesidades */
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.carousel-caption h1 {
    font-size: 3rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
}

.carousel-caption .btn {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1.2rem;
}




/* Estilos personalizados para el navbar */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000; /* Asegura que el navbar esté por encima de otros elementos */
}

/* Estilos adicionales para el navbar cuando se hace scroll */
#navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.9); /* Cambia el color de fondo */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Agrega una sombra */
    transition: background-color 0.3s, box-shadow 0.3s;
}
.navbar-nav .nav-link {
    margin-right: 40px;
    transition: color 0.3s, background-color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    background-color: #f8f9fa;
    color: #0087cf;
    border-radius: 5px;
}

.navbar-nav .btn {
    margin-left: 10px;
    font-family: 'Raleway';
    border-radius: 5px;
    font-size: 1.3rem;
}

.modal-content {
    border-radius: 10px;
}

.modal-header .close {
    outline: none;
}


 /* Estilos para el widget de WhatsApp */
 .whatsapp-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

.whatsapp-widget img {
    width: 50px;
    height: auto;
    cursor: pointer;
}


/*Estilos personalizados*/

p {
    margin-top: 0 !important;
    margin-bottom: 1rem !important;
    font-family: 'Raleway' !important;
    font-size: 1.3rem !important;
    color: #474747 !important;
}

.subtitle{
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #adb4bb;
    letter-spacing: 0.1rem;
    text-transform: uppercase;
}

.main-title {
    font-size: 3rem;
    margin: 0.5rem 0 1.5rem 0;
    font-family: 'Raleway', sans-serif;
    font-weight: 600;
    letter-spacing: 0.12rem;
    color: #0878bd;
    text-transform: uppercase;
}

.pt-50{
    padding-top: 50px;
}
.pb-50{
    padding-bottom: 50px;
}

.pt-140{
    padding-top: 140px;
}
.pb-140{
    padding-bottom: 140px;
}

.pr-80{
    padding-right: 80px;
}
#confianza .accordion>.card:not(:last-of-type) {
    border-bottom: 0;
    border-bottom-right-radius: 0;
    border: none !important;
    border-bottom-left-radius: 0;
}

#confianza .accordion-button {
    color: #fff;
    width: 100%;
    font-size: 1.2rem;
    font-family: 'Raleway', sans-serif;
    text-align: left;
    padding: 0.75rem 1.25rem;
}
.card-header {
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: #8fd1fc;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
}
#confianza .accordion-button:not(.collapsed) i {
    color: #0878bd;
    transform: rotate(180deg);
}

#confianza .card-header {
    padding: 0;
}

#confianza .card-body {
    text-align: left;
}
.inputBusqueda{
    width: 70%;
    border-radius: 30px;
    height: 50px;
    padding: 10px;
}
/* AQUII INPUT BUSQUEDA */
.search-container {
    position: relative;
    width: 100%;
    max-width: 90%;
}

.inputBusqueda {
    width: 100%;
    padding: 10px 40px 10px 25px;
    font-size: 1rem;
    font-family: 'Raleway', sans-serif;
    font-weight: 400;
    border-color: #007bff;
    outline: none; /* Elimina el borde de enfoque predeterminado */
    transition: box-shadow 0.3s ease-in-out; /* Transición suave para la sombra */
    border-top: 2px solid #007bff;
    border-left: 2px solid #007bff;
}

.inputBusqueda:focus {
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Sombra azul tenue */
}

.search-icon {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
}

.category-icon{
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: #007bff;
}

#categories-container{
    display: block;
    width: 80%;
    align-items: center;
    align-content: center;
    text-align: center;
    right: auto;
    left: auto;
    
    border-radius: 25px;
    border: solid 1px;
    margin-top: 25px;
    position: relative;
    width: 100%;
    max-width: 90%;
}

.select-categorie{
    margin: 2%;
    max-width: 95%;
    border-radius: 15px;
    border-color: #007aff;
}

.btn-filter{
    margin-bottom: 25px;
}
/* AQUII INPUT BUSQUEDA */

span.total-productos {
    font-size: 1.5rem;
}



@media (max-width: 767.98px) {
    #confianza .main-title {
        font-size: 1.5rem;
    }
    #confianza .subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
   
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption .btn {
        font-size: 1rem;
        padding: 8px 16px;
    }

    .btn-agregar {
        width: 100%;
        height: auto;
    }

    .product-card {
        border-radius: 10px;
        overflow: hidden;
        transition: all 0.3s ease;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        border: 1px solid #fff5eb;
        height: 600px;
    }
    .form_busqueda{
        margin-top: 50px;
        width: 80%;
        margin-right: auto;
        margin-left: auto;
    }
}

.btn-disabled {
    background-color: lightgrey !important;
    pointer-events: none;
}


/* OffCanvas */
.offcanvas {
    position: fixed;
    top: 0;
    bottom: 0;
    right: -100%;
    width: 500px;
    max-width: 100%;
    padding: 1rem;
    background-color: white;
    box-shadow: -3px 0 5px rgba(0, 0, 0, 0.5);
    transition: right 0.3s ease-in-out;
    z-index: 1045;
}

.offcanvas.show {
    right: 0;
}

.offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    border-bottom: 1px solid #dee2e6;
}

.offcanvas-title {
    margin-bottom: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.offcanvas-body {
    padding: 1rem;
    overflow-y: auto;
}

.mt-8 {
    margin-top: 100px;
}

/* CSS para manejar la visibilidad de las imágenes */
.banner-pc {
    display: block;
}

.banner-movil {
    display: none;
}

@media (max-width: 767px) {
    .banner-pc {
        display: none;
    }
    .banner-movil {
        display: block;
    }
}


/* P R O D U C T O S */
/* P R O D U C T O S */
.product-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 150px auto 120px auto;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 5px;
    overflow: hidden;
}

.product-image-slider {
    flex: 1 1 50%;
    position: relative;
}

.product-slide {
    display: none;
}

.product-slide.active {
    display: block;
}

.product-slide img {
    width: 100%;
    height: auto;
    display: block;
}

.product-slider-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.product-slider-controls button {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
}

.product-details {
    flex: 1 1 50%;
    padding: 20px;
}

.product-name {
    font-size: 24px;
    margin: 0 0 10px;
}

.product-description {
    font-size: 16px !important;
    color: #666;
    margin: 0 0 20px;
}

.product-price {
    font-size: 20px;
    color: #333;
    margin: 0 0 20px;
}

.add-to-quote {
    display: inline-block;
    background-color: #0778bc;
    color: white;
    border: none;
    padding: 20px 20px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50px;
}

.add-to-quote:hover {
    background-color: #34abf9;
}

@media (max-width: 768px) {
    .product-container {
        flex-direction: column;
    }

    .product-image-slider, .product-details {
        flex: 1 1 100%;
    }
}

.w-500{
    width: 500px !important;
} 
.h-300{
    height: 300px !important;
}



/* Valores */

#valores {
    position: relative;
    padding: 60px 0;
}

#valores::before,
#valores::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    
    background-size: contain;
    background-repeat: no-repeat;
}

#valores::before {
    background-image: url('../assets/imagenes/nosotros/elemento_decorativo_izq.svg'); /* imagen dummy */
    top: 100%;
    left: 50px;
    transform: translateY(-50%);
}

#valores::after {
    background-image: url('../assets/imagenes/nosotros/elemento_decorativo_der.svg'); /* imagen dummy */
    top: 10%;
    right: 50px;
    transform: translateY(-50%);
}

/* Ocultar imágenes en dispositivos móviles */
@media (max-width: 768px) {
    #valores::before,
    #valores::after {
        display: none;
    }
}


#valores .icon-box {
    align-items: center;
    justify-content: center;
    text-align: center;
}

#valores .icon-box img {
    max-width: 100%;
    height: auto;
}

#valores h5 {
    margin-top: 10px;
    font-weight: bold;
}

.h-45{
    height: 45px;
}

.breadcrumb-gp {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding: 0rem;
    margin-bottom: 2rem;
    list-style: none;
    background-color: #ffffff00;
    border-radius: .25rem;
}

.iconos-productos{
    color: #07408e;
    font-weight: 600;
}


/*BLOG*/
.blog-detail {
    text-align: center;
}

.blog-title {
    font-size: 2.5rem;
    margin-top: 1rem;
}

.blog-description {
    font-size: 1.2rem;
    margin-top: 1rem;
    text-align: left;
}

.subheading {
    font-size: 1.8rem;
    margin-top: 1.5rem;
    text-align: left;
}

.insumos-list {
    text-align: left;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.author-bio {
    text-align: left;
}

.author-name {
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

.author-description {
    font-size: 1rem;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .blog-title {
        font-size: 2rem;
    }

    .blog-description {
        font-size: 1rem;
    }

    .subheading {
        font-size: 1.5rem;
    }

    .author-name {
        font-size: 1.3rem;
    }

    .author-description {
        font-size: 0.9rem;
    }
}
