/**
 * WooCommerce shop catalog — Leafy Market
 * Reuses .product-card styles from product-cards.css
 */

/* -------------------------------------------------------------------------- */
/* Layout                                                                     */
/* -------------------------------------------------------------------------- */

.shop-catalog {
    padding-block: 28px 64px;
    background:
        radial-gradient(90% 80% at 0% 0%, rgba(105, 219, 124, 0.08), transparent 50%),
        radial-gradient(70% 60% at 100% 20%, rgba(192, 235, 117, 0.06), transparent 45%),
        var(--color-bg, #fff);
}

/* Shop cards: always show add-to-cart bar (hover-only breaks clicks on grid). */
.shop-catalog .product-card--show .product-card__atc-bar {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
}

.shop-catalog .product-card--show .product-card__actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.shop-catalog__inner {
    display: grid;
    gap: 24px;
    align-items: start;
}

.shop-catalog__filters-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-self: start;
    padding: 10px 16px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    background: var(--white);
    color: var(--color-title);
    font-family: var(--entities-font);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-catalog__filters-toggle:hover {
    border-color: var(--color-primary);
}

.shop-catalog__filters-badge {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-primary);
}

.shop-catalog__main {
    min-width: 0;
    transition: opacity 0.16s ease;
}

.shop-catalog__main.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.shop-catalog__empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.shop-catalog__empty .woocommerce-info,
.shop-catalog__empty .woocommerce-message,
.shop-catalog__empty .woocommerce-error {
    margin: 0;
    width: 100%;
}

.shop-catalog__empty p {
    margin: 0;
    color: var(--color-text-muted, var(--gray-40));
    font-size: var(--body-font-size);
}

/* -------------------------------------------------------------------------- */
/* Toolbar                                                                    */
/* -------------------------------------------------------------------------- */

.shop-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    margin-block-end: 20px;
    padding-block-end: 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-toolbar__count {
    margin: 0;
    color: var(--gray-40);
    font-size: var(--small-font-size);
}

.shop-toolbar__ordering .woocommerce-ordering {
    margin: 0;
}

.shop-toolbar__ordering select {
    appearance: none;
    min-width: 180px;
    padding: 10px 36px 10px 14px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    background:
        var(--white)
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E")
        no-repeat right 12px center;
    color: var(--color-title);
    font-family: var(--primary-font);
    font-size: 14px;
    cursor: pointer;
}

.shop-toolbar__ordering select:focus {
    outline: 2px solid var(--green-90);
    outline-offset: 1px;
    border-color: var(--color-primary);
}

/* -------------------------------------------------------------------------- */
/* Product grid — match Product Cards block                                   */
/* -------------------------------------------------------------------------- */

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

.shop-products.products,
.shop-products.product-cards__grid,
.woocommerce ul.products.shop-products {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    float: none;
    width: 100%;
}

.shop-products__item,
.shop-products .product,
.woocommerce ul.products.shop-products li.product {
    list-style: none;
    margin: 0 !important;
    padding: 0;
    width: 100% !important;
    max-width: none !important;
    min-width: 0;
    float: none !important;
    clear: none !important;
    display: flex;
    height: 100%;
}

.shop-products .product-card {
    width: 100%;
    min-width: 0;
    height: 100%;
}

.shop-products .product-card a img,
.woocommerce ul.products.shop-products li.product a img {
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}

/* -------------------------------------------------------------------------- */
/* Pagination                                                                 */
/* -------------------------------------------------------------------------- */

.shop-pagination {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-block-start: 40px;
}

.shop-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding-inline: 12px;
    color: var(--color-title);
    text-decoration: none;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-md);
    background: var(--white);
    font-family: var(--entities-font);
    font-weight: 600;
    font-size: 14px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.shop-pagination .page-numbers:hover,
.shop-pagination .page-numbers.current {
    color: var(--white);
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.shop-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    pointer-events: none;
}

/* -------------------------------------------------------------------------- */
/* Filters sidebar                                                            */
/* -------------------------------------------------------------------------- */

