html {
    scroll-behavior: smooth;
    line-height: 1.15;
}

body {
    font-family: 'PT Sans Narrow', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-x: hidden;
}

body.no-scroll {
    overflow: hidden;
}

body.no-scroll .menu-wrapper {
    overflow-y: scroll;
}

body.no-scroll .menu-dropdown-wrapper {
    overflow-y: scroll;
}

input {
    font-family: 'PT Sans Narrow', sans-serif;
}

textarea {
    font-family: 'PT Sans Narrow', sans-serif;
    resize: none;
}

a {
    text-decoration: none;
    color: #514F4F;
}

li {
    list-style: none;
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

.checkbox a:hover {
    color: #fff;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 10px;
}

.mt-15 {
    margin-top: 15px;
}

.mt-30 {
    margin-top: 30px;
}

/* СТИЛИ ДЛЯ БЛОКА ХЛЕБНЫЕ КРОШКИ (BREADCRUMBS) */
 
.breadcrumbs {
	margin-top: 20px;
	margin-right: auto;
}

.breadcrumbs li {
	display: inline-block;
	margin-left: 13px;
}

.breadcrumbs li:first-child {
	margin-left: 0;
}

.breadcrumbs li a {
    font-size: 14px;
    transition: all 0.3s ease-out;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}

.breadcrumbs li a:hover {
    border-bottom-color: #257985;
    color: #257985;
}

.breadcrumbs li:not(:first-child):before {
    content: '>';
    position: relative;
    display: block;
    width: 0;
    height: 0;
    right: 12px;
    font-weight: 600;
    color: #FF4447;
}

.breadcrumbs-category ul {
    margin-left: 0;
}

.breadcrumbs-category li:before {
    top: 15px;
}

/* СТИЛИ ДЛЯ МЕНЮ ПОДСКАЗОК */

.ui-menu {
    position: fixed;
    z-index: 9999;
    max-width: 610px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    border: none;
    background: #fff;
}

.ui-menu-item {
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid #f5f5f5;
}

.ui-menu-item:hover {
    background-color: #81bec7;
}

.ui-menu-item:last-child {
    border-bottom: none;
}

.ui-corner-all {
    display: flex;
    align-items: center;
}

.ui-menu-item-wrapper.ui-state-active {
    background: #ffb875;
    border: none;
    color: #333;
}

.ui-menu-item.ui-state-active .ui-menu-item-wrapper {
    background: #ffb875;
    border: none;
}

.autocomplete_img {
    width: 48px;
    height: 48px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
    background: white;
}

.autocomplete_img img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}

.autocomplete_content {
    flex-grow: 1;
    min-width: 0;
    text-align: left;
}

.autocomplete_name {
    font-weight: 600;
    font-size: 15px;
    display: block;
    margin-bottom: 3px;
    color: #2c3e50;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete_desc {
    font-size: 13px;
    color: #454c44;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ МЕНЮ ПОДСКАЗОК */

@media (max-width: 1150px) {
    
    .ui-menu {
        position: fixed;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 50vh;
        overflow-y: auto;
    }
}

/* СТИЛИ ДЛЯ БЛОКА HEADER */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid #44444429;
    box-shadow: 0 0 5rem rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.85);
    z-index: 4;
    backdrop-filter: blur(4px);
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: start;
    width: 1350px;
    position: relative;
    font-weight: bold;
}

.header__nav {
    display: flex;
    align-items: center;
}

.header__mobile-menu {
    display: flex;
    gap: 20px;
}

.header__menu-link,
.header__mobile-toggle {
    color: #257985;
    font-size: 17px;
    position: relative;
    cursor: pointer;
}

.header__link-text,
.header__toggle-text {
    transition: all .3s ease-out;
    border-bottom: 3px solid transparent;
    padding-bottom: 5px;
}

.header__link-text:hover,
.header__menu-link.active .header__link-text,
.header__toggle-text:hover,
.header__mobile-toggle.active .header__toggle-text {
    border-bottom-color: #FF4447;
}

