﻿/**  slider new */
/* ===== متغیرهای طراحی ===== */
:root {
    --primary: #fca7ff;
    --primary-dark: #1a5fc7;
    --success: #27ae60;
    --gray: #95a5a6;
    --light-bg: #f8f9fa;
    --radius: 16px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border: 1px solid rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .product-card:hover {
        box-shadow: 0 12px 36px rgba(44, 123, 229, 0.12);
        transform: translateY(-4px);
    }

.product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 14px 14px 18px;
}

.image-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--light-bg);
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 8px;
    transition: var(--transition);
}

.product-card:hover .product-img {
    transform: scale(1.03);
}

.title-wrap {
    margin: 12px 0 10px;
    flex: 1;
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
    color: #1e293b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    height: 46px;
}

.price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px dotted #d491d3;
    margin-top: auto;
}

.price-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-new {
    font-size: 18px;
    font-weight: 800;
    color: var(--success);
}

.price-current {
    display: flex;
    align-items: center;
    gap: 6px;
}

.discount-badge {
    background: #ef4444;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 6px;
    line-height: 1;
    white-space: nowrap;
}

.price-unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--gray);
    margin-right: 2px;
}

.price-old-wrap {
    min-height: 18px; /* 🔥 مهم */
    display: flex;
    align-items: center;
}

.price-old {
    font-size: 13px;
    color: var(--gray);
    text-decoration: line-through;
    margin-right: 6px;
}

.add-to-cart {
    background: var(--primary);
    border: none;
    border-radius: 30px;
    color: #fff;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    white-space: nowrap; /* 🔥 مهم */
    flex-wrap: nowrap; /* 🔥 مهم */
}

    .add-to-cart i {
        font-size: 18px;
        transition: var(--transition);
    }

    .add-to-cart:hover {
        background: #b453c2;
        transform: scale(1.02);
        box-shadow: 0 6px 16px rgba(44, 123, 229, 0.35);
    }

        .add-to-cart:hover i {
            transform: rotate(-8deg) scale(1.1);
        }

/* ===== موبایل ===== */
@media (max-width: 576px) {
    .swiper-slide {
        width: 160px !important;
        margin-left: 8px !important;
    }

    .product-link {
        padding: 10px 10px 14px;
    }

    .image-wrapper {
        border-radius: 10px;
    }

    .product-img {
        padding: 4px;
    }

    .product-title {
        font-size: 12px;
        height: 36px;
        line-height: 1.4;
        font-weight: 500;
    }

    .title-wrap {
        margin: 8px 0 6px;
    }

    .price-row {
        padding-top: 8px;
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
    }

    .price-new {
        font-size: 15px;
    }

    .price-old {
        font-size: 11px;
    }

    .add-to-cart {
        font-size: 12px;
        padding: 7px 12px;
        border-radius: 20px;
        margin-top: 8px;
    }

        .add-to-cart i {
            font-size: 15px;
        }
}

/* ===== پشتیبانی RTL ===== */
[dir="rtl"] .price-old {
    margin-right: 0;
    margin-left: 6px;
}

[dir="rtl"] .price-unit {
    margin-right: 0;
    margin-left: 2px;
}

/* end slider new */

/*فوتر جدید*/
/* فوتر اصلی با گرادیان بنفش-صورتی */
.modern-footer {
    background: linear-gradient(125deg, #2e0b3a 0%, #6b2c5a 100%);
    color: #fff;
    border-radius: 2rem 2rem 0 0;
    margin-top: 3rem;
    box-shadow: 0 -10px 25px rgba(0, 0, 0, 0.1);
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1.8rem 1.5rem 1.8rem;
}

/* شبکه سه ستونی */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
    align-items: start;
}

.footer-col {
    color: #fef3f9;
}

    .footer-col h3 {
        color: #fef3f9;
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.2rem;
        letter-spacing: -0.2px;
        position: relative;
        display: inline-block;
    }

        .footer-col h3:after {
            content: '';
            position: absolute;
            right: 0;
            bottom: -8px;
            width: 42px;
            height: 3px;
            background: #f7b2e6;
            border-radius: 4px;
            transition: width 0.3s ease;
        }

    .footer-col:hover h3:after {
        width: 68px;
        background: #ff7bcb;
    }

