@font-face {
    font-family: 'IranianSans';
    src: url("/static/fonts/IranianSans.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Ebrima';
    src: url("/static/fonts/ebrima.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'IranianSansBold';
    src: url("/static/fonts/IranianSansBold.woff") format('woff');
    font-weight: bold;
    font-style: normal;
}


:root {
    --purplek-color: #FFFEFE;
    --bluek-color: #FF9494;
    --dbluek-color: #8A0000;
    --dbluek-color2: #888888;
}


html, body {
    direction: rtl;
    background: white;
    margin: 0;
    padding: 0;
    width: 100%;
    /*display: flex;*/

}

.fix {
    display: flex;
    flex-direction: column;
    justify-content: center; /* وسط‌چینی افقی */
    max-width: 1500px;
    width: 100%;
    padding: 20px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .fix {
        padding: 0;
    }
}


/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}


/* NAVBAR -------------------- */
.navbar {
    margin: 0 auto;
    width: 100%;
    border-radius: 12px;
    padding: 20px 60px;
    background-color: var(--bluek-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(8px);
    z-index: 9999;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 45px;
}

.logo span {
    font-size: 20px;
    font-weight: 600;
}

.nav-links {
    display: flex;
    gap: 35px;
}

.nav-links a {
    text-decoration: none;
    font-family: IranianSansBold, sans-serif;
    color: var(--dbluek-color);
    font-size: 18px;
    transition: .3s;
}

.nav-links a:hover {
    color: var(--purplek-color);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #000;
    margin: 4px 0;
    transition: 0.3s;
}

.icon-buy {
    width: 40px;
    filter: grayscale(100%);
}

.icon-buy:hover {
    filter: grayscale(0%);
}


@media (max-width: 768px) {

    .icon-buy {
        display: none;
    }

    .logo img {
        width: 24px;
    }

    .logo span {
        font-size: 16px;
    }

    .navbar {
        direction: ltr;
        margin: 5px auto;
        padding: 10px;
        height: 50px;
        width: 95%;
    }

    .nav-links {
        position: absolute;
        top: 70px;
        background: var(--bluek-color);
        flex-direction: column;
        width: 95%;
        text-align: right;
        display: none;
        padding: 15px 5px 15px 0;
    }

    .nav-links a {
        padding-right: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .contact-btn {
        display: none;
    }

    .hamburger {
        display: flex;
        cursor: pointer;
        position: absolute;
        right: 20px;
        top: 10px;
    }

    .hamburger img {
        width: 30px;
    }

}


/* home page -----------------*/
/* HERO SECTION ------------------- */
.hero {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    margin: 20px;
    height: 550px;
    border-radius: 18px;
    background-size: cover;
    position: relative;
}

/* کلیت اسلایدر */
.slider {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns:1fr 1fr;
    align-items: stretch;
}

/* پنل چپ (تصاویر) */
.left {
    position: relative;
    overflow: hidden;
    /*background: #000;*/
    border-right: 1px solid rgba(255, 255, 255, 0.02)
}

.left .stage {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center
}

.slide-img {
    position: absolute;
    width: 80%;
    height: 80%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.6);
    transform-origin: center center;
    filter: blur(0px) saturate(1);
    transition: transform 1.2s cubic-bezier(.2, .9, .2, 1), opacity 1.1s ease, filter 1s ease, clip-path 1.1s ease;
    opacity: 0;
    z-index: 1;
    will-change: transform, opacity;
    pointer-events: none;
}

.slide-img.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
    filter: blur(0px) saturate(1);
    z-index: 2;
}

.slide-img.inactive {
    filter: blur(6px) saturate(.7);
    transform: scale(.98);
    opacity: 0;
    z-index: 1;
}

.slide-img.arc-exit {
    opacity: 0;
    z-index: 1;
}

/* انیمیشن نیم دایره‌ای (ورود و خروج) */
.arc-enter {
    animation: arcEnter 1.1s cubic-bezier(.2, .9, .2, 1) forwards
}

.arc-exit {
    animation: arcExit 1.0s cubic-bezier(.25, .8, .25, 1) forwards
}

@keyframes arcEnter {
    0% {
        transform: translate(-60%, 140%) rotate(-18deg) scale(0.95);
        opacity: 0
    }
    40% {
        transform: translate(-20%, 20%) rotate(-6deg) scale(1.02);
        opacity: 1
    }
    100% {
        transform: translate(0, 0) rotate(0) scale(1);
        opacity: 1
    }
}

@keyframes arcExit {
    0% {
        transform: translate(0, 0) rotate(0) scale(1);
        opacity: 1
    }
    100% {
        transform: translate(80%, -220%) rotate(18deg) scale(.9);
        opacity: 0
    }
}

/* پنل راست (متن) */
.right {
    position: relative;
    padding: 72px 64px;
    display: flex;
    align-items: center;
    border-radius: 16px;
    border: none;
    background: linear-gradient(90deg, white, var(--bluek-color))
}

.content {
    position: relative;
    width: 100%;
    max-width: 720px;
}

.text-slide {
    direction: rtl;
    position: absolute;
    top: -100px;
    left: 0;
    right: 0;
    opacity: 0;
    transform: translateY(60px);
    transition: transform .9s cubic-bezier(.2, .9, .2, 1), opacity .9s ease
}

.text-slide.active {
    opacity: 1;
    transform: translateY(0)
}

.text-slide.exit {
    opacity: 0;
    transform: translateY(-100px)
}

.title,
.lead {
    display: flex;
    font-family: IranianSansBold, sans-serif;
    flex-direction: row-reverse;
    justify-content: flex-end;
    direction: ltr; /* مهم */
}

.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition: transform .6s cubic-bezier(.2, .9, .2, 1), opacity .6s ease;
}


.text-slide h1 {
    font-family: IranianSansBold, sans-serif;
    direction: rtl;
    font-size: 46px;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 14px
}

.text-slide p {
    direction: rtl;
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.8;
    max-width: 56ch;
    margin-bottom: 24px
}


/* bottom small boxes */
.bottom-buttons {
    margin-top: -40px;
    padding: 0 4%;
    width: 100%;
    display: flex;
    gap: 10px;
    justify-content: center;
    backdrop-filter: opacity(20%);
}

.box {
    padding: 12px 22px;
    background: var(--dbluek-color); /* رنگ + اوپسیتی */
    backdrop-filter: blur(90px);
    font-family: IranianSansBold, sans-serif;
    border: none;
    cursor: pointer;
    opacity: 80%;
    width: 100%;
    border-radius: 8px;
    font-size: 15px;
    color: white;
    transition: .3s;
    margin: 0; /* مهم: فاصله نداشته باشند */
}

@media (max-width: 768px) {
    .box {
        font-size: 9px;
    }
}


/* حالت hover */
.box:hover {
    background: white;
    color: black;
}

/* حالت اکتیو */
.box.active {
    background: white;
    color: #1e3138;
    font-weight: 600;
    transform: scale(1.03);
    z-index: 2; /* برای اینکه از بقیه جلوتر دیده شود */
}

/* انیمیشن حروف (split letters) */
.split-char {
    display: inline-block;
    opacity: 0;
    transform: translateY(12px);
    transition: transform .6s cubic-bezier(.2, .9, .2, 1), opacity .6s ease
}

.text-slide.active .split-char {
    opacity: 1;
    transform: translateY(0)
}


.btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600
}

.btn:hover {
    background: rgba(255, 255, 255, 0.04)
}

.counter {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600
}

/* bullets */
.bullets {
    position: absolute;
    bottom: 50px;
    left: 28px;
    display: flex;
    gap: 8px
}

.bullet {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #F19D9DFF;
    cursor: pointer;
    transition: transform .25s
}

