.wcpec-service-types{
  --wcpec-navy:#0f2747;
  --wcpec-navy-2:#17365d;
  --wcpec-gold:#c8a75d;
  --wcpec-gold-2:#b89349;
  --wcpec-gold-soft:#e8d8ab;
  --wcpec-bg:#f5f7fb;
  --wcpec-card:#ffffff;
  --wcpec-text:#162338;
  --wcpec-muted:#6e7b8f;
  --wcpec-border:#d9e1ec;
  --wcpec-shadow:0 10px 28px rgba(15,39,71,.10);
  --wcpec-radius:20px;
  --wcpec-danger:#b42318;
  --wcpec-danger-2:#8f1d15;
  --wcpec-success:#0f5132;
  --wcpec-soft:#f8fafc;
  font-family:"Cairo","Tajawal","Segoe UI",Tahoma,Arial,sans-serif;
  background:linear-gradient(180deg,#f8fafc 0%, #eef3f8 100%);
  padding:48px 18px;
  color:var(--wcpec-text);
}

.wcpec-service-types *,
.wcpec-service-types *::before,
.wcpec-service-types *::after{
  box-sizing:border-box;
}

.wcpec-service-types .wcpec-wrap{
  max-width:1380px;
  margin:0 auto;
}

.wcpec-service-types .wcpec-header{
  text-align:center;
  max-width:980px;
  margin:0 auto 28px;
}

.wcpec-service-types .wcpec-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:38px;
  padding:8px 16px;
  margin-bottom:14px;
  border:1px solid rgba(200,167,93,.35);
  background:rgba(200,167,93,.10);
  color:var(--wcpec-navy);
  border-radius:999px;
  font-size:14px;
  font-weight:800;
}

.wcpec-service-types .wcpec-title{
  margin:0 0 10px;
  font-size:clamp(28px,4vw,42px);
  line-height:1.35;
  font-weight:900;
  color:var(--wcpec-navy);
}

.wcpec-service-types .wcpec-subtitle{
  margin:0;
  font-size:17px;
  line-height:1.95;
  color:var(--wcpec-muted);
  font-weight:600;
}

.wcpec-service-types .wcpec-tools{
  background:#fff;
  border:1px solid var(--wcpec-border);
  border-radius:22px;
  box-shadow:var(--wcpec-shadow);
  padding:20px;
  margin:0 auto 26px;
}

.wcpec-service-types .wcpec-search-wrap{
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
  margin-bottom:16px;
}

.wcpec-service-types .wcpec-search{
  position:relative;
}

.wcpec-service-types .wcpec-search input{
  width:100%;
  min-height:58px;
  border-radius:16px;
  border:1px solid var(--wcpec-border);
  background:#fff;
  padding:14px 18px;
  font-size:15px;
  font-family:inherit;
  color:var(--wcpec-text);
  outline:none;
  transition:border-color .2s ease, box-shadow .2s ease;
}

.wcpec-service-types .wcpec-search input:focus{
  border-color:rgba(15,39,71,.35);
  box-shadow:0 0 0 4px rgba(15,39,71,.08);
}

.wcpec-service-types .wcpec-help-btn{
  min-height:58px;
  padding:12px 18px;
  border:none;
  border-radius:16px;
  background:linear-gradient(135deg,var(--wcpec-navy) 0%, var(--wcpec-navy-2) 100%);
  color:#fff;
  font-size:15px;
  font-weight:900;
  font-family:inherit;
  cursor:pointer;
  box-shadow:0 10px 22px rgba(15,39,71,.18);
  transition:all .25s ease;
}

.wcpec-service-types .wcpec-help-btn:hover{
  transform:translateY(-2px);
}

.wcpec-service-types .wcpec-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.wcpec-service-types .wcpec-filter-btn{
  border:1px solid var(--wcpec-border);
  background:#f8fafc;
  color:var(--wcpec-text);
  min-height:40px;
  padding:8px 14px;
  border-radius:999px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  font-family:inherit;
  transition:all .2s ease;
}

.wcpec-service-types .wcpec-filter-btn:hover,
.wcpec-service-types .wcpec-filter-btn.is-active{
  background:var(--wcpec-navy);
  color:#fff;
  border-color:var(--wcpec-navy);
}

