/*
Theme Name:           Flatsome
Theme URI:            http://flatsome.uxthemes.com
Author:               UX-Themes
Author URI:           https://uxthemes.com
Description:          Multi-Purpose Responsive WooCommerce Theme
Version:              3.18.7
Requires at least:    5.9
Requires PHP:         5.6
WC requires at least: 4.7
Text Domain:          flatsome
License:              https://themeforest.net/licenses
License URI:          https://themeforest.net/licenses
*/


/***************
All custom CSS should be added to Flatsome > Advanced > Custom CSS,
or in the style.css of a Child Theme.
***************/


/* Bọc bảng cho đẹp */
.product-acf-fields {
    margin-top: 20px;
    border: 1px solid #03A9F4;
    border-radius: 8px;
    background: #fafafa;
    padding: 2px;
}

/* Reset table mặc định */
.product-acf-fields table.acf-table {
    width: 100%;
    border-collapse: collapse;
    display: auto;              /* Biến table thành flex container */
    flex-wrap: wrap;            /* Cho phép xuống dòng */
    margin: 0;
    padding: 0;
}

/* Mỗi dòng trong bảng */
.product-acf-fields table.acf-table tr {
    flex: 1 1 100%;             /* Mobile: full width */
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid #eaeaea;
    background: #fff;
    border-radius: 6px;
    margin: 6px;
    padding: 10px 12px;
    transition: all 0.25s ease; /* Thêm animation mượt */
}

/* Responsive: Desktop hiển thị 2 cột */
@media (min-width: 768px) {
    .product-acf-fields table.acf-table tr {
        flex: 1 1 calc(50% - 20px); /* Chia 2 cột */
    }
}

/* Hover effect */
.product-acf-fields table.acf-table tr:hover {
    background: #f9f9f9;
    border-color: #dcdcdc;
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Label (thẻ th) */
.product-acf-fields table.acf-table th {
    font-weight: 600;
    color: #004279;
    display: flex;
    align-items: center;
    margin-right: 8px;
    white-space: nowrap;
    border: none;
    background: transparent;
    padding: 0;
}

/* Value (thẻ td) */
.product-acf-fields table.acf-table td {
    color: #005a75;
    text-align: right;
    border: none;
    background: transparent;
    padding: 0;
}

/* Icon FontAwesome */
.product-acf-fields .acf-icon {
    margin-right: 6px;
    color: #009688e0;
    font-size: 14px;
}
body {
                font-weight: 400;
                font-style: normal;
            }
/********** Tiêu đề sản phẩm *********/
.box-text a:not(.button),.box-text h1,.box-text h2,.box-text h3,.box-text h4,.box-text h5,.box-text h6 {
    line-height: 1.3;
    margin-bottom: .1em;
    margin-top: .1em;
    font-size: 1.em;
    font-weight:bold;
    font-family: Arial, Helvetica, sans-serif;
    color: #002514f2;
    text-align:center ; 
}

.box-text p {
    margin-bottom: .1em;
    margin-top: .1em;
    text-align:center ;
}
/***********Đường gạch sản phẩm**********/
.is-divider {
    background-color: #F44336;
    display: block;
    height: 1px;
    margin: 1em 0;
    max-width: 100%;
    width: 100%
}
.box-blog-post .is-divider {
    background-color: #0c3468;
    height: 0.1px;
    margin-bottom: .5em;
    margin-top: .5em
}
/********Khung văn bản sản phẩm*****/
.box-push .box-text {
    background-color: hsla(0,0%,100%,.95);
    margin: -15% auto 0;
    max-width: 85%;
    padding: 15px 20px;
    border-radius: 13px;
}
/***********Chân trang Product*******/
.nav-pagination>li>a,.nav-pagination>li>span {
    border: 1px solid;
    border-radius: 6px;
    display: block;
    font-size: 1.1em;
    font-weight: bolder;
    height: 2.25em;
    line-height: 2em;
    min-width: 2.25em;
    padding: 0 7px;
    text-align: center;
    transition: all .3s;
    vertical-align: top;
    width: auto
}

/**********Bỏ chữ gạch chân*********/
/* Bỏ gạch dưới cho tất cả link */
a {
    text-decoration: none !important;
}

/* Nếu muốn hover mới gạch chân */
a:hover {
    text-decoration: underline !important;
}

/* Riêng menu header không gạch dưới */
.header-nav a {
    text-decoration: none !important;
}

/* Riêng footer link cũng không gạch dưới */
.footer a {
    text-decoration: none !important;
}
/***********Row full dòng*************/