.catalog {
    position: relative;
    height: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.catalog__wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -moz-box-orient: horizontal;

    width: 100%;
}

.catalog__section {
    width: 100%;
    overflow-x: hidden;
    overflow-y: visible;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.catalog__section .nothing_to_show.text-muted {
    padding: 20px;
}

.catalog__section>[id^=bx_incl_area] {
    height: 100%;
    width: 100%;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.catalog__section-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
}

.catalog__section-wrapper.card-fullscreen {
    padding: 1.5rem 1.5rem 0;
    background: var(--white-100);
    z-index: 1000;
}

.catalog__section-wrapper.card-fullscreen .btn.catalog__filter-toggler {
    display: none;
}

.catalog__section-wrapper.card-fullscreen .catalog__section {
    flex-direction: column;
    justify-content: start;
    align-items: stretch;
    flex-wrap: nowrap;
}

.catalog__section-wrapper.card-fullscreen .blank-zakaza__pagination--top .pagination {
    float: right;
}

.catalog__section-wrapper.card-fullscreen .blank-zakaza__pagination--top+.blank-zakaza__scroll-wrapper {
    margin-top: 1rem;
}

.catalog__section-wrapper.card-fullscreen .flex-md-grow-1 {
    flex-grow: 0 !important;
}

.catalog__section-wrapper.card-fullscreen .blank-zakaza__scroll-wrapper {
    flex: 0 1 auto;
    margin-top: 0;
    overflow: auto;
}

.catalog__section-wrapper.card-fullscreen .blank-zakaza__wrapper {
    height: 100% !important;
    border: 1px solid var(--table-border-color);
}

.catalog__section-wrapper.card-fullscreen .bootstrap-touchspin .btn:hover {
    color: var(--primary-hover);
    background-color: var(--white-100);
    border-color: var(--primary);
}

/* search */
.catalog__search {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
}

.catalog__search .smartsearch-title__wrap {
    width: 50%;
}

.catalog__search .block-btns {
    width: 50%;
    display: flex;
    justify-content: flex-end;
}

.catalog__search .block-btns>div:first-child {
    margin-right: 20px;
}

.catalog__search form {
    width: 100%;
}

.catalog__search i {
    cursor: pointer;
}

/* /search */

.btn.catalog__filter-toggler {
    display: none;
    margin-left: 1rem;
    width: min-content;
}

/* catalog__footer */
.catalog__footer.card-position-sticky {
    margin-top: 0;
    padding: 0;
    background: var(--white-100);
    border-bottom-left-radius: var(--border-radius-lg);
    border-bottom-right-radius: var(--border-radius-lg);
}

.catalog__footer-wrapper {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -moz-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.catalog__actions .dropdown-menu span {
    color: var(--primary);
    cursor: pointer;
}

.catalog__actions .dropdown-menu span:hover {
    color: var(--primary-hover);
}

.catalog__basket {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.catalog__basket-wrapper {
    margin-right: 1.5rem;
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -moz-box-orient: vertical;
    -moz-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}


.catalog__basket-quantity {
    display: none;
}

.catalog__basket-quantity {
    text-align: left;
}

.catalog__basket-quantity-title:after {
    content: ": ";
}

.catalog__basket-quantity-value {
    font-weight: bold;
}

.catalog__basket-price {
    text-align: left;
}

.catalog__basket-price-title:after {
    content: ": ";
}

.catalog__basket-price-value {
    font-weight: bold;
}

/* /catalog__footer */

/* stikers products */
.badge.green,
.badge.danger {
    background-color: rgba(212, 135, 152, 0.32);
    color: #D93557;
}

.badge.orange,
.badge.success {
    background-color: #DEF1CB;
    color: #598D24;
}

.badge.blue,
.badge.primary {
    background-color: rgba(var(--primary-rgb), 0.32);
    color: #3652B1;
}

/* /stikers products */


@media (min-width: 1481px) {
    .catalog .roll-filter-btn {
        display: flex;
        align-items: center;
        margin-left: 20px;
        border-radius: 5px;
        padding: 15px;
        cursor: pointer;
    }

    .catalog .roll-filter-btn[data-roll="show"] {
        background-color: var(--btn-bg);
        color: var(--btn-hover-color);
    }

    .catalog .roll-filter-btn[data-roll="hide"] {
        color: var(--btn-bg);
        border: 1px solid var(--btn-hover-border-color);
        background-color: var(--btn-hover-color);
    }

    .catalog .roll-filter-btn>p {
        margin-bottom: 0;
        margin-left: 10px;
    }

    .catalog .catalog__filter {
        position: sticky;
        top: -21px;
        width: 18rem;
        flex-shrink: 0;
        margin-top: 4.5rem;
        margin-left: 1.5rem;
        order: 2;
        background: var(--white-100) !important;
        border-radius: var(--border-radius-lg);
        box-shadow: var(--box-shadow);
        z-index: 97;
        height: 87vh;
        transition: width 0.3s ease;
    }

    .catalog .catalog__filter[data-roll="invisible"] {
        width: 0;
    }

    .catalog .catalog__filter[data-roll="invisible"] .index_blank-filter {
        display: none;
    }

    .catalog .catalog__filter .card-body {}

    .catalog .catalog__filter .card-body .filter-b {

        overflow: auto;
    }
}

@media (min-width: 1200px) {
    .catalog__section-wrapper.card-fullscreen .dropdown-menu.show {
        left: -100% !important;
    }
}

@media (max-width: 1660px) {
    .catalog__search .smartsearch-title__wrap {
        width: 40%;
    }

    .catalog__search .block-btns {
        width: 60%;
    }
}


@media (max-width: 1480px) {
    .catalog .roll-filter-btn {
        display: none;
    }

    .btn.catalog__filter-toggler {
        display: block;
    }

    .catalog .catalog__filter {
        display: flex;
    }

    .personal-manager-wrapper {
        display: none !important;
    }
}



@media (max-width: 866px) {
    .catalog__search {
        flex-direction: column;
    }

    .catalog__search .smartsearch-title__wrap {
        width: 100%;
    }

    .catalog__search .block-btns {
        width: 100%;
        margin-top: 25px;
        justify-content: space-between;
    }
}

@media (max-width: 768px) {
    .catalog__search {
        flex-grow: 1;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .catalog__footer-wrapper {
        gap: .5rem;
    }

    .catalog__basket-wrapper {
        display: none;
    }

    .catalog__actions,
    .catalog__basket,
    .catalog__footer .btn-actions,
    .catalog__footer .catalog__basket-link {
        padding-inline: 0;
        width: 100%;
    }
}

@media (max-width: 460px) {
    .catalog__search .block-btns {
        flex-wrap: wrap;
    }

    .catalog__search .block-btns>div {
        margin: 10px 0px 0px 0px;
    }
}


.side-panel-iframe {
    height: 100% !important;
}