.bullet.active {
    background: var(--dbluek-color);
    transform: scale(1.35)
}

/* ریسپانسیو */
@media (max-width: 900px) {
    .hero {
        height: auto;
        padding: 0;
        margin-bottom: 50px;
    }

    .slider {
        grid-template-columns: 1fr 1fr; /* 👈 کنار هم */
        height: auto;
    }

    .left {
        width: 100%;
        height: 260px;
    }

    .right {
        width: 100%;
        height: 260px;
        padding: 24px;
    }

    .text-slide {
        margin-top: 20px;
    }

    .text-slide h1 {
        font-size: 22px;
    }

    .text-slide p {
        font-size: 12px;
    }

    .slide-img {
        position: absolute;
        width: 90%;
        height: 90%;
        box-shadow: 0 5px 5px rgba(2, 6, 23, 0.6);
    }

    .btn {
        padding: 0;
        font-size: 12px;
    }

    .bullet {
        display: none;
    }
}

/* banner-tabligh  */

@import url(https://fonts.googleapis.com/css?family=Oswald:400);

.banner-row-tabligh {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-tabligh {
    direction: ltr;
    display: inline-block;
    margin: 50px;
    width: 60%;
    max-width: 380px;
    min-width: 320px;
    position: relative;
    min-height: 220px;
    max-height: 240px;
    border-radius: 10px;
    overflow: hidden;
    background-image: linear-gradient(to bottom right, var(--bluek-color), var(--dbluek-color));
    background-repeat: no-repeat;
    text-align: left;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
}

.banner-tabligh.second {
    background-image: linear-gradient(to bottom right, var(--bluek-color), var(--bluek-color));
}

.banner-tabligh.third {
    background-image: linear-gradient(to bottom right, var(--dbluek-color), var(--bluek-color));
}

.container-banner-tabligh {
    max-width: calc(100%);
    padding: 15px;
    color: #fff;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    min-height: 300px;
    max-height: 450px;
}

.col-xs-12 {
    direction: rtl;
    -webkit-box-flex: 0;
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
    -webkit-align-self: flex-end;
    -ms-flex-item-align: end;
    align-self: flex-end;
}

@media (min-width: 650px) {
    .col-xs-12 {
        -webkit-align-self: center;
        -ms-flex-item-align: center;
        align-self: center;
    }

    .container-banner-tabligh {
        max-width: calc(100% - 200px);
    }
}

.col-xs-12 p {
    clear: both;
    font-family: IranianSansBold, sans-serif;
    text-rendering: optimizeLegibility;
    font-weight: 500;
    line-height: 1.15;
    word-wrap: normal;
    padding: 0;
    color: #fff;
    position: relative;
    font-size: 18px;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-left: 80px;
}

a.more-link {
    background-color: rgba(255, 255, 255, 0.35);
    display: inline-block;
    padding: 8px 15px;
    color: #fff;
    text-decoration: none;
    font-family: IranianSansBold, sans-serif;
    line-height: 1.5;
    text-align: center;
    border: none !important;
    position: relative;
    border-radius: 30px;
    text-transform: uppercase;
    -webkit-transition: .1s all ease-in-out;
    -moz-transition: .1s all ease-in-out;
    -o-transition: .1s all ease-in-out;
    transition: .1s all ease-in-out;
}

a.more-link:hover {
    background-color: rgba(255, 255, 255, 0.50);
}

.cirle-a {
    fill: rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: -80px;
    left: -80px;
}

.cirle-b {
    fill: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -30px;
    right: 70%;
}

.cirle-c {
    fill: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: -330px;
    right: -300px;
}

.cirle-d {
    fill: rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 195px;
    right: 145px;
}

.container-banner-tabligh img {
    fill: rgba(0, 0, 0, 0.1);
    position: absolute;
    max-width: 50%;
    top: 0;
    right: 0;

}

@media (max-width: 768px) {

    .banner-row-tabligh {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .banner-tabligh {
        margin: 10px auto;
        height: 150px;
    }

    .banner-row-tabligh {
        margin-top: 30px;
    }

    .banner-tabligh {
        margin: 10px auto;
        height: 150px;
    }

    /* ⭐️ این بخش مهمه */
    .col-xs-12 {
        align-self: flex-start; /* بیاد بالا */
        margin-top: 120px;
    }

    .more-link {
        font-size: 12px;
    }
}


/* banner-inte */

.banner-row-inte {
    margin: 50px auto;
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
}


.banner-inte {
    position: relative;
    z-index: 1;
    margin: 65px auto;
    width: 330px;
}

.banner-inte .line-inte {
    display: flex;
    flex-direction: column;
    margin: auto;
    width: 100%;
    height: 78px;
    box-inte-shadow: 10px 10px 10px rgba(0, 0, 0, 0.05);
    text-align: center;
    text-transform: uppercase;
    font-size: 2.5em;
    /*line-inte-height: 10px;*/
    transform: skew(0, -15deg);
}

.banner-inte .line-inte:after,
.banner-inte .line-inte:first-child:before {
    position: absolute;
    top: 44px;
    left: 0;
    z-index: -1;
    display: block;
    width: 330px;
    height: 78px;
    border-radius: 4px;
    background: rgba(180, 180, 180, 0.8);
    content: '';
    transform: skew(0, 15deg);
}

.banner-inte .line-inte:first-child:before {
    top: -10px;
    right: 0;
    left: 0;
}

.banner-inte .line-inte:first-child:before,
.banner-inte .line-inte:last-child:after {
    width: 0;
    height: 0;
    border-width: 38px;
    border-style: solid;
    border-color: rgba(180, 180, 180, 0.8) rgba(180, 180, 180, 0.8) transparent transparent;
    background: transparent;
}

.banner-inte .line-inte:last-child:after {
    top: 12px;
    border-color: transparent transparent rgba(180, 180, 180, 0.8) rgba(180, 180, 180, 0.8);
}

.banner-inte span {
    display: block;
    width: 100%;
    height: max-content;
    border-radius: 4px;
    padding: 19px 0;
    margin: auto;
    background: rgba(255, 255, 255, 0.9);
    color: #666;
    text-shadow: 1px 1px 0 #444;
}


.box-inte {
    width: 400px;
    height: 200px;
    background: #000000;
    position: relative;
    left: 0;
    top: 50%;
    margin-left: 0;
    margin-top: -80px;
}

.box-inte .content-inte {
    overflow: hidden;
    width: 400px;
    height: 200px;
    background: #000;
    position: relative;
}

.box-inte .content-inte img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    margin-top: 0; /* اگر نمی‌خوای بالا بره */
    transition: all 0.5s ease;
}

.box-inte .content-inte:hover img {
    opacity: 0.3;
    margin-top: -170px;
    -webkit-filter: blur(3px);
}

.box-inte .content-inte:hover .text1-inte {
    left: 130px;
    opacity: 1;

}

.box-inte .content-inte:hover .text2-inte {
    left: 180px;
    opacity: 1;
}

.box-inte .content-inte .text1-inte {
    color: #fff;
    font-size: 40px;
    font-family: 'Oswald', cursive;
    position: absolute;
    left: 330px;
    top: 60px;
    opacity: 0;

    -webkit-transition: all 800ms cubic-bezier(0.000, 0.440, 0.000, 0.795);
    -moz-transition: all 800ms cubic-bezier(0.000, 0.440, 0.000, 0.795);
    -ms-transition: all 800ms cubic-bezier(0.000, 0.440, 0.000, 0.795);
    -o-transition: all 800ms cubic-bezier(0.000, 0.440, 0.000, 0.795);
    transition: all 800ms cubic-bezier(0.000, 0.440, 0.000, 0.795);

    -webkit-transition-timing-function: cubic-bezier(0.000, 0.440, 0.000, 0.795);
    -moz-transition-timing-function: cubic-bezier(0.000, 0.440, 0.000, 0.795);
    -ms-transition-timing-function: cubic-bezier(0.000, 0.440, 0.000, 0.795);
    -o-transition-timing-function: cubic-bezier(0.000, 0.440, 0.000, 0.795);
    transition-timing-function: cubic-bezier(0.000, 0.440, 0.000, 0.795);
}

.box-inte .content-inte .text2-inte {
    color: #fff;
    font-size: 20px;
    font-family: IranianSansBold, sans-serif;
    position: absolute;
    left: -100px;
    top: 110px;
    opacity: 0;
    -webkit-transition: all 800ms cubic-bezier(0.000, 0.890, 0.630, 0.980);
    -moz-transition: all 800ms cubic-bezier(0.000, 0.890, 0.630, 0.980);
    -ms-transition: all 800ms cubic-bezier(0.000, 0.890, 0.630, 0.980);
    -o-transition: all 800ms cubic-bezier(0.000, 0.890, 0.630, 0.980);
    transition: all 800ms cubic-bezier(0.000, 0.890, 0.630, 0.980);

    -webkit-transition-timing-function: cubic-bezier(0.000, 0.890, 0.630, 0.980);
    -moz-transition-timing-function: cubic-bezier(0.000, 0.890, 0.630, 0.980);
    -ms-transition-timing-function: cubic-bezier(0.000, 0.890, 0.630, 0.980);
    -o-transition-timing-function: cubic-bezier(0.000, 0.890, 0.630, 0.980);
    transition-timing-function: cubic-bezier(0.000, 0.890, 0.630, 0.980);
}

.box-inte:before {
    content: "";
    width: 80%;
    height: 8px;
    bottom: 18px;
    left: 13px;
    z-index: -1;
    background: #000;
    position: absolute;
    box-inte-shadow: -10px 10px 20px #000;
    -moz-transform: scale(1) rotate(-5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -webkit-transform: scale(1) rotate(-5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -o-transform: scale(1) rotate(-5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -ms-transform: scale(1) rotate(-5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    transform: scale(1) rotate(-5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
}

.box-inte:after {
    content: "";
    width: 80%;
    height: 8px;
    bottom: 18px;
    right: 13px;
    z-index: -1;
    background: #000;
    position: absolute;
    box-inte-shadow: 10px 10px 20px #000;
    -moz-transform: scale(1) rotate(5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -webkit-transform: scale(1) rotate(5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -o-transform: scale(1) rotate(5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    -ms-transform: scale(1) rotate(5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
    transform: scale(1) rotate(5deg) translateX(0px) translateY(0px) skewX(0deg) skewY(0deg);
}

@media (max-width: 768px) {

    .banner-row-inte {
        flex-direction: column;
        gap: 40px;
        margin: 30px auto;
    }
}

/* slider tabligati */

.slider-container {
    direction: ltr;
    margin: 30px auto;
    position: relative;
    height: 750px;
    width: 100%;
    overflow: hidden;
}

.slider-wrapper .slider-item {
    direction: rtl;
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.slider-wrapper .slider-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    filter: grayscale(20%);
    background-image: url("../images/baner/99.png");
    background-size: cover;
    background-position: center;
}

.slider-wrapper .slider-item:nth-child(2):before {
    background-image: url("../images/baner/100.png");
}

.slider-wrapper .slider-item:nth-child(3):before {
    background-image: url("../images/baner/101.png");
}

.slider-wrapper .slider-item:nth-child(4):before {
    filter: grayscale(25%) brightness(80%);
    background-image: url("../images/baner/102.png");
}

.slider-wrapper .slider-item:nth-child(5):before {
    background-image: url("../images/baner/103.png");
}

.slider-wrapper .slider-item .slide-content {
    position: relative;
    z-index: 10;
    color: black;
    width: 100%;
    opacity: 0;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 80px 10px;
}

.slider-item.swiper-slide-active .slide-content {
    animation: animate_opacity 0.8s 0.6s linear forwards;
}

@keyframes animate_opacity {
    100% {
        opacity: 1;
    }
}

.slider-wrapper .slider-item .slide-content > * {
    max-width: 35%;
}

.slider-item .slide-content .slide-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 5px;
    opacity: 0;
    text-transform: uppercase;
    transform: translateY(60%);
}

.slider-item .slide-content .slide-subtitle {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0;
    transform: translateY(60%);
}

.slider-item.swiper-slide-active :where(.slide-title, .slide-subtitle) {
    animation: animate_text 0.6s 0.6s linear forwards;
}

@keyframes animate_text {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.slider-item .slide-content .slide-description {
    margin-top: 25px;
    line-height: 25px;
    opacity: 0;
    transform: translateY(60%);
}

.slider-item.swiper-slide-active .slide-description {
    animation: animate_text 0.6s 1s linear forwards;
}

.slider-item .slide-content .slide-button {
    display: block;
    margin-top: 45px;
    color: #fff;
    width: 0;
    padding: 13px 0;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border: 2px solid #fff;
    transition: 0.5s ease;
    opacity: 0;
    white-space: nowrap;
}

.slider-item.swiper-slide-active .slide-button {
    animation: animate_button 0.5s 1.3s linear forwards;
}

@keyframes animate_button {
    100% {
        width: 250px;
        opacity: 1;
    }
}

.slider-item .slide-content .slide-button span {
    opacity: 0;
}

.slider-item.swiper-slide-active .slide-button span {
    animation: animate_opacity 0.5s 1.5s linear forwards;
}

.slider-item .slide-content .slide-button:hover {
    color: #000;
    background: #fff;
}

.slider-container .slider-controls {
    position: absolute;
    bottom: 45px;
    z-index: 30;
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}

.slider-controls .slider-pagination {
    display: flex;
    list-style: none;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
    position: relative;
    justify-content: space-between;
}

.slider-pagination .slider-indicator {
    position: absolute;
    bottom: 0;
    border-bottom: 2px solid #fff;
    transition: 0.4s ease-in-out;
}

.slider-pagination .slider-tab {
    color: #DBDADA;
    padding: 20px 30px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.slider-controls .slider-tab.current {
    color: #fff;
}

.slider-navigations button {
    position: absolute;
    top: 50%;
    color: #fff;
    z-index: 20;
    border: none;
    height: 40px;
    width: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #202022;
    transform: translateY(-50%);
    transition: 0.4s ease;
}

.slider-navigations button:hover {
    background: #323235;
}

.slider-navigations button.swiper-button-disabled {
    display: none;
}

.slider-navigations button#slide-prev {
    left: 20px;
}

.slider-navigations button#slide-next {
    right: 20px;
}

@media (max-width: 1536px) {
    .slider-wrapper .slider-item .slide-content,
    .slider-controls .slider-pagination {
        width: 85%;
    }
}

@media (max-width: 1024px) {
    .slider-wrapper .slider-item .slide-content,
    .slider-controls .slider-pagination {
        width: 100%;
    }

    .slider-wrapper .slider-item .slide-content > * {
        max-width: 66%;
    }

    .slider-container .slider-controls {
        bottom: 50px;
    }

    @keyframes animate_button {
        100% {
            width: 100%;
            opacity: 1;
        }
    }
    .slider-navigations button {
        top: unset;
        bottom: -15px;
        background: none;
    }

    .slider-navigations button:hover {
        background: none;
    }
}

@media (max-width: 768px) {

    .slider-item {
        margin-top: -100px;
    }

    .slider-container {
        height: 600px;
    }

    .slider-wrapper .slider-item .slide-content > * {
        max-width: 100%;
    }
}


/*  slide-container-buy  */


.slide-container-buy {
    direction: ltr;
    max-width: 1400px;
    width: 100%;
    padding: 40px 0;
}

.slide-content-buy {
    margin: 0 40px;
    overflow: hidden;
    border-radius: 25px;
}

.card-buy {
    border-radius: 25px;
    background-color: #FFF;
}

.image-content,
.card-buy-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 14px;
}

.image-content {
    position: relative;
    row-gap: 5px;
    padding: 25px 0;
}

.overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: var(--bluek-color);
    border-radius: 25px 25px 0 25px;
}

.overlay::before,
.overlay::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -40px;
    height: 40px;
    width: 40px;
    background-color: var(--bluek-color);
}

.overlay::after {
    border-radius: 0 25px 0 0;
    background-color: #FFF;
}

.card-buy-image {
    position: relative;
    height: 150px;
    width: 150px;
    border-radius: 50%;
    background: #FFF;
    padding: 3px;
}

.card-buy-image .card-buy-img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--purplek-color);
}

.name-buy {
    font-family: IranianSansBold, sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #333;
}

.description-buy {
    font-family: IranianSansBold, sans-serif;
    font-size: 14px;
    color: #707070;
    text-align: center;
}

.button {
    border: none;
    font-family: IranianSansBold, sans-serif;
    font-size: 16px;
    color: #8A0000;
    padding: 8px 16px;
    background-color: var(--bluek-color);
    border-radius: 6px;
    margin: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.button:hover {
    background: var(--dbluek-color);
    color: var(--purplek-color);
}

.swiper-navBtn {
    color: var(--dbluek-color);
    transition: color 0.3s ease;
}

.swiper-navBtn:hover {
    color: var(--dbluek-color);
}

.swiper-navBtn::before,
.swiper-navBtn::after {
    font-size: 35px;
}

.swiper-button-next {
    right: 0;
}

.swiper-button-prev {
    left: 0;
}

.swiper-pagination-bullet {
    background-color: var(--dbluek-color);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background-color: var(--dbluek-color);
}

@media screen and (max-width: 768px) {
    .slide-content-buy {
        margin: 0 10px;
    }

    .swiper-navBtn {
        display: none;
    }
}

/* رنگ فلش‌ها */
.swiper-button-next::after,
.swiper-button-prev::after {
    color: var(--dbluek-color2); /* هر رنگی که می‌خوای */
    font-size: 10px; /* اختیاری */
}

/* اگر کلاس سفارشی swiper-navBtn داری */
.swiper-navBtn::after {
    color: var(--bluek-color);
}

.slide-container-buy .swiper-pagination-bullet {
    background-color: var(--bluek-color);
    opacity: 1;
}

.slide-container-buy .swiper-pagination-bullet-active {
    background-color: var(--dbluek-color);
}

.slide-container-buy .swiper-button-next::after,
.slide-container-buy .swiper-button-prev::after {
    font-size: 25px;
    font-weight: bold;
}

@media (max-width: 768px) {

    .swiper-navBtn::after {
        color: var(--dbluek-color);
    }
}

/*   products page   */

.container {
    background-color: var(--bluek-color);
    font-family: 'IranianSans', sans-serif;
    display: flex;
    border-radius: 10px;
    max-width: 1400px;
    margin: auto;
    width: 100%;
    padding: 20px;
    gap: 20px;
}

.filter-section {
    min-width: 210px;
    max-width: 250px;
}

.custom-select {
    position: relative;
    font-family: 'IranianSans', sans-serif;
    width: 100%;
    direction: rtl;
}

.selected {
    margin: 10px 0 20px 0;
    padding: 15px 30px 15px 15px;
    color: #888888;
    font-size: 15px;
    font-weight: 600;
    font-family: 'IranianSans', sans-serif;
    border-radius: 12px;
    border: none;
    appearance: none; /* حذف فلش پیش‌فرض مرورگر */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23888888" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: left 15px center; /* اگر RTL داری، شاید بهتر باشه راست بذاری */
    background-size: 32px; /* سایز فلش – اینو می‌تونی تغییر بدی */
    cursor: pointer;
}

.options {
    font-family: 'IranianSans', sans-serif;
    position: absolute;
    border: none;
    margin-top: 0;
    display: none;
    top: 100%;
    left: 0;
    right: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.options li {
    padding: 8px 0 8px 0;
    margin-right: 0;
    opacity: 60%;
    width: 80%;
    text-align: center;
    cursor: pointer;
    border-bottom: 1px solid #e0e0e0;
}

.options li:hover {
    background: #f0f0f0;
}

/* نمایش لیست وقتی فعال شد */
.custom-select.open .options {
    display: block;
}

.select-items div:last-child {
    border-bottom: none;
}

.filter-checkbox {
    background-color: white;
    justify-content: space-around;
    height: 30px;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.filter-checkbox label {
    font-family: IranianSans, sans-serif;
    font-size: 15px;
    font-weight: 600;
    opacity: 0.5;
}

.filter-checkbox input {
    opacity: 0.5;
}

.price-range-div {
    background-color: white;
    border-radius: 12px;
    padding: 20px 20px 40px 20px;
    justify-content: center;
}

.price-range-div p {
    background-color: var(--dbluek-color2);
    border-radius: 16px;
    align-items: center;
    font-weight: 600;
    height: 50px;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 15px;
    margin-bottom: 10px;
    margin-top: 0;
}

.price-range {
    position: relative;
    width: 100%;
    height: 40px;
    justify-content: center;
    font-family: 'IranianSans', sans-serif;
    display: flex;
}

/* نوار پس‌زمینه */
.price-range::before {
    content: "";
    position: absolute;
    left: 0;
    top: 23px;
    width: 100%;
    height: 4px;
    background: #ccc;
    border-radius: 3px;
}

/* نوار بین دو دکمه (بازه فعال) */
.price-range .range-progress {
    position: absolute;
    top: 23px;
    height: 4px;
    background: #000;
    border-radius: 3px;
}

/* اسلایدرها */
.price-range input[type="range"] {
    position: absolute;
    font-family: 'IranianSans', sans-serif;
    left: 0;
    top: 21px;
    width: 100%;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
    height: 2px;
    z-index: 2;
}

.price-range input[type="range"]#minRange {
    z-index: 3; /* دکمه‌ی چپ بالاتر باشه */
}

.price-range input[type="range"]::-webkit-slider-thumb {
    pointer-events: auto;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
}

.price-range input[type="range"]::-moz-range-thumb {
    pointer-events: auto;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #000;
    cursor: pointer;
}

.price-label {
    position: absolute;
    bottom: -25px; /* 👈 فاصله از پایین محدوده اسلایدر */
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    font-size: 13px;
    color: #555;
    text-align: center;
}


.stock-status {
    margin-top: 20px;
    background-color: white;
    border-radius: 12px;
    padding: 20px;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stock-status-p {
    background-color: #283049;
    border-radius: 16px;
    align-items: center;
    font-weight: 600;
    height: 50px;
    display: flex;
    justify-content: center;
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
    margin-top: 0;
}

.stock-status-p2 {
    margin: auto;
}

.filter-button {
    display: none;
}

.filter-group {
    background: white;
    border-radius: 12px;
    padding: 15px 15px 5px 15px;
    margin-top: 15px;
    border: none;
}

.filter-content {
    max-height: 220px; /* ارتفاع ثابت برای لیست‌ها */
    overflow-y: auto; /* فعال‌سازی اسکرول عمودی */
    padding-right: 5px; /* کمی فاصله برای اسکرول */
}

/* اسکرول شیک‌تر (اختیاری) */
.filter-content::-webkit-scrollbar {
    width: 6px;
}

.filter-content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

.filter-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    direction: rtl;
    font-size: 16px;
    font-weight: 600;
    color: #444;
    padding-bottom: 10px;
}

.filter-title .arrow {
    transition: transform 0.3s ease;
    font-size: 18px;
}

.filter-group.active .arrow {
    transform: rotate(180deg);
}

.filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding-right: 5px;
    direction: rtl;
}

.filter-group.active .filter-content {
    max-height: 320px; /* به اندازه دلخواه */
    overflow-y: auto;
}

.filter-content label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
    color: #333;
}

.filter-content input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

.filter-search {
    width: 100%;
    padding: 8px 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-family: 'IranianSans', sans-serif;
    font-size: 14px;
}

/* لیست اسکرولی */
.filter-scroll {
    max-height: 220px; /* ارتفاع محدود */
    overflow-y: auto; /* اسکرول عمودی */
    padding-left: 5px;
}

/* لیست گزینه‌ها */
.filter-scroll label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 14px;
    color: #333;
}


.sidebar2 {
    display: none;
}

@media (max-width: 768px) {

    .container {
        flex-direction: column;
        margin-bottom: 20px;
        width: 90%;
    }

    .selected {
        margin-top: -16px;
        margin-bottom: 0;
    }

    .filter-section {
        /*min-width: 100px;*/
        padding: 0;
        max-width: 210px;
        display: none;
        justify-content: center;
        align-items: center;
        gap: 15px;
    }

    .custom-select {
        padding: 0;
        align-items: center;
        justify-content: center;
    }

    .selected {
        height: 15px;
        padding: 8px 15px 10px 0;
        align-items: center;
        justify-content: center;
        margin-right: 5px;
        font-size: 12px;
        font-family: IranianSansBold, sans-serif;
    }

    .options {
        font-size: 12px;
    }

    .filter-button {
        margin-top: 5px;
        background-color: white;
        justify-content: space-around;
        height: 4px;
        border-radius: 12px;
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .filter-button button {
        background-color: white;
        color: #888888;
        border: none;
        font-size: 16px;
        font-family: IranianSansBold, sans-serif;
    }

    .filter-checkbox {
        display: none;
    }

    .filter-checkbox label {
        display: none;
        font-size: 15px;
        font-weight: 600;
        opacity: 0.5;
    }

    .filter-checkbox input {
        display: none;
        opacity: 0.5;
    }

    .price-range-div {
        display: none;
    }

    .stock-status {
        display: none;
    }


    .filter-checkbox2 {
        margin-top: 25px;
        background-color: #F3E8E8;
        justify-content: space-around;
        height: 20px;
        border-radius: 12px;
        padding: 15px;
        display: flex;
        align-items: center;
        gap: 15px;
        margin-bottom: 20px;
    }

    .price-range-div2 {
        background-color: #F3E8E8;
        border-radius: 12px;
        padding: 20px 20px 40px 20px;
        justify-content: center;
    }

    .stock-status2 {
        margin-top: 20px;
        background-color: #F3E8E8;
        border-radius: 12px;
        padding: 20px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .filter-group {
        background: white;
        border-radius: 12px;
        padding: 15px 15px 5px 15px;
        margin-top: 15px;
        border: none;
    }

    .filter-content {
        max-height: 220px; /* ارتفاع ثابت برای لیست‌ها */
        overflow-y: auto; /* فعال‌سازی اسکرول عمودی */
        padding-right: 5px; /* کمی فاصله برای اسکرول */
    }

    /* اسکرول شیک‌تر (اختیاری) */
    .filter-content::-webkit-scrollbar {
        width: 6px;
    }

    .filter-content::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, 0.3);
        border-radius: 3px;
    }

    .filter-title {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        direction: rtl;
        font-size: 16px;
        font-weight: 600;
        color: #444;
        padding-bottom: 10px;
    }

    .filter-title .arrow {
        transition: transform 0.3s ease;
        font-size: 18px;
    }

    .filter-group.active .arrow {
        transform: rotate(180deg);
    }

    .filter-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease;
        padding-right: 5px;
        direction: rtl;
    }

    .filter-group.active .filter-content {
        max-height: 320px; /* به اندازه دلخواه */
        overflow-y: auto;
    }

    /* سایدبار موبایل */
    .sidebar2 {
        position: fixed;
        font-family: 'IranianSans', sans-serif;
        top: 0;
        right: -100%; /* پنهان باشد */
        /*margin-right: -80px;*/
        overflow-y: auto;
        /*padding-right: 25px;*/
        width: 300px;
        height: 90%;
        background-color: #f9f9f9;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
        transition: right 0.4s ease;
        z-index: 30000;
        transform: translateX(100%);
        padding: 43px 30px 20px 20px;
    }

    /* وقتی باز شد */
    .sidebar2.active {
        right: 0;
        transform: translateX(0);
    }

    /* اسکرول شیک‌تر (اختیاری) */
    .sidebar2::-webkit-scrollbar {
        width: 6px;
    }

    .sidebar2::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.3);
        border-radius: 3px;
    }

    /* دکمه بستن */
    .close-btn {
        font-size: 30px;
        border: none;
        background: none;
        cursor: pointer;
        position: absolute;
        top: 40px;
        left: 10px;
    }

}

.container2 {
    width: 100%;
}

@media (max-width: 768px) {

    .container2 {
        margin-top: -15px;
        /*width: 95%;*/
    }

}

.sidebar-header {
    direction: ltr;
    background: linear-gradient(90deg, var(--dbluek-color) 40%, var(--purplek-color) 30%) !important;
    color: #fff;
    isolation: isolate;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    /*width: 98%;*/
    margin-right: 5px;
    margin-left: 5px;
    /*width: 78%;*/
}

.sidebar-header h2 {
    font-family: 'Ebrima', sans-serif;
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: white;
}


.products2 {
    display: flex;
    flex-wrap: wrap;
    padding-top: 75px;
    gap: 25px;
    justify-content: center;
}

.product-card {
    font-family: IranianSansBold, sans-serif;
    background: #fff;
    flex: 1 1 200px;
    max-width: 220px;
    text-align: center;
    padding: 25px;
    border-radius: 14px;
    box-shadow: 5px 8px 10px rgba(0, 0, 0, 0.5); /* سایه بیشتر به سمت راست و پایین */
    transition: 0.3s;
    margin-bottom: 75px;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card img {
    width: 180px;
    margin-bottom: 15px;
    margin-top: -100px;
}

.product-card h3 {
    margin-top: 0;
    font-size: 22px;
    color: white;
    margin-bottom: 15px;
}

.page-products-price {
    display: flex;
    justify-content: center;
    font-family: 'IranianSans', sans-serif;
    flex-direction: column;
    font-variant-numeric: normal;
    /* برای نمایش اعداد فارسی */
    unicode-bidi: bidi-override;
    gap: 2px;
    align-items: center;
    margin-bottom: 15px;
}

.page-products-price .old {
    text-decoration: line-through;
    font-family: 'IranianSans', sans-serif;
    color: gray;
    font-weight: bold;
    font-size: 13px;
}

.page-products-price .new {
    color: white;
    font-family: 'IranianSans', sans-serif;
    font-weight: bold;
}

.buy-btn {
    background: #1f2742;
    font-family: IranianSansBold, sans-serif;
    border: none;
    border-radius: 8px;
    padding: 8px 15px;
    color: white;
    font-size: 13px;
    cursor: pointer;
    transition: 0.3s;
    height: 35px; /* ارتفاع دلخواه */
    line-height: 5px; /* برابر با ارتفاع برای وسط چین دقیق */
}

.buy-btn:hover {
    background: #555555;
}

.sidebar {
    display: none
}

@media (max-width: 768px) {

    .sidebar-header {
        height: 40px;
        width: 100%;
        padding: 7px 0 0 0;
        align-items: center;
        justify-content: center;
    }

    .sidebar-header h2 {
        font-size: 20px;
        margin-left: 20px;
    }

    .sidebar {
        position: fixed;
        font-family: 'IranianSans', sans-serif;
        top: 0;
        right: -250px; /* پنهان باشد */
        margin-right: -25px;
        /*padding-right: 25px;*/
        width: 300px;
        height: 100%;
        background-color: #f9f9f9;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
        transition: right 0.4s ease;
        z-index: 30000;
        padding: 20px 30px 20px 20px;
    }

    /* وقتی باز است */
    .sidebar.active {
        right: 0;
    }

    /* دکمه بستن */
    .close-btn {
        background-color: transparent;
        margin-top: 5px;
        border: none;
        font-size: 25px;
        cursor: pointer;
        float: left;
    }

    .price-range-div2 p {
        background-color: var(--dbluek-color2);
        border-radius: 16px;
        align-items: center;
        font-weight: 600;
        height: 50px;
        display: flex;
        justify-content: center;
        color: white;
        font-size: 13px;
        margin-bottom: 10px;
        margin-top: 0;
    }

    .filter-checkbox2 label {
        font-size: 13px;
        font-weight: 600;
        opacity: 0.5;
    }

    .filter-checkbox2 input {
        opacity: 0.5;
    }

    .products2 {
        display: flex;
        flex-wrap: wrap;
        padding-top: 50px;
        gap: 25px;
        justify-content: center;
    }

    .product-card {
        font-family: IranianSansBold, sans-serif;
        background: #fff;
        flex: 1 1 100px;
        max-width: 100px;
        text-align: center;
        padding: 25px;
        border-radius: 14px;
        box-shadow: 5px 8px 10px rgba(0, 0, 0, 0.5); /* سایه بیشتر به سمت راست و پایین */
        transition: 0.3s;
        margin-bottom: 50px;
    }

    .product-card:hover {
        transform: translateY(-5px);
    }

    .product-card img {
        width: 110px;
        margin-bottom: 15px;
        margin-top: -70px;
    }

    .product-card h3 {
        margin-top: 0;
        font-size: 15px;
        color: white;
        margin-bottom: 10px;
    }

    .page-products-price {
        display: flex;
        justify-content: center;
        font-family: 'IranianSans', sans-serif;
        flex-direction: column;
        font-variant-numeric: normal;
        /* برای نمایش اعداد فارسی */
        unicode-bidi: bidi-override;
        gap: 2px;
        align-items: center;
        margin-bottom: 15px;
    }

    .page-products-price .old {
        text-decoration: line-through;
        font-family: 'IranianSans', sans-serif;
        color: gray;
        font-weight: bold;
        font-size: 13px;
    }

    .page-products-price .new {
        color: white;
        font-family: 'IranianSans', sans-serif;
        font-weight: bold;
        font-size: 15px;
    }

    .buy-btn {
        background: #1f2742;
        font-family: IranianSansBold, sans-serif;
        border: none;
        border-radius: 8px;
        padding: 8px 15px;
        color: white;
        font-size: 10px;
        cursor: pointer;
        transition: 0.3s;
        height: 35px; /* ارتفاع دلخواه */
        line-height: 5px; /* برابر با ارتفاع برای وسط چین دقیق */
    }

    .buy-btn:hover {
        background: #555555;
    }
}


/*  page5  contact  /*/

.contact-section {
    max-width: 1400px;
    margin: auto;
    width: 100%;
    font-family: 'Ebrima', sans-serif;
    direction: ltr;
    padding: 0;
    background: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.contact-form {
    background: var(--bluek-color);
    text-align: center;
    padding: 100px;
}

.contact-form h1 {
    font-size: 38px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 10px;
}

.contact-form p {
    opacity: 0.35;
    font-size: 14px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.input-group label {
    padding: 10px 15px;
    border: none;
    outline: none;
    border-radius: 20px;
    background: #D9D9D9;
    width: 40%;
}

.input-group label input {
    background-color: unset;
    border: none;
    outline: none;
    font-size: 13px;
    width: 100%;
    text-align: center;
}

.contact-button {
    background: var(--dbluek-color2);
    color: var(--purplek-color);
    font-family: 'Ebrima', sans-serif;
    border: none;
    border-radius: 25px;
    padding: 10px 40px;
    font-size: 14px;
    cursor: pointer;
    transition: 0.3s;
    width: 88%;
}

.contact-button:hover {
    background: var(--purplek-color);
    color: black;
}

.contact-info {
    background: var(--dbluek-color2);
    color: var(--purplek-color);
    display: flex;
    justify-content: space-around;
    padding: 30px 10px;
}

.info-box {
    text-align: center;
    margin-top: -80px;
    justify-content: center;
    width: 30%;
}

.info-box-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.icon {
    background: var(--purplek-color);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin: 0 auto 10px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 28px;
    color: #1f2742;
}

.icon img {
    width: 60%;
    height: auto;
    opacity: 50%;
}

.info-box h3 {
    margin-bottom: 10px;
    font-weight: 400;
    opacity: 50%;
    font-size: 20px;
}

.info-box ul {
    list-style: none;
    justify-content: center;
    line-height: 1.8;
    font-size: 13px;
    opacity: 50%;
    display: flex; /* ✅ برای فعال شدن justify-content */
    flex-direction: column; /* عمودی چیدن liها */
    align-items: center; /* ✅ وسط‌چینی افقی */
}

.ri-line {
    display: flex;
    gap: 5px;
}

.ri-line img {
    height: 20px;
    width: 20px;
}

.info-box a {
    font-size: 13px;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    opacity: 50%;
}

.info-box p {
    font-family: IranianSansBold, sans-serif;
}

@media (max-width: 768px) {

    .contact-section-mob {
        margin: 15px;
    }

    .contact-form {
        padding: 40px;
        border-radius: 10px 10px 0 0;
    }

    .contact-form h1 {
        font-size: 22px;
        line-height: 10px;
        margin-bottom: 5px;
    }

    .contact-form p {
        font-size: 8px;
        margin-bottom: 20px;
    }

    .input-group {
        gap: 5px;
        margin-bottom: 10px;
    }

    .input-group label {
        padding: 5px 10px;
    }

    .input-group label input {
        font-size: 8px;
    }

    .contact-button {
        padding: 5px 10px;
        font-size: 9px;
    }

    .contact-info {
        padding: 30px 0;
        border-radius: 0 0 10px 10px;
    }

    .info-box {
        margin-top: -50px;
        /*width: 30%;*/
        margin-left: 0;
    }

    .icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 10px auto;
    }

    .icon img {
        width: 60%;
        opacity: 50%;
    }

    .info-box h3 {
        margin-bottom: 5px;
        font-size: 10px;
    }

    .info-box ul {
        list-style: none;
        justify-content: center;
        padding: 0 5px;
        margin: 0;
        text-align: center;
        font-size: 8px;
        opacity: 50%;
    }

    .ri-line {
        gap: 5px;
    }

    .ri-line img {
        height: 10px;
        width: 10px;
    }

    .info-box p {
        font-size: 10px;
        color: white;
        opacity: 50%;
    }

    .info-box-col a {
        font-size: 10px;
    }
}

/* footer /*/

.footer {
    direction: ltr;
    background: var(--bluek-color);
    color: var(--purplek-color);
    font-family: Arial, sans-serif;
    padding: 60px 40px 30px;
}

.icon-footer {
    width: 20px;
    filter: brightness(0) invert(1);
}

.icon-footer:hover {
    filter: invert(66%) sepia(90%) saturate(500%) hue-rotate(5deg) brightness(100%) contrast(90%);
}

.logo-footer {
    width: 100px;
    filter: brightness(0) invert(1);
}

.logo-footer:hover {
    filter: invert(66%) sepia(90%) saturate(500%) hue-rotate(5deg) brightness(100%) contrast(90%);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-right: 50px;
    flex-wrap: wrap;
}

.footer-col {
    direction: rtl;
    min-width: 150px;
    margin-bottom: 30px;
}

.footer-col h4 {
    color: #fff;
    font-family: IranianSansBold, sans-serif;
    font-size: 18px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.footer-col a {
    display: block;
    color: var(--purplek-color);
    text-decoration: none;
    font-family: IranianSansBold, sans-serif;
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-col a:hover {
    color: #fff;
}

.footer-col.logo h2 {
    color: #fff;
    margin: 0;
}

.footer-col.logo p {
    font-size: 12px;
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
}

.socials {
    margin-bottom: 15px;
}

.socials a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border: 1px solid var(--purplek-color);
    border-radius: 50%;
    color: #aaa;
    text-decoration: none;
    margin: 0 5px;
    font-size: 12px;
}

.socials a:hover {
    color: #fff;
    border-color: #fff;
}

.footer-bottom p {
    font-size: 12px;
    color: #666;
}

@media (max-width: 768px) {
    .footer {
        margin-bottom: 65px;
        padding: 50px 0;
    }

    .footer-top {
        display: flex;
        margin-right: 15px;
        flex-wrap: wrap; /* اجازه میده ستون ها به خط بعد برن */
        gap: 2px; /* فاصله بین ستون ها */
    }

    .footer-col {
        flex: 2 2 10px; /* حداقل عرض 200px، بزرگ میشن تا فضا پر شود */
    }

    .footer-col h4 {
        font-size: 12px;
    }

    .footer-col a {
        font-size: 10px;
    }

    .icon-footer {
        width: 15px;
        filter: brightness(0) invert(1);
    }

    .logo-footer {
        width: 60px;
    }

    .logo2-footer {
        width: 50px;
    }

}

.products {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* کارت‌ها از راست شروع بشن */
    align-items: flex-start;
    max-width: 1400px;
    width: 100%;
    direction: rtl;
    padding: 0;
    margin: 0 auto 80px; /* بچسبه به راست */
    gap: 2rem;
}


.nut-card {
    text-align: center;
    font-family: 'Ebrima', sans-serif;
    position: relative;
    margin: 3rem auto;
    width: 270px;
}

.nut-card h3 {
    font-size: 28px;
    font-family: 'IranianSansBold', sans-serif;
    /*font-weight: 400;*/
    color: var(--dbluek-color);
    margin-bottom: 0.5rem;
}

.nut-image {
    position: relative;
    display: inline-block;
    width: 100%; /* کامل پهنای کارت */
}

.nut-image img {
    position: relative;
    width: 100%; /* عکس متناسب با کارت */
    height: auto;
    z-index: 2; /* عکس بالاتر باشه */
}

.nut-image img.bg-shape-img {
    position: absolute;
    bottom: -20%; /* می‌تونی نسبت به کارت تنظیم کنی */
    left: 30%; /* جایگاه افقی */
    width: 90%;
    height: auto;
    z-index: 0; /* زیر عکس اصلی قرار می‌گیره */
}

.nut-image img:not(.bg-shape-img) {
    position: relative;
    z-index: 1; /* عکس اصلی بالای bg-shape-img */
}

@media (max-width: 768px) {

    .products {
        /*width: 100%;*/
        margin: -20px 0 10px 0;
        padding: 0;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nut-card h3 {
        font-size: 12px;
        letter-spacing: -0.8px;
    }

    .nut-card {
        width: 22%;
        margin: 5px;
    }
}


/*  page3  product-detail-card  /*/

.product-detail-card {
    margin: 20px auto;
    font-family: 'IranianSans', sans-serif;
    padding: 20px;
    display: flex;
    width: 98%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    max-width: 1400px;
    flex-wrap: wrap;
    /*width: 100%;*/
}

.product-info {
    border-radius: 14px;
    background-color: #F2F6F9;
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    padding: 30px;
    gap: 40px;
}

.product-specs {
    flex: 1.5;
    text-align: center;
}

.product-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 30px;
}

.spec-list input {
    font-family: 'IranianSans', sans-serif;
    display: block;
    width: 100%;
    margin: 5px 0 10px;
    border: none;
    background: #F9FBFC;
    color: #A9ACAE;
    padding: 6px 8px;
    border-radius: 8px;
    font-size: 12px;
    box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 30px;
}

/*.btn {*/
/*    position: relative;*/
/*    display: flex;*/
/*    align-items: center; !* وسط عمودی *!*/
/*    justify-content: center; !* وسط افقی برای متن *!*/
/*    border: none;*/
/*    font-family: 'IranianSans', sans-serif;*/
/*    border-radius: 10px;*/
/*    padding: 10px 50px; !* فضای کافی برای آیکن سمت چپ *!*/
/*    cursor: pointer;*/
/*    height: 80px;*/
/*    font-size: 14px;*/
/*    transition: all 0.3s ease;*/
/*    !*background-color: #1fa75b;*!*/
/*    color: #fff;*/
/*}*/

/*.btn:hover {*/
/*    background-color: #188d4a;*/
/*}*/

.btn img {
    position: absolute;
    left: -20px; /* فاصله از سمت چپ */
    top: 50%;
    transform: translateY(-50%); /* وسط عمودی دقیق */
    width: 50px; /* اندازه آیکن */
    height: 60px;
}

.side-icons {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #666;
}

.side-icons h4 {
    margin-bottom: 10px;
    font-size: 16px;
    color: #444;
}

.price-box {
    background-color: white;
    border-radius: 8px;
    padding: 15px 25px;
    text-align: center;
}

.old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 20px;
    margin: 0;
}

.new-price {
    color: #3a7d2e;
    font-size: 24px;
    font-weight: bold;
    margin: 8px;
}

.icon-item {
    display: flex;
    flex-direction: row-reverse; /* چون فارسیه، عکس سمت راست باشه */
    align-items: center; /* عمودی وسط‌چین */
    gap: 12px;
    margin-top: 15px;
}

.icon-item img {
    width: 20px; /* اندازه دلخواه */
    height: 20px;
    opacity: 50%;
}


.product-image-box {
    flex: 1;
    background-color: #D1DDEA;
    border-radius: 14px;
    text-align: center;
    align-content: center;
    align-items: center;
    padding: 10px;
}

.icon-r-l {
    width: 20px;
}

.slider-image {
    width: 150px;
    height: 150px;
    object-fit: contain;
    margin-bottom: 10px;
}

#slider-image {
    width: 150px; /* پر کردن عرض container */
    height: 150px; /* پر کردن ارتفاع container */
    object-fit: contain; /* نسبت تصویر حفظ شود و در وسط قرار گیرد */
}

.product-add-to-cart {
    font-family: 'IranianSans', sans-serif;
    background-color: var(--dbluek-color);
    color: white;
    border: none;
    border-radius: 8px;
    margin-top: 10px;
    cursor: pointer;
    height: 40px;
    width: 230px;
    transform: scaleX(0.9);
    transition: background 0.3s;
}

.product-add-to-cart:hover {
    background-color: #2f6223;
}

.quantity {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
    gap: 12px;
}

.quantity button {
    background-color: white;
    border: none;
    width: 32px;
    height: 32px;
    font-size: 26px;
    cursor: pointer;
    border-radius: 6px;
    color: #477AAC;
}

.quantity input {
    font-family: 'IranianSans', sans-serif;
    width: 70px;
    height: 40px;
    text-align: center;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    color: #477AAC;
}

.mob-fix {
    display: none;
}

@media (max-width: 768px) {

    .product-mob {
        display: none;
    }

    .mob-fix {
        display: block;
        padding: 3px 0 3px 0;
    }

    .product-detail-card {
        width: 85%;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        /*display: flex;*/
        /*flex-direction: column;*/
        /*align-items: center;*/
        /*justify-content: center;*/
    }

    .product-image-box {
        width: 100%;
        margin-bottom: 15px;
        justify-content: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0;
    }

    .product-info {
        /*flex: 1;*/
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-right: 0;
        padding: 20px;
        gap: 40px;
    }

    /*.btn {*/
    /*    position: relative;*/
    /*    margin-top: 20px;*/
    /*    display: flex;*/
    /*    align-items: center; !* وسط عمودی *!*/
    /*    justify-content: center; !* وسط افقی برای متن *!*/
    /*    border: none;*/
    /*    font-family: 'IranianSans', sans-serif;*/
    /*    border-radius: 10px;*/
    /*    padding: 10px 50px; !* فضای کافی برای آیکن سمت چپ *!*/
    /*    cursor: pointer;*/
    /*    height: 40px;*/
    /*    font-size: 14px;*/
    /*    transition: all 0.3s ease;*/
    /*    background-color: var(--dbluek-color);*/
    /*    color: #fff;*/
    /*}*/
    /*.btn:hover {*/
    /*    background-color: #188d4a;*/
    /*}*/
    .btn img {
        position: absolute;
        left: -20px; /* فاصله از سمت چپ */
        top: 50%;
        transform: translateY(-50%); /* وسط عمودی دقیق */
        width: 50px; /* اندازه آیکن */
        height: 60px;
    }

    .spec-list {
        display: flex;
        gap: 8px;
    }

    .mob-title input {
        font-family: 'IranianSans', sans-serif;
        display: flex;
        width: 100%;
        text-align: center;
        margin: 5px 0 10px;
        border: none;
        background: #F9FBFC;
        color: #555555;
        padding: 6px 8px;
        border-radius: 8px;
        font-size: 12px;
        box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.1);
    }

    .mob-title {
        display: flex;
        flex-direction: column;
        margin: 0;
        align-items: center;
        justify-content: center;
    }

    .mob-title img {
        width: 35px;
        height: 35px;
    }

    .mob-title span {
        font-family: IranianSansBold, sans-serif;
        font-size: 12px;
    }

    .product-specs {
        text-align: center;
        display: flex;
        flex-direction: column;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 30px;
    }

    .side-icons-mob {
        display: flex;
        align-items: center;
        margin-top: 10px;
        margin-bottom: 0;
        gap: 4px;
    }

    .side-icons-mob h4 {
        margin: 0;
    }

    .side-icons-mob img {
        width: 30px;
        filter: invert(58%) sepia(92%) saturate(2000%) hue-rotate(-10deg) brightness(120%) contrast(105%);
    }

    .price-box {
        background-color: white;
        border-radius: 8px;
        padding: 8px 25px 8px 25px;
        text-align: center;
    }

    #slider-image {
        touch-action: pan-y; /* اجازه اسکرول عمودی ولی فعال بودن سوایپ افقی */
        user-select: none;
    }

}

