/* =====================================================
   NÔNG DƯỢC XANH VIỆT - Phong cách vinasyntax.com
   Màu: Xanh lá #2e7d32, Cam #f47920, Trắng, Xám nhạt
   ===================================================== */

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: Arial, 'Helvetica Neue', sans-serif;
    font-size: 14px;
    color: #333;
    background: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
a:hover { color: #f47920; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* ===== CLEARFIX ===== */
.row::after { content: ''; display: table; clear: both; }

/* ===== GRID ===== */
[class*="col-"] { float: left; padding: 0 7px; }
.col-lg-3 { width: 25%; }
.col-lg-4 { width: 33.333%; }
.col-lg-6 { width: 50%; }
.col-lg-8 { width: 66.666%; }
.col-lg-12 { width: 100%; }
.col-md-4 { width: 33.333%; }
.col-md-8 { width: 66.666%; }
.col-sm-6 { width: 50%; }
.col-xs-6 { width: 50%; }
.col-xs-12 { width: 100%; }

/* =====================================================
   WRAP BLOCK 1 — TOPBAR
   ===================================================== */
#wrap_block_1 {
    background: #f5f5f5;
    border-bottom: 1px solid #e0e0e0;
    padding: 6px 0;
    font-size: 12px;
}

.wrap_phone_mail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #555;
}

#wrap_phone_top {
    color: #2e7d32;
    font-weight: bold;
    font-size: 13px;
}
#wrap_phone_top::before { content: '☎ '; }

#wrap_email_top { color: #666; }
#wrap_email_top::before { content: '✉ '; }

.line_top {
    display: inline-block;
    width: 1px;
    height: 12px;
    background: #ccc;
    margin: 0 4px;
    vertical-align: middle;
}

.wrap_menu_cart_lang {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

#wrap_menu_top a {
    color: #555;
    font-size: 12px;
}
#wrap_menu_top a:hover { color: #2e7d32; }

#wrap_cart_top a {
    color: #555;
    font-size: 12px;
}
#wrap_cart_top a::before { content: '🛒 Giỏ hàng '; }

#wrap_lang_top { display: flex; gap: 4px; }
#wrap_lang_top a {
    display: inline-block;
    padding: 1px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 11px;
    font-weight: bold;
    color: #555;
    background: #fff;
    transition: all 0.2s;
}
#wrap_lang_top a:hover,
#wrap_lang_top a.active {
    background: #2e7d32;
    color: #fff;
    border-color: #2e7d32;
}

/* =====================================================
   WRAP BLOCK 2 — HEADER (Logo + Search + Menu)
   ===================================================== */
#wrap_block_2 {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 8px 0 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Logo block */
.wrap_logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 8px;
}

.block_logo img { max-height: 60px; width: auto; }

.block_name { line-height: 1.2; }
.name_1 {
    font-size: 11px;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.name_2 {
    font-size: 22px;
    font-weight: 900;
    color: #2e7d32;
    letter-spacing: -0.02em;
    text-transform: uppercase;
}

/* Search + Menu wrapper */
.wrap_search_menu { padding-bottom: 0; }

/* Search bar */
#wrap_search {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 6px;
    padding-top: 4px;
    position: relative;
}
#wrap_search form {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    width: 280px;
}
#wrap_search input[type="text"] {
    flex: 1;
    border: none;
    outline: none;
    padding: 6px 14px;
    font-size: 13px;
    background: #f9f9f9;
}
#wrap_search input[type="submit"] {
    width: 36px;
    border: none;
    background: #2e7d32 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 24 24'%3E%3Cpath d='M21 21l-4.35-4.35M17 11A6 6 0 1 1 5 11a6 6 0 0 1 12 0z' stroke='%23fff' stroke-width='2' fill='none'/%3E%3C/svg%3E") center/16px no-repeat;
    cursor: pointer;
    transition: background-color 0.2s;
}
#wrap_search input[type="submit"]:hover { background-color: #1b5e20; }

