/* استبدل CSS البانر القديم بالكامل بهذا الكود */
body.index #EF_banner_sec_0 .brh-nd-host {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  isolation: isolate;
  overflow: hidden !important;
  width: 100%;
  min-height: 530px;
  height: auto !important;
  padding: 0 !important;
  gap: 0 !important;
  aspect-ratio: auto;
  border-radius: 22px;
  background: #faf4ea;
}
body.index #EF_banner_sec_0 .brh-nd-art {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  aspect-ratio: auto !important;
  overflow: hidden !important;
  border-radius: 0 !important;
}
body.index #EF_banner_sec_0 .brh-nd-art picture { display: block; height: 100%; }
body.index #EF_banner_sec_0 .brh-nd-art img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: left center !important;
  transform: none !important;
  filter: none !important;
  image-rendering: auto;
}
.brh-nd, .brh-nd * { box-sizing: border-box; }
.brh-nd {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  flex: 1;
  direction: rtl;
  padding: 30px 5.8%;
  color: #292923;
  font-family: 'Tajawal', Arial, sans-serif !important;
  pointer-events: none;
}
.brh-nd__content { width: 45%; text-align: right; pointer-events: auto; }
.brh-nd__brand { display: block; direction: ltr; margin-bottom: 18px; color: #285853; font-size: 11px; letter-spacing: 2px; }
.brh-nd__badge { display: inline-flex; align-items: center; gap: 9px; padding: 7px 13px; border: 1px solid #28585333; border-radius: 30px; color: #285853; font-size: 14px; line-height: 1.4; }
.brh-nd__dot { width: 6px; height: 6px; border-radius: 50%; background: #285853; animation: none; }
.brh-nd__title { margin: 20px 0 14px; color: #292923; font-family: inherit; font-size: clamp(38px, 4.4vw, 76px); font-weight: 800; line-height: 1.15; letter-spacing: -.035em; }
.brh-nd__title strong { display: block; margin-top: 4px; color: #285853; font-size: inherit; font-weight: 800; }
.brh-nd__text { margin: 0 0 17px; color: #716c60; font-size: clamp(15px, 1.35vw, 21px); line-height: 1.6; }
.brh-nd__offer { display: flex; align-items: center; gap: 14px; margin-bottom: 17px; }
.brh-nd__discount { direction: ltr; color: #b96776; font-size: clamp(42px, 4vw, 66px); font-weight: 700; line-height: 1; letter-spacing: -.045em; }
.brh-nd__offer-label { padding-right: 14px; border-right: 1px solid #cabbab; color: #716c60; font-size: 14px; line-height: 1.6; }
.brh-nd__timer { display: flex; gap: 9px; margin: 0 0 19px; }
.brh-nd__time { min-width: 49px; padding: 6px 9px; border: 1px solid #28585318; border-radius: 8px; background: #fffaf380; text-align: center; }
.brh-nd__time b { display: block; color: #285853; font: 500 20px/1.2 Arial, sans-serif; font-variant-numeric: tabular-nums; }
.brh-nd__time small { display: block; margin-top: 3px; color: #716c60; font-size: 10px; }
.brh-nd__actions { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
.brh-nd__shop, .brh-nd__copy { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 50px; padding: 0 19px; border-radius: 9px; font: 700 15px 'Tajawal', Arial, sans-serif; line-height: 1.3; cursor: pointer; transition: transform .2s, background .2s; text-decoration: none !important; }
.brh-nd__shop { border: 1px solid #285853; background: #285853; color: #fffdf5 !important; }
.brh-nd__shop:hover { background: #1c433e; transform: translateY(-2px); }
.brh-nd__copy { border: 1px dashed #a98c88; background: #fffaf3b3; color: #285853; }
.brh-nd__copy:hover { background: #fffaf3; }
.brh-nd__copy b { font: 500 17px Arial, sans-serif; letter-spacing: 1px; }
.brh-nd__copy small { font-size: 12px; font-weight: 500; }
.brh-nd__note { margin: 12px 0 0; color: #817a6e; font-size: 12px; }
.brh-nd__status { min-height: 17px; margin-top: 5px; color: #285853; font-size: 12px; }
.brh-nd button:focus-visible, .brh-nd a:focus-visible { outline: 3px solid #98477f; outline-offset: 4px; }
.brh-nd [hidden] { display: none !important; }
@media (min-width: 701px) and (max-width: 1050px) {
  .brh-nd { padding: 27px 4%; }
  .brh-nd__content { width: 46%; }
  .brh-nd__title { font-size: clamp(34px, 4.4vw, 46px); }
  .brh-nd__brand { font-size: 9px; letter-spacing: 1.2px; }
  .brh-nd__shop, .brh-nd__copy { padding: 0 13px; font-size: 13px; gap: 8px; }
}
/* موبايل: الصورة خلفية خفيفة، وارتفاع البانر يتبع المحتوى فقط */
@media (max-width: 700px) {
  body.index #EF_banner_sec_0 .brh-nd-host {
    min-height: 0 !important;
    height: auto !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    border-radius: 16px;
  }
  body.index #EF_banner_sec_0 .brh-nd-art {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    pointer-events: none;
  }
  body.index #EF_banner_sec_0 .brh-nd-art::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(250, 244, 234, .91);
    pointer-events: none;
  }
  body.index #EF_banner_sec_0 .brh-nd-art img {
    object-fit: cover !important;
    object-position: left center !important;
    transform: none !important;
    filter: none !important;
  }
  .brh-nd { flex: none; width: 100%; padding: 22px 18px 14px; }
  .brh-nd__content { position: relative; width: 100%; max-width: 420px; margin: 0 auto; text-align: center; }
  .brh-nd__brand { display: none; }
  .brh-nd__badge { padding: 6px 12px; font-size: 12px; }
  .brh-nd__title { font-size: clamp(31px, 9.2vw, 40px); margin: 13px 0 12px; line-height: 1.14; }
  .brh-nd__title strong { margin-top: 2px; }
  .brh-nd__text { display: none; }
  .brh-nd__offer, .brh-nd__timer, .brh-nd__actions { justify-content: center; }
  .brh-nd__offer { margin-bottom: 12px; gap: 12px; }
  .brh-nd__discount { font-size: 43px; }
  .brh-nd__offer-label { font-size: 12px; text-align: right; }
  .brh-nd__timer { gap: 7px; margin-bottom: 14px; }
  .brh-nd__time { min-width: 47px; padding: 4px 8px; background: rgba(255,250,243,.8); }
  .brh-nd__time b { font-size: 18px; }
  .brh-nd__time small { font-size: 10px; margin-top: 2px; }
  .brh-nd__actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 340px; margin: 0 auto; }
  .brh-nd__shop, .brh-nd__copy { min-width: 0; min-height: 44px; padding: 0 9px; font-size: 13px; gap: 8px; }
  .brh-nd__copy { background: #fffaf3; }
  .brh-nd__copy b { font-size: 16px; }
  .brh-nd__note, .brh-nd__motion { display: none; }
  .brh-nd__status { min-height: 16px; margin-top: 5px; font-size: 11px; line-height: 1.4; }
  .brh-nd__dot { animation: none; }
}
@media (prefers-reduced-motion: reduce) {
  .brh-nd *, body.index #EF_banner_sec_0 .brh-nd-art img { animation: none !important; transition: none !important; }
  body.index #EF_banner_sec_0 .brh-nd-art img { transform: none !important; }
}