﻿@import url(header.css);

.title-big {
    font-family: 'iran-sans';
    font-size: 25px;
    font-weight: 500;
    text-align: center;
}


.title-big-xs {
    font-family: 'iran-sans';
    font-size: 20px;
    font-weight: 500;
    text-align: center;
}

    .title-big-xs svg {
        margin-top: 5px;
    }

.title-big-xs-xs {
    font-family: 'iran-sans';
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    position: absolute;
    left: 20px !important;
    color: #6c6c6c;
    display: flex;
    align-items: start;
    justify-content: center;
}

    .title-big-xs-xs svg {
        width: 20px;
        height: 20px;
    }








.div-sliders {
    height: auto;
    display: flex;
    overflow: hidden;
    justify-content: space-between !important;
}

.big-slider .swiper-pagination {
    bottom: 35px !important;
}



.div-sliders .small-slider {
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
    width: 100%;
    display: flex;
    gap: 15px;
}

    .div-sliders .small-slider .slider-one,
    .div-sliders .small-slider .slider-two {
        width: 100%;
    }

    .div-sliders .small-slider .slider-one {
        display: flex;
        background-repeat: no-repeat;
        background-size: contain;
        background-size: cover;
        background-position: center;
    }

.slider-one img {
    height: 100%;
    object-fit: cover;
    border-radius: 30px;
}

.div-sliders .small-slider .slider-two {
    height: 230px;
    padding: 0 !important;
}

.slider-data {
    width: 100%;
    /* height: 230px; */
}

    .slider-data img {
        width: 100%;
        height: 100%;
        border-radius: 30px;
    }

.big-slider {
    width: 100%;
    padding: 0 !important;
    height: 100%;
    overflow: hidden;
}

.mySwiperOne {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
}

.swiper-slide {
    display: flex;
}

.mySwiperOne .slider-data img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.display-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.swiper-button-next::after {
    display: none;
}

.swiper-button-next::before {
    display: none;
}

.swiper-button-prev::after {
    display: none;
}

.swiper-button-prev::before {
    display: none;
}

.mySwiper {
    position: relative;
}


.mySwiperOne .swiper-pagination-bullet {
    background-color: #ffffff50 !important;
    opacity: 1 !important;
    width: 12px !important;
    height: 12px !important;
}

.mySwiperOne .swiper-pagination-bullet-active {
    background-color: #fff !important;
}

.swiper {
    padding: 0 !important;
}

.swiper-wrapper {
    padding: 0 !important;
}

.mySwiperOne .swiper-button-next {
    /* background-image: url(/assets/images/arrow-right.png);
  background-position: center;
  background-size: cover; */
    width: 22.35px;
    height: 22.35px;
    top: 55%;
    position: absolute;
    transform: translate(-40%, -5px);
    -webkit-transform: translate(-40%, -5px);
    -moz-transform: translate(-40%, -5px);
    -ms-transform: translate(-40%, -5px);
    -o-transform: translate(-40%, -5px);
    left: 30px !important;
}

.mySwiperOne .swiper-button-prev {
    /* background-image: url(/assets/images/arrow-left.png);
  background-position: center;
  background-size: cover; */
    width: 22.35px;
    height: 22.35px;
    top: 55%;
    position: absolute;
    transform: translate(-40%, -5px);
    -webkit-transform: translate(-40%, -5px);
    -moz-transform: translate(-40%, -5px);
    -ms-transform: translate(-40%, -5px);
    -o-transform: translate(-40%, -5px);
    right: 30px !important;
}

/* **NEW SECTION PRODUCT */
.dedicated-products {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap;
}

.banners {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-template-rows: 200px 200px 200px;
    gap: 15px 15px;
    grid-auto-flow: row;
    grid-template-areas:
        "row-banner row-banner big-banner big-banner"
        "small-banner-2 small-banner-1 big-banner big-banner"
        "small-banner-4 small-banner-3 row-banner-1 row-banner-1";
}

    .banners > div {
        position: relative;
    }

    .banners img {
        height: 100% !important;
        width: 100%;
        object-fit: cover;
        border-radius: 20px;
    }

    .banners .link-product {
        position: absolute;
        bottom: 35px;
        left: 35px;
        display: flex;
        direction: rtl;
        color: #6C6C6C;
        align-items: center;
    }

.big-banner {
    grid-area: big-banner;
}

