/* breadcrums */
.breadcrums-container{
    width: max-content;
    display: flex;
    gap: 15px;
    margin: 20px auto 50px auto;
    border-radius: 10px;
    padding: 14px 24px;
    background: var(--black);
}
.breadcrums-text{
    margin: 0;
    padding: 0;
}
.separator-holder{
    display: flex;
    align-items: center;
    justify-content: center;
}
.breadcrums-text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--grey);
}
.breadcrums-link{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--acsent);
    text-decoration: none;
}
@media screen and (max-width: 768px) {
  .breadcrums-text {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: var(--grey);

    max-width: 200px; 
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}
@media screen and (max-width: 567px) {
    .breadcrums-container {
        margin: 15px 15px 20px 15px;
        width: calc(100% - 30px);
    }
    .separator-holder{
        flex: 0 0 15px;
    }
    .breadcrums-text{
        max-width: 100%;
    }
    .breadcrums-text-container{
        flex: 0 0 auto;
    }
    .breadcrums-text-container:last-child{
        flex: 1;
        overflow: hidden;
    }
}

/* default style*/
.sg-inner-container{
    padding-inline: var(--sg-container-sm-padding);
}
.custom-h1{
    max-width: 982px;
    width: 100%;
    margin: 0 auto;
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 62px;
    text-align: center;
    color: var(--black);
    margin-bottom: 50px;
}
@media screen and (max-width: 1024px) {
    .custom-h1 {
        margin-bottom: 30px;
        padding: 0 15px;
    }
}
@media screen and (max-width: 768px) {
    .custom-h1 {
        font-size: 52px;
    }
}
@media screen and (max-width: 567px) {
    .custom-h1 {
        font-size: 34px;
        margin-bottom: 20px;
    }
}
/* filter*/

.filter-wrapper{
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

.filter-container{
    width: 100%;
    margin: 0 auto 30px auto;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 20px;
    padding: 0 20px;
}
.mobile-filter-modal-wrapper{
    width: 100%;
    margin: 0 auto 30px auto;
    display: none;
    border-radius: 10px;
    height: 50px;
    background: var(--black);
    align-items: center;
    cursor: pointer;
    justify-content: center;
}
/* .price-range {
    width: 100%;
    max-width: 244px;
    position: relative;
}


.slider-container{
    position: relative;
    height: 50px; 
}
.range-track {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--acsent);
    transform: translateY(-50%);
    z-index: 3;
}

input[type="range"] {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 5px;
    pointer-events: none;
    -webkit-appearance: none;
    background: transparent;
    transform: translateY(-50%);
    z-index: 2;
}

input[type="range"]::-webkit-slider-runnable-track {
    height: 5px;
    background: #1a1a1a;
    border-radius: 2px;
    z-index: 2;
}

input[type="range"]::-webkit-slider-thumb {
    pointer-events: all;
    -webkit-appearance: none;
    cursor: pointer;
    width: 29px;
    height: 29px;
    border-radius: 7px;
    background: var(--acsent);
    box-shadow: 0 8px 20px 0 rgba(205, 52, 51, 0.5);
    z-index: 6;
    margin-top: -10.5px;
}
 #range-min{
    z-index: 3;
 } */
/* 
.range-values {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.range-values input[type="number"] {
    width: 100%;
    padding: 6px 10px;
    border-radius: 10px;
    border: none;
    background-color: #1a1a1a;
    color: white;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    text-align: center;
    border: none;
    outline: none;
    font-size: 16px;
    -moz-appearance: textfield; 
}

.range-values input[type="number"]::-webkit-outer-spin-button,
.range-values input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none; 
    margin: 0;
}
.input-wrapper {
    position: relative;
    display: inline-block;
    min-width: 43px;
    max-width: 84px;
    width:fit-content;
}

.input-wrapper::before {
    content: "$";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Montserrat", sans-serif;
    font-size: 16px;
    color: white;
}

 */

.select-container{
    max-width: 244px;
    width: 100%;
    position: relative;

}
   
.select-main-value{
    padding: 19px 24px;
    background: var(--black);
    border-radius: 10px;
    cursor: pointer;
}
.select-main-value.active{
    border-radius: 10px 10px 0 0;
}
.select-main-value-text.active::after{
    content: "";
    position: absolute;
    right: 0px;
    top: 50%;
    width: 14px;
    height: 6px;
    background-image: url(../images/front/dropdown_arrow.svg);
    transform: translateY(-50%) rotate(180deg);
    transition: rotate 0.3s ease-in;
}
.select-main-value-text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    padding: 0;
    margin: 0;
    position: relative;

}
.select-main-value-text::after{
    content: "";
    position: absolute;
    right: 0px;
    top: 50%;
    width: 14px;
    height: 6px;
    background-image: url(../images/front/dropdown_arrow.svg);
    transform: translateY(-50%);
} 
.select-list-wrappper{
    position: absolute;
    width: 100%;
    display: none;
    padding: 19px 24px;
    background: black;
    border-radius:  0 0 10px 10px;
    z-index: 2;
}
.select-list-wrappper.active{
    display: flex;
}
.select-list{
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 2;
    max-height: 300px;
    overflow-y: scroll;
}
.select-list::-webkit-scrollbar{
    width: 2px;
}

.select-list::-webkit-scrollbar-thumb{
    background-color: var(--acsent);
    border-radius: 10px;
}

.select-list::-webkit-scrollbar-track{
    background-color: transparent;
}
.select-text{
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    margin: 0;
}

.action-wrapper{
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.submit-btn-wrapper{
    border-radius: 10px;
    max-width: 175px;
    padding: 18px 35px;
    box-shadow: 0 8px 20px 0 rgba(205, 52, 51, 0.5);
    background: var(--acsent);
    cursor: pointer;
}
.submit-btn-text{
    margin: 0;
    padding: 0;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    color: var(--white);
}
.cancel-btn-wrapper{
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--black);
    border-radius: 10px;
    cursor: pointer;
}
.seo-text{
    margin-top: 70px;

}

.mobile-close-btn-wrapper {
    position: relative;
    display: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
    background-color: var(--acsent); 
    border-radius: 10px;
    box-shadow: 0 8px 20px 0 rgba(205, 52, 51, 0.5);
    align-items: center;
    justify-content: center;
}

.mobile-close-btn {
    position: relative;
    width: 16px;
    height: 15px;
    display: flex;
    
}

.mobile-close-btn span {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--white); 
    border-radius: 2px;
    transition: 0.3s ease;
}

