/*
Theme Name:   BHMT – Bách Hoá Môi Trường (hợp nhất)
Theme URI:    https://logistics.bachhoamoitruong.com
Author:       Anvinasoft
Description:  Theme con Flatsome hợp nhất 2 theme: "BHMT Logistics" (bhmt-shipping-child – logistics.bachhoamoitruong.com) và "Máy lọc khí 2 – MST39832" (may-loc-khi – bachhoamoitruong.com). Trang chủ mặc định là trang Tính cước vận chuyển của Logistics. Toàn bộ Header / Body / Footer của cả 2 site được tách thành khối dùng lại: Block Patterns, Shortcode, phần tử UX Builder, UX Blocks và khung "Giao diện BHMT" cho mọi trang / bài viết.
Template:     flatsome
Version:      2.1.1
Requires at least: 6.0
Requires PHP: 7.4
License:      GPL v2 or later
Text Domain:  bhmt
*/

/* ==========================================================================
   PHẦN 1 — Tuỳ biến Flatsome kế thừa từ theme "may-loc-khi" (bachhoamoitruong.com)
   Áp dụng cho các trang dùng giao diện Flatsome (shop, sản phẩm, tin tức).
   Màu chủ đạo: --primary-color (#038018) đặt trong Flatsome → Theme Options.
   ========================================================================== */
:root{--bhmt-shop:#038018;--bhmt-shop-2:#5abe12;--bhmt-shop-top:#5eb509;--bhmt-shop-dark:#01210c}

body,p,a,.section-title-main,h1,h2,h3,h4,h5,h6,strong,.icon-box-text,.sidebar-menu .nav-sidebar li a,.col-inner,
.header-nav>li.menu-item,.header-nav li a,h1.entry-title,.widget-title,.top-bar-nav li.menu-item a,.account-item span,#header-contact li a span{
  font-family:var(--bhmt-font-shop,'utm_avo'),Roboto,sans-serif
}
b,strong{font-weight:500}