.shop-filters {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 80;
    width: min(100%, 340px);
    max-width: 100%;
    padding: 20px 20px 32px;
    background: var(--white);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 12px 0 40px rgba(0, 0, 0, 0.12);
    overflow-y: auto;
    transform: translateX(-105%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
}

.shop-filters.is-open {
    transform: translateX(0);
    visibility: visible;
}

.shop-filters__backdrop {
    position: fixed;
    inset: 0;
    z-index: 70;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.28s ease, visibility 0.28s ease;
}

.shop-filters__backdrop.is-open {
    opacity: 1;
    visibility: visible;
}

body.shop-filters-open {
    overflow: hidden;
}

.shop-filters__header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-block-end: 20px;
    padding-block-end: 14px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-filters__title {
    margin: 0;
    flex: 1;
    font-family: var(--entities-font);
    font-size: 18px;
    font-weight: 700;
    color: var(--color-title);
}

.shop-filters__clear {
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.shop-filters__clear:hover {
    text-decoration: underline;
}

.shop-filters__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-inline-start: auto;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--border-radius-md);
    background: var(--white-97);
    color: var(--color-title);
    cursor: pointer;
}

.shop-filters__group {
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    min-inline-size: 0;
}

.shop-filters__group + .shop-filters__group {
    margin-block-start: 0;
}

.shop-filters__group:last-of-type {
    border-bottom: 0;
}

.shop-filters__group.is-active > .shop-filters__legend {
    color: var(--color-primary);
    background: color-mix(in srgb, var(--color-primary) 10%, var(--white));
}

.shop-filters__legend {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 10px 8px 10px 10px;
    border-radius: 10px;
    font-family: var(--entities-font);
    font-size: 15px;
    font-weight: 700;
    color: var(--color-title);
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.shop-filters__legend::-webkit-details-marker {
    display: none;
}

.shop-filters__legend::marker {
    content: "";
}

.shop-filters__legend > span:first-child {
    flex: 1;
}

.shop-filters__chev {
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    margin-inline-start: auto;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transform-origin: 50% 50%;
    opacity: 0.55;
    transition: transform 0.18s ease, opacity 0.18s ease;
}

.shop-filters__group[open] > .shop-filters__legend .shop-filters__chev {
    transform: translateY(2px) rotate(225deg);
    opacity: 0.85;
}

.shop-filters__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.shop-filters__list {
    list-style: none;
    margin: 0;
    padding: 4px 0 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    max-height: none;
    overflow: visible;
}

.shop-filters__list--children {
    margin: 0 0 6px 8px;
    padding: 4px 0 2px 8px;
    border-inline-start: 2px solid color-mix(in srgb, var(--color-primary) 22%, rgba(0, 0, 0, 0.08));
    display: none;
}

.shop-filters__item--branch.is-expanded > .shop-filters__list--children {
    display: flex;
}

.shop-filters__list--collapsible:not(.is-expanded) > .shop-filters__item--overflow {
    display: none;
}

.shop-filters__item {
    width: 100%;
}

.shop-filters__row {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 2px;
    width: 100%;
    border-radius: 10px;
    transition: background-color 0.15s ease;
}

.shop-filters__row:has(input:checked) {
    background: color-mix(in srgb, var(--color-primary) 12%, var(--white));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.shop-filters__check--box {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 8px;
    min-height: 44px;
}

.shop-filters__expand {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    padding: 8px 8px 8px 2px;
    border: 0;
    border-radius: 10px;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: start;
    cursor: pointer;
}

.shop-filters__expand .shop-filters__check-label {
    flex: 1 1 auto;
    min-width: 0;
}

.shop-filters__expand .shop-filters__count {
    margin-inline-start: 0;
}

.shop-filters__expand .shop-filters__chev {
    margin-inline-start: 0;
}

.shop-filters__expand:hover {
    background: var(--green-99);
}

.shop-filters__row:has(input:checked) .shop-filters__expand:hover {
    background: transparent;
}

.shop-filters__expand-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: var(--gray-50);
    transition: transform 0.18s ease;
    pointer-events: none;
}

.shop-filters__item--branch.is-expanded > .shop-filters__row .shop-filters__chev {
    transform: translateY(2px) rotate(225deg);
    opacity: 0.85;
}

.shop-filters__more {
    list-style: none;
}

.shop-filters__more-btn {
    display: inline-flex;
    align-items: center;
    margin: 2px 0 4px 26px;
    padding: 4px 0;
    border: 0;
    background: none;
    color: var(--color-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.shop-filters__more-btn:hover {
    text-decoration: underline;
}

.shop-filters__list--collapsible.is-expanded .shop-filters__more-more,
.shop-filters__list--collapsible:not(.is-expanded) .shop-filters__more-less {
    display: none;
}

.shop-filters__check {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 8px 8px;
    border-radius: 10px;
    cursor: pointer;
    transition: background-color 0.15s ease, box-shadow 0.15s ease;
}

.shop-filters__check:hover {
    background: var(--green-99);
}

.shop-filters__check:has(input:checked) {
    background: color-mix(in srgb, var(--color-primary) 12%, var(--white));
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--color-primary) 35%, transparent);
}

.shop-filters__check:has(input:checked):hover {
    background: color-mix(in srgb, var(--color-primary) 16%, var(--white));
}

.shop-filters__check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--color-primary);
    cursor: pointer;
}