/*  page4  checkout  /*/

.cart-page {
    font-family: 'IranianSans', sans-serif;
    max-width: 1400px;
    width: 100%;
    margin: 20px auto;
}

.cart-header {
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 40px;
}

.btn-primary, .btn-secondary {
    font-family: 'IranianSansBold', sans-serif;
    padding: 8px 20px;
    border: none;
    height: 50px;
    width: 100px;
    border-radius: 7px;
    font-size: 11px;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--dbluek-color);
    color: white;
}

.btn-secondary {
    background-color: var(--bluek-color);
    color: white;
}

.cart-container {
    background: var(--bluek-color);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.cart-table {
    width: 100%;
    border-collapse: separate; /* مهم! برای اعمال radius */
    border-spacing: 0 8px; /* فاصله بین ردیف‌ها */
    text-align: center;
    margin-bottom: 25px;
}

.cart-table th {
    background-color: #fff;
    font-family: IranianSansBold, sans-serif;
    padding: 12px 0 25px 12px;
    color: #555;
    font-weight: 600;
}

.cart-table tbody tr {
    background-color: #fff;
    border-radius: 12px;
    overflow: hidden; /* برای اعمال radius */
}

.cart-table tbody tr:nth-child(odd) td {
    background-color: #F2F2F2;
}

.cart-table tbody tr:nth-child(even) td {
    background-color: #ffffff;
}


.cart-table tbody tr td:first-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}

