.content__wrapper {
    padding: 0 16px !important;
    box-sizing: border-box !important;
    max-width: 1232px !important;
    margin: 0 auto;
}
.content__wrapper *[class*="col_"] {
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.catalog__wrapper .grid,
.catalog__wrapper .row,
.catalog__wrapper .column,
.catalog__wrapper.grid,
#content.row {
    overflow: initial !important;
}

.catalog-item .ribbon-wrapper {
    font-size: 12px;
    top: 0;
    left: 0;
}
.catalog-container {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.catalog-item {
    width: initial;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: none;
}
.catalog-item .img {
    margin: 0;
    width: 100%;
    height: initial;
    aspect-ratio: 1/1;
    background-size: cover;
}
.catalog-item:hover .img {
    margin: 0;
    width: 100%;
    height: initial;
    aspect-ratio: 1/1;
}
.catalog-item:hover {
    border: none !important;
    outline: 1px solid #c9e473;
    outline-offset: 5px;
}

.page-pagination {
    margin-top: 32px;
    margin-bottom: 32px;
    border-top: 1px solid #f8f8f8;
}

.catalog__wrapper {
    padding-top: 10px;
    margin-top: 16px;
    display: grid;
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 32px;
}
.catalog__wrapper > .column {
    width: initial !important;
}
.catalog-products {
    flex: 1;
    width: 100%;
}

.catalog-sections .page_menu .page_menu_item a {
    box-sizing: border-box;
    border: 1px solid #f8f8f8;
}


.bx_filter_container.price {
    max-width: initial;
}
.bx_filter_vertical .bx_filter_container_title {
    font-weight: 600;
}

.bx_filter_section .title {
    text-align: left;
}
.bx_filter_vertical .bx_filter_control_section {
    text-align: left !important;
}
.page_menu_item__filter-m {
    display: none;
    font-weight: 600;
}
.page_menu_item__filter-m--close {
    display: none !important;
    background: #cccccc;
}
.reviews-container-rand {
    margin-bottom: 64px;
}
.offer-input {
    color: #000000;
    font-weight: 500;
}
.footer {
    padding-bottom: 16px;
}
.orders-list h2 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 0;
}
.sale-order-list-title-container {
    margin-top: 0;
}
.mb-5 + .sale-order-list-title-container {
    margin-top: 32px;
}
.orders-list > .row > .col {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 16px;
}
.sale-order-list-payment-title {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}
.sale-order-list-inner-container {
    border: none;
}
.sale-order-list-inner-title-line {
    display: none;
}
.sale-order-list-status-alert {
    display: inline-block;
}
.sale-order-list-payment-price {
    font-size: 16px;
    display: block;
    margin-top: 16px;
}
.sale-order-list-button-container {
    margin-top: 16px;
}
.sale-order-list-button-container .btn {
    display: inline-flex;
    padding: 16px 24px;
    height: auto;
    text-align: center;
    font-size: 18px;
}

.bx_pg_text,
.modern-page-title {
    display: block;
    text-align: center;
    margin-bottom: 8px;
}
.bx_pagination_section_one {
    display: block !important;
    text-align: center;
    margin-top: 32px;
}

