/*
// Bootstrap
@import 'bootstrap/scss/bootstrap';
*/
@font-face {
    font-family: keenicons-duotone;
    src: url(/fonts/keenicons-duotone.eot?c1d96c50bcb10787337e35acfe089f83);
    src: url(/fonts/keenicons-duotone.eot?c1d96c50bcb10787337e35acfe089f83#iefix) format("embedded-opentype"), url(/fonts/keenicons-duotone.ttf?3a9e1c149d6a83427ca400127ccf005f) format("truetype"), url(/fonts/keenicons-duotone.woff?8b7edc19efe3f67d26468eba246b9b07) format("woff"), url(/fonts/keenicons-duotone.svg?75f0a608ce10321092cfaf4d51e255c2#keenicons-duotone) format("svg");
    font-weight: 400;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: keenicons-outline;
    src: url(/fonts/keenicons-outline.eot?14a219e169eb306eb3ad6bde17f19002);
    src: url(/fonts/keenicons-outline.eot?14a219e169eb306eb3ad6bde17f19002#iefix) format("embedded-opentype"), url(/fonts/keenicons-outline.ttf?32224aaae6444006134f077202d02bf8) format("truetype"), url(/fonts/keenicons-outline.woff?420056e09caeb5cb8a168205623e65e2) format("woff"), url(/fonts/keenicons-outline.svg?5f58d62e6af8de702e9d04d9ce0c35f2#keenicons-outline) format("svg");
    font-weight: 400;
    font-style: normal;
    font-display: block
}

@font-face {
    font-family: keenicons-solid;
    src: url(/fonts/keenicons-solid.eot?18e65208dcb47a864ca52908185d0c6c);
    src: url(/fonts/keenicons-solid.eot?18e65208dcb47a864ca52908185d0c6c#iefix) format("embedded-opentype"), url(/fonts/keenicons-solid.ttf?51e60424b00ed35cfc03bba6b66eea67) format("truetype"), url(/fonts/keenicons-solid.woff?ed9b6e7b85a505fa34de3c340c94ca05) format("woff"), url(/fonts/keenicons-solid.svg?c2bd03dd8262a1314b1aee1893c24264#keenicons-solid) format("svg");
    font-weight: 400;
    font-style: normal;
    font-display: block
}

.loading {
    filter: blur(4px) !important;
    pointer-events: none;
}

.spinner-border {
    width: 1.5rem !important;
    height: 1.5rem !important;
}

#upload_thumbnail {
    border-radius: 0 5px 5px 0;
    display: flex;
    align-items: center;
}


/* فونت فارسی - Regular */
@font-face {
    font-family: 'YekanBakhFaRegular';
    src: url(/fonts/YekanBakhFaNumRegular.woff2?30d2cdbb65c19f8ab9a68dae865a0485) format('woff2'),
    url(/fonts/YekanBakhFaNumRegular.woff?05d668176e0c9254d31c9af8bd1c4c10) format('woff'),
    url(/fonts/YekanBakhFaNumRegular.ttf?1ec168745678641c6586e595b17c0005) format('truetype');
    font-display: swap;
    unicode-range:
        U+0600-06FF,  /* حروف فارسی */
        U+0750-077F,  /* عربی تکمیلی */
        U+08A0-08FF,  /* عربی تکمیلی */
        U+0660-0669,  /* اعداد عربی */
        U+06F0-06F9,  /* اعداد فارسی */
        U+0030-0039;  /* اعداد لاتین */
}

@font-face {
    font-family: 'YekanBakhEnRegular';
    src: url(/fonts/YekanBakhFaEnRegular.woff2?adeb61a515a4db3bec20cc5aebd95f64) format('woff2'),
    url(/fonts/YekanBakhFaEnRegular.woff?5e6c7c090cf7eb54df41e08bead114bc) format('woff'),
    url(/fonts/YekanBakhFaEnRegular.ttf?47804e43e374ebb681864be5ae9cedb5) format('truetype');
    font-display: swap;
    unicode-range:
        U+0041-005A, /* A-Z */
        U+0061-007A; /* a-z */
}

@font-face {
    font-family: 'YekanBakhFaBold';
    src: url(/fonts/YekanBakhFaNumBold.woff2?aa233dea72fcce378e7a397955b3cf2c) format('woff2'),
    url(/fonts/YekanBakhFaNumBold.woff?5b387b21c576f0ff52f70dd79364ae7d) format('woff'),
    url(/fonts/YekanBakhFaNumBold.ttf?60476be58fe226b48fa4181c09b2e9ac) format('truetype');
    font-display: swap;
    unicode-range:
        U+0600-06FF,
        U+0750-077F,
        U+08A0-08FF,
        U+0660-0669,
        U+06F0-06F9,
        U+0030-0039;
}

@font-face {
    font-family: 'YekanBakhFaFat';
    src: url(/fonts/YekanBakhFaNumFat.woff2?cefbb9bed1e667715ba9c9827f2bd5ca) format('woff2'),
    url(/fonts/YekanBakhFaNumFat.woff?f862667d62bc96cb6e74be97c5efa64c) format('woff'),
    url(/fonts/YekanBakhFaNumFat.ttf?cddfce013e50031b142af58224bcecb8) format('truetype');
    font-display: swap;
    unicode-range:
        U+0600-06FF,
        U+0750-077F,
        U+08A0-08FF,
        U+0660-0669,
        U+06F0-06F9,
        U+0030-0039;
}

@font-face {
    font-family: 'CalibriRegular';
    src: url(/fonts/calibri-light.woff2?af9fd9ec1db81721f6bf0d94e807d792) format('woff2'),
    url(/fonts/calibri-light.woff?9e2334ba938b1d23c3bfd2a586f89d05) format('woff'),
    url(/fonts/calibri-light.ttf?f5109d6ea3facb7c9d8d26d4a60fc4ea) format('truetype');
    font-display: swap;
    unicode-range:
        U+0020-007F;
}

@font-face {
    font-family: 'CalibriBold';
    src: url(/fonts/calibri-bold.woff2?63e4a11dee1ab292b90a4328d08acab1) format('woff2'),
    url(/fonts/calibri-bold.woff?8a3486f125bce82df8db34f66fb0485f) format('woff'),
    url(/fonts/calibri-bold.ttf?ef9b8d6950fd26d414e2de508bd35db9) format('truetype');
    font-display: swap;
    unicode-range:
        U+0020-007F;
}

/* حالت پیش‌فرض (فارسی) */
.svg-bg {
    transform: none;
}

/* وقتی صفحه LTR باشه (مثلاً روی body dir="ltr") */
[dir="ltr"] .svg-bg {
    transform: scale(-1,1);
    transform-origin: center;
}
/* حالت پیش‌فرض RTL */
foreignObject.should-rotate {
    transform: none;
}

/* حالت LTR */
[dir="ltr"] foreignObject.should-rotate {
    transform: translateX(calc(100% - 412px));
}



body {
    overflow-x: hidden !important;
}

.main-width {
    width: 1400px !important;
    margin: 0 auto;
    max-width: 100%; /* جلو‌گیری از اسکرول افقی */
}

/* لپ‌تاپ کوچک و تبلت افقی */
@media (max-width: 1200px) {
    .main-width {
        width: 95% !important;
    }
}

/* تبلت */
@media (max-width: 992px) {
    .main-width {
        width: 95% !important;
    }
}

/* موبایل */
@media (max-width: 768px) {
    .main-width {
        width: 100% !important;
    }
}

/* موبایل خیلی کوچک */
@media (max-width: 480px) {
    .main-width {
        width: 100% !important;
        padding: 0 10px; /* کمی فاصله از کناره‌ها */
    }
}

a.disabled:hover {
    color: unset !important;
}

a.disabled {
    cursor: context-menu;
}

.ff-regular {
    font-family: YekanBakhFaRegular,EnglishFont !important;
}

.ff-bold {
    font-family: YekanBakhFaBold,EnglishFont !important;
}
.ff-fat {
    font-family: YekanBakhFaFat,EnglishFont !important;
}
[dir="ltr"] .ff-bold {
    font-family: CalibriBold !important;
    font-weight: 900 !important;
}
[dir="ltr"] .ff-regular {
    font-family: CalibriBold !important;
    font-weight: 900 !important;
}


.aifco-title {
    font-family: YekanBakhFaBold,EnglishFont !important;
    font-size: 25px !important;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.aifco-title-white {
    font-family: YekanBakhFaBold,EnglishFont !important;
    font-size: 20px !important;
    margin-bottom: 0;
    color: #ffffff;
}

.aifco-title:after {
    content: "";
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, #FFF 0%, #BC0000 48.08%, #D9D9D9 100%);
    margin-top: 7px;
    margin-bottom: 7px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.aifco-title-white:after {
    content: "";
    width: 70%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #FFF 48.08%, rgba(217, 217, 217, 0.00) 100%);
    display: block;
    margin-top: 15px;
    margin-bottom: 7px;
}

@media (max-width: 768px) {
    .aifco-title {
        font-family: YekanBakhFaRegular,EnglishFont !important;
        font-size: 16px !important;
    }

    .aifco-title:after {
        display: none;
    }

    .aifco-title-white {
        font-size: 16px !important;
    }


}

.aifco-main-counter {
    color: #ffffff;
    font-size: 50px !important;
}

@media (max-width: 575.98px) {
    .aifco-main-counter {
        color: #ffffff;
        font-family: YekanBakhFaBold !important;
        font-size: 25px !important;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .aifco-main-counter {
        color: #ffffff;
        font-family: YekanBakhFaBold !important;
        font-size: 40px !important;
    }
}

.aifco-bg {
    background-color: #800901 !important;
}

.border-aifco {
    border-color: #800901 !important;
    border-width: 1px !important;
    border-style: solid;
}

.aifco-card-bg {
    background-color: #e1e1e1 !important;
}

.aifco-text-color {
    color: #800901 !important;
}

.aifco-shape-1 {
    width: 325px;
    height: 474px;
    background: #f3f3f3;
    -webkit-clip-path: path("M309 0C317.837 8.05323e-09 325 7.16345 325 16V458C325 466.837 317.837 474 309 474H176.87C170.356 474 164.493 470.051 162.044 464.015L149.051 431.985C146.602 425.949 140.738 422 134.224 422L16.0001 422.001C7.16351 422.001 0 414.837 0 406.001V16C0 7.16344 7.16344 0 16 0H309Z");
    clip-path: path("M309 0C317.837 8.05323e-09 325 7.16345 325 16V458C325 466.837 317.837 474 309 474H176.87C170.356 474 164.493 470.051 162.044 464.015L149.051 431.985C146.602 425.949 140.738 422 134.224 422L16.0001 422.001C7.16351 422.001 0 414.837 0 406.001V16C0 7.16344 7.16344 0 16 0H309Z");
}

.aifco-shape-2 {
    width: 161px;
    height: 449px;
    background: #900410;

    /* شکل همون path */
    -webkit-clip-path: path("M25.0569 21.6072C25.5481 13.5492 31.9654 7.11941 40.0224 6.61242L143.995 0.070014C153.209 -0.509745 161 6.80661 161 16.0384V433C161 441.837 153.837 449 145 449H16.0052C6.78571 449 -0.526209 441.229 0.0348332 432.026L25.0569 21.6072Z");
    clip-path: path("M25.0569 21.6072C25.5481 13.5492 31.9654 7.11941 40.0224 6.61242L143.995 0.070014C153.209 -0.509745 161 6.80661 161 16.0384V433C161 441.837 153.837 449 145 449H16.0052C6.78571 449 -0.526209 441.229 0.0348332 432.026L25.0569 21.6072Z");
}

.aifco-shape-3 {
    position: relative;
    width: 100%; /* ریسپانسیو بشه */
    aspect-ratio: 1360 / 566; /* نسبت اصلی path */
    background: #2e2e2e;
    -webkit-clip-path: path("M0 534C0 551.673 14.3269 566 32 566H656C673.673 566 688 551.673 688 534V455.257C688 437.101 703.09 422.582 721.233 423.281L1326.77 446.625C1344.91 447.325 1360 432.805 1360 414.649V32C1360 14.3269 1345.67 0 1328 0H32C14.3269 0 0 14.3269 0 32V534Z");
    clip-path: path("M0 534C0 551.673 14.3269 566 32 566H656C673.673 566 688 551.673 688 534V455.257C688 437.101 703.09 422.582 721.233 423.281L1326.77 446.625C1344.91 447.325 1360 432.805 1360 414.649V32C1360 14.3269 1345.67 0 1328 0H32C14.3269 0 0 14.3269 0 32V534Z");
    overflow: hidden;
}

.aifco-shape-4 {
    width: 1231px; /* همون عرض اصلی SVG */
    height: 499px; /* همون ارتفاع اصلی SVG */
    background: #573882; /* یا تصویر دلخواه */

    -webkit-clip-path: path("M1231 482.932C1231 491.768 1223.84 498.932 1215 498.932H722.484C713.667 498.932 706.519 491.784 706.519 482.966C706.519 474.148 699.37 467 690.553 467H553.966C545.148 467 538 474.148 538 482.966C538 491.784 530.852 498.932 522.034 498.932H16C7.16346 498.932 0 491.768 0 482.932V16C0 7.16343 7.16344 0 16 0H1215C1223.84 0 1231 7.16344 1231 16V482.932Z");
    clip-path: path("M1231 482.932C1231 491.768 1223.84 498.932 1215 498.932H722.484C713.667 498.932 706.519 491.784 706.519 482.966C706.519 474.148 699.37 467 690.553 467H553.966C545.148 467 538 474.148 538 482.966C538 491.784 530.852 498.932 522.034 498.932H16C7.16346 498.932 0 491.768 0 482.932V16C0 7.16343 7.16344 0 16 0H1215C1223.84 0 1231 7.16344 1231 16V482.932Z");
}

.aifco-shape-5 {
    width: 324px; /* عرض اصلی */
    height: 482px; /* ارتفاع اصلی */
    background: #F3F3F3;

    -webkit-clip-path: path("M308 0C316.837 6.44258e-08 324 7.16344 324 16V466C324 474.837 316.837 482 308 482H142.037C135.041 482 128.856 477.454 126.767 470.777L117.245 440.345C115.156 433.668 108.971 429.122 101.975 429.122L16 429.123C7.1635 429.123 7.39246e-05 421.96 0 413.123V16C4.55036e-07 7.16344 7.16344 0 16 0H43.9237C50.7696 0 55.7957 8.60288 58.7051 14.7998L67.1807 32.8496C69.8169 38.4642 75.4604 42.0497 81.6631 42.0498H240.107C246.17 42.0497 251.712 38.6228 254.421 33.1992L263.437 15.1494C266.573 8.86952 271.758 0 278.778 0H308Z");
    clip-path: path("M308 0C316.837 6.44258e-08 324 7.16344 324 16V466C324 474.837 316.837 482 308 482H142.037C135.041 482 128.856 477.454 126.767 470.777L117.245 440.345C115.156 433.668 108.971 429.122 101.975 429.122L16 429.123C7.1635 429.123 7.39246e-05 421.96 0 413.123V16C4.55036e-07 7.16344 7.16344 0 16 0H43.9237C50.7696 0 55.7957 8.60288 58.7051 14.7998L67.1807 32.8496C69.8169 38.4642 75.4604 42.0497 81.6631 42.0498H240.107C246.17 42.0497 251.712 38.6228 254.421 33.1992L263.437 15.1494C266.573 8.86952 271.758 0 278.778 0H308Z");
}


.aifco-shape-6 {
    width: 193px; /* عرض اصلی */
    height: 39px; /* ارتفاع اصلی */
    background: #900410;

    -webkit-clip-path: path("M1.2396 11.3525C-1.207 6.0515 2.66495 0 8.50327 0H184.786C190.55 0 194.423 5.91232 192.119 11.1967L182.094 34.1967C180.822 37.1139 177.942 39 174.76 39H19.1187C15.9982 39 13.1626 37.1857 11.855 34.3525L1.2396 11.3525Z");
    clip-path: path("M1.2396 11.3525C-1.207 6.0515 2.66495 0 8.50327 0H184.786C190.55 0 194.423 5.91232 192.119 11.1967L182.094 34.1967C180.822 37.1139 177.942 39 174.76 39H19.1187C15.9982 39 13.1626 37.1857 11.855 34.3525L1.2396 11.3525Z");
}

.aifco-shape-7 {
    width: 175px; /* عرض اصلی */
    height: 31px; /* ارتفاع اصلی */
    background: #E5E5E5;

    opacity: 0.82; /* همون opacity موجود در path */

    -webkit-clip-path: path("M9.14217 26.7401C10.5281 29.3607 13.2496 31 16.2141 31H167C171.418 31 175 27.4183 175 23V8C175 3.58172 171.418 0 167 0H8.28093C2.2538 0 -1.60872 6.41225 1.20906 11.7401L9.14217 26.7401Z");
    clip-path: path("M9.14217 26.7401C10.5281 29.3607 13.2496 31 16.2141 31H167C171.418 31 175 27.4183 175 23V8C175 3.58172 171.418 0 167 0H8.28093C2.2538 0 -1.60872 6.41225 1.20906 11.7401L9.14217 26.7401Z");
}
[dir="ltr"] .aifco-shape-7 {
    left: 130px;
}

.aifco-shape-8 {
    width: 100%;                   /* همیشه کل عرض */
    aspect-ratio: 1360 / 566;      /* تناسب اصلی */
    background: #2E2E2E;

    -webkit-clip-path: path("M1360 32C1360 14.3269 1345.67 0 1328 0H461C443.327 0 429 14.3269 429 32V99.0536C429 115.914 415.918 129.882 399.093 130.985L29.9066 155.188C13.0823 156.291 0 170.259 0 187.119V534C0 551.673 14.3269 566 32 566H1328C1345.67 566 1360 551.673 1360 534V32Z");
    clip-path: path("M1360 32C1360 14.3269 1345.67 0 1328 0H461C443.327 0 429 14.3269 429 32V99.0536C429 115.914 415.918 129.882 399.093 130.985L29.9066 155.188C13.0823 156.291 0 170.259 0 187.119V534C0 551.673 14.3269 566 32 566H1328C1345.67 566 1360 551.673 1360 534V32Z");
}


.aifco-shape-9 {
    width: 412px;      /* عرض اصلی */
    height: 138px;     /* ارتفاع اصلی */
    background: #F6F6F6;

    -webkit-clip-path: path("M412 98.3268C412 106.793 405.405 113.794 396.954 114.298L16.9536 136.988C7.75848 137.537 0 130.228 0 121.016V16C0 7.16344 7.16345 0 16 0H396C404.837 0 412 7.16345 412 16V98.3268Z");
    clip-path: path("M412 98.3268C412 106.793 405.405 113.794 396.954 114.298L16.9536 136.988C7.75848 137.537 0 130.228 0 121.016V16C0 7.16344 7.16345 0 16 0H396C404.837 0 412 7.16345 412 16V98.3268Z");
}

.aifco-shape-10 {
    width: 671px;
    height: 475px;
    background: #F6F6F6;
    border-radius: 16px; /* تقریبا همون گردی گوشه‌ها */
    border: 4px solid transparent;
    background-clip: padding-box, border-box;
    background-origin: border-box;
    background-image:
        linear-gradient(#F6F6F6, #F6F6F6),
        linear-gradient(135deg, #EDEDED 0%, #900410 58%, #EDEDED 100%);
}

.aifco-shape-11 {
    width: 1360px;   /* همون عرض SVG */
    height: 226px;   /* همون ارتفاع SVG */
    background: #900410;

    -webkit-clip-path: path("M0 76.3829C0 59.136 13.6681 44.9919 30.9048 44.4016L1326.9 0.0191193C1345 -0.600449 1360 13.8979 1360 32.0004V193.994C1360 211.667 1345.67 225.994 1328 225.994H32C14.3269 225.994 0 211.667 0 193.994V76.3829Z");
    clip-path: path("M0 76.3829C0 59.136 13.6681 44.9919 30.9048 44.4016L1326.9 0.0191193C1345 -0.600449 1360 13.8979 1360 32.0004V193.994C1360 211.667 1345.67 225.994 1328 225.994H32C14.3269 225.994 0 211.667 0 193.994V76.3829Z");
}




.contact-form {
    position: relative;
    border-radius: 16px;
    background: #F6F6F6;
    padding: 30px;
    overflow: hidden; /* جلوگیری از بیرون زدن */
}

.contact-form::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;       /* فقط پایین */
    height: 100%;      /* شامل چپ و پایین */
    border-radius: 16px;
    border-left: 2px solid transparent;
    border-bottom: 2px solid transparent;

    background: linear-gradient(135deg,
    rgba(237, 237, 237, 1) 0%,
    rgba(144, 4, 16, 1) 20%,
    rgba(237, 237, 237, 1) 100%
    ) border-box;

    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
}



/* 📱 موبایل خیلی کوچک (≤575px) */
@media (max-width: 575.98px) {
    .main-contact-us-phone-wrapper {
        top: 36%;
        right: 47%;
    }
}

/* 📱 موبایل و تبلت کوچک (576px–767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .main-contact-us-phone-wrapper {
        top: 42%;
        right: 36%;
    }
}

/* 📱 تبلت (768px–991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .main-contact-us-phone-wrapper {
        top: 44%;
        right: 35%;
    }
}

/* 💻 لپ‌تاپ کوچک / دسکتاپ (992px–1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-contact-us-phone-wrapper {
        top: 48%;
        right: 37%;
    }
}

/* 💻 دسکتاپ متوسط (1200px–1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-contact-us-phone-wrapper {
        top: 50%;
        right: 40%;
    }
}

/* 🖥️ دسکتاپ بزرگ (≥1400px) */
@media (min-width: 1400px) {
    .main-contact-us-phone-wrapper {
        top: 52%;
        right: 38%;
    }
}


.short-text {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.toast {
    opacity: 1 !important;
    border: unset !important;
}

.toast.toast-error {
    box-shadow: 0 0 12px #bd362f !important;
}

.toast.toast-success {
    box-shadow: 0 0 12px #51a351 !important;
}

table td, table th {
    white-space: nowrap;
    vertical-align: middle;
    text-align: center;
}

.form-field .btn {
    padding: unset !important;
}

.ltr {
    direction: ltr !important;
}

.rtl {
    direction: rtl !important;
}

input[name='mobile'], input[name='email'], input[name='phone'] {
    direction: ltr;
}

input[type='checkbox'] {
    cursor: pointer !important;
}

.lang-flag-avatar {
    width: 40px;
    z-index: 9;
}

.select-language-wrapper .current {
    cursor: pointer;;
}

.select-language-wrapper-submenu {
    background-color: #F5E4E4;
    box-shadow: 0 0 7px #d3d3d3;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== اسلایدر ===== */
.main-slider .tns-outer {
    position: relative;
}

/* ===== بولت‌ها ===== */
.main-slider .tns-nav {
    position: absolute;
    width: 100%;
    bottom: -14px;
    left: 5px;
}

.main-slider .tns-nav button {
    display: inline-block;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
}

.main-slider .tns-nav button.tns-nav-active {
    background: #800901 !important;
    border-radius: 10px !important;
}

/* 📱 موبایل خیلی کوچک (≤575px) */
@media (max-width: 575.98px) {
    .main-slider .tns-nav {
        bottom: -17px;
        left: 3px;
    }

    .main-slider .tns-nav button {
        width: 6px !important;
        height: 7px !important;
        border-radius: 100% !important;
        margin: 0 .02rem !important;
    }

    .main-slider .tns-nav button.tns-nav-active {
        width: 10px !important;
    }

    .main-slider .left-svg, .main-slider .right-svg {
        display: none;
    }

    #kt_team_slider_prev1 {
        left: 15px !important;
    }

    #kt_team_slider_next1 {
        right: 15px !important;
    }
}

/* 📱 موبایل و تبلت کوچک (576px–767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .main-slider .tns-nav {
        left: 3px;
    }

    .main-slider .tns-nav button {
        width: 6px !important;
        height: 6px !important;
        border-radius: 100% !important;
        margin: 0 .06rem !important;
    }

    .main-slider .tns-nav button.tns-nav-active {
        width: 17px !important;
    }

    .main-slider .left-svg, .main-slider .right-svg {
        display: none;
    }

    #kt_team_slider_prev1 {
        left: 15px !important;
    }

    #kt_team_slider_next1 {
        right: 15px !important;
    }
}

/* 📱 تبلت (768px–991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .main-slider .tns-nav button {
        width: 6px !important;
        height: 6px !important;
        border-radius: 100% !important;
        margin: 0 .08rem !important;
    }

    .main-slider .tns-nav button.tns-nav-active {
        width: 20px !important;
    }

    .main-slider .left-svg, .main-slider .right-svg {
        display: none;
    }

    #kt_team_slider_prev1 {
        left: 30px !important;
    }

    #kt_team_slider_next1 {
        right: 30px !important;
    }
}

/* 💻 لپ‌تاپ کوچک / دسکتاپ (992px–1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .main-slider .tns-nav button {
        width: 8px !important;
        height: 8px !important;
        margin: 0 .10rem !important;
    }

    .main-slider .tns-nav button.tns-nav-active {
        width: 25px !important;
    }

    .main-slider .left-svg, .main-slider .right-svg {
        display: none;
    }

    #kt_team_slider_prev1 {
        left: 40px !important;
    }

    #kt_team_slider_next1 {
        right: 40px !important;
    }
}

/* 💻 دسکتاپ متوسط (1200px–1399px) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .main-slider .tns-nav button {
        width: 10px !important;
        height: 10px !important;
        margin: 0 .15rem !important;
    }

    .main-slider .tns-nav button.tns-nav-active {
        width: 30px !important;
    }

    .main-slider .right-svg {
        right: -45px !important;
    }

    .main-slider .left-svg {
        left: -45px !important;
    }

    #kt_team_slider_prev1 {
        left: 40px !important;
    }

    #kt_team_slider_next1 {
        right: 40px !important;
    }
}

/* 🖥️ دسکتاپ بزرگ (≥1400px) */
@media (min-width: 1400px) {
    .main-slider .tns-nav button {
        width: 10px !important;
        height: 10px !important;
        margin: 0 .15rem !important;
    }

    .main-slider .tns-nav button.tns-nav-active {
        width: 40px !important;
    }

    .main-slider .right-svg {
        right: 0 !important;
    }

    .main-slider .left-svg {
        left: 0 !important;
    }

    #kt_team_slider_prev1 {
        left: 40px !important;
    }

    #kt_team_slider_next1 {
        right: 40px !important;
    }
}


.auth-input-bg {
    /* From https://css.glass */
    background: rgba(231, 221, 219, 0.61);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10.7px);
    -webkit-backdrop-filter: blur(10.7px);
}


.form-check.form-check-aifco .form-check-input:checked {
    background-color: #800901;
    border: unset;
}

.gallery-media-item {
    background: #d3d3d3;
    padding: 5px;
    border-radius: 50%;
    width: 100px;
    height: 100px;
    display: inline-block;
    position: relative;
    transition: all linear .1s;
    margin: 0 5px;
}

.gallery-media-item img {
    border-radius: 50px;
}

.gallery-media-item i {
    position: absolute;
    font-size: 50px;
    top: 16%;
    left: 29%;
}

.ltr .input-group-text {
    border-radius: 0.75rem 0 0 0.75rem !important;
}

.ltr input.form-control {
    border-radius: 0 .75rem .75rem 0 !important;

}

.dropzone {
    flex-wrap: wrap !important;
}

select {
    font-family: YekanBakhFaRegular !important;
}

.page-content figure > img {
    width: 100% !important;
    height: 100% !important;
}

.page-content .image-style-side {
    float: right;
    margin-left: 1rem;
    max-width: 50%;
}

.page-content .image.image_resized:not(.image-style-side) {
    margin: auto;
}

.page-content img.image_resized {
    height: auto;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

input[type=number] {
    -moz-appearance: textfield; /* Firefox */
}


.code-input {
    border: unset !important;
    background-color: rgba(255, 255, 255, 0.5) !important;
    color: #800901 !important;
}

.code-input.input-error {
    border: 2px solid #800901 !important;
    transition: border-color 0.3s ease !important;
}

.code-input.input-success {
    border: 2px solid #01800c !important;
    color: #01800c !important;
    transition: border-color 0.3s ease !important;
}

.shake {
    animation: shake 0.3s ease; /* Add shake animation */
}

@keyframes shake {
    0% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    50% {
        transform: translateX(5px);
    }
    75% {
        transform: translateX(-3px);
    }
    100% {
        transform: translateX(3px);
    }
}

.pagination .page-item.active .page-link {
    background-color: #800901;
}

#enterPsmButton {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 15px;
    z-index: 99;
    background: #c50c00;
    color: #fff;
    padding: 7px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    box-shadow: 0 0 7px #800901;
}

@media (max-width: 768px) {
    #enterPsmButton {
        font-size: 11px;
        bottom: 10px;
        right: 10px;
    }
}

/* New style audio player */
.audio-player {
    margin-top: 20px;
    border-radius: 5px;
    width: 100%;
    height: 50px;
}

.audio-player-wrapper {
    border-radius: 5px;
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
}

.audio-controls, .audio-controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.audio-progress, .audio-progress-wrapper {
    height: 8px;
    background-color: #ccc;
    position: relative;
    border-radius: 5px;
    cursor: pointer;
    transition: all .02s linear;
}

.audio-progress {
    width: 85%;
}

.audio-progress-wrapper {
    width: 65%;
}

.audio-progress:hover, .audio-progress-wrapper:hover {
    height: 10px;
}

.audio-progress-bar, .audio-progress-bar-wrapper {
    height: 100%;
    background-color: #007bff;
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 5px;
}

.audio-time, .audio-time-wrapper {
    font-size: 0.9em;
}

.audio-controls button, .audio-controls-wrapper button {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2em;
    color: #007bff;
    outline: none;
}

.new-audio-controls button:hover, .new-audio-controls-wrapper button:hover {
    color: #0056b3;
}

.new-audio-controls button:disabled, .new-audio-controls-wrapper button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#agenda-pdf-container {
    width: 800px;
    min-height: 1100px;
    position: absolute;
    left: -500%;
}

#invoice-pdf-container {
    width: 900px;
    min-height: 1100px;
    position: absolute;
    left: -500%;
    padding: 30px;
}

