﻿/* بهبودهای ظاهری بدون تغییر در ساختار */
.cart-item-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    border-radius: 16px;
    overflow: hidden;
}

    .cart-item-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 24px rgba(0,0,0,0.12) !important;
    }

.cart-item-image {
    border-radius: 12px;
    padding: 8px;
    background: #f8f9fa;
    max-height: 160px;
    object-fit: contain;
    width: 100%;
}

.price-summary-card {
    border: none;
    border-radius: 20px;
    background: linear-gradient(135deg, #fff 0%, #f8f9fa 100%);
    position: sticky;
    top: 20px;
}

.total-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #dc3545;
    border-bottom: 2px dashed #dee2e6;
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.badge-custom {
    background: #e9ecef;
    color: #495057;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    margin: 2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .badge-custom i {
        font-size: 0.8rem;
    }

.delete-btn {
    transition: all 0.2s ease;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .delete-btn:hover {
        background-color: #dc3545;
        color: white !important;
        transform: scale(1.05);
    }

.item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
}

.item-subtitle {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 12px;
}

.cart-empty-icon {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.summary-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
}

.summary-value {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
}

  @media (max-width: 768px) {
    .cart-item-image {
        max-height: 100px;
        margin-bottom: 12px;
    }

    .total-price {
        font-size: 1.25rem;
    }

    .item-title {
        font-size: 0.95rem;
    }
}

  #fullPageLoader {
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

.btn-payment {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: none;
    border-radius: 40px;
    padding: 12px 24px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-payment:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(32,201,151,0.3);
    }

/* استایل دکمه هنگام پردازش */
#btnSubmit:disabled {
    opacity: 0.6;
    cursor: wait;
}