@font-face {
    font-family: "Opensans Light";
    src: url('../fonts/OpenSans-Light.ttf');
}

@font-face {
    font-family: "Opensans";
    src: url('../fonts/OpenSans-Regular.ttf');
}
@font-face {
    font-family: "Wedding";
    src: url('../fonts/UTM EdwardianB.ttf');
}
@font-face {
    font-family: "Opensans Semibold";
    src: url('../fonts/OpenSans-Semibold.ttf');
}


@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf');
}


ul.header-nav.header-nav-main.nav.nav-left.nav-spacing-medium.nav-uppercase {
    justify-content: center !important;
}


ul.header-nav.header-nav-main.nav.nav-right.nav-spacing-medium.nav-uppercase {
    justify-content: center !important;
}

div#masthead ul li a {
    font-weight: 300;
    font-size: 16px;
}




/*css footer*/

footer#footer {
    background: #f4f4f4;
}

footer#footer h3 {
    font-size: 22px;
    font-weight: 400;
    color: #000000;
}

footer#footer i {
    font-size: 13px;
    color: #f57d20;
    text-align: center;
    margin-right: 9px;
}

.fa-map-bkns p {
    color: #000000;
    line-height: 30px;
    font-size: 18px;
    /* line-height: 30px; */
    margin-bottom: 8px;
}

.footer_top {
    height: 40px;
}
.copyright.mt-2 {
    color: #f4f4f4;
    padding: 15px;
    background: var(--primary-color);
}
.copyright.mt-2 .col, .columns, .gallery-item {
    margin: 0;
    padding: 0px;
    position: relative;
    width: 100%;
}
header#header ul.nav.top-bar-nav.nav-right.nav-small.nav-divided a {
    font-size: 19px;
    color: var(--primary-color);
}
header#header ul.nav.nav-left.medium-nav-center.nav-small.nav-divided a {
    font-size: 19px;
    color: var(--primary-color);
}

/* Header chính */
#masthead {
    position: relative;
    z-index: 10;
}

/* Cột logo */
#masthead .logo {
    position: relative;
    z-index: 20;
}

/* Logo tròn */
/*#masthead .logo a {*/
/*    position: absolute;*/
/*    top: -80px;*/
/*    left: 50%;*/
/*    transform: translateX(-50%);*/
/*    width: 105px;*/
/*    height: 105px;*/
/*    background: #fff;*/
/*    border-radius: 50%;*/
/*    border: 10px solid var(--primary-color);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/
/*div#top-bar {*/
/*    z-index: 10;*/
/*}*/
/*!* Ảnh logo *!*/
/*#masthead .logo img {*/
/*    max-width: 85px;*/
/*    height: auto;*/
/*}*/


/*header#header input#woocommerce-product-search-field-0 {*/
/*    height: 40px;*/
/*    width: 250px;*/
/*    background-color: hsl(143.28deg 55.37% 23.73%) !important;*/
/*}*/


.img-wrap:before {
    position: absolute;
    content: '';
    bottom: -10px;
    right: -10px;
    width: 80px;
    height: 80px;
    background: #f57d20;
    z-index: -1;
}

.img-wrap:after {
    position: absolute;
    content: '';
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    background: var(--primary-color);
    z-index: -1;
}


.heading_white {
    text-align: center;
    color: #fdfdfd;
}

span.separator_mn
{
    position: relative;
    display: inline-block;
    margin: 0 auto;
    text-align: center;
}

span.separator_mn:before {
    content: "";
    position: absolute;
    width: 150px;
    height: 2px;
    right: 45px;
    margin: 0 auto;
    top: 10px;
    background: #ffffff;
}
span.separator_mn:after {
    content: "";
    position: absolute;
    width: 150px;
    height: 2px;
    left: 45px;
    margin: 0 auto;
    top: 10px;
    background: #ffffff;
}

.heading_white h2 {
    font-size: 22px;
    text-transform: uppercase;
    color: #000000;
}
ul.content-tradition li {
    color: #000000;
    float: left;
    width: 100%;
    padding: 5px 0 5px 15px;
    position: relative;
}


ul.content-tradition li::marker {
    font-family: 'Font Awesome 6 Pro';
    content: "\f058";
    width: 15px;
    left: 0;
    top: 50%;
    transform: translate(0, -50%);
    position: absolute;
    font-weight: 900;
    color: #f57d20;
}


.wrap.mb-4.truyen_thong .heading_white h2 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}
.wrap.mb-4.truyen_thong span.separator_mn:before {
    background: var(--primary-color);
}

.wrap.mb-4.truyen_thong span.separator_mn:after {
    background: var(--primary-color);
}
.wrap.mb-4.truyen_thong i {
    color: var(--primary-color);
}