#first-section > div, #second-section > div {
    border: 1px solid #000000;
    border-radius: 5px;
}

.first-section {
    height: 400px;
}


.code-viewer {
    background-color: #dcdcdc;
    padding: 15px;
    border-radius: 8px;
    color: #0e0e0e;
    font-family: 'Courier New', Courier, monospace;
    overflow-x: auto;
}

.code-viewer pre {
    margin: 0;
}

.code-viewer code {
    font-size: 14px;
    line-height: 1.6;
    color: #ccc;
}

.code-viewer code span {
    color: #f8f8f2;
}

.pro_gallery {
    position: relative;
    height: 100%;
}

.pro-gallery-parent {
    background-color: #ffffff;
    margin-bottom: 10px;
    border-radius: 15px;
    height: 62%;
}

.product-gallery img {
    max-width: 80%;
    display: block;
    margin: auto;
}

.product-gallery .swiper-pagination {
    bottom: 20px !important;
}

.product-gallery .swiper-slide {
    border: 1px solid #eee;
    border-radius: 10px;
    margin-bottom: 15px;
    padding: 10px 10px 60px;
    background-color: #fff;
}

.product-gallery .swiper-slide .swiper-zoom-container {
    padding: 10px;
}

.product-gallery .swiper-button-next,
.product-gallery .swiper-button-prev {
    background-color: #eee !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    border-radius: 50% !important;
}

