/* استایل سبد خرید مشابه دیجی‌کالا */
 .cart-page {
 background-color: #f5f5f5;
 min-height: 100vh;
 padding: 20px 0;
 }

 .cart-container {
 max-width: 1200px;
 margin: 0 auto;
 padding: 0 15px;
 }

 .cart-header {
 background: white;
 border-radius: 12px;
 padding: 20px;
 margin-bottom: 20px;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
 }

 .cart-header h2 {
 font-size: 20px;
 font-weight: 600;
 color: #333;
 margin: 0;
 }

 .cart-items-container {
 background: white;
 border-radius: 12px;
 overflow: hidden;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
 margin-bottom: 20px;
 }

 .cart-item {
 position: relative;
 border-bottom: 1px solid #f0f0f0;
 transition: all 0.3s ease;
 }

 .cart-item:last-child {
 border-bottom: none;
 }

 .cart-item:hover {
 background-color: #fafafa;
 }

 /* Grid layout برای آیتم‌های سبد خرید */
 .cart-item-grid {
 display: grid;
 grid-template-columns: 130px 1fr auto auto;
 gap: 20px;
 padding: 20px;
 align-items: center;
 }

 /* تصویر محصول */
 .cart-item-image {
 display: flex;
 flex-direction: column;
 align-items: center;
 position: relative;
 }

 .cart-item-image img {
 width: 114px;
 height: 114px;
 object-fit: contain;
 border-radius: 8px;
 border: 1px solid #f0f0f0;
 }

 .image-quantity-badge {
 position: absolute;
 bottom: -5px;
 left: -5px;
 background: white;
 border: 1px solid #ddd;
 border-radius: 4px;
 padding: 2px 6px;
 font-size: 12px;
 font-weight: 600;
 color: #333;
 display: none;
 }

 /* اطلاعات محصول */
 .cart-item-info {
 overflow: hidden;
 }

 .cart-item-title {
 font-size: 16px;
 font-weight: 600;
 color: #333;
 margin-bottom: 12px;
 line-height: 1.4;
 }

 .cart-item-details {
 display: flex;
 flex-direction: column;
 gap: 8px;
 }

 .cart-item-detail {
 display: flex;
 align-items: center;
 font-size: 14px;
 color: #666;
 }

 .cart-item-detail i {
 width: 18px;
 height: 18px;
 margin-left: 8px;
 color: #999;
 }

 .color-indicator {
 width: 16px;
 height: 16px;
 border-radius: 50%;
 border: 1px solid #ddd;
 margin-left: 8px;
 }

 .delivery-options {
 margin-top: 12px;
 }

 .delivery-option {
 display: flex;
 align-items: center;
 font-size: 13px;
 color: #666;
 margin-bottom: 4px;
 }

 .delivery-option i {
 width: 14px;
 height: 14px;
 margin-left: 8px;
 }

 .delivery-express {
 color: #00a049;
 }

 .delivery-today {
 color: #ff6b35;
 }

 /* کنترل تعداد */
 .quantity-control {
 display: flex;
 align-items: center;
 justify-content: center;
 border: 1px solid #e0e0e0;
 border-radius: 8px;
 padding: 8px 12px;
 background: white;
 min-width: 180px;
 }

 .quantity-btn {
 background: none;
 border: none;
 cursor: pointer;
 padding: 4px;
 display: flex;
 align-items: center;
 justify-content: center;
 transition: all 0.2s;
 }

 .quantity-btn:hover {
 background-color: #f5f5f5;
 border-radius: 4px;
 }

 .quantity-btn:disabled {
 opacity: 0.5;
 cursor: not-allowed;
 }

 .quantity-btn i {
 font-size: 18px;
 color: #0066cc;
 }

 .quantity-display {
 display: flex;
 flex-direction: column;
 align-items: center;
 margin: 0 12px;
 min-width: 40px;
 }

 .quantity-number {
 font-size: 18px;
 font-weight: 600;
 color: #0066cc;
 }

 .quantity-limit {
 font-size: 11px;
 color: #999;
 margin-top: 2px;
 }

 /* قیمت محصول */
 .cart-item-price {
 text-align: left;
 min-width: 150px;
 }

 .price-container {
 display: flex;
 align-items: center;
 justify-content: flex-end;
 gap: 8px;
 margin-bottom: 8px;
 }

 .current-price {
 font-size: 16px;
 font-weight: 600;
 color: #333;
 }

 .currency-icon {
 width: 18px;
 height: 18px;
 color: #666;
 }

 .original-price {
 font-size: 14px;
 color: #999;
 text-decoration: line-through;
     display: flex;
    justify-content: flex-end;
 }

 .discount-badge {
 background: #ff3333;
 color: white;
 padding: 2px 6px;
 border-radius: 12px;
 font-size: 12px;
 font-weight: 600;
 }

 /* بیمه محصول */
 .product-insurance {
 border: 1px solid #e0e0e0;
 border-radius: 8px;
 padding: 12px;
 margin-top: 12px;
 background: #fafafa;
 }

 .insurance-header {
 display: flex;
 align-items: center;
 gap: 12px;
 }

 .insurance-checkbox {
 width: 18px;
 height: 18px;
 accent-color: #0066cc;
 }

 .insurance-info {
 flex: 1;
 }

 .insurance-title {
 font-size: 14px;
 color: #333;
 margin-bottom: 4px;
 }

 .insurance-price {
 display: flex;
 align-items: center;
 gap: 8px;
 font-size: 14px;
 }

 .insurance-details {
 font-size: 13px;
 color: #0066cc;
 cursor: pointer;
 display: flex;
 align-items: center;
 gap: 4px;
 }

 /* دکمه‌های عملیات */
 .cart-item-actions {
 display: flex;
 justify-content: flex-end;
 margin-top: 12px;
 }

 .action-btn {
 background: none;
 border: none;
 color: #666;
 font-size: 14px;
 cursor: pointer;
 padding: 8px 12px;
 border-radius: 6px;
 transition: all 0.2s;
 display: flex;
 align-items: center;
 gap: 6px;
 }

 .action-btn:hover {
 background-color: #f0f0f0;
 color: #333;
 }

 .remove-btn {
 color: #ff3333;
 }

 .remove-btn:hover {
 background-color: #fff5f5;
 color: #ff3333;
 }

 /* نشان فروش */
 .sales-badge {
 display: inline-flex;
 align-items: center;
 gap: 6px;
 background: rgba(16, 126, 24, 0.07);
 border: 1px solid rgb(16, 126, 24);
 border-radius: 50px;
 padding: 4px 8px;
 font-size: 12px;
 font-weight: 600;
 color: rgb(16, 126, 24);
 margin-top: 8px;
 }

 .sales-badge img {
 width: 16px;
 height: 16px;
 }

 /* خلاصه سفارش */
 .order-summary {
 background: white;
 border-radius: 12px;
 padding: 20px;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
 position: sticky;
 top: 20px;
 }

 .summary-header {
 font-size: 18px;
 font-weight: 600;
 color: #333;
 margin-bottom: 20px;
 padding-bottom: 12px;
 border-bottom: 1px solid #f0f0f0;
 }

 .summary-row {
 display: flex;
 justify-content: space-between;
 align-items: center;
 margin-bottom: 12px;
 font-size: 14px;
 }

 .summary-row.total {
 font-size: 16px;
 font-weight: 600;
 color: #333;
 padding-top: 12px;
 border-top: 1px solid #f0f0f0;
 margin-top: 16px;
 }

 .discount-row {
 color: #00a049;
 }

 /* کد تخفیف */
 .discount-section {
 margin: 20px 0;
 padding: 16px;
 background: #f8f9fa;
 border-radius: 8px;
 }

 .discount-input-group {
 display: flex;
 gap: 8px;
 }

 .discount-input {
 flex: 1;
 padding: 10px 12px;
 border: 1px solid #ddd;
 border-radius: 6px;
 font-size: 14px;
 }

 .discount-btn {
 background: #0066cc;
 color: white;
 border: none;
 padding: 10px 20px;
 border-radius: 6px;
 font-size: 14px;
 cursor: pointer;
 transition: all 0.2s;
 }

 .discount-btn:hover {
 background: #0052a3;
 }

 .discount-message {
 margin-top: 8px;
 font-size: 13px;
 padding: 8px;
 border-radius: 4px;
 }

 .discount-message.success {
 background: #d4edda;
 color: #155724;
 border: 1px solid #c3e6cb;
 }

 .discount-message.error {
 background: #f8d7da;
 color: #721c24;
 border: 1px solid #f5c6cb;
 }

 /* دکمه نهایی کردن خرید */
 .checkout-btn {
 width: 100%;
 background: #0066cc;
 color: white;
 border: none;
 padding: 16px;
 border-radius: 8px;
 font-size: 16px;
 font-weight: 600;
 cursor: pointer;
 transition: all 0.2s;
 margin-top: 20px;
 }

 .checkout-btn:hover {
 background: #0052a3;
 }

 .checkout-btn:disabled {
 background: #ccc;
 cursor: not-allowed;
 }

 /* سبد خرید خالی */
 .empty-cart {
 text-align: center;
 padding: 60px 20px;
 background: white;
 border-radius: 12px;
 box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
 }

 .empty-cart img {
 max-width: 200px;
 margin-bottom: 20px;
 opacity: 0.7;
 }

 .empty-cart h3 {
 color: #333;
 margin-bottom: 12px;
 }

 .empty-cart p {
 color: #666;
 margin-bottom: 24px;
 line-height: 1.6;
 }

 .shop-btn {
 background: #0066cc;
 color: white;
 border: none;
 padding: 12px 24px;
 border-radius: 8px;
 font-size: 14px;
 text-decoration: none;
 display: inline-block;
 transition: all 0.2s;
 }

 .shop-btn:hover {
 background: #0052a3;
 color: white;
 }

 /* انیمیشن حذف آیتم */
 .removing-item {
 position: relative;
 overflow: hidden;
 }

 .removing-overlay {
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 bottom: 0;
 background: rgba(255, 255, 255, 0.95);
 display: flex;
 flex-direction: column;
 align-items: center;
 justify-content: center;
 z-index: 10;
 }

 .removing-content {
 text-align: center;
 padding: 20px;
 }

 .removing-icon {
 width: 36px;
 height: 36px;
 margin-bottom: 12px;
 }

 .removing-text {
 font-size: 14px;
 font-weight: 600;
 color: #333;
 margin-bottom: 12px;
 }

 .progress-bar {
 width: 100px;
 height: 4px;
 background: #e0e0e0;
 border-radius: 2px;
 overflow: hidden;
 margin-bottom: 16px;
 }

 .progress-fill {
 height: 100%;
 background: #666;
 border-radius: 2px;
 animation: progressFill 3s linear;
 }

 @keyframes progressFill {
 from { width: 0%; }
 to { width: 100%; }
 }

 .undo-btn {
 background: white;
 border: 1px solid #ddd;
 padding: 8px 16px;
 border-radius: 6px;
 font-size: 14px;
 cursor: pointer;
 display: flex;
 align-items: center;
 gap: 6px;
 transition: all 0.2s;
 }

 .undo-btn:hover {
 background: #f5f5f5;
 }

 /* Responsive */
 @media (max-width: 768px) {
 .cart-item-grid {
 grid-template-columns: 80px 1fr;
 gap: 12px;
 }

 .cart-item-image img {
 width: 80px;
 height: 80px;
 }

 .quantity-control {
 margin: 12px 0;
 align-self: flex-start;
 }

 .cart-item-price {
 text-align: right;
 min-width: auto;
 }

 .cart-item-actions {
 justify-content: flex-start;
 margin-top: 8px;
 }

 .product-insurance {
 margin-top: 8px;
 }

 .order-summary {
 position: static;
 margin-top: 20px;
 }
 }

 @media (max-width: 576px) {
 .cart-container {
 padding: 0 10px;
 }

 .cart-header {
 padding: 15px;
 }

 .cart-item-grid {
 padding: 15px;
 }

 .discount-input-group {
 flex-direction: column;
 }

 .discount-btn {
 width: 100%;
 }
 }