/* Importar fuente monserrat de google fonts */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

/* ESTILOS GENERALES */
BODY {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.mw-1000 {
    max-width: 1000px;
    margin: 0 auto;
}

h1.black {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
}

h1 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 15px;
}

h2.black {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 10.8px;
}

h2 {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 10.8px;
}

.contenedorEstandar {
    max-width: 1300px;
    margin: 0 auto;
}

header {
    max-width: 1300px !important;
}

div.imgSupMenu {
    width: 25px;
    height: 25px;
}

div.imgSupMenu.active {
    background-image: url(../images/circulo_menu.svg);
    background-size: contain;
}
.navbar-nav .nav-link {
    padding-bottom: 0 !important;
}
.navbar-nav .nav-link.active {
    color: #38d430 !important;
    border-bottom: 2px solid #000;
}

.navbar-nav {
    display: flex;
    align-items: flex-end; /* Alinea los items al final */
}
/* Estilos generales para el menú */
.nav-item.dropdown {
    position: relative; /* para posicionar submenu relativo al item */
}

/* Mostrar submenú al hacer hover */
.nav-item.dropdown:hover > .dropdown-menu {
    display: grid;
}

.submenu-Catalogos {
    width: 300px !important;
    height: 60px !important;
    padding: 5px 10px !important;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7) !important;
}

.submenu-Catalogos li {
    height: 23px;
}

.submenu-Catalogos li a {
    font-size: 18px !important;
    padding: 0 !important;
    color: #38d430 !important;
}

.submenu-Catalogos li a:hover {
    color: #1c152d !important;
    font-weight: bold !important;
    text-decoration: underline !important;
    text-decoration-color: #1c152d !important;
    text-decoration-thickness: 1px !important;
}

/* Estilo del menú desplegable */
.custom-submenu {
    background-color: #fff;
    border: 2px solid #38d430;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    min-width: 220px;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 999;
    display: none; /* oculto por defecto */
    grid-template-columns: initial; /* reset grid para otros submenus */
}

/* Submenú de PRODUCTOS específico */
.productos-submenu {
    border: 2px solid #a4e3a4;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 15px 20px;
    display: none; /* oculto por defecto */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    column-gap: 30px;
    row-gap: 8px;
    z-index: 999;
    min-width: auto; /* permite que tome ancho automático */
    width: max-content; /* ajusta el ancho al contenido */
    transform: translateX(-20%);
}

/* Mostrar submenu productos al hacer hover */
.nav-item.dropdown:hover > .productos-submenu {
    display: flex;
}

/* Items del submenu productos */
.productos-submenu .dropdown-item {
    padding: 5px 0;
    color: #38d430;
    font-weight: normal !important;
    font-size: 18px;
    transition: color 0.2s;
    white-space: nowrap; /* evita quiebre en texto */
}

.productos-submenu .dropdown-item:hover {
    color: #1c152d;
    font-weight: bold !important;
    text-decoration: underline;
    text-decoration-color: #1c152d;
    text-decoration-thickness: 1px;
}

/* Submenús laterales */
.submenu-right {
    position: absolute;
    left: 100%;
    top: 0;
    background-color: rgba(255, 255, 255, 0.9);
    border: 2px solid #a4e3a4;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 15px;
    min-width: 200px;
    display: none;
    z-index: 999;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.dropdown-submenu:hover > .submenu-right {
    display: block;
    background-color: rgba(255, 255, 255, 0.9);
}

/* Opcional: centrar el contenido del icono en el menú */
.nav-item.dropdown > center > .imgSupMenu {
    display: inline-block;
}

.dropdown-item.active,
.dropdown-item:active {
    background-color: unset !important;
}

.list-unstyled {
    width: 100%;
}

b {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 700;
    font-style: normal;
    font-size: 9.6px;
}

.fuenteGreen {
    color: #38d430 !important;
}
/* ESTILOS DEL HEADER */
header {
    padding: 100px 0 80px;
}

/* ESTILOS DEL FOOTER */
footer h3 {
    color: #38d430;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

footer p {
    margin: 0;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-20 {
    margin-top: 20px;
}

.whatsapp-chat {
    width: 273px;
    position: fixed;
    z-index: 1000000;
    right: 20px;
    bottom: 40px;
    filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

/* Estilos movil */
@media (max-width: 768px) {
    .contenedorEstandar {
        max-width: 100%;
        padding: 0 20px;
    }

    header {
        padding: 24px 0;
    }

    .navbar-nav {
        flex-direction: column;
        align-items: center;
    }

    .navbar-nav .nav-link {
        margin-bottom: 10px;
    }

    .dropdown-item.active,
    .dropdown-item:active {
        color: #1c152d !important;
    }

    .dropdown-menu li ul {
        border-left: 0;
        border-right: 0;
        border-radius: 0;
    }

    .navbar-nav .dropdown-menu {
        margin: 0 !important;
    }

    .carrusel-wrapper-seasons {
        max-width: 100%;
    }

    .carrusel-seasons {
        flex-direction: column;
        align-items: center;
    }
}
