/* ===== ПЕРЕМЕННЫЕ ЦВЕТОВ ===== */
:root {
  /* Светлая тема (по умолчанию) */
  --color-primary: #257985;
  --color-accent: #FF4447;
  --color-text: #514F4F;
  --color-text-light: #929292;
  --color-text-dark: #2b2b2b;
  --color-white: #FFFFFF;
  --color-black: #000000;
 
  /* Оттенки серого */
  --color-gray-10: #f8f8f8;
  --color-gray-20: #e0e0e0;
  --color-gray-30: #d9d9d9;
  --color-gray-40: #cccccc;
  --color-gray-50: #b0b0b0;
  --color-gray-60: #929292;
  --color-gray-70: #666666;
  --color-gray-80: #454c44;
  --color-gray-90: #2c3e50;
  --color-gray-95: #2b2b2b;
  --bg-scrollbar: rgba(0, 0, 0, 0.8);
  
  /* Полупрозрачные цвета */
  --color-shadow: rgba(0, 0, 0, 0.2);
  --color-border-light: rgba(68, 68, 68, 0.16);
  --color-border-transparent: rgba(204, 204, 204, 0.73);
  --color-text-transparent: rgba(102, 102, 102, 0.64);
  
  /* Дополнительные цвета */
  --color-primary-light: #5EA8A7;
  --color-primary-hover: #81bec7;
  --color-primary-hover-alt: #309dad;
  --color-accent-light: #FF6B6B;
  --color-active: #ffb875;
  --color-link-hover: #228be6;
  
  /* Фоны */
  --color-bg-body: var(--color-white);
  --color-bg-light: var(--color-gray-10);
  --color-bg-footer: var(--color-primary);
  
  /* Градиенты */
  --gradient-footer: linear-gradient(68deg, transparent 150px, var(--color-primary) 0);
  --gradient-button: linear-gradient(145deg, var(--color-primary) 50%, transparent 50%);
}

/* Автоматическое определение темы системы */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    /* Основные цвета */
    --color-primary: #4aaabd;
    --color-accent: #FF6B6B;
    --color-text: #E8E8E8;
    --color-text-light: #B8B8B8;
    --color-text-dark: #FFFFFF;
    --color-white: #f5f6f7;
    --color-black: #E0E0E0;
   
    /* Оттенки серого */
    --color-gray-10: #3D3E3F;
    --color-gray-20: #454647;
    --color-gray-30: #4D4E4F;
    --color-gray-40: #555657;
    --color-gray-50: #6A6B6C;
    --color-gray-60: #7F8081;
    --color-gray-70: #949596;
    --color-gray-80: #A9AAAB;
    --color-gray-90: #BEBFC0;
    --color-gray-95: #D3D4D5;
    --bg-scrollbar: rgba(255, 255, 255, 0.8);
    
    /* Полупрозрачные цвета */
    --color-shadow: rgba(0, 0, 0, 0.3);
    --color-border-light: rgba(255, 255, 255, 0.15);
    --color-border-transparent: rgba(255, 255, 255, 0.2);
    --color-text-transparent: rgba(232, 232, 232, 0.7);
    
    /* Дополнительные цвета */
    --color-primary-light: #75C2C1;
    --color-primary-hover: #6DB9C5;
    --color-primary-hover-alt: #4D9A99;
    --color-accent-light: #FF8888;
    --color-active: #FFA94D;
    --color-link-hover: #4DA8FF;
    
    /* Фоны */
    --color-bg-body: #48494a;
    --color-bg-light: #3A3B3C;
    --color-bg-footer: #2A5B66;
    
    /* Градиенты */
    --gradient-footer: linear-gradient(68deg, transparent 150px, var(--color-bg-footer) 0);
    --gradient-button: linear-gradient(145deg, var(--color-primary) 50%, transparent 50%);
  }
}

/* СТИЛИ ДЛЯ ВСЕХ СТРАНИЦ */

* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-scrollbar) var(--color-bg-body);
}

*,
*::before,
*::after {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    line-height: 1.15;
    max-width: 100%;
}

body {
    font-family: 'PT Sans Narrow', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    overflow-x: hidden;
    background-color: var(--color-bg-body);
    color: var(--color-text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

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: var(--color-text);
}

li {
    list-style: none;
}

.checkbox a:hover {
    color: var(--color-white);
}

.main {
    overflow-x: hidden;
}

.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 10px;
}