.header-m {
    display: none;
    position: fixed;
    height: 64px;
    top: 0;
    left: 0;
    right: 0;
    background: #d4ea92;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    gap: 8px;
    padding-left: 16px;
    padding-right: 16px;
}
.header-m__logo {
    display: block;
    width: 56px;
    min-width: 56px;
    height: 56px;
    background-image: url('/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #d4ea92;
    border-radius: 100%;
}
.header-m__city {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}
.header-m__city-selected {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
}
.header-m__city-selected--title {
    font-size: 12px;
}
.header-m__slogan {
    color: #576430;
    font-size: 12px;
    line-height: 1.1;
}
.header-m__slogan span {
    font-weight: 600;
}
.header-m__burger {
    display: block;
    width: 48px;
    min-width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #d4ea92;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48' fill='none' aria-hidden='true'%3E%3Ctitle%3EМеню%3C/title%3E%3Cpath fill='currentColor' d='M10 13h28v4H10v-4Zm0 9h28v4H10v-4Zm0 9h28v4H10v-4Z'/%3E%3C/svg%3E");
}

.top-city-selector .countries-container .item {
    border-bottom: 1px solid transparent;
}

.countries-c .country .top-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.country-cities-c .country-cities .group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.filter-m__count-selected {
    color: #888888;
}

@media (max-width: 1024px) {
    .header-m {
        display: flex;
    }
    .header {
        display: none;
    }
    body {
        padding-top: 64px;
    }

    .catalog-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .catalog__wrapper {
        display: flex;
        flex-direction: column;
        gap: 16px;
        margin-top: 0;
    }
    .catalog__wrapper > .column {
        width: 100% !important;
        float: none !important;
    }
    .catalog-sections {
        display: flex;
        gap: 16px;
        flex-wrap: wrap;
    }
    .catalog-sections .page_menu {
        display: flex;
        gap: 8px;
        /*flex-wrap: wrap;*/
    }
    .catalog-sections .page_menu .page_menu_item a {
        margin: 0;
        font-size: 14px;
    }
    .catalog-filter {
        display: none;
    }
    .catalog__left-side {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    .page_menu_item__filter-m {
        display: block;
    }
    .page_menu_item__filter-m--close {
        display: block !important;
    }
    .catalog-filter {
        opacity: 0;
        margin: 0 !important;
        transition: opacity 300ms;
        max-width: initial;
        z-index: 100;
        background: rgba(0,0,0,0.5);
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 16px;
    }
    .catalog-filter.is-active {
        opacity: 1;
        position: fixed;
        display: block;
    }
    .bx_filter_vertical {
        background: #ffffff;
        padding: 16px;
        height: 100%;
    }
    .bx_filter_section {
        height: 100%;
    }
    .bx_filter_section .title {
        display: none;
    }
    .smartfilter {
        height: 100%;
        overflow-y: auto;
        padding-bottom: 64px;
        overscroll-behavior: contain;
    }
    .bx_filter_control_section {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: #ffffff;
        z-index: 10;
        padding: 16px 0;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
    }
    .catalog-filter .szd-btn {
        margin: 0 !important;
        font-size: 14px;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
    }
    .bx_filter_popup_result {
        display: none !important;
    }
    .footer__grid {
        padding-top: 32px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .footer {
        padding-left: 16px;
        padding-right: 16px;
    }
    .footer .grid,
    .footer .row,
    .footer .column {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .footer__grid > .column {
        width: 100% !important;
    }
    .bottom-menu-c {
        margin: 0;
        padding-top: 0 !important;
    }
    .seo-index-text {
        margin-left: -16px;
        margin-right: -16px;
    }
    .seo-index-text__inner--empty {
        display: none;
    }
    .seo-index-text__inner--text {
        padding: 16px;
        width: 100%;
    }
    .review-item {
        width: 100%;
    }
    .deliver-photos {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
    .deliver-photos .item {
        width: 100%;
        height: initial;
        line-height: initial;
        padding: 0;
        aspect-ratio: 1/1;
    }
    .deliver-photos .item a {
        background-size: cover;
    }
    .tooltipster-content .szd-content-callback-form {
        opacity: 1;
        position: fixed;
        margin: 0 !important;
        transition: opacity 300ms;
        max-width: initial;
        width: 100%;
        z-index: 100;
        background: rgba(0,0,0,0.5);
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        padding: 16px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .tooltipster-content .szd-content-callback-form #szd-content-callback-form-callme,
    .tooltipster-content .szd-content-callback-form .result-container,
    .tooltipster-content .szd-content-callback-form .button-container,
    .tooltipster-content .szd-content-callback-form form {
        width: 100%;
        box-sizing: border-box;
        background: #ffffff;
        padding: 16px;
        margin: 0;
    }
    .bx_breadcrumbs {
        white-space: nowrap;
        overflow-x: auto;
    }
    .detail-item-c .item-photo-c {
        max-width: 600px;
        padding: 0;
    }
    .detail-item-c .item-order-c {
        max-width: 500px;
        padding-left: 0;
        padding-right: 0;
    }
    .item_price.item_info_section label {
        font-size: 20px;
        width: 100%;
        display: flex;
        justify-content: space-between;
    }
    .item_price.item_info_section label + label {
        margin-top: 16px;
    }
    .detail-item-c .item-order-c .title {
        padding-right: 72px;
    }
    .detail-item-c .item-height {
        top: 12px;
        right: 0;
        left: initial;
    }
    .static-page__column--empty {
        display: none;
    }
    .static-page__column--text {
        box-sizing: border-box;
        width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    .static-page__column--text > div {
        display: flex;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
    .reviews-container > .col_3 {
        display: none;
    }
    .reviews-container > .col_6 {
        width: 100%;
    }
    .tooltipster-content form input[type=text],
    .tooltipster-content form textarea {
        width: 100% !important;
    }
    .tooltipster-content form textarea {
        height: 100px !important;
    }
    .fixed-contacts-c {
        gap: 4px !important;
    }
    .fixed-contacts-c .social-icon {
        width: 36px !important;
        height: 36px !important;
    }
    .fixed-contacts-c.active .social-icon {
        outline-width: 2px !important;
    }
    .fancybox-wrap {
        width: 80% !important;
        box-sizing: border-box !important;
    }
    .fancybox-inner {
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .fancybox-skin {
        padding: 16px !important;
    }
    .fancybox-inner h1 {
        font-size: 14px;
        font-weight: 500;
    }
    #top-panel.is-active {
        display: block;
        position: fixed;
        top: 64px;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 100;
        background: rgba(0,0,0,0.5);
    }
    #top-panel {
        border-top: 1px solid #000000;
        overscroll-behavior: contain;
    }
    #top-panel > div {
        background: #d4ea92;
        padding: 16px;
    }
    #top-panel .logo,
    #top-panel .top-city-selected {
        display: none;
    }
    .header__user-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        color: #000000;
    }
    .header__user-menu a {
        color: #000000 !important;
        font-size: 1em !important;
    }
    #top-panel {
        margin-bottom: 0;
    }
    #top-panel.row.bottom-line:after {
        display: none;
    }
    #top-panel .header__columns {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    #top-panel .header__columns > div {
        margin: 0 !important;
        width: 100% !important;
    }
    #top-panel .header__column--logo {
        display: none;
    }
    #top-panel h1 {
        font-size: 20px !important;
        text-align: left;
        margin-bottom: 32px;
    }
    #top-panel .header_menu {
        text-align: left !important;
    }
    #top-panel .payment-systems-container {
        text-align: left;
        margin: 16px 0;
    }
    #top-panel .payment-systems-container .item {
        width: auto;
        max-width: initial;
        height: 24px;
        line-height: 24px;
    }
    #top-panel .payment-systems-container .item img {
        height: 24px;
        width: auto;
        max-width: initial;
    }
    #top-panel .header__column--contacts .right {
        text-align: left !important;
    }
    #sub-menu .top-contacts-c > div {
        justify-content: flex-start !important;
    }
    #top-panel > div.top-city-selector {
        background: #576430 !important;
        height: 400px;
        overflow: auto;
    }
    .top-city-selector .col_3 {
        display: none;
    }
    .top-city-selector .col_6,
    .top-city-selector .col_12 {
        width: 100%;
        text-align: left !important;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .top-city-selected a.selected-city {
        font-size: 14px;
        text-transform: initial;
    }
    .top-city-selected a.selected-city {
        margin-bottom: 0;
    }
    .page_menu_item.active a {
        text-transform: initial !important;
    }

    .countries__world {
        padding-bottom: 64px;
    }
    .countries__world h1 {
        font-size: 22px;
        text-align: left;
    }
    .countries__world .countries-c {
        display: flex;
        flex-direction: column;
        gap: 32px;
    }
    .countries__world .countries-c .country {
        width: 100%;
    }
    .countries__world .countries-c .country .h1 {
        font-size: 20px;
    }
    .countries__world .countries-c .flag {
        width: 36px;
        min-width: 36px;
        margin-right: 0;
    }
    .countries__world .countries-c .flag img {
        width: 36px;
    }
    .countries__world .countries-c .country .top-cities {
        padding-right: 0;
        margin-bottom: 0;
    }
    .countries__world .country__title {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
    }
    .countries__world .country__title--left {
        display: flex;
        align-items: center;
        gap: 16px;
    }
    .countries__world .countries-c .country .top-cities {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .country-cities-c #search-cities {
        width: 100%;
        font-size: 14px !important;
    }
    .country-cities-c .country-cities {
        display: flex;
        flex-direction: column;
        gap: 32px;
        padding-top: 32px;
    }
    .country-cities-c .country-cities .group {
        width: 100%;
        margin-top: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .country-cities-c h2 {
        width: 100%;
    }
}
@media (max-width: 768px) {
    .catalog-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .detail-item-c .item-photo-c {
        max-width: 100%;
        padding: 0;
    }
    .detail-item-c .item-order-c {
        max-width: initial;
    }
    .detail-item-c .item-order-c {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .detail-item-c .item-order-c > div {
        order: 10;
    }
    .detail-item-c .item-order-c > div.title {
        order: 1;
    }
    .detail-item-c .item-order-c > div.item_variants {
        order: 2;
    }
    .detail-item-c .item-photo-c {
        margin-bottom: 0;
    }
    .catalog-item .price {
        display: block;
        text-align: center;
        margin: 0 0 8px 0;
        padding: 0;
    }

    #bx-panel.bx-panel-folded #bx-panel-top {
        display: none !important;
    }
}