.cart-table tbody tr td:last-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}

.cart-table td {
    padding: 2px;
    font-family: IranianSansBold, sans-serif;
    font-size: 14px;
    font-weight: bold;
    color: #444;
    border: none;
}

.cart-table img {
    width: 70px;
    height: 70px;
    border-radius: 8px;
}

.cart-table td span {
    font-family: IranianSansBold, sans-serif;
    opacity: 34%;
}

.cart-summary {
    margin-top: 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    direction: rtl;
    width: 100%;
}

.cart-summary-table {
    direction: rtl;
    width: 100%;
    display: flex;
    justify-content: center;
}

.cart-summary-table table {
    border-collapse: separate;
    border-spacing: 40px 8px; /* فاصله بین ستون‌ها و ردیف‌ها */
    font-family: 'IranianSans', sans-serif;
    color: #444;
}

.cart-summary-table td {
    font-family: IranianSansBold, sans-serif;
    font-size: 14px;
    padding: 3px 0;
}

.cart-summary-table td:last-child {
    font-family: IranianSansBold, sans-serif;
    text-align: left;
    font-weight: 600;
}

.cart-summary-table .final-row td {
    font-size: 16px;
    font-weight: bold;
}

.cart-summary-table .final-row td strong {
    font-family: IranianSansBold, sans-serif;
}

