.cr-wc-view-toggle {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin: 0 0 14px;
    flex-wrap: wrap;
}

.cr-wc-view-toggle__label {
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
}

.cr-wc-view-toggle__buttons {
    display: inline-flex;
    align-items: stretch;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 999px;
    overflow: hidden;
    background: #fff;
}

.cr-wc-view-toggle__button {
    appearance: none;
    border: 0;
    background: transparent;
    color: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 11px;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    min-height: 34px;
    font-size: 12px;
    line-height: 1;
}

.cr-wc-view-toggle__button:hover,
.cr-wc-view-toggle__button:focus-visible {
    background: rgba(0, 0, 0, 0.05);
    outline: none;
}

.cr-wc-view-toggle__button.is-active {
    background: #111;
    color: #fff;
}

.cr-wc-view-toggle__icon {
    display: inline-flex;
    width: 14px;
    height: 14px;
}

.cr-wc-view-toggle__icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

body.cr-wc-view-compact ul.products,
body.cr-wc-view-compact .products.columns-1,
body.cr-wc-view-compact .products.columns-2,
body.cr-wc-view-compact .products.columns-3,
body.cr-wc-view-compact .products.columns-4,
body.cr-wc-view-compact .products.columns-5,
body.cr-wc-view-compact .products.columns-6 {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
    gap: 10px !important;
}

body.cr-wc-view-compact ul.products li.product,
body.cr-wc-view-compact .products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: none !important;
    padding: 10px 10px 12px !important;
    font-size: 0.88em;
    box-sizing: border-box;
}

body.cr-wc-view-compact ul.products li.product > a.woocommerce-LoopProduct-link,
body.cr-wc-view-compact ul.products li.product > a.woocommerce-loop-product__link,
body.cr-wc-view-compact .products li.product > a.woocommerce-LoopProduct-link,
body.cr-wc-view-compact .products li.product > a.woocommerce-loop-product__link {
    display: block;
    text-align: center !important;
}

body.cr-wc-view-compact ul.products li.product img,
body.cr-wc-view-compact .products li.product img {
    width: 100% !important;
    max-width: 84% !important;
    height: auto !important;
    margin: 0 auto 8px !important;
}

body.cr-wc-view-compact ul.products li.product .woocommerce-loop-product__title,
body.cr-wc-view-compact ul.products li.product h2,
body.cr-wc-view-compact ul.products li.product h3,
body.cr-wc-view-compact .products li.product .woocommerce-loop-product__title,
body.cr-wc-view-compact .products li.product h2,
body.cr-wc-view-compact .products li.product h3 {
    font-size: 0.96em !important;
    line-height: 1.22 !important;
    margin: 0 0 6px !important;
}

body.cr-wc-view-compact ul.products li.product .price,
body.cr-wc-view-compact .products li.product .price {
    font-size: 0.98em !important;
    line-height: 1.18 !important;
    margin: 0 0 6px !important;
}

body.cr-wc-view-compact ul.products li.product .button,
body.cr-wc-view-compact ul.products li.product .added_to_cart,
body.cr-wc-view-compact ul.products li.product .ajax_add_to_cart,
body.cr-wc-view-compact ul.products li.product form.cart .button,
body.cr-wc-view-compact .products li.product .button,
body.cr-wc-view-compact .products li.product .added_to_cart,
body.cr-wc-view-compact .products li.product .ajax_add_to_cart,
body.cr-wc-view-compact .products li.product form.cart .button {
    font-size: 0.92em !important;
    line-height: 1.1 !important;
    padding: 0.7em 0.85em !important;
}

body.cr-wc-view-compact ul.products li.product .quantity .qty,
body.cr-wc-view-compact .products li.product .quantity .qty {
    width: 56px;
    min-height: 32px;
    padding: 4px 5px;
}

body.cr-wc-view-compact ul.products li.product .onsale,
body.cr-wc-view-compact .products li.product .onsale {
    font-size: 0.72em;
    min-height: auto;
    min-width: auto;
    padding: 4px 7px;
    line-height: 1.15;
}

body.cr-wc-view-list ul.products,
body.cr-wc-view-list .products.columns-1,
body.cr-wc-view-list .products.columns-2,
body.cr-wc-view-list .products.columns-3,
body.cr-wc-view-list .products.columns-4,
body.cr-wc-view-list .products.columns-5,
body.cr-wc-view-list .products.columns-6 {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 12px !important;
}

