.btn-primary {
    background: #fd700b;
}
.btn-primary:hover {
    background: #282E2C;
}
/* --- basket opt --- */

.basket-opt .basket-items-list {
    padding: 0;
}

.total-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 0px 27px 60px rgba(0, 0, 0, 0.25);
    z-index: 1;
}
.total-fixed .basket-checkout-container {
    margin-bottom: 0;
}
.total-opt {
    padding: 30px 0;
}
.total-opt .basket-checkout-container{
    display: flex;
    background: white;
    justify-content: space-between;
}
.total-opt .basket-checkout-section {
    display: flex;
}

.total-opt .basket-checkout-block-total-price-inner {
    padding-top: 0;
    margin-bottom: 0;
}
.total-opt .basket-checkout-block-btn {
    padding-top: 0;
}
.tr.deleted > .td:not(:last-child),
.tr.deleted > .td-row {
    opacity: .5;
}
/* --- basket opt --- */


.button-sorting span {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 8px;
    height: 6px;
    margin: 0 0 2px;
    fill: #828282; }
.button-sorting span:hover {
    fill: #000; }
.button-sorting span:last-child {
    margin: 0; }

a.table-sorting-box {
    color: black;
}
#popup-search{
    position: absolute;
    top: 100px !important;
    background: none !important;
}
    #popup-search button{
        right: 70px !important;
    }



.nohover:hover {
    text-decoration: none !important;
    color: inherit !important;
    background: inherit !important;
}

.btn-favorite .svg-icon {
    fill: transparent;
    /*transition: fill 250ms, stroke 250ms;*/
}
.fav-active .svg-icon {
    fill: #FD700B;
    stroke: #FD700B;
}
.fav-active:hover .svg-icon {
    fill: white;
    stroke: white;
}

@media (max-width: 450px) {
    .cabinet-menu {
flex-direction: column;
    }
    .cabinet-menu__links {
        flex-direction:row;
        align-items:center;
    }
    .cabinet-menu__icon {
        margin: 0 15px;
    }
}



@media (min-width: 1201px) and (max-width: 1427px) {
    /*.podborFromSize.shown {*/
    .smartfilter.shown {
        --column-count: 4;

        display: grid;
        grid-template-columns: repeat(var(--column-count), 1fr);
    }
    /*.podborFromSize.shown .form-result-filter {*/
    .smartfilter.shown .form-filter-footer,
    .smartfilter.shown .form-result-filter {
        grid-column: span var(--column-count);
    }
}

.page.catalog-opt ._opt_hide {
    display: none;
}

.wholesale-catalog .form-filter-catalog{
    margin: 6px 0 0;
    padding: 0;
}
.wholesale-catalog .form-filter-catalog.smartfilter:not(.shown){
    display: none !important;
}
.wholesale-catalog .form-filter-catalog  .dropdown-toggle,
.wholesale-catalog .form-filter-catalog .form-group{
    width: 100% !important;
    max-width: 100% !important;
}
.wholesale-catalog .form-filter-catalog .form-group.max-width{
    padding: 0;
}
.wholesale-catalog .form-filter-catalog .list-radio{
    flex-wrap: nowrap;
}
.wholesale-catalog .form-filter-catalog .list-radio li{
    flex: 1;
}
.wholesale-catalog .form-filter-catalog .radio{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0;
}
.wholesale-catalog .form-filter-catalog .dropdown-toggle{
    display: flex;
    align-items: center;
    height: 44px;
    padding: 0 24px;
    min-width: 100%;
}
.wholesale-catalog .form-filter-catalog .form-result-filter .clear-filter{
    margin: 0;
}
.wholesale-catalog .form-filter-catalog .form-result-filter{
    margin: 0;
    gap: 10px;
}
.wholesale-catalog .form-filter-catalog .form-group{
    margin-bottom: 10px;
}
.wholesale-catalog .form-filter-catalog .form-group__title{
    margin-bottom: 5px;
}
.wholesale-catalog .table-products{
    margin-top: 10px;
    margin-bottom: 10px;
}
.wholesale-catalog .table-products .tr{
    padding-top: 10px ;
    padding-bottom: 10px ;
    gap: 10px;
}
.wholesale-catalog .table-products .td-button .btn-grey{
    width: 140px;
    padding-left: 0;
    padding-right: 0;
}
.wholesale-catalog .sorting-wrapper{
    gap: 5px;
}
.wholesale-catalog .sorting-wrapper .list-checkbox{
    flex-wrap: wrap;
    gap: 5px;
}
@media only screen and (max-width: 575px) {
    .wholesale-catalog .form-filter-catalog .form-result-filter {
         display: flex;
    }
    .wholesale-catalog  .form-filter-catalog .form-result-filter .clear-filter{
        justify-content: start;
    }
    .wholesale-catalog .form-filter-catalog .form-result-filter .clear-filter, .form-filter-catalog .value-order-search{
        width: 100%;
    }
}
@media (min-width: 1200px)  and (max-width: 1440px){
    .wholesale-catalog  .form-filter-catalog .list-radio{
        flex-direction: column;
    }
    .wholesale-catalog .form-filter-catalog .list-radio li {
        width: 100%;
    }
}
@media (min-width: 642px) {
    .wholesale-catalog .table-products .tr {
        flex-wrap: nowrap;
    }
}
.modal-filter.show{
    display: flex !important;
    flex-direction: column-reverse;
}
.modal-filter{
    padding-right: 0 !important;
}
.modal-filter .modal-dialog {
    max-width: 100%;
    margin: 0;
}
.modal-filter .modal-content{
    border-radius: 4px 4px 0 0;
}
.modal-filter .modal-header{
    margin-bottom: 20px;
}
.filter-button{
    gap: 10px;
    font-weight: 600;
    font-size: 18px;
    background-color: transparent;
}
.modal-filter:not(.show) .modal-dialog {
    -webkit-transform: translate(0,100%);
    transform: translate(0, 100%);
}
.wholesale-catalog .form-filter-catalog .dropdown-menu__body{
    max-height: 20vh;
}
@media (min-width: 992px) {
    .wholesale-catalog  .form-filter-catalog .dropdown-menu__body{
        max-height: 30vh;
    }
    .modal-filter {
        position: static;
        display: block;
        opacity: 1 !important;
        overflow: visible;
    }

    .modal-filter .modal-dialog{
        /*position: sticky;*/
        /*top: 40px;*/
        max-height: 100%;
        transform: translate(0, 0) !important;
    }
    .modal-filter .modal-content{
        max-height: 100%;
        padding: 0;
        box-shadow: none;
        overflow: visible;
    }
    .modal-filter .modal-header{
        display: none;
    }
    .modal-filter .modal-body{
        overflow: visible;
    }
}
.total-opt .basket-checkout-section{
    flex-wrap: wrap;
}