.wcpec-service-types .wcpec-help-box{
  display:none;
  margin-top:16px;
  padding:18px;
  border-radius:16px;
  background:linear-gradient(180deg,#fbfcfe 0%, #f5f8fc 100%);
  border:1px solid var(--wcpec-border);
}

.wcpec-service-types .wcpec-help-box.is-open{
  display:block;
}

.wcpec-service-types .wcpec-help-title{
  margin:0 0 10px;
  font-size:16px;
  color:var(--wcpec-navy);
  font-weight:900;
}

.wcpec-service-types .wcpec-help-list{
  list-style:none;
  margin:0;
  padding:0;
  display:grid;
  gap:8px;
}

.wcpec-service-types .wcpec-help-list li{
  position:relative;
  padding-right:18px;
  font-size:14px;
  line-height:1.9;
  color:var(--wcpec-text);
  font-weight:700;
}

.wcpec-service-types .wcpec-help-list li::before{
  content:"•";
  position:absolute;
  right:0;
  top:0;
  color:var(--wcpec-gold-2);
  font-size:18px;
  font-weight:900;
  line-height:1.4;
}

.wcpec-service-types .wcpec-count{
  margin:14px 2px 0;
  font-size:14px;
  color:var(--wcpec-muted);
  font-weight:800;
}

.wcpec-service-types .wcpec-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
  align-items:stretch;
}

.wcpec-service-types .wcpec-card{
  position:relative;
  background:var(--wcpec-card);
  border:1px solid var(--wcpec-border);
  border-radius:var(--wcpec-radius);
  overflow:hidden;
  box-shadow:var(--wcpec-shadow);
  display:flex;
  flex-direction:column;
  min-height:100%;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  isolation:isolate;
}

.wcpec-service-types .wcpec-card:hover{
  transform:translateY(-6px);
  box-shadow:0 18px 42px rgba(15,39,71,.16);
  border-color:rgba(200,167,93,.55);
}

.wcpec-service-types .wcpec-card[hidden]{
  display:none !important;
}

.wcpec-service-types .wcpec-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(200,167,93,.10), transparent 34%),
    linear-gradient(180deg, rgba(15,39,71,.02), transparent 32%);
  pointer-events:none;
  z-index:0;
}

.wcpec-service-types .wcpec-top{
  position:relative;
  z-index:1;
  padding:24px 24px 0;
}

.wcpec-service-types .wcpec-type{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:34px;
  padding:6px 14px;
  border-radius:999px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.1px;
  margin-bottom:18px;
  border:1px solid transparent;
}

.wcpec-service-types .type-complaint{
  background:rgba(15,39,71,.07);
  color:var(--wcpec-navy);
  border-color:rgba(15,39,71,.15);
}

.wcpec-service-types .type-call{
  background:rgba(200,167,93,.16);
  color:#775d1a;
  border-color:rgba(200,167,93,.35);
}

.wcpec-service-types .type-report{
  background:rgba(180,35,24,.08);
  color:var(--wcpec-danger);
  border-color:rgba(180,35,24,.18);
}