.product-gallery .swiper-button-next::after,
.product-gallery .swiper-button-prev::after {
    color: #800901 !important;
}


.swiper-pagination-bullet-active {
    background: #800901 !important;
    width: 25px !important;
    height: 7px !important;
    border-radius: 10px !important;
}

.product-gallery-thumb img {
    display: block;
    max-width: 80%;
    max-height: 80px;
    margin: auto;
    opacity: 0.6;
    transition: 0.3s all ease-in-out;
    cursor: pointer;
}

.product-gallery .swiper-button-next::after, .product-gallery .swiper-button-prev::after {
    font-size: 16px !important;
}

.swiper.product-gallery-thumb {
    margin-top: 65px;
}

.product-gallery-thumb img:hover {
    opacity: 1;
}

.product-gallery-thumb .swiper-slide {
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s all ease-in-out;
    padding: 10px;
}

.product-gallery-thumb .swiper-slide-thumb-active {
    border-color: #800901;
}

.product-gallery-thumb .swiper-slide-thumb-active img {
    opacity: 1;
}

.equip-counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.equip-counter i {
    background: #800901 !important;
    color: #fff;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
}

.equip-counter bdi {
    font-size: 20px;
    margin: 0 10px;
}

.header-cart-icon i {
    font-size: 40px;
    color: #800901;
}

