﻿
.product-item {
    list-style: none;
    border: 1px #eee solid;
    margin-bottom: 10px;
    background: rgba(251, 251, 251, .7);
    border-radius: 4px;
    overflow: hidden;
}

    .product-item .product-thumb {
        position: relative;
        width: 100%;
        padding-top: 100%;
        aspect-ratio: 1/1;
        overflow: hidden;
        background: #dbdbdb;
    }

.item-special .product-item .product-thumb figure {
    max-height: 225px;
    text-align: center;
    vertical-align: middle;
}

.product-thumb figure img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.product-item .pr-info-area {
    position: absolute;
    bottom: 15px;
    text-align: center;
    width: 100%;
}

    .product-item .pr-info-area a {
        margin: 0 2px;
    }

.product-item .has-hover-img .hover-img {
    position: absolute;
    right: 0;
    left: 0;
    top: 0;
    width: 100%;
    transition: opacity .5s ease-in-out;
    opacity: 0;
}

.product-item .has-hover-img:hover .hover-img {
    opacity: 1;
}

.product-item .compare,
.product-item .quick-view {
    position: relative;
    text-align: center;
    line-height: 38px;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    opacity: 0;
    color: #222;
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0 5px;
    border-radius: 100px;
}

.product-item .wishlist {
    position: relative;
    text-align: center;
    line-height: 40px;
    margin-bottom: 10px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .12), 0 1px 2px rgba(0, 0, 0, .24);
    opacity: 0;
    color: #222;
    display: inline-block;
    width: 35px;
    height: 35px;
    margin: 0 5px;
    border-radius: 100px;
    padding-left: 1px;
}

.product-item:hover .wishlist,
.product-item:hover .compare,
.product-item:hover .quick-view {
    opacity: 1;
}

.product-item .wishlist i span,
.product-item .compare i span,
.product-item .quick-view i span {
    display: none;
}

.product-item .wishlist:hover,
.product-item .compare:hover,
.product-item .quick-view:hover {
    color: #fff;
    background-color: #1d1f5c;
}

.product-item .item-inner .item-info {
    text-align: center;
    padding-top: 12px;
}

    .product-item .item-inner .item-info .pro-action {
        margin-top: 10px;
    }

    .product-item .item-inner .item-info .item-title {
        font-size: 14px;
        margin-bottom: 6px;
        font-weight: 400;
    }

@media(max-width: 479px) {
    .product-item .item-inner .item-info .item-title {
        font-size: 14px;
        padding: 0 10px;
    }
}

.product-item .item-inner .item-info .item-title a {
    display: inherit;
    padding: 0 10px;
    font-size: 16px;
    font-weight: 500;
    text-transform: none;
    transition-duration: 500ms;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-height: 22px;
    height: 44px;
}

.product-item .item-inner {
    position: relative;
    overflow: hidden;
}

    .product-item .item-inner .item-info .item-title a:hover {
        color: #43494c;
    }
.product-view-area .product-details-area {
    margin-top: 0;
    z-index: 1;
    padding: 0px 0px 20px 22px;
}

@media (max-width:768px) {
    .product-view-area .product-details-area {
        padding: 10px 0px 0px 0px;
    }
}

.product-view-area .product-name h1 {
    font-size: 38px;
    margin: 0 0 18px;
    text-align: left;
    line-height: normal;
    padding-bottom: 4px;
    letter-spacing: normal;
    font-weight: bold;
    border-bottom: 1px solid #e5e5e5;
    line-height: 42px;
}

@media (max-width:480px) {
    .product-view-area .product-name h1 {
        font-size: 24px;
        line-height: 32px;
    }
}

.product-view-area .short-description {
    font-size: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
    margin-bottom: 15px
}

    .product-view-area .short-description h2 {
        font-size: 18px;
        text-transform: uppercase;
        color: #333333;
        margin-bottom: 5px;
        font-weight: bold
    }

    .product-view-area .short-description p {
        font-size: 16px
    }

.product-view-area .product-details-area .ratings {
    padding: 5px 0 0;
    margin: auto
}

    .product-view-area .product-details-area .ratings .rating {
        margin-bottom: 15px;
        display: inline-block;
        margin-right: 10px
    }

        .product-view-area .product-details-area .ratings .rating i {
            font-size: 15px
        }

    .product-view-area .product-details-area .ratings .rating-links {
        margin-bottom: 12px;
        display: inline-block
    }

