.cookies-container {
    z-index: 500;
    width: 300px;
    height: 300px;
    background-color: #fff;
    border: 1px solid var(--gray);
    border-radius: 20px 20px 0 0;
    padding: 100px 20px 0;
    bottom: 0;
    left: 0;
    position: fixed;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    text-align: center;
    font-size: 16px;
    visibility: hidden;
}
.cookies-container.activo {
    visibility: visible;
}
.cookies__h4 {
    font-size: 25px;
}
.cookies__img {
    width: 150px;
    position: absolute;
    top: -50px;
}

.cookies-fondo {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background-color: var(--gray);
    opacity: 75%;
    z-index: 450;
    top: 0;
    left: 0;
    visibility: hidden;
}
.cookies-fondo.activo {
    visibility: visible;
}

.cookies__button {
    height: 35px;
    border: 0;
    border-radius: 10px;
    background-color: var(--color-primary);
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    padding: 20px;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.cookies__a {
    color: var(--color-primary);
}
header {
    position: relative;    
}

/*** Mobile first Workflow ***/

/* Seccion externa main */
.main {
    position: relative;
    margin-top: 25px;
}

/* HEADER NAV*/
.header__nav {
    position: fixed;
    z-index: 10;
    left: 0;
    right: 0;
    top: 0;
    height: 45px;
    background-color: var(--white);
    padding: 0 20px;
    box-shadow: 0 5px 5px -5px var(--color-primary);
    z-index: 400;
}

/* Logo */
.header__logo {
    float: left;
    width: 35%;
    height: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.logo__img {
    object-fit: cover;
    height: 30px;
}

/* Menu */
.header__menu {
    float: none;
    position: fixed;
    left: 100%;
    right: 0;
    top: 45px;
    bottom: 0;
    background-color: var(--color-primary);

    display: flex;
    flex-direction: column;
    align-items: center;

    width: auto;
    height: auto;
    transition: all .5s ease-in-out;
    overflow: hidden;
}
.menu__list {
    cursor: pointer;
    list-style: none;
    border-bottom: 1px  solid var(--white);
    width: 80%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    align-items: center;
    text-align: center;
    height: 12%;
}
.menu__list--modifier{
    margin-right: 0px;
    border-bottom: inherit;
    transition-duration: .5s;
}
.list__i, .list__a, .list__a--modifier {
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    justify-self: center;
    align-self: center;
    padding-top: 10px;
    padding-bottom: 10px;
    color: white;
}
.list__i, .list__i--producto {
    display: inherit !important;
}
.list__i--modifier, .list__i--producto {
    height: 25px;
    object-fit: cover;
    justify-self: center;
    align-self: center;
    margin-top: 10px;
    margin-bottom: 10px;
}
/* Animacion Der a Izq del menu*/
#nav-toggle:checked ~ .header__nav .header__menu {
    left: 0;
}

/* Boton menu */
.menu__label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    cursor: pointer;
}
.label__line {
    width: 30px;
    height: 5px;
    background-color: var(--color-primary);
    margin: 2px;
    border-radius: 3px;
    display: inherit;
    transition: all .3s ease-in-out;
}
/* Animacion del icono del boton menu*/
#nav-toggle:checked ~ .header__nav .label__line:nth-child(1) {
    transform: translateY(9px) rotate(225deg);
}
#nav-toggle:checked ~ .header__nav .label__line:nth-child(2) {
    opacity: 0;
}
#nav-toggle:checked ~ .header__nav .label__line:nth-child(3) {
    transform: translateY(-9px) rotate(-225deg);
}

/* BREAKPOINT 768+px */
@media screen and (min-width: 768px) {
    /* HEADER NAV */
    .header__nav {
        height: 78px;
        padding: 0 40px;
        padding-right: 0;
    }

    /* Logo */
    .header__logo {
        width: 35%;
    }
    .logo__img {
        height: 50px;
    }

    /* Menu */
    .header__menu {
        float: right;
        position: static;
        padding: 0;
        margin: 0;
        width: 65%;
        height: 100%;
        flex-direction: row;
        background-color: inherit;
        justify-self: center;
        transition: inherit;
        justify-content: flex-end;
        
    }
    .menu__list {
        list-style: none;
        display: flex;
        cursor: pointer;
        margin-right: 40px;
        width: auto;
    }
    /* Ocultar iconos  */
    .list__i, .list__i--producto {
        display: none !important;
    }
    /* Animación hover */
    .list__a, .list__a--modifier{
        text-decoration: none;
        color: inherit;
        font-size: 1.1rem;
        position: relative;
    }
    .list__a--modifier {
        margin-right: 40px;
    }
    .menu__list--modifier:hover{
        transform: scale(1.1);
        color: var(--green-wsp);
    }
    .list__a:after{
        content: "";
        width: 0;
        height: 4px;
        background-color: var(--color-secundary);
        position: absolute;
        bottom: 0;
        right: 50%; /* 0% Der a Izq / 50% Medio a extremo / 100% Izq a Der */
        transition: all .5s;
        will-change: width;
    }
    .list__a:hover:after{
        width: 100%;
        right: 0;
    }
    .menu__list--modifier{
        margin-right: 0px;
    }

    /* Boton menu */
    .label__line {
        display: none;
    }
}
@media screen and (min-width:768px) and (max-width: 997px) {
    /* nav */
    .header__nav {
        padding: 0 20px;
    }
    /* logo */
    .header__logo {
        width: 20%;
    }
    
    /* menu */
    .header__menu {
        width: 80%;
    }
    .menu__list{
        margin-right: 20px;
    }
}