/*
Theme Name: Yêu Nệm Kymdan HCM
Theme URI: https://kymdanhcm.com/
Author: Yêu Nệm
Description: Theme viết tay cho kymdanhcm.com — giữ nguyên giao diện landing Yêu Nệm (xanh lá + vàng, Playfair Display + Inter); dữ liệu trong inc/data.php và inc/data-san-pham.php; sản phẩm, danh mục, blog, form lưu đơn + email; không page builder, không jQuery.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 7.1.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: yeunem-hcm
*/

/* ==========================================================================
   GIAO DIỆN LANDING kymdanhcm.com (giữ nguyên từ styles.css)
   ========================================================================== */
/* ===== DESIGN SYSTEM — YÊU NỆM BRAND ===== */
:root {
    /* Brand Greens */
    --green-900: #0d2b18;
    --green-800: #143d23;
    --green-700: #1a5632;
    --green-600: #237542;
    --green-500: #2d9456;
    --green-400: #4db57a;
    --green-300: #7ecda0;
    --green-200: #b5e2c8;
    --green-100: #e0f3e8;
    --green-50: #f0faf4;

    /* Brand Golds */
    --gold-700: #8c6d1f;
    --gold-600: #a67c23;
    --gold-500: #c8a84e;
    --gold-400: #d4b86e;
    --gold-300: #e0c88e;
    --gold-200: #edd8ae;
    --gold-100: #f7eed5;
    --gold-50: #fdf9f0;

    /* Neutrals */
    --white: #ffffff;
    --gray-50: #f8faf9;
    --gray-100: #f0f3f1;
    --gray-200: #e2e7e4;
    --gray-300: #c9d1cc;
    --gray-400: #9da8a1;
    --gray-500: #6f7d73;
    --gray-600: #4a5650;
    --gray-700: #36403a;
    --gray-800: #252e28;
    --gray-900: #1a211d;

    /* Semantic */
    --bg-primary: var(--white);
    --bg-secondary: var(--green-50);
    --bg-card: var(--green-800);
    --bg-card-hover: var(--green-700);
    --bg-glass: rgba(255, 255, 255, 0.92);
    --text-primary: var(--gray-900);
    --text-secondary: var(--gray-600);
    --text-muted: var(--gray-400);
    --text-on-dark: #f0ede6;
    --text-on-dark-secondary: #b5e2c8;
    --accent: var(--green-700);
    --gold: var(--gold-500);
    --gold-light: var(--gold-400);
    --gold-dark: var(--gold-700);
    --red: #e74c3c;
    --blue: #3498db;
    --border: rgba(26, 86, 50, 0.12);
    --border-light: rgba(26, 86, 50, 0.25);
    --border-gold: rgba(200, 168, 78, 0.3);
    --shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    --shadow-gold: 0 4px 30px rgba(200, 168, 78, 0.2);
    --shadow-green: 0 4px 30px rgba(26, 86, 50, 0.12);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--green-500); }

img { max-width: 100%; height: auto; display: block; }

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background: linear-gradient(90deg, var(--gold-700), var(--gold-500), var(--gold-700));
    color: var(--white);
    padding: 10px 0;
    font-size: 0.85rem;
    font-weight: 600;
    position: relative;
    z-index: 100;
}
.announcement-bar .container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}
.announcement-text { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.announcement-phone {
    background: var(--white);
    color: var(--gold-700);
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: var(--transition);
}
.announcement-phone:hover { background: var(--green-50); color: var(--green-800); }

.pulse-dot {
    width: 8px; height: 8px;
    background: var(--red);
    border-radius: 50%;
    display: inline-block;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

/* ===== HEADER ===== */
.header {
    position: sticky;
    top: 0;
    z-index: 99;
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.header.scrolled { box-shadow: 0 2px 30px rgba(0,0,0,0.1); }
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    padding-bottom: 14px;
}
.logo { display: flex; flex-direction: column; text-decoration: none; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--green-800);
    line-height: 1.2;
}
.logo-sub { font-size: 0.65rem; color: var(--text-secondary); letter-spacing: 2px; text-transform: uppercase; }
.nav { display: flex; gap: 8px; align-items: center; }
.nav-link {
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: var(--radius-xs);
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--green-700); background: var(--green-50); }
.header-cta {
    display: flex; align-items: center; gap: 6px;
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--white) !important;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--transition);
}
.header-cta:hover { transform: translateY(-1px); box-shadow: var(--shadow-green); }
.cta-icon { font-size: 1rem; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}
.mobile-toggle span {
    width: 24px; height: 2px;
    background: var(--green-800);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 80px 0 60px;
    min-height: 85vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-50), var(--white), var(--gold-50));
}
.hero-bg-pattern {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(26,86,50,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200,168,78,0.06) 0%, transparent 50%);
}
.hero .container {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green-800);
    border: 1px solid var(--green-700);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.82rem;
    color: var(--gold-400);
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease;
}
.badge-icon { font-size: 1rem; }
.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--green-900);
    animation: fadeInUp 0.8s ease 0.1s both;
}
.text-gold { color: var(--gold-600); }
.text-green { color: var(--green-700); }
.hero-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    animation: fadeInUp 0.8s ease 0.2s both;
}
.hero-actions {
    display: flex; gap: 16px; flex-wrap: wrap;
    margin-bottom: 40px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

/* Buttons */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--white);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-green); color: var(--white); }
.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border-light);
    color: var(--green-700);
}
.btn-outline:hover { background: var(--green-50); border-color: var(--green-500); color: var(--green-600); }
.btn-gold {
    background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
    color: var(--white);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: var(--shadow-gold); color: var(--white); }
