/* Bundle: mps-category-bundle-v3.min.css — Built: 2026-08-14 06:32:43 */

/* === mps-category-showcase.css (22182 bytes) === */
/*--------------------------------------------------------------
  MPS Category Showcase - Layout Styles
  Note: Card styles are imported from mps-showcase-card.css
--------------------------------------------------------------*/

/* Import Unified Variables */

/*--------------------------------------------------------------
  1. Main Layout & Container
--------------------------------------------------------------*/
/*--------------------------------------------------------------
  1. Main Layout & Container
--------------------------------------------------------------*/
.mps-showcase-container {
  max-width: 1300px;
  width: 100%;
  margin: 0 auto;
  padding: 20px 15px;
  direction: rtl;
  font-family: 'Cairo', sans-serif;
  box-sizing: border-box;
}

/* Page Header */
.mps-category-header {
  margin-bottom: 25px;
  text-align: center;
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mps-category-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--mps-primary, #2c3e50);
  margin-bottom: 10px;
}

.mps-category-description {
  color: var(--mps-text-secondary, #666);
  font-size: 16px;
  max-width: 800px;
  margin: 0 auto;
}

/* Layout Grid (Sidebar + Content) */
.mps-showcase-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  /* Content | Sidebar */
  gap: 25px;
  align-items: start;
}

.mps-main-content {
  width: 100%;
  min-width: 0;
}

/* Sidebar Container */
.mps-sidebar-content {
  min-width: 0;
  align-self: start;
}

.mps-sidebar-content .sidebar-sticky {
  position: static;
}

/* Sticky Sidebar - styles managed by mps-unified-sidebar.css */

/*--------------------------------------------------------------
  2. Filters & Search Bar - Professional Design
--------------------------------------------------------------*/
.mps-filters-container {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 28px;
}

/* ============================================
   Brands Navigation - Compact Chip Layout
   ============================================ */
.mps-brands-navigation {
  margin-bottom: 0;
  position: relative;
}

.mps-brands-title {
  font-size: 18px;
  font-weight: 800 !important;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #000000 !important;
  padding: 0;
}

.mps-brands-title i {
  color: #fbc02d;
  font-size: 18px;
}

/* Brand Chip - Compact Horizontal Style */
.mps-brand-item {
  display: flex !important;
  flex-direction: row !important;
  justify-content: flex-start !important;
  align-items: center !important;
  height: auto !important;
  width: 100% !important;
  background: #ffffff !important;
  border: 1.5px solid #e8e8e8 !important;
  border-radius: 12px !important;
  padding: 10px 14px !important;
  box-sizing: border-box !important;
  box-shadow: none !important;
  text-decoration: none !important;
  overflow: hidden !important;
  position: relative !important;
  margin: 0 !important;
  gap: 10px !important;
  transition: all 0.25s ease !important;
}

.mps-brand-item:hover {
  border-color: #fbc02d !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(251, 192, 45, 0.15) !important;
  background: #fffdf5 !important;
  z-index: 2;
}

/* Active/Current State */
.mps-brand-item.current {
  background: #2d3436 !important;
  border: 1.5px solid #2d3436 !important;
  box-shadow: 0 4px 14px rgba(45, 52, 54, 0.2) !important;
}

/* Hidden Brands */
.mps-brand-hidden {
  display: none !important;
}

.mps-brands-navigation.expanded .mps-brand-hidden {
  display: flex !important;
}

/* Logo Area - Small Square */
.mps-brand-logo-wrap {
  width: 52px !important;
  min-width: 52px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 5px !important;
  background: #f7f8fa !important;
  border-radius: 10px !important;
  flex-shrink: 0 !important;
}

.mps-brand-item.current .mps-brand-logo-wrap {
  background: rgba(255, 255, 255, 0.15) !important;
}

.mps-brand-logo-wrap img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
  margin: 0 !important;
  display: block !important;
}

/* Fallback Icon */
.mps-brand-fallback-icon {
  font-size: 24px !important;
  color: #b0bec5 !important;
}

