.products-page {
    padding: 42px 0 64px;
    background: #ffffff;
}

.products-inner {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 80px;
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 48px;
}

.filters-toggle {
    display: none;
}

/* FILTERS */

.products-filters {
    position: sticky;
    top: 98px;
    height: fit-content;
}

.products-filter-form {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.filters-top {
    margin-bottom: 22px;
    padding-bottom: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid rgba(24, 32, 40, .10);
}

.filters-top span {
    display: block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6fa945;
}

.filters-top h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #050606;
}

.filters-clear {
    padding-bottom: 2px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    color: #6fa945;
}

.products-search {
    height: 48px;
    margin-bottom: 30px;
    display: grid;
    grid-template-columns: 1fr 48px;
    border: 1px solid rgba(24, 32, 40, .12);
    border-radius: 999px;
    background: #f7f7f6;
    overflow: hidden;
}

.products-search input {
    width: 100%;
    padding: 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    color: #182028;
}

.products-search button {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #6fa945;
    color: #ffffff;
    cursor: pointer;
}

.filter-block {
    margin-bottom: 30px;
    padding-bottom: 26px;
    border-bottom: 1px solid rgba(24, 32, 40, .08);
}

.filter-block:last-child {
    margin-bottom: 0;
}

.filter-block h3 {
    margin: 0 0 15px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #050606;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}

.filter-chip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.filter-chip span {
    padding: 10px 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(24, 32, 40, .14);
    border-radius: 999px;
    background: #ffffff;
    font-size: 13px;
    font-weight: 800;
    line-height: 1;
    color: rgba(24, 32, 40, .74);
    transition: border-color .25s ease, background .25s ease, color .25s ease, box-shadow .25s ease;
}

.filter-chip:hover span {
    border-color: rgba(111, 169, 69, .45);
    color: #4f8d29;
}

.filter-chip.active span,
.filter-chip input:checked + span {
    border-color: #6fa945;
    background: rgba(111, 169, 69, .09);
    color: #4f8d29;
    box-shadow: 0 9px 22px rgba(111, 169, 69, .13);
}

/* HEADER */

.products-content {
    min-width: 0;
}

.products-head {
    margin-bottom: 28px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
}

.products-kicker {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #6fa945;
}

.products-head h1 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 34px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    color: #050606;
}

.products-sort {
    display: flex;
    align-items: center;
    gap: 14px;
}

/* LAYOUT */

.layout-switcher {
    display: flex;
    align-items: center;
    gap: 8px;
}

.layout-btn {
    width: 58px;
    height: 46px;
    border: 1px solid rgba(24, 32, 40, .12);
    border-radius: 12px;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}

.layout-btn:hover,
.layout-btn.is-active {
    border-color: #6fa945;
    background: rgba(111, 169, 69, .08);
    box-shadow: 0 8px 20px rgba(111, 169, 69, .12);
}

.layout-icon {
    display: grid;
    gap: 4px;
}

.layout-icon i {
    width: 8px;
    height: 8px;
    border-radius: 3px;
    background: rgba(24, 32, 40, .22);
}

.layout-btn.is-active .layout-icon i {
    background: #6fa945;
}

.layout-icon-4 {
    grid-template-columns: repeat(4, 8px);
}

.layout-icon-3 {
    grid-template-columns: repeat(3, 8px);
}

.layout-icon-2 {
    grid-template-columns: repeat(2, 8px);
}

.layout-icon-1 {
    grid-template-columns: repeat(1, 8px);
}

/* SORT CUSTOM */

.sort-dropdown {
    position: relative;
    min-width: 190px;
}

.sort-current {
    width: 100%;
    height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(24, 32, 40, .12);
    border-radius: 999px;
    background: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 800;
    color: #182028;
    cursor: pointer;
}

.sort-current i:first-child {
    color: #6fa945;
}

.sort-current i:last-child {
    margin-left: auto;
    font-size: 11px;
    color: rgba(24, 32, 40, .45);
    transition: transform .25s ease;
}

.sort-dropdown.is-open .sort-current {
    border-color: #6fa945;
    background: rgba(111, 169, 69, .06);
}

.sort-dropdown.is-open .sort-current i:last-child {
    transform: rotate(180deg);
}

.sort-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 50;
    width: 100%;
    min-width: 210px;
    padding: 8px;
    border: 1px solid rgba(24, 32, 40, .10);
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(24, 32, 40, .12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.sort-dropdown.is-open .sort-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sort-menu button {
    width: 100%;
    min-height: 42px;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 800;
    color: rgba(24, 32, 40, .75);
    cursor: pointer;
}

.sort-menu button:hover,
.sort-menu button.is-active {
    background: rgba(111, 169, 69, .09);
    color: #4f8d29;
}

.sort-menu button.is-active::after {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 11px;
    color: #6fa945;
}

/* GRID */

.products-grid {
    display: grid;
    gap: 24px;
}

.products-grid.layout-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.products-grid.layout-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.products-grid.layout-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.products-grid.layout-1 {
    grid-template-columns: 1fr;
}

/* CARD */

.product-card,
.product-load-more-card {
    min-height: 430px;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
}

.product-card {
    border: 1px solid rgba(24, 32, 40, .10);
    transition: border-color .32s ease, box-shadow .32s ease;
}

.product-card:hover {
    border-color: rgba(111, 169, 69, .28);

}

.product-card-link {
    min-height: 430px;
    display: flex;
    flex-direction: column;
    color: inherit;
    text-decoration: none;
}

.product-image-wrap {
    width: 100%;
    aspect-ratio: 3 / 2;

    padding: 22px;
    box-sizing: border-box;
    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
    background: #f7f7f7;
}

.product-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;


}



