.custom-catalog__wrapper {
    padding-bottom: 50px;
}

.custom-catalog__header {
    display: flex;
    align-items: end;
    gap: 8px;
}

.custom-catalog__header h2 {
    line-height: 125%;
    color: var(--title-color);
    margin: 0;
    /*font-family: "manrope_semibold", sans-serif;*/
    font-weight: 600;
    font-size: calc(
            20px + 16 * ((100vw - 360px) / 1560)
    );
}

.custom-catalog__header span {
    font-size: 24px;
    line-height: 140%;
    /*font-family: "manrope_medium", sans-serif;*/
    font-weight: 500;
    color: color-mix(in srgb, var(--main-text) calc(0.6 * 100%), transparent);
}

.custom-catalog__header--brand {
    border-radius: 12px;
    padding: 24px 0;
    align-items: start;
    gap: 24px;
}

.custom-catalog__header--brand img {
    max-width: 164px;
    width: 100%;
    border-radius: 12px;
}

.custom-catalog__header--brand .text {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.custom-catalog__header--brand .text p {
    font-size: 18px;
    line-height: 125%;
    color: var(--main-text);
}

.custom-catalog-category {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    row-gap: 32px;
}

.custom-catalog-category__container {
    position: relative;
}

.custom-catalog-category__container--grid {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(5, 1fr);
}

.custom-catalog-category__swiper {
    overflow: hidden;
    /*width: 100%;*/
    /*margin: 0 auto;*/
    transition: var(--default-transition);
    margin: 0;
    width: calc(100% - 40px);
}

.custom-catalog-category__swiper:not(.swiper-initialized) {
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    transition: opacity 0.3s ease;
}

.custom-catalog-category__swiper .swiper-initialized {
    opacity: 1;
    visibility: visible;
    height: auto;
}

.custom-catalog-category__swiper.swiper-scrolled {
    padding-right: 0;
    margin: 0 auto;
    width: calc(100% - 70px);
}

.custom-catalog-category__nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--default-transition);
}

.custom-catalog-category__nav-button.hidden {
    opacity: 0;
    pointer-events: none;
}

.custom-catalog-category__nav-button--prev {
    left: 0;
}

.custom-catalog-category__nav-button--next {
    right: 0;
}

.custom-catalog-category__nav-button img {
    width: 16px;
    height: 16px;
}

.custom-catalog-category__card {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--stroke-color);
    border-radius: 12px;
    height: 100%;
    transition: var(--default-transition);
    cursor: pointer;
    text-decoration-line: unset !important;
}

.custom-catalog-category__card img {
    width: 43px;
    height: 43px;
    object-fit: cover;
}

.custom-catalog-category__card:hover {
    opacity: 0.7;
    border: 1px solid var(--theme-base-color);
}

.custom-catalog-category__text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.custom-catalog-category__text h5 {
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    overflow: hidden;
    margin: 0;
    color: var(--title-color);
    font-size: 14px;
    line-height: 125%;
}

.custom-catalog-category__text p {
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    overflow: hidden;
    margin: 0;
    color: var(--main-text);
    font-size: 12px;
    line-height: 125%;
}

.custom-catalog-category__grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.custom-catalog-characteristic {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 1px;
}

.custom-catalog-characteristic::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

.custom-catalog-characteristic__item {
    padding: 8px 16px;
    background-color: var(--filter-category-item-background-color);
    transition: var(--default-transition);
    border-radius: 8px;
    font-size: 14px;
    line-height: 125%;
    color: var(--main-text);
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.custom-catalog-characteristic__item.is-active {
    background-color: var(--primary);
    color: var(--white);
}

.custom-catalog-characteristic__item.is-active img {
    width: 12px;
    height: 12px;
    transition: var(--default-transition);
}

.custom-catalog-content {
    display: flex;
    gap: 20px;
    margin-top: 48px;
}

.custom-catalog-filters__wrapper {
    max-width: 316px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: var(--default-transition);
}

.custom-catalog-filters__wrapper form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    background-color: var(--filter-category-item-background-color);
    padding: 24px;
    border-radius: 12px;
    position: relative;
    transition: var(--default-transition);
}

.custom-catalog-filters__wrapper form .filter__popup {
    z-index: 1001;
    position: absolute;
    left: -10px;
    transform: translateX(100%);
    background-color: var(--white);
    box-shadow: 0px 4px 12px 0px rgba(130, 130, 130, 0.2), -20px 4px 20px 0px rgba(194, 194, 194, 0.25);
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 20px;
    gap: 10px;
    transition: var(--default-transition);
}

.custom-catalog-filters__wrapper form .filter__popup::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 8px 8px 0;
    border-color: transparent var(--white) transparent transparent;
    filter: drop-shadow(-2px 0 2px rgba(194, 194, 194, 0.25));
}

