/* ===== Cart Table Wrapper ===== */
.shopping-summery {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

/* ===== Table ===== */
.shopping-summery table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

/* ===== Header ===== */
.shopping-summery thead th {
    background: #f8f9fb;
    font-weight: 600;
    font-size: 14px;
    color: #2c2c2c;
    padding: 16px 14px;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.shopping-summery thead th:first-child {
    border-top-left-radius: 14px;
}

.shopping-summery thead th:last-child {
    border-top-right-radius: 14px;
}

/* ===== Rows ===== */
.shopping-summery tbody tr {
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.shopping-summery tbody tr:hover {
    background: #fafafa;
}

/* ===== Cells ===== */
.shopping-summery td {
    padding: 18px 14px;
    vertical-align: middle;
    border-bottom: 1px solid #f0f0f0;
}

/* ===== Product Image ===== */
.product-thumbnail img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid #eee;
    background: #fff;
}

/* ===== Product Name ===== */
.product-name a {
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    transition: color 0.2s ease;
}

.product-name a:hover {
    color: #0d6efd;
}

/* ===== Rating ===== */
/* .product-rate {
    background: #eaeaea;
    height: 6px;
    border-radius: 6px;
    overflow: hidden;
} */

/* .product-rating {
    background: linear-gradient(90deg, #ffc107, #ff9800);
    height: 100%;
    border-radius: 6px;
} */

/* ===== Price ===== */
.shopping-summery .price h4 {
    margin: 0;
    font-weight: 700;
}

.shopping-summery .old-price {
    color: #999;
}

/* ===== Quantity Box ===== */
.detail-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 30px;
    background: #f8f9fb;
    border: 1px solid #e5e7eb;
}

.detail-qty a {
    color: #333;
    font-size: 18px;
    transition: color 0.2s ease;
}

.detail-qty a:hover {
    color: #0d6efd;
}

.detail-qty input {
    width: 40px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
}

/* ===== Subtotal ===== */
.js-row-subtotal {
    font-weight: 700;
}

/* ===== Remove Icon ===== */
.shopping-summery .action a {
    font-size: 18px;
    color: #dc3545;
    transition: transform 0.15s ease, color 0.15s ease;
}

.shopping-summery .action a:hover {
    color: #b02a37;
    transform: scale(1.15);
}

/* ===== Checkbox ===== */
.custome-checkbox input[type="checkbox"] {
    cursor: pointer;
    transform: scale(1.1);
}

/* ===== Sale Badge ===== */
.badge.bg-danger {
    font-size: 11px;
    padding: 4px 8px;
    border-radius: 20px;
}

/* ===== Empty Cart ===== */
.shopping-summery tbody tr td.text-muted {
    font-size: 15px;
}

/* ===== Responsive ===== */
@media (max-width: 991px) {
    .product-thumbnail img {
        width: 70px;
        height: 70px;
    }

    .shopping-summery td {
        padding: 14px 10px;
    }
}
/* Make product name column flexible */
.shopping-summery td.product-name {
    width: 100%;
    min-width: 320px;
    white-space: normal;
}

/* Keep image column fixed */
.shopping-summery td.product-thumbnail {
    width: 110px;
}

/* Align content properly */
.shopping-summery td {
    vertical-align: middle;
}
