@import url("_rating.css");

:root {
    --btn-wh: 40px;
}

/* Product layout */
.article-layout {
    /*border: 1px solid #ddd;*/
}

.grid-block .article-layout {
    /* border: 1px solid #ddd; */
    display: flex;
    grid-template-rows: minmax(54px, auto) minmax(14px, auto) minmax(14px, auto) 1fr 42px;
    gap: 60px;
    align-items: stretch;
    flex-direction: row;
}

.article-layout .image {
    text-align: center;
    position: relative;
    width: 40%;
    display: flex;
    /* border: 1px solid red; */
}
.article-layout:nth-child(2n) {
    display: flex;
    /* border: 1px solid red; */
    flex-direction: row-reverse;
}
.article-layout .image div,
.article-layout .image a {
    display: block;
    color: var(--green);
    border-radius: 50px;
    /* overflow: hidden; */
    width: 100%;
    height: auto;
}

.article-layout .image a:hover {
    opacity: 0.8;
}

.article-layout .image img {
    margin-left: auto;
    margin-right: auto;
    /* object-fit: cover; */
    width: 100%;
    height: auto;
    position: relative;
    border-radius: 50px;
}

.list-block .article-layout .image {
    float: left;
    margin-right: 30px;
}

.article-layout h4 {
    /* border: 1px solid blue; */
    margin-bottom: 30px;
    line-height: 1.25;
}

.article-layout h4,
.article-layout h4 a {
    font-weight: bold;
    margin: 0px;
    margin-bottom: 31px;
    font-size: 51px;
    color: var(--green);
}
@media (max-width:991px) {
    .article-layout h4 {
        font-size: 35px;
    }
}
.list-block .article-layout h4 {
    text-align: left;
    margin-top: 10px;
}

.article-layout .desc {
    /* border: 1px solid rgb(152, 101, 5); */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4;
    overflow: hidden;
    font-weight: 400;
    /* border-radius: 50px; */
}

.article-layout .date-viewed {
    margin: 0px;
    display: flex;
    justify-content: center;
    gap: 30px;
    display: none;
}

.article-layout .date-viewed i {
    margin-right: 8px
}

.article-layout .date-viewed .date-added,
.article-layout .date-viewed .viewed {
    display: inline-block;
    color: #bcbcbc;
    display: flex;
    align-items: center;
}

.fa-clock-o:before {
    content: '';
    display: block;
    width: 17px;
    height: 17px;
    background: url('/image/catalog/design/blog/clock-icon.svg') center no-repeat;
    background-size: 100% auto;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -ms-background-size: 100% auto;
}

.fa-eye:before {
    content: '';
    display: block;
    width: 17px;
    height: 17px;
    background: url('/image/catalog/design/blog/eye-icon.svg') center no-repeat;
    background-size: 100% auto;
    -webkit-background-size: 100% auto;
    -moz-background-size: 100% auto;
    -ms-background-size: 100% auto;
}

/* Product Thumb - Price - END */

.article-layout .button-group {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    overflow: auto;
    border: 1px solid rgb(152, 5, 125);
    display: none;
}

.content-block {
    width: 50%;
    padding: 32px 0px 0px 0px;
}
@media (min-width: 640px) {
    .list-block .article-layout .button-group {
        border-left: 0px solid #ddd;
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .grid-block .article-layout,
    .grid-block .article-layout:nth-child(2n) {
        display:flex;
        flex-direction: column;
        gap: 35px;
    }
    .content-block {
        padding-top:0px;
        width: 100%;
    }
    .article-layout .image {
        width: 100%!important;
    }
    .list-block .article-layout .button-group {
        border-left: none;
    }
}

.article-layout .button-group button {
    width: 60%;
    width: calc(100% - 100px);
    border: none;
    display: inline-flex;
    float: left;
    line-height: 38px;
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.article-layout .button-group button+button {
    height: var(--btn-wh);
    width: var(--btn-wh);
    margin-left: 10px;
    border-left: 0px solid #ddd;
}

.article-layout .button-group button:hover {
    text-decoration: none;
}

@media (max-width: 419px) {
    .article-layout .button-group {
        text-align: center;
    }

    .article-layout .button-group button {
        max-width: 163px;
        float: none;
    }
}

/*Compare + Wishlist*/
.fa-heart:before {
    /* background: url(/image/catalog/design/wish.svg) center no-repeat;
    background-size: 100% auto;
    width: 24px;
    height: 24px;
    content: '';
    display: block;
    margin-bottom: -7px; */
}

.fa-exchange:before {
    /* background: url(/image/catalog/design/compare.svg) center no-repeat;
    background-size: 100% auto;
    width: 24px;
    height: 24px;
    content: '';
    display: block;
    margin-bottom: -7px; */
}

/*Compare + Wishlist - END*/

.article-block + hr {
    display:none
}
.pagin_results {
    display:none
}