.custom-catalog-filters__wrapper form .filter__popup p {
    font-size: 14px;
    line-height: 120%;
    color: var(--main-text);
    margin: 0;
}

.custom-catalog-filters__wrapper form .filter__popup button {
    max-width: 150px;
    width: 100%;
    justify-content: center;
}

.custom-catalog-filters__wrapper form .filter__popup.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.custom-catalog-filters__wrapper ul {
    margin: 0;
    gap: 24px;
    background-color: unset;
}

.custom-catalog-filters__wrapper ul li::before {
    content: unset;
}

.custom-catalog-filters__wrapper ul li h1,
.custom-catalog-filters__wrapper ul li h2,
.custom-catalog-filters__wrapper ul li h3,
.custom-catalog-filters__wrapper ul li h4,
.custom-catalog-filters__wrapper ul li h5,
.custom-catalog-filters__wrapper ul li p {
    margin: 0;
}

.custom-catalog-filters__wrapper.is-active {
    opacity: 1;
    pointer-events: auto;
}

.custom-catalog-filters__wrapper.is-active form {
    transform: translateX(0);
}

.custom-catalog-filters .accordion_item .accordion_content {
    /*padding: 0 0 0 0px !important;*/
}

.custom-catalog-filters .accordion_item.active .accordion_content {
    /*padding: 12px 0 0 0px !important;*/
    /*border: none !important;*/
}

.custom-catalog-filters__header {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: center;
}

.custom-catalog-filters__header h5 {
    font-size: 16px;
    color: var(--title-color);
    line-height: 150%;
    /*font-family: "manrope_semibold", sans-serif;*/
    font-weight: 600;
}

.custom-catalog-filters__header img {
    width: 14px;
    height: 14px;
    transition: var(--default-transition);
    cursor: pointer;
    display: none;
}

html body .custom-catalog__filter {
    /*border: none !important;*/
    border: none;
    margin: 0;
}

.custom-catalog__filter .select__header {
    padding: 0;
    gap: 2px;
    justify-content: space-between;
    font-size: 14px;
    line-height: 145%;
    color: var(--main-text);
    /*border-bottom: none !important;*/
    border-bottom: none;
    /*font-family: "manrope_semibold", sans-serif;*/
    font-weight: 600;
}

.custom-catalog__filter .select__header img {
    max-width: 24px;
    transform: rotate(180deg);
    transition: var(--default-transition);
}

.custom-catalog__filter.active .select__header img {
    transform: rotate(0deg);
}

.custom-catalog__filter .accordion_content {
    /*padding: 0 !important;*/
}

.custom-catalog__filter .accordion_content button {
    display: flex;
    gap: 12px;
    color: var(--main-text);
    line-height: 145%;
    padding: 0;
    flex-wrap: nowrap;
}

.custom-catalog__filter .accordion_content button span {
    font-size: 14px;
    line-height: 145%;
    color: color-mix(in srgb, var(--main-text) calc(0.7 * 100%), transparent);
}

.custom-catalog__filter .accordion_content .accordion_hidden-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-catalog__filter::before {
    content: unset;
}

.custom-catalog__btns {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 4px;
}

.custom-catalog__btns button {
    max-width: unset;
    width: 100%;
    justify-content: center;
}

.custom-catalog__sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.custom-catalog__sidebar a img {
    width: 100%;
}

