.__product_item{
    background: #FFFFFF;
    border: 1px solid #e7dae2;
    border-radius: 6px;
    overflow:hidden;
    min-height: 460px;
}
.__product_item_image{
    max-height: 483px;
    min-height: 300px;
}
.__product_item_image img{
    object-fit: cover;
    object-position: center;
}

.__product_item__add_to_cart_btn{
    background-color: #FFFFFF;
    border: 1px solid #333333;
    color: #444444;
    text-transform: none;
}
.__product_item_description{
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}
.__product_item_description_sub{
    transition: all .3s ease-out;
    display: none;
}
.__product_item:hover .__product_item_description_sub{
    display: block;
    /*animation: slideInUpAnim 0.5s linear;*/
    /*height: 100%;*/
}

.__product_item_description_sub .qtyField{
    border: 1px solid #333333;
    border-radius: 4px;
}
.__product_item_description_sub .qtyField a{
    background-color: white;
    border: 0;
    border-radius: 4px;
    box-shadow: none;
}
.__product_item_description_sub .qtyField input{
    border: 0;
}
.text-gray{
    color: #A0A0A0;
}


@media screen and (max-width: 1600px) {
    .__product_item{
        min-height: 360px;
    }
}


/*@media screen and (max-width: 1366px) {*/
/*    .__product_item{*/
/*        min-height: 320px;*/
/*    }*/
/*}*/

/*@media screen and (max-width: 992px) {*/
/*    .__product_item{*/
/*        min-height: auto;*/
/*    }*/
/*    .__product_item_image{*/
/*        height: auto;*/
/*    }*/
/*    .__product_item_description_sub{*/
/*        display: block;*/
/*    }*/
/*}*/

@media only screen and (max-width: 1200px) {
    .__product_item_image{
        max-height:fit-content;
        min-height: auto;
    }
    .__product_item_image img{
        object-fit: contain;
        object-position: initial;
    }
    .__product_item_description{
        padding: 8px!important;
    }
    .__product_item_description{
        width: 100%;
        position: relative;
    }
    .__product_item_description_sub{
        height: auto;
        display: block;
    }
    .__product_item__add_to_cart_btn{
        width: 100%;
    }
    .__product_item:hover .__product_item_description_sub{
        display: block;
        animation: none;
        height: auto;
    }
}

/*@media screen and (max-width: 480px) {*/
/*    .__product_item_image{*/
/*        min-height: auto;*/
/*    }*/
/*}*/
@keyframes slideInUpAnim {
    0% {height: 0;}
    25% {height: 25px;}
    50% {height: 50px;}
    75% {height: 75px;}
    100% {height: 100%;}
}
.label-main-area{
    padding: 10px;
    right: 0;
    top: 0;
    display: flex;
}
.label-main-area span{
    border:0.025em solid transparent;
    margin: 0 5px;
    padding: 2px 5px;
    border-radius: 4px;
    color: white;
}

.category-page-main-area{

}

.fadeInAnimation{
    animation: fadeInAnim 0.5s linear;
}
.fadeOutAnimation{
    animation: fadeOutAnim 1s linear;
}

@keyframes fadeInAnim {
    0%{
        opacity: 0;
    }

    100%{
        opacity: 1;
    }
}


@keyframes fadeOutAnim {
    0%{
        opacity: 1;
    }

   100%{
        opacity: 0;
    }
}


.category-page-swatch{
    display: flex;
}

.category-page-swatch label{
    width: 25px;
    height: 25px;
    margin: 0 4px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
}
.category-page-swatch .active:after{
    content: "";
    width: 33px;
    height: 33px;
    border: 2px solid #8888;
    position: absolute;
    border-radius: 50%;
    box-sizing: border-box;
    left: -3.8px;
    top: -3.8px;
}

.category-page-color-pickup-sidebar{
    display:none;
    height: 100%;
    width: 350px;
    position: fixed;
    z-index: 999;
    top: 0;
    right: -350px;
    background-color: #ffffff;
    overflow-x: hidden;
    transition: 0.5s;
    box-shadow: 0 0 1px 0 rgba(214, 231, 233, 0.52);
    border: 1px solid rgba(0,0,0,.05);
}

.category-page-color-pickup-sidebar-open{
    right: 0;
    display: block;
    animation: slideCartOpen linear 0.2s;
}

.category-page-color-pickup-sidebar-close{
    display: block;
    right: -350px;
    animation: slideCartClose linear 0.3s;
}


@media screen and (max-height: 450px) {
    .category-page-sidebar {padding-top: 15px;}
    /*.sidenav-cart a {font-size: 18px;}*/
}

#category-page-color-pickup-sidebar-overlay{
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 100%;
    display: none;
    z-index: 99;
    background-color: #111;
    opacity: 0.65;
}

.category-page-swatch-more{
    width: 25px;
    height: 25px;
    margin: 0 4px;
    border: 1px solid black;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    padding: 4px 7px;
}