.btn-zalo {
    background: linear-gradient(135deg, #0068ff, #0095ff);
    color: #fff;
}
.btn-zalo:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(0,104,255,0.3); color: #fff; }

/* Hero Stats */
.hero-stats {
    display: flex; align-items: center; gap: 24px;
    animation: fadeInUp 0.8s ease 0.4s both;
}
.stat-item { text-align: center; }
.stat-number {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold-600);
    line-height: 1;
}
.stat-suffix { font-size: 1.2rem; color: var(--gold-600); font-weight: 700; }
.stat-label { display: block; font-size: 0.78rem; color: var(--text-secondary); margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: var(--gray-200); }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-image-wrapper { position: relative; }
.hero-image {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.hero-float-card {
    position: absolute;
    background: var(--green-800);
    border: 1px solid var(--green-700);
    padding: 12px 18px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; gap: 10px;
    animation: float 4s ease-in-out infinite;
    box-shadow: var(--shadow);
}
.hero-float-card.card-shipping { bottom: 20px; left: -20px; }
.hero-float-card.card-warranty { top: 20px; right: -20px; animation-delay: 1s; }
.float-icon { font-size: 1.5rem; }
.hero-float-card strong { font-size: 0.85rem; color: var(--gold-400); display: block; }
.hero-float-card small { font-size: 0.72rem; color: var(--text-on-dark-secondary); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: var(--text-muted);
    font-size: 0.75rem;
}
.scroll-arrow {
    width: 20px; height: 30px;
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    position: relative;
}
.scroll-arrow::after {
    content: '';
    position: absolute;
    width: 3px; height: 8px;
    background: var(--green-600);
    border-radius: 2px;
    top: 5px; left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
    0%, 100% { top: 5px; opacity: 1; }
    50% { top: 14px; opacity: 0.3; }
}

/* ===== TRUST SECTION (Dark Green Cards) ===== */
.trust-section {
    padding: 60px 0;
    background: var(--green-50);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.trust-item {
    text-align: center;
    padding: 32px 20px;
    background: var(--green-800);
    border-radius: var(--radius);
    border: 1px solid var(--green-700);
    transition: var(--transition);
    color: var(--text-on-dark);
}
.trust-item:hover {
    transform: translateY(-4px);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-gold);
}
.trust-icon { font-size: 2.2rem; margin-bottom: 16px; }
.trust-item h3 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: var(--gold-400);
    margin-bottom: 8px;
}
.trust-item p { font-size: 0.85rem; color: var(--text-on-dark-secondary); }

/* ===== SECTION COMMON ===== */
.section-tag {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-600);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
    color: var(--green-900);
}
.section-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 600px;
}
.content-section {
    padding: 80px 0;
    background: var(--white);
}
.content-section.alt-bg {
    background: var(--green-50);
}
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header .section-desc {
    margin: 0 auto;
}

/* ===== DISTRICT GRID (Dark Green Cards) ===== */
.district-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
    margin-top: 32px;
}
.district-card {
    background: var(--green-800);
    border: 1px solid var(--green-700);
    border-radius: var(--radius-sm);
    padding: 20px 16px;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}
.district-card:hover {
    transform: translateY(-4px);
    border-color: var(--gold-500);
    box-shadow: var(--shadow-gold);
}
.district-card.premium {
    border-color: var(--gold-500);
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    grid-column: span 2;
    position: relative;
    overflow: hidden;
}
.district-card.premium::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200,168,78,0.08), transparent);
}
.district-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-on-dark);
    margin-bottom: 8px;
    position: relative;
}
.district-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(77, 181, 122, 0.2);
    color: var(--green-300);
    position: relative;
}
.district-badge.express {
    background: rgba(200,168,78,0.2);
    color: var(--gold-400);
}
.district-detail {
    font-size: 0.8rem;
    color: var(--text-on-dark-secondary);
    margin-top: 6px;
    position: relative;
}