.header-cart-icon bdi {
    position: absolute;
    top: -25px;
    right: -10px;
    background: #800901;
    color: #fff;
    padding: 5px;
    border-radius: 50px;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cart-item-wrapper {
    position: absolute;
    top: 40px;
    left: -100px;
    background: #fff;
    padding: 10px;
    border-radius: 15px;
    box-shadow: 0 0 7px #d3d3d3;
    width: 450px;
    z-index: 10;
}

.header-cart-item-wrapper > div:first-child {
    max-height: 300px;
    overflow-y: scroll;
}

.header-cart-item-wrapper .item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #eae8e8;
}

.header-cart-item-wrapper .item .count {
    display: flex;
    align-items: center;
}

.header-cart-item-wrapper .item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
}

@media (max-width: 768px) {
    .header-cart-item-wrapper {
        left: -15px;
        width: 300px;
    }

    .header-cart-item-wrapper .item {
        flex-direction: column;
    }
}

.custom-table td {
    vertical-align: middle !important;
    text-align: start;
    padding: 10px !important;
    border-bottom: 4px solid #f8f8f8 !important;
}

.custom-table td:not(.custom-label) {
    background: #e8e8e8 !important;
}

.custom-label {
    width: 250px;
    background-color: #b3e5fc !important;
    border-left: 4px solid #f8f8f8 !important;
}

.equipment-item-wrapper .item {
    width: 24.5%;
}

@media (max-width: 768px) {
    .equipment-item-wrapper .item {
        width: 100%;
    }
}

.change-status-item-wrapper {
    flex-direction: column;
    position: absolute;
    z-index: 999999999 !important;
    top: 40px;
    left: -25px;
    box-shadow: 0 0 16px #8a8989;
    border-radius: 5px;
    padding: 10px;
    gap: 5px;
    background: #92b9da !important;
    width: 150px;
}

.menu-hover-bg-aifco .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here),
.menu-hover-bg-aifco .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) {
    transition: color .2s ease !important;
    background-color: #800901 !important;
    color: #ffffff !important;
}

.menu-hover-bg-aifco .menu-item.hover:not(.here) > .menu-link:not(.disabled):not(.active):not(.here) .menu-title,
.menu-hover-bg-aifco .menu-item:not(.here) .menu-link:hover:not(.disabled):not(.active):not(.here) .menu-title {
    color: #ffffff !important;
}