.mps-brand-item:hover .mps-brand-fallback-icon {
  color: #fbc02d !important;
}

.mps-brand-item.current .mps-brand-fallback-icon {
  color: #ffffff !important;
}

/* Brand Name Container */
.mps-brand-content {
  width: auto !important;
  flex: 1 !important;
  background: transparent !important;
  text-align: right !important;
  padding: 0 !important;
  margin: 0 !important;
  min-width: 0 !important;
}

.mps-brand-name {
  display: block !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  color: #2d3436 !important;
  margin: 0 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  background: transparent !important;
}

.mps-brand-item.current .mps-brand-name {
  color: #fff !important;
  font-weight: 700 !important;
}

/* Hide Count */
.mps-brand-count {
  display: none !important;
}

/* Active Indicator */
.mps-current-indicator {
  position: absolute !important;
  top: 50% !important;
  left: 10px !important;
  right: auto !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  background: #fbc02d !important;
  color: #fff !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 9px !important;
  z-index: 5 !important;
  box-shadow: none !important;
}

/* Brands Grid - Compact 3-Column */
.mps-brands-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 8px !important;
  margin-bottom: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Show More Button Area */
.mps-brands-toggle {
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  width: fit-content !important;
  padding: 6px 20px;
  background: #fafafa;
  border: 1.5px solid #eee;
  border-radius: 20px;
  color: #555;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.mps-brands-toggle:hover {
  border-color: #fbc02d;
  background: #fffbeb;
  color: #2d3436;
}

.mps-toggle-icon {
  font-size: 11px;
  transition: transform 0.3s ease;
}

/* Divider */
.mps-filters-divider {
  height: 1px;
  background: #eee;
  margin: 20px 0;
}

/* ============================================
   Search & Filters - Redesigned
   ============================================ */
.mps-search-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.mps-search-bar {
  flex: 1;
  min-width: 280px;
}

.mps-search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #fafafa;
  border: 1.5px solid #eee;
  border-radius: 10px;
  padding: 4px;
  transition: all 0.2s;
}

.mps-search-input-wrapper:focus-within {
  border-color: #fbc02d;
  background: #fffbeb;
}

.mps-search-icon {
  padding: 0 12px;
  color: #999;
  font-size: 14px;
}

#mps-phone-search {
  border: none;
  background: transparent;
  width: 100%;
  padding: 10px 8px;
  outline: none;
  font-family: inherit;
  font-size: 14px;
  color: #333;
}

#mps-phone-search::placeholder {
  color: #aaa;
}

.mps-search-btn {
  background: #2d3436;
  color: white;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 6px;
}

.mps-search-btn:hover {
  background: #1a202c;
}

/* Filter Controls */
.mps-filter-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mps-filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mps-filter-group label {
  font-weight: 600;
  font-size: 13px;
  color: #555;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mps-filter-group label i {
  color: #fbc02d;
  font-size: 13px;
}

.mps-filter-group select {
  padding: 8px 14px;
  border: 1.5px solid #eaeaea;
  border-radius: 8px;
  background: #fafafa;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  color: #333;
  transition: all 0.25s ease;
}

.mps-filter-group select:hover,
.mps-filter-group select:focus {
  border-color: #fbc02d;
  background: #fffbeb;
  box-shadow: 0 4px 12px rgba(251, 192, 45, 0.15);
  outline: none;
}

.mps-reset-btn {
  background: transparent;
  border: 1.5px solid #eee;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  font-family: inherit;
  font-size: 13px;
  color: #555;
  font-weight: 600;
}

.mps-reset-btn:hover {
  background: #fff5f5;
  color: #e53e3e;
  border-color: #e53e3e;
}

