.wcli-wrap {
    margin: 0 0 0.6rem 0;
}
.wcli-title {
    font-size: 1rem;
    margin-bottom: .4rem;
    font-weight: 600;
}
.wcli-badge {
    display: inline-block;
    padding: .15rem .4rem;
    border-radius: 3px;
    font-size: .75rem;
    font-weight: 500;
}
.wcli-badge-ok {
    background: #e7f6ec;
    color: #1a7f37;
}
.wcli-badge-warn {
    background: #fff4e5;
    color: #a15c07;
}
.wcli-badge-muted {
    background: #f2f2f2;
    color: #999;
}
.wcli-list {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 0.4rem;
}
.wcli-list thead {
    background: #343B96;
}
.wcli-list th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid #ddd;
    font-weight: 700;
    font-size: 18px;
    color: #000;
}
.wcli-list td {
    padding: 15px;
    background: #fff;
    vertical-align: middle;
}
.wcli-list thead th {
    color: #fff;
}
.wcli-item-row {
    display: table-row;
    background: #fff;
}
.wcli-item-meta a.wcli-item-name {
    font-weight: 600;
    font-size: 16px;
    color: #000;
}
/* Out of stock row styling */
.wcli-row-disabled {
    opacity: 0.6;
    background-color: #f9f9f9;
}
.wcli-row-disabled .wcli-item-name {
    color: #999;
}
.wcli-row-disabled .wcli-qty {
    background-color: #f2f2f2;
    cursor: not-allowed;
}
.wcli-item-meta {
    display: flex;
    gap: .75rem;
    align-items: flex-start;
}
.wcli-thumb {
    width: 30px;
    height: 30px;
    object-fit: cover;
    border-radius: 3px;
}
.wcli-item-name {
    text-decoration: none;
    font-weight: 500;
}
.wcli-item-name:hover {
    text-decoration: underline;
}
.wcli-sku {
    font-size: .85rem;
    color: #666;
    margin-top: 0.25rem;
}
.wcli-stock-num {
    font-size: .85rem;
    color: #666;
    margin-top: 0.25rem;
}
input[type=number].wcli-qty {
    width: 80px;
    padding: 0.4rem;
    border: 1px solid #ddd;
    border-radius: 3px;
    font-size: 0.95rem;
}
.wcli-qty:focus {
    border-color: #333;
    outline: none;
}
.wcli-qty:disabled {
    background-color: #f2f2f2;
    cursor: not-allowed;
    color: #999;
}
.wcli-actions {
    margin-top: 1.25rem;
    display: flex;
    gap: .75rem;
}
.wcli-btn {
    padding: .65rem 1.25rem;
    border: 1px solid #ccc;
    background: #fafafa;
    cursor: pointer;
    font-size: 0.95rem;
    border-radius: 3px;
    transition: all 0.2s ease;
}
.wcli-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}
.wcli-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.wcli-btn-primary {
    background: #333;
    color: #fff;
    border-color: #333;
}
.wcli-btn-primary:hover {
    background: #555;
    border-color: #555;
}
.wcli-row-error {
    color: #b00020;
    font-size: .85rem;
    margin-top: .5rem;
    padding: 0.5rem;
    background: #ffebee;
    border-left: 3px solid #b00020;
}
.wcli-product-name {
    width: 100%;
    display: flex;
    gap: 15px;
    align-items: center;
}
@media (max-width: 768px) {
    .hide-sm {
        display: none !important;
    }
    .wcli-list {
        font-size: 0.9rem;
    }
    .wcli-list td, .wcli-list th {
        padding: 0.5rem;
    }
 
    .wcli-qty {
        width: 70px;
    }
}
/* Compact table tweaks */
.wcli-list {
    table-layout: fixed;
    width: 100%;
}
.wcli-list td, .wcli-list th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wcli-name {
    display: inline-block;
    max-width: 160px;
    vertical-align: middle;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.wcli-thumb {
    margin-right: 0.5rem;
    vertical-align: middle;
}
@media (max-width: 768px) {
  
    .wcli-qty {
        width: 56px;
    }
    .wcli-name {
        max-width: 110px;
        font-size: 0.9rem;
    }
    .wcli-list th, .wcli-list td {
        padding: .25rem;
        font-size: .85rem;
    }
}
/* Adjust column widths */
.wcli-list th:first-child,
.wcli-list td:first-child {
  width:75%;
}

.wcli-list th:nth-child(2), .wcli-list td:nth-child(2) {
    width: 20%;
}