@media (max-width:768px) {
    .product-view-area .product-details-area .ratings .rating-links {
        display: none
    }
}

.availability.in-stock span {
    color: #fff;
    background-color: #5cb85c;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: 400
}

.availability.out-of-stock span {
    color: #fff;
    background-color: #d9534f;
    padding: 5px 12px;
    border-radius: 4px;
    font-weight: bold
}

.product-view-area .product-details-area .price-box {
    display: block;
    margin: 0 0 10px;
    padding: 0 0 5px;
    border-bottom: 1px solid #e5e5e5
}

    .product-view-area .product-details-area .price-box .old-price {
        margin-right: 5px;
        margin-top: 0;
        display: inline-block
    }

.product-view-area .product-details-area .special-price {
    display: inline-block;
    margin: 0;
    padding: 0
}

.product-view-area .product-details-area .old-price .price {
    font-size: 20px;
    font-weight: normal;
    color: #f80000;
    margin-left: 10px
}

.product-view-area .product-details-area .price {
    font-size: 28px;
    color: #df3737;
    font-weight: bold
}

.cart-plus-minus .qty {
    border: 1px solid #e0e0e0;
    color: #333333;
    float: left;
    font-size: 18px;
    font-weight: bold;
    height: 40px;
    margin-right: 0;
    padding: 0 5px 1px;
    text-align: center;
    width: 65px
}

.dec.qtybutton {
    background-color: #e5e5e5;
    border: 1px #ddd solid;
    border-right: none;
    transition: color 300ms ease-in-out 0s, background-color 300ms ease-in-out 0s, background-position 300ms ease-in-out 0s;
    color: #333333;
    font-size: 14px;
    line-height: normal;
    padding: 12px 14px 9px 16px;
    line-height: 18px;
    display: inline-block;
    height: 40px;
    float: left;
    cursor: pointer
}

    .dec.qtybutton:hover, .inc.qtybutton:hover {
        background-color: #d5eaff;
        color: #fff
    }

.inc.qtybutton {
    background-color: #e5e5e5;
    border: 1px #ddd solid;
    border-left: none;
    transition: color 300ms ease-in-out 0s, background-color 300ms ease-in-out 0s, background-position 300ms ease-in-out 0s;
    color: #333333;
    font-size: 14px;
    line-height: normal;
    padding: 12px 14px 9px 16px;
    line-height: 18px;
    display: inline-block;
    height: 40px;
    float: left;
    cursor: pointer
}

.cart-plus-minus label {
    display: inline-block;
    float: left;
    margin-top: 10px;
    text-align: left;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 600;
    margin-right: 10px
}

@media (min-width:768px) and (max-width:991px) {
    .cart-plus-minus label {
        display: none
    }
}

.cart-plus-minus {
    display: inline-block;
    float: left;
    margin-right: 18px
}

@media (max-width:480px) {
    .cart-plus-minus {
        margin-right: 0px;
        margin-bottom: 8px
    }

    .availability {
        display: inline-block;
        width: 100%;
        margin-top: 15px;
        margin-bottom: 15px;
    }
}

.product-variation {
    display: inline-block;
    width: 100%;
    border-top: 1px #e5e5e5 solid;
    border-bottom: 1px #e5e5e5 solid;
    padding: 15px 0px;
    margin-bottom: 15px
}

.numbers-row {
    float: left
}

.pro-add-to-cart {
    float: left
}

button.button.pro-add-to-cart, a.pro-add-to-cart {
    background: #1fbd73;
    color: #fff;
    padding: 9px 22px;
    /*border: 2px #43494c solid;*/
}

    button.button.pro-add-to-cart:hover, a.pro-add-to-cart:hover {
        background: #0de17e;
        /*border: 2px #43494c solid;*/
        color: #fff;
    }

button.button.pro-buy-now, a.pro-buy-now {
    background: #ed1b24;
    color: #fff;
    padding: 9px 22px;
}

    button.button.pro-buy-now:hover, a.pro-buy-now:hover {
        background: #f80000;
        color: #fff;
    }