.row-banner {
    grid-area: row-banner;
}

.row-banner-1 {
    grid-area: row-banner-1;
}

.small-banner-1 {
    grid-area: small-banner-1;
}

.small-banner-2 {
    grid-area: small-banner-2;
}

.small-banner-3 {
    grid-area: small-banner-3;
}

.small-banner-4 {
    grid-area: small-banner-4;
}




.product-big {
    width: 100%;
}



.title-section .title {
    color: #812990;
    font-weight: 800;
    font-size: 40px;
    width: 100%;
    text-align: center;
}



.box-small-product-xs {
    width: 100%;
}

.product-small-liner- {
    padding: 0 !important;
}

    .product-small-liner- .small-product {
        width: 100%;
        padding: 0;
    }

.box-small-product-xs .small-product {
    height: 190px;
    width: 100%;
}

    .box-small-product-xs .small-product img {
        width: 100%;
        object-fit: cover;
    }



.product-small .row {
    margin: 0 !important;
}







.menu-product-list-type .category {
    height: 180px;
    width: 100%;
    border-radius: 30px;
    -webkit-border-radius: 30px;
    -moz-border-radius: 30px;
    -ms-border-radius: 30px;
    -o-border-radius: 30px;
    color: #fff;
    background-color: #00a651;
    position: relative;
    flex-direction: column;
    font-weight: 700;
    cursor: pointer;
}

    .menu-product-list-type .category.active {
        background-color: #812990;
        box-shadow: 0px 10px 15px 0px rgba(129, 42, 144, 0.5);
    }

        .menu-product-list-type .category.active p {
            background-color: #00a651;
        }

    .menu-product-list-type .category p {
        width: 45px;
        height: 45px;
        background-color: #812990;
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translate(-50%, -50%);
        -webkit-transform: translate(-50%, -50%);
        -moz-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
        -o-transform: translate(-50%, -50%);
        border-radius: 50%;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
    }



.category-list {
    overflow-x: clip;
}

.category-products {
    display: none !important;
}

    .category-products.show {
        display: flex !important;
    }

.product-data {
    /* padding: 0 !important; */
    margin: 4px !important;
    width: 100%;
}

