       
.glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        }
        
        .navbar-custom {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .hero-section {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.9) 0%, rgba(118, 75, 162, 0.9) 100%);
            position: relative;
            overflow: hidden;
        }
        
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="white" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
        }
        
        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            overflow: hidden;
        }
        
        .floating-element {
            position: absolute;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            animation: float 15s infinite linear;
        }
        
        .floating-element:nth-child(1) {
            width: 80px;
            height: 80px;
            top: 20%;
            left: 10%;
            animation-delay: 0s;
        }
        
        .floating-element:nth-child(2) {
            width: 120px;
            height: 120px;
            top: 60%;
            left: 80%;
            animation-delay: -5s;
        }
        
        .floating-element:nth-child(3) {
            width: 60px;
            height: 60px;
            top: 80%;
            left: 20%;
            animation-delay: -10s;
        }
        
        @keyframes float {
            0%, 100% {
                transform: translateY(0px) rotate(0deg);
                opacity: 0.7;
            }
            50% {
                transform: translateY(-30px) rotate(180deg);
                opacity: 1;
            }
        }
        
        .product-card-3d {
            perspective: 1000px;
            height: 400px;
        }
        
        .product-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s;
            transform-style: preserve-3d;
            cursor: pointer;
        }
        
        .product-card-3d:hover .product-card-inner {
            transform: rotateY(180deg);
        }
        
        .product-card-front, .product-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 20px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .product-card-front {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }
        
        .product-card-back {
            background: var(--primary-gradient);
            color: white;
            transform: rotateY(180deg);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }
        
        .product-image-3d {
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            margin-bottom: 15px;
            position: relative;
        }
        
        .product-image-3d::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            z-index: -1;
        }
        
        .rating-interactive {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin: 10px 0;
        }
        
        .star {
            font-size: 1.5rem;
            color: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .star:hover,
        .star.active {
            color: #ffd700;
            transform: scale(1.2);
        }
        
        .price-display {
            background: var(--success-gradient);
            color: white;
            padding: 10px 15px;
            border-radius: 25px;
            font-weight: bold;
            font-size: 1.1rem;
            margin: 10px 0;
        }
        
        .btn-gradient {
            background: var(--primary-gradient);
            border: none;
            color: white;
            font-weight: 600;
            padding: 12px 25px;
            border-radius: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .btn-gradient::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }
        
        .btn-gradient:hover::before {
            left: 100%;
        }
        
        .btn-gradient:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            color: white;
        }
        
        .category-bubble {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            transition: all 0.4s ease;
            cursor: pointer;
            color: white;
        }
        
        .category-bubble:hover {
            transform: translateY(-10px) scale(1.05);
            background: rgba(255, 255, 255, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }
        
        .category-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            display: block;
        }
        
        .stats-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            color: white;
            transition: all 0.3s ease;
        }
        
        .stats-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.2);
        }
        
        .stats-number {
            font-size: 2.5rem;
            font-weight: 800;
            background: var(--warning-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
       
       
        .notification-toast {
            position: fixed;
            top: 20px;
            left: 20px;
            background: var(--success-gradient);
            color: white;
            padding: 15px 25px;
            border-radius: 15px;
            font-weight: 600;
            z-index: 9999;
            transform: translateX(-400px);
            transition: transform 0.5s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .notification-toast.show {
            transform: translateX(0);
        }
        
        .special-offer {
            background: var(--secondary-gradient);
            border-radius: 25px;
            padding: 40px;
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .special-offer::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-conic-gradient(
                from 0deg,
                transparent 0deg 30deg,
                rgba(255,255,255,0.1) 30deg 60deg
            );
            animation: rotate 20s linear infinite;
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .offer-content {
            position: relative;
            z-index: 2;
        }
        
        .footer-custom {
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            background: var(--primary-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            transform: translateY(-5px) scale(1.1);
            color: white;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }
        
        .footer-links a:hover {
            color: white !important;
            transform: translateX(-5px);
            transition: all 0.3s ease;
        }
        
        .trust-badge {
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .trust-badge:hover {
            transform: translateY(-5px) scale(1.05);
        }
        
        .trust-badge-inner {
            position: relative;
            overflow: hidden;
        }
        
        .trust-badge-inner::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
            transform: rotate(45deg);
            transition: all 0.5s;
            opacity: 0;
        }
        
        .trust-badge:hover .trust-badge-inner::before {
            opacity: 1;
            animation: shine 0.5s ease-in-out;
        }
        
        @keyframes shine {
            0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
        }
        
        .payment-method {
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .payment-method:hover {
            transform: translateY(-3px);
        }
        
        .feature-item {
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .feature-item:hover {
            transform: translateY(-5px);
            background: rgba(255,255,255,0.1) !important;
        }
        
        .app-store-btn {
            text-decoration: none;
            color: white;
            transition: all 0.3s ease;
        }
        
        .app-store-btn:hover {
            color: white;
            transform: translateY(-3px);
        }
        
        .app-store-btn:hover > div {
            background: rgba(255,255,255,0.2) !important;
        }
        
        .newsletter-input {
            background: rgba(255,255,255,0.1);
            border: 1px solid rgba(255,255,255,0.3);
            color: white;
        }
        
        .newsletter-input::placeholder {
            color: rgba(255,255,255,0.7);
        }
        
        .newsletter-input:focus {
            background: rgba(255,255,255,0.15);
            border-color: rgba(255,255,255,0.5);
            color: white;
            box-shadow: 0 0 15px rgba(255,255,255,0.2);
        }
        
        .hover-link:hover {
            color: white !important;
            text-decoration: underline !important;
        }
        
        /* Slideshow Styles */
        .slide-content {
            min-height: 400px;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
            overflow: hidden;
            background: transparent;
        }
        
        /* استایل جدید برای اسلایدر با عکس */
        .slider-image {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            background: transparent;
        }
        
        .slider-img {
            width: 100%;
            height: 400px;
            object-fit: cover;
            object-position: center;
        }
        
        .slider-image .container {
            position: relative;
            z-index: 2;
        }
        
        .slide-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>'); */
}
        
        .slide-text {
            position: relative;
            z-index: 2;
        }
        
        .slide-image {
            position: relative;
            z-index: 2;
            animation: float 6s ease-in-out infinite;
        }
        
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid white;
        }
        
        .carousel-indicators .active {
            background: white;
            transform: scale(1.2);
        }
        
        /* Amazing Offers Styles */
        .amazing-product-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        
        .amazing-product-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
        
        .discount-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #ff4757;
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
        }
        
        .product-image-amazing {
            font-size: 4rem;
            margin: 20px 0;
            display: block;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .price-section {
            margin: 15px 0;
        }
        
        .original-price {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: line-through;
            font-size: 0.9rem;
            margin-bottom: 5px;
        }
        
        .discounted-price {
            color: #ffd700;
            font-weight: bold;
            font-size: 1.1rem;
        }
        
        .progress-bar-container {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            height: 8px;
            position: relative;
            margin: 15px 0 10px 0;
            overflow: hidden;
        }
        
        .progress-bar-amazing {
            background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
            height: 100%;
            border-radius: 10px;
            transition: width 2s ease;
            position: relative;
        }
        
        .progress-bar-amazing::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 2s infinite;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .sold-count {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.8rem;
            font-weight: 500;
        }
        
        .timer-box {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            padding: 10px 15px;
            text-align: center;
            min-width: 60px;
        }
        
        .timer-box span {
            font-size: 1.5rem;
            font-weight: bold;
            display: block;
            line-height: 1;
        }
        
        .timer-box small {
            font-size: 0.7rem;
            opacity: 0.8;
        }
        
        .amazing-control {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .amazing-control:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
            color: white;
        }
        
        .amazing-control:focus {
            box-shadow: none;
            color: white;
        }
        
        .amazing-icon {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }




.container {
    max-width: 90% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}
body {
    box-sizing: border-box;
    font-family: 'Vazir', sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow-x: hidden;
}
/* استایل منوی دو مرحله‌ای */
.mega-menu {
    width: 700px;
    display: flex;
    padding: 0;
    overflow: hidden;
}

.mega-menu-container {
    display: flex;
    width: 100%;
}

/* ستون اول */
.mega-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 35%;
    border-left: 1px solid #eee;
    background: #fafafa;
}

.mega-menu-list li {
    padding: 12px 16px;
    cursor: pointer;
    color: #444;
    transition: all 0.2s;
}

.mega-menu-list li:hover {
    background: #f0f0f0;
    color: #36d377;
}

/* ستون دوم */
.mega-submenu {
    flex: 1;
    padding: 16px;
}

.submenu {
    display: none;
    flex-direction: column;
}

.submenu a {
    display: block;
    padding: 8px 0;
    font-size: 14px;
    color: #333;
    text-decoration: none;
    transition: 0.2s;
}

.submenu a:hover {
    color: #36d377;
}

.submenu.active {
    display: flex;
}

/* Header اصلی */
.coopal-header {
    background: #fff;
    border-bottom: 1px solid #e0e0e6;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* لوگو */
.logo-coopal {
    width: 115px;
    height: 30px;
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    margin-left: 30px;
}

.logo-coopal:hover {
    background: #f5f5f5;
}

/* سرچ باکس */
.search-container {
    position: relative;
    flex: 1;
    max-width: 600px;
    margin: 0 20px;
}

.search-input {
    width: 100%;
    height: 44px;
    border: none;
    border-radius: 8px;
    padding: 0 50px 0 16px;
    font-size: 14px;
    transition: all 0.2s ease;
    background: #f7f7f7;
}

.search-input:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(25, 191, 211, 0.1);
}

.search-btn {
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #81858b;
    font-size: 18px;
    cursor: pointer;
}

/* آیکون‌های چپ */
.header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-right: auto;
}

.header-icon {
    position: relative;
    background: none;
    border: none;
    color: #62666d;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.header-icon:hover {
    background: #f0f0f1;
    color: #36d377;
}

.icon-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #36d377;
    color: white;
    font-size: 10px;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* منوی دسته‌بندی */
.category-menu {
    background: white;
    color: #333;
    border: none;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.category-menu:hover {
    background: #f5f5f5;
    color: #333;
}

/* Dropdown منو */
.dropdown-menu-custom {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #e0e0e6;
    border-radius: 12px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.12);
    min-width: 280px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.dropdown-menu-custom.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item-custom {
    padding: 12px 16px;
    color: #62666d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f1;
    transition: all 0.2s ease;
}

.dropdown-item-custom:hover {
    background: #f8f9fa;
    color: #36d377;
}

.dropdown-item-custom:last-child {
    border-bottom: none;
}

/* منوی کاربری */
.user-menu {
    position: relative;
}

.user-btn {
    background: none;
    border: 1px solid #e0e0e6;
    padding: 8px 12px;
    border-radius: 8px;
    color: #62666d;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.user-btn:hover {
    border-color: #19bfd3;
    color: #19bfd3;
}

/* منوی دوم */
.secondary-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #e0e0e6;
    padding: 8px 0;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-link-item {
    color: #62666d;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
    transition: all 0.2s ease;
}

.nav-link-item:hover {
    color: #36d377;
}

.nav-link-item.active {
    color: #36d377;
    font-weight: 500;
}

/* محتوای اصلی */
.main-content {
    background: #f8f9fa;
    padding: 40px 0;
}

.welcome-section {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    padding: 40px;
    text-align: center;
}

/* Responsive */
/* تبلت - بین 769px تا 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        max-width: 95%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .logo-coopal {
        margin-right: 20px;
    }
    
    /* تنظیم اسلایدر برای تبلت */
    .slide-content {
        min-height: 350px !important;
    }
    
    .slider-img {
        height: 350px !important;
        object-fit: cover !important;
    }
    
    .search-container {
        margin: 0 15px;
        max-width: 400px;
    }
    
    .header-icons {
        gap: 15px;
    }
    
    .nav-links {
        gap: 15px;
        font-size: 13px;
    }

    .product-card-3d {
            perspective: 1000px;
            height: 400px;
        }
        
        .product-card-inner {
            position: relative;
            width: 100%;
            height: 100%;
            text-align: center;
            transition: transform 0.8s;
            transform-style: preserve-3d;
            cursor: pointer;
        }
        
        .product-card-3d:hover .product-card-inner {
            transform: rotateY(180deg);
        }
        
        .product-card-front, .product-card-back {
            position: absolute;
            width: 100%;
            height: 100%;
            backface-visibility: hidden;
            border-radius: 20px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .product-card-front {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
        }
        
        .product-card-back {
            background: var(--primary-gradient);
            color: white;
            transform: rotateY(180deg);
            box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
        }
        
        .product-image-3d {
            height: 150px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4rem;
            margin-bottom: 15px;
            position: relative;
        }
        
        .product-image-3d::before {
            content: '';
            position: absolute;
            top: 50%;
            left: 50%;
            width: 100px;
            height: 100px;
            background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
            border-radius: 50%;
            transform: translate(-50%, -50%);
            z-index: -1;
        }
        
        .rating-interactive {
            display: flex;
            justify-content: center;
            gap: 5px;
            margin: 10px 0;
        }
        
        .star {
            font-size: 1.5rem;
            color: #ddd;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .star:hover,
        .star.active {
            color: #ffd700;
            transform: scale(1.2);
        }
        
        .price-display {
            background: var(--success-gradient);
            color: white;
            padding: 10px 15px;
            border-radius: 25px;
            font-weight: bold;
            font-size: 1.1rem;
            margin: 10px 0;
        }
        
        .btn-gradient {
            background: var(--primary-gradient);
            border: none;
            color: white;
            font-weight: 600;
            padding: 12px 25px;
            border-radius: 25px;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }
        
        .btn-gradient::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            transition: left 0.5s;
        }
        
        .btn-gradient:hover::before {
            left: 100%;
        }
        
        .btn-gradient:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
            color: white;
        }
        
        .category-bubble {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            transition: all 0.4s ease;
            cursor: pointer;
            color: white;
        }
        
        .category-bubble:hover {
            transform: translateY(-10px) scale(1.05);
            background: rgba(255, 255, 255, 0.3);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
        }
        
        .category-icon {
            font-size: 3rem;
            margin-bottom: 15px;
            display: block;
        }
        
        .stats-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(20px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 30px;
            text-align: center;
            color: white;
            transition: all 0.3s ease;
        }
        
        .stats-card:hover {
            transform: translateY(-5px);
            background: rgba(255, 255, 255, 0.2);
        }
        
        .stats-number {
            font-size: 2.5rem;
            font-weight: 800;
            background: var(--warning-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .search-container {
            position: relative;
            max-width: 500px;
        }
        
        .search-input {
            background: rgba(255, 255, 255, 0.9);
            border: 2px solid rgba(255, 255, 255, 0.3);
            border-radius: 25px;
            padding: 15px 50px 15px 20px;
            width: 100%;
            transition: all 0.3s ease;
        }
        
        .search-input:focus {
            outline: none;
            border-color: rgba(102, 126, 234, 0.5);
            box-shadow: 0 0 20px rgba(102, 126, 234, 0.3);
            background: rgba(255, 255, 255, 1);
        }
        
        .search-btn {
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            background: var(--primary-gradient);
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
        }
        
        .notification-toast {
            position: fixed;
            top: 20px;
            left: 20px;
            background: var(--success-gradient);
            color: white;
            padding: 15px 25px;
            border-radius: 15px;
            font-weight: 600;
            z-index: 9999;
            transform: translateX(-400px);
            transition: transform 0.5s ease;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        }
        
        .notification-toast.show {
            transform: translateX(0);
        }
        
        .special-offer {
            background: var(--secondary-gradient);
            border-radius: 25px;
            padding: 40px;
            color: white;
            text-align: center;
            position: relative;
            overflow: hidden;
        }
        
        .special-offer::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: repeating-conic-gradient(
                from 0deg,
                transparent 0deg 30deg,
                rgba(255,255,255,0.1) 30deg 60deg
            );
            animation: rotate 20s linear infinite;
        }
        
        @keyframes rotate {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        .offer-content {
            position: relative;
            z-index: 2;
        }
        
        .footer-custom {
            background: rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(20px);
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .social-icon {
            width: 50px;
            height: 50px;
            background: var(--primary-gradient);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            transition: all 0.3s ease;
        }
        
        .social-icon:hover {
            transform: translateY(-5px) scale(1.1);
            color: white;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
        }
        
        /* Slideshow Styles */
        .slide-content {
            min-height: 400px;
            display: flex;
            align-items: center;
            position: relative;
            overflow: hidden;
        }
        
        .slide-content::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            /* background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="2" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>'); */
        }
        
        .slide-text {
            position: relative;
            z-index: 2;
        }
        
        .slide-image {
            position: relative;
            z-index: 2;
            animation: float 6s ease-in-out infinite;
        }
        
        .carousel-indicators button {
            width: 12px;
            height: 12px;
            border-radius: 50%;
            margin: 0 5px;
            background: rgba(255, 255, 255, 0.5);
            border: 2px solid white;
        }
        
        .carousel-indicators .active {
            background: white;
            transform: scale(1.2);
        }
        
        /* Amazing Offers Styles */
        .amazing-product-card {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
            cursor: pointer;
        }
        
        .amazing-product-card:hover {
            transform: translateY(-10px);
            background: rgba(255, 255, 255, 0.2);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
        }
        
        .discount-badge {
            position: absolute;
            top: 15px;
            right: 15px;
            background: #ff4757;
            color: white;
            padding: 8px 12px;
            border-radius: 20px;
            font-weight: bold;
            font-size: 0.9rem;
            box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
        }
        
        .product-image-amazing {
            font-size: 4rem;
            margin: 20px 0;
            display: block;
            text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .price-section {
            margin: 15px 0;
        }
        
        .original-price {
            color: rgba(255, 255, 255, 0.6);
            text-decoration: line-through;
            font-size: 0.9rem;
            margin-bottom: 5px;
        }
        
        .discounted-price {
            color: #ffd700;
            font-weight: bold;
            font-size: 1.1rem;
        }
        
        .progress-bar-container {
            background: rgba(255, 255, 255, 0.2);
            border-radius: 10px;
            height: 8px;
            position: relative;
            margin: 15px 0 10px 0;
            overflow: hidden;
        }
        
        .progress-bar-amazing {
            background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
            height: 100%;
            border-radius: 10px;
            transition: width 2s ease;
            position: relative;
        }
        
        .progress-bar-amazing::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
            animation: shimmer 2s infinite;
        }
        
        @keyframes shimmer {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        
        .sold-count {
            color: rgba(255, 255, 255, 0.8);
            font-size: 0.8rem;
            font-weight: 500;
        }
        
        .timer-box {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border-radius: 10px;
            padding: 10px 15px;
            text-align: center;
            min-width: 60px;
        }
        
        .timer-box span {
            font-size: 1.5rem;
            font-weight: bold;
            display: block;
            line-height: 1;
        }
        
        .timer-box small {
            font-size: 0.7rem;
            opacity: 0.8;
        }
        
        .amazing-control {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.3);
            border-radius: 50%;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 1.5rem;
            transition: all 0.3s ease;
        }
        
        .amazing-control:hover {
            background: rgba(255, 255, 255, 0.3);
            transform: scale(1.1);
            color: white;
        }
        
        .amazing-control:focus {
            box-shadow: none;
            color: white;
        }
        
        .amazing-icon {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% {
                transform: scale(1);
            }
            50% {
                transform: scale(1.1);
            }
        }
}

/* موبایل - 768px و کمتر */
@media (max-width: 768px) {
    .search-container {
        margin: 0 10px;
    }
    
    .header-icons {
        gap: 10px;
    }
    
    .nav-links {
        display: none !important;
    }
    
    /* تنظیم ارتفاع اسلایدر برای موبایل */
    .slide-content {
        min-height: 300px !important;
    }
    
    /* بهبود نمایش تصاویر اسلایدر در موبایل */
    .slider-img {
        height: 300px !important;
        object-fit: cover !important;
    }
    
    /* کوچک کردن متن در موبایل */
    .slide-text h2 {
        font-size: 1.8rem !important;
    }
    
    .slide-text p {
        font-size: 1rem !important;
    }
    
    /* کوچک کردن آیکون‌ها در موبایل */
    .slide-image div {
        font-size: 4rem !important;
    }
}

/* موبایل کوچک - 480px و کمتر */
@media (max-width: 480px) {
    .slide-content {
        min-height: 250px !important;
    }
    
    .slider-img {
        height: 250px !important;
        object-fit: cover !important;
    }
}

/* منوی پایین موبایل */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #36d377;
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    border-top: 1px solid #36d377;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px;
    min-width: 60px;
}

.bottom-nav-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.bottom-nav-item.active {
    background: rgba(255, 255, 255, 0.3);
}

.bottom-nav-item i {
    font-size: 20px;
    color: white;
    margin-bottom: 4px;
}

.bottom-nav-item span {
    font-size: 10px;
    color: white;
    font-weight: 500;
    text-align: center;
}

/* نمایش منوی پایین فقط در موبایل */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    
    body {
        padding-bottom: 70px;
    }
    
    /* مخفی کردن لوگو و آیکون‌های کاربری در موبایل */
    .logo-coopal,
    .header-icons {
        display: none !important;
    }
    
    /* مخفی کردن منوی دوم در موبایل */
    .secondary-nav {
        display: none !important;
    }
    
    /* مخفی کردن دکمه دسته‌بندی در موبایل */
    .category-menu {
        display: none !important;
    }
    
    /* سرچ باکس تمام عرض در موبایل */
    .search-container {
        flex: 1;
        max-width: 100%;
        margin: 0;
    }
    
    .search-input {
        width: 100%;
    }
    
    /* تنظیم هدر برای موبایل */
    .coopal-header .d-flex {
        justify-content: center;
    }
    
    /* حذف قوانین تداخل‌کننده با Bootstrap carousel */
    /* .slide {
        display: none;
    }
    
    .slide.active {
        display: block;
    } */
    
    .category-circle {
        transition: transform 0.3s ease;
    }
        
        .category-circle:hover {
            transform: scale(1.1);
        }
        
        .product-card {
            transition: all 0.3s ease;
            border: 1px solid #e9ecef;
        }
        
        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 25px rgba(0,0,0,0.15);
            border-color: #dee2e6;
        }
        
        .discount-badge {
            background: linear-gradient(135deg, #ef394e, #d63384);
            color: white;
            font-size: 0.75rem;
            font-weight: 600;
        }
        
        .price-original {
            text-decoration: line-through;
            color: #6c757d;
            font-size: 0.9rem;
        }
        
        .price-discounted {
            color: #ef394e;
            font-weight: 700;
            font-size: 1.1rem;
        }
        
        .amazing-offers {
            background: linear-gradient(135deg, #ef394e 0%, #ff6b35 100%);
            border-radius: 16px;
            position: relative;
            overflow: hidden;
        }
        
        .amazing-offers::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
            pointer-events: none;
        }
        
        .timer-box {
            background: rgba(255,255,255,0.2);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255,255,255,0.3);
        }
        
        .product-image {
            height: 180px;
            background: #f8f9fa;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 3rem;
            margin-bottom: 1rem;
        }
        
        .btn-add-cart {
            background: #ef394e;
            border: none;
            border-radius: 8px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-add-cart:hover {
            background: #d63384;
            transform: translateY(-1px);
        }
        
        .offer-header {
            position: relative;
            z-index: 2;
        }
        
        .lightning-icon {
            animation: pulse 2s infinite;
        }
        
        @keyframes pulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }
}

/* Green Scrollbar Styles */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #28a745;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #218838;
}

/* Firefox Scrollbar */
html {
    scrollbar-width: thin;
    scrollbar-color: #28a745 #f1f1f1;
}