@font-face {
    font-family: "IranYekan";
    src: url("../fonts/iranyekanwebmedium.woff") format('woff');
}

body {
    direction: rtl;
    font-family: "IranYekan", sans-serif;
    font-size: 10pt;
}

* {
    box-sizing: border-box;
    outline: 0;
}

a {
    text-decoration: none;
    color: #0c0c0c;
}

input, button {
    font-family: "IranYekan", sans-serif;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.w-100px {
    width: 100px;
}

.w-75px {
    width: 75px;
}

.flex-basis-0 {
    flex-basis: 0;
}

.desktop_header {
    box-shadow: 0 2px 2px rgba(0, 0, 0, .1);
}

.header_top {
    height: 60px;
    background: black;
}

.header_top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header_middle {
    padding: 12px 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header_middle_right {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header_middle .header_logo img {
    width: 195px;
    height: 30px;
    padding-left: 20px;
}

.header_search {
    background: #f0f0f1;
    width: 600px;
    height: 43px;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px;
}

.header_search i {
    font-size: 17px;
    color: #96999e;
}

.header_search input {
    width: calc(100% - 35px);
    height: 100%;
    background: transparent;
    border: none;
    font-size: 10pt;
    padding-bottom: 2px;
}

.header_search input::placeholder {
    color: #81858b;
}

.header_login {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.header_login > i:first-child {
    padding: 8px;
    margin-left: 14px;
}

.header_login > i:last-child {
    margin-left: 2px;
}

.header_login i {
    font-size: 21px;
    color: #424750;
}

.header_login a {
    padding: 10px 20px;
    border: 1px solid #e0e0e2;
    border-radius: 10px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.header_login a i {
    font-size: 20px;
    margin-left: 7px;
    color: #424750;
}

.header_login a span {
    color: #0c0c0c;
}

.header_login .pipe_line {
    width: 1px;
    height: 24px;
    background: #e0e0e2;
    margin: 0 12px;
}

.header_bottom {
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.header_bottom_right {
    display: flex;
}

.header_category_btn {
    display: flex;
    align-items: center;
    position: relative;
}

.header_bottom .header_category_btn .pipe_line {
    width: 1px;
    height: 20px;
    background: #e0e0e2;
    margin-right: 20px;
}

.header_bottom nav ul {
    display: flex;
    align-items: center;
}

.header_bottom nav ul li {
    padding: 5px 10px;
    color: #62666d;
}

.header_bottom nav > ul > li > a {
    display: flex;
    align-items: center;
    gap: 2px;
}

.header_bottom nav ul li span {
    font-size: 12px;
}

.header_bottom nav ul li i {
    font-size: 11pt;
    color: #a1a3a8;
}

.top_select_location button {
    color: rgb(245, 127, 23);
    background: rgba(255, 239, 239, 0.77);
    border: none;
    padding: 7px 12px;
    border-radius: 20px;
    font-size: 12px;
    display: flex;
    align-items: center;
}

.top_select_location button span {
    font-size: 12px;
}

.top_select_location button i {
    font-size: 16px;
    margin-left: 5px;
}

.top_main_submenu {
    height: 400px;
    width: 1000px;
    position: absolute;
    top: 36px;
    right: 0;
    box-shadow: 0 0 5px rgba(0, 0, 0, .2);
    z-index: 9999;
    /*display: flex;*/
    display: none;
}

.top_main_submenu_right {
    width: 200px;
    height: 100%;
    background: #f5f5f5;
    overflow-y: auto;
}

.top_main_submenu_right ul li {
    padding: 13px 10px;
}

.top_main_submenu_right ul li:hover {
    background: #fff;
    box-shadow: 0 0 5px rgba(0, 0, 0, .1);
    border-radius: 4px;
}

.top_main_submenu_right ul li:hover i, .top_main_submenu_right ul li:hover span {
    color: #ef394e;
}

.top_main_submenu_right ul li a i {
    margin-left: 8px;
    color: #424750;
    font-size: 12pt;
}

.top_main_submenu_right ul li a span {
    font-size: 12px;
}

.top_main_submenu_left {
    width: 800px;
    height: 100%;
    background: #fff;
    padding: 20px 15px;
    overflow-y: auto;
}

.top_main_submenu_left_all {
    font-size: 12px;
    color: #008eb2;
    margin-bottom: 10px;
    display: block;
}

.top_main_submenu_left_all i {
    margin-right: 3px;
    font-size: 10px;
}

.top_main_submenu_left_contact {
    display: flex;
    justify-content: space-between;
}

.top_main_submenu_left_contact_ul li:first-child {
    color: #000;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.top_main_submenu_left_contact_ul li:first-child:before {
    content: "";
    display: flex;
    width: 2px;
    height: 15px;
    border-right: 2px solid #ef394e;
    margin-left: 5px;
}

.top_main_submenu_left_contact_ul li {
    padding: 10px 0;
    color: #81858b;
}

.stories_section {
    padding: 0 20px;
}

.stories_section .story_item {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    flex-grow: 1;
    flex-basis: 0;
}

.stories_section .story_item img, td.story_item img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid purple;
    padding: 3px;
    margin-bottom: 10px;
    display: flex;
}

.stories_section .story_item span {
    display: flex;
    font-size: 11px;
    text-align: center;
    color: #23254e;
    line-height: 19px;
}

.home_slider .the_slide img {
    width: 100%;
}

.home_useful_link {
    text-align: center;
}

.home_useful_link img {
    width: 50px;
    margin-bottom: 10px;
}

.home_useful_link a {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home_useful_link a span {
    color: #3f4064;
    font-size: 11px;
    font-weight: 580;
    text-align: center;
    line-height: 2.17;
}

.amazing_off_content {
    background: linear-gradient(225deg, #d22c4e, #ee384e 41.68%, #ef5662);
    padding: 15px;
    height: 300px;
    display: flex;
    border-radius: 20px;
}

.amazing_off_card {
    background: #fff;
    padding: 15px;
    width: 160px;
    margin: 0 3px;
    border-radius: 10px;
}

.amazing_off_first_card {
    padding: 15px;
    width: 160px;
    margin: 0 3px;
}

.amazing_off_first_card img {
    width: 70%;
}

.amazing_off_first_card a {
    color: #fff;
    display: flex;
    align-items: center;
    font-size: 12px;
}

.amazing_off_card img {
    width: 100%
}

.amazing_off_card p {
    font-size: 12px;
    color: #62666d;
    line-height: 22px;
    height: 77px;
    overflow: hidden;
    margin: 0;
}

.amazing_off_card .percent_off {
    background: #d22c4e;
    border-radius: 12px;
    display: inline-block;
    width: 61px;
    color: #fff;
    text-align: center;
    max-height: max-content;
    padding: 0 0;
    height: 18px;
    line-height: 21px;
    font-size: 9pt;
    margin: 0 0 0 9px;
}

.amazing_off_card del {
    color: #c0c2c5;
}

#toman_svg {
    display: none;
}

.toman_svg {
    fill: #000;
    width: 16px;
    height: 16px;
}

.home_banner_ads {
    margin-top: 15px;
}

.home_banner_ads img {
    border-radius: 12px;
}

.super_market_amazing_banner {
    background: #f0f0f1;
    height: 110px;
    border-radius: 16px;
    margin-top: 15px;
    padding: 0 32px;
    background-position: left;
    background-repeat: no-repeat;
    background-size: contain;
}

.sub_content_left div:not(:last-child) {
    width: 75px;
    height: 75px;
    margin: 0 5px;
    padding: 10px;
    background: #fff;
    border-radius: 50%;
    position: relative;
}

.sub_content_left div:not(:last-child) span {
    padding: 1px 7px;
    background: #d32f2f;
    color: #fff;
    border-radius: 30px;
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 12px;
}

.sub_content_left div:last-child {
    padding: 12px 20px;
    border-radius: 30px;
    background: #fff;
    text-align: center;
    color: #029a49;
    font-size: 12px;

}

.sub_content_left div img {
    width: 100%;
    border-radius: 50%;
}

.sub_content_right span {
    background: #029a49;
    border-radius: 30px;
    padding: 3px 12px;
    color: #fff;
    font-size: 14px;
    margin-right: 22px;
}

.sub_content_right img:first-child {
    margin-left: 20px;
}

.category_slider_slide img {
    width: 100px;
    margin-bottom: 10px;
}

.category_slider_slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.category_slider_slide div {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 10px;
    text-align: center;
}

.my_title {
    font-size: 24px;
    margin: 50px 0;
    text-align: center;
    font-weight: normal;
    position: relative;
}

.my_title i {
    color: #f9bc00;
}

.my_title a {
    position: absolute;
    font-size: 14px;
    left: 15px;
    top: 0;
    bottom: 0;
    margin: auto;
    height: fit-content;
    color: #19bfd3;
}

.the_most_popular_brands > div {
    border: 1px solid #eee;
    border-radius: 10px;
    padding-bottom: 30px;
}

.most_popular_brand_item {
    padding: 20px;
    border-left: 1px solid #eee;
    flex-grow: 1;
    flex-basis: 100px;
}

.the_most_sellers_brand > div {
    border: 1px solid #eee;
    border-radius: 10px;
}

.best_sellers_row {
    position: relative;
    margin-bottom: 20px;
}

.best_sellers_row img {
    width: 86px;
}

.best_sellers_row span {
    color: #19bfd3;
    font-size: 30px;
    font-weight: bold;
    margin-left: 10px;
    margin-right: 15px;
}

.best_sellers_row p {
    font-size: 12px;
    color: #3f4064;
    white-space: nowrap;
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.best_sellers_row:after {
    content: '';
    width: calc(100% - 140px);
    position: absolute;
    height: 1px;
    bottom: 0;
    left: 40px;
    border: 1px solid #f0f0f1;
}

.blog_section h3 a {
    color: #19bfd3;
}

.blog_section h3 span {
    font-size: 18px;
    font-weight: 500;
}

.blog_section div div a img {
    width: 100%;
}

.blog_item {
    overflow: hidden;
    padding: 10px;
}

.blog_item > a {
    border-radius: 15px;
    border: 1px solid #e4e4e4;
    overflow: hidden;
    display: block;
    height: 300px;
}

.blog_item span {
    padding: 10px 15px;
    display: block;
    line-height: 27px;
}

footer {
    padding-top: 40px;
    border-top: 1px solid #ededed;
}

.footer_logo {
    width: 195px;
    margin-bottom: 20px;
}

.footer_contact span {
    padding: 0 20px;
    position: relative;
    color: #3f4064;
}

.footer_contact span:first-child {
    padding-right: 0;
}

.footer_contact span:not(:last-child):after {
    content: "";
    width: 1px;
    height: 15px;
    border-right: 1px solid #c6c6c6;
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.back_to_top {
    border: 1px solid #dfdfdf;
    padding: 10px 25px;
    background: transparent;
    border-radius: 10px;
    color: #a1a3a8;
}

.back_to_top i {
    margin-left: 5px;
}

.footer_span {
    color: #3f4064;
    font-size: 11px;
    margin-top: 10px;
}

.footer_useful_links h5,
.footer_social h5 {
    font-size: 16px;
    margin: 10px 0;
}

.footer_useful_links li a {
    color: #81858b;
    font-size: 14px;
    padding: 10px 0;
    display: block;
}

.footer_social a {
    color: #acacac;
    font-size: 30px;
    margin: 0 10px;
}

.footer_social a:first-child {
    margin-right: 0;
}

.news_letter input {
    border: none;
    background: #f0f0f1;
    padding: 10px 15px;
    border-radius: 6px;
    margin-left: 5px;
    width: 100%;
}

.news_letter input::placeholder {
    color: #cccccc;
}

.news_letter button {
    border: none;
    background: #e6123d;
    border-radius: 6px;
    padding: 10px 15px;
    color: #fff;
}

.footer_social p {
    font-size: 16px;
    margin-top: 30px;
}

.footer_app {
    background: #3c4b6d;
    border-radius: 10px;
    color: #fff;
}

.footer_app_right img {
    width: 44px;
    margin-left: 10px;
}

.footer_app_right p {
    font-size: 20px;
    font-weight: 500;
}

.footer_app_left img {
    width: 135px;
    border-radius: 6px;
    margin: 0 6px;
}

.footer_app_left .my_dots {
    font-size: 8px;
    background: #fff;
    border-radius: 10px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    margin-right: 20px;
    color: #3c4b6d;
}

.footer_about_licence {
    padding-top: 50px;
}

.footer_license a {
    display: flex;
    border: 1px solid #e1e1e1;
    width: 108px;
    padding: 16px 30px;
    justify-content: center;
    align-items: center;
    border-radius: 10px;
    height: 108px;
}

.footer_license a:last-child {
    margin-left: 0;
}

.footer_license a img {
    height: 75px;
}

.footer_about h1 {
    color: #62666d;
    font-size: 21px;
    font-weight: 200;
}

.footer_about p {
    color: #81858b;
    line-height: 25px;
    margin: 5px 0;
    text-align: justify;
    position: relative;
}

.footer_about p:first-child:after {
    content: "";
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #ffffff 0%, rgba(255, 255, 255, 0) 100%);
    position: absolute;
    top: 0;
    left: 0;
}

.footer_about button {
    background: transparent;
    border: none;
    color: #19bfd3;
    font-size: 12px;
    margin-top: 10px;
    font-weight: 400;
}

.footer_about button span {
    margin-left: 5px;
}

.footer_copyright {
    color: #81858b;
    line-height: 30px;
    margin: 0 !important;
}

.footer_logos {
    justify-content: space-between;
}

.footer_logos a {
    background: #f0f0f1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    height: 80px;
    flex-basis: 200px;
}

.footer_logos a img {
    width: 100%;
    max-width: 150px;
}

.footer_gray {
    background: #f0f0f1;
}

@media (max-width: 991px) {
    .footer_about {
        margin-left: 0;
        margin-bottom: 30px;
    }

    .footer_license a {
        width: 90px;
        height: 90px;
        padding: 10px;
    }
}

@media (max-width: 767px) {
    .footer_contact span {
        padding: 0 10px;
        font-size: 14px;
    }

    .footer_contact span:not(:last-child):after {
        height: 12px;
    }

    .footer_app {
        margin: 30px 0;
        border-radius: 0 !important;
    }

    .footer_about_licence,
    .footer_about_licence ~ div {
        margin: 0 15px;
    }

    .footer_logos a {
        flex-basis: 50%;
    }

    .footer_logos a:nth-child(odd) {
        border-left: none;
    }
}

@media (max-width: 1089px) {
    .desktop_header .header_search {
        width: 400px;
    }

    .desktop_header .header_bottom {
        display: none;
    }
}

@media (max-width: 897px) {
    .desktop_header .header_search {
        width: 300px;
    }
}

@media (max-width: 791px) {
    .desktop_header .header_login a {
        display: none;
    }
}

@media (max-width: 628px) {
    .desktop_header .header_login > i:last-child, .desktop_header .pipe_line {
        display: none;
    }
}

@media (max-width: 599px) {
    .desktop_header .header_middle {
        position: relative;
    }

    .desktop_header .header_middle .header_logo img {
        position: absolute;
        width: 100px;
        top: 0;
        bottom: 0;
        left: 0;
        margin: auto;
    }

    .header_login > i:first-child {
        display: none;
    }

    .desktop_header .header_search, .header_middle_right {
        width: 100%;
    }

    .header_middle_right, .header_middle {
        padding: 0;
        margin: 0;
    }

    .desktop_header {
        padding-bottom: 1px;
        background: #f0f0f1;
    }
}

@media (max-width: 1199px) {
    .super_market_amazing_banner {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    .mobile_super_market_amazing_banner {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .amazing_off_content {
        border-radius: 0 !important;
    }
}

.text-gray {
    color: #919191 !important;
}

input.form-control::placeholder {
    color: #bdbdbd !important;
}

.my-100px {
    margin-top: 100px;
    margin-bottom: 100px;
}