/* Cart Page Styles */

.cart-page-wrapper {
    -webkit-font-smoothing: antialiased;
    background-color: #fbfbfb;
    font-family: 'Inter', sans-serif;
}

.cart-main-container {
    max-width: 1100px;
}

/* Back Button */
.btn-back {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 50%;
    color: #000;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.btn-back:hover {
    background: #f8f9fa;
    color: #e31e24;
    transform: translateX(-3px);
}

/* Cart Item */
.badge-custom {
    background: #f0f7ff;
    color: #000;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 500;
}

.remove-btn {
    font-size: 13px;
    color: #dc3545;
    text-decoration: none;
    font-weight: 500;
}

.remove-btn:hover {
    text-decoration: underline;
}

/* Quantity Control (UC Style) */
.qty-control {
    background: #f0f3ff;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    padding: 2px;
}

.qty-btn {
    border: none;
    background: none;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #5c6bc0;
    font-size: 12px;
}

.qty-btn:hover {
    background: #e0e6ff;
    border-radius: 6px;
}

.qty-val {
    min-width: 24px;
    text-align: center;
    font-weight: 700;
    color: #000;
    font-size: 14px;
    padding: 0 8px;
}

/* Recommendations */
.rec-img-wrapper {
    height: 120px;
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rec-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.recommendation-card:hover .rec-img-wrapper img {
    transform: scale(1.05);
}

/* Summary */
.coupon-icon {
    width: 44px;
    height: 44px;
    background: #f1f8f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.payable-highlight {
    border: 1px solid #e9ecef;
}

.proceed-btn {
    background-color: #e31e24;
    border: none;
}

.proceed-btn:hover {
    background-color: #c4191f;
    transform: translateY(-2px);
}

/* Animations */
.cart-item.updating {
    opacity: 0.4;
    pointer-events: none;
}

.last-child-no-border:last-child {
    border-bottom: none !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* Sticky Summary */
.summary-card-wrapper {
    top: 24px;
}
