﻿@font-face {
    font-family: 'BNazanin';
    src: url('../Fonts/BNazanin.ttf') format('truetype'), url('../Fonts/BNazanin.woff') format('woff'), url('../Fonts/BNazanin.eot') format('embedded-opentype');
}
/*** Spinner Start ***/
.drr {
    direction: rtl
}

.drl {
    direction: ltr
}

.productinfo > div > div > a img {
    width: 100%
}

.logniform, .post-rating {
    direction: rtl
}

    .logniform form {
        padding: 20px;
        border-radius: 8px;
        box-shadow: 0 0 15px;
    }

        .logniform form input[type=email], input[type=password], input[type=number], input[type=tel] {
            direction: ltr
        }

.capchalogin {
    position: relative;
}

#CaptchaInputText-error {
    color: #dc3545 !important;
}

.capchalogin a[href="#CaptchaImage"] {
    display: block !important;
    position: absolute;
    top: 66px;
}

.capchalogin #CaptchaInputText {
    display: block;
    /*width: 100%;*/
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #747d88;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    direction: ltr
}

    .capchalogin #CaptchaInputText:focus {
        color: #747d88;
        background-color: #fff;
        border-color: #c0e284;
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(129,196,8,.25)
    }

.color-inherit {
    color: inherit !important
}

.vesitable-item p.description {
    min-height: 100px;
}

.vesitable-item h4 {
    min-height: 58px;
}

.fruite-item p.description {
    min-height: 100px;
}

.fruite-item h4 {
    min-height: 58px;
}

.cat.service .service-content {
    transform: none !important;
    margin: 0 auto;
    left: 0 !important;
    right: 0;
    bottom: 50px;
    width: auto !important
}

.copen-add {
    position: absolute;
    top: 0;
    left: 0px;
}

.line-red {
    text-decoration: line-through red;
}









#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

body, .tooltip {
    font-family: 'BNazanin';
}

