        .xcheckout-empty-state {
            text-align: center;
            padding: 40px 20px;
            background: white;
            border-radius: 20px;
        }
        
        .xcheckout-empty-icon {
            font-size: 48px;
            margin-bottom: 16px;
        }

.mobile-cart-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 16px;
    background: linear-gradient(135deg, #f5f7fa 0%, #f8f9fc 100%);
    min-height: 100vh;
    direction: rtl;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.cart-item-card {
    background: white;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid rgba(52, 152, 219, 0.1);
}

.cart-item-card:active {
    transform: scale(0.98);
}

.item-header {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px dashed #f0f0f0;
}

.item-image {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.item-info {
    flex: 1;
}

.item-name {
    font-size: 16px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 6px;
    line-height: 1.3;
}

.price-badge {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.original-price {
    font-size: 12px;
    color: #95a5a6;
    text-decoration: line-through;
}

.taxed-price {
    font-size: 16px;
    font-weight: 700;
    color: #27ae60;
    background: linear-gradient(135deg, #e8f8f5, #d5f4e6);
    padding: 2px 8px;
    border-radius: 12px;
}

.remove-btn {
    background: linear-gradient(135deg, #fee, #ffe5e5);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: #e74c3c;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:active {
    transform: scale(0.9);
    background: #e74c3c;
    color: white;
}

.variants-section {
    margin: 12px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 250px;
    overflow-y: auto;
}

.variant-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f8f9fa;
    padding: 10px 12px;
    border-radius: 14px;
    transition: all 0.3s;
}

.variant-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.variant-tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.size-tag {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976d2;
}

.color-tag {
    background: linear-gradient(135deg, #f3e5f5, #e1bee7);
    color: #7b1fa2;
}

.quantity-tag {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    color: #388e3c;
}

.edit-variant-btn {
    background: white;
    border: 1px solid #ddd;
    width: 35px;
    height: 35px;
    border-radius: 10px;
    color: #3498db;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edit-variant-btn:active {
    background: #3498db;
    color: white;
    transform: scale(0.95);
}

.add-more-btn {
    width: 100%;
    background: linear-gradient(135deg, #f8f9fa, white);
    border: 2px dashed #3498db;
    padding: 12px;
    border-radius: 16px;
    color: #3498db;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 8px;
}

.add-more-btn:active {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #e3f2fd, white);
    border-color: #2980b9;
}

.cart-summary {
    background: white;
    border-radius: 24px;
    padding: 20px;
    margin-top: 8px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(52, 152, 219, 0.15);
}

.summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.summary-header h3 {
    font-size: 18px;
    color: #2c3e50;
    font-weight: 700;
}

.summary-header i {
    font-size: 24px;
    color: #3498db;
}

.summary-details {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #7f8c8d;
}

.summary-row.total {
    padding-top: 15px;
    margin-top: 10px;
    border-top: 2px solid #f0f0f0;
    font-size: 20px;
    font-weight: 800;
    color: #2c3e50;
}

.summary-row.total span:last-child {
    color: #27ae60;
    font-size: 22px;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    border: none;
    padding: 16px;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.3);
}

.checkout-btn:active {
    transform: translateY(2px);
    box-shadow: 0 3px 10px rgba(46, 204, 113, 0.3);
}

#winter-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(5px);
}

.popup-container {
    background: white;
    border-radius: 28px;
    width: 85%;
    height: 80vh;
    /* max-width: 400px; */
    /* max-height: 80vh; */
    overflow: hidden;
    direction: rtl;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: white;
}

.popup-header h3 {
    margin: 0;
    font-size: 18px;
}

.popup-close {
    background: none;
    border: none;
    font-size: 28px;
    color: white;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.popup-close:active {
    background: rgba(255, 255, 255, 0.2);
}

.popup-content {
    /* padding: 20px; */
    height: 75vh;
    overflow-y: auto;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #3498db;
}

.variants-section::-webkit-scrollbar {
    width: 4px;
}

.variants-section::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.variants-section::-webkit-scrollbar-thumb {
    background: #3498db;
    border-radius: 10px;
}

.cart-items-list:empty::before {
    content: "🛒 سلة التسوق فارغة";
    display: block;
    text-align: center;
    padding: 60px 20px;
    color: #95a5a6;
    font-size: 16px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.cart-item-card {
    animation: fadeIn 0.4s ease;
}


@media (min-width: 769px)  {
    .mobile-cart-container {
        max-width: 1200px!important;
    }
}


.coupon-form {
    margin-bottom: 20px;
}

.coupon-wrapper {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 5px;
    transition: all 0.3s ease;
}

.coupon-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.coupon-input-group:focus-within {
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.input-icon {
    position: absolute;
    right: 15px;
    color: #667eea;
    font-size: 18px;
    z-index: 1;
    pointer-events: none;
}

.coupon-input {
    flex: 1;
    padding: 14px 45px 14px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 14px;
    direction: rtl;
    transition: all 0.3s ease;
    background: white;
}

.coupon-input:focus {
    outline: none;
    border-color: #667eea;
}

.coupon-input::placeholder {
    color: #aaa;
    font-size: 13px;
}

.coupon-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    margin: 3px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.coupon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.coupon-btn:active {
    transform: translateY(0);
}

.coupon-btn i {
    font-size: 14px;
}

@media (max-width: 768px) {
    .coupon-input {
        padding: 12px 40px 12px 12px;
        font-size: 13px;
    }
    
    .coupon-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .coupon-btn span {
        display: inline;
    }
}



.applied-coupon-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 1px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    animation: slideIn 0.5s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coupon-card-content {
    background: white;
    border-radius: 14px;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-wrap: wrap;
}

.coupon-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.coupon-icon i {
    font-size: 24px;
    color: white;
}

.coupon-details {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.coupon-code-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 8px 15px;
    border-radius: 10px;
}

.coupon-code-wrapper i {
    color: #667eea;
}

.coupon-code {
    font-weight: bold;
    font-size: 16px;
    color: #333;
    direction: ltr;
    display: inline-block;
}

.coupon-badge {
    background: #27ae60;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.coupon-discount {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.coupon-discount i {
    color: #f39c12;
}

.discount-value {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
}

.discount-label {
    color: #666;
    font-size: 14px;
}

.remove-coupon-btn {
    background: #e74c3c;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.remove-coupon-btn:hover {
    background: #c0392b;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .coupon-card-content {
        flex-direction: row;
        text-align: center;
    }
    
    .coupon-details {
        justify-content: center;
    }
    .coupon-card-content{
        gap: 2px;
        padding: 2px;
    }
}


.summary-details {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 15px;
}

.summary-row:not(.total) {
    color: #555;
    border-bottom: 1px solid #f0f0f0;
}

.summary-row.discount {
    color: #e74c3c;
}

.coupon-discount {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    padding: 12px;
    border-radius: 10px;
    margin: 10px 0;
    border-right: 3px solid #27ae60;
}

.discount-info {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.discount-info i {
    color: #27ae60;
    font-size: 14px;
}

.coupon-code {
    background: #e8f5e9;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #27ae60;
    direction: ltr;
    font-family: monospace;
}

.discount-amount {
    color: #27ae60;
    font-weight: bold;
    font-size: 16px;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #ddd, transparent);
    margin: 15px 0;
}

.total {
    margin-top: 10px;
    padding-top: 15px;
}

.total-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.total-info span {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.total-info small {
    font-size: 11px;
    color: #999;
    font-weight: normal;
}

.total-amount {
    font-size: 24px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.savings-message {
    background: #e8f5e9;
    color: #27ae60;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    margin-top: 15px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: fadeInUp 0.5s ease;
}

.savings-message i {
    font-size: 16px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .summary-details {
        padding: 15px;
    }
    
    .total-amount {
        font-size: 20px;
    }
    
    .discount-info {
        font-size: 13px;
    }
    
    .coupon-code {
        font-size: 11px;
    }

    .item-name {
        font-size: 12px;
    }
    .taxed-price{
        font-size: 12px;
    }
    .remove-btn {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }
    .add-more-btn {
        font-size: 12px;
        padding: 5px;
    }
    .summary-header h3{
        font-size: 15px;
    }

    .summary-header i {
        font-size: 20px;
    }
    .coupon-wrapper {
        padding: 0px;
    }
    .coupon-input{
        font-size: 10px;
        padding: 9px 40px 12px 12px;
    }
    .coupon-btn {
        padding: 10px;
        font-size: 10px;
    }
    .coupon-btn i {
    font-size: 10px;
    }

    .summary-row.total span:last-child {
        font-size: 14px;
    }

    .checkout-btn {
        width: 50%;
        padding: 10px;
        font-size: 12px;
    }

    .coupon-icon {
        width: 20px;
        height: 20px;
    }
    .coupon-icon i {
     font-size: 10px;
    }
    .coupon-details {
        gap: 1px;
    }

    .coupon-discount {
        margin: none;
        padding: 2px;
    }

    .discount-value {
        font-size: 11px;
    }
    .discount-label {
     font-size: 11px;
    }
    .coupon-discount i {
        font-size: 11px;
    }
    .coupon-code-wrapper i {
        font-size: 11px;
    }

    .remove-coupon-btn {
        font-size: 11px;
    }
    .remove-coupon-btn i {
        font-size: 11px;
    }
}