.title-product-category {
    margin-bottom: 8px;
    border-bottom: 4px solid red;
}

.wrap-all-product {
    padding: 1px 0;
}
.item-product{margin-bottom: 12px}
.item-product .tools .wrap-price {
    width: 100%;
    position: relative;
}
.item-product .tools .wrap-price .sale-product{
    font-size: 17px;
    color:#eb5757;
    font-weight: 700;
    background: #fff0e9;
    max-width:50px;
    width: 100%;
    border-radius:5px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 30px;
    top: calc(50% - 17px);
}
.item-product .tools .wrap-price .line{
    position: relative;
    text-decoration: underline;
    
}
.item-product .tools .price .line{
    text-underline-offset: 2px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--color-red);
}
.item-product .tools .old-price .line{
    text-underline-offset: 2px;
    text-decoration-thickness: 1px;
    text-decoration-color:#545454;
}
.item-product .tools .old-price {
    font-size: 16px;
    text-decoration: line-through;
    color: #545454;
    line-height: 1.4em;
}

.item-product .tools .price {
    display: block;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.3em;
    color: var(--color-red);
}

.item-product .tools .price.no-price {
   text-align: center;
   width: 100%;
}


.item-product .tools .price a {
    color: var(--color-red);
}

.item-product .tools .price a:hover {
    color: #F00;
}

.item-product .tools .product-name {
    overflow: hidden;
    text-align: left;
    width: 100%;
    margin: 10px 0 4px 0;
}

.item-product .tools .product-name h3 {
    margin: 0;
    padding: 0;
    font-size: 15px;
    line-height: 1.4em;
}

.item-product .tools .product-name a {
    color: var(--color-txt);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

.item-product .tools .product-name a:hover {
    color: var(--color-red);
    text-decoration: none
}


.item-product .tools {
    width: 100%;
    overflow: hidden;
    padding: 0 15px;
}

.item-product  .relative-image .rb-new {
    position: absolute;
    width: 39px;
    height: 44px;
    top: 0;
    left: 0;
    z-index: 1;
}

.item-product .relative-image .rb-promotion {
    position: absolute;
    width: 45px;
    height: 25px;
    right: 0;
    top: 0;
    z-index: 12;
    line-height: 75px;
    text-align: center;
    color: rgb(236, 252, 61);
    font-weight: bold;
    text-indent: 6px;
}
.item-product  .relative-image {
    position: relative;
}
.item-product  .relative-image .product-image{
    background: #fff;
    border-radius: 5px;
    min-height: 417px;
}
.item-product .relative-image .product-image-inner a{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 290px;
}
.item-product .relative-image .product-image-inner img{max-height: 100%;width: auto;border-radius: 5px 5px 0 0;}

/* product detail */

#product-detail {
    margin: 10px 0;
    margin-top: 0;
}

#product-detail .wrap-on-image img {
    -moz-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
}

#product-detail .wrap-on-image img:hover {}

#product-detail .product-image {
    border: 1px solid rgba(204, 204, 204, 0.65);
    padding: 3px;
    background: #fff;
    -webkit-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.3);
    -moz-box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.3);
    box-shadow: 0px 0px 2px 0px rgba(50, 50, 50, 0.3);
    overflow: hidden;
}

#product-detail .product-image-list {}

#product-detail .product-image-list .item {
    padding: 2px;
    margin: 2px;
    border: 1px solid rgba(204, 204, 204, 0.7);
}

#product-detail .product-image-list .item img {}

#product-detail .line {
    width: 100%;
    /* background: rgba(0, 116, 33, 0.41); */
    height: 1px;
    margin: 5px 0;
}

#product-main-detail .product-name {
    font-size: 19px;
    font-weight: bold;
    text-transform: uppercase;
    margin: 0;
    color: rgb(2, 130, 37);
}

#product-main-detail .ul-list-product-detail {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 17px;
}
#product-main-detail .ul-list-product-detail li {margin: 5px 0;}
#product-main-detail .ul-list-product-detail li span {
    font-size: 18px;
    font-weight: bold;
    color: rgb(4, 127, 64);
}