/* ===== GUIDE SECTION ===== */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.guide-card {
    background: linear-gradient(135deg, var(--gold-50), var(--gold-100));
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}
.guide-card:hover {
    border-color: var(--gold-500);
    box-shadow: var(--shadow-gold);
    transform: translateY(-2px);
}
.guide-card-icon { font-size: 2rem; margin-bottom: 12px; }
.guide-card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--gold-700);
    margin-bottom: 8px;
}
.guide-card-product {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.guide-card-density {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.guide-card-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-style: italic;
}

/* ===== PRICE SECTION ===== */
.price-section {
    padding: 80px 0;
    background: var(--white);
}

.product-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 40px;
}
.product-intro-text { flex: 1; }
.product-intro-image {
    flex: 0 0 280px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
}
.product-intro-image img { width: 100%; object-fit: cover; }

/* Tabs */
.tabs-wrapper { margin-bottom: 32px; }
.tabs-nav {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.tab-btn {
    padding: 8px 20px;
    border: 1px solid var(--gray-200);
    border-radius: 30px;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}
.tab-btn:hover { border-color: var(--green-500); color: var(--green-700); }
.tab-btn.active {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--white);
    border-color: var(--green-700);
    font-weight: 600;
}
.tab-content { display: none; animation: fadeIn 0.4s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Price Layout: Table + Sidebar */
.price-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 24px;
    align-items: start;
}

/* Price Table */
.price-table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
    background: var(--white);
}
.price-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.price-table th {
    background: var(--green-800);
    padding: 14px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--text-on-dark-secondary);
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--green-700);
}
.price-table th.highlight-col {
    color: var(--gold-400);
    background: var(--green-900);
}
.price-table td {
    padding: 12px 20px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--text-primary);
}
.price-table tr:hover td { background: var(--green-50); }
.price-table .price-old {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
}
.price-table .price-new {
    color: var(--green-700);
    font-weight: 700;
    font-size: 0.95rem;
}

/* Price Sidebar (Desktop Only) */
.price-sidebar {
    background: var(--gold-50);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    position: sticky;
    top: 100px;
}
.price-sidebar-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--green-800);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-gold);
}
.price-sidebar-title small {
    display: block;
    font-size: 0.78rem;
    color: var(--gold-600);
    font-family: var(--font-body);
    font-weight: 400;
    font-style: italic;
}
.price-sidebar-gift { font-size: 2.5rem; margin-bottom: 12px; }
.price-sidebar-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}
.price-sidebar-desc strong { color: var(--green-700); }
.price-sidebar .btn {
    width: 100%;
    justify-content: center;
    margin-bottom: 10px;
    padding: 12px 20px;
    font-size: 0.88rem;
}
.price-sidebar .btn-fb {
    background: var(--white);
    border: 1px solid var(--gray-200);
    color: var(--text-primary);
}
.price-sidebar .btn-fb:hover { border-color: var(--green-500); color: var(--green-700); background: var(--green-50); }

/* Section CTA */
.section-cta {
    text-align: center;
    margin-top: 40px;
    padding: 32px;
    background: var(--green-50);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.cta-promo-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}
.cta-promo-text strong { color: var(--green-700); }
.cta-promo-text a { color: var(--green-700); font-weight: 600; }

/* Price Detail Link */
.price-detail-link {
    margin-top: 20px;
    padding: 16px 24px;
    background: var(--gold-50);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.6;
}
.price-detail-link a {
    color: var(--green-700);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.price-detail-link a:hover {
    color: var(--gold-600);
}

/* ===== VERIFY SECTION ===== */
.verify-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 32px;
}
.verify-card {
    background: var(--green-800);
    border: 1px solid var(--green-700);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    color: var(--text-on-dark);
}
.verify-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}
.verify-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 50%;
    margin-bottom: 14px;
}
.verify-icon { font-size: 1.8rem; margin-bottom: 12px; }
.verify-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold-400);
    margin-bottom: 8px;
}
.verify-desc {
    font-size: 0.85rem;
    color: var(--text-on-dark-secondary);
}

