.raychat_frame{
    bottom: calc(15px - -40px) !important;
}

.header_main_container{
    height:100px;
    position:fixed;
}
.loader-wrapper_link_container{
    text-decoration: none;
    cursor: pointer;
}

.loader-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 100vw;
    /* background: radial-gradient(
     circle at 10% 20%,
     rgb(176, 39, 39) 0%,
     rgb(71, 0, 0) 90%); */
    font-family: "Poppins", sans-serif;
    font-size: 1.1em;
    font-weight: 600;
    user-select: none;
    color: black;
    top: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
}

.loader {
    width: 100vw;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 1;
    margin:0px 30px;
    background-color: transparent;
    mask: repeating-linear-gradient(90deg,
    transparent 0,
    transparent 6px,
    black 7px,
    black 8px);
}

.loader::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background-image: radial-gradient(circle at 50% 50%, #f00 0%, transparent 50%),
    radial-gradient(circle at 45% 45%, #f00 0%, transparent 45%),
    radial-gradient(circle at 55% 55%, #fe4f35 0%, transparent 45%),
    radial-gradient(circle at 45% 55%, #f00 0%, transparent 45%),
    radial-gradient(circle at 55% 45%, #fe4f35 0%, transparent 45%);
    mask: radial-gradient(circle at 50% 50%,
    transparent 0%,
    transparent 10%,
    black 25%);
    animation:
            transform-animation 2s infinite alternate,
            opacity-animation 4s infinite;
    animation-timing-function: cubic-bezier(0.6, 0.8, 0.5, 1);
}

@keyframes transform-animation {
    0% {
        transform: translate(-55%);
    }

    100% {
        transform: translate(55%);
    }
}

@keyframes opacity-animation {

    0%,
    100% {
        opacity: 0;
    }

    15% {
        opacity: 1;
    }

    65% {
        opacity: 0;
    }
}

.loader-letter {
    display: inline-block;
    opacity: 0;
    animation: loader-letter-anim 4s infinite linear;
    z-index: 2;
    margin:0px 10px;
    font-family:jpack;
}
.loader-img{
    width: fit-content;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.loader-img-icon{
    height: 30px;

    animation: loader-icon-anim 4s infinite linear;
}

.loader-img-left{
    margin-right: 15px;
}
.loader-img-right{
    margin-left: 15px;
}

.loader-letter:nth-child(1) {
    animation-delay: 0.1s;
}

.loader-letter:nth-child(2) {
    animation-delay: 0.205s;
}

.loader-letter:nth-child(3) {
    animation-delay: 0.31s;
}

.loader-letter:nth-child(4) {
    animation-delay: 0.415s;
}

.loader-letter:nth-child(5) {
    animation-delay: 0.521s;
}

.loader-letter:nth-child(6) {
    animation-delay: 0.626s;
}

.loader-letter:nth-child(7) {
    animation-delay: 0.731s;
}

.loader-letter:nth-child(8) {
    animation-delay: 0.837s;
}

.loader-letter:nth-child(9) {
    animation-delay: 0.942s;
}

.loader-letter:nth-child(10) {
    animation-delay: 1.047s;
}

@keyframes loader-letter-anim {
    0% {
        opacity: 0;
    }

    5% {
        opacity: 1;
        text-shadow: 0 0 4px #fff;
        transform: scale(1.1) translateY(-2px);
    }
    20% {
        /* opacity: 0.9; */
        transform: scale(1.1) translateY(-2px);
    }
    40% {
        /* opacity: 0.8; */
        transform: scale(1.1) translateY(-2px);
    }
    60% {
        /* opacity: 0.6; */
        transform: scale(1.1) translateY(-2px);
    }

    80% {
        opacity: 0.2;
        transform: scale(1.1) translateY(-2px);
    }

    100% {
        opacity: 0;
    }
}
@keyframes loader-icon-anim {


    5% {
        opacity: 1;
        transform: scale(1.6) translateY(-2px);
    }
    20% {
        transform: scale(1.6) translateY(-2px);
    }
    40% {
        transform: scale(1.6) translateY(-2px);
    }
    60% {
        transform: scale(1.6) translateY(-2px);
    }

    80% {
        transform: scale(1.6) translateY(-2px);
    }

    100% {
        opacity: 0;
    }
}


@font-face {
    font-family: jpack;
    src: url('../../public/fonts/ttf/jpack.ttf');
}
header.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}


.nav_container {
    width: 100vw;
    position: relative;
    top: 0;
    height: 50px;
    background-image: radial-gradient(circle at 47.1% 47.8%, rgba(8, 208, 115, 1) 0%, rgba(0, 0, 0, 1) 150%);
    display: flex;
    justify-content: space-around;
    align-items: center;
    overflow: hidden;
    z-index:999;
}

.text_gift_nav {
    color: rgb(0, 0, 0);
}

.icon_gift_nav,
.icon_code_nav {
    animation: img 2s infinite alternate;
}

.icon_gift_nav {
    width: 100px;
}

.icon_code_nav {
    width: 60px;
    display: none;
}

#last_icon_gift_nav {
    display: inline;
}

#text_gift_nav_code {
    display: none;
    font-size: 13px !important;
}

#text_gift_nav {
    display: inline;
}

@keyframes img {

    0%,
    50%,
    100% {
        scale: 0.95;
    }

    25%,
    75% {
        scale: 1;
    }
}

@media (max-width: 980px) {

    #middle_icon,
    #left_text_gift_nav {
        display: none;
    }

    .nav_container {
        background-image: radial-gradient(circle at 47.1% 47.8%, rgba(8, 208, 115, 1) 0%, rgba(0, 0, 0, 1) 150%);
    }

    .icon_code_nav {
        display: inline;
        width: 100px;
    }

    #text_gift_nav_code {
        display: inline;
    }

    #last_icon_gift_nav,
    #text_gift_nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .header_main_container{
        height:100px;
        position:fixed;
    }
    .nav_container {
        background-image: radial-gradient(circle at 47.1% 47.8%, rgba(8, 208, 115, 1) 0%, rgba(0, 0, 0, 1) 150%);
    }

    .icon_gift_nav {
        width: 120px;
    }

    .text_gift_nav {
        font-size: 14px;
    }

    .text_gift_nav b {
        font-size: 18px;
    }

}