.wrap.mb-4.truyen_thong ul.content-tradition li {
    color: #000000;
}
.wrap.mb-4.truyen_thong ul.content-tradition {
    list-style-type: decimal;
}


ul.content-tradition_m li span {
    width: 50px;
    height: 50px;
    border: 1px dashed;
    display: flex;
    border-radius: 50%;
    margin-right: 10px;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 40px;
}
ul.content-tradition_m li {
    display: flex;
    align-items: center;
    margin: 10px 0;
    color: var(--primary-color);
}
.wrap.mb-4.truyen_thong p {
    color: #000000;
    font-size: 16px;
}


.quy_trinh_san_xuat .col-inner {
    background: rgba(255, 255, 255, 0.1);
    position: relative;
    padding: 10px;
}
.quy_trinh_san_xuat .col-inner:before {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 255, 255, 0.41);
    left: 5px;
    right: 5px;
    top: 5px;
    bottom: 5px;
}
.quy_trinh_san_xuat .col-inner p {
    color: #fff;
    position: relative;
}
.quy_trinh_san_xuat .col-inner h4 {
    color: #ffffff;
    text-transform: uppercase;
    font-size: 16px;
    padding: 20px 0;
    text-align: center;
}




/* ===== PRODUCT FEATURED ===== */
#product-featured {
    padding: 60px 0;
    background: #f0f0f0;
}

/* ==== TITLE ==== */
#product-featured .title-tg h3 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

#product-featured .title-ct {
    padding: 0 15px;
}

#product-featured .line {
    display: block;
    width: 60px;
    height: 3px;
    background: #2c7a2c;
    margin: 10px auto 0;
}

#product-featured .separator_mn i {
    color: var(--primary-color);
    font-size: 18px;
}

/* ==== PRODUCT CARD ==== */

.home_bk {
    padding: 15px;
}

.box-product_home {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,.08);
    transition: all .35s ease;
    text-align: center;
    height: 100%;
}

.box-product_home:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.15);
}

/* ==== IMAGE ==== */
.box-product-avatar {
    position: relative;
    overflow: hidden;
}

.box-product-avatar img {
    width: 100%;
    height: auto;
    transition: transform .4s ease;
}

.box-product_home:hover img {
    transform: scale(1.08);
}

/* ==== SALE TAG ==== */
.box-product-sale {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e63946;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);
}

article#product-featured span.separator_mn:before {
    background: var(--primary-color);
}

article#product-featured span.separator_mn:after {
    background: var(--primary-color);
}

/* ==== CONTENT ==== */
.box-product-content {
    padding: 15px 15px 5px;
}

.box-product-content h2 {
    font-size: 16px;
    font-weight: 400;
    color: #222;
    line-height: 1.4;
    margin-bottom: 8px;
    min-height: 44px;
}
.box-product-price-home {
    margin-top: -15px;
}

/* ==== PRICE ==== */

.box-product-price-home {
    padding: 0 15px 10px;
}

.box-product-price-home .price {
    font-size: 18px;
    font-weight: 700;
    color: #d62828;
}

.box-product-price-home del {
    color: #999;
    font-size: 14px;
    margin-right: 6px;
}

/* ==== BUTTON ==== */

.box-product_home p {
    display: inline-block;
    margin: 15px auto 20px;
    padding: 10px 22px;
    background: var(--primary-color);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s ease;
}

.box-product_home:hover p {
    background: var(--primary-color);
}

/* ==== LINK RESET ==== */

/* .box-product_home a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
} */

.box-product_home p:hover{
    background: #e0a800;
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
}


.img_nhan_xet .col-inner {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgb(0 0 0 / 24%);
    transition: all .35s ease;
    text-align: center;
    height: 100%;
}

.row.category-page-row .product-small .product-small.box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: all .35s ease;
    text-align: center;
    height: 100%;
}
.son-xem-chi-tiet-box{
    margin-top: 6px;
    text-align: center;
}

.son-xem-chi-tiet-box a{
    display: inline-block;
    margin: 15px auto 20px;
    padding: 10px 22px;
    background: var(--primary-color);
    color: #ffffff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all .3s ease;
}

.son-xem-chi-tiet-box a:hover{
    background:var(--primary-color);
    color:#fff;
}

