.stea-wl {
    width: 100%;
}

.stea-wl-table-wrap {
    width: 100%;
    overflow-x: auto;
}

.stea-wl-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.stea-wl-table thead th {
    text-align: left;
    font-weight: 600;
    background: #f9fafb;
}

.stea-wl-table tbody td {
    vertical-align: middle;
}

.stea-wl-thumb {
    display: inline-block;
    line-height: 0;
}

.stea-wl-thumb img {
    display: block;
}

.stea-wl-product-link {
    text-decoration: none;
    transition: color .2s ease;
}

.stea-wl-product-link:hover {
    text-decoration: none;
}

.stea-wl-stock {
    display: inline-block;
    font-weight: 600;
}

.stea-wl-actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.stea-wl-cart,
.stea-wl-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    text-decoration: none;
    line-height: 1;
    border: 0;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
}

.stea-wl-cart:hover,
.stea-wl-remove:hover {
    text-decoration: none;
}

.stea-wl-remove {
    background: transparent;
}

.stea-wl-cart.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.stea-wl-cart.is-added {
    pointer-events: none;
}

.stea-wl-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    color: inherit;
}

.stea-wl-btn-icon i,
.stea-wl-btn-icon svg {
    display: block;
    line-height: 1;
}

.stea-wl-btn-icon i {
    color: inherit;
}

.stea-wl-btn-icon svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.stea-wl-row {
    transition: opacity .25s ease;
}

.stea-wl-row.is-removing {
    opacity: 0;
}

.stea-wl-empty {
    width: 100%;
    font-weight: 500;
}

/* ---------- Responsive (Tablet) ---------- */
@media (max-width: 1024px) {
    .stea-wl-table thead th,
    .stea-wl-table tbody td {
        padding: 12px;
    }
}

/* ---------- Responsive (Mobile) — stacked cards ---------- */
@media (max-width: 767px) {
    .stea-wl-table,
    .stea-wl-table thead,
    .stea-wl-table tbody,
    .stea-wl-table tr,
    .stea-wl-table td {
        display: block;
        width: 100%;
    }

    .stea-wl-table thead {
        position: absolute;
        left: -9999px;
        top: -9999px;
    }

    .stea-wl-table tbody tr {
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 12px;
        margin-bottom: 12px;
    }

    .stea-wl-table tbody tr + tr {
        border-top-width: 1px;
    }

    .stea-wl-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        text-align: right !important;
        padding: 8px 0 !important;
        border: 0;
    }

    .stea-wl-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        flex: 0 0 auto;
        margin-right: auto;
        opacity: 0.8;
    }

    .stea-wl-table tbody td.stea-wl-col-thumb {
        justify-content: center;
    }

    .stea-wl-table tbody td.stea-wl-col-thumb::before {
        display: none;
    }

    .stea-wl-table tbody td.stea-wl-col-action {
        justify-content: flex-end;
    }

    .stea-wl-actions {
        justify-content: flex-end;
    }
}