.mps-reset-btn i {
  font-size: 12px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
  .mps-filters-container {
    padding: 18px;
  }

  .mps-brands-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
  }

  .mps-brand-item {
    padding: 8px 10px !important;
    gap: 8px !important;
  }

  .mps-brand-logo-wrap {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
  }

  .mps-brand-name {
    font-size: 12px !important;
  }

  .mps-brands-title {
    font-size: 15px;
    margin-bottom: 12px;
    gap: 7px;
  }

  .mps-brands-title i {
    font-size: 15px;
  }

  .mps-search-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .mps-search-bar {
    min-width: 100%;
  }

  .mps-filter-controls {
    justify-content: flex-start;
    width: 100%;
    flex-wrap: wrap;
    gap: 12px;
  }

  .mps-filter-group {
    flex: 1;
    min-width: 140px;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .mps-filter-group select {
    width: 100%;
    padding: 8px 12px;
    height: 42px;
  }

  .mps-reset-btn {
    width: 100%;
    justify-content: center;
    margin-top: 8px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .mps-brand-item {
    padding: 7px 8px !important;
    gap: 6px !important;
  }

  .mps-brand-logo-wrap {
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
  }

  .mps-brand-fallback-icon {
    font-size: 14px !important;
  }

  .mps-brand-name {
    font-size: 11px !important;
  }


  .mps-brands-toggle {
    font-size: 12px;
    padding: 5px 16px;
  }

  .mps-filter-group {
    min-width: 100%;
  }

  .mps-reset-btn span {
    display: inline-block;
  }

  .mps-reset-btn {
    padding: 10px 12px;
  }
}


/*--------------------------------------------------------------
  3. No Phones Found
--------------------------------------------------------------*/
.mps-no-phones {
  text-align: center;
  padding: 50px;
  background: #fff;
  border-radius: 12px;
  color: #666;
  font-size: 18px;
}

/*--------------------------------------------------------------
  4. Phones Grid Layout
--------------------------------------------------------------*/
.mps-phones-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(var(--category-desktop-columns, 3), 1fr);
  grid-auto-flow: dense;
  margin-bottom: 30px;
}

/*--------------------------------------------------------------
  4. Responsive Adjustments
--------------------------------------------------------------*/
@media (max-width: 1200px) {
  .mps-showcase-layout {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 992px) {
  .mps-showcase-container {
    padding: 20px 24px;
  }

  .mps-showcase-layout {
    grid-template-columns: 1fr;
    /* Stack sidebar below content */
  }

  .mps-sidebar-content {
    order: 2;
  }

  .mps-search-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .mps-filter-controls {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .mps-showcase-container {
    padding: 15px 16px;
  }

  .mps-phones-grid {
    grid-template-columns: repeat(var(--category-tablet-columns, 2), 1fr) !important;
  }

  .mps-category-title {
    font-size: 22px;
  }
}

@media (max-width: 480px) {
  .mps-phones-grid {
    grid-template-columns: repeat(var(--category-mobile-columns, 2), 1fr) !important;
    gap: 10px;
  }
}

/*--------------------------------------------------------------
  5. Pagination
--------------------------------------------------------------*/
.mps-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  direction: ltr;
  /* To keep order 1 2 > consistent */
}

.mps-pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  background: #fff;
  border: 1px solid #e1e4e8;
  border-radius: 8px;
  /* Rounded corners as per image */
  color: #586069;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: inherit;
  font-size: 16px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.mps-pagination-btn:hover {
  border-color: var(--mps-primary);
  color: var(--mps-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Active State */
.mps-pagination-btn.current {
  background: var(--mps-primary);
  /* Dark/Black as in image */
  color: #fff;
  border-color: var(--mps-primary);
  cursor: default;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.mps-pagination-btn.current:hover {
  transform: none;
}

/* Next/Prev Buttons */
.mps-pagination-next,
.mps-pagination-prev {
  font-size: 14px;
}

/* Disabled State */
.mps-pagination-btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: #f6f8fa;
}


/*--------------------------------------------------------------
  6. Featured Links Section - قسم الروابط المميزة
--------------------------------------------------------------*/

/* ---- Section Wrapper ---- */
.mps-featured-links-section {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 30px;
  box-sizing: border-box;
}

/* ---- Header ---- */
.mps-featured-links-header {
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.mps-featured-links-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111827 !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.4 !important;
}

.mps-featured-links-title i {
  color: #f59e0b; /* Amber */
  font-size: 16px;
}

.mps-fl-view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #4b5563;
  text-decoration: none;
  padding: 6px 16px;
  border-radius: 20px;
  background: #f3f4f6;
  border: 1px solid #e5e7eb;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.mps-fl-view-all-link:hover {
  background: #e5e7eb;
  border-color: #d1d5db;
  color: #111827;
}

.mps-fl-view-all-link i {
  font-size: 11px;
}

/* ---- Grid ---- */
.mps-featured-links-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

/* ---- Card ---- */
.mps-featured-link-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none !important;
  color: inherit;
  transition: border-color 0.2s ease, background-color 0.2s ease;
  will-change: transform;
}

.mps-featured-link-card:hover {
  border-color: #f59e0b;
  background: #fffbeb;
}

/* ---- Image Area ---- */
.mps-fl-card-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f3f4f6;
  flex-shrink: 0;
  overflow: hidden;
}