button.button.pro-add-to-cart span, a.pro-add-to-cart span {
    font-size: 16px
}

    button.button.pro-add-to-cart span i, a.pro-add-to-cart span i {
        margin-right: 6px
    }

.email-addto-box {
    display: inline-block;
    margin-top: 30px
}

.product-cart-option ul {
    margin: auto;
    display: inline-block
}

    .product-cart-option ul li {
        border-right: 1px solid #e5e5e5;
        float: left;
        margin-right: 15px;
        padding-right: 15px
    }

@media (max-width:480px) {
    .product-cart-option ul li {
        border-right: none;
        margin-right: 0px
    }
}

@media (min-width:768px) and (max-width:991px) {
    .product-cart-option ul li {
        margin-right: 6px;
        padding-right: 6px
    }
}

.product-cart-option ul li a {
    color: #636363;
    display: block;
    font-size: 11px;
    font-weight: 600;
    line-height: 22px;
    margin: 0;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase
}

    .product-cart-option ul li a:hover, .product-cart-option ul li a:hover i {
        color: #43494c
    }

.product-cart-option ul li:last-child {
    border: none
}

.product-cart-option ul li a i {
    color: #bbb;
    font-size: 14px;
    margin-right: 8px
}

    .product-cart-option ul li a i.fa.fa-heart {
        font-size: 12px
    }

.product-overview-tab {
    margin-top: 18px;
    margin-bottom: 15px;
}
/******************************************
30. products tabs
******************************************/

.product-tabs {
    line-height: normal;
    margin: 0;
    outline: none;
    padding: 0;
    position: relative;
    z-index: 1;
    border-bottom: 3px double #ddd;
    margin-top: 5px;
    height: 22px;
    text-align: center;
    width: 100%
}

@media (max-width:480px) {
    .product-tabs {
        height: auto;
        border-bottom: none
    }
}

.product-tabs li a {
    border-bottom: none;
    color: #666;
    margin-right: 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
    transition: color 300ms ease-in-out 0s, background-color 300ms ease-in-out 0s, background-position 300ms ease-in-out 0s;
    padding: 0 20px;
    letter-spacing: 1px;
}

.product-tabs li.active a {
    border: 2px solid #055F0C;
    border-radius: 4px;
    background: #d5eaff;
    color: #333333
}

#product-detail-tab.nav-tabs > li {
    float: none;
    display: inline-block
}

.table-responsive.reviews-table {
    overflow: inherit;
}

@media (max-width:480px) {
    #product-detail-tab.nav-tabs > li {
        margin-bottom: 10px;
        width: 100%
    }
}

@media (max-width:479px) {
    .product-color-size-area .color-area {
        margin-right: 0px;
        width: 100%;
    }
}
/* Phân trang sản phẩm */
.ec-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin: 25px 0;
}

    .ec-pagination a,
    .ec-pagination span {
        min-width: 38px;
        height: 38px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 1px solid var(--color3, #ace2ee);
        border-radius: 4px;
        background: #fff;
        color: var(--primary, #1d1f5c);
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        text-decoration: none;
        transition: background .15s, color .15s, border-color .15s;
    }

        .ec-pagination a:hover,
        .ec-pagination a:focus-visible {
            background: var(--color2, #d5eaff);
            border-color: var(--primary, #1d1f5c);
            color: var(--primary, #1d1f5c);
        }

    .ec-pagination .active {
        background: var(--primary, #1d1f5c);
        border-color: var(--primary, #1d1f5c);
        color: #fff;
        cursor: default;
    }

    .ec-pagination .ec-pg-gap {
        border-color: transparent;
        background: transparent;
        color: #888;
        min-width: 20px;
        padding: 0;
    }

    .ec-pagination .ec-pg-nav {
        color: var(--primary-second, #e99417);
        border-color: var(--primary-second, #e99417);
    }

        .ec-pagination .ec-pg-nav:hover {
            background: var(--primary-second, #e99417);
            border-color: var(--primary-second, #e99417);
            color: #fff;
        }

@media (max-width: 480px) {
    .ec-pagination a, .ec-pagination span {
        min-width: 34px;
        height: 34px;
        padding: 0 8px;
        font-size: 13px;
    }
}