/* ===== REVIEWS SECTION ===== */
.reviews-section {
    padding: 80px 0;
    background: var(--green-50);
    overflow: hidden;
}
.reviews-header {
    text-align: center;
    margin-bottom: 16px;
}
.reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--gold-50);
    border: 1px solid var(--border-gold);
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 0.9rem;
    color: var(--gold-700);
    margin: 0 auto 40px;
}
.reviews-track-wrapper {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}
.reviews-track {
    display: flex;
    gap: 24px;
    animation: scrollReviews 60s linear infinite;
    width: max-content;
}
.reviews-track:hover {
    animation-play-state: paused;
}
@keyframes scrollReviews {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.review-card {
    flex: 0 0 380px;
    background: var(--green-800);
    border: 1px solid var(--green-700);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
}
.review-card:hover {
    border-color: var(--gold-500);
    box-shadow: var(--shadow-gold);
}
.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.review-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold-700), var(--gold-500));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.review-info { flex: 1; }
.review-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-on-dark);
}
.review-meta {
    font-size: 0.75rem;
    color: var(--text-on-dark-secondary);
    opacity: 0.7;
}
.review-local-guide {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 10px;
    background: rgba(52,152,219,0.2);
    color: #74b9ff;
    margin-left: 6px;
}
.review-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 10px;
    letter-spacing: 2px;
}
.review-text {
    font-size: 0.88rem;
    color: var(--text-on-dark-secondary);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== STEPS SECTION ===== */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 40px;
    position: relative;
}
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--gray-200), var(--gold-500), var(--gray-200));
    z-index: 0;
}
.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}
.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px; height: 56px;
    background: var(--green-800);
    border: 2px solid var(--gold-500);
    border-radius: 50%;
    font-size: 1.4rem;
    margin-bottom: 16px;
    position: relative;
}
.step-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    color: var(--green-800);
    margin-bottom: 6px;
}
.step-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: 80px 0;
    background: var(--green-50);
}
.faq-list {
    max-width: 800px;
    margin: 32px auto 0;
}
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    overflow: hidden;
    transition: var(--transition);
    background: var(--white);
}
.faq-item.active {
    border-color: var(--green-500);
    box-shadow: var(--shadow-green);
}
.faq-question {
    width: 100%;
    padding: 18px 24px;
    background: var(--white);
    border: none;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    transition: var(--transition);
}
.faq-question:hover { color: var(--green-700); }
.faq-icon {
    font-size: 1.2rem;
    transition: var(--transition);
    color: var(--green-700);
    flex-shrink: 0;
}
.faq-item.active .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.faq-answer-inner {
    padding: 0 24px 18px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== CONTACT / FOOTER ===== */
.contact-section {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--border);
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}
.contact-card {
    background: var(--green-800);
    border: 1px solid var(--green-700);
    border-radius: var(--radius);
    padding: 28px 20px;
    text-align: center;
    transition: var(--transition);
    color: var(--text-on-dark);
}
.contact-card:hover {
    border-color: var(--gold-500);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold);
}
.contact-icon { font-size: 2.2rem; margin-bottom: 14px; }
.contact-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--gold-400);
    margin-bottom: 6px;
}
.contact-value {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-on-dark);
}
.contact-value a { color: var(--text-on-dark); }
.contact-value a:hover { color: var(--gold-400); }
.contact-note {
    font-size: 0.78rem;
    color: var(--text-on-dark-secondary);
    margin-top: 6px;
    opacity: 0.7;
}

/* Footer */
.footer {
    padding: 40px 0;
    background: var(--green-900);
    border-top: 1px solid var(--green-800);
    text-align: center;
    color: var(--text-on-dark);
}
.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--gold-400);
    margin-bottom: 8px;
}
.footer-text {
    font-size: 0.82rem;
    color: var(--text-on-dark-secondary);
    opacity: 0.6;
}
.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    flex-wrap: wrap;
}
.footer-links a {
    font-size: 0.82rem;
    color: var(--text-on-dark-secondary);
}
.footer-links a:hover { color: var(--gold-400); }

/* ===== FLOATING CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 90;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.float-btn {
    width: 56px; height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    transition: var(--transition);
    text-decoration: none;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn.phone {
    background: linear-gradient(135deg, var(--green-800), var(--green-600));
    color: var(--white);
    animation: floatPulse 2s infinite;
}
.float-btn.zalo {
    background: linear-gradient(135deg, #0068ff, #0095ff);
    color: #fff;
}
@keyframes floatPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(26,86,50,0.3); }
    50% { box-shadow: 0 4px 30px rgba(26,86,50,0.5); }
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
/* ===== POPUP LEAD CAPTURE ===== */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}
.popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.popup-container {
    background: var(--white);
    border-radius: 16px;
    max-width: 400px;
    width: 100%;
    position: relative;
    overflow: hidden;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    max-height: 90vh;
    overflow-y: auto;
}
.popup-overlay.active .popup-container {
    transform: scale(1) translateY(0);
}
.popup-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px; height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.9);
    color: var(--green-800);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.popup-close:hover {
    background: var(--white);
    color: var(--red);
    transform: scale(1.1);
}
.popup-header {
    background: linear-gradient(135deg, var(--green-800), var(--green-900));
    padding: 22px 24px 18px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.popup-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(200,168,78,0.1) 0%, transparent 60%);
}
.popup-gift-icon {
    font-size: 2rem;
    margin-bottom: 6px;
    animation: popupBounce 2s ease-in-out infinite;
    position: relative;
}
@keyframes popupBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-6px) scale(1.05); }
}
.popup-title {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--text-on-dark);
    margin-bottom: 4px;
    position: relative;
}
.popup-highlight {
    color: var(--gold-400);
    text-shadow: 0 0 20px rgba(200,168,78,0.3);
}
.popup-subtitle {
    font-size: 0.92rem;
    color: var(--text-on-dark-secondary);
    position: relative;
}
.popup-subtitle strong {
    color: var(--gold-400);
}
.popup-body {
    padding: 18px 24px 22px;
}
.popup-benefits {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    padding: 10px 14px;
    background: var(--green-50);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}
