fieldset{
    border: unset;
}
#mse2_selected.subcategory__filter-checkboxes{
    background: unset;
    border: unset;
    padding: unset;
}
.subcategory__filter-label button{
    width: 16px;
    height: 16px;
}
#mse2_results.subcategory__list{
    margin-bottom: 100px;
}
.template__slider{
    img{
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* Стили для слайдера цены */
.filter__slider-inputs{
    display: flex;
    gap: 36px;
    margin-bottom: 40px;
}
.filter__slider-inputs input{
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    text-align: center;
    color: #1e1e1e;;
    border: 1px solid #1e1e1e;;
    border-radius: 4px;
    padding: 11px 20px;
    width: 100%;
}
.filter__slider-inputs input::placeholder{
    border: 1px solid #d5d5d5;
    color: #9d9d9d;
}
.slider__shell-block:first-child{
    position: relative;
}
.slider__shell-block:first-child::before{
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: -26px;
    height: 2px;
    width: 16px;
    background: #000;
    margin: auto 0;
}
#mse2_filters .mse2_number_slider{
    height: 4px;
    border: unset;
    border-radius: unset;
    width: 96%;
    background: #e0e0e0;
}
.ui-slider-horizontal .ui-slider-range{
    background: #1e1e1e;
}
#mse2_filters .ui-state-default, #filter_another .ui-state-default{
    width: 20px;
    height: 20px;
    background: #1e1e1e;
    border-radius: 50%;
    cursor: pointer;
    top: 0px;
    bottom: 0px;
    margin: auto 0px;
    border: unset;
}
#mse2_filters .ui-state-default:focus, #filter_another .ui-state-default:focus{
    outline: unset;
}
/* Стили для слайдера цены */

/* Стили для поиска */
.ui-menu{
    max-height: calc(100vh - 150px);
}
.ui-widget.ui-widget-content.ui-autocomplete{
    padding: 10px;
    background: #f5f5f5;
    border: unset;
    border-top: 5px solid #fff;
}
.ui-menu-item-wrapper{
    padding: 10px !important;
}
.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    background: #fafafa !important;
    border: unset !important;
    color: #1e1e1e !important;
    font-weight: 500 !important;
    margin: unset !important;
}
.ui-menu-item-wrapper .mse2-ac-item{
    display: flex;
    align-items: center;
    gap: 30px;
}
.ui-menu-item-wrapper .search_item_image{
    width: 46px;
    height: 46px;
    min-width: 46px;
    min-height: 46px;
}
.ui-menu-item-wrapper .search_item_image img{
    width: 100%;
    height: 100%;
}
.search_item{
    font-weight: 500;
    font-size: 16px;
    line-height: 140%;
    text-transform: uppercase;
    color: #1e1e1e;
    font-family: Inter, sans-serif;
}
.ui-menu-divider{
    display: none;
}
.ui-menu{
    scrollbar-width: thin;
    scrollbar-color: #1e1e1e transparent;
}
.ui-menu::-webkit-scrollbar{
    width: 6px;
}
.ui-menu::-webkit-scrollbar-thumb {
    background: #1e1e1e;
}
/* Стили для поиска */

/* Стили модального окна (поиска) */
.modal-custom{
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 11;
    background: rgba(0, 0, 0, .3);
}
.modal-custom__inner{
    background: #fff;
    position: relative;
    padding: 10px 20px;
}
.close-modal{
    position: absolute;
    top: 20px;
    right: 10px;
    z-index: 1;
}
.close-modal svg path{
    transition: .4s ease;
}
.close-modal:hover svg path{
    stroke: #1e1e1e;
}
.modal-search__btn{
    display: none;
}
/* Стили модального окна (поиска) */

@media(max-width: 1350px){
    .header__search-form{
        display: none;
    }
    .modal-search .header__search-form{
        display: flex;
    }
}

@media(max-width: 991px){
    #mse2_results.subcategory__list{
        margin-bottom: 50px;
    }
    .subcategory__filter-wrapper{
        margin-top: 20px;
    }
    .subcategory__filter-inner{
        padding-bottom: 10px;
    }
}
@media(max-width: 575px){
    .modal-search .modal-custom__inner{
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 30px;
    }
    .modal-search__btn{
        display: block;
        font-weight: 600;
        font-size: 16px;
        line-height: 140%;
        color: #1e1e1e;
        padding: 12px 0;
        width: 100%;
        max-width: 335px;
        border: 2px solid #1e1e1e;
        margin: 0 auto;
    }
    .modal-search .close-modal{
        right: 30px;
        top: 22px;
    }
    
    .ui-menu-item-wrapper .mse2-ac-item{
        gap: 20px;
    }
    .search_item{
        font-size: 14px
    }
    .ui-menu-item-wrapper .search_item_image{
        width: 32px;
        height: 32px;
        min-width: 32px;
        min-height: 32px;
    }
    .ui-widget.ui-widget-content.ui-autocomplete{
        overflow-y: auto;
    }
    .header__search-input, .header__search-input::placeholder{
        font-size: 14px;
    }
}