.summary-actions {
    display: flex;
    gap: 5px;
    align-items: center;
    margin-left: 20px;
}

.summary-actions input {
    border: 1px solid #ccc;
    border-radius: 6px;
    padding: 8px;
    font-size: 14px;
}

.btn-apply {
    font-family: 'IranianSans', sans-serif;
    font-weight: bold;
    font-size: 12px;
    height: 50px;
    width: 110px;
    color: #999999;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-complete {
    font-family: 'IranianSans', sans-serif;
    font-weight: bold;
    height: 50px;
    width: 120px;
    background-color: var(--dbluek-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {

    .cart-page {
        width: 95%;
        margin: 20px auto;
    }

    .btn-primary, .btn-secondary {
        padding: 8px 15px;
        height: 40px;
        width: 80px;
        font-size: 9px;
    }

    .cart-table th {
        padding: 0 0 10px 0;
        font-size: 12px;
        font-weight: 600;
    }

    .cart-table {
        border-spacing: 0 5px; /* فاصله بین ردیف‌ها */
        margin-bottom: 5px;
    }

    .cart-table td {
        padding: 2px;
        font-size: 9px;
    }

    .cart-table img {
        width: 40px;
        height: 40px;
        border-radius: 8px;
    }

    .cart-summary {
        margin-top: 5px;
        gap: 0;
        justify-content: center;
    }

    .cart-summary-table {
        direction: rtl;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .cart-summary-table table {
        border-spacing: 15px 4px; /* فاصله بین ستون‌ها و ردیف‌ها */
    }

    .cart-summary-table td {
        font-size: 8px;
        padding: 3px 0;
    }

    .cart-summary-table .final-row td {
        font-size: 8px;
    }

    .summary-actions {
        gap: 5px;
        align-items: center;
        flex-wrap: wrap;
        margin-left: 20px;
    }

    .summary-actions input {
        padding: 8px;
        font-size: 14px;
    }

    .btn-apply {
        font-size: 8px;
        height: 40px;
        width: 80px;
        padding: 8px 10px;
    }

    .btn-complete {
        height: 40px;
        width: 80px;
        font-size: 8px;
        padding: 10px 10px;
    }
}