/* ==========================================================================
   567 AGRI ENTERPRISE COMPLETE SYSTEM (HOMEPAGE & STRICT NAMESPACED SHOP)
   ========================================================================== */
:root {
    --primary-color: #1F7A3E;
    --primary-dark: #15542A;
    --secondary-color: #F68B1F;
    --accent-color: #8BC34A;
    --yellow-active: #F59E0B;
    --bg-white: #FFFFFF;
    --bg-light: #F8F9FA;
    --text-dark: #0F172A;
    --text-muted: #64748B;
    --border-color: #E8E8E8;
    --card-radius: 20px;
    --card-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    --font-heading: 'Roboto', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    color: var(--text-dark);
    background-color: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    margin-top: 0;
    letter-spacing: -0.01em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Container Max-Width 1280px */
.lth-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-align {
    display: flex;
    align-items: center;
    gap: 12px;
}

.flex-align-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.text-center {
    text-align: center;
}

/* Section Standard Padding 60px 0 */
.lth-home-section {
    padding: 60px 0;
}

.section-title-567 {
    margin-bottom: 25px;
}
.title-leaf-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(31, 122, 62, 0.08);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 12px;
}
.section-title-567 h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin: 0;
}
.view-all-green-link {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
}

/* ==========================================================================
   1. 2-TIER HEADER (STRICT HORIZONTAL MENU & SUBMENU FIX)
   ========================================================================== */
.site-header-2tier {
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.header-top-white-row {
    background: #ffffff;
    padding: 12px 0;
    border-bottom: 1px solid #EEEEEE;
}
.top-row-inner {
    height: 60px;
}

.brand-logo-567 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    gap: 2px;
    line-height: 1;
}
.logo-num { color: var(--secondary-color); }
.logo-txt { color: var(--primary-color); }
.logo-leaf { color: var(--accent-color); font-size: 20px; margin-left: 2px; }
.brand-slogan {
    font-size: 10px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.5px;
    margin-top: 3px;
    text-transform: uppercase;
}

.search-form-wide {
    border: 1px solid #CBD5E1;
    border-radius: 6px;
    overflow: hidden;
    width: 440px;
    gap: 0;
    background: #ffffff;
}
.search-input-wide {
    font-family: var(--font-body);
    border: none;
    outline: none;
    padding: 10px 14px;
    font-size: 13px;
    width: 100%;
    color: #334155;
}
.search-btn-green {
    border: none;
    background: var(--primary-color);
    color: #ffffff;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 15px;
}
.search-btn-green:hover {
    background: var(--primary-dark);
}

.header-hotline-box {
    gap: 10px;
}
.hotline-yellow-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F59E0B;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}
.hotline-text-group {
    display: flex;
    flex-direction: column;
}
.hl-sub {
    font-size: 10px;
    font-weight: 700;
    color: #64748B;
    text-transform: uppercase;
}
.hl-main {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.1;
}

