@font-face {
    font-family: 'IRANSansFaNumerals';
    src: url('../../general/fonts/IRANSansXFaNum-Regular.woff') format('woff'),
    url('../../general/fonts/IRANSansXFaNum-Regular.woff2') format('woff2'),
    url('../../general/fonts/IRANSansXFaNum-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Amiri';
    src: url('../../general/fonts/Amiri-Regular.woff') format('woff'),
    url('../../general/fonts/Amiri-Regular.woff2') format('woff2'),
    url('../../general/fonts/amiri-regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
html, body {
    font-family: 'IRANSansFaNumerals', sans-serif !important;
}
.amiri {
    font-family: 'Amiri', sans-serif !important;
}
/*** Spinner Start ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
 }

 #spinner.show {
     transition: opacity .8s ease-out, visibility 0s linear .0s;
     visibility: visible;
     opacity: 1;
 }

 .back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}
/*** Spinner End ***/


/*** Button Start ***/
.btn {
    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;
}

.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 {
    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;
}

#searchModal .modal-content {
    background: rgba(255, 255, 255, .8);
}
/*** Navbar End ***/

/*** Hero Header ***/
.hero-header {
    margin-top: 125px;
    background: linear-gradient(rgba(248, 223, 173, 0.1), rgba(248, 223, 173, 0.1)), url(../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.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(173, 132, 50, 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: url(../img/hero-img.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** 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;
    box-shadow: 0 0 55px rgba(0, 0, 0, 0.2);
}
.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;
    right: 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;
    right: 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: inline-block;
}

.pagination a {
    color: var(--bs-dark);
    padding: 10px 16px;
    text-decoration: none;
    transition: 0.5s;
    border: 1px solid var(--bs-secondary);
    margin: 0 4px;
}

.pagination a.active {
    background-color: var(--bs-primary);
    color: var(--bs-light);
    border: 1px solid var(--bs-secondary);
}

.pagination a: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 ***/

/* Custom Css */
.text-right {text-align: right}
.text-left {text-align: left}
.scroll-nav {
    margin-right: 0 !important;
    padding-right: 0 !important;
    width: 100%;
    display: flex;
    flex-wrap: nowrap;        /* جلوگیری از رفتن زیر هم */
    overflow-x: auto;         /* فعال کردن اسکرول افقی */
    white-space: nowrap;      /* جلوگیری از شکسته شدن آیتم‌ها */
    -webkit-overflow-scrolling: touch; /* اسکرول نرم در موبایل */
}

.scroll-nav::-webkit-scrollbar {
    height: 6px; /* اختیاری: کوچک کردن اسکرول‌بار */
}

input[type="text"]:focus {
    outline: none;
    border: none;
}

.full-height {height: 100vh}

.full-center {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

/* ظاهر کلی */
.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    border-radius: 0;
    background: #fff;
}

/* لینک‌ها */
.mega-link {
    position: relative;
    display: block;
    padding: 6px 0;
    color: #444;
    text-decoration: none;
    overflow: hidden;
    transition: color .25s ease;
}

.mega-link::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--bs-primary);
    transition: width .5s ease;
    border-radius: 2px;
}

.mega-link:hover {
    color: var(--bs-primary);
    background-color: transparent !important;
}

.mega-link:hover::after {
    width: 100%;
}

.en-mega-link {
    position: relative;
    display: block;
    padding: 6px 0;
    color: #444;
    text-decoration: none;
    overflow: hidden;
    transition: color .25s ease;
}

.en-mega-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    height: 2px;
    width: 0;
    background: var(--bs-primary);
    transition: width .5s ease;
    border-radius: 2px;
}

.en-mega-link:hover {
    color: var(--bs-primary);
    background-color: transparent !important;
}

.en-mega-link:hover::after {
    width: 100%;
}

/* بنر */
.mega-banner {
    position: relative;
}

.mega-banner img {
    width: 100%;
    display: block;
}

.banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
}

.mega-badge {
    display: inline-block;
    padding: 6px 12px;
    background: linear-gradient(45deg, var(--bs-primary), #00c2ff);
    color: #fff;
    border-radius: 30px;
    font-size: 16px;
    width: 100%;
}

.mega-title {
    font-weight: 700;
    font-size: 15px;
    color: var(--bs-primary);
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 6px;
}

.mega-title i {
    font-size: 18px;
    margin-left: 6px;
    color: var(--bs-primary);
}

.mega-title::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 3px;
}

