/*button disabled*/
button:disabled,
button[disabled] {
    cursor: not-allowed;
}

/* container */
.container {
    margin: 0 auto;
    position: relative;
    padding: 0;
}

.container.without-sidebar {
    width: 900px;
}

/* mask */
.click_capture {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, .4);
    cursor: pointer;
    display: none;
}

/*custom class*/
.mobile {
    display: none;
}

/*announcement*/
.announcement {
    position: sticky;
    top: 0;
    color: var(--background-color-company);
    text-align: center;
    padding: 1rem 0;
}

/* main header */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 9;
    border-bottom: 1px solid #e3e3e3;
}

[data-theme="dark"] .header {
    background: #131417;
    border-color: #393e4b;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    padding: .75rem 0;
    position: relative;
}

.logo-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.logo-menu a {
    display: flex
}

.logo-menu .logo img {
    width: 11rem;
    height: auto;
    max-height: 41px;
}

nav.header-menu ul:not(.menu-item-has-children ul) {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

nav.header-menu ul li.menu-item-has-children {
    padding: 15px 0;
}

nav.header-menu ul li a>span {
    display: flex;
    align-items: center;
    gap: .3rem;
}

nav.header-menu .menu-subtitle {
    font-size: 12px;
    margin-top: .25rem;
    color: #969696;
    display: block;
}

nav.header-menu ul li.menu-item-has-children a {
    display: flex;
    align-items: center;
    gap: .3rem;
    color: var(--background-color-link);
}

nav.header-menu ul li.menu-item-has-children a:not(ul.sub-menu li a):after {
    content: '';
    border: solid #000;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

[data-theme="dark"] nav.header-menu ul li.menu-item-has-children a:not(ul.sub-menu li a):after {
    border: solid #fff;
    border-width: 0 2px 2px 0;
}

nav.header-menu ul li.menu-item-has-children:hover ul.sub-menu {
    z-index: 2;
    visibility: visible;
    opacity: 1;
    transform: translateY(15px);
    pointer-events: auto;
    box-shadow: 0 0px 70px 0 rgba(2, 2, 48, .2);
}

nav.header-menu ul li,
.li-container ul li {
    background-size: 23px 23px;
    background-repeat: no-repeat;
    background-position: right;
    list-style: none;
    z-index: 2;
}

nav.header-menu ul li:first-child a > span {
    gap: .4rem;
}

nav.header-menu ul li a,
.li-container ul li a {
	color: #131417;
	font-size: 0.88rem;
	font-weight: 500;
}

[data-theme="dark"] nav.header-menu ul li a,
[data-theme="dark"] .li-container ul li a {
    color: #fff;
}

nav.header-menu ul li.mega-menu ul.sub-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(1) {
    order: 1;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(2) {
    order: 2;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(3) {
    order: 6;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(4) {
    order: 4;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(5) {
    order: 5;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(6) {
    order: 3;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(7) {
    order: 7;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(8) {
    order: 8;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(9) {
    order: 9;
}

nav.header-menu ul li.mega-menu ul.sub-menu li:nth-child(10) {
    order: 10;
}

nav.header-menu ul li.menu-item-has-children ul.sub-menu {
    z-index: 2;
    display: grid;
    position: absolute;
    min-width: max-content;
    padding: 10px 0;
    background-color: #fff;
    border-radius: 5px;
    font-size: 14px;
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .3s, transform .3s;
    pointer-events: none;
}

[data-theme="dark"] nav.header-menu ul li.menu-item-has-children ul.sub-menu {
    background-color: #191c20;
}

nav.header-menu ul li.menu-item-has-children ul.sub-menu::before {
    z-index: 1;
    position: absolute;
    top: -6px;
    right: 15px;
    width: 12px;
    height: 12px;
    background: #fff;
    border: 1px solid #fff;
    border-bottom: unset;
    border-right: unset;
    content: "";
    transform: rotate(45deg);
}

[data-theme="dark"] nav.header-menu ul li.menu-item-has-children ul.sub-menu::before {
    background: #191c20;
    border: 1px solid #191c20;
}

nav.header-menu ul li.menu-item-has-children ul.sub-menu {
    font-size: 14px;
    pointer-events: none;
}

nav.header-menu ul li.menu-item-has-children ul.sub-menu li a {
    font-weight: 400;
    padding: 8px 20px;
}

.flex-center {
    display: flex;
    flex: 1;
    align-items: center;
    gap: .3rem;
}

.flex-center img {
    min-width: 22px;
    max-width: 22px;
    max-height: 22px;
}

[data-theme="dark"] .light-mode {
    display: none;
}

[data-theme="default"] .dark-mode {
    display: none;
}

.theme-mode__changer {
    opacity: 0;
    position: absolute;
}

.theme-mode__label {
    width: 50px;
    background-color: #111;
    display: flex;
    border-radius: 50px;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    position: relative;
    transform: scale(1.2);
    cursor: pointer;
}

.theme-mode__changer:checked+.theme-mode__label .theme-mode__ball {
    transform: translateX(24px);
}

.theme-mode .theme-mode__label svg {
    color: pink;
    font-size: 15px;
    width: 16px;
    height: 16px;
}

.theme-mode .theme-mode__label svg:first-child {
    color: yellow;
}

.theme-mode__ball {
    width: 20px;
    height: 20px;
    background-color: white;
    position: absolute;
    left: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}

.header-tools {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    color: #000;
}

.header-tools .user-login {
    display: flex;
    align-items: center;
    gap: .4rem;
    background: var(--background-color-company);
    padding: .6rem 1rem;
    border-radius: 10px;
    font-size: 13px;
    color: #000;
    position: relative;
}

.header-tools .user-login img {
	position: absolute;
	right: -29px;
	top: -16px;
	width: 50px;
	height: 50px;
	pointer-events: none;
	rotate: 19deg;
}

.header-tools .user-login svg path {
    stroke: #000 !important;
}

.header-tools a svg path {
    stroke: #000;
    fill: transparent;
}

[data-theme="dark"] .header-tools a svg path {
    stroke: #fff;
}

.search-box .search-box__close::after {
    display: block;
    color: var(--background-color-text);
    width: 33px;
    height: 30px;
    content: "\00d7";
    position: absolute;
    left: 3px;
    top: 22%;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/*menu responsive*/
.menu-container-span {
    display: grid;
    grid-gap: 5px;
    cursor: pointer;
}

.menu-container-span span {
    width: 28px;
    height: 2px;
    position: relative;
    background: #131417;
    border-radius: 10px;
}

[data-theme="dark"] .menu-container-span span {
    background: #fff;
}

.menu-container-span span:nth-child(2) {
    width: 75%;
}

.menu-container-span span:nth-child(3) {
    width: 50%;
}

.li-container {
    display: block;
    z-index: 99999999123;
    position: fixed;
    /* مهار صریح به گوشه — قبلا بدون top/right بود و به جایگاه DOM وابسته بود */
    top: 0;
    right: 0;
    width: 300px;
    max-width: 85vw; /* گوشی‌های خیلی باریک */
    transform: translateX(100%);
    font-size: 19px;
    height: 100vh;
    height: 100dvh; /* نوار آدرس موبایل ارتفاع vh را می‌شکند */
    overflow-y: auto; /* scroll همیشه اسکرول‌بار نشان می‌داد */
    transition: transform .3s ease;
    background-color: #fff;
}

[data-theme="dark"] .li-container {
    background-color: #131417;
}

.li-container .sub-menu {
    display: none;
    padding: 1rem 23px;
    background: #f9f9f9;
    border-radius: 6px;
}

[data-theme="dark"] .li-container .sub-menu {
    background: #0e0f11;
}

.li-container .sub-menu li a {
    color: #5f504d;
    padding: 7px 0px;
}

.li-container ul li.menu-item-has-children>a::after {
    content: '';
    border: solid #131417;
    border-width: 0 1.5px 1.5px 0;
    display: inline-block;
    padding: 2.7px;
    transform: rotate(135deg);
    transition: all 400ms;
}

[data-theme="dark"] .li-container ul li.menu-item-has-children>a::after {
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
}

.li-container ul li.menu-item-has-children.active a::after {
    transform: rotate(45deg);
}

.li-container ul li.menu-item-has-children.active .sub-menu {
    display: block;
}

.li-container.active {
    transform: translateX(0);
}

.li-container .cover {
    padding: 1rem 2rem 4rem;
    display: none;
}

.li-container .options {
    padding: 12px 0px;
    font-size: 15px;
    color: var(--background-color-heading);
}

.li-container .theme-mode {
    margin-bottom: 1rem;
}

.li-container .headerMenu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 2rem 0;
    height: 43px;
}

.li-container .headerMenu .logo a {
    display: flex;
}

.li-container .headerMenu .logo img {
    width: 140px;
    max-height: 43px;
}

.li-container .headerMenu .close {
    position: relative;
    cursor: pointer;
    width: 20px;
    height: 20px;
}

.li-container .headerMenu .close::before,
.li-container .headerMenu .close::after {
    background-color: #131417;
    content: "";
    height: 2px;
    left: 0;
    position: absolute;
    top: 7px;
    transform: rotate(45deg);
    width: 15px;
    cursor: pointer;
}

[data-theme="dark"] .li-container .headerMenu .close::before,
[data-theme="dark"] .li-container .headerMenu .close::after {
    background-color: #fff;
}

.li-container .headerMenu .close::before {
    transform: rotate(-45deg);
}

.li-container ul {
    display: grid;
    grid-gap: 1.5rem;
}

.li-container ul li a {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.li-container ul li.sub>a::after {
    content: '';
    border: solid #5f504d;
    border-width: 0 1.5px 1.5px 0;
    display: inline-block;
    padding: 4.7px;
    transform: rotate(135deg);
    transition: all 400ms;
}

.li-container .l-s {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.li-container .l-s a {
    flex: 1;
    color: #f6a120;
    border-radius: 5px;
    text-align: center;
    font-size: 14px;
    padding: .5rem 0;
    border: 1px solid #f6a120;
    transition: .3s;
}

.li-container .l-s a:hover {
    background-color: #f6a120;
    color: #fff;
}

.li-container .l-s .l-s__signup {
    color: #fff;
    background: #f6a120
}

/*footer*/
.footer {
    padding-top: 5rem;
    margin-top: 4rem;
    background: #1E1E1E;
}

.footer_socials {
    margin-top: 1rem;
}

@media only screen and (max-width: 599px) {
    .footer_socials {
	    margin: 1rem 0 2rem;
    } 
}

@media screen and (min-width: 600px) and (max-width: 999px) {
    .footer_socials {
        margin: 1rem 0 2rem;
    }
}

.footer_socials ul {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer_socials ul li {
    list-style: none;
}

.footer_socials ul li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 5px;
    color: #f9f9f9;
}

.footer_socials ul li a i {
    font-size: 20px;
}

.footer-menus {
	display: flex;
	gap: 5rem;
	border-bottom: 1px solid #e3e3e3;
	padding-bottom: 2rem;
}

@media only screen and (max-width: 599px) {
    .footer-menus {
    	display: grid;
    	gap: 2rem;
    	border-bottom: unset;
    }
}

@media screen and (min-width: 600px) and (max-width: 999px) {
    .footer-menus {
    	display: grid;
    	gap: 2rem;
    	border-bottom: unset;
    }
}

.footer-menus__about {
    max-width: 400px;
}

@media screen and (min-width: 1000px) and (max-width: 1279px) {
    .footer-menus__about {
        max-width: 300px;
    }
    
    .footer-menus__box:first-child {
        display: none;
    }
}

.footer-menus .footer-menus__about img {
    max-width: 108px;
}

.footer-menus .footer-menus__about-des {
    line-height: 30px;
    font-size: 0.813rem;
    color: #f9f9f9;
    margin-top: .7rem;
}

.footer-menus .footer-menus__about-title {
    font-size: 18px;
    font-weight: 700;
    color: #f9f9f9
}

[data-theme="dark"] .footer-menus .footer-menus__about-title {
    color: #fff;
}

[data-theme="dark"] .footer-menus .footer-menus__about-des {
    color: #fff;
}

.footer-menus__box-title {
	color: #f9f9f9;
	font-weight: 600;
}

[data-theme="dark"] .footer-menus__box-title {
    color: #fff;
}

.footer-menus__box ul {
    display: grid;
    gap: .6rem;
    color: #131417;
    margin-top: 20px;
}

[data-theme="dark"] .footer-menus .footer-menus__box ul {
    color: #fff;
}

[data-theme="dark"] .footer-menus .footer-menus__box ul li {
    list-style: none;
}

.footer-menus__box ul li a {
    color: #f9f9f9;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: .3s;
    font-size: 0.875rem;
}

[data-theme="dark"] .footer-menus__box ul li a,
[data-theme="dark"] .footer-menus__box ul li {
    color: var(--background-color-link-pale);
}

.footer-menus__box ul li a:hover {
    color: var(--background-color-company);
}

.footer-menus__box ul li a svg {
    flex-shrink: 0;
}

.footer-menus__box ul li {
    list-style: none;
}

.footer-row {
    display: grid;
    grid-template-columns: 1fr 2fr;
    align-items: center;
    gap: 2rem;
}

.footer-menu-boxes {
    display: flex;
    justify-content: space-between;
    flex: 1;
}

@media only screen and (max-width: 599px) {
    .footer-menu-boxes {
        display: grid;
        gap: 2rem;
    }
}

@media screen and (min-width: 600px) and (max-width: 999px) {
    .footer-menu-boxes {
        display: grid;
        gap: 2rem;
    }
}

.footer-row .footer-menus__box {
    padding-top: 2rem;
}

[data-theme="dark"] .footer-bottom {
    border-right: 1px solid #393e4b;
}

.footer-bottom .footer-bottom__row {
	display: grid;
	align-items: start;
	gap: 1.5rem;
	padding-right: 2.5rem;
	grid-template-columns: repeat(2, 1fr);
}

.footer-bottom .footer-bottom__symbols-title {
    color: var(--background-color-heading);
}

.footer-bottom .footer-bottom__symbols-images {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: start;
    margin-top: 20px;
}

.footer-bottom .footer-bottom__symbols-images img {
    width: 130px;
    max-height: 44px;
    height: auto;
    background: #fff;
    border-radius: 5px;
    filter: grayscale(100%);
    transition: .2s;
}

.footer-bottom .footer-bottom__symbols-images img:hover {
    filter: grayscale(0%);
}

.footer-bottom .footer-bottom__downloads-title {
    color: var(--background-color-heading);
}

.footer-bottom .footer-bottom__downloads ul {
	display: flex;
	align-items: center;
	gap: 1.5rem 2rem;
	margin-top: 20px;
	flex-wrap: wrap;
}

.footer-bottom .footer-bottom__downloads ul li {
    list-style: none;
    color: var(--background-color-heading);
}

.footer-bottom .footer-bottom__downloads ul li:first-child {
    width: 55px;
}

.footer-bottom .footer-bottom__downloads ul li a {
	display: grid;
	align-items: center;
	gap: .2rem;
	flex-wrap: wrap;
	color: var(--background-color-heading);
	transition: .1s;
	font-size: 12px;
}

.footer-bottom .footer-bottom__downloads ul li a:hover {
    color: var(--background-color-company);
}

.footer-bottom .footer-bottom__downloads svg {
	fill: var(--background-color-heading);
	width: 36px;
}

.footer-bottom .footer-bottom__cr {
    font-size: 0.813rem;
    padding: .5rem 0 1.5rem 0;
    color: #e3e3e3;
    padding-right: 2.5rem;
    text-align: center;
}

[data-theme="dark"] .footer-bottom .footer-bottom__cr {
    border-top: 1px solid #393e4b;
}

/*back to top*/
.progress-wrap {
    position: fixed;
    right: 10px;
    bottom: 15px;
    height: 46px;
    width: 46px;
    cursor: pointer;
    display: block;
    border-radius: 50px;
    box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.2);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

.progress-wrap.active-progress {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    background: var(--background-color-box);
}

.progress-wrap__arrow {
    z-index: 1;
    display: block;
    height: 20px;
    width: 20px;
    font-family: icomoon;
    text-align: center;
    line-height: 46px;
    font-size: 18px;
    fill: var(--background-color-text-pale);
    transition: all 200ms linear;
    cursor: pointer;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

.progress-wrap__arrow path {
    fill: #20A89D;
}

.progress-wrap__arrow:hover {
    color: #f6a120;
}

.progress-wrap svg path {
    fill: none;
}

.progress-wrap svg.progress-circle {
    padding: .2rem;
}

.progress-wrap svg.progress-circle path {
    stroke: #20A89D;
    stroke-width: 4;
    box-sizing: border-box;
    -webkit-transition: all 200ms linear;
    transition: all 200ms linear;
}

/* استایل صفحهٔ ۴۰۴ به style.css منتقل شد (کلاس‌های .nf404) */

/*common responsive*/
@media screen and (max-width: 1279px) and (min-width: 320px) {
    
    .mobile {
        display: flex;
    }

    .desktop {
        display: none !important;
    }
}




