:root {
        --primary: #307a55;
        --primary-light: #4a9a6e;
        --primary-dark: #1f5a3d;
        --primary-gradient: linear-gradient(135deg, #307a55, #4a9a6e);
        --white: #ffffff;
        --light-bg: #f8faf9;
        --gray: #6c757d;
        --gray-light: #e8ecea;
        --text-dark: #1a1a2e;
        --text-light: #4a4a4a;
        --success: #307a55;
        --danger: #dc3545;
        --warning: #ffc107;
    }

    /* ===== CHẶN TRÀN NGANG TRÊN MOBILE (an toàn, không đổi giao diện hiện có) ===== */
    html {
        overflow-x: hidden;
        max-width: 100%;
    }

    body {
        font-family: var(--rd-font-body, 'Inter', sans-serif);
        background: var(--light-bg);
        padding-top: 76px;
        min-height: 100vh;
        color: var(--text-dark);
        overflow-x: hidden;
        max-width: 100%;
        position: relative;
    }
    
    /* ===== HEADER ===== */
    .navbar-custom {
        background: var(--white);
        box-shadow: 0 2px 20px rgba(48, 122, 85, 0.08);
        padding: 12px 0;
        border-bottom: 2px solid var(--primary);
    }
    
    .navbar-custom .navbar-brand {
        font-weight: 800;
        font-size: 1.6rem;
        color: var(--primary);
        letter-spacing: -0.5px;
    }
    
    .navbar-custom .navbar-brand i {
        color: var(--primary);
    }
    
    .navbar-custom .nav-link {
        font-weight: 500;
        color: var(--text-light);
        padding: 8px 16px;
        border-radius: 8px;
        transition: all 0.3s;
    }
    
    .navbar-custom .nav-link:hover {
        color: var(--primary);
        background: rgba(48, 122, 85, 0.06);
    }
    
    .navbar-custom .nav-link.active {
        color: var(--white);
        background: var(--primary);
    }
    
    .navbar-custom .nav-link i {
        margin-right: 6px;
    }
    
    .btn-zalo {
        background: var(--primary);
        color: var(--white);
        border-radius: 50px;
        padding: 8px 24px;
        font-weight: 600;
        transition: all 0.3s;
        border: none;
    }
    
    .btn-zalo:hover {
        background: var(--primary-dark);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(48, 122, 85, 0.35);
    }
    
    .btn-zalo i {
        margin-right: 8px;
    }
    
    /* ===== BUTTONS ===== */
    .btn-primary {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
    }
    
    .btn-primary:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(48, 122, 85, 0.3);
    }
    
    .btn-outline-primary {
        color: var(--primary);
        border-color: var(--primary);
    }
    
    .btn-outline-primary:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(48, 122, 85, 0.3);
    }
    
    .btn-success {
        background: var(--primary);
        border-color: var(--primary);
        color: var(--white);
    }
    
    .btn-success:hover {
        background: var(--primary-dark);
        border-color: var(--primary-dark);
        color: var(--white);
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(48, 122, 85, 0.3);
    }
    
    /* ===== FOOTER ===== */
    .footer {
        background: var(--text-dark);
        color: var(--white);
        padding: 60px 0 30px;
        margin-top: 0px;
        border-top: 4px solid var(--primary);
    }
    
    .footer h5 {
        color: var(--primary);
        font-weight: 700;
        font-size: 1.1rem;
        margin-bottom: 20px;
        position: relative;
        padding-bottom: 12px;
    }
    
    .footer h5::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 30px;
        height: 3px;
        /* background: var(--primary); */
        border-radius: 2px;
    }
    
    .footer p {
        color: #ffffff;
        font-size: 0.95rem;
        line-height: 1.8;
    }
    
    .footer ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer ul li {
        margin-bottom: 10px;
    }
    
    .footer ul li a {
        color: #ffffff;
        text-decoration: none;
        transition: all 0.3s;
        font-size: 0.95rem;
    }
    
    .footer ul li a:hover {
        color: var(--white);
        padding-left: 5px;
    }
    
    .footer ul li a i {
        width: 20px;
        color: var(--primary);
    }
    
    .footer .social-icons {
        display: flex;
        gap: 10px;
        margin-top: 15px;
    }
    
    .footer .social-icons a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.08);
        border-radius: 50%;
        color: #aaa;
        transition: all 0.3s;
        text-decoration: none;
    }
    
    .footer .social-icons a:hover {
        background: var(--primary);
        color: var(--white);
        transform: translateY(-3px);
    }
    
    .footer-bottom {
        border-top: 1px solid rgba(255,255,255,0.06);
        padding-top: 20px;
        margin-top: 30px;
        text-align: center;
        color: #666;
        font-size: 0.85rem;
    }
    
    /* ===== CARD ===== */
    .card-hover {
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        border: none;
        border-radius: 16px;
        overflow: hidden;
        background: var(--white);
        height: 100%;
        box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    }
    
    .card-hover:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(48, 122, 85, 0.12);
    }
    
    .card-hover .card-img-top {
        height: 220px;
        object-fit: cover;
    }
    
    /* ===== SECTION TITLE ===== */
    .section-title {
        font-weight: 800;
        font-size: 2rem;
        margin-bottom: 32px;
        position: relative;
        padding-bottom: 16px;
        color: var(--text-dark);
    }
    
    .section-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 50px;
        height: 4px;
        /* background: var(--primary); */
        border-radius: 2px;
    }
    
    .section-title.text-center::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .section-title span {
        color: var(--primary);
    }
    
    /* ===== BADGE ===== */
    .badge-hot {
        position: absolute;
        top: 16px;
        right: 16px;
        background: var(--danger);
        color: var(--white);
        padding: 4px 14px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.75rem;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
    }
    
    .badge-new {
        position: absolute;
        top: 16px;
        left: 16px;
        background: var(--primary);
        color: var(--white);
        padding: 4px 14px;
        border-radius: 50px;
        font-weight: 600;
        font-size: 0.75rem;
        z-index: 10;
    }
    
    /* ===== BREADCRUMB ===== */
    .breadcrumb-custom {
        background: transparent;
        padding: 16px 0;
        margin-bottom: 0;
    }
    
    .breadcrumb-custom .breadcrumb-item a {
        color: var(--primary);
        text-decoration: none;
    }
    
    .breadcrumb-custom .breadcrumb-item a:hover {
        text-decoration: underline;
    }
    
    /* ===== PAGINATION ===== */
    .pagination-custom .page-link {
        border: none;
        color: var(--text-light);
        border-radius: 8px;
        margin: 0 3px;
        padding: 8px 16px;
        font-weight: 500;
        transition: all 0.3s;
    }
    
    .pagination-custom .page-link:hover {
        background: var(--primary);
        color: var(--white);
    }
    
    .pagination-custom .active .page-link {
        background: var(--primary);
        color: var(--white);
        box-shadow: 0 4px 12px rgba(48, 122, 85, 0.3);
    }
    
    /* ===== ALERT ===== */
    .alert-success {
        background: var(--primary);
        color: var(--white);
        border: none;
    }
    
    .alert-success .btn-close {
        filter: brightness(0) invert(1);
    }
    
    /* ===== FORM ===== */
    .form-control:focus {
        border-color: var(--primary);
        box-shadow: 0 0 0 0.2rem rgba(48, 122, 85, 0.25);
    }
    
    .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }
    
    .input-group-text {
        background: var(--light-bg);
        border-color: #dee2e6;
    }
    
    /* ===== RESPONSIVE ===== */
    @media (max-width: 992px) {
        .navbar-custom .navbar-nav {
            padding: 16px 0;
        }
        
        .navbar-custom .nav-link {
            padding: 10px 16px;
        }
        
        .navbar-custom .nav-link.active {
            background: var(--primary);
            color: var(--white);
            border-radius: 8px;
        }
        
        .btn-zalo {
            margin-top: 8px;
            width: 100%;
            text-align: center;
        }
    }
    
    @media (max-width: 768px) {
        body {
            padding-top: 60px;
        }
        
        .section-title {
            font-size: 1.5rem;
        }
        
        .navbar-custom .navbar-brand {
            font-size: 1.2rem;
        }
        
        .card-hover .card-img-top {
            height: 180px;
        }
    }
    
    /* ===== UTILITY ===== */
    .text-primary-custom {
        color: var(--primary);
    }
    
    .bg-primary-custom {
        background: var(--primary);
    }
    
    .bg-primary-gradient {
        background: var(--primary-gradient);
    }
    
    .rounded-4 {
        border-radius: 16px;
    }
    
    .shadow-hover:hover {
        box-shadow: 0 8px 30px rgba(48, 122, 85, 0.1);
    }
    
    .border-primary-custom {
        border-color: var(--primary);
    }
    
    /* ===== ANIMATION ===== */
    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .fade-in-up {
        animation: fadeInUp 0.6s ease forwards;
    }
    
    /* ===== SCROLLBAR: đã trả về mặc định trình duyệt ===== */