
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            margin-top: 50px;
            margin-bottom: 150px;
        }
        
        h1, h2, h3, h4 {
            color: #2c3e50;
        }
        
        /* استایل سبد خرید */
        .cart-container {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            margin-bottom: 30px;
        }
        
        .cart-header {
            background: #4e73df;
            color: white;
            padding: 20px;
            text-align: center;
            font-size: 1.5rem;
        }
        
        /* استایل جدول */
        .cart-table {
            width: 100%;
            border-collapse: collapse;
        }
        
        .cart-table th {
            background-color: #eaecf4;
            padding: 16px 12px;
            text-align: center;
            font-weight: bold;
            color: #4e73df;
            border-bottom: 2px solid #d1d3e2;
        }
        
        .cart-table td {
            padding: 16px 12px;
            text-align: center;
            vertical-align: middle;
            border-bottom: 1px solid #e3e6f0;
        }
        
        .product-info {
            display: flex;
            align-items: center;
            justify-content: flex-start;
        }
        
        .product-image {
            width: 70px;
            height: 70px;
            object-fit: cover;
            border-radius: 8px;
            margin-left: 15px;
            border: 1px solid #e3e6f0;
        }
        
        .quantity-control {
            display: flex;
            justify-content: center;
            align-items: center;
        }
        
        .quantity-btn {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: #f8f9fc;
            border: 1px solid #d1d3e2;
            display: flex;
            justify-content: center;
            align-items: center;
            font-weight: bold;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .quantity-btn:hover {
            background: #4e73df;
            color: white;
            border-color: #4e73df;
        }
        
        .quantity-input {
            width: 50px;
            height: 36px;
            text-align: center;
            margin: 0 8px;
            border: 1px solid #d1d3e2;
            border-radius: 5px;
            font-size: 1rem;
        }
        
        .remove-btn {
            color: #e74a3b;
            background: none;
            border: none;
            font-size: 1.2rem;
            cursor: pointer;
            transition: all 0.3s;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        
        .remove-btn:hover {
            background: #e74a3b;
            color: white;
            transform: scale(1.1);
        }
        
        /* استایل بخش جمع‌بندی و کوپن */
        .summary-section {
            display: flex;
            flex-wrap: wrap;
            padding: 20px;
            gap: 20px;
            background-color: #55650a;
        }
        
        .coupon-container {
            flex: 1;
            min-width: 300px;
            background: #f8f9fc;
            border-radius: 10px;
            padding: 20px;
            border-right: 4px solid #6f42c1;
        }
        
        .summary-container {
            flex: 1;
            min-width: 300px;
            background: #f8f9fc;
            border-radius: 10px;
            padding: 20px;
            border-right: 4px solid #4e73df;
        }
        
        .coupon-form {
            display: flex;
            margin-top: 15px;
        }
        
        .coupon-input {
            flex-grow: 1;
            border: 1px solid #d1d3e2;
            border-radius: 5px 0 0 5px;
            padding: 12px 15px;
            font-size: 1rem;
            height: 48px;
        }
        
        .coupon-btn {
            background: #6f42c1;
            color: white;
            border: none;
            border-radius: 0 5px 5px 0;
            padding: 0 20px;
            cursor: pointer;
            transition: all 0.3s;
            font-weight: bold;
            height: 48px;
        }
        
        .coupon-btn:hover {
            background: #5a36a7;
        }
        
        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px dashed #d1d3e2;
        }
        .summary-btn {
            display: flex;
            justify-content: space-between;
            margin-bottom: 16px;
            padding-bottom: 12px;
            border-bottom: 1px dashed #d1d3e2;
            gap: 10px;
        }

        .qtyinput{
            height: 35px;
            text-align: center;
            width: 45px;
            font-size: 14px;
        }
        
        .summary-total {
            display: flex;
            justify-content: space-between;
            margin-top: 20px;
            padding-top: 15px;
            border-top: 2px solid #d1d3e2;
            font-weight: bold;
            font-size: 1.2rem;
            color: #2c3e50;
        }
        
        .btn-pay{
            position: absolute;
            bottom: -200px;
        }

        .discount-active {
            color: #1cc88a;
            font-weight: bold;
        }
        
        .coupon-message {
            margin-top: 15px;
            padding: 10px;
            border-radius: 5px;
            text-align: center;
            display: none;
        }
        
        .success {
            background: #d4edda;
            color: #155724;
            border: 1px solid #c3e6cb;
        }
        
        .error {
            background: #f8d7da;
            color: #721c24;
            border: 1px solid #f5c6cb;
        }
        
        /* رسپانسیو برای موبایل */
        @media (max-width: 768px) {
            .cart-table {
                display: block;
                overflow-x: auto;
            }
            
            .cart-table th, 
            .cart-table td {
                padding: 12px 8px;
                font-size: 0.9rem;
            }
            
            .product-info {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }
            
            .product-image {
                margin-left: 0;
                margin-bottom: 8px;
            }
            
            .summary-section {
                flex-direction: column;
            }
            
            .quantity-input {
                width: 40px;
            }
        }
        
        /* انیمیشن‌ها */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(10px); }
            to { opacity: 1; transform: translateY(0); }
        }
        
        .cart-container {
            animation: fadeIn 0.5s ease-out;
        }
        
        /* فونت‌ها */
        @font-face {
            font-family: 'Vazir';
            src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazir-font@v30.1.0/dist/Vazir.woff2') format('woff2');
            font-weight: normal;
            font-style: normal;
        }
        
        @font-face {
            font-family: 'Tanha';
            src: url('https://cdn.rawgit.com/rastikerdar/tanha-font/v0.10.0/dist/Tanha.woff2') format('woff2');
            font-weight: normal;
            font-style: normal;
        }
        