/* Сookie */

.cookie {
    visibility: hidden;
    opacity: 0;
    transform: translateY(50%);
    position: fixed;
    right: 10px;
    bottom: 10px;
    padding: 25px;
    width: 635px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 0 4px 0px rgba(0, 0, 0, 0.1);
    z-index: 51;
    transition: all 0.4s ease;
}

.show-cookie {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.cookie__text {
    font-weight: 400;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.2;
}

.cookie__text a {
    color: #E66F34;
    font-weight: 600;
}

.cookie__accept {
    width: 150px;
    height: 40px;
    background-color: #E66F34;
    color: #fff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.cookie__accept:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .cookie {
        left: 10px;
        width: auto;
    }
}

@media (max-width: 520px) {
    .cookie {
        padding: 15px;
    }
    
    .cookie__text {
        font-size: 14px;
    }
    
    .cookie__accept {
        font-size: 14px;
    }
}        

.header__phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.contacts__form {
    padding: 60px;
    background-color: #e66f34;
    color: #fff;
    justify-content: center;
    gap: 100px;
    width: fit-content;
    margin: 0 auto;
}

.contacts__form .section__title,
.request-form__info,
.request-form__label,
.request-form__approval,
.request-form__input {
    color: #fff;
}

.request-form__button {
   background-color: #fff;
   color: #e66f34; 
}

.request-form__button:hover {
    color: #fff;
    border-color: #fff;
}

.request-form__input {
    background-color: transparent;
}

@media (max-width: 1200px) {
    .contacts__form {
        padding: 40px;
        gap: 0;
    }
}

@media (max-width: 768px) {
    .contacts__form {
        padding: 30px 20px;
    }
}

.template__map {
    margin-top: 70px;
    width: 100%;
    height: 800px;
}

@media (max-width: 1200px) {
    .template__map {
        height: 600px;
    }  
}

@media (max-width: 768px) {
    .template__map {
        height: 400px;
    }  
}

.header__logo {
    flex-shrink: 0;
}

.order-form__content .template__map{
    height: 450px;
}

.modal-basket {
    max-width: 730px;
}

.card__content>form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.size__select {
    padding: 20px 30px 20px 20px;
    width: 100%;
    height: auto;
    font-size: 16px;
    line-height: 1.4;
}

.size__select .list {
    width: 100%;
}

.product .size__select {
    width: auto;
}

.product .btn__basket {
    max-width: 360px;
}

.product__action-block {
    margin: 0;
}

.product__buttons {
    margin-bottom: 58px;
    margin-top: 40px;
}

.product .size__select {
    margin-right: 30px;
}

@media (max-width: 575px) {
    .size__select {
        padding: 13px 20px 13px 13px;
        font-size: 12px;
    }
    
    .product .size__select {
        margin-right: 10px;
    }
}

.product__thumbs {
    width: 100%;
}

.breadcrumbs {
    margin: 50px 0;
}

.category__list,
.subcategory__list {
    grid-template-columns: repeat(5, 1fr);
    gap: 40px 20px;
}

.section__content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin: 150px 0;
}

.section__content h2 {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 52px;
    line-height: 120%;
    color: #1e1e1e;
}

.section__content p {
    font-weight: 400;
    font-size: 20px;
    line-height: 150%;
    color: #1e1e1e;
}

.subcategory__count {
    font-weight: 400;
    color: #969696;
}

@media (max-width: 1600px) {
    .section__content {
        margin: 70px 0;
        gap: 30px;
    }
    
    .section__content h2 {
        font-size: 45px;
    }
    
    .section__content p {
        font-size: 16px;
    }
}

@media (max-width: 1200px) {
    .section__content {
        margin: 50px 0;
        gap: 20px;
    }
    
    .section__content h2 {
        font-size: 35px;
    }
    
    .section__content p {
        font-size: 14px;
    }
    
    .category__list,
    .subcategory__list {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .section__content h2 {
        font-size: 22px;
    }
    
    .section__content p {
        font-size: 12px;
    }
    
    .category__list,
    .subcategory__list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px 10px;
    }
}

@media (max-width: 620px) {
    .category__list,
    .subcategory__list {
        grid-template-columns: repeat(2, 1fr);
    }
}

.subcategory__count {
    display: none;
}

.no__before:before { display:none; }
.no__after:after { display:none; }

.contacts__social--max path,
.footer__social--max path {
    transition: .3s ease;
}

.contacts__social--max:hover path,
.footer__social--max:hover path {
    fill: #863ccf;
}