.product-data {
    background-color: #f1f1f1;
    height: 360px;
    border-radius: 20px;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    padding: 10px !important;
}

    .product-data img {
        width: 100%;
        height: 200px;
        border-radius: 20px;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
    }

    .product-data .name-product {
        flex-wrap: wrap;
    }

        .product-data .name-product h3 {
            color: #812990;
            font-weight: 700;
            width: 100%;
            text-align: center;
        }

        .product-data .name-product p {
            color: #00a651;
            font-size: 10px;
            width: 100%;
            text-align: center;
        }

    .product-data .btns {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .product-data .btns .save-product {
            background-color: #812990;
            border-radius: 50px;
            -webkit-border-radius: 50px;
            -moz-border-radius: 50px;
            -ms-border-radius: 50px;
            -o-border-radius: 50px;
            color: #fff;
            height: 40px;
            width: 150px;
            border: none;
            outline: none;
            font-family: 'iran-sans';
            display: flex;
            align-items: center;
            justify-content: space-between;
            font: 1em 'iran-sans' 700;
            transition: all 0.5s ease;
            -webkit-transition: all 0.5s ease;
            -moz-transition: all 0.5s ease;
            -ms-transition: all 0.5s ease;
            -o-transition: all 0.5s ease;
        }

            .product-data .btns .save-product:hover {
                background-color: #00a651;
            }

                .product-data .btns .save-product:hover span {
                    background-color: #812990;
                }

            .product-data .btns .save-product span {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                -webkit-border-radius: 50%;
                -moz-border-radius: 50%;
                -ms-border-radius: 50%;
                -o-border-radius: 50%;
                background-color: #00a651;
                transition: all 0.5s ease;
                -webkit-transition: all 0.5s ease;
                -moz-transition: all 0.5s ease;
                -ms-transition: all 0.5s ease;
                -o-transition: all 0.5s ease;
            }

    .product-data .other-btn {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

        .product-data .other-btn .like-btn,
        .product-data .other-btn .fav-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            -webkit-border-radius: 50%;
            -moz-border-radius: 50%;
            -ms-border-radius: 50%;
            -o-border-radius: 50%;
            border: none;
            outline: none;
            transition: all 0.5s ease;
            -webkit-transition: all 0.5s ease;
            -moz-transition: all 0.5s ease;
            -ms-transition: all 0.5s ease;
            -o-transition: all 0.5s ease;
        }

        .product-data .other-btn .like-btn {
            background-color: #812990;
        }

            .product-data .other-btn .like-btn:hover {
                background-color: #00a651;
            }

        .product-data .other-btn .fav-btn {
            background-color: #00a651;
        }

            .product-data .other-btn .fav-btn:hover {
                background-color: #812990;
            }

.product-list {
    width: 100%;
}

    .product-list .btn-list-product {
        background-color: #00a651;
        box-shadow: 1px 2px 2px #00a651;
        border-radius: 30px;
        font: 1em 'iran-sans';
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        -ms-border-radius: 30px;
        -o-border-radius: 30px;
        height: 60px;
        border: none;
        outline: none;
        color: #fff;
        transition: all 0.5s ease;
        -webkit-transition: all 0.5s ease;
        -moz-transition: all 0.5s ease;
        -ms-transition: all 0.5s ease;
        -o-transition: all 0.5s ease;
        box-shadow: 0px 5px 20px 0px rgba(0, 147, 68, 0.4);
        width: auto;
        padding: 0 10px;
    }




.menu-product-list-type .title-small-box svg {
    margin-left: 8px;
    margin-bottom: 2px;
}

.product-list .btn-list-product {
    font-family: 'iran-sans';
}

    .product-list .btn-list-product svg {
        margin-left: 10px;
    }

.show-blogs {
    display: flex;
    justify-content: space-between;
}

    .show-blogs .box-show-data-blog {
        width: 100%;
        height: 100%;
    }


        .show-blogs .box-show-data-blog img {
            width: 100%;
            height: 100%;
            border-radius: 30px;
            -webkit-border-radius: 30px;
            -moz-border-radius: 30px;
            -ms-border-radius: 30px;
            -o-border-radius: 30px;
        }

    .show-blogs .box-show-data-blog {
        position: relative;
    }

        .show-blogs .box-show-data-blog .data-blog {
            position: absolute;
            top: 80%;
            left: 50%;
            width: 90%;
            background-color: #fff;
            border-radius: 20px;
            -webkit-border-radius: 20px;
            -moz-border-radius: 20px;
            -ms-border-radius: 20px;
            -o-border-radius: 20px;
            padding: 10px !important;
            transform: translate(-50%, -80%);
            -webkit-transform: translate(-50%, -80%);
            -moz-transform: translate(-50%, -80%);
            -ms-transform: translate(-50%, -80%);
            -o-transform: translate(-50%, -80%);
            padding: 15px 20px !important;
        }

            .show-blogs .box-show-data-blog .data-blog .header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                font-family: 'iran-sans';
                color: #aaa8a8;
                font-size: 10px;
                margin: 5px 0;
            }

    .show-blogs .title-small-box svg {
        margin-left: 4px;
    }

    .show-blogs .box-show-data-blog .data-blog .title h3 {
        font-size: 14px;
        font-weight: 700;
        line-height: 27px;
        width: 100%;
        text-align: right;
        height: 24px;
        margin: 5px 0;
    }

    .show-blogs .box-show-data-blog .data-blog .des {
        margin: 10px 0;
        line-height: 20px;
    }

.position-relative {
    position: relative;
}

.show-blogs .box-show-data-blog .data-blog .des p {
    font-size: 10px;
    font-weight: 700;
    margin: 5px 0;
    text-align: justify;
    color: #6C6C6C;
}

.show-blogs .box-show-data-blog .data-blog .link {
    width: 100%;
    display: flex;
    align-items: end;
    justify-content: end;
    margin: 5px 0;
}

    .show-blogs .box-show-data-blog .data-blog .link a {
        font-size: 10px;
        color: #812990;
        /* width: 100%; */
        text-align: start;
        font-weight: 700;
    }

