header{
    width: 100%;
    height: 60px;
    background-color: rgba(33,37,41, 0.85);
    padding: 5px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    place-content: center;
    color: #fff;
    position: fixed;
    top: 0px;
    z-index: 10;
    nav{
        display: flex;
        align-items: center;
        justify-content: right;
        i{
            margin-left: 35px;
        }
    }
    i{
        font-size: 1.8em;
        cursor: pointer;
        transition: color 0.2s;
    }
    i:hover, a:hover{
        color: gold;
    }
    a{
        transition: color 0.2s;
    }
    .fa-bars{
        font-size: 2.3em;
        width: fit-content;
        display: flex;
        align-items: center;
        justify-content: left;
    }
    .central{
        text-align: center;
        font-size: 1.95em;
        font-weight: 900;
    }
}

@media screen and (max-width:650px){
    header{
        height: 90px;
        padding: 5px 15px;
        font-size: 12px;
        nav{
            i{
                margin-left: 15px;
            }
        }
        .central{
            grid-template-columns: 100px 100px;
            place-content: center;
            place-items: center;
            :last-child{
                text-align: center;
            }
        }
        .menu{
            width: 100dvw !important;
        }
    }
    .carrito, .usuario, .menu-izquierdo{
        height: calc(100dvh - 90px) !important;
    }
    .busqueda{
        .resultados{
            height: fit-content;
            max-height: calc(100dvh - 125px) !important;
        }
    }

}
.menu-izquierdo{
    text-transform: capitalize;
    position:absolute;
    font-size: 1.31em;
    left: 0px;
    top: 100%;
    width: 250px;
    padding: 15px 20px;
    height: calc(100dvh - 60px);
    transform: translateX(-450px);
    background-color: rgba(33,37,41, 0.85);
    ul{
        list-style: none;
        >li{
            margin-bottom: 10px;
        }
        li > ul{
            padding-left: 25px;
            li{
                margin-bottom: 15px;
            }
        }
        
    }
    select{
        background-color: unset;
        color: #fff;
        border: 1px solid #fff;
        border-radius: 5px;
        padding: 2px 5px !important;
        margin-top: 15px !important;
        option{
            background-color: rgba(33,37,41, 1);
            color: #fff;
            padding: 2px 5px;
            text-transform: capitalize !important;
        }
    }
}
.carrito, .usuario{
    position: absolute;
    top: 100%;
    right: 0px;
    transform: translateX(+450px);
    height: calc(100dvh - 60px);
    width: 450px;
    background-color: rgba(33,37,41, 0.85);
}
.busqueda{
    position: absolute;
    top: 100%;
    right: 0px;
    transform: translateX(+350px);
    width: 350px;
    background-color: rgba(33,37,41, 0.85);
    height: 35px;

    form{
        height: 100%;
        input{
            background-color: transparent;
            border: none;
            width: 100%;
            height: 100%;
            padding: 0 15px;
            font-size: 1em;
            color: #fff;
            font-weight: 700;
    
        }
        input[type="search"]::-webkit-search-cancel-button {
            filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(90deg);
        }
    }
    .resultados{
        overflow-y: auto;
        position: absolute;
        height: fit-content;
        max-height: calc(100dvh - 95px);
        top: 100%;
        background-color: rgba(33,37,41, 0.85);
        width: 100%;
        .producto{
            width: 100%;
            display: grid;
            grid-template-columns: 100px auto;
            gap: 25px;
            padding: 5px 10px;
            cursor: pointer;
            img{
                width: 100%;
            }
            .info-producto{
                display: flex;
                flex-direction: column;
                gap: 15px;
            }
        }
        .producto:hover{
            background-color: rgba(255, 217, 0, 0.445);
        }
    }
}
.usuario{
    text-align: center;
    font-size: 2.6em;
    justify-content: center;
    display: flex;
    align-items: center;
    .user{
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
}
.carrito{
    overflow-y: auto;

    #carrito{
        display: flex;
        flex-direction: column;
        scrollbar-width: 5px;
        scrollbar-color: rgba(0, 0, 0, 0.4);
        .producto{
            background-color: rgba(0, 0, 0, 0.4);
            display: flex;
            width: 100%;
            padding: 15px;
            height: 180px;
            align-items: center;
            gap: 15px;
            border-radius: 5px;
            margin: 10px 0;
            img{
                object-fit:cover;
                width: 120px;
            }
            .producto-info > *{
                margin: 5px 0;
                flex-grow: 1;
            }
            .cantidad{
                display: flex;
                input{
                    all:unset;
                    width: fit-content;
                    padding: 2px 5px;
                    color: #fff;
                    border-radius:5px;
                    border: 1px solid #fff;
                    margin-left: 10px;
                    text-align: center;
                }
            }
            i{
                flex-grow: 1;
                width: fit-content;
                height: 100%;
                display: flex;
                justify-content: center;
                align-items: center;
                background-color: rgba(255, 0, 0, 0.596);
                cursor: pointer;
                padding: 0 10px;
                border-radius: 5px;
                transition: box-shadow 0.3s, color 0.3s;
            }
            i:hover{
                box-shadow: inset #000 0px 0px 5px 1px;
            }
        }
    }
    .mensaje{
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1.6em;
        font-weight: 800;
        transform: translateY(-60px);
    }
    .info-carrito{
        width: 100%;
        padding: 20px 15px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        a{
            width: 90%;
            height: 45px;
            margin: auto;
            background-color: goldenrod;
            border-radius: 5px;
            padding: 9px;
            box-shadow: inset 0px 0px 3px 1px #000;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: 800;
            font-size: 1.3em;
        }
    }
}
.menu{
    transition: transform 0.25s linear, opacity 0.55s;
    opacity: 0;
}
.visible{
    transform: translateX(0px);
    opacity: 1;
}
iframe:not(.VIpgJd-ZVi9od-xl07Ob-OEVmcd), #goog-gt-tt{
    display: none !important;
}
#google_translate_element .skiptranslate {
    img, a{    display: none !important;}
}
font{
    background-color: transparent !important;
    box-shadow: none !important;
}
.eliminar{
    animation: eliminar 500ms forwards;
    transform: scaleY(0);
    height: 0;
    padding: 0 15px;
    margin: 0;
}
.display-none{
    display: none !important;
}
@keyframes eliminar {
    from {
        transform: scaleY(1);
        height: 180px;
        padding:15px 15px;
        margin: 5px 0;
    }
    to {
        transform: scaleY(0);
        height: 0;
        padding: 0 15px;
        margin: 0;
    }
}

h1{
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
    color: #333;
    padding: 20px 0;
}