/* ARAX original WordPress menu. One source of truth: «منوی محمودرضا», menu #328.
   All 120 original items / levels / order / URLs are rendered by wp_nav_menu. */
.arax-owner-nav{direction:rtl;min-width:0;overflow:visible!important;z-index:1000}
.arax-owner-menu{list-style:none!important;direction:rtl;margin:0!important;padding:0!important}
.arax-owner-menu li{list-style:none!important;position:relative;margin:0!important;padding:0!important}
.arax-owner-menu a{font-family:Tahoma,Arial,sans-serif;text-decoration:none!important;display:block;line-height:1.8}
.arax-owner-menu .arax-subtoggle{appearance:none;border:0;background:transparent;cursor:pointer;font-family:Arial,sans-serif;color:#b72d40;font-size:16px;font-weight:700;line-height:1;padding:7px 9px;position:absolute;left:4px;top:50%;transform:translateY(-50%);z-index:10}
.arax-owner-menu .arax-subtoggle:focus-visible{outline:2px solid #b72d40;outline-offset:1px;border-radius:6px}
.arax-owner-menu--desktop{display:flex!important;align-items:center;justify-content:center;gap:clamp(17px,2.4vw,35px);width:100%;max-width:100%;overflow:visible!important}
.arax-owner-menu--desktop>li{flex:0 0 auto}
.arax-owner-menu--desktop>li>a{font-size:clamp(12px,1.1vw,14px)!important;font-weight:750!important;color:#39393d!important;white-space:nowrap;padding:17px 4px!important;border-bottom:3px solid transparent}
.arax-owner-menu--desktop>li:hover>a,.arax-owner-menu--desktop>li.current-menu-item>a,.arax-owner-menu--desktop>li.current-menu-ancestor>a{color:#b72d40!important;border-bottom-color:#b72d40}
.arax-owner-menu--desktop>li>.arax-subtoggle{left:-18px;color:#c12c3d;font-size:14px}
.arax-owner-menu--desktop .sub-menu{display:none!important;position:absolute;top:0;right:100%;z-index:99999;width:clamp(215px,19vw,282px);max-height:none;overflow:visible;margin:0!important;padding:9px 7px!important;background:#fff;border:1px solid #e7dfd9;border-radius:13px;box-shadow:0 12px 40px rgba(0,0,0,.13);list-style:none}
.arax-owner-menu--desktop>li>.sub-menu{top:100%;right:0}
.arax-owner-menu--desktop li:hover>.sub-menu,.arax-owner-menu--desktop li:focus-within>.sub-menu,.arax-owner-menu--desktop li.arax-expanded>.sub-menu{display:block!important}
.arax-owner-menu--desktop .sub-menu a{font-size:12px!important;font-weight:650!important;color:#3f3c3e!important;white-space:normal!important;padding:10px 30px 10px 11px!important;min-height:41px;border-radius:7px;line-height:1.85}
.arax-owner-menu--desktop .sub-menu li:hover>a,.arax-owner-menu--desktop .sub-menu li>a:focus-visible{color:#bd2b40!important;background:#f8f3ef}
.arax-owner-menu--desktop .sub-menu .arax-subtoggle{left:3px}
.arax-owner-menu--desktop>li:nth-last-child(-n+3)>.sub-menu{left:0;right:auto}
.arax-owner-menu--desktop>li:nth-last-child(-n+3) .sub-menu .sub-menu{left:100%;right:auto}
.arax-owner-menu--desktop .sub-menu li{width:100%}
.a4-header{position:relative;z-index:800;background:#fff;border-bottom:1px solid #ebe4dd;color:#343238;font-family:Tahoma,Arial,sans-serif}
.a4-announcement{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:10px max(4%,calc((100vw - 1310px)/2));background:#38373a;color:#fff;min-height:42px;direction:rtl}
.a4-announcement p{font-size:11px;margin:0;color:#dedbd8}.a4-announcement span{font:700 11px Arial,sans-serif;letter-spacing:1px}.a4-announcement a{color:#fff;font-size:11px;text-decoration:none}
.a4-head-main{display:grid!important;grid-template-columns:1fr 170px 1fr!important;grid-template-rows:82px 61px!important;align-items:center;gap:0 20px;width:min(1320px,94%);margin:auto;min-height:145px}
.a4-head-main .a4-logo{grid-column:2;grid-row:1;display:flex;align-items:center;flex-direction:column;justify-content:center;text-decoration:none;color:#29272c;direction:ltr}
.a4-head-main .a4-logo strong{font:800 30px Arial,sans-serif;letter-spacing:4px}.a4-head-main .a4-logo span{font-size:10px;direction:rtl;color:#777}
.a4-head-main .arax-owner-nav{grid-column:1/-1;grid-row:2;display:block!important;width:100%;justify-self:center}
.a4-head-main .a4-head-tools{grid-column:3;grid-row:1;display:flex;justify-content:flex-end;gap:17px}.a4-head-main .a4-head-tools a{color:#514c50;text-decoration:none;font-size:23px}
.a4-head-main .a4-menu-toggle{display:none}
.a4-drawer{display:none!important}
.arax-home .arax-header{height:auto!important;min-height:155px!important;overflow:visible!important;position:relative;z-index:800}
.arax-home .arax-header-grid{display:grid!important;grid-template-columns:1fr 190px 1fr!important;grid-template-rows:87px 61px!important;align-items:center;height:auto!important;gap:0 16px!important}
.arax-home .arax-header-grid>.arax-logo{grid-column:2;grid-row:1}
.arax-home .arax-header-grid>.arax-nav-left{grid-column:1;grid-row:1;display:flex!important;justify-content:flex-start}
.arax-home .arax-header-grid>.arax-nav-left .arax-dd,.arax-home .arax-header-grid>.arax-nav-left>a:not(.arax-crm){display:none!important}
.arax-home .arax-header-grid>.arax-nav-right{grid-column:1/-1;grid-row:2;display:block!important;justify-self:center;width:100%;max-width:none;overflow:visible}
.arax-home .arax-header-grid>.arax-mobile-crm{grid-column:3;grid-row:1}
.arax-home .arax-nav-right .arax-owner-menu a{color:#4b4d4f}
.arax-owner-menu--mobile{display:block!important;width:100%!important;padding:0!important;margin:0!important}
.arax-owner-menu--mobile li{border-bottom:1px solid #ede8e2}
.arax-owner-menu--mobile li>a{padding:13px 41px 13px 10px!important;font-size:14px!important;color:#353238!important;min-height:47px;font-weight:650!important;white-space:normal!important;text-align:right}
.arax-owner-menu--mobile li.current-menu-item>a{color:#b62b3f!important}
.arax-owner-menu--mobile .sub-menu{display:none!important;position:static!important;box-shadow:none!important;border:0!important;border-radius:0!important;max-height:none!important;overflow:visible!important;background:#f8f5f1!important;padding:4px 15px 10px 2px!important;margin:0!important;list-style:none}
.arax-owner-menu--mobile li.arax-expanded>.sub-menu,.arax-owner-menu--mobile li:focus-within>.sub-menu{display:block!important}
.arax-owner-menu--mobile li.menu-item-has-children>.arax-subtoggle{font-size:19px;left:5px;top:6px;transform:none!important;padding:12px 13px;min-width:43px;min-height:39px;border-radius:8px}
.arax-owner-menu--desktop li.menu-item-has-children>.arax-subtoggle{top:12px;transform:none!important}
.arax-owner-menu--mobile li.arax-expanded>.arax-subtoggle{color:#921b30}
.arax-owner-menu--mobile .sub-menu li>a{font-size:12px!important;min-height:40px;padding:9px 40px 9px 12px!important}
.arax-owner-menu--mobile .sub-menu .sub-menu{background:#f0ece7!important;margin-right:10px!important}
.arax-menu-crm{display:block;padding:15px 13px;margin-top:12px;border-radius:10px;background:#a92437;color:#fff!important;text-align:center;text-decoration:none}
.arax-home .arax-mobile-links{position:relative;z-index:850}
.arax-mobile-dropdown:not([open])>.arax-mobile-dropdown-panel{display:none!important}
.arax-mobile-dropdown[open]>.arax-mobile-dropdown-panel{display:block!important}
@media(max-width:960px){
.a4-announcement{padding:8px 15px}.a4-announcement p{display:none}
.a4-head-main{grid-template-columns:75px 1fr 75px!important;grid-template-rows:78px!important;min-height:79px;gap:6px;width:calc(100% - 26px)}
.a4-head-main .arax-owner-nav{display:none!important}
.a4-head-main .a4-logo{grid-column:2;grid-row:1}
.a4-head-main .a4-head-tools{grid-column:3;grid-row:1;gap:7px}
.a4-head-main .a4-menu-toggle{display:flex!important;grid-column:1;grid-row:1;min-height:44px;justify-content:center;align-items:center;gap:7px;padding:9px;border:1px solid #e7ddd5;border-radius:9px;background:#fff;cursor:pointer}
.a4-drawer{position:fixed!important;inset:0;z-index:999999;background:rgba(20,20,20,.55);direction:rtl}
.a4-drawer:not(.is-open){display:none!important}
.a4-drawer.is-open{display:block!important}
.a4-drawer>.arax-drawer-body{position:absolute;inset:0 auto 0 0;right:0;left:auto;width:min(420px,88vw);height:100%;overflow:auto;background:#fff;padding:70px 16px 25px;box-shadow:-15px 0 30px rgba(0,0,0,.15)}
.a4-drawer-close{position:absolute;top:13px;right:20px;z-index:5;width:43px;height:43px;border:1px solid #e6ded6;border-radius:9px;background:#fff;font-size:26px;cursor:pointer}
.a4-drawer .arax-drawer-body>small{display:block;margin:0 10px 13px;color:#b32b40;font:700 11px Arial,sans-serif;letter-spacing:1px}
}
@media(min-width:761px) and (max-width:960px){.arax-home .arax-header-grid{grid-template-columns:1fr 160px 1fr!important;grid-template-rows:75px 55px!important}.arax-home .arax-header-grid>.arax-nav-right{display:block!important}}
@media(max-width:760px){
.arax-home .arax-header{height:auto!important;min-height:0!important}
.arax-home .arax-header-grid{height:102px!important;grid-template-columns:1fr 138px 1fr!important;grid-template-rows:102px!important;padding:7px 17px!important}
.arax-home .arax-header-grid>.arax-nav-left,.arax-home .arax-header-grid>.arax-nav-right{display:none!important}
.arax-home .arax-header-grid>.arax-logo{grid-column:2;grid-row:1}
.arax-home .arax-header-grid>.arax-mobile-crm{grid-column:3;grid-row:1}
.arax-home .arax-mobile-links{display:block!important;height:62px!important;padding:0!important}
.arax-home .arax-mobile-dropdown{display:block!important}
.arax-home .arax-mobile-dropdown-panel{max-height:calc(100svh - 160px);overflow:auto}
}
@media(min-width:761px){.arax-home .arax-mobile-dropdown{display:none!important}}

/* Tablet + phone navigation rescue (the homepage has its own inline layout). */
@media(max-width:1199px){
  html body .a4-head-main{display:grid!important;grid-template-columns:75px minmax(0,1fr) 75px!important;grid-template-rows:82px!important;gap:8px!important;min-height:82px!important;width:calc(100% - 32px)!important}
  html body .a4-head-main .arax-owner-nav{display:none!important}
  html body .a4-head-main .a4-menu-toggle{display:flex!important;align-items:center;justify-content:center;gap:7px;grid-column:1;grid-row:1;min-height:44px;padding:9px;border:1px solid #ded8d1;background:#fff;border-radius:10px;color:#3e3937;cursor:pointer}
  html body .a4-head-main .a4-logo{grid-column:2;grid-row:1;justify-self:center}
  html body .a4-head-main .a4-head-tools{grid-column:3;grid-row:1;justify-content:center}
  html body .a4-drawer{position:fixed!important;inset:0;z-index:999999!important;background:rgba(25,24,24,.53)!important;direction:rtl}
  html body .a4-drawer:not(.is-open){display:none!important}
  html body .a4-drawer.is-open{display:block!important}
  html body .a4-drawer>.arax-drawer-body{position:absolute;top:0;bottom:0;right:0;left:auto;width:min(430px,90vw);height:100%;overflow-y:auto;background:#fff;padding:74px 20px 30px;box-shadow:-15px 0 42px rgba(0,0,0,.15)}
  html body .a4-drawer-close{position:absolute;right:20px;top:15px;z-index:5;width:43px;height:43px;border:1px solid #e4dcd6;background:#fff;border-radius:11px;font-size:24px}
}
@media(min-width:761px) and (max-width:1199px){
  html body .arax-home .arax-header{height:auto!important;min-height:0!important;overflow:visible!important}
  html body .arax-home .arax-header-grid{display:grid!important;grid-template-columns:minmax(0,1fr) 160px minmax(0,1fr)!important;grid-template-rows:91px!important;min-height:91px!important;height:91px!important;gap:10px!important;padding:0 18px!important}
  html body .arax-home .arax-header-grid>.arax-nav-right{display:none!important}
  html body .arax-home .arax-header-grid>.arax-nav-left{display:flex!important;grid-column:1;grid-row:1;justify-content:flex-start;min-width:0}
  html body .arax-home .arax-header-grid>.arax-logo{grid-column:2;grid-row:1}
  html body .arax-home .arax-header-grid>.arax-mobile-crm{grid-column:3;grid-row:1;justify-self:end;display:none!important}
  html body .arax-home .arax-mobile-links{display:block!important;height:61px!important;min-height:61px!important;padding:0!important;grid-template-columns:none!important;background:#fff;border-top:1px solid #e9e5e0}
  html body .arax-home .arax-mobile-dropdown{display:block!important;width:100%!important;height:100%!important}
  html body .arax-home .arax-mobile-dropdown>summary{min-height:60px!important;padding:10px 5%!important;font-size:14px!important}
  html body .arax-home .arax-mobile-dropdown-panel{right:4%!important;left:auto!important;top:100%!important;width:min(460px,92vw)!important;max-height:calc(100svh - 185px)!important;border:1px solid #eae3dd!important;border-top:3px solid #ab2c3b!important;border-radius:0 0 15px 15px!important;background:#fff!important;box-shadow:0 22px 50px rgba(0,0,0,.18)!important;overflow-y:auto!important;z-index:99999!important}
}
@media(max-width:760px){
  html body .arax-home .arax-mobile-links{display:block!important;grid-template-columns:none!important;padding:0!important;background:#fff!important}
  html body .arax-home .arax-mobile-dropdown>summary{min-height:61px!important;font-size:13px!important;background:#fff!important}
  html body .arax-home .arax-mobile-dropdown-panel{background:#fff!important;z-index:999999!important}
}
/* Remove the old home-template mobile rule that drew thick red separators under every link. */
html body .arax-home .arax-mobile-links .arax-owner-menu li>a,
html body .arax-home .arax-mobile-links .arax-owner-menu li>a:first-child{
  display:block!important;height:auto!important;min-height:43px!important;
  border-bottom:0!important;place-items:unset!important;
  text-align:right!important;white-space:normal!important;
  color:#332e30!important;font-size:13px!important;line-height:1.85!important;
  font-weight:550!important
}
html body .arax-home .arax-mobile-links .arax-owner-menu>li>a{font-size:14px!important;font-weight:750!important}
html body .arax-home .arax-mobile-links .arax-owner-menu li.current-menu-item>a{color:#aa2739!important}
html body .arax-mobile-dropdown-panel .arax-owner-menu li{border-bottom:1px solid #eee9e4!important}
html body .arax-mobile-dropdown-panel .arax-owner-menu .sub-menu{background:#f7f4f0!important}
html body .arax-mobile-dropdown-panel .arax-owner-menu li>a:focus-visible{outline:2px solid #ae2d41;outline-offset:-3px}

