/********** Template CSS **********/
:root {
    --primary: rgba(136, 180, 78, .82);
    --secondary: #FB9F38;
    --light: #F5F8F2;
    --dark: #252C30;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: absolute;
    padding: 0;
    width: 150px;
    height: 135px;
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 28px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    transition: all 300ms;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 126px;
        height: 100px;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 75px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }

    .navbar .navbar-collapse{
        font-size: 13px;
    }

    .navbar #search-form{
        margin-right: 0;
    }

}

@media (min-width: 1200px){
    .navbar .navbar-collapse{
        font-size: 15px;
    }
}

/*** Search ***/
#buscador .btn{
    border: none;
    color: rgb(136, 180, 78);
    font-weight: bold;
    transition: all 300ms;
}

#buscador .btn:hover{
    border-color: rgb(136, 180, 78);
    background-color: rgb(136, 180, 78);
    color: white;
}

#buscador input{
    width: 100px;
    transition: all 300ms;
}

#buscador input:hover{
    width: 350px;
}

#buscador input:focus{
    width: 350px;
}

/* Estilos para el elemento de sugerencia en el menú desplegable */
.dropdown-item {
    cursor: pointer;
    padding: 5px 10px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

/* Estilos para el elemento de sugerencia cuando se pasa el ratón por encima */
.dropdown-item:hover {
    background-color: #f0f0f0;
}

/* Estilos para las sugerencias en el cuadro de búsqueda */
.suggestion-item {
    cursor: pointer;
    padding: 5px;
    background-color: #fff;
    color: #333;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

/* Estilos para las sugerencias cuando se pasa el ratón por encima */
.suggestion-item:hover {
    background-color: #f0f0f0;
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(136, 180, 78, .6);
    z-index: 1;
    font-weight: bold;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(136, 180, 78, .7), rgba(136, 180, 78, .7)), url(../img/inicio/H1.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    bottom: -13px;
    left: calc(25% - 13px);
    background: var(--dark);
    border: 10px solid #FFFFFF;
    border-radius: 28px;
}

.section-title.text-center::before {
    left: 25%;
}

.section-title.text-center::after {
    left: calc(50% - 13px);
}

#PerDer{
    background-color: rgba(136, 180, 78, .07);
    max-width: 100%;
}

#bio{
    text-align: justify;
}

/*** Products ***/
.product {
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)) left bottom no-repeat;
    background-size: auto;
}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}

.textbody{
    text-align: justify;
}

.text-body{
    text-align: justify;
}

.col-sm-8 p{
    text-align: justify;
}

/*** Contact ***/
.contact{
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)) left bottom no-repeat;
    max-width: 100%;
}

.contact .btn-square {
    width: 100px;
    height: 100px;
    border: 20px solid var(--light);
    background: var(--primary);
    border-radius: 50px;
}


/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/inicio/H1.png) center center no-repeat;
    background-size: cover;
}

.testimonial-item {
    margin: 0 auto;
    max-width: 700px;
    text-align: center;
    background: #FFFFFF;
    border: 30px solid var(--primary);
    transition: all 300ms;
}

.testimonial-item:hover{
    max-width: 800px;
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}


.testimonial-carousel .owl-dots {
    margin-top: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--dark);
}

/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #252525;
}

.copyright a:hover {
    color: #FFFFFF !important;
}

.morfos{
    text-align: justify;
}

figcaption{
    font-size: small;
    text-align: justify;
}

ul.custom-list {
    list-style: none;
    padding-left: 20px;
}

#search-results {
    position: absolute;
    top: 100%; /* Alinea el contenedor justo debajo del campo de búsqueda */
    left: 0; /* Alinea a la izquierda del campo de búsqueda */
    width: 100%; /* Ocupar el mismo ancho que el campo de búsqueda */
    background-color: white; /* Fondo blanco para los resultados */
    border: 1px solid #ccc; /* Borde para separar visualmente el contenedor */
    border-radius: 4px; /* Bordes redondeados */
    z-index: 1000; /* Para que el contenedor esté sobre otros elementos */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para un mejor efecto */
    max-height: 200px; /* Limita la altura del contenedor */
    overflow-y: auto; /* Permite el scroll vertical si es necesario */
    overflow-x: hidden; /* Oculta el scroll horizontal para evitar el desplazamiento no deseado */
}

#search-results a {
    padding: 8px 12px; /* Espaciado interno de los elementos */
    display: block; /* Asegura que los enlaces ocupen todo el ancho disponible */
    color: #333; /* Color del texto */
    text-decoration: none; /* Quita el subrayado */
    white-space: nowrap; /* Evita que el texto se rompa en varias líneas */
    overflow: hidden; /* Oculta cualquier contenido desbordado */
    text-overflow: ellipsis; /* Muestra '...' para indicar texto recortado */
}

#search-results a:hover {
    background-color: #f0f0f0; /* Fondo cuando se hace hover sobre un resultado */
}




