.elementor-4909 .elementor-element.elementor-element-39e9d35{--display:flex;--flex-direction:column;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4909 .elementor-element.elementor-element-530798f{--display:flex;--min-height:80px;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:space-between;--align-items:center;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-4909 .elementor-element.elementor-element-2e6b5ca{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;--gap:10px 10px;--row-gap:10px;--column-gap:10px;--flex-wrap:nowrap;}.elementor-4909 .elementor-element.elementor-element-2e6b5ca.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-4909 .elementor-element.elementor-element-1138cc1 img{width:40px;max-width:40px;}.elementor-4909 .elementor-element.elementor-element-05f194e{width:var( --container-widget-width, 81.441% );max-width:81.441%;--container-widget-width:81.441%;--container-widget-flex-grow:0;}.elementor-4909 .elementor-element.elementor-element-05f194e.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-4909 .elementor-element.elementor-element-05f194e .elementor-heading-title{font-size:20px;font-weight:700;line-height:1.1;color:var( --e-global-color-primary );}.elementor-4909 .elementor-element.elementor-element-b3bf484{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-end;--align-items:center;--gap:42px 42px;--row-gap:42px;--column-gap:42px;--flex-wrap:nowrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:50px;}.elementor-4909 .elementor-element.elementor-element-b3bf484.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-4909 .elementor-element.elementor-element-a49644a{--display:flex;--min-height:0px;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--align-items:center;--flex-wrap:nowrap;}.elementor-4909 .elementor-element.elementor-element-a49644a.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-menu-toggle{margin:0 auto;}.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu .elementor-item{font-size:20px;}.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main .elementor-item{color:var( --e-global-color-primary );fill:var( --e-global-color-primary );}.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main .elementor-item:hover,
					.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main .elementor-item.elementor-item-active,
					.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main .elementor-item.highlighted,
					.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main .elementor-item:focus{color:var( --e-global-color-secondary );fill:var( --e-global-color-secondary );}.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:before,
					.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item:after{background-color:var( --e-global-color-secondary );}.elementor-4909 .elementor-element.elementor-element-ea9d57c .e--pointer-framed .elementor-item:before,
					.elementor-4909 .elementor-element.elementor-element-ea9d57c .e--pointer-framed .elementor-item:after{border-color:var( --e-global-color-secondary );}.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main .elementor-item.elementor-item-active{color:var( --e-global-color-secondary );}.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item.elementor-item-active:before,
					.elementor-4909 .elementor-element.elementor-element-ea9d57c .elementor-nav-menu--main:not(.e--pointer-framed) .elementor-item.elementor-item-active:after{background-color:var( --e-global-color-secondary );}.elementor-4909 .elementor-element.elementor-element-ea9d57c .e--pointer-framed .elementor-item.elementor-item-active:before,
					.elementor-4909 .elementor-element.elementor-element-ea9d57c .e--pointer-framed .elementor-item.elementor-item-active:after{border-color:var( --e-global-color-secondary );}.elementor-4909 .elementor-element.elementor-element-f110f11{--display:flex;--flex-direction:row;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:flex-start;--align-items:center;--gap:14px 14px;--row-gap:14px;--column-gap:14px;--flex-wrap:nowrap;}.elementor-4909 .elementor-element.elementor-element-f110f11.e-con{--flex-grow:0;--flex-shrink:0;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(min-width:768px){.elementor-4909 .elementor-element.elementor-element-2e6b5ca{--width:23.851%;}.elementor-4909 .elementor-element.elementor-element-b3bf484{--width:100%;}.elementor-4909 .elementor-element.elementor-element-a49644a{--width:38%;}.elementor-4909 .elementor-element.elementor-element-f110f11{--width:62%;}}/* Start custom CSS for container, class: .elementor-element-530798f *//* Pomedia Header Text Stability Fix */

/* منع روابط القائمة من النزول لسطر ثاني */
.elementor-4909 .elementor-element.elementor-element-530798f .pmh-nav .elementor-item{
  white-space: nowrap !important;
  line-height: 1.2 !important;
}

/* منع القائمة نفسها من الالتفاف */
.elementor-4909 .elementor-element.elementor-element-530798f .pmh-nav .elementor-nav-menu{
  flex-wrap: nowrap !important;
}

/* إعطاء منطقة الأزرار مساحة كافية */
.elementor-4909 .elementor-element.elementor-element-530798f .pmh-actions{
  min-width: 330px !important;
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
}

/* منع نصوص الأزرار من النزول لسطر ثاني */
.elementor-4909 .elementor-element.elementor-element-530798f .pmh-login .elementor-button-text,
.elementor-4909 .elementor-element.elementor-element-530798f .pmh-register .elementor-button-text{
  white-space: nowrap !important;
}

/* ضبط حجم الأزرار */
.elementor-4909 .elementor-element.elementor-element-530798f .pmh-login .elementor-button,
.elementor-4909 .elementor-element.elementor-element-530798f .pmh-register .elementor-button{
  min-width: 124px !important;
  min-height: 44px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}/* End custom CSS */
/* Start custom CSS *//* ==================================================
   Pomedia Academy Header — Clean Absolute Desktop
   Brand Right | Nav Center | Account Left
================================================== */

.pmdh-header{
  --pmdh-navy: #0a3558;
  --pmdh-navy-dark: #00395f;
  --pmdh-gold: #efb251;
  --pmdh-gold-soft: #f2c16d;
  --pmdh-width: 1320px;
  --pmdh-side: 100px;

  position: sticky;
  top: 0;
  z-index: 99999;
  width: 100%;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  direction: rtl !important;
}

body.admin-bar .pmdh-header{
  top: 32px;
}

/* =========================
   Desktop Layout
========================= */

@media (min-width: 1025px){

  .pmdh-header .pmdh-inner,
  .pmdh-header .pmdh-inner > .e-con-inner{
    width: min(var(--pmdh-width), calc(100vw - var(--pmdh-side) * 2)) !important;
    height: 92px !important;
    min-height: 92px !important;
    max-height: 92px !important;

    margin: 0 auto !important;
    padding: 0 !important;

    position: relative !important;

    display: block !important;

    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .pmdh-header .pmdh-left-group{
    display: block !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  /* اليمين: اللوجو والاسم */
  .pmdh-header .pmdh-brand{
    position: absolute !important;
    top: 50% !important;
    right: 0 !important;
    transform: translateY(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 12px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
    direction: rtl !important;
  }

  /* الوسط: القائمة */
  .pmdh-header .pmdh-nav-wrap{
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    direction: rtl !important;
  }

  /* اليسار: الحساب والسلة */
  .pmdh-header .pmdh-actions{
    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 14px !important;

    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;

    white-space: nowrap !important;
    direction: rtl !important;
  }
}

/* =========================
   Brand
========================= */

.pmdh-header .pmdh-logo img{
  width: 42px !important;
  height: auto !important;
  display: block !important;
}

.pmdh-header .pmdh-title,
.pmdh-header .pmdh-title .elementor-heading-title{
  margin: 0 !important;
  padding: 0 !important;
  color: var(--pmdh-navy) !important;
  font-family: Alexandria, Cairo, sans-serif !important;
  font-size: 21px !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

/* =========================
   Navigation
========================= */

.pmdh-header .pmdh-nav .elementor-nav-menu{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: nowrap !important;
  gap: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.pmdh-header .pmdh-nav .elementor-item{
  position: relative;
  margin: 0 !important;
  padding: 10px 0 !important;

  color: var(--pmdh-navy) !important;
  font-family: Alexandria, Cairo, sans-serif !important;
  font-size: 18px !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;

  transition: color .25s ease, transform .25s ease;
}

.pmdh-header .pmdh-nav .elementor-item:hover,
.pmdh-header .pmdh-nav .elementor-item.elementor-item-active{
  color: var(--pmdh-gold) !important;
  transform: translateY(-2px);
}

.pmdh-header .pmdh-nav .elementor-item::after{
  content: "";
  position: absolute;
  right: 50%;
  bottom: 0;
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--pmdh-gold), var(--pmdh-gold-soft));
  transform: translateX(50%) scaleX(0);
  opacity: 0;
  transition: transform .25s ease, opacity .25s ease;
}

.pmdh-header .pmdh-nav .elementor-item:hover::after,
.pmdh-header .pmdh-nav .elementor-item.elementor-item-active::after{
  transform: translateX(50%) scaleX(1);
  opacity: 1;
}

/* =========================
   Account Area
========================= */

.pmdh-header .pmdh-account-area{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  direction: rtl;
  white-space: nowrap;
  position: relative;
  z-index: 20;
}

.pmdh-header .pmdh-account-area a{
  text-decoration: none !important;
}

/* Guest Buttons */

.pmdh-header .pmdh-account-btn{
  height: 46px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border-radius: 14px;

  font-family: Alexandria, Cairo, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;

  transition: all .25s ease;
}

.pmdh-header .pmdh-account-login{
  color: var(--pmdh-navy) !important;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(10,53,88,.18);
  box-shadow: 0 8px 18px rgba(10,53,88,.06);
}

.pmdh-header .pmdh-account-register{
  color: #fff !important;
  background: linear-gradient(135deg, var(--pmdh-navy-dark), var(--pmdh-navy));
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 12px 24px rgba(10,53,88,.18);
}

.pmdh-header .pmdh-account-login:hover,
.pmdh-header .pmdh-account-register:hover{
  transform: translateY(-2px);
}

/* Logged-in Trigger */

.pmdh-header .pmdh-account-dropdown{
  position: relative;
}

.pmdh-header .pmdh-account-dropdown summary{
  list-style: none;
}

.pmdh-header .pmdh-account-dropdown summary::-webkit-details-marker{
  display: none;
}

.pmdh-header .pmdh-account-trigger{
  height: 46px;
  min-height: 46px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: 0 16px;
  border-radius: 14px;

  color: var(--pmdh-navy);
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(10,53,88,.18);
  box-shadow: 0 8px 18px rgba(10,53,88,.06);

  font-family: Alexandria, Cairo, sans-serif;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;

  cursor: pointer;
  white-space: nowrap;
}

/* Avatar */

.pmdh-header .pmdh-account-avatar{
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex: 0 0 28px !important;
}

.pmdh-header .pmdh-account-avatar img,
.pmdh-header .pmdh-account-avatar-img,
.pmdh-header .pmdh-account-avatar .avatar{
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50% !important;
  display: block !important;
  margin: 0 !important;
}

.pmdh-header .pmdh-account-name{
  max-width: 135px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pmdh-header .pmdh-account-arrow{
  font-size: 13px;
  color: var(--pmdh-gold);
}

/* Dropdown */

.pmdh-header .pmdh-account-menu{
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: auto;

  width: 240px;
  padding: 10px;

  display: grid;
  gap: 4px;

  background: rgba(255,255,255,.96);
  border: 1px solid rgba(10,53,88,.10);
  border-radius: 18px;
  box-shadow: 0 20px 44px rgba(10,53,88,.12);

  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);

  transition: all .22s ease;
  z-index: 999999;
}

.pmdh-header .pmdh-account-dropdown[open] .pmdh-account-menu{
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pmdh-header .pmdh-account-menu-name{
  display: grid;
  gap: 4px;
  padding: 13px;
  margin-bottom: 4px;
  border-radius: 14px;
  background: rgba(10,53,88,.05);
}

.pmdh-header .pmdh-account-menu-name span{
  font-size: 12px;
  color: rgba(10,53,88,.68);
  font-weight: 700;
}

.pmdh-header .pmdh-account-menu-name strong{
  font-size: 14px;
  color: var(--pmdh-navy);
  font-weight: 900;
}

.pmdh-header .pmdh-account-menu a{
  display: flex;
  align-items: center;
  justify-content: flex-start;

  padding: 12px 13px;
  border-radius: 12px;

  color: var(--pmdh-navy) !important;
  font-family: Alexandria, Cairo, sans-serif;
  font-size: 14px;
  font-weight: 800;

  transition: all .2s ease;
}

.pmdh-header .pmdh-account-menu a:hover{
  background: rgba(10,53,88,.06);
}

.pmdh-header .pmdh-account-menu .pmdh-account-logout{
  color: #9b2c2c !important;
}

/* =========================
   Cart
========================= */

.pmdh-header .pmdh-cart-empty{
  display: none !important;
}

.pmdh-header .pmdh-cart-active,
.pmdh-header .pmdh-cart{
  width: 46px !important;
  height: 46px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  position: relative !important;

  border-radius: 50% !important;
  text-decoration: none !important;

  color: var(--pmdh-navy) !important;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(10,53,88,.16);
  box-shadow: 0 8px 18px rgba(10,53,88,.06);
}

.pmdh-header .pmdh-cart-icon{
  font-size: 18px;
  line-height: 1;
}

.pmdh-header .pmdh-cart-count{
  position: absolute;
  top: -5px;
  left: -5px;

  min-width: 18px;
  height: 18px;
  padding: 0 4px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: var(--pmdh-gold);
  color: var(--pmdh-navy);

  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

/* =========================
   Tablet / Mobile
========================= */

@media (max-width: 1024px){

  .pmdh-header .pmdh-inner,
  .pmdh-header .pmdh-inner > .e-con-inner{
    width: calc(100% - 36px) !important;
    min-height: 76px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
  }

  .pmdh-header .pmdh-left-group{
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
  }

  .pmdh-header .pmdh-nav .elementor-nav-menu{
    gap: 24px !important;
  }

  .pmdh-header .pmdh-nav .elementor-item{
    font-size: 15px !important;
  }

  .pmdh-header .pmdh-title,
  .pmdh-header .pmdh-title .elementor-heading-title{
    font-size: 17px !important;
  }

  .pmdh-header .pmdh-logo img{
    width: 36px !important;
  }
}

@media (max-width: 767px){

  .pmdh-header .pmdh-inner,
  .pmdh-header .pmdh-inner > .e-con-inner{
    width: calc(100% - 20px) !important;
    min-height: 68px !important;
    gap: 10px !important;
  }

  .pmdh-header .pmdh-title,
  .pmdh-header .pmdh-title .elementor-heading-title{
    font-size: 14px !important;
    max-width: 92px !important;
    white-space: normal !important;
    line-height: 1.05 !important;
  }

  .pmdh-header .pmdh-logo img{
    width: 28px !important;
  }

  .pmdh-header .pmdh-account-login{
    display: none !important;
  }

  .pmdh-header .pmdh-account-btn,
  .pmdh-header .pmdh-account-trigger{
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 12px !important;
    font-size: 12px !important;
    border-radius: 10px !important;
  }

  .pmdh-header .pmdh-account-avatar{
    width: 24px !important;
    height: 24px !important;
    flex: 0 0 24px !important;
  }

  .pmdh-header .pmdh-account-name{
    max-width: 75px;
  }

  .pmdh-header .pmdh-cart-active,
  .pmdh-header .pmdh-cart{
    width: 36px !important;
    height: 36px !important;
  }

  .pmdh-header .pmdh-cart-icon{
    font-size: 15px;
  }

  .pmdh-header .pmdh-cart-count{
    min-width: 16px;
    height: 16px;
    font-size: 9px;
  }

  .pmdh-header .pmdh-account-menu{
    width: 210px;
  }
}
/* ==================================================
   Pomedia Header Size Upgrade
   تكبير الهيدر والعناصر بشكل متوازن
================================================== */

@media (min-width: 1025px){

  .pmdh-header .pmdh-inner,
  .pmdh-header .pmdh-inner > .e-con-inner{
    height: 104px !important;
    min-height: 104px !important;
    max-height: 104px !important;
  }

  /* اللوجو */
  .pmdh-header .pmdh-logo img{
    width: 50px !important;
  }

  /* اسم المنصة */
  .pmdh-header .pmdh-title,
  .pmdh-header .pmdh-title .elementor-heading-title{
    font-size: 24px !important;
    font-weight: 800 !important;
  }

  /* عناصر القائمة */
  .pmdh-header .pmdh-nav .elementor-item{
    font-size: 21px !important;
    font-weight: 800 !important;
    padding: 12px 0 !important;
  }

  .pmdh-header .pmdh-nav .elementor-nav-menu{
    gap: 52px !important;
  }

  /* أزرار تسجيل الدخول / إنشاء حساب */
  .pmdh-header .pmdh-account-btn,
  .pmdh-header .pmdh-account-trigger{
    height: 54px !important;
    min-height: 54px !important;
    padding: 0 30px !important;
    border-radius: 16px !important;
    font-size: 17px !important;
    font-weight: 800 !important;
  }

  /* صورة الحساب */
  .pmdh-header .pmdh-account-avatar{
    width: 32px !important;
    height: 32px !important;
    flex: 0 0 32px !important;
  }

  /* اسم المستخدم */
  .pmdh-header .pmdh-account-name{
    max-width: 160px !important;
    font-size: 16px !important;
  }

  /* السلة */
  .pmdh-header .pmdh-cart-active,
  .pmdh-header .pmdh-cart{
    width: 54px !important;
    height: 54px !important;
  }

  .pmdh-header .pmdh-cart-icon{
    font-size: 21px !important;
  }

  .pmdh-header .pmdh-cart-count{
    min-width: 20px !important;
    height: 20px !important;
    font-size: 11px !important;
  }
}

/* ==================================================
   Pomedia Header Premium 3D Motion Layer
   يضيف عمق + حركة + تفاعل بدون تغيير توزيع الهيدر
================================================== */

@media (min-width: 1025px){

  /* تجهيز العناصر للحركة */
  .pmdh-header .pmdh-brand,
  .pmdh-header .pmdh-nav-wrap,
  .pmdh-header .pmdh-actions,
  .pmdh-header .pmdh-account-btn,
  .pmdh-header .pmdh-account-trigger,
  .pmdh-header .pmdh-cart-active,
  .pmdh-header .pmdh-cart{
    transform-style: preserve-3d;
    will-change: transform;
  }

  /* دخول ناعم للهيدر */
  .pmdh-header .pmdh-inner,
  .pmdh-header .pmdh-inner > .e-con-inner{
    animation: pmdhHeaderEnter .65s cubic-bezier(.2,.8,.2,1) both;
  }

  @keyframes pmdhHeaderEnter{
    from{
      opacity: 0;
      transform: translateY(-18px) scale(.985);
      filter: blur(8px);
    }
    to{
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }
  }

  /* اللوجو: نبضة خفيفة جدًا */
  .pmdh-header .pmdh-logo img{
    transition:
      transform .35s ease,
      filter .35s ease;
  }

  .pmdh-header .pmdh-brand:hover .pmdh-logo img{
    transform: translateY(-3px) rotate(-4deg) scale(1.06);
    filter:
      drop-shadow(0 14px 22px rgba(10,53,88,.18))
      drop-shadow(0 0 14px rgba(239,178,81,.18));
  }

  /* اسم المنصة */
  .pmdh-header .pmdh-title,
  .pmdh-header .pmdh-title .elementor-heading-title{
    transition:
      color .3s ease,
      transform .3s ease,
      text-shadow .3s ease;
  }

  .pmdh-header .pmdh-brand:hover .pmdh-title,
  .pmdh-header .pmdh-brand:hover .pmdh-title .elementor-heading-title{
    transform: translateY(-2px);
    text-shadow:
      0 1px 0 rgba(255,255,255,.7),
      0 12px 26px rgba(10,53,88,.16);
  }

  /* روابط القائمة: حركة 3D خفيفة */
  .pmdh-header .pmdh-nav .elementor-item{
    transition:
      color .25s ease,
      transform .25s ease,
      text-shadow .25s ease,
      letter-spacing .25s ease;
  }

  .pmdh-header .pmdh-nav .elementor-item:hover{
    transform: translateY(-4px) translateZ(8px);
    letter-spacing: .2px;
    text-shadow:
      0 1px 0 rgba(255,255,255,.65),
      0 12px 26px rgba(239,178,81,.28);
  }

  /* الخط الذهبي يصير أوضح وأنعم */
  .pmdh-header .pmdh-nav .elementor-item::after{
    box-shadow:
      0 6px 16px rgba(239,178,81,.35),
      0 0 18px rgba(239,178,81,.18);
  }

  /* الأزرار: تأثير 3D premium */
  .pmdh-header .pmdh-account-btn,
  .pmdh-header .pmdh-account-trigger{
    position: relative;
    overflow: hidden;

    transition:
      transform .28s cubic-bezier(.2,.8,.2,1),
      box-shadow .28s ease,
      background .28s ease,
      border-color .28s ease;
  }

  .pmdh-header .pmdh-account-btn::before,
  .pmdh-header .pmdh-account-trigger::before{
    content: "";
    position: absolute;
    inset: 0;

    background:
      linear-gradient(
        115deg,
        transparent 0%,
        rgba(255,255,255,.55) 42%,
        rgba(255,255,255,.18) 50%,
        transparent 62%
      );

    transform: translateX(120%) skewX(-16deg);
    transition: transform .65s ease;
    pointer-events: none;
  }

  .pmdh-header .pmdh-account-btn:hover::before,
  .pmdh-header .pmdh-account-trigger:hover::before{
    transform: translateX(-120%) skewX(-16deg);
  }

  .pmdh-header .pmdh-account-btn:hover,
  .pmdh-header .pmdh-account-trigger:hover{
    transform: translateY(-5px) translateZ(10px) scale(1.015);
    box-shadow:
      0 22px 44px rgba(10,53,88,.16),
      inset 0 1px 0 rgba(255,255,255,.78);
  }

  /* زر إنشاء حساب: Glow ذهبي عند Hover */
  .pmdh-header .pmdh-account-register:hover{
    box-shadow:
      0 22px 48px rgba(239,178,81,.32),
      0 0 0 1px rgba(239,178,81,.18),
      inset 0 1px 0 rgba(255,255,255,.35);
  }

  /* زر الحساب بعد تسجيل الدخول */
  .pmdh-header .pmdh-account-trigger:hover .pmdh-account-avatar{
    transform: scale(1.08) rotate(-4deg);
  }

  .pmdh-header .pmdh-account-avatar{
    transition:
      transform .28s ease,
      box-shadow .28s ease;
  }

  /* السلة: Bounce خفيف */
  .pmdh-header .pmdh-cart-active,
  .pmdh-header .pmdh-cart{
    transition:
      transform .28s cubic-bezier(.2,.8,.2,1),
      box-shadow .28s ease,
      background .28s ease;
  }

  .pmdh-header .pmdh-cart-active:hover,
  .pmdh-header .pmdh-cart:hover{
    transform: translateY(-5px) rotate(-6deg) scale(1.06);
    box-shadow:
      0 20px 44px rgba(239,178,81,.22),
      inset 0 1px 0 rgba(255,255,255,.78);
  }

  .pmdh-header .pmdh-cart-count{
    animation: pmdhCartPulse 1.8s ease-in-out infinite;
  }

  @keyframes pmdhCartPulse{
    0%, 100%{
      transform: scale(1);
      box-shadow:
        0 7px 16px rgba(239,178,81,.32),
        inset 0 1px 0 rgba(255,255,255,.38);
    }
    50%{
      transform: scale(1.12);
      box-shadow:
        0 9px 22px rgba(239,178,81,.48),
        inset 0 1px 0 rgba(255,255,255,.48);
    }
  }

  /* القائمة المنسدلة: دخول 3D */
  .pmdh-header .pmdh-account-menu{
    transform-origin: top left;
    transition:
      opacity .24s ease,
      visibility .24s ease,
      transform .24s cubic-bezier(.2,.8,.2,1),
      box-shadow .24s ease;
  }

  .pmdh-header .pmdh-account-dropdown[open] .pmdh-account-menu{
    transform: translateY(0) scale(1) rotateX(0deg);
    box-shadow:
      0 30px 70px rgba(10,53,88,.18),
      inset 0 1px 0 rgba(255,255,255,.86);
  }

  .pmdh-header .pmdh-account-menu a{
    transition:
      background .2s ease,
      color .2s ease,
      transform .2s ease,
      padding .2s ease;
  }

  .pmdh-header .pmdh-account-menu a:hover{
    transform: translateX(-6px);
    padding-right: 18px;
  }
}

/* احترام المستخدمين الذين يفضلون تقليل الحركة */
@media (prefers-reduced-motion: reduce){
  .pmdh-header *,
  .pmdh-header *::before,
  .pmdh-header *::after{
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }
}

/* ==================================================
   Pomedia Logo Full 360 Spin Every 10 Seconds
================================================== */

.pmdh-header .pmdh-logo img{
  animation: pmdhLogoFullSpin10s 10s ease-in-out infinite !important;
  transform-origin: center center !important;
}

/* ثابت أغلب الوقت، وبآخر ثانيتين يلف 360 درجة كاملة */
@keyframes pmdhLogoFullSpin10s{
  0%{
    transform: rotate(0deg) scale(1);
  }

  80%{
    transform: rotate(0deg) scale(1);
  }

  92%{
    transform: rotate(360deg) scale(1.08);
  }

  100%{
    transform: rotate(360deg) scale(1);
  }
}

/* عند مرور الماوس لا نكسر حركة الدوران */
.pmdh-header .pmdh-brand:hover .pmdh-logo img{
  filter:
    drop-shadow(0 14px 22px rgba(10,53,88,.18))
    drop-shadow(0 0 14px rgba(239,178,81,.18));
}

/* احترام تقليل الحركة */
@media (prefers-reduced-motion: reduce){
  .pmdh-header .pmdh-logo img{
    animation: none !important;
  }
}/* End custom CSS */