/* زر المفضلة */
.wcpec-service-types .wcpec-favorite-icon{
  position:absolute;
  top:24px;
  left:24px;
  width:46px;
  height:46px;
  border:none;
  border-radius:14px;
  background:linear-gradient(180deg,#f7fbff 0%, #edf4fb 100%);
  border:1px solid rgba(15,39,71,.10);
  color:#9fb0c7;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:all .25s ease;
  z-index:3;
  box-shadow:0 8px 18px rgba(15,39,71,.08);
  font-size:0;
  line-height:1;
}

.wcpec-service-types .wcpec-favorite-icon::before{
  content:"★";
  font-size:18px;
  font-weight:900;
  line-height:1;
}

.wcpec-service-types .wcpec-favorite-icon:hover{
  transform:translateY(-2px);
  color:#c8a75d;
  border-color:rgba(200,167,93,.45);
  box-shadow:0 12px 24px rgba(200,167,93,.18);
}

.wcpec-service-types .wcpec-favorite-icon.is-favorite{
  background:linear-gradient(135deg,#0f77c8 0%, #1786db 100%);
  color:#fff;
  border-color:#0f77c8;
  box-shadow:0 12px 24px rgba(15,119,200,.25);
}

.wcpec-service-types .wcpec-favorite-icon.is-favorite:hover{
  color:#fff;
  filter:brightness(1.05);
}

.wcpec-service-types .wcpec-icon{
  width:72px;
  height:72px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:18px;
  border:1px solid rgba(15,39,71,.08);
  background:linear-gradient(180deg,#ffffff 0%, #f2f6fb 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8);
  color:var(--wcpec-navy);
}

.wcpec-service-types .wcpec-icon svg{
  width:34px;
  height:34px;
  display:block;
}

.wcpec-service-types .type-report ~ .wcpec-icon{
  color:var(--wcpec-danger);
}

.wcpec-service-types .type-call ~ .wcpec-icon{
  color:#8a6a25;
}

.wcpec-service-types .wcpec-card-title{
  margin:0 0 10px;
  font-size:24px;
  line-height:1.45;
  font-weight:900;
  color:var(--wcpec-navy);
}

.wcpec-service-types .wcpec-card-desc{
  margin:0 0 18px;
  font-size:15px;
  line-height:1.95;
  color:var(--wcpec-muted);
  min-height:84px;
  font-weight:600;
}

.wcpec-service-types .wcpec-meta{
  position:relative;
  z-index:1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding:0 24px 10px;
}

.wcpec-service-types .wcpec-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:7px 12px;
  border-radius:999px;
  background:#f7f9fc;
  border:1px solid var(--wcpec-border);
  color:var(--wcpec-text);
  font-size:13px;
  font-weight:800;
}

.wcpec-service-types .wcpec-body{
  position:relative;
  z-index:1;
  padding:10px 24px 24px;
  display:flex;
  flex-direction:column;
  flex:1;
}

.wcpec-service-types .wcpec-section-title{
  margin:4px 0 14px;
  font-size:17px;
  font-weight:900;
  color:var(--wcpec-navy);
}

.wcpec-service-types .wcpec-list{
  list-style:none;
  padding:0;
  margin:0 0 18px;
  display:grid;
  gap:12px;
}

.wcpec-service-types .wcpec-list li{
  position:relative;
  padding-right:30px;
  font-size:15px;
  line-height:1.9;
  color:var(--wcpec-text);
  font-weight:700;
}

.wcpec-service-types .wcpec-list li::before{
  content:"✓";
  position:absolute;
  right:0;
  top:1px;
  width:22px;
  height:22px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:rgba(15,39,71,.08);
  color:var(--wcpec-navy);
  font-size:13px;
  font-weight:900;
}

.wcpec-service-types .wcpec-actions{
  margin-top:auto;
  padding-top:6px;
}

.wcpec-service-types .wcpec-btn{
  width:100%;
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 18px;
  border-radius:16px;
  text-decoration:none;
  font-size:16px;
  font-weight:900;
  transition:all .25s ease;
  border:1px solid transparent;
  cursor:pointer;
}

.wcpec-service-types .wcpec-btn-primary{
  background:linear-gradient(135deg,var(--wcpec-navy) 0%, var(--wcpec-navy-2) 100%);
  color:#fff;
  box-shadow:0 10px 22px rgba(15,39,71,.18);
}

.wcpec-service-types .wcpec-btn-primary:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(15,39,71,.24);
}

.wcpec-service-types .wcpec-btn-gold{
  background:linear-gradient(135deg,#d4b36d 0%, #b89349 100%);
  color:#fff;
  box-shadow:0 10px 22px rgba(184,147,73,.22);
}

.wcpec-service-types .wcpec-btn-gold:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(184,147,73,.28);
}

.wcpec-service-types .wcpec-btn-outline{
  background:#fff;
  color:var(--wcpec-danger);
  border-color:rgba(180,35,24,.24);
  box-shadow:0 8px 18px rgba(180,35,24,.08);
}

.wcpec-service-types .wcpec-btn-outline:hover{
  background:#fff8f7;
  transform:translateY(-2px);
}

.wcpec-service-types .wcpec-empty{
  display:none;
  margin-top:22px;
  background:#fff;
  border:1px solid var(--wcpec-border);
  border-radius:18px;
  box-shadow:var(--wcpec-shadow);
  padding:22px;
  text-align:center;
  color:var(--wcpec-muted);
  font-size:15px;
  font-weight:800;
  line-height:1.9;
}

.wcpec-service-types .wcpec-empty.is-visible{
  display:block;
}

.wcpec-service-types .wcpec-bottom-note{
  margin-top:28px;
  background:#fff;
  border:1px solid var(--wcpec-border);
  box-shadow:var(--wcpec-shadow);
  border-radius:18px;
  padding:18px 20px;
  color:var(--wcpec-muted);
  font-size:14px;
  line-height:2;
  font-weight:700;
  text-align:center;
}

/* المفضلة المصغرة */
.wcpec-favorite-services-mini{
  direction:rtl;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-head{
  display:flex;
  justify-content:flex-start;
  margin-bottom:10px;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 14px;
  border-radius:999px;
  border:1px solid rgba(200,167,93,.40);
  background:rgba(200,167,93,.10);
  color:var(--wcpec-navy);
  font-size:13px;
  font-weight:800;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-empty{
  border:1px solid var(--wcpec-border);
  border-radius:18px;
  background:#fff;
  padding:18px;
  color:var(--wcpec-muted);
  font-size:14px;
  font-weight:700;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-track{
  display:flex;
  gap:14px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:6px 2px 10px;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-track::-webkit-scrollbar{
  height:8px;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-track::-webkit-scrollbar-thumb{
  background:#cfd8e6;
  border-radius:999px;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-card{
  min-width:280px;
  max-width:280px;
  flex:0 0 280px;
  background:#fff;
  border:1px solid var(--wcpec-border);
  border-radius:18px;
  box-shadow:var(--wcpec-shadow);
  padding:16px;
  display:flex;
  flex-direction:column;
  gap:14px;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-type{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:5px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  border:1px solid transparent;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-type.type-complaint{
  background:rgba(15,39,71,.07);
  color:var(--wcpec-navy);
  border-color:rgba(15,39,71,.15);
}

.wcpec-favorite-services-mini .wcpec-fav-mini-type.type-report{
  background:rgba(180,35,24,.08);
  color:var(--wcpec-danger);
  border-color:rgba(180,35,24,.18);
}

.wcpec-favorite-services-mini .wcpec-fav-mini-type.type-call{
  background:rgba(200,167,93,.16);
  color:#775d1a;
  border-color:rgba(200,167,93,.35);
}

.wcpec-favorite-services-mini .wcpec-fav-mini-title{
  margin:0;
  color:var(--wcpec-navy);
  font-size:16px;
  line-height:1.7;
  font-weight:900;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-actions{
  display:flex;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-btn{
  width:100%;
  min-height:44px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:14px;
  text-decoration:none;
  font-size:14px;
  font-weight:900;
  border:1px solid transparent;
  transition:all .25s ease;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-btn:hover{
  transform:translateY(-2px);
}

.wcpec-favorite-services-mini .wcpec-fav-mini-btn.wcpec-btn-primary{
  background:linear-gradient(135deg,var(--wcpec-navy) 0%, var(--wcpec-navy-2) 100%);
  color:#fff;
}

.wcpec-favorite-services-mini .wcpec-fav-mini-btn.wcpec-btn-outline{
  background:#fff;
  color:var(--wcpec-danger);
  border-color:rgba(180,35,24,.24);
}

.wcpec-favorite-services-mini .wcpec-fav-mini-btn.wcpec-btn-gold{
  background:linear-gradient(135deg,#d4b36d 0%, #b89349 100%);
  color:#fff;
}

.wcpec-login-required,
.wcpec-no-results{
  width:100%;
  border:1px solid var(--wcpec-border);
  border-radius:18px;
  background:#fff;
  padding:22px;
  text-align:center;
  color:var(--wcpec-muted);
  font-size:15px;
  font-weight:800;
  box-shadow:var(--wcpec-shadow);
}

@media (max-width: 1180px){
  .wcpec-service-types .wcpec-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width: 900px){
  .wcpec-service-types .wcpec-search-wrap{
    grid-template-columns:1fr;
  }
}

@media (max-width: 767px){
  .wcpec-service-types{
    padding:30px 14px;
  }

  .wcpec-service-types .wcpec-grid{
    grid-template-columns:1fr;
  }

  .wcpec-service-types .wcpec-card-title{
    font-size:22px;
  }

  .wcpec-service-types .wcpec-card-desc{
    min-height:auto;
  }

  .wcpec-service-types .wcpec-top,
  .wcpec-service-types .wcpec-meta,
  .wcpec-service-types .wcpec-body{
    padding-right:18px;
    padding-left:18px;
  }

  .wcpec-service-types .wcpec-favorite-icon{
    top:18px;
    left:18px;
    width:42px;
    height:42px;
  }

  .wcpec-favorite-services-mini .wcpec-fav-mini-card{
    min-width:240px;
    max-width:240px;
    flex:0 0 240px;
  }
}