/* Compact price rows share the existing product card and cart controls. */
.products-view--price .price-table__category,
.products-view--price .price-table__head,
.products-view--price .price-table__brand {
    display: none;
}

.products-view--price .products-list[data-layout="table"] {
    overflow-x: auto;
}

.products-view--price [data-layout="table"] .price-table__head,
.products-view--price [data-layout="table"] .product-card {
    display: grid;
    grid-template-columns: 56px minmax(180px, 1fr) 135px 115px 130px;
    align-items: center;
    column-gap: 12px;
    min-width: 700px;
    padding: 12px;
}

.products-view--price [data-layout="table"] .price-table__head {
    background: #f7f7f7;
    border: 1px solid #ededed;
    font-size: 13px;
    font-weight: 500;
}

.products-view--price .price-table__product-heading {
    grid-column: span 2;
}

.products-view--price [data-layout="table"] .products-list__body {
    display: block;
    min-width: 700px;
    margin: 0;
}

.products-view--price [data-layout="table"] .products-list__item {
    width: 100%;
    margin: 0;
}

.products-view--price [data-layout="table"] .product-card__image {
    width: 56px;
    padding: 0;
}

.products-view--price [data-layout="table"] .product-card__info {
    min-width: 0;
    padding: 0;
}

.products-view--price [data-layout="table"] .product-card__name {
    font-size: 14px;
    line-height: 20px;
    overflow-wrap: anywhere;
}

.products-view--price [data-layout="table"] .price-table__brand {
    display: block;
    font-size: 13px;
    overflow-wrap: anywhere;
}

.products-view--price [data-layout="table"] .product-card__actions {
    display: contents;
}

.products-view--price [data-layout="table"] .product-card__prices {
    grid-column: 4;
    margin: 0;
    font-size: 14px;
    white-space: nowrap;
}

.products-view--price [data-layout="table"] .product-card__old-price {
    display: block;
    margin-top: 3px;
    font-size: 12px;
}

.products-view--price [data-layout="table"] .product-card__buttons {
    grid-column: 5;
    margin: 0;
}

.products-view--price [data-layout="table"] .product-card__addtocart {
    width: 100%;
    height: auto;
    padding: 6px 8px;
    font-size: 13px;
    white-space: normal;
}

.products-view--price [data-layout="table"] .product-card__badges-list,
.products-view--price [data-layout="table"] .product-card__features-list,
.products-view--price [data-layout="table"] .product-card__price-title,
.products-view--price [data-layout="table"] .product-card__updated {
    display: none;
}

.products-view--price [data-layout="table"] .price-table__category {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 16px;
    color: #777;
}

.products-view--price [data-layout="table"] .price-table__category a {
    color: inherit;
}

.products-view--price [data-layout="table"] .price-table__category a:hover {
    text-decoration: underline;
}