.search-suggest-box {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    width: 360px;
    max-width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
    z-index: 1200;
    overflow: hidden;
}
.search-suggest-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.search-suggest-item:last-child {
    border-bottom: none;
}
.search-suggest-item:hover {
    background: #f5faf5;
}
.search-suggest-type {
    flex: 0 0 auto;
    min-width: 62px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #2e7d32;
    background: #e8f5e9;
    border-radius: 20px;
    padding: 3px 8px;
    text-align: center;
}
.search-suggest-title {
    flex: 1;
    min-width: 0;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* =====================================================
   NAVIGATION MENU
   ===================================================== */
#wrap_menu { border-top: 2px solid #2e7d32; }

.minimal-menu { background: #fff; }
.minimal-menu > ul {
    display: flex;
    align-items: stretch;
    list-style: none;
    margin: 0;
    padding: 0;
}
.minimal-menu > ul > li {
    position: relative;
}
.minimal-menu > ul > li > a {
    display: block;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    white-space: nowrap;
    transition: color 0.2s, background 0.2s;
    border-bottom: 2px solid transparent;
}
.minimal-menu > ul > li:hover > a,
.minimal-menu > ul > li#active_top > a {
    color: #2e7d32;
    border-bottom-color: #f47920;
}

/* Dropdown */
.minimal-menu > ul > li.submenu > ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-top: 2px solid #2e7d32;
    min-width: 220px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 9999;
    padding: 4px 0;
}
.minimal-menu > ul > li.submenu:hover > ul { display: block; }
.minimal-menu > ul > li.submenu > ul li > a {
    display: block;
    padding: 8px 18px;
    font-size: 13px;
    color: #444;
    border-bottom: 1px solid #f5f5f5;
    transition: background 0.15s, color 0.15s;
}
.minimal-menu > ul > li.submenu > ul li > a:hover {
    background: #f0f9f0;
    color: #2e7d32;
    padding-left: 22px;
}

/* Ẩn checkbox mobile hack */
.minimal-menu-button,
input.minimal-menu-button,
input.show-submenu { display: none; }

/* =====================================================
   WRAP BLOCK 3 — SLIDESHOW BANNER
   ===================================================== */
#wrap_block_3 {
    width: 100%;
    overflow: hidden;
    background: #1b5e20;
    position: relative;
}
#wrap_block_3 .callbacks_container { position: relative; }

/* rslides / slider */
.rslides {
    list-style: none;
    overflow: hidden;
    width: 100%;
    padding: 0;
    margin: 0;
}
.rslides li { display: none; position: absolute; width: 100%; top: 0; }
.rslides li:first-child { display: block; position: relative; }
.rslides img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 480px;
    object-fit: cover;
}

/* Custom simple slider */
.vs-slider { position: relative; overflow: hidden; background: #1b5e20; }
.vs-slide {
    display: none;
    width: 100%;
    animation: fadeSlide 0.6s ease;
}
.vs-slide.active { display: block; }
.vs-slide-img {
    width: 100%;
    height: 420px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
.vs-slide-img img { width: 100%; height: 420px; object-fit: cover; display: block; }

/* Slide dùng gradient màu khi chưa có ảnh */
.vs-slide-gradient {
    width: 100%;
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* Style hỗ trợ hiển thị ảnh gốc co giãn tự động */
.vs-slide-img-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.vs-slide-raw-img {
    width: 100%;
    height: auto;
    max-height: 600px; /* Khống chế chiều cao tối đa của ảnh banner gốc */
    object-fit: cover;
    display: block;
}
.vs-slide-raw-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.15); /* Lớp phủ rất nhẹ giúp đọc chữ dễ hơn */
    z-index: 1;
}
.vs-slide-content-overlay.has-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.vs-slide-text-center {
    text-align: center;
    color: #fff;
    z-index: 1;
    padding: 0 20px;
}
.vs-slide-text-center h2 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.vs-slide-text-center p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}
.vs-slide-btn {
    display: inline-block;
    background: #f47920;
    color: #fff;
    padding: 10px 28px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    transition: background 0.2s;
}
.vs-slide-btn:hover { background: #e06010; color: #fff; }

/* Slider controls */
.vs-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.3);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    border: none;
    transition: background 0.2s;
}
.vs-slider-arrow:hover { background: rgba(0,0,0,0.6); }
.vs-slider-arrow.prev { left: 12px; }
.vs-slider-arrow.next { right: 12px; }