.header__mobile-toggle {
    display: none;
}

.header__link-icon{
    color: #FF4447;
}

.header__logo {
    margin-right: 60px;
    padding-left: 10px;
    outline: none;
}

.header__right-group {
    position: absolute;
    right: 5px;
    display: flex;
    align-items: center;
    text-align: right;
}

.header__divider {
    width: 1px;
    background: #ccccccba;
    height: 50px;
    position: absolute;
    right: 30px;
}

.header__search-icon {
    color: #257985;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    margin-right: 20px;
}

.header__contact-phone,
.header__contact-mail {
    color: #257985;
    display: block;
    font-size: 18px;
}

.header__contact-phone:hover,
.header__contact-mail:hover {
    opacity: 0.8;
}

.header__contact-phone {
    font-size: 25px;
    font-weight: bold;
}

.header__contact-mail {
    font-weight: 400;
}

.header__accent {
    color: #FF4447;
}

.header__search {
    position: relative;
}

.header__search-input,
.header__search-input--mobile {
    display: none;
    margin-right: 10px;
    padding: 12px 20px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    z-index: 1000;
    font-weight: 300;
    font-size: 15px;
    color: #929292;
    outline: none;
    transition: all .3s ease-out;
}

.header__search-input:hover{
    border: 1px solid #257985;
}

.header__search-input.active,
.header__search-input--mobile.active {
    display: block;
}

.header__search-btn,
.header__search-btn--mobile {
    display: inline-block; /* или block/flex */
    transition: all .3s ease-out;
}

.header__search-btn:hover,
.header__search-btn--mobile:hover {
    transform: scale(1.3);
}

.header__right-group--mobile {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #44444429;
    width: 100%;
}

.header__right-group--mobile .header__contacts {
    margin-bottom: 15px;
}

.header__right-group--mobile .header__contact-phone {
    font-size: 20px;
}

.header__right-group--mobile .header__contact-mail {
    font-size: 16px;
}