.product-no-image {
    font-size: 13px;
    font-weight: 800;
    color: rgba(24, 32, 40, .35);
}

.product-info {
    padding: 0 26px 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand {
    margin: 0 0 7px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--brand-color, #6fa945);
}

.product-info h2 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 27px;
    font-weight: 700;
    line-height: 1.08;
    text-transform: uppercase;
    color: #050606;
}

.product-separator {
    width: 100%;
    height: 1px;
    margin: 18px 0 16px;
    background: rgba(24, 32, 40, .08);
}

.product-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.product-feature span {
    display: block;
    margin-bottom: 5px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
    color: rgba(24, 32, 40, .56);
}

.product-feature strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
    color: #050606;
}

.product-more {
    margin-top: auto;
    padding-top: 24px;
    display: inline-flex;
    align-items: center;
    gap: 13px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #4f8d29;
}

.product-more i {
    transition: transform .28s ease;
}

.product-card:hover .product-more i {
    transform: translateX(7px);
}

.product-card.is-hidden {
    display: none;
}

/* LOAD MORE */

.product-load-more-card {
    border: 1px dashed rgba(111, 169, 69, .45);
    background:
        radial-gradient(circle at top, rgba(111, 169, 69, .12), transparent 42%),
        #ffffff;
}

.product-load-more-card button {
    width: 100%;
    height: 100%;
    min-height: 430px;
    padding: 36px 26px;
    border: 0;
    background: transparent;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    color: #4f8d29;
}

.load-more-plus {
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(111, 169, 69, .1);
    font-size: 48px;
    font-weight: 300;
    line-height: 1;
}

.load-more-count {
    font-size: 14px;
    font-weight: 700;
    color: rgba(24, 32, 40, .62);
}

.product-load-more-card strong {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    color: #050606;
}

/* EMPTY */

.products-empty {
    padding: 58px 32px;
    border: 1px solid rgba(24, 32, 40, .10);
    border-radius: 12px;
    background: #f7f7f6;
    text-align: center;
}

.products-empty h2 {
    margin: 0 0 10px;
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    text-transform: uppercase;
    color: #050606;
}

.products-empty p {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: rgba(24, 32, 40, .68);
}

/* RESPONSIVE */

@media (max-width: 1300px) {
    .products-inner {
        padding: 0 42px;
        grid-template-columns: 280px minmax(0, 1fr);
        gap: 34px;
    }
}

@media (max-width: 1100px) {
    .products-grid.layout-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .products-grid.layout-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 980px) {
    .products-page {
        padding-top: 30px;
    }

    .products-inner {
        grid-template-columns: 1fr;
    }

    .filters-toggle {
        width: 100%;
        height: 52px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 0 20px;
        border: 1px solid rgba(111, 169, 69, .35);
        border-radius: 999px;
        background: #ffffff;
        font-family: var(--font-heading);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .04em;
        text-transform: uppercase;
        color: #4f8d29;
        cursor: pointer;
        box-shadow: 0 12px 28px rgba(24, 32, 40, .05);
    }

    .filters-toggle::after {
        content: "\f107";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        transition: transform .25s ease;
    }

    .filters-toggle.is-active {
        border-color: #6fa945;
        background: rgba(111, 169, 69, .08);
    }

    .filters-toggle.is-active::after {
        transform: rotate(180deg);
    }

    .filters-toggle span {
        margin-right: auto;
    }

    .products-filters {
        position: static;
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height .35s ease, opacity .25s ease;
    }

    .products-filters.is-open {
        max-height: 5000px;
        opacity: 1;
    }

    .products-filter-form {
        margin-top: 18px;
        padding: 24px 22px;
        border: 1px solid rgba(24, 32, 40, .09);
        border-radius: 14px;
        background: #ffffff;
        box-shadow: 0 16px 34px rgba(24, 32, 40, .06);
    }

    .products-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .products-sort {
        width: 100%;
        flex-wrap: wrap;
    }

    .layout-switcher {
        width: 100%;
    }

    .layout-btn {
        flex: 1;
    }

    .sort-dropdown {
        width: 100%;
    }
}

@media (max-width: 760px) {
    .products-page {
        padding: 26px 0 46px;
    }

    .products-inner {
        padding: 0 22px;
    }

    .products-head h1 {
        font-size: 28px;
    }

    .product-card,
    .product-card-link,
    .product-load-more-card,
    .product-load-more-card button {
        min-height: 400px;
    }

    .product-image-wrap {
        height: 210px;
    }

    .product-info h2 {
        font-size: 23px;
    }
}

@media (max-width: 420px) {
    .products-grid.layout-1 {
        grid-template-columns: 1fr;
    }

    .product-card,
    .product-card-link,
    .product-load-more-card,
    .product-load-more-card button {
        min-height: 380px;
    }

    .product-image-wrap {
        height: 185px;
        padding: 22px 18px 10px;
    }

    .product-info {
        padding: 0 18px 22px;
    }

    .product-info h2 {
        font-size: 21px;
    }

    .product-features {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}