/* Mobile & Tablet */
@media (max-width: 1023px){
    .hide-on-mobile-tablet{
        display: none;
    }

    .header{
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
    }
    .header__cart-list{
        position: fixed;
        top: var(--header-height);
        right: 0;
        width: 100%;
        padding: 0 calc(( 100% - 644px ) / 2 );
    }
    .header__cart-list::after{
        display: none;
    }
    .slider,
    .app_container{
        margin-top: calc(var(--header-height) + var(--header-sort-bar-height));
    }
    .header__sort-bar{
        display: flex;
    }
    .app_content{
        padding-top: 8px;
    }
    .mobile-category{
        display: block;
    }
}

/* PC low resolution */
@media (max-width: 1239px){
    .hide-on-pc-low{
        display: none;
    }
}

/* Tablet */
@media (min-width: 740px) and (max-width: 1023px){
    :root{
        --header-height: 68px;
        --navbar-height: 0px;
    }
    .hide-on-tablet{
        display: none;
    }
    .header__cart{
        width: 80px;
        text-align: center;
    }
}
/* Mobile */
@media (max-width: 739px){
    :root{
        --header-height: 45px;
        --navbar-height: 0px;
    }
    .hide-on-mobile{
        display: none;
    }
    .header-with-search{
        justify-content: space-between;
    }
    .header__cart,
    .header__logo{
        width: unset;
    }

    .header__search{
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        height: 46px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        z-index: 1;
        padding: 0 16px;
        animation: mobileSearchSideIn linear 0.01s;
        display: none;
    }
    @keyframes mobileSearchSideIn {
        from{
            opacity: 0;
            top: calc(var(--header-height) / 2);
        }
        to{
            opacity: 1;
            top: var(--header-height);
        }
    }
    .pagination-item{
        margin: 0;
    }
    .pagination-item__link{
        --height: 28px;
        font-size: 1.6rem;
        min-width: 36px;
        
    }
    .app_content{
        margin: 0 4px;
    }
    .header__mobile-search{
        display: block;
    }
    .header__logo-img{
        width: 140px;
    }
    .footer__content{
        padding: 0 16px;
    }
    .footer__heading{
        text-align: center;
    }
    .footer__download,
    .footer-item_link{
        justify-content: center;
    }
    .footer__download-apps{
      flex: unset;
    }
}