.wcpp-wrapper {
    margin-top: 1em;
    .wcpp-filter-form {
        display: flex;
        flex-direction: row!important;
        align-items: center;
        gap: .6em;
        margin-bottom: 1.5em;
    }
}

.wcpp-range-wrapper {
    position: relative;
    max-width: 200px;
}

.wcpp-arrow {
    height: 100%;
    background-color: #111827;
    -webkit-mask-image: url(
'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 7.33l2.829-2.83 9.175 9.339 9.167-9.339 2.829 2.83-11.996 12.17z"/></svg>');
    mask-image: url(
'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M0 7.33l2.829-2.83 9.175 9.339 9.167-9.339 2.829 2.83-11.996 12.17z"/></svg>');
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center left;
    mask-position: center left;
    -webkit-mask-size: 8px;
    mask-size: 8px;
    position: absolute;
    top: 1px;
    right: 1px;
    width: 20px;
    pointer-events: none;
}

.wcpp-filter-form select {
    padding: .4em .6em;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    width: 100%;
    position: relative;
}

.wcpp-no-results {
    color: #555;
    font-style: italic;
}

/* Table layout */
.wcpp-table {
    width: 100%;
    border-collapse: collapse;
}

.wcpp-table th,
.wcpp-table td {
    padding: .75em 1em;
    border-bottom: 1px solid #e5e5e5;
    vertical-align: middle;
    text-align: left;
}

.wcpp-table thead th {
    background: #f9f9f9;
    font-weight: 600;
}

.wcpp-table thead tr {
    border: 1px solid #e5e5e5;
}

/* Thumbnail column */
.wcpp-col-image {
    width: 80px;
}

.wcpp-col-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

/* Price column */
.wcpp-col-price {
    white-space: nowrap;
}

/* Action column */
.wcpp-col-action {
    white-space: nowrap;
}

.wcpp-col-action .button {
    display: inline-block;
    &.added {
        display: none!important;
    }
}

a.wcpp-select-options {
    background: var(--pink);
    color: #fff;
    border-radius: 0;
    border: none;
    line-height: var(--bde-button-line-height);
    font-size: var(--bde-button-font-size);
    transition: var(--bde-woo-base-transition);
    transition-duration: var(--bde-transition-duration);
    display: inline-flex;
    text-transform: capitalize;
    padding: var(--bde-button-padding-base);
    text-decoration: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    width: -moz-max-content;
    width: max-content;
    gap: var(--bde-woo-base-small-gaps);
    &:hover {
        background: #000;
        color: #fff;
    }
}

/* Responsive: stack on small screens */
@media ( max-width: 1023px ) {
    .wcpp-table thead { display: none; }

    .wcpp-table tr {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: .5em .75em;
        padding: 1em 0;
        border-bottom: 1px solid #e5e5e5;
    }

    .wcpp-table th,
    .wcpp-table td {
        border-bottom: none;
    }

    .wcpp-table td[data-title="Product"]::before {
        content: none!important;
    }

    .wcpp-table td[data-title="Name"] {
        text-align: right;
    }

    .wcpp-col-image { grid-row: 1 / 4; }
    .wcpp-col-action { grid-column: 2; }

    .wcpp-table td::before {
        display: block;
        font-size: .75em;
        color: #888;
        font-weight: 600;
        content: attr(data-title) ": ";
    }

    .wcpp-col-image::before { content: none; }

}