.header__right-group--mobile .header__search-btn {
    margin-left: 0;
    margin-top: 10px;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА HEADER */

@media (max-width: 1150px) {
    
    .header__mobile-toggle {
        display: block;
    }
    
    .header__logo {
        margin-right: 30px;
    }
    
    .header__right-group {
        display: none;
    }
    
    .header__right-group--mobile {
        display: flex;
        padding-top: 0;
        margin-top: 0;
    }
    
    .header__contact-phone,
    .header__contact-mail {
        font-size: 14px;
    }
    
    .header__contact-phone {
        font-size: 14px;
    }
    
    .header__mobile-menu {
        z-index: 3;
        position: fixed;
        background: rgba(255, 255, 255, 0.85);
        width: 100%;
        backdrop-filter: blur(4px);
        display: none;
        top: 100%;
        left: 0;
        padding: 0px 20px 20px 20px;
    }
    
    .header__mobile-menu .header__menu-link {
        color: #257985;
        margin: 10px 0;
        font-size: 17px;
        position: relative;
        cursor: pointer;
    }
    
    .header__mobile-menu.active {
        display: flex;
        flex-direction: column;
    }
    
    .header__mobile-menu .header__link-icon {
        color: #FF4447;
    }
    
    .header__mobile-menu {
        gap: 0;
    }
}

/* СТИЛИ ДЛЯ БЛОКА DROPDOWN-MENU */

.dropdown-menu {
    background: url("https://servom.ru/wa-data/public/shop/themes/servom/1a7e97fa22a762c95e9f.png") top center no-repeat transparent;
    background-size: cover;
    position: fixed !important;
    width: 100%;
    inset: 90px 0 0 0;
    overflow: auto;
    z-index: 3;
    display: none;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-menu__container {
    width: 40%;
    margin: 2rem 15% 2rem 15%;
}

.dropdown-menu__close {
    position: absolute;
    right: 15px;
    top: 15px;
    cursor: pointer;
    z-index: 4;
}

.dropdown-menu__close-icon {
    color: #257985;
}

.dropdown-menu__section {
    display: none;
}

.dropdown-menu__section.active {
    display: block;
}

.dropdown-menu__inner {
    padding: 20px;
}

.dropdown-menu__inner ul {
    padding: 0;
    margin: 0;
}

.dropdown-menu__inner ul li {
    list-style: none;
}

.dropdown-menu__title {
    font-size: 56px;
    color: #FFFFFF;
    font-weight: 400;
    display: inline-block;
    background-size: 12px;
}

.dropdown-menu__category {
    font-size: 25px;
    color: #FFFFFF;
    font-weight: 400;
    padding: 1rem 2rem;
    display: inline-block;
    margin: 0 3px;
    cursor: pointer;
    background: url("https://servom.ru/wa-data/public/shop/themes/servom/f22857b72e4a41715fcd.png") no-repeat left center;
    background-size: 12px;
}

.dropdown-menu__category-name {
    transition: all .3s ease-out;
    border-bottom: 2px solid transparent;
}

.dropdown-menu__category.active .dropdown-menu__category-name {
    border-bottom-color: #FF4447;
}

.dropdown-menu__category.active ~ .dropdown-menu__content {
    display: block;
}

.dropdown-menu__content {
    width: 50%;
    min-height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
    display: none;
}

.dropdown-menu__image {
    height: 50px;
    margin: 20px 0;
}

.dropdown-menu__description {
    margin: 0 50px 20px 0;
}

.dropdown-menu__action {
    display: flex;
    align-items: center;
}

.dropdown-menu__link {
    display: flex;
    align-items: center;
    color: #257985;
}

.dropdown-menu__icon {
    margin: 7px 0 0 0;
}

.dropdown-menu__link:hover .dropdown-menu__link-text {
    border-bottom-color: #FF4447;
}

.dropdown-menu__link-text {
    border-bottom: 2px solid #257985;
    transition: all .3s ease-out;
}

.dropdown-menu__inner .dropdown-menu__title {
    font-size: 56px;
    color: #FFFFFF;
    font-weight: 400;
    display: inline-block;
    background-size: 12px;
}

.dropdown-menu__inner .dropdown-menu__content {
    width: 50%;
    min-height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.dropdown-menu__content .dropdown-menu__inner .dropdown-menu__image {
    height: 130px;
    margin-top: 20px;
}

.dropdown-menu__description span {
    padding: 10px;
    background: #257985;
    color: #FFFFFF;
}

.dropdown-menu__section#menu-company .dropdown-menu__image {
    height: 100% !important;
    width: 120px;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА DROPDOWN-MENU */

@media (max-width: 1150px) {
    
    .dropdown-menu {
        background: url("https://servom.ru/wa-data/public/shop/themes/servom/7dcf6b41cb194299708f.png") top center no-repeat transparent;
    }
    
    .dropdown-menu__container {
        width: 100%;
        margin: 0;
    }
    
    .dropdown-menu__inner ul {
        display: flex;
        overflow: auto;
    }
    
    .dropdown-menu__title {
        font-size: 25px;
    }
    
    .dropdown-menu__category {
        font-size: 18px;
        display: flex;
        white-space: nowrap;
    }
    
    .dropdown-menu__content {
        position: absolute;
        min-height: auto;
        width: 100%;
        top: 90px;
        left: 0;
    }
    
    .dropdown-menu__content .dropdown-menu__inner {
        padding: 10px;
    }
    
    .dropdown-menu__image {
        width: auto;
        height: 60px;
    }
    
    .dropdown-menu__description {
        margin: 0;
    }
    
    .dropdown-menu__inner {
        padding: 35px 10px 10px 10px;
    }
    
    .dropdown-menu__inner .dropdown-menu__title {
        font-size: 25px;
    }
    
    .dropdown-menu__inner .dropdown-menu__content {
        position: absolute;
        min-height: auto;
        width: 100%;
        top: 120px;
        left: 0;
    }
}

/* СТИЛИ ДЛЯ БЛОКА FEEDBACK */

.feedback__container {
    display: flex;
    max-width: 1350px;
    margin: 0 auto;
}

.feedback__left {
    width: 50%;
}

.feedback__head {
    font-size: 56px;
    color: #5EA8A7;
    font-weight: bold;
}

.feedback__highlight {
    color: #FF4447;
}

.feedback__subtitle {
    margin-top: 20px;
    position: relative;
}

.feedback__right {
    width: 48%;
}

.feedback__row {
    display: flex;
    column-gap: 20px;
}

.feedback__field {
    width: 100%;
    position: relative;
}

.feedback__input,
.feedback__textarea {
    font-family: inherit;
    min-width: 200px;
    width: 100%;
    border: 1px solid transparent;
    background: #F8F8F8;
    outline: none;
    margin: 10px;
    font-size: 17px;
    border-radius: 5px;
    padding: 10px 10px 10px 45px;
    transition: all .3s ease-out;
}

.feedback__input:focus,
.feedback__textarea:focus,
.feedback__input:hover,
.feedback__textarea:hover{
    box-shadow: 0 0 0 2px #257985;
}

.feedback__btn {
    font-family: inherit;
    font-size: 18px;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid #257985;
    padding: 10px 15px;
    opacity: 0.9;
    color: #FFFFFF;
    background-image: linear-gradient(145deg, #257985 50%, transparent 50%);
    background-size: 400%;
    transition: all .3s ease-out;
    margin: 9px 0 0 10px;
}

.feedback__icon {
    position: absolute;
    top: 22px;
    left: 20px;
    font-size: 20px;
    color: #666666a3;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА FEEDBACK */

@media (max-width: 1150px) {
    
    .feedback__container {
        flex-direction: column;
    }
  
    .feedback__left {
        width: 100%;
    }
  
    .feedback__left .feedback__inner {
        padding: 0 25px;
    }
  
    .feedback__right {
        width: 100%;
    }
  
    .feedback__right .feedback__inner {
        padding: 0 25px;
    }
  
    .feedback__head {
        font-size: 40px;
    }
}

@media (max-width: 600px) {
    
    .feedback__btn {
        font-size: 15px;
    }
  
    .feedback__row {
        display: block;
    }
}

/* СТИЛИ ДЛЯ БЛОКА FOOTER */

.footer__container {
    display: flex;
}

.footer__left {
    width: 20%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer__copyright {
    margin: 10px 0 0 50px;
    font-size: 12px;
}

.footer__right {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: linear-gradient(68deg, transparent 150px, #257985 0);
    padding: 20px 0 0 180px;
    color: #FFFFFF;
    line-height: 25px;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
}

.footer__contact-item {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.footer__contact-item b{
    margin-right: 10px;
}

.footer__link {
    display: inline-block;
    color: #FFFFFF;
    position: relative;
    text-decoration: none;
    transition: color .3s ease;
    overflow: hidden;
}

.footer__link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: all .3s ease;
}

.footer__link:hover::before {
    width: 100%; 
}

.footer__head {
    font-size: 20px;
    display: inline-block;
    color: #FFFFFF;
    margin-top: 10px;
    border-bottom: 3px solid #FF4447;
}

.footer__categories {
    display: flex;
    margin-right: 100px;
    margin-top: 10px;
}

.footer__category-column {
    display: flex;
    flex-direction: column;
}

.footer__category-column:first-child {
    margin-right: 40px;
}

.footer__logos {
    width: 100%;
    display: flex;
    justify-content: start;
    margin: 25px 0;
}

.footer__logos-img {
    width: 200px;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА FOOTER */

@media (max-width: 1150px) {
    
    .footer__container {
        flex-direction: column-reverse;
    }
  
    .footer__left {
        margin: 30px 0;
        width: 100%;
    }
  
    .footer__right {
        width: 100%;
        background: #257985;
        padding: 0;
    }
  
    .footer__inner {
        padding: 20px;
    }
  
    .footer__categories {
        margin-right: 0;
    }
}

@media (min-width: 1150px) and (max-width: 1350px) {
    
    .footer__left {
        padding-left: 10px;
    }
}

@media (min-width: 1150px) and (max-width: 1575px) {
    
    .footer__right {
        background: linear-gradient(65deg, transparent 230px, #257985 0);
        padding-left: 350px;
    }
}

/* СТИЛИ ДЛЯ СТРАНИЦЫ ОШИБКИ 404 */

.search-widget__error {
    z-index: 2;
    width: 100%;
    position: relative;
}

.error-header {
    text-align: center;
    font-weight: 700;
    font-size: 260px;
    color: #e0e0e0;
    font-family: 'Arial', sans-serif;
    position: relative;
    top: 40px;
}
  
.error-message {
    position: relative;
    font-weight: 700;
    font-size: 80px;
    color: #2b2b2b;
    text-align: center;
    text-transform: uppercase;
}
    
.error-message_add {
    position: relative;
    font-weight: 700;
    font-size: 30px;
    color: #e0e0e0;
    text-align: center;
    margin-top: 15px;
}
  
.error-link {
    display: inline-block;
    padding: 12px 24px;
    background: #257985;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
  
.error-link:hover {
    background: #228be6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 139, 230, 0.3);
}
  
.error-wrapper {
    width: 82vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    box-sizing: border-box;
    margin-top: 70px;
    padding-bottom: 30px;
}

.error-wrapper > div {
    max-width: 1150px;
    width: 100%;
    margin: 0 auto 0 auto;
    box-sizing: border-box;
}

.error-form {
    position: relative;
    margin: 20px 0 0 10px;
}

.error-form::after {
    content: "Сервис временно не доступен";
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ff6b6b;
    color: #fff;
    text-transform: uppercase;
    padding: 10px;
    font-size: 26px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s;
    z-index: 1000;
    box-sizing: border-box;
    white-space: nowrap;
    margin: 0;
}

.error-form:hover::after {
    opacity: 1;
    visibility: visible;
}
    
.error-input {
    padding: 14px 45px;
    cursor: text;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    font-weight: 300;
    font-size: 13px;
    width: 98%;
    height: 50px;
    color: #929292;
    outline: none;
}

.search-text {
    font-size: 26px;
    margin-top: 20px;
    color: #257985;
}

.search-title {
    font-weight: 600;
    color: #495057;
}

.search-form {
    position: relative;
}

.search-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
}
 
.search-tag {
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    width: 180px;
    height: 49px;
    background: #257985;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
}

.search-tag:hover {
    background: #309dad;
    transform: translateY(-3px);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    padding: 17px 35px;
    background: #257985;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    text-align: center;
    transition: all 0.2s ease-out;
}

.search-button:hover {
    border: 2px solid #257985;
    background: #fff;
    color: #257985;
}

.search-text h2:before {
    content: '';
    border: 2px solid #257985;
    position: relative;
    left: -15px;
    width: 50px;
    height: 0px;
    transform: rotate(-90deg);
    margin: auto 0;
}

.fon {
    background: url("https://servom.ru/wa-data/public/shop/themes/servom/6438ca4a583cf7adfb14.png") right 10% bottom 35% no-repeat;
    background-size: cover;
    height: 590px;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    text-align: center;
    min-width: 100%;
    max-width: 1920px;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОШИБКИ 404 */

@media (max-width: 600px) {
    
    .error-header {
        font-size: 150px;
    }
      
    .error-message {
        font-size: 60px;
    }
    
    .error-message_add {
        font-size: 24px;
    }
    
    .fon {
        height: 430px;
    }
}

@media (max-width: 400px) {
    
    .fon {
        height: 470px;
    }
}