p, a, h1, h2, h3, h4, h5, h6, input {
    direction: rtl
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 100px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
    opacity: .25
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn.border-secondary {
    transition: 0.5s;
}

    .btn.border-secondary:hover {
        background: var(--bs-secondary) !important;
        color: var(--bs-white) !important;
    }

/*** Topbar Start ***/
.fixed-top {
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
}

.topbar {
    padding: 20px;
    border-radius: 230px 100px;
}

    .topbar .top-info {
        font-size: 15px;
        line-height: 0;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
    }

    .topbar .top-link {
        font-size: 15px;
        line-height: 0;
        letter-spacing: 1px;
        display: flex;
        align-items: center;
        direction: rtl;
    }

        .topbar .top-link a {
            letter-spacing: 1px;
        }

            .topbar .top-link a small:hover {
                color: var(--bs-secondary) !important;
                transition: 0.5s;
            }

                .topbar .top-link a small:hover i {
                    color: var(--bs-primary) !important;
                }
/*** Topbar End ***/

/*** Navbar Start **
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
.fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 700;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    border-radius: 10px !important;
    transition: .5s;
    opacity: 1;
}*/
/*******************************/
/*******************************/
/*******************************/
/*******************************/
/*** Navbar Start (Replace previous navbar dropdown CSS) ***/
.navbar .navbar-nav .nav-link {
    padding: 10px 15px;
    font-size: 16px;
    transition: .5s;
}

.navbar {
    height: 100px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

    .navbar .navbar-nav {
        direction: rtl;
        text-align: right;
    }

        .navbar .navbar-nav .nav-link:hover,
        .navbar .navbar-nav .nav-link.active,
        .fixed-top.bg-white .navbar .navbar-nav .nav-link:hover,
        .fixed-top.bg-white .navbar .navbar-nav .nav-link.active {
            color: var(--bs-primary);
        }

    .navbar .dropdown-toggle::after {
        border: none;
        content: "\f107";
        font-family: "Font Awesome 5 Free",'BNazanin';
        font-weight: 700;
        vertical-align: middle;
        margin-right: 8px;
    }

/* ---------- Desktop behavior (min-width:1200px) ---------- */
@media (min-width: 1200px) {
    /* همه‌ی dropdown-menuها در DOM باشند اما پنهان */
    .navbar .nav-item .dropdown-menu,
    .navbar .dropdown-submenu > .dropdown-menu {
        display: block;
        visibility: hidden;
        opacity: 0;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        top: 100%;
        border: 0;
        transition: .20s ease;
        pointer-events: none;
        direction: rtl;
        text-align: right;
    }

    /* !!! Override any existing :hover rule that shows descendants.
       اگر قبلاً قاعدهٔ .nav-item:hover .dropdown-menu وجود داشته، اینجا آن را نادیده می‌گیریم */
    .navbar .nav-item:hover .dropdown-menu {
        visibility: hidden !important;
        opacity: 0 !important;
        transform: rotateX(-75deg) !important;
        pointer-events: none !important;
    }

    /* فقط فرزند مستقیمِ المنتی که کلاس open دارد نمایش داده گردد */
    .navbar .nav-item.open > .dropdown-menu,
    .navbar .dropdown-submenu.open > .dropdown-menu {
        visibility: visible !important;
        opacity: 1 !important;
        transform: rotateX(0deg) !important;
        background: var(--bs-light) !important;
        border-radius: 10px !important;
        transition: .18s ease !important;
        pointer-events: auto !important;
        direction: rtl;
        text-align: right;
    }

    /* استایل و موقعیت زیرمنوهای تودرتو (flyout به سمت راست) */
    .dropdown-submenu {
        position: relative;
        direction: rtl;
        text-align: right;
    }

        .dropdown-submenu > .dropdown-menu {
            top: 0;
            right: 100%;
            margin-top: 0;
            transform-origin: 0% 0%;
            border-radius: 10px !important;
            direction: rtl;
            text-align: right;
            /* اگر خواستی از rotateX برای انیمیشن استفاده نکنی می‌توانی این را تغییر دهی */
        }

        /* ظاهر آیتمی که زیرمنو دارد */
        .dropdown-submenu > .dropdown-item.dropdown-toggle {
            position: relative;
            cursor: pointer;
            direction: rtl;
            text-align: right;
        }
}

/* موبایل: از رفتار پیش‌فرض بوت‌استرپ استفاده می‌کنیم - هیچ override اضافی لازم نیست */
.dropdown .dropdown-menu a:hover {
    background: var(--bs-secondary);
    color: var(--bs-primary);
}
/*******************************/
/*******************************/
/*******************************/
/*******************************/
#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    background: url(../Images/hero-img.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: rgba(255, 255, 255, 0.91);
    background-blend-mode: lighten;
}

.carousel-item {
    position: relative;
}

    .carousel-item a {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 25px;
        background: linear-gradient(rgba(255, 181, 36, 0.7), rgba(255, 181, 36, 0.7));
    }

.carousel-control-next,
.carousel-control-prev {
    width: 48px;
    height: 48px;
    border-radius: 48px;
    border: 1px solid var(--bs-white);
    background: var(--bs-primary);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.carousel-control-next {
    margin-right: 20px;
}

.carousel-control-prev {
    margin-left: 20px;
}

.page-header {
    position: relative;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(../img/cart-page-header-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (min-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 152px !important;
    }
}

@media (max-width: 992px) {
    .hero-header,
    .page-header {
        margin-top: 97px !important;
    }
}
/*** Hero Header end ***/


/*** featurs Start ***/
.featurs .featurs-item .featurs-icon {
    position: relative;
    width: 120px;
    height: 120px;
}

    .featurs .featurs-item .featurs-icon::after {
        content: "";
        width: 35px;
        height: 35px;
        background: var(--bs-secondary);
        position: absolute;
        bottom: -10px;
        transform: translate(-50%);
        transform: rotate(45deg);
        background: var(--bs-secondary);
    }
/*** featurs End ***/


/*** service Start ***/
.service .service-item .service-content {
    position: relative;
    /*width: 250px;*/
    height: 130px;
    top: -50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*** service End ***/


/*** Fruits Start ***/
.fruite .tab-class .nav-item a.active {
    background: var(--bs-secondary) !important;
}

    .fruite .tab-class .nav-item a.active span {
        color: var(--bs-white) !important;
    }

.fruite .fruite-categorie .fruite-name {
    line-height: 40px;
}

    .fruite .fruite-categorie .fruite-name a {
        transition: 0.5s;
    }

        .fruite .fruite-categorie .fruite-name a:hover {
            color: var(--bs-secondary);
        }

.fruite .fruite-item {
    height: 100%;
    transition: 0.5s;
}

    .fruite .fruite-item:hover {
        box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
    }

    .fruite .fruite-item .fruite-img {
        overflow: hidden;
        transition: 0.5s;
        border-radius: 10px 10px 0 0;
    }

        .fruite .fruite-item .fruite-img img {
            transition: 0.5s;
        }

            .fruite .fruite-item .fruite-img img:hover {
                transform: scale(1.3);
            }
/*** Fruits End ***/


/*** vesitable Start ***/
.vesitable .vesitable-item {
    height: 100%;
    transition: 0.5s;
}

    .vesitable .vesitable-item:hover {
        box-shadow: 0 0 55px rgba(0, 0, 0, 0.4);
    }

    .vesitable .vesitable-item .vesitable-img {
        overflow: hidden;
        transition: 0.5s;
        border-radius: 10px 10px 0 0;
    }

        .vesitable .vesitable-item .vesitable-img img {
            transition: 0.5s;
        }

            .vesitable .vesitable-item .vesitable-img img:hover {
                transform: scale(1.2);
            }

.vesitable .owl-stage {
    margin: 50px 0;
    position: relative;
}

.vesitable .owl-nav .owl-prev {
    position: absolute;
    top: -8px;
    left: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

    .vesitable .owl-nav .owl-prev:hover {
        background: var(--bs-secondary);
        color: var(--bs-white);
    }

.vesitable .owl-nav .owl-next {
    position: absolute;
    top: -8px;
    left: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

    .vesitable .owl-nav .owl-next:hover {
        background: var(--bs-secondary);
        color: var(--bs-white);
    }
/*** vesitable End ***/


/*** Banner Section Start ***/
.banner .banner-btn:hover {
    background: var(--bs-primary);
}
/*** Banner Section End ***/


/*** Facts Start ***/
.counter {
    height: 100%;
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
}

    .counter i {
        font-size: 60px;
        margin-bottom: 25px;
    }

    .counter h4 {
        color: var(--bs-primary);
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    .counter h1 {
        margin-bottom: 0;
    }
/*** Facts End ***/


/*** testimonial Start ***/
.testimonial .owl-nav .owl-prev {
    position: absolute;
    top: -58px;
    right: 0;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

    .testimonial .owl-nav .owl-prev:hover {
        background: var(--bs-secondary);
        color: var(--bs-white);
    }

.testimonial .owl-nav .owl-next {
    position: absolute;
    top: -58px;
    right: 88px;
    color: var(--bs-primary);
    padding: 5px 25px;
    border: 1px solid var(--bs-secondary);
    border-radius: 20px;
    transition: 0.5s;
}

    .testimonial .owl-nav .owl-next:hover {
        background: var(--bs-secondary);
        color: var(--bs-white);
    }
/*** testimonial End ***/


/*** Single Page Start ***/
.pagination {
    display: flex;
}

    .pagination li {
        color: var(--bs-dark);
        padding: 10px 16px;
        text-decoration: none;
        transition: 0.5s;
        border: 1px solid var(--bs-secondary);
        margin: 0 4px;
    }

        .pagination li.active {
            background-color: var(--bs-primary);
            color: var(--bs-light);
            border: 1px solid var(--bs-secondary);
        }

        .pagination li a {
            width: inherit
        }

        .pagination li:hover:not(.active) {
            background-color: var(--bs-primary)
        }

.nav.nav-tabs .nav-link.active {
    border-bottom: 2px solid var(--bs-secondary) !important;
}
/*** Single Page End ***/


/*** Footer Start ***/
.footer .footer-item .btn-link {
    line-height: 35px;
    color: rgba(255, 255, 255, .5);
    transition: 0.5s;
}

    .footer .footer-item .btn-link:hover {
        color: var(--bs-secondary) !important;
    }

.footer .footer-item p.mb-4 {
    line-height: 35px;
}
/*** Footer End ***/

.slidesdescription {
    position: absolute;
    bottom: 20px;
    background: #81c408;
    color: white;
    padding: 5px;
    left: 0;
    right: 0;
    margin-inline: auto;
    width: fit-content;
}

.slidesImg {
    max-width: 500px;
    max-height: 300px
}

.facor-sumPrice, .f_price, .ShippingCost {
    padding-left: 5px;
}

.sum-sumFactor {
    padding-left: 5px;
}

.s_price, .newship {
    display: inline-block;
    direction: ltr;
}

.basket-new-price, .s_price, .newship {
    padding-right: 5px;
}

    .basket-new-price::after, .s_price::after, .newship::after {
        content: '/';
        position: relative;
        padding-left: 5px;
    }

.agent-discount, .agent-credit {
    padding: 2px;
    font-weight: bold;
    background: #c0d9cd;
    color: #1a6845;
    border-radius: 5px;
}

.swal2-popup.swal2-modal.swal2-show {
    direction: rtl;
}

.bottom-notify {
    width: 100%;
    position: fixed;
    bottom: 0px;
    z-index: 10;
    box-shadow: 0 0 6px #81c408;
    background: white;
    direction: rtl;
    padding: .5rem;
}

    .bottom-notify .row {
        margin-right: 0;
        margin-left: 0;
    }

    .bottom-notify .col-10 a {
        font-weight: 500;
        text-transform: uppercase;
        color: #ed3974;
        transition: ease .5s;
    }

        .bottom-notify .col-10 a:hover {
            color: #e02e68;
        }

    .bottom-notify .col-2 {
        align-content: center;
    }

        .bottom-notify .col-2 button {
            float: left;
            margin: 2px
        }

.page-info {
    direction: rtl;
}

    .page-info .align-items-center .rounded.me-4 {
        width: 100px;
        height: 100px;
    }

#CaptchaInputText {
    margin-top: .5rem;
    display: block;
    width: 100%;
    max-width: 200px;
    padding: .375rem .75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #747d88;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
    direction: ltr;
}

    #CaptchaInputText:focus {
        border-color: #c0e284;
        outline: 0;
        box-shadow: 0 0 0 .25rem rgba(129,196,8,.25)
    }

.fa-star-half-alt {
    transform: rotateY(180deg);
}

#PostComment {
    position: relative;
}

    #PostComment .comment-rate {
        font-size: 12px;
    }

.comment-box {
    position: relative;
}

    .comment-box > a.reply {
        position: absolute;
        top: 34px;
        right: 0;
        font-size: 12px;
    }

.toreply {
    position: absolute;
    z-index: 10;
    top: 30px;
    right: 0;
    color: #81c408;
}

    .toreply .fa-times {
        font-size: 12px;
    }

.vertical-middle {
    vertical-align: middle;
}

.productinfo .description {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.productinfo hr {
    background-color: #81c40899;
}

.search-parrent {
    position: relative;
    margin-right: 1.5rem !important;
}

.site-search-input {
    position: absolute;
    top: 0;
    right: 0;
    border: 0;
    height: 46px;
    transition: all 0.5s ease;
    margin-right: 44px;
    border-radius: 0;
    width: 0 !important;
}

    .site-search-input:focus {
        box-shadow: none;
    }

.search-input-append {
    border-bottom: 0.1px solid #81c408;
    padding: 1rem !important;
    width: 150px !important;
}

ul.ui-menu.ui-autocomplete {
    font-family: BNazanin;
    direction: rtl;
    z-index: 1029;
    border: none;
    box-shadow: 0px 10px 13px 0px #85858578;
    /*position:fixed*/
}

.ui-menu .ui-menu-item {
    border-bottom: 0.1px solid #81c40836;
    cursor: pointer;
    font-size: 14px;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
    border: none !important;
    background: #f5f8f9 !important;
    font-weight: bold;
    color: #81c408 !important;
}

.checkout-table-tr {
    direction: rtl;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    margin-left: 0px !important;
    margin-right: 0px !important;
    border-bottom: 1px solid #dee2e6 !important;
}

.text-left {
    text-align: left;
}

.register-now {
    margin-bottom: 15px;
    direction: rtl;
    text-align: right;
    font-size: 14px;
}

.footer-fixed-nav {
    direction: rtl;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: block;
    justify-content: center;
    transition: 0.5s;
    background: var(--bs-white);
    border: 0;
    padding-top: .5rem;
    box-shadow: 0 -0.5rem 1rem rgba(0, 0, 0, .15) !important;
    z-index:1;
}

    .footer-fixed-nav .f-item {
        margin: auto;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    .footer-fixed-nav .search-span input {
        /*display:none*/
    }

.header-basketcount {
    direction: rtl;
    display: flex;
    margin: 1rem !important;
    margin-right: 0 !important;
}

@media(max-width: 1200px) {
    .header-basketcount {
        display:none !important;
    }
}
@media(min-width: 1200px) {
    .footer-fixed-nav {
        display: none !important
    }
}

.search-input-parent {
    display: none;
    position: relative
}

    .search-input-parent .fa-times {
        position: absolute;
        top: 0;
        left: 0;
    }