.mps-fl-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fallback / no-image placeholder */
.mps-fl-no-image {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #f3f4f6;
}

.mps-fl-no-image i {
  font-size: 32px;
  color: #9ca3af;
}

/* ---- Card Content ---- */
.mps-fl-card-content {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.mps-fl-card-title {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #1f2937 !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mps-fl-card-desc {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mps-fl-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #4b5563;
  margin-top: auto;
  padding-top: 8px;
  width: max-content;
}

.mps-fl-card-cta i {
  font-size: 10px;
}

.mps-featured-link-card:hover .mps-fl-card-cta {
  color: #d97706;
}

/* ---- Hidden / Visible States ---- */
/* [SEO Fix] نستخدم max-height بدلاً من display:none 
   لأن display:none يجعل Google يتجاهل الروابط */
.mps-fl-hidden {
  max-height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  pointer-events: none;
  position: absolute;
  visibility: hidden;
}

.mps-fl-visible-extra {
  max-height: 500px !important;
  overflow: visible !important;
  opacity: 1 !important;
  display: flex !important;
  position: relative;
  visibility: visible;
  padding: initial;
  margin: initial;
  border: initial;
  pointer-events: auto;
}

/* ---- Toggle Button ---- */
.mps-fl-toggle-wrap {
  text-align: center;
  margin-top: 24px;
}

.mps-fl-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 24px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s ease;
  direction: rtl;
}

.mps-fl-toggle-btn:hover {
  background: #f3f4f6;
  border-color: #9ca3af;
  color: #111827;
}

.mps-fl-toggle-icon {
  font-size: 11px;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .mps-featured-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .mps-featured-links-section {
    padding: 20px;
    margin-bottom: 20px;
  }

  .mps-featured-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .mps-featured-links-title {
    font-size: 16px !important;
  }

  .mps-fl-card-title {
    font-size: 13px !important;
  }
}

@media (max-width: 480px) {
  .mps-featured-links-section {
    padding: 16px;
  }

  .mps-featured-links-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mps-fl-card-content {
    padding: 12px;
  }
}

/*--------------------------------------------------------------
  7. Ad/Plugin Areas - مناطق الإعلانات والإضافات الخارجية
--------------------------------------------------------------*/

/* منطقة الإعلان العامة */
.mps-category-ad-area {
  width: 100%;
  box-sizing: border-box;
  clear: both;
}

/* إعلان قبل الفلاتر */
.mps-category-ad-before-filters {
  margin-bottom: 20px;
}

/* إعلان قبل القائمة */
.mps-category-ad-before-loop {
  margin-bottom: 20px;
}

/* إعلان بعد القائمة */
.mps-category-ad-after-loop {
  margin-top: 20px;
}

/* إعلان بعد الترقيم */
.mps-category-ad-after-pagination {
  margin-top: 25px;
  margin-bottom: 15px;
}

/* ودجت الإعلان */
.mps-ad-widget {
  text-align: center;
  margin: 10px 0;
}