/* نمادهای اعتماد و ساماندهی */
.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.trust-card {
    flex: 1;
    min-width: 130px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(2px);
    border-radius: 1.2rem;
    padding: 0.9rem 0.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    cursor: default;
}

    .trust-card i {
        font-size: 2rem;
        background: linear-gradient(135deg, #ffb3e6, #d9a7f0);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
        margin-bottom: 0.5rem;
        display: inline-block;
    }

    .trust-card span {
        display: block;
        font-weight: 500;
        font-size: 0.85rem;
        color: #fff3f0;
    }

    .trust-card small {
        font-size: 0.7rem;
        opacity: 0.75;
        margin-top: 5px;
        display: block;
    }

    .trust-card:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-3px);
        border-color: #ffa3d6;
    }

/* آدرس فروشگاه (جایگزین متن قبلی) */
.shop-address {
    background: rgba(255, 235, 250, 0.08);
    padding: 0.8rem 1rem;
    border-radius: 1.2rem;
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    transition: 0.2s;
    border-right: 3px solid #ff9ad0;
}

    .shop-address i {
        font-size: 1.3rem;
        color: #ffb5e6;
        width: 32px;
        text-align: center;
    }

    .shop-address .address-text {
        flex: 1;
        font-size: 0.85rem;
        line-height: 1.45;
        font-weight: 450;
    }

    .shop-address a {
        color: #ffdaf0;
        text-decoration: none;
        font-size: 0.75rem;
        border-bottom: 1px dashed #ffaddb;
        margin-right: 5px;
    }

        .shop-address a:hover {
            color: white;
            border-bottom-color: white;
        }

/* لیست دسترسی سریع */
.quick-links {
    list-style: none;
}

    .quick-links li {
        margin-bottom: 0.75rem;
        transition: transform 0.2s;
    }

        .quick-links li a {
            color: #fef3f9;
            text-decoration: none;
            font-weight: 450;
            display: inline-flex;
            align-items: center;
            gap: 10px;
            font-size: 0.95rem;
        }

            .quick-links li a i {
                width: 28px;
                font-size: 1.1rem;
                color: #ffb2e3;
            }

            .quick-links li a:hover {
                color: #ffc0e8;
                transform: translateX(-5px);
            }

                .quick-links li a:hover i {
                    color: #ff84c8;
                    transform: scale(1.1);
                }

/* بخش تماس */

.contact-info p {
    color: #fef3f9;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.9rem;
    font-size: 0.95rem;
    flex-wrap: wrap;
    background: rgba(255, 235, 250, 0.05);
    padding: 0.5rem 0.8rem;
    border-radius: 1rem;
}

    .contact-info p i {
        color: #fef3f9;
        width: 32px;
        font-size: 1.2rem;
        color: #ffb0e3;
    }

    .contact-info p span {
        color: #fef3f9;
    }

    .contact-info p:hover {
        background: rgba(255, 255, 255, 0.12);
        border-right: 2px solid #ff99d0;
    }

.phone-number {
    direction: ltr;
    display: inline-block;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

/* بخش پایین فوتر */
.footer-bottom {
    padding-bottom: 1.5rem;
    padding-top: 0.5rem;
    margin-top: 2rem;
    padding-top: 1.2rem;
    border-top: 1px solid rgba(255, 240, 245, 0.25);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    font-size: 0.8rem;
}

.copyright {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

    .social-icons a {
        color: #ffdeef;
        font-size: 1.2rem;
        background: rgba(255, 255, 240, 0.08);
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: 0.2s;
    }

        .social-icons a:hover {
            color: #ffacdf;
            background: #3a1d44;
            transform: translateY(-2px);
        }

/* ریسپانسیو موبایل (بدون فضای خالی اضافه) */
@media (max-width: 780px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.8rem;
    }

    .footer-container {
        padding: 1.8rem 1.2rem 1.2rem;
    }

    .trust-row {
        justify-content: center;
    }

    .footer-col {
        text-align: center;
    }

        .footer-col h3:after {
            right: 50%;
            transform: translateX(50%);
            width: 55px;
        }

    .quick-links li a {
        justify-content: center;
    }

    .contact-info p {
        justify-content: center;
    }

    .shop-address {
        justify-content: center;
        text-align: center;
        flex-direction: column;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .trust-card i {
        font-size: 1.7rem;
    }

    .trust-card span {
        font-size: 0.75rem;
    }

    .shop-address .address-text {
        font-size: 0.8rem;
    }
}
/*پایان فوتر جدید*/




/* ظرف اصلی آیکون شناور با ارتفاع اصلاح شده */
.floating-bot-wrapper {
    position: fixed;
    bottom: 90px; /* مقدار قبلی 30px بود که برای بالاتر رفتن به 90px تغییر یافت */
    right: 30px; /* فاصله از سمت راست */
    z-index: 9999;
    cursor: pointer;
}

/* دایره بنفش کم‌رنگ */
.bot-circle {
    width: 65px;
    height: 65px;
    background-color: #e6e6fa; /* بنفش ملایم (Lavender) */
    border: 2px solid #d8bfd8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, background-color 0.3s ease;
    /* انیمیشن چشمک‌زن */
    animation: blink-pulse 2.5s infinite ease-in-out;
}

    /* افکت هنگام نگه داشتن موس */
    .bot-circle:hover {
        transform: scale(1.1);
        background-color: #f0e6ff;
    }

/* انیمیشن پالس و چشمک‌زن بنفش */
@keyframes blink-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0.5);
        opacity: 1;
    }

    50% {
        box-shadow: 0 0 0 20px rgba(138, 43, 226, 0);
        opacity: 0.7; /* حالت چشمک‌زن */
    }

    100% {
        box-shadow: 0 0 0 0 rgba(138, 43, 226, 0);
        opacity: 1;
    }
}

