/**
 * Categories Grid Clean - Before Footer
 * Version: 3.0 - تصميم نظيف بدون حركة
 */

.nl7za-categories-grid-section {
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    padding: 50px 0;
    margin-top: 60px;
    border-top: 5px solid #00A859;
    box-shadow: inset 0 10px 30px rgba(0,0,0,0.03);
}

.section-header-cats {
    text-align: center;
    margin-bottom: 35px;
}

.section-title-cats {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin: 0;
    padding-bottom: 15px;
    border-bottom: 3px solid #00A859;
    display: inline-block;
    min-width: 200px;
}

/* شبكة الأقسام - Grid نظيف */
.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 18px;
    max-width: 1200px;
    margin: 0 auto;
}

/* زر القسم - نظيف وواضح */
.category-btn-simple {
    display: block;
    padding: 18px 25px;
    background: #ffffff;
    border: 3px solid #00A859;
    border-radius: 30px;
    text-decoration: none;
    color: #00A859;
    font-size: 16px;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,168,89,0.15);
}

/* ═══════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════ */

@media (max-width: 992px) {
    .categories-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
}

@media (max-width: 768px) {
    .nl7za-categories-grid-section {
        padding: 30px 0;
        margin-top: 40px;
    }
    
    .section-header-cats {
        margin-bottom: 25px;
    }
    
    .section-title-cats {
        font-size: 20px;
        padding-bottom: 12px;
    }
    
    /* الموبايل: عمودين ثابت - جدول واضح */
    .categories-grid-modern {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .category-btn-simple {
        padding: 14px 18px;
        font-size: 14px;
        border-radius: 25px;
        border-width: 2px;
    }
}

@media (max-width: 480px) {
    .category-btn-simple {
        padding: 10px 12px;
        font-size: 12px;
    }
}

