.product-card-item__container {
    position: relative;

    width: 50%;

    font-size: 1.5rem;
}

.product-card-item__container-sidebar {
    width: 49%;
}

.product-card-item__box {
    display: block;

    margin-right: 5px;
    margin-bottom: 15px; /* 1.5x horizontal margin */
    margin-left: 5px;
    padding: 10px;

    border: 1px solid rgba(0, 0, 0, .15);
    border-radius: .3em;
    background-color: #fff;
}

.product-card-item__box,
.product-card-item__box * {
    color: #333;
}

.product-card-item__header {
    display: flex;

    margin-bottom: 10px;
}

.product-card-item__title {
    display: block;
    overflow: hidden;

    width: 100%;
    height: 2em; /* x*line-height */
    margin: 0;
    padding: 0;

    font-size: 16px;
    font-weight: bold;
    line-height: 16px;
}

.product-card-item__header .product-latest-widget-image {
    position: relative;
    z-index: 11;

    display: block;

    width: 36px;
    height: 36px;
    margin-left: 10px;

    background-image: url('/assets/website/svg/v2/ic_like_red_4_gray.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

    flex-shrink: 0;
}

.product-card-item__header .product-latest-widget-image.is-active {
    background-image: url('/assets/website/svg/v2/ic_like_red_4.svg');
}

.product-card-item__header .product-latest-widget-image.is-active:hover {
    background-image: url('/assets/website/svg/v2/ic_like_red_4_gray.svg');
}

.product-card-item__header .product-latest-widget-image:hover {
    background-image: url('/assets/website/svg/v2/ic_like_red_4.svg');
}

.product-card-item__body {
    margin-bottom: 10px;
}

.product-card-item__image-box {
    position: relative;

    width: 100%;
    height: 130px;
}

.product-card-item__image {
    width: 100%;
    height: 100%;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.product-card-item__blank-image {
    width: 100%;
    height: 100%;

    background-image: url('/assets/website/images/ico_no_image.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: 160px;
}

.product-card-item__category-box {
    margin-bottom: 0;
}

.product-card-item__category-title {
    overflow: hidden;

    height: 42px;
    margin: 0;
    padding-left: 1.5em;

    background-image: url('/assets/website/svg/ico_category.svg');
    background-repeat: no-repeat;
    background-position: left .25em;
    background-size: 1em;

    font-size: 14px;
    font-weight: normal;
    line-height: 16px;
}

.product-card-item__footer {
    display: flex;

    justify-content: space-between;
    align-items: center;
}

.product-card-item__rating-box {
    line-height: 1;

    flex-grow: 1;
    flex-shrink: 0;
}

.product-card-item__available-box {
    visibility: hidden;

    flex-grow: 0;
    flex-shrink: 0;
}

.product-card-item__available-box.is-visible {
    visibility: visible;
}

.product-card-item__available-icon {
    display: block;

    width: 1.5em;
    height: 1.5em;

    background-image: url('/assets/website/svg/shopping-cart_green.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.product-card-item__comments-box {
    float: right;
}

.product-card-item__comments {
    padding-left: 1em;

    background-image: url('/assets/website/svg/ico_comments.svg');
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 1em;
}

/* item hover & focus */
.product-card-item__box:hover,
.product-card-item__box:focus {
    border-color: rgba(209, 76, 71, .5);
}

.product-card-item__box:hover .product-card-item__title,
.product-card-item__box:focus .product-card-item__title {
    color: rgb(209, 76, 71);
}

.product_slider .thumbnail {
    width: 100%;
    height: 100%;
    max-height: 400px;

    border-radius: 5px;
}

.product_slider .thumbnail img {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    margin: auto;

    opacity: 1;
}

.item_category {
    position: relative;

    clear: both;

    width: 100%;
    padding-left: 30px;

    font-size: 14px;
}

.item_category:before{
    position: absolute;
    top:4px;
    left: 5px;

    display: block;

    width: 16px;
    height: 16px;

    content: '';

    background: url('/assets/website/svg/ico_category.svg') center no-repeat;
    background-size: cover;
}

.product-rate-cont {
    display: flex;

    margin-bottom: 1em;
}

.product-rate-cont .product-latest-widget-image.is-active {
    background-image: url('/assets/website/svg/v2/ic_like_red_4.svg');
}

.product-rate-cont .product-latest-widget-image {
    width: 36px;
    height: 36px;

    cursor: pointer;

    background-image: url('/assets/website/svg/v2/ic_like_red_4_gray.svg');
    background-size: cover;
}

.product-rate-cont .product-latest-widget-image .is-active:hover {
    background-image: url('/assets/website/svg/v2/ic_like_red_4_gray.svg');
}

.product-rate-cont .product-latest-widget-image:hover {
    background-image: url('/assets/website/svg/v2/ic_like_red_4.svg');
}

.product-card-item__container-homepage {
    width: 100%;
}

.page_products .product-card-item__available-box {
    position: absolute;
    right: 20px;
    bottom: 25px;
}

.animation .product-card-item__available-box,
.wishlist-page .product-card-item__available-box,
.wishlists-page .product-card-item__available-box,
.product-card-list__2-col .product-card-item__available-box,
.v2__tlum-club_recommendations-container .product-card-item__available-box,
.sidebar .product-card-item__available-box,
.product-detail__other-products__block .product-card-item__available-box,
.similar-products__block .product-card-item__available-box {
    position: absolute;
    right: 15px;
    bottom: 25px;
}

@media screen and (min-width: 480px){
    .product-card-item__container_homepage {
        display: flex;
    }

    .product-card-item__container-homepage {
        width: 50% !important;
    }

    .product-card-item__container-homepage:first-child {
        margin-right: 1%;
    }

    .v2__tlum-club .product-card-item__available-icon {
        position: absolute;
        right: -10px;
        bottom: 0;
    }
}

@media (min-width: 720px) {
    .product-card-item-image {
        width: 68px;
        height: 50px;

        background-position: center;
        background-size: 100%;
    }

    .similar-products__block .product-card-item__container,
    .product-detail__other-products__block .product-card-item__container {
        width: 33%; /* 3 item per row */
    }

    .animation .product-card-item__available-box,
    .wishlist-page .product-card-item__available-box,
    .wishlists-page .product-card-item__available-box,
    .product-card-list__2-col .product-card-item__available-box,
    .v2__tlum-club_recommendations-container .product-card-item__available-box,
    .sidebar .product-card-item__available-box,
    .product-detail__other-products__block .product-card-item__available-box,
    .similar-products__block .product-card-item__available-box {
        right: 20px;
    }

    .product-card-item__container-sidebar {
        width: 33%;
    }

    .product-card-item__box {
        margin-right: .5em;
        margin-left: .5em;
    }

    .product-card-item__header {
        margin-bottom: 1em;
    }

    .product-card-item__container {
        font-size: 20px;
    }

    .product-card-item__box {
        padding: .5em;

        border-width: 1px;
    }

    .product-card-item__body {
        margin-bottom: 1em;
    }

    .product-card-item__image-box {
        height: 150px;
    }

    .product-card-item__category-box {
        margin-bottom: 1em;
    }

    .product-card-item__title {
        height: 2em; /* x*line-height */

        font-size: 22px;
        line-height: 22px;
    }

    .product-card-item__blank-image {
        background-size: 80px;
    }

    .product_slider .thumbnail {
        max-width: 544px;

        border-radius: 15px;
    }

    .item_category {
        padding-left: 42px;

        font-size: 20px;
    }

    .item_category:before{
        top:4px;
        left: 5px;

        width: 24px;
        height: 24px;
    }

    .product-card-item__category-title {
        height: 2em;
        margin: 0;
        padding-left: 1.5em;

        background-position: left .25em;
        background-size: 1em;

        font-size: 20px;
        line-height: 20px;
    }

    .page_products .product-card-item__available-box {
        position: absolute;
        right: 25px;
        bottom: 25px;
    }
}

@media (min-width: 1020px) {
    .product-card-item-image {
        background-size: 5em;
    }

    .product-card-item__container {
        width: 33.33333333%; /* 3 item per row */

        font-size: 1rem;
    }
    .product-card-item__container-sidebar {
        width: 100%;
    }

    .product-card-list__2-col .product-card-item__container {
        width: 50%; /* 2 item per row */
    }

    .product-card-list__4-col .product-card-item__container {
        width: 25%; /* 4 item per row */
    }

    .product-card-item__box {
        padding: .5em;

        border-width: 1px;
    }

    .product-card-item__image-box {
        height: 150px;
    }

    .product-card-item__blank-image {
        background-size: 80px;
    }

    .product_slider .thumbnail {
        max-width: 544px;

        border-radius: 15px;
    }

    .product-card-item__category-title {
        height: 30px;

        font-size: 14px;
        line-height: 16px;
    }

    .product-card-item__title {
        font-size: 16px;
        line-height: 16px;
    }

    .product-card-item__container-homepage:first-child {
        margin-right: 3%;
    }

    .product-card-item__footer {
        align-items: flex-end;
    }

    .product-card-item__available-icon {
        width: 3.5em;
        height: 3.5em;
        margin-right: .5em;
    }

    .animation .product-card-item__available-box,
    .wishlist-page .product-card-item__available-box,
    .wishlists-page .product-card-item__available-box,
    .product-card-list__2-col .product-card-item__available-box,
    .v2__tlum-club_recommendations-container .product-card-item__available-box,
    .sidebar .product-card-item__available-box,
    .product-detail__other-products__block .product-card-item__available-box,
    .similar-products__block .product-card-item__available-box {
        right: 10px;
    }

    .page_products .product-card-item__available-box {
        bottom: 20px;
    }

    .v2__tlum-club .product-card-item__available-icon {
        right: 0;
    }
}
