/* Gleisan shop archive
----------------------------------------------------------------- */

.gleisan-shop-archive {
    --gleisan-red: var(--theme-color-link, #c20919);
    --gleisan-red-dark: var(--theme-color-hover, #930712);
    --gleisan-ink: var(--theme-color-title, #1f242e);
    --gleisan-muted: var(--theme-color-text, #68707c);
    --gleisan-line: var(--theme-color-bd_color, #e7e3da);
    --gleisan-soft: var(--theme-color-bg_color_2, #f7f5f0);
    --gleisan-panel: var(--theme-color-bg_color, #ffffff);
    --gleisan-green: #24714b;
    --gleisan-blue: #31577a;
}

.gleisan-shop-archive .page_content_wrap {
    background: #fbfaf7;
}

.gleisan-shop-archive .content_wrap {
    width: min(100%, 1380px);
    padding-left: 28px;
    padding-right: 28px;
}

.gleisan-shop-archive .gleisan-shop-shell {
    --gleisan-product-gap: 22px;
    padding: 0 0 60px;
}

body.gleisan-shop-archive header .elementor-element-133f72e,
body.gleisan-shop-archive header .elementor-widget-trx_elm_post_title,
body.gleisan-shop-archive header .trx-addons-post-title-wrap {
    display: none !important;
}

body.gleisan-shop-archive header .elementor-element.e-con:has(> .elementor-widget-trx_elm_post_title),
body.gleisan-shop-archive header .elementor-element.e-con:has(> .e-con-inner > .elementor-widget-trx_elm_post_title) {
    display: none !important;
}

.gleisan-shop-shell .list_products_header,
.gleisan-shop-shell .woocommerce-breadcrumb,
.gleisan-shop-shell .woocommerce-products-header {
    display: none !important;
}

.gleisan-shop-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    padding: 34px 0 22px;
    border-bottom: 1px solid var(--gleisan-line);
}

.gleisan-shop-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--gleisan-red);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gleisan-shop-hero__eyebrow::before {
    content: "";
    width: 24px;
    height: 2px;
    background: currentColor;
}

.gleisan-shop-hero h1 {
    max-width: 760px;
    margin: 8px 0 8px;
    color: var(--gleisan-ink);
    line-height: 1.08;
}

.gleisan-shop-hero p {
    max-width: 720px;
    margin: 0;
    color: var(--gleisan-muted);
    font-size: 16px;
    line-height: 1.5;
}

.gleisan-shop-hero__proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
    max-width: 420px;
    margin: 0;
}

.gleisan-shop-hero__proof div {
    display: flex;
    align-items: baseline;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid var(--gleisan-line);
    border-radius: 6px;
    background: #fff;
}

.gleisan-shop-hero__proof dt {
    margin: 0;
    color: var(--gleisan-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1;
}

.gleisan-shop-hero__proof dd {
    margin: 0;
    color: var(--gleisan-muted);
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
}

.gleisan-category-rail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 18px 0 12px;
}

.gleisan-category-rail__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    padding: 8px 11px;
    border: 1px solid var(--gleisan-line);
    border-radius: 6px;
    background: #fff;
    color: var(--gleisan-ink);
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.gleisan-category-rail__item:hover {
    border-color: rgba(194, 9, 25, 0.36);
    color: var(--gleisan-red);
    box-shadow: 0 6px 16px rgba(31, 36, 46, 0.05);
}

.gleisan-category-rail__item span {
    font-size: 13px;
    font-weight: 800;
    line-height: 1.2;
}

.gleisan-category-rail__item small {
    color: var(--gleisan-muted);
    font-size: 11px;
    line-height: 1.2;
}

.gleisan-category-rail__item.is-all {
    color: #fff;
    background: var(--gleisan-ink);
    border-color: var(--gleisan-ink);
}

.gleisan-category-rail__item.is-all small {
    color: rgba(255, 255, 255, 0.72);
}

.gleisan-shop-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1.4fr) minmax(150px, 1fr) minmax(135px, 0.85fr) minmax(135px, 0.85fr) 88px 88px 98px auto;
    gap: 9px;
    align-items: end;
    margin: 0 0 14px;
    padding: 12px;
    border: 1px solid var(--gleisan-line);
    border-radius: 8px;
    background: #fff;
}

.gleisan-shop-filter__field {
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 5px;
    margin: 0;
}

.gleisan-shop-filter__field span {
    color: var(--gleisan-muted);
    font-size: 10px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

.gleisan-shop-filter input,
.gleisan-shop-filter select {
    width: 100%;
    height: 36px;
    min-width: 0;
    padding: 0 10px;
    border: 1px solid var(--gleisan-line);
    border-radius: 6px;
    background-color: #fff;
    color: var(--gleisan-ink);
    font-size: 13px;
    line-height: 36px;
    box-shadow: none;
}

.gleisan-shop-filter input:focus,
.gleisan-shop-filter select:focus {
    border-color: rgba(194, 9, 25, 0.5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(194, 9, 25, 0.1);
}

.gleisan-shop-filter__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gleisan-shop-filter__actions .button {
    height: 36px;
    padding: 0 15px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    white-space: nowrap;
}

.gleisan-shop-filter__reset {
    color: var(--gleisan-muted);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.gleisan-shop-filter__reset:hover {
    color: var(--gleisan-red);
}

.gleisan-shop-toolbar {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    margin: 18px 0 16px;
}

.gleisan-shop-toolbar .woocommerce-result-count {
    margin: 0;
    color: var(--gleisan-muted);
    font-size: 13px;
}

.gleisan-shop-toolbar .woocommerce-ordering {
    margin: 0;
}

.gleisan-shop-toolbar .woocommerce-ordering select {
    height: 36px;
    min-width: 190px;
    border: 1px solid var(--gleisan-line);
    border-radius: 6px;
    font-size: 13px;
}

.gleisan-view-switcher {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 3px;
    border: 1px solid var(--gleisan-line);
    border-radius: 7px;
    background: #fff;
}

.gleisan-view-switcher__button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    padding: 0 10px;
    border-radius: 5px;
    color: var(--gleisan-muted);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.gleisan-view-switcher__button:hover,
.gleisan-view-switcher__button.is-active {
    color: #fff;
    background: var(--gleisan-ink);
}

.gleisan-view-switcher__icon {
    display: inline-block;
    width: 14px;
    height: 14px;
}

.gleisan-view-switcher__icon--grid {
    background:
        linear-gradient(currentColor 0 0) 0 0 / 5px 5px no-repeat,
        linear-gradient(currentColor 0 0) 9px 0 / 5px 5px no-repeat,
        linear-gradient(currentColor 0 0) 0 9px / 5px 5px no-repeat,
        linear-gradient(currentColor 0 0) 9px 9px / 5px 5px no-repeat;
}

.gleisan-view-switcher__icon--table {
    background:
        linear-gradient(currentColor 0 0) 0 1px / 14px 2px no-repeat,
        linear-gradient(currentColor 0 0) 0 6px / 14px 2px no-repeat,
        linear-gradient(currentColor 0 0) 0 11px / 14px 2px no-repeat;
}

body.gleisan-shop-archive.woocommerce ul.products,
body.gleisan-shop-archive.woocommerce-page ul.products {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
    margin: 0 calc(-1 * var(--gleisan-product-gap, var(--theme-var-grid_gap, 24px))) 0 0;
    padding: 0;
}

body.gleisan-shop-archive.woocommerce ul.products::before,
body.gleisan-shop-archive.woocommerce ul.products::after,
body.gleisan-shop-archive.woocommerce-page ul.products::before,
body.gleisan-shop-archive.woocommerce-page ul.products::after {
    display: none !important;
    content: none !important;
}

body.gleisan-shop-archive.woocommerce ul.products[class*="columns-"] li.product,
body.gleisan-shop-archive.woocommerce-page ul.products[class*="columns-"] li.product {
    display: flex;
    float: none;
    clear: none;
    width: 16.6667%;
    margin: 0;
    padding: 0 var(--gleisan-product-gap, var(--theme-var-grid_gap, 24px)) calc(var(--gleisan-product-gap, var(--theme-var-grid_gap, 24px)) * 1.25) 0;
    box-sizing: border-box;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .post_item {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    min-height: 0;
    padding: 8px;
    border: 1px solid var(--gleisan-line);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 5px 14px rgba(31, 36, 46, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .post_item:hover {
    border-color: rgba(194, 9, 25, 0.28);
    box-shadow: 0 10px 24px rgba(31, 36, 46, 0.08);
    transform: translateY(-1px);
}

body.gleisan-shop-archive.woocommerce ul.products li.product .post_featured {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1;
    margin: 0 0 8px;
    border: 1px solid #f0ede8;
    border-radius: 6px;
    background: #fff;
    overflow: hidden;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .post_featured a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}

body.gleisan-shop-archive.woocommerce ul.products li.product a img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .post_data,
body.gleisan-shop-archive.woocommerce ul.products li.product .post_data_inner {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-width: 0;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .post_data_inner {
    height: 100%;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .post_header {
    min-height: 36px;
    margin: 0 0 5px;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .woocommerce-loop-product__title {
    display: -webkit-box;
    min-height: 0;
    margin: 0;
    overflow: hidden;
    color: var(--gleisan-ink);
    font-family: var(--theme-font-p_font-family, inherit);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .woocommerce-loop-product__title a {
    color: inherit;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .woocommerce-loop-product__title a:hover {
    color: var(--gleisan-red);
}

.gleisan-product-categories {
    display: -webkit-box;
    min-height: 14px;
    margin: 0 0 5px;
    overflow: hidden;
    color: var(--gleisan-blue);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
}

.gleisan-product-categories a {
    color: inherit;
    text-decoration: none;
}

.gleisan-product-categories a:hover {
    color: var(--gleisan-red);
}

.gleisan-product-specs {
    display: flex;
    flex-wrap: wrap;
    align-content: flex-start;
    gap: 4px;
    min-height: 47px;
    max-height: 47px;
    margin: 0 0 6px;
    overflow: hidden;
}

.gleisan-product-specs:empty {
    display: none;
}

body.gleisan-shop-view-grid .gleisan-product-specs span:nth-child(n+3) {
    display: none;
}

.gleisan-product-specs span {
    display: block;
    min-width: 0;
    max-width: 100%;
    padding: 2px 6px;
    border: 1px solid var(--gleisan-line);
    border-radius: 5px;
    color: var(--gleisan-muted);
    font-size: 11px;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gleisan-product-stock {
    min-height: 14px;
    margin: 0 0 6px;
}

.gleisan-product-stock span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gleisan-muted);
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
}

.gleisan-product-stock span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.gleisan-product-stock.is-in-stock span {
    color: var(--gleisan-green);
}

.gleisan-product-stock.is-out-of-stock span {
    color: var(--gleisan-red);
}

body.gleisan-shop-archive.woocommerce ul.products li.product .price_wrap {
    display: flex;
    min-height: 36px;
    align-items: flex-end;
    margin-top: auto;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .price {
    margin: 0;
    color: var(--gleisan-ink);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.25;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .price del {
    display: block;
    margin-bottom: 2px;
    color: #8d9199;
    font-size: 12px;
    font-weight: 500;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .price ins {
    color: var(--gleisan-red);
}

body.gleisan-shop-archive.woocommerce ul.products li.product .add_to_cart_wrap {
    display: block;
    margin-top: 8px;
}

body.gleisan-shop-archive.woocommerce ul.products li.product .add_to_cart_wrap .button {
    width: 100%;
    min-height: 34px;
    padding: 7px 12px !important;
    border-radius: 6px !important;
    font-size: 13px !important;
    text-align: center;
}

body.gleisan-shop-archive.woocommerce span.onsale,
body.gleisan-shop-archive.woocommerce ul.products li.product .onsale {
    margin: 8px;
    padding: 3px 8px 4px;
    border-radius: 999px;
    background: var(--gleisan-red);
    font-size: 11px;
    line-height: 1.1;
}

.gleisan-shop-table-head {
    display: none;
}

body.gleisan-shop-view-table .gleisan-shop-table-head {
    display: grid;
    grid-template-columns: 66px minmax(230px, 1.4fr) minmax(130px, 0.7fr) minmax(210px, 1fr) minmax(130px, 0.62fr) minmax(88px, 0.45fr) minmax(108px, 0.5fr);
    gap: 14px;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--gleisan-line);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    background: var(--gleisan-ink);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
}

body.gleisan-shop-view-table.woocommerce ul.products,
body.gleisan-shop-view-table.woocommerce-page ul.products {
    display: block;
    margin: 0;
    padding: 0;
    border: 1px solid var(--gleisan-line);
    border-radius: 0 0 8px 8px;
    background: #fff;
    overflow: hidden;
}

body.gleisan-shop-view-table.woocommerce ul.products[class*="columns-"] li.product,
body.gleisan-shop-view-table.woocommerce-page ul.products[class*="columns-"] li.product {
    display: block;
    width: 100%;
    padding: 0;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product + li.product {
    border-top: 1px solid var(--gleisan-line);
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .post_item {
    display: grid;
    grid-template-columns: 66px minmax(230px, 1.4fr) minmax(130px, 0.7fr) minmax(210px, 1fr) minmax(130px, 0.62fr) minmax(88px, 0.45fr) minmax(108px, 0.5fr);
    gap: 14px;
    align-items: center;
    min-height: 86px;
    padding: 10px 12px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .post_item:hover {
    transform: none;
    box-shadow: none;
    background: #fbfaf7;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .post_featured {
    grid-column: 1;
    width: 66px;
    margin: 0;
    aspect-ratio: 1 / 1;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .post_data,
body.gleisan-shop-view-table.woocommerce ul.products li.product .post_data_inner {
    display: contents;
    height: auto;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .post_header {
    grid-column: 2;
    min-height: 0;
    margin: 0;
    min-width: 0;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .woocommerce-loop-product__title {
    min-height: 0;
    margin: 0;
    -webkit-line-clamp: 3;
}

body.gleisan-shop-view-table .gleisan-product-categories {
    grid-column: 3;
    margin: 0;
}

body.gleisan-shop-view-table .gleisan-product-specs {
    grid-column: 4;
    min-height: 0;
    max-height: none;
    margin: 0;
    overflow: visible;
}

body.gleisan-shop-view-table .gleisan-product-specs span {
    white-space: normal;
    overflow-wrap: anywhere;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .price_wrap {
    grid-column: 5;
    display: block;
    min-height: 0;
    margin: 0;
}

body.gleisan-shop-view-table .gleisan-product-stock {
    grid-column: 6;
    margin: 0;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .add_to_cart_wrap {
    grid-column: 7;
    margin: 0;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .add_to_cart_wrap .button {
    min-height: 34px;
    padding: 7px 10px !important;
}

body.gleisan-shop-view-table.woocommerce ul.products li.product .onsale {
    display: none;
}

@media (max-width: 1540px) {
    .gleisan-shop-filter {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .gleisan-shop-filter__field--search {
        grid-column: span 2;
    }

    body.gleisan-shop-archive.woocommerce ul.products[class*="columns-"] li.product,
    body.gleisan-shop-archive.woocommerce-page ul.products[class*="columns-"] li.product {
        width: 20%;
    }
}

@media (max-width: 1120px) {
    body.gleisan-shop-view-table .gleisan-shop-table-head,
    body.gleisan-shop-view-table.woocommerce ul.products li.product .post_item {
        grid-template-columns: 62px minmax(210px, 1.35fr) minmax(130px, 0.8fr) minmax(190px, 1fr) minmax(118px, 0.65fr) minmax(100px, 0.55fr);
    }

    body.gleisan-shop-view-table .gleisan-shop-table-head span:nth-child(7) {
        display: none;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product .post_featured {
        width: 62px;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product .add_to_cart_wrap {
        grid-column: 2 / -1;
    }
}

@media (max-width: 1180px) {
    body.gleisan-shop-archive.woocommerce ul.products[class*="columns-"] li.product,
    body.gleisan-shop-archive.woocommerce-page ul.products[class*="columns-"] li.product {
        width: 25%;
    }
}

@media (max-width: 980px) {
    .gleisan-shop-archive .content_wrap {
        padding-left: 22px;
        padding-right: 22px;
    }

    .gleisan-shop-hero {
        grid-template-columns: 1fr;
        gap: 16px;
        padding-top: 28px;
    }

    .gleisan-shop-hero__proof {
        justify-content: flex-start;
        max-width: none;
    }

    .gleisan-shop-filter {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gleisan-shop-toolbar {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .gleisan-shop-toolbar .woocommerce-ordering select {
        width: 100%;
    }

    body.gleisan-shop-archive.woocommerce ul.products[class*="columns-"] li.product,
    body.gleisan-shop-archive.woocommerce-page ul.products[class*="columns-"] li.product {
        width: 33.3333333333%;
    }

    body.gleisan-shop-view-table .gleisan-shop-table-head {
        display: none;
    }

    body.gleisan-shop-view-table.woocommerce ul.products,
    body.gleisan-shop-view-table.woocommerce-page ul.products {
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product + li.product {
        border-top: 0;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product .post_item {
        display: grid;
        grid-template-columns: 86px minmax(0, 1fr);
        gap: 12px;
        min-height: 0;
        margin-bottom: 12px;
        border: 1px solid var(--gleisan-line);
        border-radius: 8px;
        background: #fff;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product .post_featured {
        width: 86px;
        grid-row: span 5;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product .post_header,
    body.gleisan-shop-view-table .gleisan-product-categories,
    body.gleisan-shop-view-table .gleisan-product-specs,
    body.gleisan-shop-view-table.woocommerce ul.products li.product .price_wrap,
    body.gleisan-shop-view-table .gleisan-product-stock,
    body.gleisan-shop-view-table.woocommerce ul.products li.product .add_to_cart_wrap {
        grid-column: 2;
    }
}

@media (max-width: 760px) {
    body.gleisan-shop-archive.woocommerce ul.products[class*="columns-"] li.product,
    body.gleisan-shop-archive.woocommerce-page ul.products[class*="columns-"] li.product {
        width: 50%;
    }
}

@media (max-width: 620px) {
    .gleisan-shop-archive .content_wrap {
        padding-left: 16px;
        padding-right: 16px;
    }

    .gleisan-shop-hero {
        padding: 24px 0 20px;
    }

    .gleisan-shop-hero p {
        font-size: 15px;
    }

    .gleisan-category-rail {
        flex-wrap: nowrap;
        margin-left: -16px;
        margin-right: -16px;
        padding: 0 16px 4px;
        overflow-x: auto;
    }

    .gleisan-category-rail__item {
        flex: 0 0 auto;
    }

    .gleisan-shop-filter {
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .gleisan-shop-filter__field--search {
        grid-column: auto;
    }

    .gleisan-shop-filter__actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gleisan-shop-filter__actions .button,
    .gleisan-shop-filter__reset {
        width: 100%;
        text-align: center;
    }

    .gleisan-shop-archive .gleisan-shop-shell {
        --gleisan-product-gap: 16px;
    }

    body.gleisan-shop-archive.woocommerce ul.products[class*="columns-"] li.product,
    body.gleisan-shop-archive.woocommerce-page ul.products[class*="columns-"] li.product {
        width: 50%;
    }

    body.gleisan-shop-view-table.woocommerce ul.products[class*="columns-"] li.product,
    body.gleisan-shop-view-table.woocommerce-page ul.products[class*="columns-"] li.product {
        width: 100%;
    }

    .gleisan-view-switcher {
        width: 100%;
    }

    .gleisan-view-switcher__button {
        flex: 1 1 0;
        justify-content: center;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product .post_item {
        grid-template-columns: 1fr;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product .post_featured {
        width: 100%;
        grid-column: 1;
        grid-row: auto;
        aspect-ratio: 1 / 1;
    }

    body.gleisan-shop-view-table.woocommerce ul.products li.product .post_header,
    body.gleisan-shop-view-table .gleisan-product-categories,
    body.gleisan-shop-view-table .gleisan-product-specs,
    body.gleisan-shop-view-table.woocommerce ul.products li.product .price_wrap,
    body.gleisan-shop-view-table .gleisan-product-stock,
    body.gleisan-shop-view-table.woocommerce ul.products li.product .add_to_cart_wrap {
        grid-column: 1;
    }
}

@media (max-width: 420px) {
    body.gleisan-shop-archive.woocommerce ul.products[class*="columns-"] li.product,
    body.gleisan-shop-archive.woocommerce-page ul.products[class*="columns-"] li.product {
        width: 100%;
    }
}