h1.line-after {
    text-transform: uppercase;
    font-size: 28px;
    color: var(--primary-color);
    padding-left: 15px;
}
.post-item.cate {
    width: 100%;
    display: inline-block;
    padding: 10px !important;
    height: 100% !important;
    border-radius: 15px !important;
    box-shadow: 0px 2px 16px rgb(0 0 0 / 10%) !important;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.post-item.cate:hover {
    transition: 0.3s ease-in-out;
    transform: translateY(-5px);
}
.post-item.cate .post-thumbnail img {
    border-radius: 10px;
}
.post-item.cate h5.post-title.is-large {
    font-weight: 500;
    color: #000000;
}
h1.line-after {
    text-transform: uppercase;
    font-size: 28px;
    color: var(--primary-color);
    padding-left: 15px;
}
.banner-address {
    width: 100%;
    display: inline-block;
    padding: 20px !important;
    height: 100% !important;
    border-radius: 15px !important;
    box-shadow: 0px 2px 16px rgb(0 0 0 / 10%) !important;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.banner-address:hover {
    transition: 0.3s ease-in-out;
    transform: translateY(-5px);
}
.box-address h4 {
    font-size: 16px;
    color: var(--primary-color);
}
.box-address p {
    color: #000000;
}
.formOjbect.contact {
    width: 100%;
    margin: auto;
    box-shadow: 0px 2px 16px rgb(0 0 0 / 10%);
    border-radius: 10px;
    padding: 25px;
}
.post-item.cate h5.post-title.is-large {
    font-weight: 500;
    color: #000000;
}


h1.entry-title {
    color: var(--primary-color);
}
.post-item.cate img.iconyoutube {
    position: absolute;
    top: 24%;
    transform: translateY(-50%);
    left: 40%;
}
.single_post_m {
    margin-top: 10px;
    color: #000000;
}
.section-title_post {
    /*padding-left: 15px;*/
}
.my_featured {
    margin-top: 20px;
}
.my_featured_s h3 {
    text-transform: uppercase;
    font-size: 28px;
    color: var(--primary-color);
    padding-left: 15px;
}
.post-item.cate_som_p img.iconyoutube {
    width: 100px !important;
}
.post-item.cate_som_p img.iconyoutube {
    width: 100px !important;
    top: 36%;
}
.post-item.cate_som_p {
    width: 100%;
    display: inline-block;
    padding: 10px !important;
    height: 100% !important;
    border-radius: 15px !important;
    box-shadow: 0px 2px 16px rgb(0 0 0 / 10%) !important;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.post-item.cate_som_p img.iconyoutube {
    position: absolute;
    top: 37%;
    transform: translateY(-50%);
    left: 39%;
}
.post-item.cate_som_p h5.post-title.is-large {
    font-weight: 500;
    color: #000000;
}


.widget_categories span.widget-title {
    border: 1px solid var(--primary-color);
    margin-bottom: 0;
    background: linear-gradient(var(--primary-color), var(--primary-color));
    color: #fff;
    font-size: 17px;
    text-transform: uppercase;
    font-weight: 500;
    padding: 12.5px;
    border-radius: 5px 5px 0 0;
    text-align: center;
    display: block;
    width: 100%;
}


.sidebar-main-posts .widget_media_image img {
    width: 100%;
}
.col.medium-3.sidebar-main-posts input#s {
    border-radius: 19px 0px 0px 19px;
}

h1.entry-title {
    color: var(--primary-color);
}
.author-box.flex-row {
    color: #000000;
    border-radius: 5px;
    padding: 10px;
    height: 40px;
    background: #f2f2f2;
}


.title-tg h2 {
    margin-top: 30px;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 0px;
    text-align: center;
    text-transform: uppercase;
    color: var(--primary-color);
}
.post-item.cate {
    width: 100%;
    display: inline-block;
    padding: 10px !important;
    height: 100% !important;
    border-radius: 15px !important;
    box-shadow: 0px 2px 16px rgb(0 0 0 / 10%) !important;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.post-item.cate:hover {
    transition: 0.3s ease-in-out;
    transform: translateY(-5px);
}
.post-item.cate .post-thumbnail img {

    max-height: 300px !important;
    border-radius: 10px;
    height: 200px;

}
.post-item.cate h5.post-title.is-large {
    font-weight: 500;
    color: #000000;
}
h1.line-after {
    text-transform: uppercase;
    font-size: 28px;
    color: var(--primary-color);
    padding-left: 15px;
}
.banner-address {
    width: 100%;
    display: inline-block;
    padding: 20px !important;
    height: 100% !important;
    border-radius: 15px !important;
    box-shadow: 0px 2px 16px rgb(0 0 0 / 10%) !important;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.banner-address:hover {
    transition: 0.3s ease-in-out;
    transform: translateY(-5px);
}
.box-address h4 {
    font-size: 16px;
    color: var(--primary-color);
}
.box-address p {
    color: #000000;
}
.formOjbect.contact {
    width: 100%;
    margin: auto;
    box-shadow: 0px 2px 16px rgb(0 0 0 / 10%);
    border-radius: 10px;
    padding: 25px;
}
.title-tg h2 {
    margin-top: 30px;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 0px;
    text-align: center;
    text-transform: uppercase;
    color: var(--primary-color);
}
.map_lien_he .col-inner {
    width: 100%;
    margin: auto;
    box-shadow: 0px 2px 16px rgb(0 0 0 / 10%);
    border-radius: 10px;
    padding: 15px;
}

.formOjbect.contact input , textarea{
    border: 1px solid #000000;
    color: #000000;
    border-radius: 6px;
}
.formOjbect.contact textarea.wpcf7-form-control.wpcf7-textarea.textarea-object {
    border: 1px solid #000000;
    color: #000000;
    border-radius: 6px;
}
.formOjbect.contact  input.wpcf7-form-control.wpcf7-submit.has-spinner.btnObject {
    border-radius: 6px;
    font-weight: 400;
    font-size: 20px;
    color: #f2f2f2;
}
.author-box.flex-row .luotxem {
    margin-left: 10px;
}
.author-box.flex-row {
    color: #000000;
    border-radius: 5px;
    padding: 10px;
    height: 40px;
    background: #f2f2f2;
}




.product-short-description p {
    margin-bottom: 5px;
    color: #000000;
}

.woocommerce-tabs ul.tabs li a {
    font-weight: 600;
    font-size: 15px;
}

.woocommerce-tabs .panel {
    padding: 20px;
    border-radius: 14px;
    background: #fafafa;
}



.product-tabs {
    border-bottom: none;
}

.product-tabs li {
    margin-right: 10px;
}

.product-tabs li a {
    background: #f7f7f7;
    border-radius: 30px;
}

.product-tabs li.active a {
    padding: 12px;
    background: linear-gradient(135deg, #1b5e35, #1b5e35);
    color: #fff !important;
}


.shop-container .nav-line-bottom>li>a:before, .nav-line-grow>li>a:before, .nav-line>li>a:before {
    background-color: #1b5e3500 !important;

}


.shop-container .product-small .product-small.box {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
    transition: all .35s ease;
    text-align: center;
    height: 100%;
}


.shop-container .is-divider.small {
    display: none;
}


/* =============================================================
   POLISH UI — đồng bộ màu cam + đẹp lại 3 trang
   (chi tiết sản phẩm / shop / bài viết). Thêm mới, không phá cũ.
   ============================================================= */

/* --- Đồng bộ màu: bỏ xanh #1b5e35 còn sót -> dùng màu chủ đạo --- */
.product-tabs li.active a {
    background: var(--primary-color) !important;
    color: #fff !important;
}
.shop-container .nav-line-bottom > li > a:before {
    background-color: var(--primary-color) !important;
}

/* ====================== 1. CHI TIẾT SẢN PHẨM ====================== */
.single-product .product-title,
.single-product h1.product_title {
    font-weight: 800;
    line-height: 1.25;
    color: var(--primary-color);
}
/* Ảnh gallery chính */
.single-product .woocommerce-product-gallery {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    background: #fff;
}
.single-product .woocommerce-product-gallery__image img { border-radius: 16px; }
/* Ảnh thumbnail dưới */
.single-product .slider-nav .slide img,
.single-product .thumbnails img {
    border-radius: 10px;
    border: 2px solid transparent;
    transition: border-color .25s ease, transform .25s ease;
}
.single-product .slider-nav .slide:hover img,
.single-product .thumbnails img:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}
/* Bảng thông tin (Tên SP / Dung tích / Nồng độ ...) */
.product-short-description p,
.woocommerce-product-details__short-description p {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px dashed #e6e6e6;
    color: #333;
    line-height: 1.6;
}
.product-short-description p:last-child,
.woocommerce-product-details__short-description p:last-child { border-bottom: none; }
.product-short-description strong,
.woocommerce-product-details__short-description strong { color: var(--primary-color); }
/* Nút share */
.single-product .social-icons a {
    border-radius: 50% !important;
    transition: transform .25s ease, background-color .25s ease, color .25s ease;
}
.single-product .social-icons a:hover {
    transform: translateY(-3px);
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
/* Breadcrumb */
.single-product .breadcrumbs,
.shop-container .breadcrumbs { font-size: 13px; color: #999; letter-spacing: .3px; }
.single-product .breadcrumbs a, .shop-container .breadcrumbs a { color: #999; }
.single-product .breadcrumbs a:hover, .shop-container .breadcrumbs a:hover { color: var(--primary-color); }

/* ====================== 2. SHOP / DANH SÁCH SẢN PHẨM ====================== */
.shop-container .product-small .product-small.box {
    padding-bottom: 6px;
}
.shop-container .product-small .product-small.box:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 32px rgba(0,0,0,.14);
}
.shop-container .product-small .box-image { border-radius: 12px; overflow: hidden; }
.shop-container .product-small .box-image img { transition: transform .5s ease; }
.shop-container .product-small .box:hover .box-image img { transform: scale(1.06); }
/* Caption "SAN PHAM" */
.shop-container .product-small .category,
.shop-container .product-small p.category {
    font-size: 11px;
    letter-spacing: 1px;
    color: #b0b0b0;
    text-transform: uppercase;
    margin-bottom: 4px;
}
/* Tên sản phẩm */
.shop-container .product-small .product-title a { color: #222; font-weight: 600; }
.shop-container .product-small .product-title a:hover { color: var(--primary-color); }
/* Nút "Xem chi tiết" (từ functions.php) */
.son-xem-chi-tiet-box { margin-top: 8px; }
.son-xem-chi-tiet-box a {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--primary-color);
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    transition: all .28s ease;
}
.son-xem-chi-tiet-box a:hover {
    background: var(--primary-color);
    color: #fff;
    box-shadow: 0 6px 16px rgba(245,125,32,.35);
}
/* Thanh trên: số kết quả + sắp xếp */
.shop-container .woocommerce-result-count { color: #888; font-size: 14px; }
.shop-container .woocommerce-ordering select,
.shop-container select.orderby {
    border: 1px solid #e2e2e2;
    border-radius: 30px;
    padding: 8px 16px;
    background: #fff;
    color: #444;
}
/* Sidebar "BÀI VIẾT MỚI" */
.shop-container .widget .widget-title span,
.sidebar-main-posts .widget-title span {
    font-size: 18px; font-weight: 700; text-transform: uppercase; color: #222;
    position: relative; padding-bottom: 10px; display: inline-block;
}
.shop-container .widget .widget-title span::after,
.sidebar-main-posts .widget-title span::after {
    content: ""; position: absolute; left: 0; bottom: 0;
    width: 40px; height: 3px; border-radius: 3px; background: var(--primary-color);
}
.shop-container .widget li a, .sidebar-main-posts .widget li a {
    color: #444; transition: color .2s ease, padding-left .2s ease;
    display: block; padding: 8px 0; border-bottom: 1px dashed #ececec; line-height: 1.5;
}
.shop-container .widget li a:hover, .sidebar-main-posts .widget li a:hover {
    color: var(--primary-color); padding-left: 6px;
}

/* ====================== 3. BÀI VIẾT ĐƠN (single.php) ====================== */
.article-inner { max-width: 860px; margin: 0 auto; }
h1.entry-title { font-weight: 800; line-height: 1.3; margin-bottom: 14px; }
.author-box.flex-row {
    align-items: center; gap: 16px; height: auto !important;
    padding: 10px 16px !important; border-radius: 8px !important;
}
.author-box .ngaydang { color: #555; font-size: 14px; }
.author-box .showview span { color: #666; font-size: 14px; margin-left: 4px; }
.author-box .showview i, .author-box .ngaydang i { color: var(--primary-color); margin-right: 4px; }
/* Nội dung bài viết */
.single_post_m { font-size: 16.5px; line-height: 1.85; color: #333; }
.single_post_m h2, .single_post_m h3 {
    color: var(--primary-color); font-weight: 700; margin: 28px 0 12px;
}
.single_post_m h2 { font-size: 24px; }
.single_post_m h3 { font-size: 20px; }
.single_post_m p { margin-bottom: 16px; }
.single_post_m img { border-radius: 14px; box-shadow: 0 8px 24px rgba(0,0,0,.10); margin: 10px 0; }
.single_post_m a { color: var(--primary-color); text-decoration: underline; }
.single_post_m ul, .single_post_m ol { margin: 0 0 16px 22px; }
.single_post_m li { margin-bottom: 8px; }
.single_post_m blockquote {
    border-left: 4px solid var(--primary-color);
    background: #fff8f2; padding: 14px 20px; border-radius: 0 10px 10px 0;
    margin: 18px 0; color: #444; font-style: italic;
}

section.bk-news-cat .title-tg h3 {
    color: var(--primary-color);
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

section.bk-news-cat span.separator_mn:before {
    background: var(--primary-color);
}
section.bk-news-cat span.separator_mn:after {
    background: var(--primary-color);
}


@media (max-width: 767px) {
    .single_post_m { font-size: 15.5px; }
    .shop-container .product-small .product-small.box:hover { transform: none; }
}


i.fa-solid.fa-wine-bottle {
    color: var(--primary-color);
}

i.fa-solid.fa-leaf {
    color: var(--primary-color);
}



.ocop-banner{position:relative; overflow:hidden; background:#2a1710;}
.ocop-banner__bg{display:block; width:100%; height:auto;}

.ocop-banner__fg{position:absolute; inset:0; z-index:2; display:flex; align-items:center;}
.ocop-banner__mask{
    position:absolute; inset:0;
    background:linear-gradient(90deg,rgba(0,0,0,.10) 0%,rgba(0,0,0,0) 42%,rgba(0,0,0,.35) 100%);
}
.ocop-banner__fg .container{position:relative; z-index:1; width:100%;}
.ocop-banner__fg .row{width:100%; margin:0;}

.ocop-banner__title{
    margin:0; color:#fff; font-weight:800; line-height:1.25;
    font-size:clamp(1.4rem,2.4vw,2.4rem);
    text-shadow:0 3px 12px rgba(0,0,0,.7);
    opacity:0; animation:ocopFade .7s ease .05s forwards;
}
.ocop-banner__title::after{
    content:""; display:block; width:70px; height:4px; margin-top:14px;
    background:linear-gradient(90deg,#f4d27a,#d4af37); border-radius:2px;
    transition:width .35s ease;
}
.ocop-banner:hover .ocop-banner__title::after{width:120px;}

.ocop-banner__badges{display:grid; grid-template-columns:repeat(3,1fr); gap:14px;}

/* Thẻ chứng nhận */
.ocop-banner__badge{
    position:relative; overflow:hidden; cursor:pointer;
    background:#fff; padding:6px; border-radius:10px;
    border:2px solid rgba(212,175,55,.85);
    box-shadow:0 8px 22px rgba(0,0,0,.30);
    opacity:0; animation:ocopUp .6s cubic-bezier(.2,.7,.3,1) forwards;
    transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.ocop-banner__badge img{
    display:block; width:100%; height:auto; border-radius:5px;
    transition:transform .55s ease;
}
/* Vệt sáng quét chéo (mặc định nằm ngoài, không animate) */
.ocop-banner__badge::after{
    content:""; position:absolute; top:0; left:-125%; width:65%; height:100%;
    background:linear-gradient(115deg,transparent 0%,rgba(255,255,255,.55) 50%,transparent 100%);
    transform:skewX(-20deg); pointer-events:none;
}

/* ==== HOVER ==== */
.ocop-banner__badge:hover{
    transform:translateY(-8px) scale(1.06) rotate(-1deg);
    border-color:#f7db8a;
    box-shadow:0 18px 40px rgba(0,0,0,.45), 0 0 0 4px rgba(244,210,122,.35);
}
.ocop-banner__badge:hover img{transform:scale(1.12);}     /* zoom ảnh trong khung */
.ocop-banner__badge:hover::after{left:130%; transition:left .75s ease;} /* quét sáng */

.ocop-banner__badge:nth-child(1){animation-delay:.10s;}
.ocop-banner__badge:nth-child(2){animation-delay:.20s;}
.ocop-banner__badge:nth-child(3){animation-delay:.30s;}
.ocop-banner__badge:nth-child(4){animation-delay:.40s;}
.ocop-banner__badge:nth-child(5){animation-delay:.50s;}
.ocop-banner__badge:nth-child(6){animation-delay:.60s;}

@keyframes ocopUp{from{opacity:0; transform:translateY(26px) scale(.96);} to{opacity:1; transform:translateY(0) scale(1);}}
@keyframes ocopFade{from{opacity:0; transform:translateY(-12px);} to{opacity:1; transform:translateY(0);}}

@media(max-width:849px){
    .ocop-banner__fg{position:static; background:#2a1710; padding:24px 0;}
    .ocop-banner__mask{display:none;}
    .ocop-banner__title{text-align:center; margin-bottom:18px;}
    .ocop-banner__title::after{margin-left:auto; margin-right:auto;}
    .ocop-banner__badges{max-width:360px; margin:0 auto;}
}

/* ============================================================
   RUCOTA — Nâng cấp giao diện TRANG CHỦ (ĐỒNG BỘ tông CAM #f57d20)
   Chỉ áp dụng cho body.home — không đụng trang khác
   ============================================================ */

/* 1) TIÊU ĐỀ SECTION (Flatsome, nếu có) */
.home .section-title span{
    font-weight:800; letter-spacing:.6px; text-transform:uppercase; color:#222;
}
.home .section-title b{border-top-color:var(--primary-color) !important; opacity:.9;}

/* 2) CARD SẢN PHẨM — nền trắng, bo góc, đổ bóng, hover nhấc + zoom ảnh */
.home .product-small.box,
.home ul.products li.product .box{
    background:#fff; border-radius:14px; padding:12px;
    box-shadow:0 6px 20px rgba(0,0,0,.08);
    transition:transform .3s ease, box-shadow .3s ease;
}
.home .product-small.box:hover,
.home ul.products li.product .box:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 36px rgba(0,0,0,.16);
}
.home .box-image, .home .box-image img{border-radius:10px; overflow:hidden;}
.home .box-image img{transition:transform .5s ease;}
.home .box:hover .box-image img{transform:scale(1.06);}

/* Tên + giá sản phẩm */
.home .box-text .name a,
.home .product-title a{color:#222; font-weight:700;}
.home .box-text .name a:hover{color:var(--primary-color);}
.home .price, .home .price ins{color:#d62828; font-weight:800;}

/* Nút "Xem chi tiết": dùng nguyên style cam pill có sẵn (không đè) */

/* 3) NÚT CTA — bo tròn + bóng cam ấm */
.home .button.primary,
.home .add_to_cart_button,
.home .single_add_to_cart_button{
    border-radius:999px !important; font-weight:700; letter-spacing:.3px;
    box-shadow:0 6px 16px rgba(245,125,32,.32);
    transition:transform .25s ease, box-shadow .25s ease, filter .25s ease;
}
.home .button.primary:hover,
.home .add_to_cart_button:hover{
    transform:translateY(-2px); filter:brightness(1.04);
    box-shadow:0 12px 24px rgba(245,125,32,.48);
}

/* 4) KHỐI TIN TỨC / ẢNH CHUNG — bo góc + zoom nhẹ khi hover */
.home .col .img-inner img,
.home article img,
.home .blog-post-inner img{
    border-radius:10px; transition:transform .5s ease;
}
.home .col .img-inner{overflow:hidden; border-radius:10px;}
.home .col:hover .img-inner img,
.home article:hover img{transform:scale(1.05);}

/* 5) KHỐI ĐÁNH GIÁ KHÁCH HÀNG (ảnh chat) — khung + bóng + hover */
.home .nhan-xet img,
.home .review-item img,
.home .testimonial img{
    border-radius:12px; box-shadow:0 6px 18px rgba(0,0,0,.10);
    transition:transform .3s ease, box-shadow .3s ease;
}
.home .nhan-xet img:hover,
.home .review-item img:hover{
    transform:translateY(-4px); box-shadow:0 14px 30px rgba(0,0,0,.18);
}

/* 6) LINK ẤM HƠN */
.home a:hover{color:var(--primary-color);}

/* 7) KHOẢNG THỞ nhẹ giữa các khối */
.home .section{padding-top:46px; padding-bottom:46px;}

/* ============================================================
   QUY TRÌNH SẢN XUẤT — NỀN TRẮNG, đồng bộ tông cam
   ============================================================ */

/* Đổi nền section xanh -> TRẮNG (đè inline style của UX Builder) + reset số đếm */
.home .section:has(.quy_trinh_san_xuat){background-color:#fff !important; counter-reset:qt;}
.home .section:has(.quy_trinh_san_xuat) .section-bg{background-color:#fff !important;}

/* Bỏ lớp phủ trắng mờ + viền cũ (vốn dành cho nền xanh) */
.home .quy_trinh_san_xuat .col-inner{background:transparent; padding:0;}
.home .quy_trinh_san_xuat .col-inner:before{display:none;}

/* Tiêu đề khối: chữ tối + gạch CAM, canh giữa (đồng bộ các mục khác) */
.home .section:has(.quy_trinh_san_xuat) .heading_white h2{
    color:var(--primary-color); text-align:center; font-weight:800; text-transform:uppercase;
    letter-spacing:1px; margin:0 0 6px; padding-bottom:16px; position:relative;
}
.home .section:has(.quy_trinh_san_xuat) .heading_white h2::after{
    content:""; position:absolute; left:50%; bottom:0; transform:translateX(-50%);
    width:72px; height:4px; border-radius:2px; background:var(--primary-color);
}

/* Đánh số 1·2·3 tự động cho các cột quy trình */
.home .col.quy_trinh_san_xuat{counter-increment:qt;}
.home .col.quy_trinh_san_xuat .col-inner{height:100%;}

/* Thẻ: nền trắng, bo góc, đổ bóng, viền mảnh */
.home .quy_trinh_san_xuat .box{
    position:relative; display:flex; flex-direction:column; height:100%;
    background:#fff; border-radius:16px; overflow:hidden;
    border:1px solid #eee;
    box-shadow:0 10px 28px rgba(0,0,0,.10);
    transition:transform .35s ease, box-shadow .35s ease;
}
.home .quy_trinh_san_xuat .box:hover{
    transform:translateY(-8px);
    box-shadow:0 20px 40px rgba(245,125,32,.20);
}

/* Huy hiệu số thứ tự (CAM) */
.home .quy_trinh_san_xuat .box::before{
    content:counter(qt);
    position:absolute; top:14px; left:14px; z-index:3;
    width:42px; height:42px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    background:var(--primary-color); color:#fff;
    font-weight:800; font-size:18px; line-height:1;
    border:2px solid #fff; box-shadow:0 4px 10px rgba(0,0,0,.25);
}

/* Ảnh: phủ đều, zoom khi hover */
.home .quy_trinh_san_xuat .box-image{margin:0; border-radius:0;}
.home .quy_trinh_san_xuat .box-image img{
    width:100%; height:220px; object-fit:cover;
    border-radius:0 !important; transition:transform .6s ease;
}
.home .quy_trinh_san_xuat .box:hover .box-image img{transform:scale(1.08);}

/* Phần chữ */
.home .quy_trinh_san_xuat .box-text{
    flex:1; background:#fff; padding:22px 20px 26px;
}
.home .quy_trinh_san_xuat .box-text h4{
    position:relative; margin:0 0 14px; padding:0 0 12px;
    color:#222; font-size:17px; font-weight:800;
    letter-spacing:.3px; text-transform:uppercase; text-align:center;
}
.home .quy_trinh_san_xuat .box-text h4::after{
    content:""; position:absolute; left:50%; bottom:0; transform:translateX(-50%);
    width:46px; height:3px; border-radius:2px; background:var(--primary-color);
}
.home .quy_trinh_san_xuat .box-text p{
    margin:0; color:#555; font-size:14.5px; line-height:1.7; text-align:center;
}

@media(max-width:849px){
    .home .quy_trinh_san_xuat .box{margin-bottom:20px;}
    .home .quy_trinh_san_xuat .box-image img{height:200px;}
}

/* ============================================================
   POLISH P1/P2 — sản phẩm / nhận xét / video / cụm banner OCOP
   ============================================================ */

/* Sản phẩm: ép ảnh về cùng chiều cao, KHÔNG cắt sản phẩm (contain) */
.box-product-avatar img{ height:240px; object-fit:contain; background:#fff; padding:8px; }
.box-product-price-home .contact-price{ color:var(--primary-color); font-weight:700; }
.box-product_home{ display:flex; flex-direction:column; }

/* Nhận xét khách hàng: hover nhấc + con trỏ phóng to (kèm lightbox JS ở footer) */
.img_nhan_xet .col-inner{ transition:transform .35s ease, box-shadow .35s ease; }
.img_nhan_xet .col-inner:hover{ transform:translateY(-6px); box-shadow:0 16px 34px rgba(0,0,0,.28); }
.img_nhan_xet .col-inner img{ cursor:zoom-in; }

/* Video / iframe trang chủ: bo góc + bóng */
.home iframe{ border-radius:12px; box-shadow:0 8px 24px rgba(0,0,0,.12); }

/* Banner OCOP: dồn tiêu đề + chứng nhận sang phải, tiêu đề nằm TRÊN cụm */
.ocop-banner__cluster{ margin-left:auto; max-width:660px; }
.ocop-banner__cluster .ocop-banner__title{ text-align:center; margin:0 0 16px; }
.ocop-banner__cluster .ocop-banner__title::after{ margin:14px auto 0; }
@media(max-width:849px){
    .ocop-banner__cluster{ margin:0 auto; max-width:420px; }
}

/* ============================================================
   POLISH P3 — nhận xét đồng đều + hover menu header
   ============================================================ */

/* Nhận xét KH: ép ảnh chat CÙNG chiều cao -> lưới gọn đều (click xem full) */
.img_nhan_xet .col-inner img{
    width:100%; height:340px; object-fit:cover; object-position:top center;
}
@media(max-width:849px){
    .img_nhan_xet .col-inner img{ height:280px; }
}

/* Header: gạch chân cam/trắng mượt khi hover menu */
.header-nav-main.nav > li > a{ position:relative; }
.header-nav-main.nav > li > a::after{
    content:""; position:absolute; left:12px; right:12px; bottom:6px; height:2px;
    background:#fff; transform:scaleX(0); transform-origin:center;
    transition:transform .3s ease;
}
.header-nav-main.nav > li > a:hover::after,
.header-nav-main.nav > li.active > a::after{ transform:scaleX(1); }