.custom-catalog__settings {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.custom-catalog__settings form {
    display: flex;
    gap: 48px;
    align-items: center;
    width: 100%;
}

.custom-catalog__settings-filter {
    display: none;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid var(--stroke-color);
    font-size: 14px;
    line-height: 125%;
    color: var(--title-color);
    transition: var(--default-transition);
    border-radius: var(--border-radius);
    cursor: pointer;
}

.custom-catalog__settings-filter img {
    width: 14px;
    height: 14px;
}

.custom-catalog__toggle {
    display: flex;
    align-items: center;
    flex: 1 1 auto;
    justify-content: end;
    margin-bottom: 8px;
}

.custom-catalog__toggle .item {
    cursor: pointer;
    /*padding: 18px;*/
    padding: 12px;
    border: none;
    border-left: 1px solid var(--stroke-color);
    background-color: unset;
}

.toggle-panel__item  .item svg {
    transition: var(--default-transition);
    /*color: color-mix(in srgb, var(--primary) calc(0.6 * 100%), transparent);*/
    color: var(--primary);
    opacity: .5;
}

.custom-catalog__toggle .item svg rect {
    transition: var(--default-transition);
}

/*.custom-catalog__toggle .item svg {*/
/*    color: color-mix(in srgb, var(--primary) calc(0.6 * 100%), transparent);*/
/*}*/

/*.custom-catalog__toggle .item svg {*/
/*    stroke: color-mix(in srgb, var(--primary) calc(0.6 * 100%), transparent);*/
/*}*/

/*.custom-catalog__toggle .item.is-active svg {*/
/*    fill: color-mix(in srgb, var(--primary) calc(1 * 100%), transparent);*/
/*}*/

.toggle-panel__item.toggle-panel__item--current .item svg {
    opacity: 1;
}

/*.custom-catalog__toggle .item.is-active svg {*/
/*    stroke: color-mix(in srgb, var(--primary) calc(1 * 100%), transparent);*/
/*}*/

.custom-catalog__items {
    flex: 1;
}

.custom-catalog__grid {
    margin-top: 12px;
}

.custom-catalog__grid.grid {
    display: grid;
    row-gap: 24px;
    column-gap: 8px;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
}

.custom-catalog__grid.row {
    display: grid;
    row-gap: 20px;
    grid-template-columns: 1fr;
    position: relative;
}

.custom-catalog__grid.list {
    display: grid;
    grid-template-columns: 1fr;
    position: relative;
}

.custom-catalog__bottom {
    display: flex;
    align-items: center;
    width: 100%;
    justify-content: space-between;
    margin-top: 40px;
}

.custom-catalog__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 100px;
}

.custom-catalog__text p {
    margin: 0;
    color: var(--main-text);
    line-height: 145%;
    font-size: 16px;
}

.custom-catalog__ad {
    padding: 50px 0;
    width: 100%;
}