@media (max-width: 500px) {
    .nav_container {
        background-image: radial-gradient(circle at 47.1% 47.8%, rgba(8, 208, 115, 1) 0%, rgba(0, 0, 0, 1) 170%);
    }

    .icon_gift_nav {
        width: 70px;
    }

    .text_gift_nav {
        font-size: 12px;
    }

    .text_gift_nav b {
        font-size: 16px;
    }
}

@media (max-width: 400px) {
    .icon_gift_nav {
        width: 80px;
    }

    .text_gift_nav {
        font-size: 11px;
    }

    .text_gift_nav b {
        font-size: 15px;
    }

}
@media (max-width: 372px) {
    .icon_code_nav {
        display: inline;
        width: 85px;
    }

    .icon_gift_nav {
        width: 65px;
    }

    #text_gift_nav_code {
        font-size: 11px !important;
    }

}

.menu_banner_item_container{
    overflow: hidden;
    width: 100%;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.menu_banner_new_item{
    width: 100%;
    border-radius: 10px;
}
/*//////////////end style of navigation/////////////////////*/
.header_category_list_all a:hover{color:#fff !important;}

/* Open modal styles */
.modal_mobile_menu_container.show_modal_mobile_menu_container {
    display: flex;
    transform: translateX(0);
}

.modal_mobile_menu_overlay.show_modal_mobile_menu_container {
    display: block;
}

.modal_mobile_header {
    width: 100%;
    height: fit-content;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    padding: 10px;
    border-bottom: 1px solid rgb(224, 224, 224);
}

.modal_mobile_menu_body {
    width: 100%;
    height: auto;
    background-color: transparent;
    margin-top: 10px;
    overflow-y: auto;
}

.modal_mobile_menu_man_ul {
    width: 100%;
    padding: 5px;
    padding-bottom: 150px;
    direction: rtl;
    list-style-type: none;
}

.modal_mobile_menu_man_li {
    width: 100%;
    height: 45px;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    justify-content: start;
    align-items: center;
    border-bottom: 1px solid rgb(224, 224, 224);
    cursor: pointer;
    transition: height 0.5s;
}

.modal_mobile_menu_man_li span {
    width: 100%;
    height: 45px;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

/* .list_mobile_category {
  width: 90%;
  height: fit-content;
  min-height: 150px;
  display: none;
  margin: 15px 0px 20px;
  background-color: rgba(220, 20, 60, 0.233);
  border-radius: 12px;
} */

.modal_mobile_menu_dynamic_li {
    width: 100%;
    height: 45px;
    display: flex;
    flex-direction: column;
    font-size: 15px;
    justify-content: start;
    align-items: center;
    border-bottom: 1px solid rgb(224, 224, 224);
    cursor: pointer;
    transition: height 0.5s;
}

.modal_mobile_menu_dynamic_li p{
    padding-right: 5px;
}

.modal_mobile_menu_dynamic_li a {
    text-decoration: none;
    color: #212121;
    width: 100%;
    height: 45px;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.modal_mobile_menu_dynamic_li span {
    width: 100%;
    height: 45px;
    display: flex;
    font-size: 15px;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.new_category_header_list {
    overflow: hidden;
    width: 100%;
    height: 65px;
    display: flex;
    font-size: 16px;
    justify-content: space-between;
    align-items: center;
    padding: 5px 7px;
    cursor: pointer;
    background: radial-gradient(circle at 50.4% 50.5%, rgb(251, 32, 86) 0%, rgb(135, 2, 35) 90%);
    /* background: radial-gradient(circle at 10% 20%, rgb(255, 200, 124) 0%, rgb(252, 251, 121) 90%); */
    border-radius: 10px;
    transition: height 0.5s;
}

.header_category_list_all {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@font-face {
    font-family: caza;
    src: url("../../public/fonts/ttf/Far.Casablanca.ttf");
}


.header_category_list_all a {
    text-decoration: none;
    font-size: 16px;
    color: rgb(255, 255, 255);
    font-family: caza, serif !important;
}
.man_img_menu{
    width: 100%;
}

.header_category_list_return {
    width: 85px;
    height: auto;
    /* padding: 5px 7px; */
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    cursor: pointer;
}

.expanded_mobile_item_list {
    height: 300px !important;
}

.modal_mobile_logo {
    width: 40px;
    margin-left: 10px;
}

.modal_mobile_text {
    margin-left: auto;
    width: 100px;
}

.modal_mobile_menu_return_btn_container{position: absolute !important;}
.modal_mobile_menu_content{
    justify-content: flex-start
}
.header_desktop_container{background-color: #fff}

.nav-up {
    transform: translateY(-100%);
}

.nav-down {
    transform: translateY(0);
}
.seo-footer-content {
    margin: 0;
    background: #f9f9f9;
    border-radius: 10px;
    line-height: 1.9;
    text-align: justify;
    color: #333;
    font-size: 15px;
    width: 100%;
    padding: 20px 120px;
}

.seo-footer-content h1 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 15px;
    text-align: center;
    line-height: 1.5;
}

.seo-footer-content p {
    margin: 0;
    color: #444;
}

.seo-footer-content strong {
    color: #d01d33;
    font-weight: 600;
}


@media (max-width: 768px) {
    .mp-modal__panel{
        width: 81vw !important;
    }
    .seo-footer-content {
        padding: 15px;
        font-size: 14px;
        line-height: 1.8;
        max-width: 100%;
    }

    .seo-footer-content h1 {
        font-size: 18px;
    }
    .seo-footer-content p{
        font-size: 13px;
    }
    .seo-footer-content strong{font-size: 14px}

}

:root{
    --acc-radius:12px;
    --acc-head-h:48px;
    --acc-bg:#fff;
    --acc-body-bg:#fafafa;
    --acc-border:#ececec;
    --acc-shadow:0 4px 16px rgba(0,0,0,.06);
}

.drop_category_menu_item.acc,
.modal_mobile_menu_dynamic_li.acc{
    margin:8px 0;
    padding:0;
    overflow:hidden;
}

.acc__head{
    height:var(--acc-head-h);
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 12px;
    cursor:pointer;
    font:600 14px/var(--acc-head-h) jpack,system-ui;
    color:#111;
    background:#fff;
    width: 100%;
}
.acc__head:hover{ background:#f7f7f7; }

.acc__caret{ transition:transform .18s ease; }
.acc.is-open .acc__caret{ transform:rotate(180deg); }


.acc__body{
    max-height:0;
    overflow:hidden;
    transition:max-height .25s ease;
    background:var(--acc-body-bg);
    border-top:1px dashed var(--acc-border);
}
.acc.is-open .acc__body{ max-height:420px; }


.acc__body li{ list-style:none; padding-right: 20px}
.acc__body a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:8px;
    padding:10px 12px;
    font:500 13px/1.6 jpack,system-ui;
    color:#222; text-decoration:none;
}
.acc__body a:hover{ background:#f0f0f0; }


.modal_mobile_menu_dynamic_li,
.modal_mobile_menu_man_li{ height:auto; }

.modal_mobile_menu_dynamic_li > a,
.modal_mobile_menu_man_li > span{
    height:48px; display:flex; align-items:center; justify-content:space-between;
}

.modal_mobile_menu_dynamic_li.acc{ border-radius:10px; margin:10px 0; }
.modal_mobile_menu_dynamic_li.acc .acc__head{ padding:0; }
.modal_mobile_menu_dynamic_li.acc .acc__body{ padding:0; width: 100%}

.modal_mobile_menu_dynamic_li.acc,
.drop_category_menu_item.acc{
    border-bottom-color:var(--acc-border);
}

.acc__head{ border-right:3px solid #D3060C; border-right-width:0; }
.drop_category_menu_item.acc{ border-top-color:#f0f0f0; }
@media (hover:hover){
    .acc__head:hover{ box-shadow: inset 0 0 0 9999px rgba(211,6,12,.04); }
}
.drop_category_menu_item span{background-color: unset;height: auto}


.loader-wrapper, .msg-2 span{
    height: 60px !important;
}

.msg h2, .msg span,.msg-2 .highlight{font-family: 'jpack' !important;}


/* reset top gap */
html, body { margin:0; padding:0; }

/* header fixed باید واقعاً به بالا بچسبد و تمام عرض باشد */
#header.header_main_container{
    position: fixed;
    top: 0; right: 0; left: 0;
    height: 100px;            /* اندازه‌ی فعلی خودت */
    z-index: 1000;
    background:#fff;          /* جلوگیری از ترنسپرنت شدن روی اسلایدر */
}

/* اگر بنر بالایی مخفی است، کامل حذف شود */
.top-promo-banner.is-hidden { display:none !important; }

/* فاصله‌ی زیر هدر به‌صورت داینامیک از JS ست می‌شود */
.space_container { height: var(--header-h, 0px); }

/* احتیاط: اولین سکشن صفحه margin-top نداشته باشد */
main > :first-child { margin-top:0 !important; }