.mobile-close-btn span:first-child {
    transform: rotate(45deg);
}

.mobile-close-btn span:last-child {
    transform: rotate(-45deg);
}


.price-filter-range{
    width: 100% !important;
}

.price-range{
    width: 100%;
    max-width: 244px;
    position: relative;
}
.price-range-block {
    margin:60px;
}
.ui-slider-horizontal {
    height: .6em;
}
.ui-slider-horizontal {
    margin-bottom: 15px;
    width:40%;
}
.ui-widget-header {
    background: #3FE331;
}

.price-range-search {
    width:40.5%; 
    background-color: #f9f9f9; 
    border: 1px solid #6e6666;
    min-width: 40%;
    display: inline-block;
    height: 32px;
    border-radius: 5px;
    float: left;
    margin-bottom:20px;
    font-size:16px;
}
.price-range-field {
    width: 100%;
    background-color: #000000D9;
    border: 1px solid #6e6666;
    color: white;
    border-radius: 10px;
    height: 40px;
    padding: 10px;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
}
.price-wrapper {
    position: relative;
    max-width: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
}
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ui-widget.ui-widget-content {
    background: #000000D9;
    height: 5px;
    width: 95% !important;
    top: -5px;
}
.ui-slider-range.ui-corner-all.ui-widget-header {
    background: var(--acsent);
}

.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default, .ui-button, html .ui-button.ui-state-disabled:hover, html .ui-button.ui-state-disabled:active {
    border: none !important;
    outline: none !important;
    background: var(--acsent) !important;
    width: 29px !important;
    height: 29px !important;
    border-radius: 7px;
    box-shadow: 0px 8px 20px 0px #CD343380 !important;

}
.ui-slider-horizontal .ui-slider-handle {
    top: -14px !important;
    margin: 0;
}
.price-wrapper::after {
    content: "₽";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    text-align: center;

}
.search-results-block{
    position: relative;
    display: block;
    clear: both;
}
.range-values{
    display: flex;
    justify-content: space-between;
}



@media screen and (max-width: 1024px) {
    .filter-container{
        flex-wrap: wrap;
        padding: 0 20px;
        gap: 10px 20px;
        justify-content: space-between;
    }
    .price-range{
        max-width: 100%;
    }
    .ui-widget.ui-widget-content {
        width: 99% !important;
    }
    .select-container {
        max-width: 100%;
        width: 100%;
        flex: 1 1 24%;
    }
    .action-wrapper {
        width: auto;
        gap: 10px;
    }
}
@media screen and (max-width: 928px) {
    .price-range{
        flex: 1 1 224px;
    }   
   
}
@media screen and (max-width: 768px) {
    
    .seo-text{
        margin-top: 50px;
    }
}
@media screen and (max-width: 567px) {
    .seo-text{
        margin-top: 40px;
    }
    .price-range{
        flex: none;
        max-width: 100%;
    }
   
    .mobile-filter-modal-wrapper{
        display: flex;
        margin: 0 auto 20px auto;
    }
    .filter-container {
        display: none;
        position: absolute;
        z-index: 10;
        height: 100vh;
        background: white;
        top: 0;
        padding: 0;
        left: 0;
        flex-direction: column;
        justify-content: flex-start;
        padding: 15px 15px 0 15px;
    }
    .filter-wrapper{
        padding: 0 15px;
    }
    .select-container{
        flex: none;
    }
    .price-range{
        margin-top: 70px;
    }
    .mobile-close-btn-wrapper {
        display: flex;
    }
    .action-wrapper{
        padding-top: 10px;
        width: 100%;
        align-items: stretch;
    }
    .submit-btn-wrapper {
        padding: 11px 35px;
        flex: 1;
        text-align: center;
        max-width: 100%;
    }
    .cancel-btn-wrapper {
        width: 50px;
        height: 50px;
    }
    .submit-btn-text {
        font-size: 16px;
    }
}