/* Custom Cart Table Styles */
.custom-cart-table-wrapper {
    width: 100%;
    margin: 0 auto;
}

.custom-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.custom-cart-table th,
.custom-cart-table td {
    padding: 12px 10px;
    text-align: left;
    vertical-align: middle;
    border-bottom: 1px solid #e0e0e0;
}

.product-wrapper {
    display: flex;
    align-items: flex-start;
}

.product-thumbnail {
    width: 80px;
    margin-right: 15px;
}

.product-details {
    display: flex;
    flex-direction: column;
}

.product-title {
    font-weight: 600;
    margin-bottom: 5px;
}

.product-attr {
    font-size: 13px;
    color: #555;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #ccc;
    background-color: #f7f7f7;
    color: #333;
    cursor: pointer;
    text-align: center;
    line-height: 26px;
    font-weight: bold;
    margin: 0 3px;
    border-radius: 3px;
}

.qty-btn:hover {
    background-color: #eee;
}

input.qty {
    width: 50px;
    text-align: center;
    padding: 4px 6px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.remove-column svg {
    cursor: pointer;
    transition: transform 0.2s;
}

.remove-column svg:hover {
    transform: scale(1.1);
    stroke: red;
}

.update-cart {
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #007cba;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.update-cart:disabled {
    background-color: #999;
    cursor: not-allowed;
}

/* Optional hover effect for table rows */
.custom-cart-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* Responsive */
@media (max-width: 768px) {
    .product-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .product-thumbnail {
        margin-bottom: 10px;
    }
}
