
.table-scroller-wrapper__store {
    max-height: 700px;
    overflow: auto;
}
.table-scroller-wrapper__store .buy_block.btn-actions__inner{
    width: 120px;
}

.table-scroller-wrapper__store .counter{
    width:auto;
}

.table-scroller-wrapper__store  .catalog-table__info-wrapper{
    padding:10px 20px;
    display:flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-table__info-wrapper .catalog-table__info-bottom{
    display:flex;
    justify-content: flex-end;
}
.catalog-table__info-wrapper .catalog-table__info-bottom .line-block__item{
    margin: 0 15px;
}
.catalog-table__info-wrapper .catalog-table__info-bottom  .catalog-table__item-wrapper .line-block__item{
    margin: unset;
}

@media (min-width: 1331px) {
    .table-scroller-wrapper__store .btn.btn-default.in_cart{
        min-height: 42px;
    }

    .table-props-rows .catalog-table__info-bottom {
        flex: 0 0 700px!important;
        width: 700px!important;
    }
    .table-scroller-wrapper__store .buy_block.btn-actions__inner{
        width: 200px;
    }
}
@media (min-width: 990.01px) and (max-width: 1331px){
    .table-props-rows .catalog-table__item .catalog-table__info-bottom{
        flex-direction: row;
        align-items: center;
        display: flex!important;
        max-width: 430px;
    }
}
@media (min-width: 600.01px) and (max-width: 990px){
    .table-props-rows .catalog-table__item:not(.pickup) .catalog-table__info-bottom{
        /*flex-direction: column;*/
        /*align-items: center!important;*/
        /*display: flex!important;*/
        max-width: 180px;
    }

    .table-props-rows .catalog-table__item .catalog-table__info-bottom .btn {
        min-width: 180px;
    }

    .table-scroller-wrapper__store {
        max-height: 350px;
    }
}

@media (max-width: 1100px) {
    .catalog-table__item .catalog-table__info-title {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-table__item .catalog-table__info-title .map_button {
        margin: 0;
    }

    .table-props-rows .catalog-table__item:not(.pickup)  .catalog-table__info-bottom {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
    }

    .catalog-table__item:not(.pickup)  .catalog-table__info-bottom .catalog-table__item-wrapper{
        padding: 0;
        margin: 0;
    }

    .table-props-rows .catalog-table__item .catalog-table__info-bottom .buttons {
        margin-top: 16px;
    }

    .table-props-rows .catalog-table__item .catalog-table__info-bottom .line-block {
        margin: 0;
    }

    .catalog-table__info-wrapper .catalog-table__info-bottom .line-block__item {
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .page-top-info .page-top #navigation {
        margin: 0;
    }

    .catalog-detail .catalog-detail__main {
        padding-top: 15px;
    }

    .catalog-table__item.pickup .catalog-table__info-bottom .catalog-table__item-wrapper {
        padding: 0;
        margin: 0;
    }

    .table-props-rows .catalog-table__item:not(.pickup) .catalog-table__info-bottom{
        /*flex-direction: column;*/
        /*align-items: center!important;*/
        /*display: flex!important;*/
        max-width: 180px;
    }

    .table-props-rows .catalog-table__item .catalog-table__info-bottom .btn {
        min-width: 180px;
    }

    .catalog-table__item .price {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    .catalog-table__item .price .price-economy__val {
        margin: 0 !important;
    }
}

@media (max-width: 600px){
    .table-scroller-wrapper__store  .catalog-table__info-wrapper{
        flex-direction: column!important;
    }
    /*.table-props-rows .catalog-table__item .catalog-table__info-bottom{*/
    /*    flex-direction: row!important;*/
    /*    flex-wrap: wrap;*/
    /*    align-items: center!important;*/
    /*}*/
    .table-scroller-wrapper__store {
        max-height: 350px;
    }

    .catalog-table__info-wrapper .catalog-table__info-bottom .line-block__item{
        margin: 0 0 0 30px;
    }
}
@media (max-width: 399.99px){
    .table-scroller-wrapper__store .buy_block.btn-actions__inner{
        width: 100%;
    }
    .table-scroller-wrapper__store {
        max-height: 350px;
    }
    .table-scroller-wrapper__store  .catalog-table__info-wrapper{
        flex-direction: column!important;
    }
    .table-props-rows .catalog-table__item .catalog-table__info-bottom{
        flex-direction: column!important;
        align-items: flex-start!important;
    }
    .table-scroller-wrapper__store {
        max-height: 350px;
    }
}

.table-scroller-wrapper__store .custom_title_wrapper:not(:last-child){
    margin-bottom: 15px;
}
.table-scroller-wrapper__store .properties{
    font-size: 0.9rem;
}
.table-scroller-wrapper__store .properties .prop_title{
    font-weight: 700;
}

.table-scroller-wrapper__store .counter__action-custom--minus:before,
.table-scroller-wrapper__store .counter__action-custom--minus:after{
    content: "";
    position: absolute;
    display: block;
    background-color: #fff;
    border-radius: 1px;
    top: 50%;
    left: 50%;
}


.counter__action-custom--minus {
    border-right: 1px solid rgba(0,0,0,.1);
}
.counter__action-custom--plus {
    border-left: 1px solid rgba(0,0,0,.1);
}

.counter__action-custom--plus::after{
    width: 2px;
    height: 12px;
    margin-top: -6px;
    margin-left: -1px;
}

.counter__count-custom {
    --input_bg_color-focus: transparent;
    --input_border_color-focus: transparent;
    flex: 1;
    width: 100%;
    height: 100%;
    border: none;
    background: 0 0;
    text-align: center;
    color: #fff;
}

input[hidden=""] {
    display: none;
}
form[name="ml_on_prescription"] .input br{
    display:none;
}


/*custom filter*/
.wrapp-detail-filter{
    margin-bottom: 30px;
}

.filter_values_custom {
    padding: 20px 16px;
}
.custom-dropdown{
    display: flex;
    width:100%;
}
.detail_filter_wrap{
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}

.sort_wrap_custom,.filter_wrap_custom, .search-input-store-wrap{
    margin: 5px 5px 5px 0;
}
.sort_wrap_custom{
    width: 250px;
}
.sort_wrap_custom .line-block__item{
    width: 100%;
}
.sort_wrap_custom .dropdown-select__title{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.search-input-div-store .form-control-custom{
    height: 32px;
}
.search-input-store-wrap{
display:flex;
}
.btn-clear-search-store{
    margin-right: 10px!important;
    display:none;
}
.wrap-clear-search-store{
    width: 32px;
}

.search-input-store-wrap .search-button-div-store {
    position:relative;
    left: -35px;
    display:flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}
.btn-search-store{
    --button-height: 32px!important;
    border-radius: 0 8px 8px 0!important;
    background-color: var(--theme-base-color);
    color: var(--theme-base-color);
}
.btn-search-store:hover{
    background-color: hsl(var(--theme-base-color-hue),var(--theme-base-color-saturation),calc(var(--theme-base-color-lightness) + var(--theme-lightness-hover-diff)));
    color: hsl(var(--theme-base-color-hue),var(--theme-base-color-saturation),calc(var(--theme-base-color-lightness) + var(--theme-lightness-hover-diff)));
}

 .form-control-custom{
     border-radius: 8px 0 0 8px!important;
}
 .search-store{
     fill:#fff;
 }
@media (max-width: 455px) {
    .detail_filter_wrap {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
}

.no-stock{
    color: white;
}

.delivery{
    background-color: #e6f2fe;
}

.delivery .delivery__title {
    padding: 0 16px;
    width: 100%;
    max-width: 200px;
}

.popup_map {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    width: calc(100% - 40px);
    max-width: 1065px;
    max-height: 80%;
    overflow: hidden auto;
}

@media screen and (max-width: 768px) {
    .popup_map {
        height: 100%;
    }

    .popup_map .popup-content {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .popup_map #popup_title {
        padding-right: 20px;
        font-size: 18px;
    }

    .popup_map #yandex_map_container {
        flex: 1;
    }
}

.popup-content {
    text-align: center;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    overflow: hidden;
}
.catalog-delivery-title {
    text-align: left;
}

#yandex_map_container {
    height: 520px;
    /*width: calc(70vw - 20px) !important;*/
    width: 100%;
}

.text-center {
    display: flex !important;
    justify-content: center !important;
}

/*.linear {*/
/*    position: relative;*/
/*}*/

/*.linear::after {*/
/*    content: "";*/
/*    position: absolute;*/
/*    top: 0;*/
/*    bottom: 0;*/
/*    left: 50%;*/
/*    border-left: 3px solid #000;*/
/*}*/
.linear {
    background: linear-gradient(to right, #000 50%, transparent 50%);
    background-position: left;
    background-size: 1px 100%;
    background-repeat: no-repeat;
}
.br-0 {
    --border-radius: 0px !important;
}
.text-black {
    color: #008c47 !important;
    background-color: #fff !important;
}
/*.pharma-block {*/
/*    padding: 5px 8px 5px 0 !important;*/
/*}*/

.pharma-block .linear {
    background: none;
}


/* MY */
.catalog-table__outer-wrapper {
    position: relative;
}

.table-up {
    position: absolute;
    z-index: 100;
    top: 0;
    left: 0;
    width: 100%;
    padding: 14px 19px;
    border-radius: 0 0 10px 10px;
    background-color: #e6f2fe;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
    transform: translateY(-100%);
    box-shadow: 0 3px 20px rgba(34,34,34,0);
}

.table-up._active {
    transform: translateY(0);
    box-shadow: 0 3px 20px rgba(34,34,34,0.1);
}

.table-up .btn.btn-wide {
    width: unset;
}

.catalog-table__item.pickup {
    padding: 14px 4px 15px 7px;
}

.catalog-table__item.pickup .buy_block.btn-actions__inner {
    width: 200px;
}

.catalog-table__item.pickup .catalog-table__info-bottom{
    width: min-content !important;
    flex: none !important;
}

@media (min-width: 1101px) {
    .table-up {
        display: none;
    }
}

@media (max-width: 600px) {
    .catalog-table__item:not(.pickup) .catalog-table__info-top {
        padding-right: 5px;
        border-right: 1px solid #ededed;
    }

    .catalog-table__item.pickup {
        padding: 14px 19px 15px;
    }

    .catalog-table__item.pickup .catalog-table__info .catalog-table__info-wrapper {
        grid-template-columns: 1fr 0;
        overflow: hidden;
    }

    .catalog-table__item .properties {
        font-size: 13px;
    }

    .catalog-detail .catalog-detail__main {
        padding-top: 0;
    }

    .delivery .delivery__title {
        padding: 0;
    }

    .catalog-table__wrapper.grid-list__item.grid-list-border-outer.delivery.disable .catalog-table__info-wrapper {
        padding: 15px 0;
    }
}