/* منو از سمت راست باز شود */
.offcanvas.offcanvas-end {
    right: 0;
    left: auto;
    width: 80%;
}

/* هدر منو با گرادیان رنگی */
.offcanvas-header {
    background: linear-gradient(90deg, #FF2DD1, #9B5DE0, #F564A9);
    color: #fff;
}

    .offcanvas-header .btn-close {
        filter: invert(1);
    }

/* سطح اول: آیتم‌های دو ستونه */
.menu-item {
    background-color: #fdf2f7;
    border-radius: 8px;
    padding: 10px;
    transition: all 0.3s ease;
    display: block;
}

    .menu-item:hover {
        background: linear-gradient(90deg, #FF2DD1, #9B5DE0);
        color: #fff;
    }

    .menu-item i {
        color: #FF2DD1;
        font-size: 24px;
    }

    .menu-item span {
        font-size: 14px;
        font-weight: bold;
        display: block;
        margin-top: 4px;
    }

/* بخش عمومی فقط با بوردر */
.menu-general {
    border: 2px solid #9B5DE0;
    border-radius: 12px;
}

/* سطح دوم: لیست آیتم‌ها */
.list-group-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: none;
    border-bottom: 1px solid #9B5DE0;
    background-color: transparent;
    padding: 10px 0;
}

/* لینک سطح دوم */
.submenu-link {
    flex-grow: 1;
    text-decoration: none;
    color: #333;
}

    .submenu-link:hover {
        color: #F564A9;
    }

/* فلش جداگانه */
.submenu-toggle {
    color: #FF2DD1;
    font-size: 18px;
}

    .submenu-toggle:hover {
        color: #9B5DE0;
    }

.level-title .level-link {
    display: inline-block;
    font-weight: 500; /* وزن متوسط، نه خیلی بولد */
    font-size: 15px; /* کمی کوچک‌تر */
    color: #666; /* رنگ خاکستری آرام */
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid #ddd; /* بوردر خیلی ظریف */
    border-radius: 16px;
    background-color: #fafafa; /* پس‌زمینه خیلی ملایم */
    transition: all 0.3s ease;
}

    .level-title .level-link:hover {
        border-color: #9B5DE0; /* رنگ تم در حالت هاور */
        color: #9B5DE0;
        background-color: #fdf2f7; /* پس‌زمینه ملایم‌تر در هاور */
    }


/* سطح سوم: زیرلیست‌ها */
.submenu {
    display: block;
    width: 100%;
    padding: 10px 20px;
    margin-top: 6px;
    text-align: right;
    background-color: rgba(239, 112, 190, 0.16); /* پس‌زمینه خیلی ملایم */
    border-radius: 6px;
}

    .submenu li {
        list-style: none;
        margin-bottom: 4px;
    }

        .submenu li a {
            display: flex;
            align-items: center;
            font-size: 13px;
            color: #555;
            text-decoration: none;
            padding: 6px 0;
            text-align: right;
            position: relative;
        }

            /* نقطه ظریف کنار آیتم سطح سوم */
            .submenu li a::before {
                content: "•";
                color: #9B5DE0;
                font-size: 16px;
                margin-left: 6px;
            }

            .submenu li a:hover {
                color: #FF2DD1;
                font-weight: bold;
            }

/* دکمه بازگشت وسط پایین */
.back-to-level-1 {
    display: block;
    margin: 30px auto 0 auto;
    text-align: center;
    color: #9B5DE0;
    font-weight: bold;
    text-decoration: none;
}

    .back-to-level-1 i {
        margin-left: 6px;
    }

    .back-to-level-1:hover {
        color: #F564A9;
    }

/* کادر جستجو هماهنگ با تم */
.search-box .search-input {
    border: 2px solid #9B5DE0;
    background-color: #fff;
    color: #333;
}

    .search-box .search-input::placeholder {
        color: #9B5DE0;
    }

.search-box .search-icon i {
    color: #FF2DD1;
    font-size: 18px;
}

.mf-link:hover {
    background-color: #ffe4ec;
}

.mf-link-icon i {
    color: #d63384;
    transition: transform 0.3s ease;
}

.mf-link:hover .mf-link-icon i {
    transform: scale(1.2);
}

.mobile-footer .active .mf-link {
    background-color: #ffd6e0;
}

.badge-pink {
    background-color: #ff69b4;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 12px;
    right: -50%;
    bottom: -5px;
}

.spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.search-results-box {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 12px;
    z-index: 999;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s ease-in-out;
    direction: rtl;
    text-align: right;
}

.search-results-box2 {
    position: fixed;
    z-index: 999999;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    display: none;
    max-height: 300px;
    overflow-y: auto;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-item {
    display: flex;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background 0.2s;
}

    .search-item:hover {
        background: #f9f9f9;
    }

    .search-item img {
        width: 60px;
        height: 60px;
        object-fit: cover;
        margin-left: 12px;
        border-radius: 8px;
    }

    .search-item .info {
        flex-grow: 1;
    }

        .search-item .info h6 {
            margin: 0;
            font-size: 15px;
            font-weight: 600;
        }

        .search-item .info span {
            font-size: 13px;
            color: #666;
        }







@media (min-width: 1024px) {
    .my-unique-free-mode .swiper-slide {
        width: auto !important;
        margin-left: 4px !important;
        margin-right: 4px !important;
    }

    .my-unique-free-mode .swiper-wrapper {
        gap: 0px;
    }
}

.stories-Swiper-item span.text-subtitle {
    font-size: 13px;
    font-weight: 500;
    background: linear-gradient(135deg, #3a3a3a, #1a1a1a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    letter-spacing: -0.2px;
    position: relative;
    display: inline-block;
    padding-bottom: 4px;
}

    .stories-Swiper-item span.text-subtitle::after {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        width: 0;
        height: 2px;
        background: linear-gradient(90deg, #e91e63, #ff9800);
        transition: all 0.3s ease;
        border-radius: 2px;
        transform: translateX(50%);
    }

.stories-Swiper-item:hover span.text-subtitle::after {
    width: 70%;
}

.storiesList-slide {
    transition: transform 0.2s ease;
    cursor: pointer;
}

    .storiesList-slide:hover {
        transform: translateY(-3px);
    }

        .storiesList-slide:hover span.text-subtitle {
            background: linear-gradient(135deg, #e91e63, #ff9800);
            background-clip: text;
            -webkit-background-clip: text;
            color: transparent;
        }

.creative-slider {
    margin: 15px 0 30px 0; /* کاهش فاصله عمودی از استوری و به محصولات */
    position: relative;
}

    .creative-slider .container-fluid {
        padding-left: 12px; /* فاصله از راست در موبایل و دسکتاپ */
        padding-right: 12px; /* فاصله از چپ در موبایل و دسکتاپ */
    }

    .creative-slider .swiper-container,
    .creative-slider .hero-swiper {
        border-radius: 24px;
        overflow: hidden;
        box-shadow: 0 20px 35px -12px rgba(0,0,0,0.2);
    }

    .creative-slider .swiper-slide {
        border-radius: 24px;
        overflow: hidden;
    }

        .creative-slider .swiper-slide img {
            width: 100%;
            height: auto;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .creative-slider .swiper-slide:hover img {
            transform: scale(1.03);
        }
    /* دکمه‌های ناوبری */
    .creative-slider .swiper-button-next,
    .creative-slider .swiper-button-prev {
        width: 40px;
        height: 40px;
        background: rgba(255,255,255,0.9);
        border-radius: 50%;
        backdrop-filter: blur(4px);
        color: #333;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

        .creative-slider .swiper-button-next:after,
        .creative-slider .swiper-button-prev:after {
            font-size: 16px;
        }
    /* Pagination خلاقانه */
    .creative-slider .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background: white;
        opacity: 0.7;
        margin: 0 5px;
        transition: all 0.2s;
    }

    .creative-slider .swiper-pagination-bullet-active {
        width: 20px;
        border-radius: 10px;
        background: #e91e63;
        opacity: 1;
    }

.slider-caption {
    position: absolute;
    bottom: 20%;
    right: 8%;
    z-index: 10;
    color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    max-width: 50%;
    background: rgba(0,0,0,0.4);
    padding: 8px 20px;
    border-radius: 40px;
    backdrop-filter: blur(8px);
    font-weight: bold;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .creative-slider {
        margin: 5px 0 25px 0; /* فاصله کمتر در موبایل */
    }

        .creative-slider .container-fluid {
            padding-left: 8px; /* فاصله کمتر از لبه در موبایل */
            padding-right: 8px;
        }

    .slider-caption {
        font-size: 0.75rem;
        bottom: 12%;
        right: 5%;
        padding: 4px 12px;
    }

    .creative-slider .swiper-button-next,
    .creative-slider .swiper-button-prev {
        width: 32px;
        height: 32px;
    }
}

.square-banners {
    margin: 40px 0 20px;
}

.banner-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    padding-right: 15px;
}

    .banner-title:before {
        content: '';
        position: absolute;
        right: 0;
        bottom: -8px;
        width: 50px;
        height: 3px;
        background: linear-gradient(90deg, #e91e63, #ff9800);
        border-radius: 3px;
    }

.banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.banner-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    aspect-ratio: 1 / 1; /* حفظ نسبت مربع */
}

    .banner-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 30px rgba(0,0,0,0.12);
    }

    .banner-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .banner-item:hover img {
        transform: scale(1.05);
    }

.banner-overlay {
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    background: linear-gradient(to top, rgba(149, 9, 169, 0.7), transparent);
    padding: 15px;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    backdrop-filter: blur(2px);
}

@media (max-width: 768px) {
    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .banner-title {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }

    .banner-overlay {
        font-size: 0.75rem;
        padding: 8px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .banner-grid {
        gap: 16px;
    }
}

.product-slider {
    background: linear-gradient(to left, rgba(149, 9, 169, 0.7), transparent);
}

.product-slider1 {
    background: linear-gradient(to right, rgba(149, 9, 169, 0.7), transparent);
}



.small-banner-slider {
    margin: 40px 0 30px;
}

    .small-banner-slider .container-fluid {
        padding-left: 12px;
        padding-right: 12px;
    }

.small-banner-card {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

    .small-banner-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    }

    .small-banner-card img {
        width: 100%;
        height: auto;
        display: block;
        transition: transform 0.3s ease;
    }

    .small-banner-card:hover img {
        transform: scale(1.02);
    }

    .small-banner-card .card-text {
        padding: 8px 6px;
        text-align: center;
        font-size: 12px;
        font-weight: 600;
        background: #fff;
        color: #333;
        border-top: 1px solid #eee;
    }
/* دکمه‌های ناوبری کوچک (اختیاری) */
.small-banner-slider .swiper-button-next,
.small-banner-slider .swiper-button-prev {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

    .small-banner-slider .swiper-button-next:after,
    .small-banner-slider .swiper-button-prev:after {
        font-size: 12px;
        font-weight: bold;
    }

@media (max-width: 768px) {
    .small-banner-slider {
        margin: 25px 0 20px;
    }

        .small-banner-slider .container-fluid {
            padding-left: 6px;
            padding-right: 6px;
        }

    .small-banner-card .card-text {
        font-size: 9px;
        padding: 4px 2px;
    }

    .small-banner-slider .swiper-button-next,
    .small-banner-slider .swiper-button-prev {
        display: none; /* در موبایل دکمه‌ها رو مخفی کن تا اسلایدها تمیزتر باشن */
    }
}

.small-banner-slider {
    /*margin-top: 10px !important; /* فاصله کم از بخش قبلی */
    margin-bottom: 30px;
    */
}

.small-banner-card {
    border-bottom: 3px solid #e91e63; /* خط صورتی */
    border-radius: 16px 16px 12px 12px;
}

    .small-banner-card .card-text {
        color: #6a1b9a !important; /* بنفش تیره */
        font-weight: 600;
        background: #fff;
        padding: 8px 6px;
    }

@media (max-width: 768px) {
    .small-banner-slider {
        /*margin-top: 5px !important;*/
    }

    .small-banner-card .card-text {
        font-size: 10px;
        padding: 5px 3px;
    }
}