.header-social-circles {
    margin-left: 10px;
    gap: 8px;
}
.s-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}
.s-zalo { background: #0084FF; }
.s-fb { background: #1877F2; }

/* Green Main Nav Bar (#1F7A3E) Horizontal Fix */
.header-main-nav-green {
    background: var(--primary-color);
    position: relative;
    z-index: 999;
}
.main-nav-green-ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}
.main-nav-green-ul > li {
    position: relative;
    display: inline-block;
}
.main-nav-green-ul > li > a {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    color: #ffffff;
    padding: 14px 20px;
    display: block;
    text-transform: uppercase;
    white-space: nowrap;
    transition: all 0.25s ease;
}

/* Active Menu Item Yellow Highlight (#F59E0B) */
.main-nav-green-ul > li.current-menu-item > a,
.main-nav-green-ul > li.current-menu-ancestor > a,
.main-nav-green-ul > li.active > a {
    background: #F59E0B;
    color: #0F172A;
}

.main-nav-green-ul > li:hover > a {
    background: #F59E0B;
    color: #0F172A;
}

/* Submenu Dropdown Position Fix */
.main-nav-green-ul li ul.sub-menu,
.main-nav-green-ul li ul.children {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    padding: 8px 0;
    min-width: 230px;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    display: block !important;
}
.main-nav-green-ul li:hover > ul.sub-menu,
.main-nav-green-ul li:hover > ul.children {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.main-nav-green-ul li ul.sub-menu li,
.main-nav-green-ul li ul.children li {
    display: block;
    width: 100%;
    margin: 0;
}
.main-nav-green-ul li ul.sub-menu li a,
.main-nav-green-ul li ul.children li a {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 13px;
    color: #333333;
    padding: 10px 20px;
    text-transform: none;
    display: block;
    background: transparent !important;
}
.main-nav-green-ul li ul.sub-menu li a:hover,
.main-nav-green-ul li ul.children li a:hover {
    background: #F0FDF4 !important;
    color: var(--primary-color) !important;
}

/* ==========================================================================
   2. HOMEPAGE HERO BANNER (HEIGHT 720PX FULL WIDTH WITH HIGH CONTRAST GLASS CARD)
   ========================================================================== */
.lth-hero-clean-section.hero-720px-fullwidth {
    min-height: 720px;
    max-height: 720px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 0;
    margin-top: 0;
}
.hero-container-inner {
    width: 100%;
    padding: 40px 15px;
}

.hero-left-content {
    max-width: 600px;
}
.hero-badge {
    display: inline-block;
    background: var(--secondary-color);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(246, 139, 31, 0.4);
}
.hero-heading {
    font-size: 36px;
    line-height: 1.25;
    color: #ffffff;
    margin: 0 0 16px;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}
.hero-desc {
    font-size: 15.5px;
    color: #F8FAFC;
    margin: 0 0 24px;
    line-height: 1.6;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 35px;
}
.hero-bullets li {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}
.hero-bullets li i {
    color: #F59E0B;
    font-size: 18px;
}
.btn-hero.btn-hero-pill {
    padding: 14px 34px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
}
.btn-primary-green {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(31, 122, 62, 0.4);
}
.btn-primary-green:hover {
    background: var(--primary-dark);
}
.btn-secondary-orange {
    background: var(--secondary-color);
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(246, 139, 31, 0.4);
}
.btn-secondary-orange:hover {
    background: #e07712;
}

/* ==========================================================================
   3. TRUST BENEFITS BAR (5 ICONS MATCHING REFERENCE PHOTO EXACTLY)
   ========================================================================== */
.lth-trust-bar-5cols {
    background: #ffffff;
    padding: 28px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.trust-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.trust-col {
    display: flex;
    align-items: center;
    gap: 14px;
}
.t-icon-circle-outline {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 2px solid #1F7A3E;
    color: #1F7A3E;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
    background: #ffffff;
}
.trust-col .t-info h4 {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 700;
    color: #1F7A3E;
    margin: 0 0 3px;
    text-transform: uppercase;
    line-height: 1.2;
}
.trust-col .t-info p {
    font-size: 12px;
    color: #64748B;
    margin: 0;
    line-height: 1.25;
}

/* ==========================================================================
   4. HOMEPAGE DANH MỤC SẢN PHẨM (5 CARDS GRID WITH HD SVG ICONS)
   ========================================================================== */
.cat-grid-5cols {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.cat-card-567-pro {
    background: #ffffff;
    border-radius: 20px;
    padding: 30px 18px 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #E2E8F0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.cat-card-567-pro:hover {
    transform: translateY(-8px);
    border-color: #1F7A3E;
    box-shadow: 0 20px 45px rgba(31, 122, 62, 0.15);
}
.cat-icon-svg-box {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: transform 0.35s ease;
}
.cat-card-567-pro:hover .cat-icon-svg-box {
    transform: scale(1.12);
}
.cat-title-name {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    color: #0F172A;
    margin: 0 0 4px;
    text-transform: uppercase;
    line-height: 1.3;
}
.cat-desc-sub {
    font-size: 12px;
    color: #64748B;
    font-weight: 500;
}

/* ==========================================================================
   5. HOMEPAGE SẢN PHẨM NỔI BẬT (SLIDER WITH 5 PRODUCTS VISIBLE & AUTOPLAY)
   ========================================================================== */
.p-slider-wrapper {
    position: relative;
    padding: 0;
}
.p-slider-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #1F7A3E;
    color: #ffffff;
    border: none;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 6px 18px rgba(31, 122, 62, 0.35);
    transition: all 0.3s ease;
}
.p-slider-btn:hover {
    background: #15542A;
    transform: translateY(-50%) scale(1.12);
}
.p-slider-prev {
    left: -22px;
}
.p-slider-next {
    right: -22px;
}
.p-slider-track {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-behavior: smooth !important;
    gap: 18px !important;
    padding: 10px 4px 20px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}
.p-slider-track::-webkit-scrollbar {
    display: none !important;
}

.product-grid-5cols .product-card-567,
.product-grid-6cols .product-card-567 {
    flex: 0 0 calc((100% - 72px) / 5);
    min-width: 0;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
    transition: all 0.35s ease;
}
.product-card-567:hover {
    transform: translateY(-6px);
}
.product-thumb-567 img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.product-info-567 { padding: 15px 12px; }
.product-info-567 .p-title { font-size: 13.5px; margin: 0 0 6px; height: 38px; overflow: hidden; }
.product-info-567 .p-price {
    font-weight: 700;
    color: #DC2626;
    font-size: 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Original Price (Giá gốc gạch ngang - Nhỏ lại & Màu xám) */
.product-info-567 .p-price del,
.p-price del,
.sp-current-price del,
del,
del .woocommerce-Price-amount,
del bdi {
    font-size: 12.5px !important;
    color: #94A3B8 !important;
    font-weight: 400 !important;
    text-decoration: line-through !important;
    margin-right: 4px !important;
    display: inline-block !important;
    opacity: 0.85;
}

/* Sale Price (Giá khuyến mãi - Bỏ gạch dưới, Chữ đỏ nổi bật) */
.product-info-567 .p-price ins,
.p-price ins,
.sp-current-price ins,
ins,
ins .woocommerce-Price-amount,
ins bdi {
    font-size: 26px !important;
    color: #DC2626 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    border-bottom: none !important;
    background: transparent !important;
    display: inline-block !important;
}

ins *,
ins .woocommerce-Price-currencySymbol,
ins bdi,
ins span {
    text-decoration: none !important;
    border-bottom: none !important;
}
.btn-detail-567 {
    background: var(--primary-color);
    color: #ffffff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    display: block;
}

/* ==========================================================================
   6. HOMEPAGE GIẢI PHÁP THEO CÂY TRỒNG (5 CARDS HORIZONTAL GRID MATCHING PHOTO EXACTLY)
   ========================================================================== */
.crop-cards-grid-5 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.crop-card-567 {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    background: #ffffff;
}
.crop-card-567:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}
.crop-img-box {
    position: relative;
    padding-top: 68%;
    display: block;
    overflow: hidden;
}
.crop-img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.crop-card-567:hover .crop-img-box img {
    transform: scale(1.08);
}
.crop-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
    padding: 24px 12px 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}
.crop-name-title {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-crop-yellow {
    background: #FFC107;
    color: #0F172A;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 10px;
    display: inline-block;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.2px;
}
.crop-card-567:hover .btn-crop-yellow {
    background: #FFA000;
    transform: scale(1.05);
}

/* ==========================================================================
   7. HOMEPAGE KIẾN THỨC NÔNG NGHIỆP (4 CARDS 16:9 GRID)
   ========================================================================== */
.news-cards-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}
.news-card-169 {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid var(--border-color);
}
.news-img-169 { position: relative; padding-top: 56.25%; overflow: hidden; }
.news-img-169 img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.news-body-169 { padding: 18px; }
.n-date-badge { font-size: 11.5px; color: var(--text-muted); margin-bottom: 8px; }
.n-title-169 { font-size: 14.5px; margin: 0 0 10px; line-height: 1.35; height: 40px; overflow: hidden; }
.n-read-more { color: var(--primary-color); font-weight: 700; font-size: 12.5px; }

/* ==========================================================================
   8. FOOTER DOANH NGHIỆP (4 COLS GRID)
   ========================================================================== */
.site-footer-4cols {
    background: var(--primary-dark);
    color: #CBD5E1;
    padding-top: 70px;
}
.footer-main-grid-4 {
    display: grid;
    grid-template-columns: 2fr 2fr 1.5fr 2fr;
    gap: 35px;
    padding-bottom: 45px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.f-title-head { color: #ffffff; font-size: 17px; margin: 0 0 18px; }
.f-info-list, .f-links-list { list-style: none; padding: 0; margin: 0; font-size: 13.5px; line-height: 2; }
.f-links-list a { color: #CBD5E1; }
.f-links-list a:hover { color: #ffffff; }
.f-map-box img { width: 100%; border-radius: 12px; }
.footer-bottom-bar { padding: 22px 0; font-size: 13px; color: #94A3B8; }

/* ==========================================================================
   9. PRODUCT CATEGORY PAGE - STRICTLY NAMESPACED (.product-category-page)
   ========================================================================== */
.product-category-page .lth-cat-banner-320 {
    min-height: 220px;
    max-height: 220px;
    background-size: cover;
    background-position: center;
    color: #ffffff;
    display: flex;
    align-items: center;
}
.product-category-page .cat-banner-inner { width: 100%; padding: 30px 15px; }
.product-category-page .cat-breadcrumb { font-size: 13px; color: rgba(255,255,255,0.85); margin-bottom: 12px; gap: 8px; }
.product-category-page .cat-breadcrumb a { color: #ffffff; }
.product-category-page .cat-banner-title { font-size: 38px; color: #ffffff; margin: 0 0 10px; font-weight: 700; }
.product-category-page .cat-banner-desc { font-size: 15.5px; color: rgba(255,255,255,0.9); margin: 0; max-width: 700px; }

/* Horizontal Category Bar */
.product-category-page .lth-cat-bar-horizontal { background: #ffffff; padding: 20px 0; border-bottom: 1px solid var(--border-color); }
.product-category-page .cat-bar-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.product-category-page .cat-bar-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px 18px;
    display: flex; align-items: center; gap: 10px;
    white-space: nowrap; font-weight: 500; font-size: 13.5px; color: var(--text-dark);
    transition: all 0.25s ease;
}
.product-category-page .cat-bar-icon {
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(31, 122, 62, 0.08); color: var(--primary-color);
    display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.product-category-page .cat-bar-item.active,
.product-category-page .cat-bar-item:hover {
    background: var(--primary-color); color: #ffffff; border-color: var(--primary-color);
}
.product-category-page .cat-bar-item.active .cat-bar-icon,
.product-category-page .cat-bar-item:hover .cat-bar-icon {
    background: rgba(255,255,255,0.2); color: #ffffff;
}

/* Shop Layout */
.product-category-page .lth-shop-main-section { padding: 50px 0 80px; background: var(--bg-light); }
.product-category-page .shop-body-grid {
    display: flex;
    gap: 32px;
    width: 100%;
    align-items: flex-start;
}
.product-category-page .shop-sidebar-300 {
    width: 300px;
    flex-shrink: 0;
}

.product-category-page .widget-filter-card {
    background: #ffffff; border-radius: var(--card-radius);
    padding: 20px; border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow); margin-bottom: 20px;
}
.product-category-page .widget-title {
    font-size: 15px; font-weight: 700; color: var(--primary-color);
    margin: 0 0 14px; border-bottom: 2px solid #F0FDF4; padding-bottom: 8px;
}
.product-category-page .filter-checkbox-list { list-style: none; padding: 0; margin: 0; }
.product-category-page .filter-checkbox-list li { margin-bottom: 10px; }
.product-category-page .checkbox-container { font-size: 13.5px; color: #334155; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.product-category-page .checkbox-container.active-cat-link,
.product-category-page .checkbox-container:hover { color: var(--primary-color); font-weight: 700; }
.product-category-page .checkbox-container .count { font-size: 12px; color: var(--text-muted); margin-left: auto; }

.product-category-page .price-val-highlight { font-weight: 700; color: var(--primary-color); }
.product-category-page .price-range-input { width: 100%; accent-color: var(--primary-color); cursor: pointer; margin-top: 10px; }
.product-category-page .crop-tags-flex { flex-wrap: wrap; gap: 8px; }
.product-category-page .crop-pill-tag {
    background: #F1F5F9; padding: 6px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #475569; cursor: pointer; display: inline-block;
}
.product-category-page .crop-pill-tag.active,
.product-category-page .crop-pill-tag:hover { background: var(--primary-color); color: #ffffff; }

/* Content Full Width */
.product-category-page .shop-content-980 {
    flex: 1;
    min-width: 0;
    width: 100%;
}

/* Toolbar Header */
.product-category-page .shop-toolbar {
    background: #ffffff;
    border-radius: 16px;
    padding: 14px 24px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    margin-bottom: 24px;
}
.product-category-page .tb-count { font-size: 14px; font-weight: 600; color: #334155; }
.product-category-page .tb-sort-label { font-size: 13px; color: #64748B; font-weight: 500; }
.product-category-page .sort-select,
.product-category-page .perpage-select {
    border: 1px solid #CBD5E1;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 13.5px;
    outline: none;
    background: #ffffff;
    font-family: var(--font-body);
    font-weight: 600;
    color: #0F172A;
    cursor: pointer;
}
.product-category-page .view-btn {
    width: 38px; height: 38px; border-radius: 8px; border: 1px solid #CBD5E1; background: #ffffff; color: #64748B; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 15px;
}
.product-category-page .view-btn.active,
.product-category-page .view-btn:hover { background: var(--primary-color); color: #ffffff; border-color: var(--primary-color); }

/* PRODUCT GRID (STRICT 4 COLUMNS DESKTOP & LAPTOP) */
.product-category-page .product-grid-4cols.shop-p-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 40px !important;
    width: 100% !important;
}

/* List View Mode (1 Col Horizontal Cards) */
.product-category-page .shop-p-grid.list-view-mode {
    display: flex !important;
    flex-direction: column !important;
    gap: 20px !important;
}
.product-category-page .shop-p-grid.list-view-mode .product-card-clean {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    padding: 20px !important;
}
.product-category-page .shop-p-grid.list-view-mode .p-thumb-box {
    width: 220px !important;
    height: 180px !important;
    flex-shrink: 0 !important;
    padding: 0 !important;
}
.product-category-page .shop-p-grid.list-view-mode .p-details-box {
    flex-grow: 1 !important;
    text-align: left !important;
    padding-left: 24px !important;
}
.product-category-page .shop-p-grid.list-view-mode .p-name-main { text-align: left !important; font-size: 17px !important; }
.product-category-page .shop-p-grid.list-view-mode .p-sub-cat { text-align: left !important; }
.product-category-page .shop-p-grid.list-view-mode .p-price-row { justify-content: flex-start !important; }
.product-category-page .shop-p-grid.list-view-mode .btn-buy-full-green { max-width: 220px !important; }

/* ==========================================================================
   100% MATCH PRODUCT CARDS (EXACT SPEC FROM SCREENSHOT)
   ========================================================================== */
.product-card-567,
.card-18px-shadow,
.product-card-clean {
    background: #ffffff !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05) !important;
    border: 1px solid #E2E8F0 !important;
    position: relative !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    justify-content: space-between !important;
    text-align: center !important;
}
.product-card-567:hover,
.card-18px-shadow:hover,
.product-card-clean:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12) !important;
    border-color: #CBD5E1 !important;
}

.product-thumb-567,
.p-thumb-box {
    position: relative !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #ffffff !important;
    height: 200px !important;
    width: 100% !important;
    overflow: hidden !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.product-thumb-567 a,
.p-thumb-box a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.product-thumb-567 img,
.p-thumb-box img,
.p-img-cover,
.product-thumb-567 .wp-post-image {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    display: block !important;
    margin: 0 !important;
    border-top-left-radius: 20px !important;
    border-top-right-radius: 20px !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    transition: transform 0.35s ease !important;
}
.product-card-567:hover img,
.card-18px-shadow:hover img {
    transform: scale(1.05) !important;
}

.badge-pill-tag {
    position: absolute !important;
    top: 12px !important;
    left: 12px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    background: #DC2626 !important;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.35) !important;
    z-index: 5 !important;
    letter-spacing: 0.3px !important;
    line-height: 1 !important;
}
.badge-yellow { background: #F59E0B !important; }
.badge-green { background: #1F7A3E !important; }
.badge-red { background: #DC2626 !important; }

.product-info-567,
.p-details-box {
    padding: 16px 14px 18px !important;
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
    text-align: center !important;
}

.product-info-567 .p-title,
.p-name-main {
    font-family: var(--font-heading), 'Roboto', sans-serif !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    color: #000000 !important;
    margin: 0 0 10px !important;
    text-transform: none !important;
    text-align: center !important;
    height: 2.8em !important;
    line-height: 1.35 !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.product-info-567 .p-title a,
.p-name-main a { color: #000000 !important; text-decoration: none !important; }
.product-info-567 .p-title a:hover,
.p-name-main a:hover { color: #1F7A3E !important; }
.p-sub-cat { display: none !important; }

.product-info-567 .p-price,
.p-price,
.p-price-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
}
.old-price-line { font-size: 13px !important; color: #94A3B8 !important; text-decoration: line-through !important; }
.current-price-red { font-size: 16px !important; font-weight: 700 !important; color: #DC2626 !important; }

/* Pill Shape Button (Match Screenshot Exactly) */
.btn-detail-567,
.btn-buy-full-green {
    background-color: #1F7A3E !important;
    color: #ffffff !important;
    width: 100% !important;
    padding: 11px 0 !important;
    border-radius: 999px !important;
    font-family: var(--font-heading), 'Roboto', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    display: block !important;
    text-align: center !important;
    text-decoration: none !important;
    transition: all 0.25s ease !important;
    box-shadow: 0 4px 12px rgba(31, 122, 62, 0.2) !important;
}
.btn-detail-567:hover,
.btn-buy-full-green:hover {
    background-color: #15542A !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(21, 84, 42, 0.3) !important;
}
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.25s ease;
    box-sizing: border-box;
    margin-top: auto;
}
.product-category-page .btn-buy-full-green:hover { background: #15542A; color: #ffffff; }

/* NEWSLETTER SECTION - NAMESPACED PROPER STYLING */
.product-category-page .lth-newsletter-section {
    background: var(--primary-color);
    color: #ffffff;
    padding: 50px 0;
}
.product-category-page .nl-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.product-category-page .nl-text h3 {
    color: #ffffff;
    font-size: 20px;
    margin: 0 0 6px;
}
.product-category-page .nl-text p {
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-size: 14px;
}
.product-category-page .nl-form {
    display: flex;
    align-items: center;
    gap: 10px;
}
.product-category-page .nl-input {
    font-family: var(--font-body);
    border: 1px solid #ffffff;
    outline: none;
    padding: 14px 22px;
    border-radius: 999px;
    font-size: 13.5px;
    width: 320px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    background: #ffffff;
}
.product-category-page .nl-btn-orange {
    border: none;
    background: var(--secondary-color);
    color: #ffffff;
    padding: 14px 30px;
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 13.5px;
    cursor: pointer;
    transition: all 0.35s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.product-category-page .nl-btn-orange:hover {
    background: #e07712;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .header-search-center { display: none; }
    .news-cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .trust-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .cat-grid-5cols { grid-template-columns: repeat(3, 1fr); }
    .crop-cards-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .footer-main-grid-4 { grid-template-columns: repeat(2, 1fr); }
/* Enhanced Responsive Breakpoints for Header, Navigation, Grids, and Footer */
@media (max-width: 1024px) {
    .site-header-2tier .top-row-inner { flex-wrap: wrap; gap: 12px; padding: 10px 15px; }
    .header-search-center { display: none; }
    .header-main-nav-green { overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
    .header-main-nav-green::-webkit-scrollbar { display: none; }
    .main-nav-green-ul { flex-wrap: nowrap; white-space: nowrap; padding: 8px 15px; gap: 12px; }
    .main-nav-green-ul li a { padding: 8px 16px; font-size: 14px; white-space: nowrap; }
    .news-cards-grid-4 { grid-template-columns: repeat(2, 1fr); }
    .trust-grid-6 { grid-template-columns: repeat(3, 1fr); }
    .cat-grid-5cols { grid-template-columns: repeat(3, 1fr); }
    .crop-cards-grid-5 { grid-template-columns: repeat(3, 1fr); }
    .footer-main-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
    .product-category-page .shop-body-grid { flex-direction: column; }
    .product-category-page .shop-sidebar-300 { width: 100%; }
    .product-category-page .shop-content-980 { width: 100%; }
    .product-category-page .product-grid-4cols.shop-p-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .trust-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .product-category-page .nl-inner { flex-direction: column; text-align: center; gap: 20px; }
    .product-grid-5cols .product-card-567,
    .product-grid-6cols .product-card-567 { flex: 0 0 calc((100% - 36px) / 3); }
}

@media (max-width: 768px) {
    body { overflow-x: hidden; }
    .lth-container { padding: 0 12px; }
    .site-header-2tier .top-row-inner { justify-content: space-between; padding: 8px 12px; }
    .brand-logo-567 { font-size: 20px; }
    .header-brand-box .brand-slogan { display: none; }
    .header-top-right { gap: 6px; }
    .header-hotline-box { padding: 4px 10px; border-radius: 999px; }
    .header-hotline-box .hl-sub { display: none; }
    .header-hotline-box .hl-main { font-size: 12.5px; }
    .header-social-circles { gap: 4px; }
    .s-circle { width: 30px; height: 30px; font-size: 12px; }
    .s-cart-header { width: 32px !important; height: 32px !important; }
    .header-main-nav-green { padding: 2px 0; background-color: #1F7A3E; }
    .main-nav-green-ul { padding: 6px 10px; gap: 6px; }
    .main-nav-green-ul li a { padding: 6px 12px; font-size: 13px; border-radius: 6px; }
    .news-cards-grid-4 { grid-template-columns: 1fr; }
    .cat-grid-5cols { grid-template-columns: repeat(2, 1fr); }
    .crop-cards-grid-5 { grid-template-columns: repeat(2, 1fr); }
    .trust-grid-6 { grid-template-columns: repeat(2, 1fr); }
    .site-footer-4cols { padding: 50px 0 0; }
    .footer-main-grid-4 { grid-template-columns: 1fr; gap: 32px; }
    .f-brand-desc { font-size: 13.5px; line-height: 1.6; }
    .footer-bottom-bar .lth-container { flex-direction: column; text-align: center; gap: 8px; padding: 16px 12px; }
    .copy-right { justify-content: center; }
    .hero-heading { font-size: 24px; }
    .hero-left-content { padding: 20px 15px; }
    .product-category-page .product-grid-4cols.shop-p-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .trust-grid-5 { grid-template-columns: 1fr; }
    .product-category-page .nl-form { flex-direction: column; width: 100%; }
    .product-category-page .nl-input { width: 100%; }
    .product-category-page .nl-btn-orange { width: 100%; }
    .product-grid-5cols .product-card-567,
    .product-grid-6cols .product-card-567 { flex: 0 0 calc((100% - 12px) / 2); }
}

@media (max-width: 480px) {
    .site-header-2tier .top-row-inner { padding: 6px 10px; }
    .brand-logo-567 { font-size: 18px; }
    .header-hotline-box { display: none; }
    .cat-grid-5cols { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .crop-cards-grid-5 { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-grid-5cols .product-card-567,
    .product-grid-6cols .product-card-567 { flex: 0 0 calc((100% - 10px) / 2); }
}


/* =============================================
   SHOP HERO BANNER (Product Category Archive)
   ============================================= */
.lth-shop-hero-banner {
    position: relative;
    height: 240px;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.shop-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(5, 25, 12, 0.88) 0%, rgba(20, 80, 40, 0.75) 60%, rgba(31, 122, 62, 0.55) 100%);
    z-index: 1;
}
.lth-shop-hero-banner .lth-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}
.shop-hero-inner {
    padding: 24px 0;
}
.shop-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.shop-breadcrumb a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s;
}
.shop-breadcrumb a:hover { opacity: 0.75; }
.shop-breadcrumb .sep { font-size: 10px; opacity: 0.55; }
.shop-breadcrumb .current {
    color: #F68B1F;
    font-weight: 600;
}
.shop-hero-title {
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.15;
    text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.shop-hero-sub {
    font-size: 14px;
    color: rgba(255,255,255,0.85);
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* =============================================
   SUBCATEGORY PILLS BAR
   ============================================= */
.lth-subcat-pills-bar {
    background: #ffffff;
    border-bottom: 2px solid #E8EDF2;
    padding: 12px 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
    scrollbar-width: none;
}
.lth-subcat-pills-bar::-webkit-scrollbar { display: none; }
.subcat-pills-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.subcat-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 7px 18px;
    background: #F1F5F9;
    color: #475569;
    border: 1.5px solid #E2E8F0;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.22s ease;
    flex-shrink: 0;
}
.subcat-pill-item:hover {
    background: #DCFCE7;
    color: #1F7A3E;
    border-color: #86EFAC;
    transform: translateY(-1px);
}
.subcat-pill-item.active {
    background: #1F7A3E;
    color: #ffffff;
    border-color: #1F7A3E;
    box-shadow: 0 4px 14px rgba(31, 122, 62, 0.30);
}
.subcat-pill-item .pill-count {
    font-size: 11px;
    font-weight: 700;
    opacity: 0.80;
    background: rgba(0,0,0,0.10);
    border-radius: 999px;
    padding: 1px 6px;
}
.subcat-pill-item.active .pill-count {
    background: rgba(255,255,255,0.25);
}

/* =============================================
   LIST VIEW (Dạng danh sách)
   ============================================= */
.product-grid-4cols.list-view-mode {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
}
.product-grid-4cols.list-view-mode .product-card-567 {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07) !important;
    background: #fff !important;
    min-height: 140px !important;
}
.product-grid-4cols.list-view-mode .product-thumb-567 {
    flex: 0 0 160px !important;
    width: 160px !important;
    height: 140px !important;
    overflow: hidden !important;
    position: relative !important;
}
.product-grid-4cols.list-view-mode .product-thumb-567 img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 0 !important;
}
.product-grid-4cols.list-view-mode .product-info-567 {
    flex: 1 !important;
    text-align: left !important;
    padding: 16px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 8px !important;
}
.product-grid-4cols.list-view-mode .p-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    margin: 0 !important;
    color: #0F172A !important;
}
.product-grid-4cols.list-view-mode .p-price {
    margin: 0 !important;
}
.product-grid-4cols.list-view-mode .btn-detail-567 {
    align-self: flex-start !important;
    margin-top: 4px !important;
}

/* =============================================
   SHOP PAGINATION (Beautiful)
   ============================================= */
.shop-pagination-wrap {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    margin-top: 40px !important;
    margin-bottom: 20px !important;
    flex-wrap: wrap !important;
}
.shop-pagination-wrap .page-numbers {
    min-width: 42px;
    height: 42px;
    padding: 0 14px;
    border-radius: 10px;
    background: #ffffff;
    border: 1.5px solid #E2E8F0;
    color: #334155;
    font-size: 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.shop-pagination-wrap .page-numbers:hover:not(.dots):not(.current) {
    background: #F68B1F;
    color: #ffffff;
    border-color: #F68B1F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(246, 139, 31, 0.28);
}
.shop-pagination-wrap .page-numbers.current {
    background: #1F7A3E;
    color: #ffffff;
    border-color: #1F7A3E;
    box-shadow: 0 6px 16px rgba(31, 122, 62, 0.28);
    pointer-events: none;
}
.shop-pagination-wrap .page-numbers.dots {
    border: none;
    background: transparent;
    box-shadow: none;
    color: #94A3B8;
    pointer-events: none;
}
.shop-pagination-wrap .page-numbers.prev,
.shop-pagination-wrap .page-numbers.next {
    background: #F8FAFC;
}

/* =============================================
   RESPONSIVE SHOP
   ============================================= */
@media (max-width: 992px) {
    .lth-shop-hero-banner { height: 200px; }
    .shop-hero-title { font-size: 28px; }
}
@media (max-width: 768px) {
    .lth-shop-hero-banner { height: 170px; }
    .shop-hero-title { font-size: 22px; letter-spacing: 1px; }
    .shop-hero-sub { font-size: 12.5px; }
    .lth-subcat-pills-bar { padding: 10px 0; }
    .subcat-pills-wrapper { padding: 0 12px; gap: 7px; }
    .subcat-pill-item { padding: 6px 13px; font-size: 12px; }
    .product-grid-4cols.list-view-mode .product-thumb-567 { flex: 0 0 120px !important; width: 120px !important; height: 110px !important; }
}
@media (max-width: 480px) {
    .lth-shop-hero-banner { height: 150px; }
    .shop-hero-title { font-size: 18px; }
}