@media (max-width: 600px) {
    
    .container {
        padding: 0 20px;
    }
}

.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: var(--color-primary);
    color: var(--color-primary);
}

.breadcrumbs li:not(:first-child):before {
    content: '>';
    position: relative;
    display: block;
    width: 0;
    height: 0;
    right: 12px;
    font-weight: 600;
    color: var(--color-accent);
}

.breadcrumbs-category ul {
    margin-left: 0;
}

.breadcrumbs-category li:before {
    top: 15px;
}

/* СТИЛИ ДЛЯ МЕНЮ ПОДСКАЗОК */

.ui-menu {
    position: fixed;
    z-index: 9999;
    box-shadow: 0 10px 25px var(--color-shadow);
    border: none;
    background: var(--color-bg-body);
    margin-top: 0;
    max-width: none !important;
}

.ui-menu .ui-menu-item {
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid var(--color-gray-10);
}

.ui-menu .ui-menu-item:hover {
    background-color: var(--color-primary-hover);
}

.ui-menu .ui-menu-item:last-child {
    border-bottom: none;
}

.ui-corner-all {
    display: flex;
    align-items: center;
}

.ui-menu-item-wrapper.ui-state-active {
    background: var(--color-active);
    border: none;
    color: var(--white);
}

.ui-menu-item.ui-state-active .ui-menu-item-wrapper {
    background: var(--color-active);
    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 var(--color-gray-20);
    border-radius: 4px;
    overflow: hidden;
    background: var(--color-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: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete_desc {
    font-size: 13px;
    color: var(--white);
    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;
        top: 490px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 46.2vh;
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .ui-menu .ui-menu-item {
        flex-shrink: 0;
    }
}

/* СТИЛИ ДЛЯ БЛОКА HEADER */

.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--color-border-light);
    box-shadow: 0 0 5rem var(--color-shadow);
    background: rgba(255, 255, 255, 0.85);
    z-index: 4;
    backdrop-filter: blur(4px);
    animation: fadeInDown .5s ease-out;
}

[data-theme="dark"] .header {
    background: rgba(41, 41, 41, 0.85);
    border-bottom: 1px solid var(--color-border-light);
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    20% {
        opacity: 0;
        transform: translateY(-25px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.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: var(--color-primary);
    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: var(--color-accent);
}

.header__mobile-toggle {
    display: none;
}

.header__link-icon{
    color: var(--color-accent);
}

.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: var(--color-border-transparent);
    height: 50px;
    position: absolute;
    right: 30px;
}

.header__search-icon {
    color: var(--color-primary);
}

.header__search-mobile {
    margin-top: 5px;
    padding-left: 5px;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    margin-right: 10px;
}

.header__contact-phone,
.header__contact-mail {
    color: var(--color-primary);
    display: block;
    font-size: 18px;
    transition: all .3s ease-out;
}

.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: var(--color-accent);
}

.header__search {
    position: relative;
}

.header__search-input,
.header__search-input--mobile {
    display: none;
    margin-right: 10px;
    padding: 12px 14px;
    border: 1px solid var(--color-gray-40);
    border-radius: 6px;
    background: var(--color-white);
    z-index: 1000;
    font-weight: 300;
    font-size: 15px;
    color: var(--color-text-light);
    outline: none;
    transition: all .3s ease-out;
}

.header__search-input:hover{
    border: 1px solid var(--color-primary);
}

.header__search-input.active,
.header__search-input--mobile.active {
    display: block;
}

.header__search-btn,
.header__search-btn--mobile {
    display: inline-block;
    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 var(--color-border-light);
    width: 100%;
}

.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__contacts {
        margin-top: 10px;
    }
    
    .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;
    }
    
    [data-theme="dark"] .header__mobile-menu {
        background: rgba(26, 26, 26, 0.85);
    }
    
    .header__mobile-menu .header__menu-link {
        color: var(--color-primary);
        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: var(--color-accent);
    }
    
    .header__mobile-menu {
        gap: 0;
    }
}

/* СТИЛИ ДЛЯ КНОПКИ ПЕРЕКЛЮЧЕНИЯ ТЕМЫ */

.header__theme-toggle {
    margin-right: 15px;
    display: flex;
    align-items: center;
    margin-top: 5px;
}