.en-mega-title {
    font-weight: 700;
    font-size: 15px;
    color: #003566;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 6px;
}

.en-mega-title i {
    font-size: 18px;
    margin-right: 6px;
    color: var(--bs-primary);
}

.en-mega-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--bs-primary);
    border-radius: 3px;
}

.text-justify {text-align: justify}

.text-shadow {
    text-shadow: 0 -1px 0 #fff, 0 1px 0 #2e2e2e, 0 2px 0 #2c2c2c,
    0 3px 0 #2a2a2a, 0 4px 0 #282828, 0 5px 0 #262626, 0 22px 30px rgba(0, 0, 0, 0.9);
}

.favorite-btn {
    position: absolute;
    bottom: 8px;
    left: 8px;
}

.pull-right {float: right}

.empty-btn {background-color: transparent !important; border: none !important; box-shadow: none !important;}

:root{
    --size: 32px;
    --gap: 10px;
    --bg: #0f172a;
    --accent: #0ea5a4;
    --panel-bg: rgba(15,23,42,0.98);
    --text: #ffffff;
    --muted: rgba(255,255,255,0.8);
    --shadow: 0 8px 20px rgba(2,6,23,0.6);
}

/* container in bottom-right */
.lang-switch-wrap{
    position:fixed;
    left:8px;
    bottom:6px;
    z-index:1000;
    display:flex;
    align-items:flex-end;
    gap:var(--gap);
}

/* hidden checkbox that controls open/close */
.lang-toggle{
    position:absolute;
    width:1px;height:1px;
    margin:-1px;padding:0;border:0;
    clip:rect(0 0 0 0);overflow:hidden;white-space:nowrap;
}

/* the visible round button */
.lang-btn{
    width:var(--size);height:var(--size);
    border-radius:50%;
    display:inline-grid;place-items:center;
    box-shadow:var(--shadow);
    cursor:pointer;
    transition:transform .28s ease, box-shadow .2s;
}
.lang-btn img {max-width: 100% !important;}
.lang-btn:focus{outline:3px solid rgba(14,165,164,0.18);outline-offset:3px}

/* rotate when open (controlled by checkbox) */
.lang-toggle:checked + label .lang-btn{ transform: rotate(90deg) }

/* the popout panel */
.lang-panel{
    display:flex;
    flex-direction:column;
    gap:8px;
    margin-right:8px;
    align-items:flex-end;
    transform-origin:100% 100%;
    transition:opacity .22s ease, transform .22s cubic-bezier(.2,.9,.2,1);
    opacity:0;
    pointer-events:none;
    transform: translateY(10px) scale(.95);
}

/* show when checked */
.lang-toggle:checked ~ .lang-panel{
    opacity:1;
    pointer-events:auto;
    transform: translateY(0) scale(1);
}

/* each language item */
.lang-item{
    display:flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    min-width:140px;
    border-radius:12px;
    background:var(--panel-bg);
    color:var(--text);
    text-decoration:none;
    font-weight:600;
    box-shadow:var(--shadow);
    border:1px solid rgba(255,255,255,0.04);
    transition:transform .12s ease, background .12s ease;
}
.lang-item:hover,
.lang-item:focus{
    transform:translateY(-3px);
    background:linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.00));
    outline:none;
}

.lang-item .flag{ font-size:18px; margin-left:6px; }

/* small description / language code */
.lang-sub{
    font-size:12px;
    color:var(--muted);
    font-weight:500;
    margin-left:6px;
}

/* styling for RTL label (Arabic) */
.lang-item[dir="rtl"]{ direction:rtl; text-align:right; }
.pt-80 {padding-top: 80px}
.pt-120 {padding-top: 120px}
.pt-180 {padding-top: 180px}

.mt-6 {
    margin-top: 180px;
}

.mt-7 {
    margin-top: 120px;
}

.quantity-input {
    box-shadow: none !important;
    border: 1px solid #d1d1d1 !important;
    padding: 6px;
}

.en-font {
    font-family: sans-serif !important;
}

/* باز شدن با هاور در دسکتاپ */
@media (min-width: 1200px) {
    .mega-dropdown:hover .mega-menu {
        display: block !important;
    }
}

@media (max-width: 1199px) {
    #navbarCollapse {
        max-height: calc(100vh - 165px);
        overflow-y: auto !important;
        background-color: #e8ece1 !important;
    }
}