.box-show-data-blog-small {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

    .box-show-data-blog-small .show-data-small-blog {
        width: 100%;
        max-height: auto;
        border-radius: 20px;
        background-color: #ededed;
        -webkit-border-radius: 20px;
        -moz-border-radius: 20px;
        -ms-border-radius: 20px;
        -o-border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        overflow: hidden;
        padding: 10px;
    }

.show-data-small-blog:not(:last-child) {
    margin-bottom: 16px;
}

.box-show-data-blog-small .show-data-small-blog img {
    width: 100px;
    height: 100%;
    border-radius: 20px;
    background-color: #ededed;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    -ms-border-radius: 20px;
    -o-border-radius: 20px;
}

.box-show-data-blog-small .show-data-small-blog .data-small-blog {
    width: calc(100% - 115px);
    position: relative !important;
}

    .box-show-data-blog-small .show-data-small-blog .data-small-blog .header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: 'iran-sans';
        color: #aaa8a8;
        font-size: 10px;
        height: 14px;
        margin: 5px 0;
    }

    .box-show-data-blog-small .show-data-small-blog .data-small-blog .title h3 {
        font-size: 13px;
        font-weight: 700;
        line-height: 24px;
        width: 100%;
        text-align: right;
        height: 24px;
        margin: 5px 0;
    }

    .box-show-data-blog-small .show-data-small-blog .data-small-blog .des {
        margin: 8px 0;
        /* height: 40px; */
    }

        .box-show-data-blog-small .show-data-small-blog .data-small-blog .des p {
            font-size: 9px;
            font-weight: 700;
            margin: 3px 0;
            text-align: justify;
            color: #6C6C6C;
            line-height: 17px;
        }














.open-menu,
.box-menu {
    width: 34px;
    height: 34px;
    display: inline-block;
    position: relative;
    top: 0px;
    float: right;
    z-index: 1000;
    margin: 0 10px;
    margin-bottom: 18px;
}

.box-menu {
    display: none;
}

    .box-menu.active {
        display: flex;
    }






.open {
    right: 0px;
    transition: right linear 0.2s;
}