.header__theme-toggle--mobile {
    margin-top: 15px;
}

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.theme-toggle:hover {
    background-color: var(--color-gray-10);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle__icon {
    font-size: 20px;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-toggle__icon--sun {
    color: #ffd700;
}

.theme-toggle__icon--moon {
    color: #f0f0f0;
}

.theme-toggle__img {
    width: 100%;
}

[data-theme="light"] .theme-toggle__icon--sun {
    display: block;
}

[data-theme="light"] .theme-toggle__icon--moon {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--sun {
    display: none;
}

[data-theme="dark"] .theme-toggle__icon--moon {
    display: block;
}

@keyframes themeToggle {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0.9);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: rotate(360deg) scale(1);
    }
}

.theme-toggle.animating .theme-toggle__icon {
    animation: themeToggle 0.6s ease forwards;
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ КНОПКИ ПЕРЕКЛЮЧЕНИЯ ТЕМЫ */

@media (max-width: 1150px) {
    
    .header__theme-toggle:not(.header__theme-toggle--mobile) {
        display: none;
    }
    
    .header__theme-toggle--mobile {
        display: flex;
        justify-content: center;
    }
    
    .theme-toggle {
        width: 36px;
        height: 36px;
    }
    
    .theme-toggle__icon {
        font-size: 18px;
    }
}

/* СТИЛИ ДЛЯ БЛОКА DROPDOWN-MENU */

.dropdown-menu {
    background: url("https://servom.ru/wa-data/public/shop/themes/servom/images/green_back.webp") top center no-repeat transparent;
    background-size: cover;
    position: fixed;
    width: 100%;
    inset: 90px 0 0 0;
    overflow: auto;
    z-index: 3;
    display: none;
}

[data-theme="dark"] .dropdown-menu {
    background: url("https://servom.ru/wa-data/public/shop/themes/servom/images/green_back_dark.webp") top center no-repeat transparent;
    background-size: cover;
    position: fixed;
    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: var(--color-primary);
}

[data-theme="dark"] .dropdown-menu__close-icon {
    color: var(--color-accent);
}

.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: var(--color-white);
    font-weight: 400;
    display: inline-block;
    background-size: 12px;
}

.dropdown-menu__category {
    font-size: 25px;
    color: var(--color-white);
    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/images/round.webp") 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: var(--color-accent);
}

.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;
}

.dropdown-menu__description {
    margin: 10px 50px 20px 0;
    text-align: justify;
}

.dropdown-menu__description p:not(:first-child) {
    margin-top: 15px;
}

.dropdown-menu__description a {
    display: inline-block;
    margin-top: 15px;
    font-size: 24px;
    color: var(--color-primary);
    transition: all .3s ease-out;
    border-bottom: 3px solid transparent;
    padding-bottom: 5px;
}

.dropdown-menu__description a:hover {
    border-bottom-color: var(--color-accent);
}

.dropdown-menu__action {
    display: flex;
    align-items: center;
}

.dropdown-menu__link {
    display: flex;
    align-items: center;
    color: var(--color-primary);
}

.dropdown-menu__link:hover .dropdown-menu__link-text {
    border-bottom-color: var(--color-accent);
}

.dropdown-menu__link-text {
    border-bottom: 2px solid var(--color-primary);
    transition: all .3s ease-out;
}

.dropdown-menu__inner .dropdown-menu__title {
    font-size: 56px;
    color: var(--color-white);
    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: var(--color-primary);
    color: var(--color-white);
}

.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/images/green_mobile_back.webp")no-repeat transparent;
    }
    
    [data-theme="dark"] .dropdown-menu {
        background: url("https://servom.ru/wa-data/public/shop/themes/servom/images/green_mobile_back_dark.webp") no-repeat transparent;
    }
    */
    
    .dropdown-menu {
        background: var(--color-bg-body);
    }
    
    [data-theme="dark"] .dropdown-menu {
        background: var(--color-bg-body);
    }
    
    .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__action {
        margin-top: 10px;
    }
    
    .dropdown-menu__content .dropdown-menu__inner {
        padding: 10px;
    }
    
    .dropdown-menu__image {
        width: auto;
        height: 60px;
    }
    
    .dropdown-menu__description {
        margin: 5px 0 0 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;
    padding: 0 15px;
}

.feedback__left {
    width: 50%;
}

.feedback__head {
    font-size: 56px;
    color: var(--color-primary-light);
    font-weight: bold;
}

.feedback__highlight {
    color: var(--color-accent);
}

.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: var(--color-bg-light);
    outline: none;
    margin: 10px;
    font-size: 17px;
    border-radius: 5px;
    padding: 10px 10px 10px 45px;
    transition: all .3s ease-out;
    color: var(--color-text);
}

