
/* General */
header svg {
    width: auto !important;
}
.submenu-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.submenu-title a{
    padding: 0;
}
header {
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding: 20px 0;*/
}

.inner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
}

.logo {
    margin-right: auto;
}

/* Menú */
.menu-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu-top {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 15px;
}

.menu-item {
    position: relative;
}

.menu-item a {
    text-decoration: none;
    /*color: #333;*/
    font-weight: bold;
    text-transform: uppercase;
    font-size: 14px;
    transition: color 0.3s ease;
}

.menu-item a:hover {
    /*color: #007bff;*/
}

/* Submenú */
.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #afa7bd;
    list-style: none;
    padding: 10px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    min-width: 200px;
    z-index: 1000;
}

.submenu-right {
    position: absolute;
    top: 0;
    left: 100%;
    background-color: #afa7bd;
    list-style: none;
    padding: 10px 0;
    display: none;
    min-width: 200px;
    z-index: 1000;
    height: 100% !important;
}

.submenu-item .submenu-title a, .submenu-right a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.submenu-item a:hover, .submenu-right a:hover {
    /*background-color: #f0f0f0;
    color: #007bff;*/
}

/* Mostrar submenú al pasar el mouse */
.menu-item:hover .submenu {
    display: block;
}

.submenu-item:hover .submenu-right {
    display: block;
}

/* Menú móvil */
.menu-button {
    display: none;
}

.submenu.open {
    display: block;
}

/* Responsividad */
@media screen and (max-width: 768px) {
    .menu-wrap {
        display: none;
    }

    .menu-wrap.open {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
        overflow-y: auto !important;
    }

    .menu-top {
        flex-direction: column;
        gap: 10px;
    }

    .menu-button {
        display: block;
        cursor: pointer;
        font-size: 14px;
        font-weight: bold;
        text-transform: uppercase;
    }

    .submenu {
        /*position: relative;
        top: 0;*/
        left: 0;
        box-shadow: none;
        padding-left: 20px;
        display: none !important;
    }

    .submenu.active {
        display: block !important;
        
    }


    .submenu-right {
        display: none !important;
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        padding-left: 20px;
    }

    .submenu-right.open {
        display: block !important;
        position: relative;
        top: 0;
        left: 0;
        box-shadow: none;
        padding-left: 20px;
    }
}