.page_wrapper {
    min-height: 60vh;
}

/* Panel — same as the compare page */
.woosw-list {
    padding: 15px;
    background: #F4F4F2;
}

.woosw-list .woosw-switcher {
    margin-bottom: 10px;
    font-weight: 600;
}

.woosw-list table.woosw-items {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
}

.woosw-list table.woosw-items tr:not(:last-child) {
    border-bottom: 1px solid #E4E4E4;
}

.woosw-list table.woosw-items td {
    padding: 10px;
    border: 0;
    background: transparent;
    vertical-align: middle;
}

@media (min-width: 992px) {
    .woosw-list {
        padding: 20px;
    }
    .woosw-list table.woosw-items td {
        padding: 15px 20px;
    }
}

/* Image — same crop as the compare page */
.woosw-list .woosw-item--image {
    position: relative;
    width: 140px;
}

.woosw-list .woosw-item--image img {
    width: 100%;
    max-width: 140px;
    aspect-ratio: 3/2;
    object-fit: cover;
    height: auto;
}

/* Remove — same round X icon as the compare page */
.woosw-list .woosw-item--remove {
    width: 33px;
}

.woosw-list .woosw-item--remove span {
    width: 33px !important;
    height: 33px !important;
    background: #ffff;
    display: flex !important;
    align-items: center;
    justify-content: center;
}

/* Name, price, date */
.woosw-list .woosw-item--name {
    margin-bottom: 4px;
    color: var(--kc-dark);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.woosw-list .woosw-item--name a {
    color: inherit;
    text-decoration: none;
}

.woosw-list .woosw-item--name a:hover {
    text-decoration: underline;
}

.woosw-list .woosw-item--price {
    color: var(--kc-dark);
    font-size: 18px;
    font-weight: 700;
}

.woosw-list .woosw-item--price ins {
    text-decoration: none;
    margin-right: 5px;
}

.woosw-list .woosw-item--price del {
    color: var(--kc-gray);
    font-size: 13px;
    font-weight: 400;
    text-decoration: line-through;
    margin-right: 5px;
}

.woosw-list .woosw-item--time {
    font-size: 12px;
    opacity: .6;
}

/* Actions column */
.woosw-list .woosw-item--actions {
    width: 220px;
    text-align: left;
}

.woosw-list .woosw-item--actions .add_to_cart_inline {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

.woosw-list .screen-reader-text {
    display: none;
}

/* Buttons — same as the compare page */
.woosw-list .add_to_cart_inline a.button {
    display: block !important;
    box-sizing: border-box !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 12px !important;
    font-size: inherit !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
    text-align: center !important;
    color: var(--kc-dark) !important;
    background: #fff !important;
    border: 1.5px solid var(--kc-dark) !important;
    border-radius: 0 !important;
    transition: .3s;
}

.woosw-list .add_to_cart_inline a.button.add_to_cart_button {
    background: var(--kc-yellow) !important;
    border: 1px solid var(--kc-yellow) !important;
}

.woosw-list .add_to_cart_inline a.button.add_to_cart_button:hover {
    background: #fff !important;
}

/* Stock */
.woosw-list .woosw-item--stock {
    font-size: 11px;
    font-weight: 500;
}

.woosw-list .woosw-item--stock .stock {
    margin: 0 0 8px;
}

.woosw-list .woosw-item--stock .stock.available-on-backorder {
    color: #e8a020;
}

.woosw-list .woosw-item--stock .stock.out-of-stock {
    color: #cc3333;
}

.woosw-list .woosw-item--stock .stock:before {
    content: "" !important;
    border-radius: 50%;
    width: 7px;
    height: 7px;
    display: inline-block;
    margin-right: 5px;
}

.woosw-list .woosw-item--stock .stock.available-on-backorder:before {
    background: #e8a020;
}

.woosw-list .woosw-item--stock .stock.out-of-stock:before {
    background: #cc3333;
}

/* Mobile: image + info on top, button full width below */
@media (max-width: 767px) {
    .woosw-list table.woosw-items tr {
        display: grid;
        grid-template-columns: 90px 1fr 33px;
        grid-template-areas:
            "image info remove"
            "actions actions actions";
        gap: 10px;
        padding: 10px 0;
    }
    .woosw-list table.woosw-items td {
        display: block;
        width: auto;
        padding: 0;
    }
    .woosw-list .woosw-item--remove { grid-area: remove; }
    .woosw-list .woosw-item--image { grid-area: image; }
    .woosw-list .woosw-item--info { grid-area: info; }
    .woosw-list .woosw-item--actions { grid-area: actions; }

    .woosw-list .woosw-item--name {
        font-size: 13px;
    }
    .woosw-list .woosw-item--stock {
        font-size: 10px;
    }
    .woosw-list .woosw-item--price {
        font-size: 15px;
    }
    .woosw-list .woosw-item--price del {
        font-size: 11px;
    }
}
