:root {
    --header-background: rgb(0 0 0 / 0.35);
    --header-hover-background: rgb(0 0 0 / 0.45);
    --nav-li-line-color: #fff;
    --nav-line-text-color: #fff;
    --nav-line-text-hover-color: #336147;
    --submenu-background: rgb(60 60 60 / 0.8);
    --submenu-hover-background: rgb(255 255 255 / 0.1);
    --submenu-color: #fff;
}

html {
    font-size: 16px;
    position: relative;
    min-height: 100%;
}

.header {
    left: 0;
    top: 0;
    z-index: 999;
}

.header-container {
    height: auto;
    background: var(--header-background);
    transition: all 0.2s;
}

    .header-container.header-fixed {
        --header-background: rgb(255 255 255 / 1);
        --nav-li-line-color: #336147;
        --nav-line-text-color: #336147;
        --nav-line-text-hover-color: #fff;
        --submenu-background: rgb(255 255 255 / 0.9);
        --submenu-hover-background: rgb(0 0 0 / 0.1);
        --submenu-color: #336147;
    }

    .header-container:not(.header-fixed) {
        border: none !important;
    }

        .header-container:not(.header-fixed):hover {
            transition: background 0.3s !important;
            background: var(--header-hover-background);
        }

    .header-container .header-language-btn {
        color: var(--submenu-color);
    }

.header .dropdown-menu {
    background: var(--submenu-background);
}

    .header .dropdown-menu li:hover {
        background: var(--submenu-hover-background);
    }

        .header .dropdown-menu li:hover .dropdown-item {
            background: none;
        }

    .header .dropdown-menu li .dropdown-item {
        color: var(--submenu-color);
        border-color: var(--nav-li-line-color)
    }

.header .dropdown-item.active, .dropdown-item:active {
    background: var(--submenu-hover-background) !important
}

.navbar-brand img {
    width: 100% !important;
    max-width: 250px !important;
}

.navbar-toggler i {
    color: var(--nav-line-text-color);
}

.carousel {
    height: 500px !important;
}

.carousel-item img {
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.imageCarousel {
    height: 70px;
    width: auto;
    max-width: 150px;
    object-fit: cover;
    object-position: center;
}

body:not(:has(.header:in-view)) .header {
    background: rgb(255 255 255 / 0)
}

.accordion-button:focus {
    box-shadow: none;
}

.accordion-button::after {
    content: "\f282"; /* c digo del icono */
    font-family: "bootstrap-icons";
    font-weight: normal;
    background: none !important
}

.accordion-button:not(.collapsed) {
    background: rgb(51 97 71 / 0.9);
    color: white
}

.card-product-item-text {
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.footer {
    width: 100%;
    min-height: 542px;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    white-space: nowrap;
    background: linear-gradient(rgb(255 255 255 / 0.3), rgb(0 0 0 / 0.5)), url("/assets/BackgroundFooter.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    --submenu-background: #336147E6;
    --submenu-hover-background: rgb(0 0 0 / 0.1);
    --submenu-color: #FFF;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: auto;
}

.header-fixed * .Nav-lineLi {
    background: #325f46 !important;
}

.header-fixed .Nav-Li .Nav-TextLi {
    color: white !important;
}

.header-fixed .Nav-Li:hover .Nav-TextLi {
    color: black !important;
}

.Nav-li {
    width: auto !important;
    position: relative;
}

    .Nav-li .nav-li-wrapper:hover .Nav-lineLi {
        width: 100%;
    }

    .Nav-li .nav-li-wrapper:hover .Nav-TextLi {
        color: var(--nav-line-text-hover-color);
    }

    .Nav-li .nav-li-wrapper {
        text-decoration: none;
        height: 100%;
        width: 100%;
    }

.Nav-lineLi {
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: #fff;
}

.Nav-lineLi, .Nav-TextLi {
    transition: all 0.2s;
}

.Nav-TextLi {
    color: var(--nav-line-text-color);
    width: max-content
}

.footer .Nav-TextLi {
    width: 100%
}

.icon-container {
    width: calc(36px + 1rem);
    background: rgb(255 255 255 / 0);
    aspect-ratio: 1/1;
    border-radius: 50%;
    color: inherit !important;
}

.icon-container, .icon {
    color: inherit !important;
    transition: all 0.2s;
}

    .icon-container:hover {
        background: rgb(255 255 255 / 100)
    }

        .icon-container:hover .icon {
            color: var(--nav-line-text-hover-color) !important;
        }

.icon {
    font-size: 24px;
}

#bokun-modal-iFrame {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
}

iframe {
    width: 100%;
    height: 0; /* empieza en 0, JS lo ajusta */
    border: none;
    overflow: hidden;
}

@media(max-width: 992px) {
    html {
        font-size: 16px;
    }

    .footer {
        height: 800px
    }
}

@media screen and (max-width: 768px) {
    .footer {
        height: 900px
    }

    .Nav-lineLi {
        width: 100% !important;
        height: 1px !important;
        top: 100%;
    }

    .Nav-li .nav-li-wrapper:hover .Nav-lineLi {
        height: 100% !important;
        top: 0;
    }
}

@media(min-width: 576px) {
    .dropdown-menu {
        opacity: 0;
        transition: all 0.3s
    }

        .dropdown-menu.show {
            margin-top: 0;
            opacity: 1;
        }
}