.popup-benefit {
    font-size: 0.82rem;
    color: var(--text-secondary);
}
.popup-benefit strong {
    color: var(--green-700);
}
.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.popup-field input,
.popup-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text-primary);
    background: var(--white);
    transition: var(--transition);
    outline: none;
    box-sizing: border-box;
}
.popup-field input:focus,
.popup-field select:focus {
    border-color: var(--green-600);
    box-shadow: 0 0 0 3px rgba(20, 61, 35, 0.1);
}
.popup-field input::placeholder {
    color: var(--text-muted);
}
.popup-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, var(--gold-600), var(--gold-500));
    color: var(--white);
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.92rem;
    font-weight: 700;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(200,168,78,0.3);
}
.popup-submit:hover {
    background: linear-gradient(135deg, var(--gold-700), var(--gold-600));
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200,168,78,0.4);
}
.popup-submit-icon {
    font-size: 1.2rem;
}
.popup-privacy {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 14px;
}
.popup-success-container {
    max-width: 400px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; max-width: 500px; margin: 0 auto; }
    .hero-content { text-align: center; }
    .hero-subtitle { margin: 0 auto 32px; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .steps-grid::before { display: none; }
    .product-intro { flex-direction: column; }
    .product-intro-image { flex: none; max-width: 400px; }
    .price-layout { grid-template-columns: 1fr; }
    .price-sidebar { display: none; }
}