/* استایل دکمه‌های سبد خرید */
.summary-btn {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #d1d3e2;
    gap: 15px;
    margin-top: 30px;
}

.checkout-btn {
    background: #1cc88a;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 16px 25px;
    font-weight: bold;
    flex: 1;
    margin-top: 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    min-height: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.checkout-btn:hover::before {
    left: 100%;
}

.checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.checkout-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
}

/* دکمه پاک کردن سبد خرید */
#clear-cart-btn {
    background: linear-gradient(135deg, #dc3545, #c82333);
    box-shadow: 0 4px 6px rgba(220, 53, 69, 0.3);
}

#clear-cart-btn:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    box-shadow: 0 6px 12px rgba(220, 53, 69, 0.4);
}

/* دکمه بروزرسانی سبد خرید */
#update-btn {
    background: linear-gradient(135deg, #4e73df, #2e59d9);
    box-shadow: 0 4px 6px rgba(78, 115, 223, 0.3);
}

#update-btn:hover {
    background: linear-gradient(135deg, #2e59d9, #2653d4);
    box-shadow: 0 6px 12px rgba(78, 115, 223, 0.4);
}

/* دکمه ادامه و پرداخت */
#checkout-btn {
    background: linear-gradient(135deg, #1cc88a, #17a673);
    box-shadow: 0 4px 6px rgba(28, 200, 138, 0.3);
}

#checkout-btn:hover {
    background: linear-gradient(135deg, #17a673, #149c6b);
    box-shadow: 0 6px 12px rgba(28, 200, 138, 0.4);
}

/* آیکون‌های داخل دکمه */
.checkout-btn i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.checkout-btn:hover i {
    transform: translateX(-3px);
}

#clear-cart-btn:hover i {
    transform: scale(1.1);
}

/* رسپانسیو برای موبایل */
@media (max-width: 768px) {
    .summary-btn {
        flex-direction: column;
        gap: 12px;
    }
    
    .checkout-btn {
        min-height: 55px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
    
    .checkout-btn i {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .checkout-btn {
        flex-direction: column;
        gap: 8px;
        text-align: center;
        min-height: 70px;
    }
    
    .checkout-btn i {
        transform: none !important;
    }
}

.basket-empty{
    background-color: #1cc88a;
}