#product-main-detail .desc-place {
    font-size: 16px;
    padding: 5px 0;
    border-top: 1px solid rgba(204, 204, 204, 0.54);
    border-bottom: 1px solid rgba(204, 204, 204, 0.51);
    margin: 4px 0;
}

#product-main-detail .desc-place p {
    margin-bottom: 2px
}

#product-main-detail .desc-place .tt {
    font-size: 19px;
    color: #05806A
}

#product-main-detail .ul-list-product-detail li span.code {}

#product-main-detail .ul-list-product-detail li.old-price {}

#product-main-detail .ul-list-product-detail li.old-price span {
    text-decoration: line-through;
    font-size: 17px;
    color: black;
}

#product-main-detail .ul-list-product-detail li.new-price {}

#product-main-detail .ul-list-product-detail li.new-price span {
    color: red;
}

#product-main-detail .ul-list-product-detail li span.fnr {
    font-weight: normal
}

#product-main-detail .ul-list-product-detail li.new-price span.percent {
    font-size: 16px;
    font-weight: normal;
    margin-left: 20px;
    color: #111;
}



#product-main-detail .add-cart {
    margin: 5px 0;
    font-size: 17px;
}

#product-main-detail .add-cart input {
    padding: 4px;
    width: 72px;
    margin-left: 10px;
}

#product-main-detail .add-cart button {
    background: rgb(7, 127, 65);
    border: 0;
    padding: 10px 10px;
    color: #fff;
    margin-left: -6px;
}

#product-detail .tab-category {
    margin-top: 30px;
    overflow: hidden;
}

#product-detail .tab-category img {
    max-width: 100% !important;
    max-height: none !important;
}

#product-detail .tab-category .tab-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

#product-detail .tab-category .tab-nav li:first-child {
    margin-left: 0
}

#product-detail .tab-category .tab-nav li {
    float: left;
    padding: 6px 27px;
    background: rgb(255, 255, 255);
    margin-right: 1px;
    font-size: 18px;
    border: 1px solid #ccc;
    /* margin-right: 5px; */
    margin-left: -2px;
    text-align: center;
}

#product-detail .tab-category .tab-nav li a {
    color: #131313;
}

#product-detail .tab-category .tab-nav li:hover,
#product-detail .tab-category .tab-nav li.active {
    background: rgb(255, 255, 255);
    background: rgb(0, 105, 165);
    color: #fff;
}

#product-detail .tab-category .tab-nav li:hover a,
#product-detail .tab-category .tab-nav li.active a {
    color: #FFF;
    text-decoration: none;
}

#product-detail .tab-category .tab {
    visibility: hidden;
    height: 0px;
    display: none;
}

#product-detail .tab-category .tab.active {
    visibility: visible;
    height: auto;
    display: block;
}

#product-detail .tab-category .tab-content {
    padding: 20px;
    margin-top: -1px;
}
.cart-pro-detail button {
    width: 100%;
    text-align: center;
    color: #fff;
    padding: 10px 5px;
    background: #f97d10;
    margin-bottom: 13px;
    font-size: 18px;
    font-family: var(--font-roboto);
    font-weight: 700;
    max-width: 460px;
    height: 54px;
    border-radius: 5px;
    border: none;
    outline: none;
}

.cart-pro-detail button span {
    font-size: 20px;
    text-transform: uppercase;
    position: relative;
}
.cart-pro-detail button#add-cart span:before{
    position: absolute;
    content:"";
    left: -38px;
    top: 0;
    width: 26px;
    height: 24px;
    background: url(../images/icon/cart_detail.png) center /cover no-repeat;
    top: calc(50% - 12px);
}
.cart-pro-detail button#add-cart-now{background: #cd1f32}
.cart-pro-detail button strong {
    display: block;
    font-size: 11px;
    font-weight: bold;
    margin-top: 2px;
}