.mySwiperDown {
    width: 100%;
}

    .mySwiperDown .swiper-wrapper {
        display: flex;
        align-items: center;
        justify-content: space-around;
    }

    .mySwiperDown .swiper-button-next {
        display: none;
    }

    .mySwiperDown .swiper-button-prev {
        display: none;
    }

    .mySwiperDown .swiper-wrapper .show-data-slider {
        width: 140px;
        height: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .mySwiperDown .swiper-wrapper .show-data-slider img {
            width: auto;
            height: auto;
            max-width: 100%;
            max-height: 100%;
            border-radius: 25px;
            -webkit-border-radius: 25px;
            -moz-border-radius: 25px;
            -ms-border-radius: 25px;
            -o-border-radius: 25px;
        }

.sectionSwiperDown .navigation {
    background-color: transparent;
    border: none;
}

    .sectionSwiperDown .navigation.next {
        position: absolute;
        top: 50%;
        right: -25px;
        transform: translateY(-50%);
    }

    .sectionSwiperDown .navigation.prev {
        position: absolute;
        top: 50%;
        left: -25px;
        transform: translateY(-50%);
    }



.adAloChap {
    margin-bottom: 16px;
}

    .adAloChap img {
        max-height: 100% !important;
        height: auto;
        border-radius: 40px;
        width: 100%;
        -webkit-border-radius: 40px;
        -moz-border-radius: 40px;
        -ms-border-radius: 40px;
        -o-border-radius: 40px;
    }



/* ---------------------------------------- responsive */








@media (max-width: 1200px) {

    .menu-product-list-type .col-lg-2 {
        margin: 2px 0 !important;
    }

    .sectionSwiperDown .navigation.next {
        right: -5px;
    }

    .sectionSwiperDown .navigation.prev {
        left: -5px;
    }
}


@media (max-width: 1000px) {
    .category {
        margin: 15px 0;
    }


    .mySwiperDown .swiper-wrapper .show-data-slider {
        width: 120px;
    }
}

@media (max-width:992px) {
    .slider-one img {
        border-radius: 20px;
    }

    .adAloChap {
        margin-bottom: 0 !important;
    }
}

@media (max-width: 768px) {
    .div-sliders .small-slider {
        flex-wrap: nowrap;
        flex-direction: column;
        align-items: stretch;
    }

        .div-sliders .small-slider .slider-two {
            height: auto !important;
        }
        .div-sliders .small-slider .slider-one, .div-sliders .small-slider .slider-two {
            width: 100%;
            border-radius: 20px;
        }

    .slider-one img, .slider-two img {
        border-radius: 20px;
        max-width: 100% !important;
    }   

    .slider-one {
        min-height: 100%;
    }

    .product-list .btn-list-product {
        width: 40%;
    }

    .mySwiperDown .swiper-wrapper .show-data-slider {
        width: 100px;
    }

    .container-fluid {
        padding: 0 0 !important;
    }

    .div-sliders {
        padding-left: 0;
        flex-direction: column-reverse;
    }


    .title-section .title {
        font-size: 20px !important;
    }

    .show-blogs .box-show-data-blog {
        padding: 0;
    }

    .menu-product-list-type .show-all-product.col-12 {
        padding: 0 6px !important;
    }

    .dedicated-products {
        padding: 0 10px;
    }

        .dedicated-products .product-liner {
            padding: 0 3px !important;
        }

        .dedicated-products .product-big-liner {
            width: 100%;
            padding: 0 3px;
        }

    .category {
        margin: 15px 0;
    }

    .banners {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
        grid-template-rows: 150px 150px 150px;
        gap: 8px 8px;
    }

        .banners .link-product {
            bottom: 16px !important;
            left: 6px !important;
        }

    .title-big-xs {
        font-size: 16px;
    }

    .banners svg {
        width: 16px;
    }

    .title-big-xs-xs {
        font-size: 12px;
    }

    .slider-data img {
        border-radius: 20px !important;
    }
}


@media (max-width:576px) {
    .banners .link-product {
        bottom: 8px !important;
        left: 4px !important;
    }

    .banners {
        grid-template-rows: 100px 100px 100px;
    }
}

@media (max-width: 650px) {
    .menu-product-list-type .col-xs-12 {
        margin: 30px 0 !important;
    }
}


@media (max-width: 500px) {
    .product-list .btn-list-product {
        width: 80%;
    }
}


@media (max-width: 540px) {
    .div-data-footer {
        padding: 5px 5px;
    }

    .small-slider {
        padding: 0 !important;
        width: 100%;
    }

    .div-sliders {
        padding: 0 !important;
    }

    .list-product-footer ul {
        padding: 0 4px;
        font-size: 12px;
    }

    .adAloChap {
        width: 100%;
    }

        .adAloChap img {
            height: auto;
            object-fit: fill;
            object-position: center;
            height: auto;
            max-height: 100%;
            border-radius: 15px;
            -webkit-border-radius: 15px;
            -moz-border-radius: 15px;
            -ms-border-radius: 15px;
            -o-border-radius: 15px;
        }


    .div-data-footer {
        padding: 4px 8px;
        font-size: 12px;
    }
}

/*@media(max-width: 1260px) {
    .banners {
        display: block;
    }
}*/
.div-sliders .slider-two img {
    border-radius: 30px !important;
    height: 100% !important;
}

.banners .link-product {
    background-color: #fff;
    padding: 5px 25px;
    border-radius: 20px;
    box-shadow: 0px 0px 5px 0px #0000008f;
}

.banners .link-product {
    background-color: #fff;
    padding: 5px 25px;
    border-radius: 20px;
    box-shadow: 0px 0px 5px 0px #0000008f;
}
/*@media (max-width: 1260px) {
    .banners {
        display: block;
    }
}*/
.div-sliders .slider-two img {
  height: 100% !important;
  width: 100%;
}

.slider-one img {
 width: 100%;
 height: 100% !important;
}

.div-sliders .small-slider .slider-two {
 height: auto !important;
}

.div-sliders .small-slider .slider-one {
 display: block !important;
}
.header-banner {
    background-color: #812990;
    color: #fff;
    height: 40px;
    display: flex;
    align-items: center
}

    .header-banner p {
        font-weight: 400;
        font-size: 17px
    }

    .header-banner .fa-chevron-circle-left {
        font-size: 22px
    }

.header-banner__close {
    color: #6d6e71;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%)
}


 .show-more-box .text-wrapper {
    max-height: 250px;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background: #f9f9f9;
    padding: 25px;
    background-color: #ededed;
    border-radius: 20px;
    position: relative;
}

.show-more-box .text-wrapper.expanded {
    max-height: fit-content;
    /* عددی بزرگ‌تر از ارتفاع واقعی متن */
}

.show-more-box .toggle-button {
    margin: 10px auto;
    padding: 8px 16px;
    background-color: #812990;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

    .show-more-box .toggle-button:hover {
        background-color: #812990;
    }

.show-more-box .text-center {
    text-align: center;
}

 
