#product-category .rm-category {
    height: auto !important;
}

.rm-category-wall-item {
    flex: 0 0 20%;
}

.supermenu-left {
    display: flex !important;
    margin-right: 0 !important;
}

.bigdiv:has(.supermenu-left) {
    width: auto !important;
}

.bigdiv:has(.supermenu-left) .menu-add {
    width: auto !important;
}

.compare_desctop {
    padding: 10px;
}

.compare_desctop img {
    width: 22px;
}

.header_icons_wrapper {
    align-items: center;
}


.simplecheckout-button-right {
    margin-bottom: 30px;
}

.rm-product-center-info {
    padding-bottom: 7px;
}

.rm-product-title {
    padding-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.compare_block button {
    background: transparent;
}

.rm-product-center-price {
    display: flex;
    gap: 50px;
    align-items: center;
}

.rm-product-center-price-wrapper span {
    font-size: 22px;
    font-weight: 500;
}

.button_order_wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.compare_block {
    gap: 18px;
}

.compare_block button {
    border: 1px solid lightgrey;
    border-radius: 8px;
    transition: 0.3s;
}

.compare_block button:hover {
    background: rgb(238, 238, 238);
    border: 1px solid lightgrey;
}

#button-cart,
.button-fast-order {
    border-radius: 8px;
}

.button-fast-order {
    margin-top: 22px !important;
}

.count_wrapper {
    flex-direction: row !important;
}

.count_wrapper input {
    width: 44px !important;
    height: 32px;
}

.count_wrapper button {
    height: 32px;
    width: 38px;
}

.count_wrapper button.count_plus {
    border-radius: 0 5px 5px 0;
}

.count_wrapper button.count_minus {
    border-radius: 5px 0 0 5px;
}

.rm-product-center-options .rm-control-label {
    margin-bottom: 4px;
}

.rm-select {
    border-radius: 8px;
}

#button-cart.rm-product-btn {
    width: 100% !important;
    margin-top: 0 !important;
}

#fast_order.button-fast-order {
    width: 100% !important;
}

.related_products .rm-module-col:not(:nth-child(-n+4)) {
    display: none;
}

.ms-nav-next:after,
.ms-nav-prev:after {
    content: '';
    background-image: url(/image/catalog/arrow-slider.svg);
    background-repeat: no-repeat;
    background-size: cover;
    height: 46px;
}

.ms-nav-prev:after {
    rotate: 180deg;
}

.rm-module-stock {
    font-size: 12px;
    position: relative;
    top: -6px;
}

.rm-product-center-info-item span {
    font-size: 12px;
}

.rm-product-center-info-item:not(:last-child) {
    margin-bottom: 8px;
    margin-top: 8px;
}

.rm-product-center-info-item:first-child {
    margin-top: 16px;
}


.contact_block {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 20px;
}

.contact_block_left {
    flex-basis: 50%;
}

.contact_block_right {
    flex-basis: 50%;
}

.contact_block_descr {
    display: flex;
    align-items: center;
    gap: 15px;
}

#information-information:has(.contacts_blocks) #column-left {
    flex: 0 0 16.6666666667%;
    max-width: 16.6666666667%;
}

#information-information:has(.contacts_blocks) #column-left+.col-lg-9 {
    flex: 0 0 83.3333333333%;
    max-width: 83.3333333333%;
}

.contact_block_map iframe {
    width: 100%;
    height: 100%;
}

.contact_block_map {
    height: 270px;
}

.contact_block_title {
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #1b1b1b;
    margin-bottom: 15px;
}

.contact_block_descr span {
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: #1b1b1b;
    display: block;
}

.contact_block_descr {
    margin-bottom: 22px;
}

.contact_form_wrapper {
    margin-top: 60px;
}

.contact_form_title {
    font-weight: 700;
    font-size: 18px;
    line-height: 133%;
    color: #1b1b1b;
    margin-bottom: 20px;
    display: block;
}

.contact_top_inputs {
    display: flex;
    align-items: center;
    gap: 20px;
}

.inside-input-block {
    width: 50%;
}

.contact_top_inputs input {
    width: 100%;
    border: 1px solid #e9e9e9;
    padding: 0 24px;
    height: 52px;
}

.contact_form textarea {
    border: 1px solid #e9e9e9;
    padding: 15px 24px;
    height: 120px;
    width: 100%;
    resize: none;
}

.inside-input-block:has(textarea) {
    width: 100%;
    margin-top: 20px;
}

.type-submit {
    height: 44px;
    background: #171616;
    font-weight: 400;
    font-size: 14px;
    line-height: 171%;
    color: #fff;
    width: 180px;
    margin-top: 20px;
}

.succes_form {
    padding: 10px;
    border: 2px solid lightskyblue;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 500;
}

#information-information:has(.contacts_blocks)+iframe,
#information-contact:has(.contacts_blocks)+iframe {
    display: none;
}

.footer_text_addr {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 10px;
}

.footer_text_addr svg {
    min-width: 14px;
}

.footer_text_addr_wrapper {
    margin-top: 30px !important;
}

.footer_contact_num {
    display: flex;
    align-items: center;
    gap: 17px;
    margin-bottom: 10px;
}

.footer_contact_num_wrapper {
    margin-top: 30px !important;
}

.rm-footer-title:has(+.footer_contact_num_wrapper),
.rm-footer-title:has(+.rm-social) {
    margin-top: 40px;
}

.footer_contact_num svg {
    width: 20px;
    height: 18px;
}

/* .ocf-offcanvas .ocfilter-mobile-handle {
    right: 15px;
    top: 15px !important;
    left: unset;
    z-index: 10;
} */

.close-filter {
    border: none !important;
    background: transparent !important;
    padding: 0px 7px !important;
    box-shadow: none !important;
    color: #888D8B !important;
    position: absolute !important;
    right: 9px;
    top: -83px;
    z-index: 10;
}

button.btn.btn-primary.close-filter span {
    font-size: 32px;
    transform: rotate(45deg);
    display: block;
    line-height: 1;
}

.ocf-offcanvas.ocfilter-mobile.active {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.rm-news-item-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rm-news-item-photo {
    height: 350px;
    display: block;
}











@media (min-width: 992px) {
    .account-container .rm-account-list {
        height: auto;
    }
}

@media(max-width: 992px) {
    .compare_block {
        display: none;
    }
}

@media(min-width: 768px) {
    .rm-product-title h1 {
        font-size: 30px;
        padding-top: 0;
    }
}


@media(max-width: 992px) {
    .compare_desctop {
        display: none;
    }
}

@media(max-width: 500px) {

    .footer_text_addr svg {
        display: none;
    }

    #information-information:has(.contacts_blocks) #column-left+.col-lg-9 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .contact_block {
        flex-direction: column;
    }

    .contact_form_title {
        margin-bottom: 20px;
        display: block;
    }

    .rm-news-item-top img {
        margin: 0;
    }

    .rm-subcategory-row {
        overflow: unset;
        flex-wrap: wrap;
    }

    .rm-subcategory-row .rm-category-wall-item {
        flex: 0 0 33%;
        max-width: 33%;
    }

    .pagination li a,
    .pagination li span {
        padding: 4px 8px;
        font-size: 12px;
    }

    .pagination li:not(:last-child) {
        margin: 0 5px 5px 0;
    }
}