
.ymm-selector.ymm-box .ymm-garage {margin-bottom:10px}
.ymm-selector.ymm-box .ymm-garage .ymm-garage-select {width:auto; margin:0; color: #575757;}
.ymm-selector.ymm-box select.ymm-select,
.ymm-selector.ymm-box select.ymm-category-select {width:100%; margin:0 0 8px 0; color: #575757; font-size: 16px;}
.ymm-selector.ymm-box select.disabled { border-color:#bbb !important; background:#bbb !important; }

.ymm-selector.ymm-box .ymm-extra.or-search select.ymm-category-select:last-child {margin-bottom:2px;}
.ymm-selector.ymm-box .ymm-extra .ymm-search {margin:0;}
.ymm-selector.ymm-box .ymm-extra .ymm-search .ymm-or-search{display:none;}
.ymm-selector.ymm-box .ymm-extra.or-search .ymm-search .ymm-or-search {display:block;}
.ymm-selector.ymm-box .ymm-extra .ymm-search table {width:100%;}
.ymm-selector.ymm-box .ymm-extra .ymm-search table td.ymm-td-input  {padding:0;}
.ymm-selector.ymm-box .ymm-extra .ymm-search table td.ymm-td-input input {width:100%; max-width:none;}
.ymm-selector.ymm-box .ymm-extra .ymm-search table td.ymm-td-button  {width:1px;white-space: nowrap;padding:0 0 0 9px;}
.ymm-selector.ymm-box .ymm-submit-any-selection {margin-top:0;}


.ymm-selector.ymm-horizontal {float:none !important; width:100% !important; padding:0 !important; margin:0 !important;}
.ymm-selector.ymm-horizontal .ymm-title  {float:left;}
.ymm-selector.ymm-horizontal .ymm-title .widget-title { padding:0 !important; margin:0 !important; border:none !important;}
.ymm-selector.ymm-horizontal .ymm-title-right {float:right; margin:3px 1.2% 0 0;}
.ymm-selector.ymm-horizontal .ymm-title-right .ymm-garage-select {width:auto; margin:0; color: #575757;} 
.ymm-selector.ymm-horizontal .level {margin:0; float:left; width:33.3%;}
/*.ymm-selector.ymm-horizontal .level select.disabled { border-color:#bbb !important; background:#bbb !important; }*/
.ymm-selector.ymm-horizontal .level select.disabled { border-color:#bbb; background:#bbb; }
.ymm-selector.ymm-horizontal .level select.ymm-select,
.ymm-selector.ymm-horizontal .level select.ymm-category-select {width:97%; margin:0; color: #575757; font-size: 16px;}
.ymm-selector.ymm-horizontal .level select.ymm-category-select {margin-top:8px;}
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search {margin:6px 1% 0 0;}
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search .ymm-or-search{display:none;}
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search.or-search {margin-top:2px;}
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search.or-search .ymm-or-search{display:block;}
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search form,
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search table {margin:0;}
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search table td.ymm-td-input  {padding:0;}
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search table td.ymm-td-input input {width:100%; max-width:none;}
.ymm-selector.ymm-horizontal .ymm-extra .ymm-search table td.ymm-td-button  {width:1px;white-space: nowrap;padding:0 0 0 9px;}
/*.ymm-selector.ymm-horizontal .ymm-submit-any-selection {margin-top:6px;}*/
.ymm-selector.ymm-horizontal .ymm-clear {clear:both;height:1px;}

/* custom */
.ymm-selector.ymm-horizontal .ymm-title-right {
    margin: 0;
}
.ymm-horizontal .block-content {
    display: flex !important;
    width: 100%;
    justify-content: space-between;
    /*flex-wrap: wrap;*/
    align-items: center;
}

.filter-heading {
    color: #fff;
    background-color: #979797;
    padding: 5px 20px;
}
/*.custom-product, .filter-heading {
    display: flex;
    align-items: center;
    !*justify-content: space-between;*!
    column-gap: 30px;
    justify-content: space-between;
}
.filter-selection .product-image {
    width: 50px;
}
.filter-selection .product-info {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    column-gap: 30px;
    font-size: 16px;
}
.filter-selection .product-name {
    width: 100%;
}*/
.selection-wrapper .ymm-selector.ymm-horizontal .level select.disabled {
    border-color: #e5e5e5;
    background: unset;
    color: #57575785;
}
.ymm-selector.ymm-horizontal .level {
    background-color: #fff;
}
@media (max-width: 768.98px) {
    .selection-wrapper {
        background: none !important;
    }
    .ymm-horizontal .block-content {
        flex-direction: column;
        gap: 5px;
    }
    .ymm-selector.ymm-horizontal .level {
        width: 100%;
    }
    .ymm-selector.ymm-horizontal .ymm-submit-any-selection {
        width: 100%;
    }
    .ymm-selector.ymm-horizontal .level select.ymm-select, .ymm-selector.ymm-horizontal .level select.ymm-category-select {
        width: 100%;
    }
}

/*-----------*/
.table-selection th, .table-selection td {
    width: 12%;
}
.table-selection th:nth-child(1), .table-selection td:nth-child(1) {
    width: 64%;
}
.table-selection td {
    padding: 6px 10px;
}
.table-selection_list {
    /*margin-bottom: 20px;*/
    font-size: 14px;
}
.table-selection_list td {
    border-bottom: unset;
}
.table-selection_list td:nth-child(1) {
    font-weight: bold;
}
.table-selection_list tr:nth-child(2n) {
    background-color: #e3e3e3;
}
.filter-category-title {
    padding: 6px 10px;
    color: #ffffff;
    background-color: #979797;
    margin-bottom: 0;
}
.selection-cart-wrap {
    display: flex;
    flex-direction: column;
}

@media (max-width: 768.98px) {
    .table-selection th, .table-selection td {
        width: 23%;
    }
    .table-selection th:nth-child(1), .table-selection td:nth-child(1) {
        width: 54%;
    }
    .table-selection th:nth-child(2), .table-selection td:nth-child(2) {
        display: none;
    }
    .table-selection_list {
        font-size: 13px;
    }
}
/*-----------*/
/* popup предупреждение для фильтра */
/* Затемнение на весь экран */
.custom-alert {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

/* Белое окошко */
.custom-alert-content {
    background: #fff;
    padding: 20px 30px;
    border-radius: 8px;
    text-align: center;
    min-width: 250px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.custom-alert-content p {
    margin: 0 0 20px 0;
    font-size: 18px;
}

#alertOkBtn {
    padding: 8px 20px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#alertOkBtn:hover {
    background: #005a87;
}

/*-----------*/







