body.ewp-products-page .site-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

body.ewp-products-page #content.site-content > .col-full,
body.ewp-products-page .site-content .col-full {
    width: 100% !important;
    max-width: 1600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 24px !important;
    padding-right: 24px !important;
    box-sizing: border-box;
}

body.ewp-products-page #primary.content-area,
body.ewp-products-page .content-area {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.ewp-products-page #main.site-main,
body.ewp-products-page .site-main {
    width: 100% !important;
    max-width: none !important;
    float: none !important;
    margin: 0 !important;
}

body.ewp-products-page #secondary.widget-area {
    display: none !important;
}

.ewp-products-page .ewp-products-list {
    max-width: none;
    width: 100%;
    margin: 24px 0;
    padding: 0;
}

.ewp-products-page .ewp-products-header {
    display: flex;
    gap: 12px;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.ewp-products-page .ewp-products-header h1 {
    margin: 0;
}

.ewp-products-page .ewp-new-product-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    border-radius: 9999px;
    padding: 0 14px;
    font-weight: 700;
}

.ewp-products-page .ewp-products-filters {
    margin: 12px 0;
    border: 1px solid var(--ewp-border);
    border-radius: 18px;
    background: #fff;
    padding: 12px;
}

.ewp-products-page .ewp-products-filters-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: flex-end;
}

.ewp-products-page .ewp-products-filters-row + .ewp-products-filters-row {
    margin-top: 10px;
}

.ewp-products-page .ewp-products-field {
    margin: 0;
}

.ewp-products-page .ewp-products-field--grow {
    min-width: 220px;
    flex: 1 1 260px;
}

.ewp-products-page .ewp-products-field--grow input[type="text"] {
    width: 100%;
}

.ewp-products-page .ewp-products-filters-meta {
    color: #646970;
}

.ewp-products-page .ewp-products-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.ewp-products-page .ewp-products-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border: 1px solid #ccd0d4;
    border-radius: 999px;
    background: #fff;
}

.ewp-products-page .ewp-products-filter-chip-remove {
    color: inherit;
    text-decoration: none;
    font-weight: 700;
}

.ewp-products-page .ewp-products-table-wrap {
    overflow-x: auto;
    overflow-y: visible;
    max-height: none;
    height: auto;
    border: 1px solid var(--ewp-border);
    border-radius: 18px;
    background: #fff;
    margin-top: 12px;
}

.ewp-products-page table.ewp-products-table {
    width: 100%;
    min-width: 960px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 13px;
}

.ewp-products-page table.ewp-products-table th,
.ewp-products-page table.ewp-products-table td {
    padding: 10px 10px;
    vertical-align: top;
    white-space: normal;
    border-bottom: 1px solid var(--ewp-border);
}

.ewp-products-page table.ewp-products-table th {
    font-weight: 800;
}

.ewp-products-page table.ewp-products-table tr:last-child td {
    border-bottom: none;
}

.ewp-products-page table.ewp-products-table th.title-col,
.ewp-products-page td.title-cell {
    width: 34%;
    min-width: 320px;
}

.ewp-products-page table.ewp-products-table th.cat-col,
.ewp-products-page td.category-cell {
    width: 18%;
    min-width: 180px;
}

.ewp-products-page .title-flex {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    min-width: 0;
}

.ewp-products-page .title-thumb-link {
    flex: 0 0 auto;
}

.ewp-products-page .title-link {
    min-width: 0;
    color: var(--ewp-text);
    font-weight: 800;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    overflow-wrap: anywhere;
}

.ewp-products-page .title-link:hover {
    color: var(--ewp-primary);
    text-decoration: underline;
}

.ewp-products-page .ewp-thumb {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--ewp-border);
    display: block;
}

.ewp-products-page .category-cell .category-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
    max-height: calc(1.25em * 2);
    overflow-wrap: anywhere;
}

.ewp-products-page table.ewp-products-table th.brand-col,
.ewp-products-page table.ewp-products-table td.brand-cell {
    width: 1%;
    white-space: nowrap;
}

.ewp-products-page table.ewp-products-table th.family-col,
.ewp-products-page table.ewp-products-table td.family-cell {
    width: 1%;
    white-space: nowrap;
}

.ewp-products-page table.ewp-products-table th.loc-col,
.ewp-products-page table.ewp-products-table td.loc-cell {
    width: 1%;
    white-space: nowrap;
}

.ewp-products-page table.ewp-products-table th.stock-col,
.ewp-products-page table.ewp-products-table td.stock-cell {
    width: 1%;
    white-space: nowrap;
}

.ewp-products-page table.ewp-products-table th.price-col,
.ewp-products-page table.ewp-products-table td.price-cell {
    width: 1%;
    white-space: nowrap;
}

.ewp-products-page table.ewp-products-table th.status-col,
.ewp-products-page table.ewp-products-table td.status-cell {
    width: 1%;
    white-space: nowrap;
}

.ewp-products-page table.ewp-products-table th.date-col,
.ewp-products-page table.ewp-products-table td.date-cell {
    width: 1%;
    white-space: nowrap;
}

.ewp-products-page table.ewp-products-table th.actions-col,
.ewp-products-page table.ewp-products-table td.actions-cell {
    width: 1%;
    white-space: nowrap;
}

.ewp-products-page .ewp-status {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 9999px;
    font-weight: 800;
    font-size: 12px;
    line-height: 1.2;
}

.ewp-products-page .ewp-status--published {
    background: rgba(0, 170, 0, .12);
    color: var(--ewp-primary);
}

.ewp-products-page .ewp-status--draft {
    background: rgba(0, 0, 0, .08);
    color: #374151;
}

.ewp-products-page .ewp-status--pending {
    background: rgba(245, 158, 11, .16);
    color: #92400e;
}

.ewp-products-page .ewp-products-pagination {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.ewp-products-page .ewp-products-pagination .ewp-products-pagination__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid var(--ewp-border);
    background: #fff;
    color: var(--ewp-text);
    text-decoration: none;
    font-weight: 700;
}

.ewp-products-page .ewp-products-pagination .ewp-products-pagination__item.current {
    border-color: var(--ewp-primary);
    background: var(--ewp-primary);
    color: #fff;
}

.ewp-products-page .ewp-products-pagination a.ewp-products-pagination__item:hover,
.ewp-products-page .ewp-products-pagination a.ewp-products-pagination__item:focus {
    border-color: var(--ewp-primary);
    color: var(--ewp-primary);
}

@media (max-width: 767px) {
    body.ewp-products-page #content.site-content > .col-full,
    body.ewp-products-page .site-content .col-full {
        padding-left: 12px;
        padding-right: 12px;
    }

    .ewp-products-page .ewp-products-list {
        padding: 0;
    }

    .ewp-products-page td.title-cell {
        min-width: 300px;
    }

    .ewp-products-page td.category-cell {
        min-width: 170px;
    }
}
