/* === PRODUCTS PAGE STYLES === */

        /* Pagination */
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 50px;
            padding-top: 30px;
            border-top: 1px solid #e0e0e0;
        }
        .page-link {
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 8px;
            border: 2px solid #e0e0e0;
            background: var(--white);
            color: #555;
            font-size: 14px;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s;
            font-family: 'Be Vietnam Pro', sans-serif;
        }
        .page-link:hover {
            border-color: var(--primary);
            color: var(--primary);
        }
        .page-link.active {
            background: var(--primary);
            border-color: var(--primary);
            color: var(--dark);
        }
        .page-link.disabled {
            opacity: 0.4;
            pointer-events: none;
        }
        .page-link.arrow {
            font-size: 16px;
        }

        /* SEO Content Section */
        .seo-content-section {
            padding: 50px 0;
            background: var(--white);
        }
        .seo-content-box {
            background: #f8f9fa;
            border-radius: 12px;
            padding: 30px;
            border: 1px solid #eee;
        }
        .seo-content-box h2 {
            font-family: 'Montserrat', sans-serif;
            font-size: 20px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 15px;
        }
        .seo-content-box h3 {
            font-size: 16px;
            font-weight: 600;
            color: var(--dark);
            margin: 15px 0 8px;
        }
        .seo-content-box p,
        .seo-content-box li {
            font-size: 14px;
            color: #555;
            line-height: 1.8;
        }
        .seo-content-box ul {
            padding-left: 20px;
            margin: 8px 0;
        }
        .seo-content-box li {
            margin-bottom: 4px;
        }
        .seo-content-wrapper {
            max-height: 120px;
            overflow: hidden;
            position: relative;
            transition: max-height 0.5s ease;
        }
        .seo-content-wrapper.expanded {
            max-height: 2000px;
        }
        .seo-content-wrapper::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 60px;
            background: linear-gradient(transparent, #f8f9fa);
            pointer-events: none;
            transition: opacity 0.3s;
        }
        .seo-content-wrapper.expanded::after {
            opacity: 0;
        }
        .seo-toggle-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            margin-top: 15px;
            padding: 10px 24px;
            background: transparent;
            border: 2px solid var(--primary);
            border-radius: 25px;
            color: var(--primary);
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            font-family: 'Be Vietnam Pro', sans-serif;
            margin-left: auto;
            margin-right: auto;
        }
        .seo-toggle-btn:hover {
            background: var(--primary);
            color: var(--dark);
        }
        .seo-toggle-btn i {
            transition: transform 0.3s;
        }
        .seo-toggle-btn.active i {
            transform: rotate(180deg);
        }

        /* Products Grid */
        .products-section {
            padding: 50px 0 80px;
            background: #ffffff;
        }
        .products-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 30px;
        }

        /* Product Card */
        .product-card {
            background: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: 0 2px 15px rgba(0,0,0,0.06);
            transition: all 0.3s;
            position: relative;
        }
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0,0,0,0.12);
        }
        .product-badge {
            position: absolute;
            top: 12px;
            left: 12px;
            padding: 4px 12px;
            border-radius: 20px;
            font-size: 11px;
            font-weight: 600;
            text-transform: uppercase;
            z-index: 2;
        }
        .badge-hot {
            background: #ff4444;
            color: white;
        }
        .badge-new {
            background: #00c853;
            color: white;
        }
        .badge-sale {
            background: var(--primary);
            color: var(--dark);
        }
        .product-image {
            position: relative;
            height: 240px;
            background: #ffffff;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            padding: 20px;
        }
        .product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s;
        }
        .product-card:hover .product-image img {
            transform: scale(1.05);
        }
        .product-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 12px;
            background: linear-gradient(transparent, rgba(0,0,0,0.7));
            display: flex;
            justify-content: center;
            gap: 10px;
            opacity: 0;
            transition: opacity 0.3s;
        }
        .product-card:hover .product-overlay {
            opacity: 1;
        }
        .overlay-btn {
            width: 38px;
            height: 38px;
            border-radius: 50%;
            background: white;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            color: var(--dark);
            font-size: 14px;
            transition: all 0.3s;
        }
        .overlay-btn:hover {
            background: var(--primary);
        }
        .product-content {
            padding: 20px;
        }
        .product-brand {
            font-size: 12px;
            color: var(--primary);
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            margin-bottom: 6px;
        }
        .product-name {
            font-family: 'Montserrat', sans-serif;
            font-size: 16px;
            font-weight: 700;
            color: var(--dark);
            margin-bottom: 8px;
            line-height: 1.3;
            /* Cấu hình hiển thị tối đa 2 dòng + dấu ... */
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            
            /* Cố định chiều cao tối đa cho 2 dòng để dàn trang đều nhau */
            height: calc(16px * 1.3 * 2);
        }
        .product-name a {
            color: inherit;
            text-decoration: none;
        }
        .product-name a:hover {
            color: var(--primary);
        }
        .product-features {
            list-style: none;
            padding: 0;
            margin: 0 0 15px;
        }
        .product-features li {
            font-size: 13px;
            color: #666;
            padding: 3px 0;
            padding-left: 18px;
            position: relative;
        }
        .product-features li::before {
            content: '\f00c';
            font-family: 'Font Awesome 5 Pro';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: #00c853;
            font-size: 11px;
        }
        .product-price-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding-top: 15px;
            border-top: 1px solid #f0f0f0;
        }
        .product-price {
            display: flex;
            flex-direction: column;
        }
        .price-old {
            font-size: 13px;
            color: #999;
            text-decoration: line-through;
        }
        .price-current {
            font-size: 18px;
            font-weight: 700;
            color: #ff4444;
        }
        .product-action {
            padding: 8px 16px;
            background: var(--primary);
            color: var(--dark);
            border: none;
            border-radius: 8px;
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            text-decoration: none;
            transition: all 0.3s;
            font-family: 'Be Vietnam Pro', sans-serif;
        }
        .product-action:hover {
            background: #d4900a;
            transform: scale(1.05);
        }

        /* Features Bar */
        .features-bar {
            padding: 40px 0;
            background: var(--white);
            border-top: 1px solid #eee;
        }
        .features-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 30px;
        }
        .feature-item {
            text-align: center;
            padding: 20px;
        }
        .feature-icon {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(240,165,0,0.1);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px;
            font-size: 22px;
            color: var(--primary);
        }
        .feature-item h4 {
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
            margin-bottom: 4px;
        }
        .feature-item p {
            font-size: 13px;
            color: #888;
            margin: 0;
        }

        /* CTA Banner */
        .cta-banner {
            background: url('https://images.unsplash.com/photo-1492691527719-9d1e07e534b4?w=1600&q=80') center/cover no-repeat;
        }
/* Responsive */
        @media (max-width: 968px) {
            .products-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 20px;
            }
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 576px) {
            .products-grid {
                grid-template-columns: 1fr;
            }
            .filter-bar {
                flex-direction: column;
                align-items: flex-start;
            }
            .filter-left {
                width: 100%;
                overflow-x: auto;
                flex-wrap: nowrap;
                padding-bottom: 5px;
            }
            .features-grid {
                grid-template-columns: 1fr 1fr;
                gap: 15px;
            }
            .product-image {
                height: 200px;
            }
        }