.custom-catalog__ad img {
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.custom-catalog-list__grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.custom-catalog-list__grid .item {
    padding: 20px 24px;
    background-color: var(--white);
    border: 1px solid var(--stroke-color);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 5px;
    height: 100%;
    min-height: 120px;
}

.custom-catalog-list__grid .item h5 {
    margin: 0;
    font-size: 18px;
    color: var(--title-color);
    line-height: 125%;
}

.custom-catalog-list__grid .item p {
    margin: 0;
    font-size: 12px;
    line-height: 125%;
    color: var(--main-text);
}

.custom-catalog-seo {
    padding: 50px 0;
}

.custom-catalog-seo__content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.custom-catalog-seo__content h3 {
    line-height: 125%;
    color: var(--title-color);
    /*font-family: "manrope_semibold", sans-serif;*/
    font-weight: 600;
    font-size: calc(
            20px + 16 * ((100vw - 360px) / 1560)
    );
}

.custom-catalog-seo__text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.custom-catalog-seo__text p {
    font-size: 16px;
    line-height: 145%;
    color: var(--main-text);
}

@media screen and (max-width: 1440px) {
    .custom-catalog-filters__wrapper form {
        padding: 16.0px;
    }

    .custom-catalog-filters__wrapper {
        max-width: 256.0px;
    }

    .custom-catalog__settings form {
        gap: 24.0px;
    }
}

@media screen and (max-width: 1200px) {
    .custom-catalog-category__container--grid {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .custom-catalog-category {
        margin-top: 24.0px;
        row-gap: 24.0px;
    }

    .custom-catalog-filters__wrapper form .filter__popup {
        display: none;
    }

    .custom-catalog-filters__wrapper:not(.responsive) form {
        transform: translateX(-400.0px);
        background-color: var(--white);
        max-width: 375.0px;
        height: 100%;
        justify-content: space-between;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 3px 0 10px 0 rgba(0, 0, 0, 0.45);
        border-radius: unset;
    }

    .custom-catalog-filters__wrapper:not(.responsive) {
        max-width: unset;
        position: fixed;
        pointer-events: none;
        background-color: rgba(0, 0, 0, 0.7);
        width: 100%;
        height: 100%;
        z-index: 100002;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .custom-catalog-filters__header img {
        display: block;
    }

    .custom-catalog__sidebar {
        display: none;
    }

    .custom-catalog__settings-filter {
        display: flex;
    }

    .custom-catalog__settings {
        align-items: start;
    }

    .custom-catalog__toggle .item {
        padding: 12.0px;
    }

    .custom-catalog__grid {
        margin-top: 8.0px;
    }

    .custom-catalog__bottom {
        margin-top: 20.0px;
    }

    .custom-catalog__ad img {
        min-height: 150.0px;
    }

    .custom-catalog-list__grid {
        margin-top: 24.0px;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 991px) {
    .custom-catalog-filters__wrapper form {
        transform: translateX(-400.0px);
        background-color: var(--white);
        max-width: 375.0px;
        height: 100%;
        justify-content: space-between;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: 3px 0 10px 0 rgba(0, 0, 0, 0.45);
        border-radius: unset;
    }

    .custom-catalog-filters__wrapper {
        max-width: unset;
        position: fixed;
        pointer-events: none;
        background-color: rgba(0, 0, 0, 0.7);
        width: 100%;
        height: 100%;
        z-index: 100002;
        top: 0;
        left: 0;
        opacity: 0;
    }
    .custom-catalog__wrapper {
        padding-bottom: 25.0px;
    }

    .custom-catalog__header span {
        font-size: 20.0px;
    }

    .custom-catalog__header--brand img {
        max-width: 100.0px;
    }

    .custom-catalog__header--brand .text p {
        font-size: 14.0px;
    }

    .custom-catalog__header--brand .text {
        gap: 12.0px;
    }

    .custom-catalog__header--brand {
        gap: 12.0px;
    }

    /*.custom-catalog-category__grid {*/
    /*    display: flex;*/
    /*    gap: 12.0px;*/
    /*    overflow-x: auto;*/
    /*}*/

    /*.custom-catalog-category__grid > * {*/
    /*    flex-shrink: 0;*/
    /*}*/

    .custom-catalog__settings form {
        justify-content: start;
        gap: 8.0px;
    }

    .custom-catalog__settings {
        flex-direction: column-reverse;
    }

    .custom-catalog__toggle {
        display: none;
    }

    .custom-catalog__text p {
        font-size: 12.0px;
    }

    .custom-catalog__text {
        padding-top: 50.0px;
        gap: 8.0px;
    }

    .custom-catalog__ad {
        padding: 25.0px 0;
    }

    .custom-catalog-list__grid .item h5 {
        font-size: 16.0px;
    }

    .custom-catalog-list__grid .item {
        padding: 14.0px 16.0px;
    }

    .custom-catalog-list__grid {
        margin-top: 20.0px;
        grid-template-columns: 1fr 1fr;
        gap: 12.0px;
    }

    .custom-catalog-seo__content {
        gap: 24.0px;
    }

    .custom-catalog-seo__text p {
        font-size: 14.0px;
    }

    .custom-catalog-seo {
        padding: 25.0px 0;
    }
}

@media screen and (max-width: 768px) {
    .custom-catalog__header span {
        font-size: 14.0px;
    }

    .custom-catalog__header {
        flex-direction: column;
        align-items: start;
    }

    .custom-catalog-category {
        margin-top: 18.0px;
        row-gap: 18.0px;
    }

    .custom-catalog-characteristic {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .custom-catalog-characteristic > * {
        flex-shrink: 0;
    }

    .custom-catalog__grid.grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 16.0px;
    }

    .custom-catalog__bottom {
        margin-top: 20.0px;
        flex-direction: column;
        gap: 15.0px;
    }
}

@media (hover: hover) {
    .custom-catalog-characteristic__item.is-active:hover:not(.focus-visible) {
        background-color: var(--primary);
    }

    .custom-catalog-characteristic__item.is-active:hover:not(.focus-visible) svg {
        opacity: 0.7;
    }

    .custom-catalog-characteristic__item:hover:not(.focus-visible) {
        background-color: var(--filter-category-item-background-color-hover);
    }

    .custom-catalog-filters__header img:hover:not(.focus-visible) {
        opacity: 0.7;
    }

    .custom-catalog__settings-filter:hover:not(.focus-visible) {
        opacity: 0.7;
    }

    .custom-catalog-list__grid .item:hover:not(.focus-visible) {
        opacity: 0.7;
    }
}
.element-count-wrapper + .element-count-wrapper {
    display: none;
}

/*[data-catalog-category-button]{*/
/*    margin-top: 12px;*/
/*    cursor: pointer;*/
/*    color: var(--main-text, rgba(85, 85, 88, 1));*/
/*    text-decoration: underline;*/
/*    font-size: 1.6rem;*/
/*    transition: .3s;*/
/*}*/
/*[data-catalog-category-button]:hover{*/
/*    opacity: .7;*/
/*}*/


/*@media screen and (max-width: 1440px) {*/
/*    .custom-catalog-category__grid{*/
/*        grid-template-columns: repeat(4, 1fr);*/
/*        gap: 10px;*/
/*    }*/
/*}*/
/*@media screen and (max-width: 991px) {*/
/*    .custom-catalog-category__grid{*/
/*        grid-template-columns: repeat(3, 1fr);*/
/*        gap: 10px;*/
/*    }*/
/*}*/
/*@media screen and (max-width: 768px) {*/
/*    .custom-catalog-category__grid{*/
/*        grid-template-columns: repeat(2, 1fr);*/
/*        gap: 10px;*/
/*    }*/
/*}*/