.feedback__input:focus,
.feedback__textarea:focus,
.feedback__input:hover,
.feedback__textarea:hover{
    box-shadow: 0 0 0 2px var(--color-primary);
}

.feedback__btn {
    font-family: inherit;
    font-size: 18px;
    text-transform: uppercase;
    display: inline-block;
    cursor: pointer;
    border-radius: 4px;
    border: 2px solid var(--color-primary);
    padding: 10px 15px;
    opacity: 0.9;
    color: var(--color-white);
    background-image: var(--gradient-button);
    background-size: 400%;
    transition: all .3s ease-out;
    margin: 9px 0 0 10px;
}

.feedback__btn:hover {
    background-position: 100%;
    color: var(--color-primary);
}

.feedback__icon {
    position: absolute;
    top: 22px;
    left: 20px;
    font-size: 20px;
    color: var(--color-text-transparent);
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ БЛОКА 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 {
    margin-top: auto;
    padding-top: 30px;
}

.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;
    color: var(--color-text);
}

.footer__right {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    background: var(--gradient-footer);
    padding: 20px 0 0 180px;
    color: var(--color-white);
    line-height: 25px;
}

.footer__inner {
    display: flex;
    flex-wrap: wrap;
    column-gap: 35px;
}

.footer__contact-item {
    margin-top: 10px;
    display: flex;
    align-items: center;
}

.footer__contact-item b{
    margin-right: 10px;
}

.footer__link {
    display: inline-block;
    color: var(--color-white);
    position: relative;
    text-decoration: none;
    transition: color .3s ease;
    overflow: hidden;
    padding-bottom: 2px;
}

.footer__link::before {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-white);
    transition: all .3s ease;
}

.footer__link:hover::before {
    width: 100%; 
}

.footer__head {
    font-size: 20px;
    display: inline-block;
    color: var(--color-white);
    margin-top: 10px;
    border-bottom: 3px solid var(--color-accent);
}

.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: var(--color-bg-footer);
        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, var(--color-bg-footer) 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: var(--color-gray-20);
    font-family: 'Arial', sans-serif;
    position: relative;
    top: 40px;
}
  
.error-message {
    position: relative;
    font-weight: 700;
    font-size: 80px;
    color: var(--color-text-dark);
    text-align: center;
    text-transform: uppercase;
}
    
.error-message_add {
    position: relative;
    font-weight: 700;
    font-size: 30px;
    color: var(--color-gray-20);
    text-align: center;
    margin-top: 15px;
}
  
.error-link {
    display: inline-block;
    padding: 12px 24px;
    background: var(--color-primary);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}
  
.error-link:hover {
    background: var(--color-link-hover);
    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: var(--color-accent-light);
    color: var(--color-white);
    text-transform: uppercase;
    padding: 10px;
    font-size: 26px;
    font-weight: 700;
    border-radius: 4px;
    box-shadow: 0 2px 5px var(--color-shadow);
    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 var(--color-gray-30);
    border-radius: 5px;
    font-weight: 300;
    font-size: 13px;
    width: 98%;
    height: 50px;
    color: var(--color-text-light);
    outline: none;
    background: var(--color-bg-body);
}

.search-text {
    font-size: 26px;
    margin-top: 20px;
    color: var(--color-primary);
}

.search-title {
    font-weight: 600;
    color: var(--color-gray-80);
}

.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: var(--color-white);
    text-align: center;
    border-radius: 5px;
    width: 180px;
    height: 49px;
    background: var(--color-primary);
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-out;
}

.search-tag:hover {
    background: var(--color-primary-hover-alt);
    transform: translateY(-3px);
}

.search-button {
    position: absolute;
    right: 0;
    top: 0;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    padding: 17px 35px;
    background: var(--color-primary);
    font-weight: 600;
    font-size: 14px;
    color: var(--color-white);
    text-align: center;
    transition: all 0.2s ease-out;
}

.search-button:hover {
    border: 2px solid var(--color-primary);
    background: var(--color-bg-body);
    color: var(--color-primary);
}

.search-text h2:before {
    content: '';
    border: 2px solid var(--color-primary);
    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/images/background.webp") 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;
}

[data-theme="dark"] .fon {
    filter: brightness(0.7);
}

/* АДАПТИВНЫЕ СТИЛИ ДЛЯ СТРАНИЦЫ ОШИБКИ 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;
    }
}