@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap');

body, .wh-text, .wh-btn, .wh-filters button {
  font-family: 'Cairo', sans-serif !important;
}

.wh-filters {
  display: flex !important;
  justify-content: center !important;
  gap: 28px !important;
  margin: 40px auto 30px !important;
  border-bottom: 1px solid #ddd !important;
  padding-bottom: 10px !important;
  max-width: 1000px !important;
}
.wh-filters button {
    border: 2px solid #E21111 !important;
    border-radius: 50px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    color: #E21111 !important;
    background: white !important;
    flex-shrink: 0;
}
.wh-filters button.active {
    color: #ffffff !important;
    background-color: #E21111 !important;
}
/*.wh-filters button.active::after {*/
/*  content: "" !important;*/
/*  position: absolute !important;*/
/*  bottom: -10px !important;*/
/*  left: 0;*/
/*  right: 0;*/
/*  height: 3px;*/
/*  background-color: #E21111 !important;*/
/*  border-radius: 2px;*/
/*}*/
.wh-sections-container {
  padding: 20px 0;
  display:flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 52px;

}
.wh-item {
  display: none;
  display:flex;
  align-items: flex-start;
  gap:52px;
}
.wh-item.active {
  display: flex;
  justify-content: center;
}
.wh-section {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: auto;
  align-items: center;
  flex-wrap: wrap;
  padding: 20px;
}
.wh-section.reverse {
  flex-direction: row-reverse;
}
.wh-image {
  flex: 1 1 40%;
}
.wh-image img {
  width: 100%;
  object-fit: contain;
  border-radius: 12px;
  background: #f5f5f5;
}
.wh-text {
  flex: 1 1 55%;
  max-width: 600px;
}
.wh-text h3 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 20px;
}
.wh-highlight {
  color: #E21111;
  font-weight: bold;
}
.wh-text p {
  font-size: 20px;
  color: #444;
  line-height: 1.7;
  margin-bottom: 18px;
}
.wh-actions{
display: flex;
align-items: center;
gap: 24px;
justify-content: center;
}
/* خليه inline-flex عشان الأيقونة تظهر جنب النص */
.wh-btn {
  display: inline-flex;         /* بدل inline-block */
  align-items: center;
  gap: 8px;
  padding: 18px 18px;
  background: #E21111;
  color: #fff !important;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: none !important;
  margin-top: 24px;
}

/* زر أخضر أبيض بحدّ أخضر (للاستخدام الآخر) */
.green{
  background: #ffffff !important;
  padding: 16px 48px;
  border-radius: 4px;
  border: 2px solid #3DAF42;
  color: #3DAF42 !important;
}

/* أيقونة واتساب من صورة */
.wh-btn.whatsapp {
  background: #ffffff !important;
  border: 2px solid #25D366 !important;
  color: #25D366 !important;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.wh-btn.whatsapp:hover {
  filter: brightness(0.92);
}

.wh-btn.whatsapp .wa-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
}

/* تلوين مسار الأيقونة */
.wh-btn.whatsapp .wh-ico svg path { fill: #fff; }

@media (max-width: 768px) {
  .wh-section, .wh-section.reverse {
    flex-direction: column;
    text-align: center;
  }
  .wh-image, .wh-text {
    max-width: 100%;
    flex: 1 1 100%;
  }
  .wh-text { order: 2; }
  .wh-section.reverse .wh-text { order: 2; }
  .wh-filters {
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
  }

  .wh-filters button {
    border: 2px solid #E21111 !important;
    border-radius: 50px !important;
    padding: 8px 16px !important;
    font-size: 14px !important;
    color: #E21111 !important;
    background: white !important;
    flex-shrink: 0;
  }
.wh-actions{
align-items: center;
justify-content: center !important;
}
  .wh-filters button.active {
    background: #E21111 !important;
    color: white !important;
  }

  .wh-filters button.active::after {
    display: none !important;
  }
}