/* Header Flatsome */
.search-block{margin-top:18px}
.header-wrapper.stuck .search-block{margin-top:8px}
.search-block .cot2 .icon-box .icon-box-text p{margin-bottom:4px}
.search-block select.resize-select{border-top-left-radius:3px;border-bottom-left-radius:3px}
.search-block input[type=search]{height:43px}
#header-contact li a span{text-transform:none;font-size:13px}
.header-bottom{height:45px}
.header-nav li{margin-right:0}
.header-nav li a{padding:0 15px;line-height:45px}
.header-nav .current-menu-item>a,.header-nav li a:hover,.header-nav li.active>a{background:var(--bhmt-shop-2)}
.header-nav .cart-item a{padding:0 15px;border-radius:3px;line-height:34px}
.nav-spacing-medium>li{margin:0;font-size:15px}
.nav-dropdown{padding:0;border:1px solid #cecece;min-width:310px}
.nav-dropdown>li>a{color:var(--primary-color)}
.nav-dropdown.nav-dropdown-simple>li>a:hover{background:var(--primary-color);color:#fff}
.nav-dropdown li a{line-height:40px}
.nav-dropdown-has-arrow li.has-dropdown:before{border-width:10px;margin-left:-10px}
#mega-menu-title{background:var(--primary-color);height:45px}
#mega_menu>li>a{font-size:15px;padding-left:15px}
#mega_menu>li>a:hover,#mega_menu ul.sub-menu>li>a:hover{background:var(--primary-color);color:#fff}
#mega_menu>li>ul.sub-menu{top:-9px;min-height:300px}
.cot2 .button{background-image:linear-gradient(to top,#dc5b00,#ecc500);font-weight:400;text-transform:none;font-size:15px;line-height:40px}

/* Tiêu đề khối dạng tab xanh (section-title-normal) */
.section-title-container{margin-bottom:0}
.section-title-normal{margin-bottom:0;border-top:2px solid var(--primary-color);border-bottom:0;background:#e2e2e2}
.section-title-normal span{border-bottom:1px solid var(--primary-color);background:var(--primary-color);font-size:14px;margin-bottom:0;padding:10px 15px;color:#fff!important}
.section-title-normal span:after{content:"";position:absolute;display:inline-block;margin-left:15px;margin-top:-10px;border:20px solid var(--primary-color);border-right-color:transparent;border-bottom-color:transparent}
.section-title a{display:block;padding-left:15px;font-size:15px;font-weight:400;color:var(--primary-color);padding-right:10px}

/* Slider + tin tức trang chủ cũ (UX Builder) */
.slider-section .col,.tin-tuc-section .col,.footer-section .col,.gioi-thieu .col{padding-bottom:0}
.slider-section .TextCaptions{padding:0;border-bottom:1px solid #ddd;border-left:1px solid #ddd}
.slider-section .TextCaptions .item{height:48px;font-size:12px;color:#000;border-right:1px solid #dadada;padding:0 8px!important}
.slider-section .TextCaptions .is-nav-selected{color:var(--primary-color);border-top:2px solid var(--primary-color)}
.slider-nav-light .flickity-prev-next-button svg{background:rgba(0,0,0,.6);height:60px}
.flickity-prev-next-button.next{right:0}
.flickity-prev-next-button.previous{left:0}
.tin-tuc-section .post-item .post-title:hover{color:var(--primary-color)}
.tin-tuc-section .cot2 .post-item{padding-bottom:0;border-bottom:1px dotted #efefef}
.tin-tuc-section .cot2 .post-item .post-title{padding-left:20px;font-size:15px;font-weight:400}

/* Sản phẩm */
.product-small{border:1px solid #e2e2e2;padding:10px;background:#fff;margin-bottom:10px}
.product-small:hover{border-color:var(--primary-color);border-radius:3px}
.product-small .price>span.amount,.product-main .price.product-page-price>span.amount{color:red;font-size:19px;font-weight:400}
.badge-container{margin:0;left:10px!important;top:10px!important}
.badge-container .badge-inner{border-radius:100%;font-weight:400}
.archive .product-small{border:0;padding-bottom:10px}
.archive .product-small.box{border:1px solid #ddd;border-radius:3px}
.archive .product-small.box:hover{border-color:var(--primary-color)}
.archive .product-small .price,.archive .product-small .price del span{font-size:13px;color:gray}
.archive .product-small .price ins span{font-size:17px;color:red;font-weight:400}
.category-page-title{background:#f5f5f5;padding:10px 0}
.archive .breadcrumbs{font-weight:400;color:var(--primary-color)}
.breadcrumbs{font-size:14px;text-transform:none}
.page-title-inner,.product-main{padding-top:0!important}
.product-main{padding-bottom:15px}
.product-main .product-title{font-size:25px}
.product-main .product-info{border-right:0;padding-top:0}
.product-main .price,.product-main .price del span{font-size:14px;color:gray}
.product-main .price ins span{color:red;font-size:22px;font-weight:400}
.product-main .product-short-description{font-size:15px;margin:15px 0;border:1px dashed var(--primary-color);border-radius:3px;background:#f7fff1;padding:10px}
.product-main .single_add_to_cart_button{text-transform:none;font-weight:400;border-radius:3px;font-size:15px;letter-spacing:0}
.product-gallery-slider img{border:1px solid #ececec}
.product_meta{font-size:15px}
.product-footer .woocommerce-tabs{width:90%;margin:0 auto;border:1px solid #e6e6e6;padding:20px;border-radius:3px}
.product-footer .woocommerce-tabs>.nav-line-grow{margin-top:-20px;font-size:20px;background:#f7fff1;border-bottom:1px solid #e6e6e6;color:#000;text-transform:none}
.product-footer .related-products-wrapper{max-width:90%;margin:20px auto;border-top:0}
.product-footer .related .product-section-title{text-align:center;letter-spacing:0;color:var(--primary-color)}

/* Sidebar / widget */
.widget{margin-bottom:10px}
.widget .is-divider{display:none}
span.widget-title{display:block;width:100%;color:#fff;font-weight:500;background:var(--primary-color);padding-left:15px;line-height:40px}
ul.product_list_widget li a:not(.remove){font-size:15px;font-weight:400;color:#545454}
.product_list_widget .woocommerce-Price-amount{font-weight:400;font-size:15px;color:var(--primary-color)}
.recent-blog-posts a{line-height:1.2;display:block;margin-bottom:6px;font-size:15px;color:#4c4c4c}
.recent-blog-posts a:hover{color:var(--primary-color)}
.hotline-ho-tro{font-size:14px;border:1px solid #ececec;padding:20px 10px;border-radius:3px;text-align:center}
.hotline-ho-tro .info-hotline{text-transform:uppercase;display:block;font-weight:500;margin-bottom:10px}
.hotline-ho-tro strong{display:block;font-size:20px;color:#fb0000}
#footer .back-to-top{padding-inline:0;background:var(--primary-color);border:2px solid #fff;color:#fff}
.footer-secondary{padding:0}
.single footer.entry-meta{font-size:15px}
.tim-kiem-mobile,.hotline-footer{display:none}

/* PHẦN 2 — Khối BHMT (Header / Body / Footer) nằm trong assets/css/bhmt-blocks.css */