body.cr-wc-view-list ul.products li.product,
body.cr-wc-view-list .products li.product {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    float: none !important;
    clear: both !important;
    padding-right: 0 !important;
    position: relative;
    font-size: 0.92em;
    display: grid !important;
    grid-template-columns: minmax(240px, 1.1fr) minmax(220px, 260px) minmax(165px, 185px);
    gap: 12px 18px;
    align-items: center;
    justify-content: start;
}

body.cr-wc-view-list ul.products li.product > a.woocommerce-LoopProduct-link,
body.cr-wc-view-list ul.products li.product > a.woocommerce-loop-product__link,
body.cr-wc-view-list .products li.product > a.woocommerce-LoopProduct-link,
body.cr-wc-view-list .products li.product > a.woocommerce-loop-product__link {
    width: 100%;
    max-width: none;
    display: grid !important;
    grid-template-columns: minmax(72px, 88px) minmax(0, 1fr);
    gap: 10px 16px;
    align-items: center;
    text-align: left !important;
    grid-column: 1;
    min-width: 0;
    justify-self: start;
}

body.cr-wc-view-list ul.products li.product > a.woocommerce-LoopProduct-link img,
body.cr-wc-view-list ul.products li.product > a.woocommerce-loop-product__link img,
body.cr-wc-view-list .products li.product > a.woocommerce-LoopProduct-link img,
body.cr-wc-view-list .products li.product > a.woocommerce-loop-product__link img {
    grid-column: 1;
    grid-row: 1;
    width: 100% !important;
    max-width: 88px;
    margin: 0 !important;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-summary,
body.cr-wc-view-list .products li.product .cr-wc-list-summary {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    min-width: 0;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-summary > .woocommerce-loop-product__title,
body.cr-wc-view-list ul.products li.product .cr-wc-list-summary > h2,
body.cr-wc-view-list ul.products li.product .cr-wc-list-summary > h3,
body.cr-wc-view-list .products li.product .cr-wc-list-summary > .woocommerce-loop-product__title,
body.cr-wc-view-list .products li.product .cr-wc-list-summary > h2,
body.cr-wc-view-list .products li.product .cr-wc-list-summary > h3 {
    width: 100%;
    min-width: 0;
    margin: 0 !important;
    line-height: 1.22 !important;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-summary > .price,
body.cr-wc-view-list .products li.product .cr-wc-list-summary > .price {
    margin: 0 !important;
    line-height: 1.12 !important;
    text-align: left !important;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-summary > :not(.woocommerce-loop-product__title):not(h2):not(h3):not(.price),
body.cr-wc-view-list .products li.product .cr-wc-list-summary > :not(.woocommerce-loop-product__title):not(h2):not(h3):not(.price) {
    margin: 0 !important;
    width: 100%;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-extras,
body.cr-wc-view-list .products li.product .cr-wc-list-extras {
    grid-column: 2;
    width: 100%;
    max-width: 260px;
    justify-self: center;
    align-self: center;
    display: grid;
    gap: 6px;
    min-width: 0;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-extras > *,
body.cr-wc-view-list .products li.product .cr-wc-list-extras > * {
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    text-align: center !important;
    float: none !important;
    align-self: center;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-extras .price,
body.cr-wc-view-list .products li.product .cr-wc-list-extras .price {
    white-space: nowrap;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-actions,
body.cr-wc-view-list .products li.product .cr-wc-list-actions {
    grid-column: 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-width: 165px;
    justify-self: center;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-actions > .button,
body.cr-wc-view-list ul.products li.product .cr-wc-list-actions > .added_to_cart,
body.cr-wc-view-list ul.products li.product .cr-wc-list-actions > .ajax_add_to_cart,
body.cr-wc-view-list .products li.product .cr-wc-list-actions > .button,
body.cr-wc-view-list .products li.product .cr-wc-list-actions > .added_to_cart,
body.cr-wc-view-list .products li.product .cr-wc-list-actions > .ajax_add_to_cart {
    margin: 0 !important;
    font-size: 0.94em;
    line-height: 1.1;
    min-width: 140px;
    text-align: center;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-actions > form.cart,
body.cr-wc-view-list .products li.product .cr-wc-list-actions > form.cart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    width: 100%;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-actions .quantity,
body.cr-wc-view-list .products li.product .cr-wc-list-actions .quantity {
    margin: 0 !important;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-actions .quantity .qty,
body.cr-wc-view-list .products li.product .cr-wc-list-actions .quantity .qty {
    width: 62px;
    min-height: 34px;
    padding: 4px 6px;
}

body.cr-wc-view-list ul.products li.product .cr-wc-list-actions form.cart .button,
body.cr-wc-view-list .products li.product .cr-wc-list-actions form.cart .button {
    margin: 0 !important;
    min-width: 140px;
}

body.cr-wc-view-list ul.products li.product > .button,
body.cr-wc-view-list ul.products li.product > .added_to_cart,
body.cr-wc-view-list ul.products li.product > .ajax_add_to_cart,
body.cr-wc-view-list ul.products li.product > form.cart,
body.cr-wc-view-list .products li.product > .button,
body.cr-wc-view-list .products li.product > .added_to_cart,
body.cr-wc-view-list .products li.product > .ajax_add_to_cart,
body.cr-wc-view-list .products li.product > form.cart {
    margin: 0 !important;
}

body.cr-wc-view-list ul.products li.product .onsale,
body.cr-wc-view-list .products li.product .onsale {
    position: absolute !important;
    top: 8px;
    left: 8px;
    z-index: 3;
    font-size: 0.78em;
    min-height: auto;
    min-width: auto;
    padding: 4px 8px;
    line-height: 1.2;
}

.cr-wc-table-head {
    display: none;
}

body.cr-wc-view-table ul.products,
body.cr-wc-view-table .products.columns-1,
body.cr-wc-view-table .products.columns-2,
body.cr-wc-view-table .products.columns-3,
body.cr-wc-view-table .products.columns-4,
body.cr-wc-view-table .products.columns-5,
body.cr-wc-view-table .products.columns-6 {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    counter-reset: cr-wc-table-row;
}

body.cr-wc-view-table .cr-wc-table-head {
    display: grid;
    grid-template-columns: 58px minmax(300px, 1.75fr) minmax(160px, 190px) minmax(118px, 140px) minmax(118px, 140px) minmax(130px, 150px) minmax(124px, 150px);
    align-items: stretch;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-bottom-width: 0;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 !important;
}

body.cr-wc-view-table .cr-wc-table-head__cell {
    padding: 14px 12px;
    text-align: center;
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.cr-wc-view-table .cr-wc-table-head__cell:first-child {
    border-left: 0;
}

body.cr-wc-view-table ul.products li.product,
body.cr-wc-view-table .products li.product {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    clear: both !important;
    padding: 0 !important;
    position: relative;
    display: grid !important;
    grid-template-columns: 58px minmax(300px, 1.75fr) minmax(160px, 190px) minmax(118px, 140px) minmax(118px, 140px) minmax(130px, 150px) minmax(124px, 150px);
    align-items: stretch;
    gap: 0 !important;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-top-width: 0;
    box-sizing: border-box;
    font-size: 0.94em;
}

body.cr-wc-view-table ul.products li.product:last-child,
body.cr-wc-view-table .products li.product:last-child {
    border-radius: 0 0 8px 8px;
}

body.cr-wc-view-table ul.products li.product::before,
body.cr-wc-view-table .products li.product::before {
    counter-increment: cr-wc-table-row;
    content: counter(cr-wc-table-row);
    grid-column: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 8px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    color: inherit;
    font-weight: 600;
    box-sizing: border-box;
}

body.cr-wc-view-table ul.products li.product > a.woocommerce-LoopProduct-link,
body.cr-wc-view-table ul.products li.product > a.woocommerce-loop-product__link,
body.cr-wc-view-table .products li.product > a.woocommerce-LoopProduct-link,
body.cr-wc-view-table .products li.product > a.woocommerce-loop-product__link {
    grid-column: 2;
    width: 100%;
    max-width: none;
    display: grid !important;
    grid-template-columns: 74px minmax(0, 1fr);
    gap: 10px 14px;
    align-items: center;
    text-align: left !important;
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

body.cr-wc-view-table ul.products li.product > a.woocommerce-LoopProduct-link img,
body.cr-wc-view-table ul.products li.product > a.woocommerce-loop-product__link img,
body.cr-wc-view-table .products li.product > a.woocommerce-LoopProduct-link img,
body.cr-wc-view-table .products li.product > a.woocommerce-loop-product__link img {
    width: 100% !important;
    max-width: 72px;
    margin: 0 !important;
    align-self: center;
    justify-self: center;
}

body.cr-wc-view-table ul.products li.product .cr-wc-list-summary,
body.cr-wc-view-table .products li.product .cr-wc-list-summary {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}

body.cr-wc-view-table ul.products li.product .cr-wc-list-summary > .woocommerce-loop-product__title,
body.cr-wc-view-table ul.products li.product .cr-wc-list-summary > h2,
body.cr-wc-view-table ul.products li.product .cr-wc-list-summary > h3,
body.cr-wc-view-table .products li.product .cr-wc-list-summary > .woocommerce-loop-product__title,
body.cr-wc-view-table .products li.product .cr-wc-list-summary > h2,
body.cr-wc-view-table .products li.product .cr-wc-list-summary > h3 {
    margin: 0 !important;
    line-height: 1.2 !important;
}

body.cr-wc-view-table ul.products li.product .cr-wc-list-extras,
body.cr-wc-view-table .products li.product .cr-wc-list-extras,
body.cr-wc-view-table ul.products li.product .cr-wc-list-actions,
body.cr-wc-view-table .products li.product .cr-wc-list-actions,
body.cr-wc-view-table ul.products li.product .cr-wc-list-actions > form.cart,
body.cr-wc-view-table .products li.product .cr-wc-list-actions > form.cart {
    display: contents !important;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-price,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-price,
body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-total,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-total,
body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-stock,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-stock,
body.cr-wc-view-table ul.products li.product .cr-wc-table-qty-cell,
body.cr-wc-view-table .products li.product .cr-wc-table-qty-cell,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell,
body.cr-wc-view-table .products li.product .cr-wc-table-action-cell,
body.cr-wc-view-table ul.products li.product .cr-wc-table-qty,
body.cr-wc-view-table .products li.product .cr-wc-table-qty,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action,
body.cr-wc-view-table .products li.product .cr-wc-table-action {
    margin: 0 !important;
    padding: 16px 12px;
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
    min-width: 0;
    min-height: 100%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center !important;
    align-self: stretch;
    justify-self: stretch;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-price,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-price {
    grid-column: 4;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-total,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-total {
    grid-column: 5;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-stock,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-stock {
    grid-column: 6;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-qty-cell,
body.cr-wc-view-table .products li.product .cr-wc-table-qty-cell,
body.cr-wc-view-table ul.products li.product .cr-wc-table-qty,
body.cr-wc-view-table .products li.product .cr-wc-table-qty {
    grid-column: 3;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell,
body.cr-wc-view-table .products li.product .cr-wc-table-action-cell,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action,
body.cr-wc-view-table .products li.product .cr-wc-table-action {
    grid-column: 7;
    border-right: 0;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-price .price,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-price .price,
body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-total .price,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-total .price {
    margin: 0 !important;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-stock .stock,
body.cr-wc-view-table .products li.product .cr-wc-table-cell-stock .stock {
    margin: 0 auto !important;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-qty-cell .quantity,
body.cr-wc-view-table .products li.product .cr-wc-table-qty-cell .quantity,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell .button,
body.cr-wc-view-table .products li.product .cr-wc-table-action-cell .button,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell .added_to_cart,
body.cr-wc-view-table .products li.product .cr-wc-table-action-cell .added_to_cart,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell .ajax_add_to_cart,
body.cr-wc-view-table .products li.product .cr-wc-table-action-cell .ajax_add_to_cart,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell button[name='add-to-cart'],
body.cr-wc-view-table .products li.product .cr-wc-table-action-cell button[name='add-to-cart'],
body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell .single_add_to_cart_button,
body.cr-wc-view-table .products li.product .cr-wc-table-action-cell .single_add_to_cart_button {
    margin: 0 !important;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell,
body.cr-wc-view-table .products li.product .cr-wc-table-action-cell {
    flex-direction: column;
    gap: 8px;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-qty .qty,
body.cr-wc-view-table .products li.product .cr-wc-table-qty .qty {
    width: 62px;
    min-height: 34px;
    padding: 4px 6px;
}

body.cr-wc-view-table ul.products li.product .cr-wc-table-action.button,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action.added_to_cart,
body.cr-wc-view-table ul.products li.product .cr-wc-table-action.ajax_add_to_cart,
body.cr-wc-view-table ul.products li.product button.cr-wc-table-action,
body.cr-wc-view-table .products li.product .cr-wc-table-action.button,
body.cr-wc-view-table .products li.product .cr-wc-table-action.added_to_cart,
body.cr-wc-view-table .products li.product .cr-wc-table-action.ajax_add_to_cart,
body.cr-wc-view-table .products li.product button.cr-wc-table-action {
    min-width: 110px;
}

body.cr-wc-view-table ul.products li.product .cr-wc-list-actions input[type='hidden'],
body.cr-wc-view-table .products li.product .cr-wc-list-actions input[type='hidden'] {
    display: none !important;
}

body.cr-wc-view-table ul.products li.product > .button,
body.cr-wc-view-table ul.products li.product > .added_to_cart,
body.cr-wc-view-table ul.products li.product > .ajax_add_to_cart,
body.cr-wc-view-table ul.products li.product > form.cart,
body.cr-wc-view-table .products li.product > .button,
body.cr-wc-view-table .products li.product > .added_to_cart,
body.cr-wc-view-table .products li.product > .ajax_add_to_cart,
body.cr-wc-view-table .products li.product > form.cart {
    margin: 0 !important;
}

body.cr-wc-view-table ul.products li.product .onsale,
body.cr-wc-view-table .products li.product .onsale {
    position: absolute !important;
    top: 8px;
    left: 66px;
    z-index: 3;
    font-size: 0.76em;
    min-height: auto;
    min-width: auto;
    padding: 4px 8px;
    line-height: 1.2;
}

@media (max-width: 1279px) {
    body.cr-wc-view-table .cr-wc-table-head,
    body.cr-wc-view-table ul.products li.product,
    body.cr-wc-view-table .products li.product {
        grid-template-columns: 50px minmax(230px, 1.4fr) minmax(136px, 168px) minmax(100px, 126px) minmax(100px, 126px) minmax(100px, 118px) minmax(108px, 132px);
    }
}

@media (max-width: 980px) {
    body.cr-wc-view-table .cr-wc-table-head {
        display: none;
    }

    body.cr-wc-view-table ul.products li.product,
    body.cr-wc-view-table .products li.product {
        grid-template-columns: 44px minmax(0, 1fr) minmax(130px, 160px);
        border-top-width: 1px;
        border-radius: 8px;
        margin-bottom: 10px !important;
    }

    body.cr-wc-view-table ul.products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-table ul.products li.product > a.woocommerce-loop-product__link,
    body.cr-wc-view-table .products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-table .products li.product > a.woocommerce-loop-product__link {
        grid-column: 2;
        border-right: 0;
    }

    body.cr-wc-view-table ul.products li.product .cr-wc-table-qty-cell,
    body.cr-wc-view-table .products li.product .cr-wc-table-qty-cell,
    body.cr-wc-view-table ul.products li.product .cr-wc-list-actions .quantity,
    body.cr-wc-view-table .products li.product .cr-wc-list-actions .quantity {
        grid-column: 3;
        border-right: 0;
    }

    body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-price,
    body.cr-wc-view-table .products li.product .cr-wc-table-cell-price {
        grid-column: 2;
    }

    body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-total,
    body.cr-wc-view-table .products li.product .cr-wc-table-cell-total {
        grid-column: 3;
    }

    body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-stock,
    body.cr-wc-view-table .products li.product .cr-wc-table-cell-stock {
        grid-column: 2 / span 2;
    }

    body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell,
    body.cr-wc-view-table .products li.product .cr-wc-table-action-cell,
    body.cr-wc-view-table ul.products li.product .cr-wc-table-action,
    body.cr-wc-view-table .products li.product .cr-wc-table-action {
        grid-column: 3;
        margin-bottom: 14px !important;
    }
}

@media (max-width: 767px) {
    body.cr-wc-view-table ul.products li.product,
    body.cr-wc-view-table .products li.product {
        grid-template-columns: minmax(0, 1fr);
    }

    body.cr-wc-view-table ul.products li.product::before,
    body.cr-wc-view-table .products li.product::before {
        display: none;
    }

    body.cr-wc-view-table ul.products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-table ul.products li.product > a.woocommerce-loop-product__link,
    body.cr-wc-view-table .products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-table .products li.product > a.woocommerce-loop-product__link {
        grid-column: 1;
        grid-template-columns: 64px minmax(0, 1fr);
    }

    body.cr-wc-view-table ul.products li.product .cr-wc-table-qty-cell,
    body.cr-wc-view-table .products li.product .cr-wc-table-qty-cell,
    body.cr-wc-view-table ul.products li.product .cr-wc-table-qty,
    body.cr-wc-view-table .products li.product .cr-wc-table-qty,
    body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-price,
    body.cr-wc-view-table .products li.product .cr-wc-table-cell-price,
    body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-total,
    body.cr-wc-view-table .products li.product .cr-wc-table-cell-total,
    body.cr-wc-view-table ul.products li.product .cr-wc-table-cell-stock,
    body.cr-wc-view-table .products li.product .cr-wc-table-cell-stock,
    body.cr-wc-view-table ul.products li.product .cr-wc-table-action-cell,
    body.cr-wc-view-table .products li.product .cr-wc-table-action-cell,
    body.cr-wc-view-table ul.products li.product .cr-wc-table-action,
    body.cr-wc-view-table .products li.product .cr-wc-table-action {
        grid-column: 1 !important;
        border-right: 0;
        justify-self: stretch;
    }

    body.cr-wc-view-table ul.products li.product .cr-wc-table-qty,
    body.cr-wc-view-table .products li.product .cr-wc-table-qty {
        justify-content: flex-start;
        padding-top: 0;
        padding-bottom: 10px;
    }

    body.cr-wc-view-table ul.products li.product .onsale,
    body.cr-wc-view-table .products li.product .onsale {
        left: 8px;
    }
}

@media (max-width: 1199px) {
    body.cr-wc-view-compact ul.products,
    body.cr-wc-view-compact .products.columns-1,
    body.cr-wc-view-compact .products.columns-2,
    body.cr-wc-view-compact .products.columns-3,
    body.cr-wc-view-compact .products.columns-4,
    body.cr-wc-view-compact .products.columns-5,
    body.cr-wc-view-compact .products.columns-6 {
        grid-template-columns: repeat(auto-fill, minmax(138px, 1fr)) !important;
        gap: 9px !important;
    }

    body.cr-wc-view-list ul.products li.product,
    body.cr-wc-view-list .products li.product {
        grid-template-columns: minmax(220px, 1fr) minmax(210px, 240px) minmax(150px, 170px);
        gap: 12px 14px;
    }

    body.cr-wc-view-list ul.products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-list ul.products li.product > a.woocommerce-loop-product__link,
    body.cr-wc-view-list .products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-list .products li.product > a.woocommerce-loop-product__link {
        gap: 10px 12px;
    }

    body.cr-wc-view-list ul.products li.product .cr-wc-list-extras,
    body.cr-wc-view-list .products li.product .cr-wc-list-extras {
        max-width: 240px;
    }
}

@media (max-width: 860px) {
    body.cr-wc-view-compact ul.products,
    body.cr-wc-view-compact .products.columns-1,
    body.cr-wc-view-compact .products.columns-2,
    body.cr-wc-view-compact .products.columns-3,
    body.cr-wc-view-compact .products.columns-4,
    body.cr-wc-view-compact .products.columns-5,
    body.cr-wc-view-compact .products.columns-6 {
        grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)) !important;
        gap: 8px !important;
    }

    body.cr-wc-view-list ul.products li.product,
    body.cr-wc-view-list .products li.product {
        grid-template-columns: minmax(0, 1fr) minmax(210px, 320px);
        align-items: start;
    }

    body.cr-wc-view-list ul.products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-list ul.products li.product > a.woocommerce-loop-product__link,
    body.cr-wc-view-list .products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-list .products li.product > a.woocommerce-loop-product__link {
        grid-column: 1;
        max-width: none;
    }

    body.cr-wc-view-list ul.products li.product .cr-wc-list-extras,
    body.cr-wc-view-list .products li.product .cr-wc-list-extras {
        grid-column: 2;
        max-width: 320px;
    }

    body.cr-wc-view-list ul.products li.product .cr-wc-list-actions,
    body.cr-wc-view-list .products li.product .cr-wc-list-actions {
        grid-column: 2;
        justify-self: center;
        margin-top: 2px;
    }
}

@media (max-width: 767px) {
    .cr-wc-view-toggle {
        justify-content: space-between;
    }

    .cr-wc-view-toggle__text {
        display: none;
    }

    .cr-wc-view-toggle__button {
        padding: 7px 9px;
        min-height: 32px;
    }

    body.cr-wc-view-compact ul.products,
    body.cr-wc-view-compact .products.columns-1,
    body.cr-wc-view-compact .products.columns-2,
    body.cr-wc-view-compact .products.columns-3,
    body.cr-wc-view-compact .products.columns-4,
    body.cr-wc-view-compact .products.columns-5,
    body.cr-wc-view-compact .products.columns-6 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.cr-wc-view-compact ul.products li.product,
    body.cr-wc-view-compact .products li.product {
        padding: 8px 8px 10px !important;
        font-size: 0.84em;
    }

    body.cr-wc-view-compact ul.products li.product img,
    body.cr-wc-view-compact .products li.product img {
        max-width: 78% !important;
        margin-bottom: 6px !important;
    }

    body.cr-wc-view-list ul.products li.product,
    body.cr-wc-view-list .products li.product {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        font-size: 0.9em;
    }

    body.cr-wc-view-list ul.products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-list ul.products li.product > a.woocommerce-loop-product__link,
    body.cr-wc-view-list .products li.product > a.woocommerce-LoopProduct-link,
    body.cr-wc-view-list .products li.product > a.woocommerce-loop-product__link {
        grid-template-columns: minmax(68px, 84px) minmax(0, 1fr);
        grid-column: 1;
        gap: 8px 10px;
        align-items: center;
    }

    body.cr-wc-view-list ul.products li.product > a.woocommerce-LoopProduct-link img,
    body.cr-wc-view-list ul.products li.product > a.woocommerce-loop-product__link img,
    body.cr-wc-view-list .products li.product > a.woocommerce-LoopProduct-link img,
    body.cr-wc-view-list .products li.product > a.woocommerce-loop-product__link img {
        max-width: 84px;
    }

    body.cr-wc-view-list ul.products li.product .cr-wc-list-summary,
    body.cr-wc-view-list .products li.product .cr-wc-list-summary {
        gap: 3px;
    }

    body.cr-wc-view-list ul.products li.product .cr-wc-list-extras,
    body.cr-wc-view-list .products li.product .cr-wc-list-extras,
    body.cr-wc-view-list ul.products li.product .cr-wc-list-actions,
    body.cr-wc-view-list .products li.product .cr-wc-list-actions {
        grid-column: 1;
        justify-self: stretch;
        max-width: none;
        width: 100%;
    }

    body.cr-wc-view-list ul.products li.product .cr-wc-list-actions,
    body.cr-wc-view-list .products li.product .cr-wc-list-actions {
        align-items: flex-start;
    }

    body.cr-wc-view-list ul.products li.product .cr-wc-list-actions > form.cart,
    body.cr-wc-view-list .products li.product .cr-wc-list-actions > form.cart {
        align-items: flex-start;
    }

    body.cr-wc-view-list ul.products li.product .cr-wc-list-actions > .button,
    body.cr-wc-view-list ul.products li.product .cr-wc-list-actions > .added_to_cart,
    body.cr-wc-view-list ul.products li.product .cr-wc-list-actions > .ajax_add_to_cart,
    body.cr-wc-view-list .products li.product .cr-wc-list-actions > .button,
    body.cr-wc-view-list .products li.product .cr-wc-list-actions > .added_to_cart,
    body.cr-wc-view-list .products li.product .cr-wc-list-actions > .ajax_add_to_cart,
    body.cr-wc-view-list ul.products li.product .cr-wc-list-actions form.cart .button,
    body.cr-wc-view-list .products li.product .cr-wc-list-actions form.cart .button {
        min-width: 0;
    }
}