/* إعلان داخل الشبكة (بين البطاقات) */
.mps-ad-slot.mps-ad-in-feed {
  grid-column: 1 / -1;
  padding: 15px 0;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

/* التأكد من عدم إخفاء محتوى الإعلانات */
.mps-category-ad-area *,
.mps-ad-widget *,
.mps-ad-in-feed * {
  max-width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
  .mps-category-ad-before-filters,
  .mps-category-ad-before-loop,
  .mps-category-ad-after-loop,
  .mps-category-ad-after-pagination {
    margin: 15px 0;
  }
}


/* === mps-category-seo-enhancements.css (5380 bytes) === */
/**
 * MPS Category SEO Enhancements CSS
 * تحسينات السيو للأقسام - أنماط أساسية بدون تعارض مع التصميم الموجود
 * Version: 1.0.0
 */

/* Screen Reader Only للعناوين المخفية */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* إحصائيات القسم البسيطة */
.mps-category-stats {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 20px 0;
    font-size: 14px;
    color: #6c757d;
}

.mps-category-stats h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #495057;
    font-weight: 600;
}

.mps-category-stats .stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.mps-category-stats .stat-item {
    text-align: center;
    padding: 8px;
    background: white;
    border-radius: 4px;
    border: 1px solid #dee2e6;
}

.mps-category-stats .stat-number {
    font-weight: bold;
    font-size: 18px;
    color: #007bff;
    display: block;
}

.mps-category-stats .stat-label {
    font-size: 12px;
    color: #6c757d;
    margin-top: 2px;
}

/* تحسينات SEO للعناوين */
.mps-category-title {
    font-size: 2rem;
    font-weight: 700;
    color: #212529;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.mps-category-description {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* تحسينات الروابط الداخلية */
.mps-internal-links {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border-left: 4px solid #007bff;
    border-radius: 0 4px 4px 0;
}

.mps-internal-links h4 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: #495057;
}

.mps-internal-links ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mps-internal-links li {
    margin: 5px 0;
}

.mps-internal-links a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.mps-internal-links a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* تصميم متجاوب للإحصائيات */
@media (max-width: 768px) {
    .mps-category-stats {
        padding: 12px;
        margin: 15px 0;
    }
    
    .mps-category-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .mps-category-stats .stat-item {
        padding: 6px;
    }
    
    .mps-category-stats .stat-number {
        font-size: 16px;
    }
    
    .mps-category-title {
        font-size: 1.75rem;
    }
    
    .mps-category-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mps-category-stats .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .mps-category-title {
        font-size: 1.5rem;
    }
    
    .mps-internal-links {
        padding: 10px;
        margin: 15px 0;
    }
}

/* تحسينات إمكانية الوصول */
@media (prefers-reduced-motion: reduce) {
    .mps-internal-links a {
        transition: none;
    }
}

@media (prefers-contrast: high) {
    .mps-category-stats {
        background: white;
        border: 2px solid #000;
    }
    
    .mps-category-stats .stat-item {
        border: 1px solid #000;
    }
    
    .mps-internal-links {
        background: white;
        border-left: 4px solid #000;
    }
}

/* تحسينات الطباعة */
@media print {
    .mps-category-stats,
    .mps-internal-links {
        background: white !important;
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
    
    .sr-only {
        position: static !important;
        width: auto !important;
        height: auto !important;
        clip: auto !important;
        white-space: normal !important;
    }
}

/* تحسينات الأداء */
.mps-category-stats,
.mps-internal-links {
    contain: layout style;
    will-change: auto;
}

/* Focus states للتنقل بالكيبورد */
.mps-internal-links a:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
    background-color: rgba(0, 123, 255, 0.1);
    border-radius: 2px;
}

/* تحسينات إضافية للسيو */
.mps-category-breadcrumb {
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 15px;
}

.mps-category-breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.mps-category-breadcrumb a:hover {
    text-decoration: underline;
}

.mps-category-meta {
    font-size: 13px;
    color: #868e96;
    margin-top: 10px;
}

/* Loading states */
.mps-category-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* --- End of file --- */