.shop-filters__check-label {
    flex: 1 1 auto;
    font-size: 14px;
    color: var(--color-text);
    line-height: 1.3;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.shop-filters__check:has(input:checked) .shop-filters__check-label,
.shop-filters__row:has(input:checked) .shop-filters__check-label {
    font-weight: 700;
    color: var(--color-title);
}

.shop-filters__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    margin-inline-start: auto;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.06);
    color: var(--gray-40);
    font-size: 11px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    justify-self: end;
}

.shop-filters__check:has(input:checked) .shop-filters__count,
.shop-filters__row:has(input:checked) .shop-filters__count {
    background: var(--color-primary);
    color: var(--white);
}

.shop-filters__check--rating .shop-filters__rating-label {
    margin-inline-start: 0;
    flex: 0 0 auto;
}

.shop-filters__stars {
    display: inline-flex;
    gap: 1px;
    letter-spacing: 0;
    line-height: 1;
}

.shop-filters__star {
    color: #d6d6d6;
    font-size: 14px;
}

.shop-filters__star.is-filled {
    color: var(--color-star, #eabe12);
}

.shop-filters__rating-label {
    font-size: 13px;
    color: var(--gray-40);
}

/* Price dual range                                                     */

.shop-price-range {
    position: relative;
    padding-block: 12px 4px;
}

.shop-price-range__track {
    position: relative;
    height: 4px;
    margin-block-end: 18px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.1);
}

.shop-price-range__fill {
    position: absolute;
    top: 0;
    bottom: 0;
    border-radius: inherit;
    background: var(--color-primary);
}

.shop-price-range__input {
    position: absolute;
    left: 0;
    top: 8px;
    width: 100%;
    height: 20px;
    margin: 0;
    background: none;
    pointer-events: none;
    appearance: none;
    -webkit-appearance: none;
}

.shop-price-range__input::-webkit-slider-runnable-track {
    height: 4px;
    background: transparent;
}

.shop-price-range__input::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin-top: -7px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    cursor: pointer;
}

.shop-price-range__input::-moz-range-track {
    height: 4px;
    background: transparent;
    border: 0;
}

.shop-price-range__input::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    background: var(--white);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    pointer-events: auto;
    cursor: pointer;
}

.shop-price-range__values {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-block-start: 28px;
    font-family: var(--entities-font);
    font-size: 14px;
    font-weight: 700;
    color: var(--color-title);
}

.shop-price-range__sep {
    color: var(--gray-50);
    font-weight: 500;
}

/* -------------------------------------------------------------------------- */
/* Notices                                                                    */
/* -------------------------------------------------------------------------- */

.woocommerce-notices-wrapper,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    margin-block-end: 20px;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    list-style: none;
    margin: 0 0 12px;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: var(--green-99);
    color: var(--color-title);
    font-size: 14px;
}

.woocommerce-error {
    background: #fff5f5;
    border-color: rgba(217, 83, 79, 0.25);
}

/* -------------------------------------------------------------------------- */
/* Password show/hide toggle (WC injects .show-password-input via JS)         */
/* -------------------------------------------------------------------------- */

.woocommerce .password-input {
    display: block;
    position: relative;
    width: 100%;
}

.woocommerce .password-input input[type="password"],
.woocommerce .password-input input[type="text"] {
    width: 100%;
    padding-inline-end: 2.75rem;
}

.woocommerce .password-input input::-ms-reveal {
    display: none;
}

.woocommerce .show-password-input {
    position: absolute;
    top: 50%;
    right: 0.7em;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--gray-40, #666);
    cursor: pointer;
    transform: translateY(-50%);
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
}

.woocommerce .show-password-input:hover {
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-title, #242424);
}