@media (max-width: 768px) {
    /* Announcement bar: compact mobile */
    .announcement-bar { padding: 8px 0; font-size: 0.78rem; }
    .announcement-bar .container {
        flex-direction: column;
        gap: 6px;
        text-align: center;
    }
    .announcement-text {
        white-space: normal;
        font-size: 0.78rem;
        gap: 4px;
        justify-content: center;
        flex-wrap: wrap;
    }
    .pulse-dot { width: 6px; height: 6px; }
    .announcement-phone {
        font-size: 0.75rem;
        padding: 3px 12px;
    }
    /* Nav & Header */
    .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-glass); backdrop-filter: blur(20px); flex-direction: column; padding: 20px; border-bottom: 1px solid var(--border); }
    .nav.active { display: flex; }
    .mobile-toggle { display: flex; }
    .header-cta { display: none; }
    /* Hero */
    .hero { min-height: auto; padding: 30px 0; }
    .hero-title { font-size: 1.8rem; }
    .hero-badge { font-size: 0.75rem; padding: 6px 14px; text-align: center; line-height: 1.4; }
    .hero-subtitle { font-size: 0.9rem; }
    .hero-scroll-indicator { display: none; }
    .hero-float-card { padding: 8px 12px; }
    .hero-float-card strong { font-size: 0.75rem; }
    .hero-float-card small { font-size: 0.65rem; }
    .float-icon { font-size: 1.2rem; }
    .hero-float-card.card-shipping { bottom: 10px; left: 5px; }
    .hero-float-card.card-warranty { top: 10px; right: 5px; }
    /* Sections */
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .district-grid { grid-template-columns: repeat(2, 1fr); }
    .district-card.premium { grid-column: span 2; }
    .guide-grid { grid-template-columns: 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .review-card { flex: 0 0 300px; }
    .contact-grid { grid-template-columns: repeat(3, 1fr); }
    .section-title { font-size: 1.6rem; }
    .content-section { padding: 50px 0; }
    .price-section { padding: 50px 0; }
    .floating-cta { bottom: 16px; right: 16px; }
    .float-btn { width: 48px; height: 48px; font-size: 1.3rem; }
    /* Popup responsive */
    .popup-container { max-width: 360px; border-radius: 16px; }
    .popup-header { padding: 24px 20px 18px; }
    .popup-title { font-size: 1.3rem; }
    .popup-body { padding: 18px 20px 22px; }
    .popup-gift-icon { font-size: 2.2rem; }
    .popup-submit { padding: 14px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
    /* Announcement: shorter text on very small screens */
    .announcement-text { font-size: 0.7rem; }
    .announcement-phone { font-size: 0.7rem; padding: 2px 8px; }
    /* Layout */
    .trust-grid { grid-template-columns: 1fr; }
    .district-grid { grid-template-columns: 1fr; }
    .district-card.premium { grid-column: span 1; }
    .steps-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .btn { width: 100%; justify-content: center; }
    .contact-grid { grid-template-columns: repeat(2, 1fr); }
    /* Popup small screen */
    .popup-container { max-width: 95%; margin: 0 10px; }
    .popup-header { padding: 20px 16px 14px; }
    .popup-title { font-size: 1.2rem; }
    .popup-subtitle { font-size: 0.82rem; }
    .popup-body { padding: 14px 16px 18px; }
    .popup-benefit { font-size: 0.82rem; }
    .popup-field input, .popup-field select { padding: 12px 14px; font-size: 0.88rem; }
    .popup-submit { padding: 13px; font-size: 0.85rem; }
}

/* ==========================================================================
   PHẦN THÊM CHO WORDPRESS (trang sản phẩm, danh mục, blog, form, menu con)
   Mọi màu/bo góc dùng biến :root của landing ở trên.
   ========================================================================== */

/* ----- Tiện ích ----- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: var(--white); padding: 10px 16px; border-radius: var(--radius-xs); box-shadow: var(--shadow); }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.narrow { max-width: 820px; }
.section-more { text-align: center; margin-top: 36px; }
.btn-sm { padding: 9px 16px; font-size: 0.82rem; }
.stat-value { font-size: 1rem; font-weight: 600; color: var(--gold); }
.hero-float-card.card-warranty { top: 20px; right: -20px; animation-delay: 1s; }
.guide-card--compare { background: linear-gradient(135deg, rgba(200,168,78,0.15), rgba(200,168,78,0.08)); border-color: var(--gold-500); }
.price-section.alt-bg { background: var(--green-50); }
.product-intro-link { margin-top: 10px; }
.product-intro-link a { color: var(--gold-700); font-weight: 600; }
.product-intro-link a:hover { color: var(--green-700); }

/* ----- Menu (WordPress) ----- */
.nav-menu { display: flex; gap: 4px; align-items: center; list-style: none; }
.nav-menu > li { position: relative; }
.nav-menu a {
    display: block;
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: var(--radius-xs);
    white-space: nowrap;
}
.nav-menu a:hover,
.nav-menu .current-menu-item > a,
.nav-menu .current-menu-ancestor > a { color: var(--green-700); background: var(--green-50); }
.nav-menu .menu-item-has-children > a::after { content: " ▾"; font-size: 0.7rem; }
.nav-menu .sub-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: var(--transition);
    z-index: 120;
}
.nav-menu li:hover > .sub-menu,
.nav-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.nav-menu .sub-menu a { padding: 8px 12px; }

/* ----- Tiêu đề trang con ----- */
.page-hero {
    background: linear-gradient(135deg, var(--green-50) 0%, var(--white) 60%, var(--gold-50) 100%);
    border-bottom: 1px solid var(--border);
    padding: 36px 0 40px;
}
.page-hero--product { padding: 18px 0; }
.page-hero .section-tag { margin-top: 14px; }
.breadcrumb { font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--green-700); }
.page-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 1.3rem + 2vw, 2.8rem);
    font-weight: 700;
    line-height: 1.25;
    color: var(--green-900);
    margin-top: 10px;
    text-wrap: balance;
}
.page-desc {
    max-width: 760px;
    margin-top: 12px;
    color: var(--text-secondary);
    font-size: 1.02rem;
    text-align: justify;
    text-align-last: left;
}

/* ----- Danh mục trang chủ ----- */
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.cat-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}
.cat-card:hover { transform: translateY(-4px); border-color: var(--gold-500); box-shadow: var(--shadow-gold); }
.cat-card__media { display: block; aspect-ratio: 4 / 3; background: var(--green-50); overflow: hidden; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.cat-card:hover .cat-card__media img { transform: scale(1.05); }
.cat-card__body { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px 20px; }
.cat-card__name { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--green-900); }
.cat-card__count { font-size: 0.82rem; color: var(--text-muted); }
.cat-card__more { margin-top: 6px; font-size: 0.88rem; font-weight: 600; color: var(--gold-700); }

