﻿.product_area{
    margin-top: 30px;
}
.section_title{
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 27px;
}
.section_title h2{
    font-size: 40px;
    line-height: 36px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 18px;
    text-transform: capitalize;
}
.section_title p{
    font-size: 20px;
    font-weight: 400;
}
.section_title::before {
    position: absolute;
    content: "";
    width: 40px;
    height: 1px;
    background: #4ca89d;
    bottom: 0;
    left: 50%;
    transform: translatex(-50%);
    margin-left: -10px;
    margin-bottom: 30px;
}
.section_title::after {
    position: absolute;
    content: "";
    width: 40px;
    height: 1px;
    background: #4ca89d;
    bottom: -6px;
    left: 50%;
    transform: translatex(-50%);
    margin-bottom: 30px;
}
/* xử lý button tab */
.product_area_btn{
    margin-top: 37px;
}
.product_tab_btn ul{
    justify-content: center;
}
.product_tab_btn ul {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    /* tạo khoảng cách mỗi khung button */
    gap: 10px;

}
.product_tab_btn ul li a,
.product_tab_btn ul li button {
    color: #222222;
    font-size: 15px;
    line-height: 30px;
    text-transform: capitalize;
    display: inline-block;
    background: #f9f9f9;
    padding: 8px;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
}
.product_tab_btn ul li a:hover,
.product_tab_btn ul li button:hover {
    color: #fff;
    border-color: #4ca89d;
    background: #4ca89d;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
}
.product_tab_btn ul li a.active,
.product_tab_btn ul li button.active {
    color: #fff;
    border-color: #4ca89d;
    background: #4ca89d;
        border-radius: 30px;
}

/* CSS thông tin hình ảnh sản phẩm */
.tab-content{
   margin-top: 25px;
    padding: 20px 15px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.05);
}

/* KHÔNG override row của bootstrap */
.tab-content .row {
    margin: 0;
}

/* khoảng cách mỗi sản phẩm */
.tab-content .col-lg-3,
.tab-content .col-sm-6,
.tab-content .col-6 {
    margin-bottom: 30px;
}

.single_product {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    background: #fff;
    transition: all 0.3s ease;
    height: 100%;

}

.single_product:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transform: translateY(-3px);
    text-shadow: 0px 2px 15px ;

}
.single_product img:hover {
     transform: rotateY(-180deg);
}
.product_thumb {
    position: relative;
    overflow: hidden;
    border-radius: 10px 10px 0 0;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product_thumb img {
    max-width: 100%;
    max-height: 200px;
    object-fit: contain;
}
.product_content {
    text-align: center;
    padding: 12px 10px;
    
}

.product_content h3 {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 600;
    color: #111;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;

}
.product_content h3 a {
    color: #111 !important;
}

/* .product_content h3:hover {

} */
.label_product {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.label_new {
    background: #4ca89d;
    color: #fff;
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    text-transform: uppercase;
    font-weight: 600;
}
figure {
    padding: 0;
    margin: 0;
}