.woocommerce .show-password-input::before {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17.3 3.3C16.9 2.9 16.2 2.9 15.7 3.3L13.3 5.7C12.2437 5.3079 11.1267 5.1048 10 5.1C6.2 5.2 2.8 7.2 1 10.5C1.2 10.9 1.5 11.3 1.8 11.7C2.6 12.8 3.6 13.7 4.7 14.4L3 16.1C2.6 16.5 2.5 17.2 3 17.7C3.4 18.1 4.1 18.2 4.6 17.7L17.3 4.9C17.7 4.4 17.7 3.7 17.3 3.3ZM6.7 12.3L5.4 13.6C4.2 12.9 3.1 11.9 2.3 10.7C3.5 9 5.1 7.8 7 7.2C5.7 8.6 5.6 10.8 6.7 12.3ZM10.1 9C9.6 8.5 9.7 7.7 10.2 7.2C10.7 6.8 11.4 6.8 11.9 7.2L10.1 9ZM18.3 9.5C17.8 8.8 17.2 8.1 16.5 7.6L15.5 8.6C16.3 9.2 17 9.9 17.6 10.8C15.9 13.4 13 15 9.9 15H9.1L8.1 16C8.8 15.9 9.4 16 10 16C13.3 16 16.4 14.4 18.3 11.7C18.6 11.3 18.8 10.9 19.1 10.5C18.8 10.2 18.6 9.8 18.3 9.5ZM14 10L10 14C12.2 14 14 12.2 14 10Z' fill='%23666666'/%3E%3C/svg%3E");
}

.woocommerce .show-password-input.display-password::before {
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M18.3 9.49999C15 4.89999 8.50002 3.79999 3.90002 7.19999C2.70002 8.09999 1.70002 9.29999 0.900024 10.6C1.10002 11 1.40002 11.4 1.70002 11.8C5.00002 16.4 11.3 17.4 15.9 14.2C16.8 13.5 17.6 12.8 18.3 11.8C18.6 11.4 18.8 11 19.1 10.6C18.8 10.2 18.6 9.79999 18.3 9.49999ZM10.1 7.19999C10.6 6.69999 11.4 6.69999 11.9 7.19999C12.4 7.69999 12.4 8.49999 11.9 8.99999C11.4 9.49999 10.6 9.49999 10.1 8.99999C9.60003 8.49999 9.60003 7.69999 10.1 7.19999ZM10 14.9C6.90002 14.9 4.00002 13.3 2.30002 10.7C3.50002 8.99999 5.10002 7.79999 7.00002 7.19999C6.30002 7.99999 6.00002 8.89999 6.00002 9.89999C6.00002 12.1 7.70002 14 10 14C12.2 14 14.1 12.3 14.1 9.99999V9.89999C14.1 8.89999 13.7 7.89999 13 7.19999C14.9 7.79999 16.5 8.99999 17.7 10.7C16 13.3 13.1 14.9 10 14.9Z' fill='%23666666'/%3E%3C/svg%3E");
}

/* Prevent account/checkout button styles from painting the toggle green */
.account-page .show-password-input,
.account-page .show-password-input:hover,
.checkout-page .show-password-input,
.checkout-page .show-password-input:hover {
    min-height: 28px;
    padding: 0;
    background: transparent;
    color: inherit;
    box-shadow: none;
}

.account-page .show-password-input:hover,
.checkout-page .show-password-input:hover {
    background: rgba(0, 0, 0, 0.04);
}

/* -------------------------------------------------------------------------- */
/* Breakpoints                                                                */
/* -------------------------------------------------------------------------- */

@media (min-width: 768px) {
    .shop-products.products,
    .shop-products.product-cards__grid,
    .woocommerce ul.products.shop-products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .shop-catalog {
        padding-block: 36px 80px;
    }

    .shop-catalog__inner {
        grid-template-columns: 260px minmax(0, 1fr);
        gap: 36px;
        align-items: start;
    }

    .shop-catalog__filters-toggle {
        display: none;
    }

    .shop-filters {
        position: sticky;
        top: 24px;
        inset: auto;
        z-index: 2;
        width: auto;
        max-height: none;
        padding: 0;
        border: 0;
        box-shadow: none;
        background: transparent;
        transform: none;
        visibility: visible;
        overflow: visible;
        align-self: start;
    }

    /* Sit below sticky header once it pins */
    body:has(.site-header.is-scrolled) .shop-filters {
        top: 96px;
    }

    .shop-filters__close,
    .shop-filters__backdrop {
        display: none !important;
    }

    .shop-filters__form {
        padding: 18px 18px 16px;
        background: var(--white);
        border: 1px solid rgba(0, 0, 0, 0.06);
        border-radius: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
        max-height: none;
        overflow: visible;
    }

    .shop-filters__header {
        margin-block-end: 18px;
        padding-block-end: 12px;
    }

    .shop-products.products,
    .shop-products.product-cards__grid,
    .woocommerce ul.products.shop-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (min-width: 1280px) {
    .shop-catalog__inner {
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 44px;
    }
}