.vs-slider-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
}
.vs-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}
.vs-dot.active { background: #fff; width: 24px; border-radius: 4px; }

@keyframes fadeSlide { from { opacity: 0; } to { opacity: 1; } }

/* =====================================================
   WRAP BLOCK 4 — SẢN PHẨM BÁN CHẠY & DANH MỤC
   ===================================================== */
#wrap_block_4 { padding: 20px 0 10px; }

/* Tiêu đề section kiểu vinasyntax */
.kmt_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 12px;
}

.kmt_title .orange_title { color: #f47920; }
.kmt_title .green_title { color: #2e7d32; }

.kmt_title_greenline { border-bottom-color: #2e7d32; }

.kmt_uppercase { text-transform: uppercase; }
.has_arr { position: relative; }

/* Nút xem tất cả */
.read_more {
    float: right;
    margin: 0;
    padding: 10px 0 8px;
    font-size: 12px;
}
.kmt_title .read_more {
    float: none;
    padding: 0;
    margin: 0;
}
.kmt_title .kmt-btn-slider {
    float: none;
    padding: 0;
    margin: 0;
}
.read_more a {
    color: #f47920;
    border: 1px solid #f47920;
    padding: 3px 12px;
    border-radius: 3px;
    transition: all 0.2s;
    font-size: 12px;
}
.read_more a:hover {
    background: #f47920;
    color: #fff;
}

/* Container có shadow — bao quanh mỗi nhóm sản phẩm */
.has_shadow {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 12px 8px 16px;
    margin-bottom: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}

/* ===== PRODUCT CARD — block_item ===== */
.wrap_item {
    margin-bottom: 14px;
}

.block_item {
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
    height: 100%;
}
.block_item:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.13);
    border-color: #2e7d32;
    transform: translateY(-3px);
}

/* Ảnh sản phẩm */
.img_item {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: #f9f9f9;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}
.img_item a { display: block; width: 100%; height: 100%; }
.img_item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 8px;
}
.block_item:hover .img_item img { transform: scale(1.06); }

/* Tên sản phẩm */
.block_item h2 {
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: #333;
    padding: 8px 10px 4px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 46px;
    text-align: center;
}
.block_item h2 a { color: #333; }
.block_item h2 a:hover { color: #2e7d32; }

/* Giá + nút Liên hệ */
.price_block_item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px 10px;
    gap: 6px;
}
.block_price {
    display: none;
}
.block_cart { flex-shrink: 0; }

.atc_item_lh a {
    display: inline-block;
    background: #f47920;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 14px;
    border-radius: 3px;
    transition: background 0.2s;
    text-transform: uppercase;
}
.atc_item_lh a:hover { background: #d4620f; color: #fff; }

/* =====================================================
   KHU BÁN CHẠY — Owl carousel wrapper
   ===================================================== */
.owl_item_pr {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding: 4px 0;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.owl_item_pr::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}
.owl_item_pr .wrap_item {
    flex: 0 0 calc(25% - 7.5px);
    scroll-snap-align: start;
    box-sizing: border-box;
}

/* Nút prev/next sản phẩm bán chạy */
.kmt-btn-slider {
    float: right;
    display: flex;
    gap: 4px;
    padding: 8px 0;
}
.kmt-btn-slider button {
    width: 26px;
    height: 26px;
    border: 1px solid #ccc;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    transition: all 0.2s;
}
.kmt-btn-slider button:hover { border-color: #2e7d32; color: #2e7d32; }
.prev_item_pr::before { content: '‹'; }
.next_item_pr::before { content: '›'; }

/* Bán chạy scroll */
.owl_item_pr .wrap_item.is_scroll {
    min-width: 0;
}

/* =====================================================
   WRAP INTRO HOME — Giới thiệu công ty
   ===================================================== */
#wrap_intro_home {
    background: #f0f9f0;
    padding: 30px 0;
    margin: 10px 0;
}

.wrap_intro_left .img_intro_left img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.wrap_intro_right {
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.wrap_intro_right > p {
    font-size: 12px;
    color: #f47920;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.wrap_intro_right h3 {
    font-size: 20px;
    font-weight: 900;
    color: #2e7d32;
    text-transform: uppercase;
    margin-bottom: 12px;
    line-height: 1.2;
}
.content_article { color: #555; font-size: 13.5px; line-height: 1.7; margin-bottom: 16px; }
.content_article p { margin-bottom: 10px; }

.rm_intro a {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    padding: 8px 22px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    transition: background 0.2s;
}
.rm_intro a:hover { background: #1b5e20; color: #fff; }

/* =====================================================
   LIÊN HỆ CTA SECTION
   ===================================================== */
.wrap_lienhe_home {
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    padding: 30px 0;
    text-align: center;
    color: #fff;
}
.wrap_lienhe_home h3 {
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.wrap_lienhe_home h3 span { color: #f47920; }
.wrap_lienhe_home p { font-size: 14px; opacity: 0.9; margin-bottom: 16px; }
.wrap_lienhe_home .phone_lh {
    font-size: 26px;
    font-weight: 900;
    color: #fff;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}
.wrap_lienhe_home .phone_lh::before { content: '📞'; font-size: 20px; }
.wrap_lienhe_home .btn_lh {
    display: inline-block;
    border: 2px solid #fff;
    color: #fff;
    padding: 8px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.2s;
    margin-left: 12px;
}
.wrap_lienhe_home .btn_lh:hover { background: #fff; color: #2e7d32; }

/* =====================================================
   FOOTER (vinasyntax style: wrap_block_5 & wrap_block_6)
   ===================================================== */
#wrap_block_5 {
    width: 100%;
    background: linear-gradient(0deg, #f68621 0%, #f26528 100%);
    padding: 8px 0px;
    box-sizing: border-box;
}
#wrap_block_5 .row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
#wrap_block_5 .wrap_newsletter {
    width: 60%;
    flex: 0 0 60%;
}
#wrap_block_5 .wrap_ana_btt {
    width: 40%;
    flex: 0 0 40%;
}

#wrap_newsletter {
    display: inline-block;
    float: left;
    margin-top: 2px;
}

#wrap_newsletter input:nth-child(1) {
    width: 250px;
    height: 32px;
    line-height: 32px;
    padding: 0 14px;
    color: #333;
    float: left;
    margin-right: -80px;
    border: 1px solid #ccc;
    border-radius: 20px;
    outline: none;
    font-size: 13px;
}

#wrap_newsletter input:nth-child(2) {
    width: 90px;
    height: 32px;
    line-height: 32px;
    color: #fff;
    background: linear-gradient(0deg, #21a837 0%, #046c3c 100%);
    border: 0px;
    float: left;
    border-radius: 20px;
    transition: 0.3s;
    font-weight: bold;
    margin-left: 70px;
    cursor: pointer;
    font-size: 13px;
    text-align: center;
}

#wrap_newsletter input:nth-child(2):hover {
    background: #000;
}

#title_nlt {
    float: left;
    line-height: 34px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
    margin-right: 12px;
    color: #fff;
}

.count_num {
    display: inline-block;
    width: 16px;
    height: 18px;
    line-height: 16px;
    margin-right: 2px;
    font-weight: bold;
    text-align: center;
    background: #fff;
    font-family: Tahoma, Geneva, sans-serif;
    font-size: 12px;
    color: #222;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 1px;
}

.user_online {
    color: #fff;
    font-size: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

.wrap_ana_btt {
    text-align: right;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
    line-height: 34px;
}
.wrap_ana_btt a img {
    vertical-align: middle;
    display: inline-block;
    height: 24px;
    width: auto;
    margin-left: 8px;
}

#wrap_block_6 {
    width: 100%;
    background: linear-gradient(0deg, #21a837 0%, #148e28 100%);
    color: #fff;
    padding: 24px 0px;
    box-sizing: border-box;
}
#wrap_block_6 .row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
#wrap_block_6 .wrap_add_f {
    width: 50%;
    flex: 0 0 50%;
}
#wrap_block_6 .wrap_menu_f {
    width: 25%;
    flex: 0 0 25%;
}
#wrap_block_6 .wrap_social_f {
    width: 25%;
    flex: 0 0 25%;
}

#wrap_block_6 h6 {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 0px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 6px;
}

.wrap_add_f {
    font-size: 13px;
    line-height: 1.6;
}

.wrap_add_f p {
    margin-bottom: 6px;
}

.wrap_menu_f p {
    margin-bottom: 6px;
}
.wrap_menu_f a {
    font-size: 13px;
    color: #fff;
    transition: 0.3s;
    display: inline-block;
}

.wrap_menu_f a:hover {
    color: #f26528;
    padding-left: 4px;
}

.wrap_social_f {
    font-size: 13px;
}

.block_social {
    margin-bottom: 12px;
    display: flex;
    gap: 6px;
}

.block_social a img {
    height: 28px;
    width: auto;
    transition: transform 0.2s;
}

.block_social a:hover img {
    transform: scale(1.1);
}

.wrap_copy {
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    margin-top: 14px;
}

.wrap_copy a {
    color: #fff;
    text-decoration: underline;
}

.wrap_copy a:hover {
    color: #f26528;
}

/* =====================================================
   FLOATING BUTTONS
   ===================================================== */
.float-zone {
    position: fixed;
    bottom: 20px;
    right: 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    z-index: 9999;
}

.float-call {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #2e7d32;
    color: #fff;
    padding: 9px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(46,125,50,0.4);
    animation: float-pulse 2.5s infinite;
    white-space: nowrap;
}
.float-call:hover { background: #1b5e20; color: #fff; }
.float-call i { font-size: 14px; }

.float-zalo {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #0068ff;
    color: #fff;
    padding: 9px 16px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(0,104,255,0.4);
}
.float-zalo:hover { background: #0055cc; color: #fff; }

.float-top {
    width: 38px; height: 38px;
    background: rgba(0,0,0,0.45);
    color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
    cursor: pointer;
    border: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s;
}
.float-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.float-top:hover { background: #2e7d32; }

@keyframes float-pulse {
    0%,100% { box-shadow: 0 3px 12px rgba(46,125,50,0.4); }
    50% { box-shadow: 0 3px 20px rgba(46,125,50,0.7), 0 0 0 6px rgba(46,125,50,0.1); }
}

/* =====================================================
   PAGE HEADER / BREADCRUMB
   ===================================================== */
.page-header-bar {
    background: linear-gradient(90deg, #1b5e20, #2e7d32);
    padding: 14px 0 10px;
    color: #fff;
    margin-bottom: 20px;
}
.page-header-bar h1 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 4px;
}
.breadcrumb-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
}
.breadcrumb-bar a { color: rgba(255,255,255,0.85); }
.breadcrumb-bar a:hover { color: #f47920; }
.breadcrumb-bar .sep { color: rgba(255,255,255,0.4); }

/* =====================================================
   PRODUCTS PAGE — Filter + Grid
   ===================================================== */
.filter-wrap {
    background: #fff;
    border-bottom: 1px solid #e0e0e0;
    padding: 10px 0;
    position: sticky;
    top: 132px;
    z-index: 90;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.filter-scroll { display: flex; gap: 6px; flex-wrap: wrap; }
.filter-item {
    display: inline-block;
    padding: 5px 14px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: 12.5px;
    font-weight: 600;
    color: #555;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
}
.filter-item:hover, .filter-item.active {
    background: #2e7d32;
    border-color: #2e7d32;
    color: #fff;
}

/* Products grid page */
.products-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px 0;
}
.products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    padding: 16px 0;
}

/* =====================================================
   PRODUCT DETAIL PAGE
   ===================================================== */
.product-detail-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
    align-items: start;
}
.product-detail-sidebar {
    display: flex;
    flex-direction: column;
}
.product-detail-main {
    min-width: 0;
}
.product-detail-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 0 0 20px;
}
.product-detail-img-box {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    background: #f9f9f9;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.product-detail-img-box img { max-height: 380px; object-fit: contain; }

.product-detail-info h1 {
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    color: #2e7d32;
    margin-bottom: 12px;
    line-height: 1.3;
}
.product-detail-cat-tag {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 3px;
    margin-bottom: 12px;
}
.product-detail-desc {
    color: #555;
    font-size: 13.5px;
    line-height: 1.7;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #eee;
}

.specs-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 13px; }
.specs-table tr { border-bottom: 1px solid #eee; }
.specs-table td { padding: 8px 10px; }
.specs-table td:first-child { font-weight: 700; color: #444; background: #f5f5f5; width: 40%; }

/* Quick contact form trong product detail */
.quick-contact-box {
    background: #f0f9f0;
    border: 1px solid #c8e6c9;
    border-radius: 4px;
    padding: 16px;
}
.quick-contact-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: #2e7d32;
    margin-bottom: 12px;
    text-transform: uppercase;
}
.qc-input {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 8px 12px;
    font-size: 13px;
    margin-bottom: 8px;
    outline: none;
    transition: border-color 0.2s;
}
.qc-input:focus { border-color: #2e7d32; }
.qc-btn {
    width: 100%;
    background: #f47920;
    color: #fff;
    border: none;
    padding: 9px;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.qc-btn:hover { background: #d4620f; }

/* =====================================================
   NEWS PAGE
   ===================================================== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 16px 0;
}
.news-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.2s, transform 0.2s;
}
.news-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}
.news-card-img {
    position: relative;
    aspect-ratio: 16/10;
    background: #f9f9f9;
    overflow: hidden;
}
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.news-card:hover .news-card-img img {
    transform: scale(1.04);
}
.news-category-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2e7d32;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 2px;
    text-transform: uppercase;
    z-index: 2;
}
.news-card-body {
    padding: 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.news-meta {
    font-size: 11px;
    color: #999;
    margin-bottom: 8px;
    display: flex;
    gap: 12px;
}
.news-meta i {
    color: #2e7d32;
    margin-right: 3px;
}
.news-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 38px;
}
.news-title a {
    color: #333;
}
.news-title a:hover {
    color: #2e7d32;
}
.news-summary {
    font-size: 12.5px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.news-grid-wrap {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    padding: 16px 0;
}

/* News cards */
.news-list { display: flex; flex-direction: column; gap: 16px; }

/* News Slider active states */
.news-slide.active {
    opacity: 1 !important;
    z-index: 1;
}
.news-dot.active {
    background: #f47920 !important;
    width: 20px !important;
    border-radius: 4px !important;
}

.news-card-h {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 14px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.news-card-h:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.1); }
.news-card-h-img img { width: 220px; height: 150px; object-fit: cover; }
.news-card-h-body { padding: 12px 14px; }
.news-card-cat {
    display: inline-block;
    background: #2e7d32;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 2px;
    margin-bottom: 6px;
    text-transform: uppercase;
}
.news-card-title {
    font-size: 14px;
    font-weight: 700;
    color: #222;
    margin-bottom: 6px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-card-title:hover { color: #2e7d32; }
.news-card-meta { font-size: 11px; color: #999; margin-bottom: 6px; }
.news-card-meta i { color: #2e7d32; }
.news-card-sum { font-size: 12.5px; color: #666; line-height: 1.6; }
.news-read-more {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f47920;
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
}
.news-read-more:hover { color: #d4620f; }

/* Sidebar widgets */
.sidebar-widget {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}
.sidebar-cta-widget {
    background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 55%, #43a047 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 18px 14px 14px;
    box-shadow: 0 12px 24px rgba(27, 94, 32, 0.24);
}
.sidebar-cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 10px;
}
.sidebar-cta-title {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 6px;
    line-height: 1.25;
}
.sidebar-cta-desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 12px;
}
.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 12px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.sidebar-cta-btn + .sidebar-cta-btn {
    margin-top: 8px;
}
.sidebar-cta-btn-primary {
    background: #fff;
    color: #1b5e20;
}
.sidebar-cta-btn-primary:hover {
    color: #1b5e20;
    background: #f2fff3;
    transform: translateY(-1px);
}
.sidebar-cta-btn-outline {
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.62);
    background: rgba(255, 255, 255, 0.08);
}
.sidebar-cta-btn-outline:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-1px);
}
.widget-title {
    background: #2e7d32;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 8px 12px;
}
.sidebar-news-item {
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    border-bottom: 1px solid #f0f0f0;
}
.sidebar-news-item:last-child { border-bottom: none; }
.sidebar-news-item img { width: 65px; height: 65px; object-fit: cover; border-radius: 3px; flex-shrink: 0; }
.sidebar-news-title { font-size: 12.5px; font-weight: 600; color: #333; line-height: 1.4; }
.sidebar-news-title:hover { color: #2e7d32; }
.sidebar-news-date { font-size: 11px; color: #999; margin-top: 4px; }

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 16px 0;
}
.contact-form-box {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 4px;
    padding: 20px;
}
.contact-form-box h3 {
    font-size: 16px;
    font-weight: 700;
    color: #2e7d32;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2e7d32;
}
.form-group { margin-bottom: 12px; }
.form-label { display: block; font-size: 13px; font-weight: 600; color: #444; margin-bottom: 5px; }
.form-label .req { color: #e53935; }
.form-ctrl {
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 8px 12px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}
.form-ctrl:focus { border-color: #2e7d32; }
textarea.form-ctrl { min-height: 120px; resize: vertical; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit {
    background: #f47920;
    color: #fff;
    border: none;
    padding: 10px 28px;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s;
}
.form-submit:hover { background: #d4620f; }

.contact-info-box {
    background: #2e7d32;
    border-radius: 4px;
    padding: 20px;
    color: #fff;
    height: fit-content;
}
.contact-info-box h3 {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.25);
}
.contact-info-rows { display: flex; flex-direction: column; gap: 12px; }
.contact-info-row { display: flex; gap: 10px; align-items: flex-start; }
.contact-info-row .ico {
    width: 32px; height: 32px;
    background: rgba(255,255,255,0.15);
    border-radius: 4px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}
.contact-info-row .txt strong { display: block; font-size: 11px; color: #f47920; text-transform: uppercase; margin-bottom: 2px; }
.contact-info-row .txt span,
.contact-info-row .txt a { font-size: 13px; color: rgba(255,255,255,0.88); }
.contact-info-row .txt a:hover { color: #fff; }

/* Alert */
.alert { padding: 10px 14px; border-radius: 4px; margin-bottom: 12px; font-size: 13px; }
.alert-success { background: #e8f5e9; border: 1px solid #a5d6a7; color: #2e7d32; }
.alert-error { background: #ffebee; border: 1px solid #ef9a9a; color: #c62828; }

/* Map */
.map-box { border-radius: 4px; overflow: hidden; margin-top: 20px; border: 1px solid #e0e0e0; }
.map-box iframe { display: block; }

/* =====================================================
   ABOUT PAGE
   ===================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
    padding: 20px 0;
}
.about-img { border-radius: 6px; overflow: hidden; box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.about-img img { width: 100%; }
.about-content > p.welcome { font-size: 12px; color: #f47920; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 6px; }
.about-content h2 { font-size: 20px; font-weight: 900; color: #2e7d32; text-transform: uppercase; margin-bottom: 12px; }
.about-text { font-size: 13.5px; color: #555; line-height: 1.75; margin-bottom: 12px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.about-feat-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444; }
.about-feat-item i { color: #2e7d32; }

/* =====================================================
   MISC UTILS
   ===================================================== */
.text-center { text-align: center; }
.wrap_center { width: 100%; }
.d-none { display: none; }

/* Image placeholder */
.img-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #81c784;
    min-height: 180px;
}
.img-ph i { font-size: 2.5rem; opacity: 0.4; margin-bottom: 6px; }
.img-ph span { font-size: 11px; opacity: 0.6; }

/* Section padding */
.sec-pad { padding: 24px 0; }
.sec-pad-sm { padding: 14px 0; }

/* =====================================================
   RESPONSIVE — Mobile
   ===================================================== */
@media (max-width: 1024px) {
    .products-page-grid, .products-grid-3 { grid-template-columns: repeat(3, 1fr); }
    .owl_item_pr .wrap_item {
        flex: 0 0 calc(33.333% - 6.7px);
    }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    /* Topbar */
    #wrap_block_1 .wrap_phone_mail { display: none; }
    #wrap_block_1 .col-lg-8 { width: 100%; justify-content: center; }

    /* Header */
    .wrap_logo { padding-bottom: 6px; }
    .name_2 { font-size: 17px; }
    .col-lg-4.wrap_logo { width: 100%; text-align: center; }
    .col-lg-8.wrap_search_menu { width: 100%; }
    #wrap_search { justify-content: center; }
    #wrap_search form { width: 100%; }

    /* Menu mobile */
    .minimal-menu-button:not(input) {
        display: block;
        background: #2e7d32;
        color: #fff;
        padding: 8px 14px;
        cursor: pointer;
        font-size: 13px;
        font-weight: 700;
        text-align: right;
        user-select: none;
    }
    .minimal-menu > ul {
        display: none;
        flex-direction: column;
    }
    .minimal-menu input#mobile-nav:checked ~ div > ul,
    .minimal-menu > ul.open {
        display: flex;
    }
    .minimal-menu > ul > li > a {
        border-bottom: 1px solid #eee;
        padding: 10px 14px;
    }
    .minimal-menu > ul > li.submenu > ul {
        position: static;
        box-shadow: none;
        border: none;
        border-top: none;
        background: #f9f9f9;
        padding-left: 10px;
    }

    /* Layout */
    .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8 { width: 100%; float: none; }
    .products-page-grid, .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .owl_item_pr .wrap_item {
        flex: 0 0 calc(50% - 5px);
    }
    .footer-grid { grid-template-columns: 1fr; }
    .about-grid, .product-detail-wrap, .contact-wrap { grid-template-columns: 1fr; }
    .product-detail-layout { grid-template-columns: 1fr; gap: 20px; }
    .product-detail-sidebar { order: 2; }
    .product-detail-main { order: 1; }
    .news-grid-wrap { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .news-card-h { grid-template-columns: 1fr; }
    .news-card-h-img img { width: 100%; height: 180px; }
    .wrap_intro_right { padding-left: 0; margin-top: 20px; }
    .form-2col { grid-template-columns: 1fr; }
    .vs-slide-img, .vs-slide-gradient { height: 220px; }
    .vs-slide-text-center h2 { font-size: 1.3rem; }

    /* Footer Mobile Responsive Override */
    #wrap_block_5 .row,
    #wrap_block_6 .row {
        flex-direction: column;
        align-items: stretch;
    }
    #wrap_block_5 .wrap_newsletter,
    #wrap_block_5 .wrap_ana_btt,
    #wrap_block_6 .wrap_add_f,
    #wrap_block_6 .wrap_menu_f,
    #wrap_block_6 .wrap_social_f {
        width: 100%;
        flex: 0 0 100%;
        margin-bottom: 15px;
    }
    #wrap_block_5 .wrap_newsletter,
    #wrap_block_5 .wrap_ana_btt {
        text-align: center;
        justify-content: center;
    }
    #wrap_block_5 .wrap_newsletter {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }
    #wrap_newsletter {
        float: none;
        display: inline-block;
    }
}

@media (max-width: 480px) {
    .products-page-grid, .products-grid-3 { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .news-grid { grid-template-columns: 1fr; }
    .owl_item_pr { grid-template-columns: repeat(2, 1fr); }
    .float-call span { display: none; }
    .float-zalo span { display: none; }
}

/* English Lang override */
body.lang-en #wrap_cart_top a::before { content: '🛒 Cart '; }

/* Restore bullet points for detailed description and news content */
.product-detail-content ul,
.news-detail-body ul {
    list-style-type: disc !important;
    margin-left: 20px !important;
    margin-bottom: 16px !important;
    padding-left: 10px !important;
}
.product-detail-content li,
.news-detail-body li {
    margin-bottom: 6px !important;
    display: list-item !important;
    list-style-type: disc !important;
}

/* Styled rules for nested Level 2 lists */
.product-detail-content ul ul,
.news-detail-body ul ul {
    list-style-type: circle !important;
    margin-left: 25px !important;
    margin-top: 6px !important;
    margin-bottom: 6px !important;
}
.product-detail-content ul ul li,
.news-detail-body ul ul li {
    list-style-type: circle !important;
}