/* ----- Thẻ sản phẩm ----- */
.cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 36px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-green); border-color: var(--border-light); }
.product-card__media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--gray-50); overflow: hidden; }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.product-card:hover .product-card__media img { transform: scale(1.05); }
.product-card__tag {
    position: absolute; top: 12px; left: 12px;
    background: var(--green-800); color: var(--gold-400);
    font-size: 0.72rem; font-weight: 600;
    padding: 4px 10px; border-radius: 20px;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 18px 18px; }
.product-card__name { font-family: var(--font-heading); font-size: 1.05rem; line-height: 1.4; margin-bottom: 6px; }
.product-card__name a { color: var(--green-900); }
.product-card__name a:hover { color: var(--green-600); }
.product-card__price { font-weight: 700; color: var(--gold-700); margin-bottom: 14px; }
.product-card__actions { display: flex; gap: 8px; margin-top: auto; }
.product-card__actions .btn { flex: 1; justify-content: center; }

/* ----- Trang sản phẩm ----- */
.product-detail { padding: 50px 0 70px; }
.product-detail__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: start; }
.product-detail__media {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    background: var(--gray-50);
}
.product-detail__media img { width: 100%; height: auto; }
.product-detail__title {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.5rem);
    line-height: 1.25;
    color: var(--green-900);
    margin: 12px 0 10px;
    text-wrap: balance;
}
.product-detail__price { font-size: 1.4rem; font-weight: 700; color: var(--gold-700); margin-bottom: 14px; }
.product-detail__summary { color: var(--text-secondary); margin-bottom: 16px; text-align: justify; text-align-last: left; }
.product-detail__features { list-style: none; display: grid; gap: 8px; margin-bottom: 26px; }
.product-detail__features li { position: relative; padding-left: 28px; color: var(--text-primary); }
.product-detail__features li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--green-600); font-weight: 700; }
.product-detail__actions { margin-bottom: 22px; }
.product-detail__trust {
    list-style: none;
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    background: var(--green-50);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.price-note-box { padding: 28px; background: var(--white); }
.price-note-box p + p { margin-top: 8px; color: var(--text-secondary); }
.price-note-box strong { font-size: 1.3rem; color: var(--gold-700); }

/* ----- Form đặt mua ----- */
.order-box {
    background: var(--white);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius);
    box-shadow: var(--shadow-gold);
    padding: 32px;
}
.order-box__title { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 700; color: var(--green-900); margin-bottom: 6px; }
.order-box__lead { color: var(--text-secondary); margin-bottom: 20px; }
.order-form { display: grid; gap: 14px; }
.order-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.order-form label { display: grid; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--text-primary); }
.order-form input,
.order-form select,
.order-form textarea {
    width: 100%;
    font: inherit;
    font-weight: 400;
    font-size: 0.95rem;
    padding: 12px 14px;
    border: 1.5px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--gray-50);
    color: var(--text-primary);
    transition: var(--transition);
}
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus { outline: none; border-color: var(--green-500); background: var(--white); box-shadow: 0 0 0 3px rgba(45,148,86,0.12); }
.order-form__submit { justify-content: center; border: 0; cursor: pointer; font-size: 1rem; }
.order-form__note { font-size: 0.8rem; color: var(--text-muted); text-align: center; }
.notice { padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 600; }
.notice--ok { background: var(--green-100); color: var(--green-800); }
.notice--err { background: #fdecea; color: #a5281b; }

/* ----- Nội dung bài / trang ----- */
.entry { max-width: 820px; margin: 0 auto; color: var(--text-primary); font-size: 1.02rem; }
.entry > * + * { margin-top: 1.1em; }
.entry h2 { font-family: var(--font-heading); font-size: 1.7rem; line-height: 1.3; color: var(--green-900); margin-top: 1.8em; }
.entry h3 { font-family: var(--font-heading); font-size: 1.3rem; color: var(--green-800); margin-top: 1.5em; }
.entry p, .entry li { text-align: justify; text-align-last: left; }
.entry ul, .entry ol { padding-left: 1.4em; }
.entry li + li { margin-top: 0.4em; }
.entry a { color: var(--green-700); text-decoration: underline; text-underline-offset: 3px; }
.entry img { border-radius: var(--radius-sm); margin-left: auto; margin-right: auto; }
.entry table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.entry th, .entry td { border: 1px solid var(--gray-200); padding: 10px 12px; text-align: left; }
.entry th { background: var(--green-800); color: var(--white); }
.entry blockquote { border-left: 4px solid var(--gold-500); background: var(--gold-50); padding: 14px 18px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.entry figure { margin-left: 0; margin-right: 0; }
.entry figcaption { font-size: 0.85rem; color: var(--text-muted); text-align: center; margin-top: 6px; }
.entry-cover { width: 100%; margin-bottom: 1.5em; }

/* ----- Blog ----- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card {
    display: flex; flex-direction: column;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-green); }
.post-card__media { display: block; aspect-ratio: 4 / 3; background: var(--green-50); overflow: hidden; }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 20px; }
.post-card__date { font-size: 0.78rem; color: var(--text-muted); }
.post-card__title { font-family: var(--font-heading); font-size: 1.12rem; line-height: 1.4; margin: 6px 0 8px; }
.post-card__title a { color: var(--green-900); }
.post-card__text { font-size: 0.9rem; color: var(--text-secondary); margin-bottom: 12px; }
.post-card__more { margin-top: auto; font-weight: 600; font-size: 0.88rem; color: var(--gold-700); }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 50px; }
.blog-layout .entry { margin: 0; max-width: none; }
.sidebar { align-self: stretch; }
.sidebar .price-sidebar { display: flex; }
.sidebar__cats { margin-top: 20px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }
.sidebar__cats ul { list-style: none; display: grid; gap: 8px; margin-top: 10px; }
.sidebar__cats a { color: var(--text-secondary); }
.sidebar__cats a:hover { color: var(--green-700); }
.sidebar__cats .footer-heading { color: var(--green-900); }
@media (min-width: 1024px) and (min-height: 700px) {
    .sidebar__sticky { position: sticky; top: 100px; }
}
.pagination, .nav-links { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.page-numbers { padding: 8px 14px; border: 1px solid var(--border); border-radius: var(--radius-xs); color: var(--text-secondary); }
.page-numbers.current { background: var(--green-700); color: var(--white); border-color: var(--green-700); }
.empty-state { text-align: center; max-width: 640px; margin: 0 auto; }
.empty-state .page-desc { margin: 12px auto 26px; text-align: center; }

/* ----- Liên hệ ----- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.contact-layout .entry { margin: 0; }
.contact-list { list-style: none; display: grid; gap: 10px; margin-top: 20px; }
.contact-map { border: 0; border-radius: var(--radius); margin-top: 24px; }

/* ----- Footer nhiều cột ----- */
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; text-align: left; margin-bottom: 30px; }
.footer-col ul { list-style: none; display: grid; gap: 8px; }
.footer-col a { color: rgba(240,237,230,0.75); }
.footer-col a:hover { color: var(--gold-400); }
.footer-col .footer-text a { color: var(--gold); }
.footer-heading { font-family: var(--font-heading); font-size: 1.05rem; font-weight: 700; color: var(--gold-400); margin-bottom: 12px; }
.footer-copy { margin-top: 18px; font-size: 0.78rem; color: rgba(240,237,230,0.5); text-align: center; }

/* ----- Responsive phần thêm ----- */
@media (max-width: 1024px) {
    .cat-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
    .product-detail__grid, .blog-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .blog-layout .sidebar { max-width: 520px; }
    .nav-menu a { padding: 6px 8px; font-size: 0.84rem; }
}
@media (max-width: 900px) and (min-width: 769px) {
    .header-cta { display: none; }
}
@media (max-width: 768px) {
    .nav-menu { flex-direction: column; align-items: stretch; width: 100%; gap: 2px; }
    .nav-menu a { padding: 10px 12px; font-size: 0.95rem; }
    .nav-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; min-width: 0; background: transparent; }
    .nav-menu .menu-item-has-children > a::after { content: ""; }
    .nav { max-height: calc(100vh - 120px); overflow-y: auto; }
    .cat-grid, .product-grid, .post-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .cat-card__body, .product-card__body { padding: 12px 14px 14px; }
    .cat-card__name { font-size: 1rem; }
    .product-card__name { font-size: 0.95rem; }
    .product-card__actions { flex-direction: column; }
    .product-detail { padding: 24px 0 50px; }
    .order-box { padding: 22px 18px; }
    .order-form__row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .footer-col--brand { grid-column: 1 / -1; }
    .page-hero { padding: 24px 0 28px; }
    .price-table { font-size: 0.82rem; }
    .price-table th, .price-table td { padding: 10px 8px; }
}
@media (max-width: 480px) {
    .post-grid { grid-template-columns: 1fr; }
    .product-card__actions .btn { width: 100%; }
}

/* ----- Giá ưu đãi CK 12% ----- */
.price-list { color: var(--text-muted); font-weight: 400; font-size: 0.85em; margin-right: 4px; }
.price-table td.price-new .price-list { display: block; margin: 0 0 2px; font-size: 0.78rem; }
.price-now { color: var(--gold-700); font-weight: 700; }
.price-badge { display: inline-block; background: var(--red); color: var(--white); font-size: 0.72rem; font-weight: 700; padding: 2px 7px; border-radius: 20px; vertical-align: middle; }
.product-detail__price .price-list { font-size: 1rem; }
