:root {
    --header-height: 0px;
}

img.product-placeholder{
    display:block;
    width:100%;
    height:auto;
    aspect-ratio:1120 / 960;
    box-sizing:border-box;
    object-fit:contain;
    padding:18%;
    background:#222a30;
}
.item-category img.product-placeholder{
    aspect-ratio:380 / 333;
    padding:12% 18% 32%;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 20px);
}

/* Desactivar temporalmente la animación */
html.scroll-instant {
    scroll-behavior: auto;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
.hero-section>div{
    bottom: 0;
    position: absolute!important;
    z-index: 5;
}
.hero-section figure:after,
.hero-section figure:before{
    content: '';
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.hero-section figure:before{
    background: linear-gradient(45deg,  rgba(0,0,0,1) 0%,rgba(0,0,0,0) 100%);
    height: 100%;
}
.hero-section figure:after{
    background: linear-gradient(to bottom,  rgba(0,0,0,.7) 0%,rgba(0,0,0,0) 100%);
    height: 100px;
}
.menu-categories{
    list-style: none;
    padding-left: 0;
}
.menu-categories li{
    flex: 1;
}
.menu-categories li a{
    display: flex;
    border-radius: var(--global-radius);
    background-color: var(--light-gray);
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 100%;
    line-height: 1.2;
    color: var(--color-text);
    padding: .75rem 2rem;
    transition: color .2s linear, background-color .2s linear;
    
}
.menu-categories li a:hover{
    background-color: var(--default);
}
.menu-categories li a.is-active{
    background-color: var(--primary);
    color: var(--white);
    font-weight: 700;
}
.item-category{
    overflow: hidden;
}
.item-category figure:before{
    background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.9) 100%);
    content: '';
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.item-category > div{
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}
@media (min-width:992px) {
    .hero-section>div{
        max-width: 45dvw;
        left: 5dvw;
    }
    
}
@media (min-width:768px) {
    .item-category a{
        font-size: 16px;
    }
}
@media only screen and (max-device-width: 1025px) and (orientation: portrait) {
    .hero-section figure img{
        height: 55dvw;
    }
}
    @media (max-width:767px) {
    .hero-section figure img{
        height: 680px;
        object-fit: cover;
    }
    .item-category div h4{
        font-size: 16px;
    }
    .item-category div .btn{
        font-size: 13px;
    }
    .item-category figure img{
        height: 50dvw;
        object-fit: cover;
    }
}
