/**
 * CSS styles for all types of headers
 */

header {
    width: 100%;
}
.header-list {
    display: flex;
    gap: 20px;
    height: 100%;
    align-items: center;
    justify-content: space-between;
}
.header-list-items {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
.header-main {
    position: relative;
    font-family: 'Arial', Arial, sans-serif;
    display: flex;
    align-items: center;
    height: 120px;
}

.header-main .maxwidth-theme {
    padding: 0 20px;
}
.header-main .header-phone-number, .header-main .header-email {
    letter-spacing: 1.5px;
}
body.header-is-transparent--bg header {
    background-image: url('../../img/header/transparent.png');
    background-repeat: repeat;
}
body.header-is-transparent header {
    width: 100%;
    position: absolute;
    z-index: 100;
}
body.header-is-transparent header .header-menu,
body.header-is-transparent--bg header .header-menu {
    max-width: var(--content-width, 1348px);
    margin: 0 auto;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
body.header-is-transparent header .header-menu td > a:first-child,
body.header-is-transparent header .header-menu td > a:last-child,
body.header-is-transparent--bg header .header-menu td > a:first-child,
body.header-is-transparent--bg header .header-menu td > a:last-child {
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}
.header-v-center {
    display: flex;
    align-items: center;
    height: 100%;
}
.header-main-fluid {
    padding: 0 40px;
}

/* arrow down */
.with-arrow-down {
    position: relative;
    padding-right: 15px;
}
.with-arrow-down::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 3px;
    width: 5px;
    height: 3px;
    background: url('../../img/header/arrow_down.svg');
}
.with-arrow-right {
    position: relative;
    padding-right: 11px;
}
.with-arrow-right::after {
    content: '';
    position: absolute;
    top: calc(50% - 3px);
    right: 0;
    width: 3px;
    height: 5px;
    background: url('../../img/header/arrow_right.svg');
}

/* header city */
.header-city {
    padding-left: 28px;
    font-size: 13px;
    line-height: 18px;
    cursor: pointer;
    color: #333333;
    position: relative;
    display: inline-block;
    text-decoration: none;
}
.header-city:hover {
    text-decoration: none;
}
.header-city-wrap {
    position: relative;
}
.header-city-wrap > span {
    display: block;
    font-size: 13px;
    line-height: 17px;
    color: #999999;
    padding-left: 28px;
    white-space: nowrap;
}
.header-city-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 14px;
    -webkit-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    background-color: #ffffff;
    display: none;
    width: 175px;
    z-index: 1;
    max-height: 300px;
}
.header-city-item {
    font-size: 13px;
    line-height: 17px;
    color: #333333;
    padding: 12px 15px;
    border-bottom: 1px solid #ececec;
}
.header-city-item:last-child {border-bottom: none;}
.header-city-item.active {
    font-weight: bold;
}
.header-city-item:hover {
    background-color: #f8f8f8;
    cursor: pointer;
}
.header-city-item > span {
    display: block;
    font-size: 13px;
    line-height: 17px;
    color: #999999;
    margin-top: 2px;
    font-weight: normal;
}
.header-city-icon {
    position: absolute;
    left: 0;
    top: calc(50% - 7px);
    color: #999999;
    width: 14px;
    height: 15px;
}
.header-city-icon svg {
    width: 14px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
}
.header-city-confirm {
    position: absolute;
    top: calc(100% + 8px);
    left: calc(50% - 136px);
    padding: 25px;
    background-color: #ffffff;
    box-shadow: 0 3px 15px rgba(0, 0, 0, .25);
    border-radius: 3px;
    z-index: 10;
}
.header-city-confirm-text {
    font-size: 15px;
    line-height: 19px;
    color: #333333;
    text-align: center;
}
.header-city-confirm-text > span {
    font-weight: bold;
}
.header-city-confirm-btns {
    margin-left: -5px;
    margin-right: -5px;
    margin-top: 16px;
    display: flex;
}
.header-city-confirm-btns > div {
    padding-left: 5px;
    padding-right: 5px;
}
.header-city-confirm-btns > div > .btn {
    width: 106px;
}

/* header address */
.header-address {
    font-size: 13px;
    line-height: 18px;
    color: #777777;
}

/* header phone */
.header-phone {
    display: flex;
}
.header-phone-wrap {
    position: relative;
}
.header-phone-number,
.header-email {
    font-size: 20px;
    line-height: 155%;
    color: #040e26;
    font-weight: 600;
    white-space: nowrap;
}
.header-phone-number:hover,
.header-email:hover {
    color: #040e26;
    text-decoration: none;
}
.header-phone-callback {
    font-size: 13px;
    line-height: 24px;
}
.header-phone-dropdown {
    display: none;
    background-color: #ffffff;
    position: absolute;
    top: -9px;
    right: 0;
    -webkit-box-shadow: 0 3px 15px 0 rgba(0,0,0,.2);
    -moz-box-shadow: 0 3px 15px 0 rgba(0,0,0,.2);
    box-shadow: 0 3px 15px 0 rgba(0,0,0,.2);
    z-index: 10;
    -webkit-transition: .1s ease-in-out;
    -moz-transition: .1s ease-in-out;
    transition: .1s ease-in-out;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    overflow: hidden;
}
.header-phone-wrap:hover > .header-phone-dropdown { display: block; }
.header-phone-dropdown a {
    display: block;
    padding: 10px 15px 10px 15px;
    border-top: 1px solid #ececec;
}
.header-phone-dropdown a:first-child { border-top: none; }
.header-phone-dropdown a:hover {
    background-color: #fafafa;
}
.header-phone-dropdown span {
    display: block;
    font-size: 13px;
    line-height: 17px;
    color: #999999;
    margin-top: 2px;
    font-weight: normal;
}

/* order btn */
.header-order-btn.btn {
    white-space: nowrap;
    content: url(../../img/header/message.svg);
    background-color: inherit;
    border-radius: 9px;
    border: 1px solid #dcdcdc;
    padding: 8px !important;
    width: 40px;
    height: 40px;
}

.header-order-btn.btn:hover,
.header-social-item:hover,
.header-order-btn.btn:active,
.header-social-item:active {
    background-color: inherit;
    border-color: #7d7d7d !important;
}

/* header basket */
.header-basket {
    position: fixed;
    top: 140px;
    right: 50px;
    font-size: 13px;
    line-height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #ffffff;
    box-shadow: 0px 0px 18px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: transform 0.2s ease-in-out;
}
.header-basket-price {
    position: absolute;
    left: -120px;
    background-color: #f3f3f3;
    padding: 9px 13px;
    border-radius: 3px;
    font-size: 15px;
    font-weight: 700;
    line-height: 135%;
    color: #000;
    opacity: 0;
    white-space: nowrap;
    visibility: hidden;
    pointer-events: none;
}
.header-basket:hover {
    transform: scale(1.1);
}
.header-basket:hover .header-basket-price {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}
.header-basket .header-basket-count {
    font-family: 'Arial', Arial, sans-serif;
    bottom: -6px;
    font-size: 14px;
    height: 24px;
    line-height: 24px;
    right: -6px;
    width: 24px;
    position: absolute;
    background-color: #0434ff;
    color: white;
    border-radius: 50px;
    text-align: center;
}
.header-basket-count.empty {
    background-color: #bbbbbb;
}

.header-basket-icon svg {
    width: 34px;
    height: 34px;
    display: block;
}

/* header search */
.header-search {
    position: relative;
    margin-left: 41px;
}
header.header-light .header-search {
    color: #fff;
}
.header-search-icon {
    position: relative;
    content: url(../../img/header/search.svg);
    height: 24px;
    width: 24px;
}
.header-search-icon svg {
    visibility: hidden;
    position: absolute;
    width: 24px;
    height: 24px;
    top: 0;
    left: 0;
    fill: #0434ff;
}

/* logo and desc */
.header-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-width: 160px;
}
.header-logo-left {
    justify-content: flex-start;
}
.header-logo img {
    object-fit: contain;
    width: 100%;
    height: 100%;
    max-width: 160px;
}
.header-logo svg {
    display: inline;
    vertical-align: middle;
    position: relative;
    max-height: 100%;
}
.header-logo img.logo-light, 
.header-logo svg.logo-light {
    display: none;
}
.header-logo-left img {
    object-position: left;
}
.header-logo-light img.logo-light, 
.header-logo-light svg.logo-light {
    display: block;
}
.header-logo-light img:not(.logo-light), 
.header-logo-light svg:not(.logo-light) {
    display: none;
}
.header-description {
    font-size: 13px;
    line-height: 20px;
    color: #999999;
    display: table-cell;
    vertical-align: middle;
}

/* burger */
.header-burger {
    display: flex;
    align-items: center;
    gap: 30px;
    cursor: pointer;
    border: 1px solid #dcdcdc;
    border-radius: 9px;
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    padding: 7px 24px;
    color: #7d7d7d;
    font-size: 16px;
    letter-spacing: 1px;
    margin-left: -10px;
}

.header-burger:hover {
    border-color: #040e26;
    color: #7d7d7d !important;
}

.header-burger svg {
    position: relative;
    width: 16px;
    height: 12px;
    top: 0;
    left: 0;
    stroke: #333333;
    transition: left 0.2s ease-in-out;
}

/* menu */
.header-menu,
.header-menu > div {
    height: 54px;
}
.header-menu td > a {
    height: 54px;
}
.header-nav-wrap {
    height: 100%;
    position: relative;
}
.header-nav {
    height: 100%;
    position: relative;
}
.header-nav-wide {
    width: 100%;
}
.header-nav td {
    padding: 0;
    position: relative;
    /* max-width: 150px; */
}
.header-nav a {
    font-weight: bold;
    font-size: 15px;
    line-height: 20px;
    color: #ffffff;
    text-align: center;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    white-space: nowrap;
}
.header-nav-light a {
    color: #333333;
}
.header-nav-dark a:hover { 
    text-decoration: none;
    color: #ffffff; 
}
.header-nav-dots {
    height: 4px;
    padding: 0 9px;
}
.header-nav-dots svg {
    width: 12px;
    height: 4px;
}
.header-nav-dark .header-nav-dots svg { fill: #ffffff; }
.header-nav-light .header-nav-dots svg { fill: #333333; }

.header-nav-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    display: none;
    z-index: 100;
    padding: 0;
    margin: 0;
    min-width: 230px;
    max-width: 275px;
    -webkit-box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.1);
}
.header-nav-dropdown a {
    display: flex;
    text-align: left;
    background-color: #fff;
    border-bottom: 1px solid #ececec;
    padding: 15px 20px 16px;
    align-items: center;
    justify-content: flex-start;
    font-weight: normal;
    color: #333333;
    white-space: normal;
}
.header-nav-dropdown a:hover {
    background-color: #fafafa;
    color: #333333;
}
.header-nav td > .header-nav-dropdown li:first-child > a { border-top: none; }
.header-nav-dropdown li:last-child a { border-bottom: none; }
.header-nav td:last-child > .header-nav-dropdown { right: 0; left: unset; }
.header-nav td:hover > .header-nav-dropdown:not(.header-nav-hide-in-root) { display: block; }

.header-nav-dropdown li {
    position: relative;
}
.header-nav-dropdown li .header-nav-dropdown {
    position: absolute;
    left: 100%;
    top: 0;
}
.header-nav-dropdown li:hover > .header-nav-dropdown {
    display: block;
}
.header-nav-more {
    display: none;
}

.header-nav-full-dropdown {
    position: absolute;
    display: none;
    z-index: 100;
    padding: 40px 24px 47px;
    margin: 0;
    left: 0;
    top: 100%;
    background-color: #fff;
    -webkit-box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 10px 25px 0px rgba(0, 0, 0, 0.1);
}

.header-nav-full-dropdown.loading {
    display: none !important;
}

.header-nav td:not(.header-nav-more):hover .header-nav-full-dropdown {
    display: block;
}

.header-nav-full-dropdown a {
    color: #333333;
}

.header-nav-full-dropdown ul {
    margin-bottom: 0;
    padding-left: 0;
}

.header-nav-full-dropdown li {
    list-style: none;
}

.header-nav-full-dropdown .header-nav-subitem {
    padding: 16px;
    display: flex;
}

.header-nav-full-dropdown .header-nav-flex-column {
    flex-direction: column;
    align-items: start;
}

.header-nav-full-dropdown .header-nav-img {
    margin: 0 24px 19px 0;
    display: block;
    padding: 0;
}

.header-nav-full-dropdown .header-nav-subitem-link {
    display: block;
    text-align: left;
    padding: 0;
    margin-bottom: 10px;
    line-height: 22px;
    font-size: 16px;
    font-weight: normal;
    cursor: pointer;
    height: auto;
    white-space: normal;
}

.header-nav-full-dropdown .header-nav-subsubitem {
    display: inline;
}

.header-nav-full-dropdown .header-nav-in-column {
    display: block;
}

.header-nav-full-dropdown .header-nav-subsubitem-link {
    display: inline;
    padding: 0;
    text-align: left;
    white-space: normal;
    justify-content: unset;
    line-height: 18px;
    font-size: 13px;
    font-weight: normal;
    color: #888;
}

.header-nav-full-dropdown .header-nav-subsubitem:not(.header-nav-in-column)::before {
    content: "\2014";
    line-height: 18px;
    font-size: 13px;
    color: #888;
}

.header-nav-full-dropdown .header-nav-subsubitem:first-child::before {
    content: "";
}

.is404page .menu-edit-item {
    display: none;
}

/* header social */
.header-social {
    display: flex;
    gap: 10px;
    margin: 0;
}
.header-social-item {
    width: 40px;
    height: 40px;
    display: block;
    padding: 8px;
    border: 1px solid #dcdcdc;
    border-radius: 9px;
    transition:  border-color .15s ease-in-out;
}

.header-social-item:nth-child(1) {
    content: url(../../img/header/vk.svg);
}

.header-social-item:nth-child(2) {
    content: url(../../img/header/telegram.svg);
}

.header-social-item:nth-child(3) {
    content: url(../../img/header/MAX.svg);
}

.header-social-item:hover {opacity: 1}
.header-social-item svg {
    width: 19px;
    height: 19px;
    visibility: hidden;
}

/* headerfixed */
#headerfixed {
    position: fixed;
    opacity: 0.9;
    backdrop-filter: blur(9px);
    top: -200px;
    width: 100%;
    background-color: #ffffff;
    z-index: 150;
    /* display: none; */
    -webkit-transition: top .5s;
    -moz-transition: top .5s;
    transition: top .5s;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,.136);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,.136);
    box-shadow: 0 1px 5px rgba(0,0,0,.136);
}
.headerfixed-main {
    height: 62px;
    border-bottom: 1px solid #ececec;
}
#headerfixed .maxwidth-theme,
#headerfixed .maxwidth-theme > .row {
    height: 100%;
}
#headerfixed .header-logo img {
    max-width: 200px;
    max-height: 60px;
}

body.header-is-wide #headerfixed .maxwidth-theme {
    max-width: 1920px;
    padding: 0 40px;
}

/* headerfixed anchors */
#anchors {
    height: 50px;
    background-color: #f8f8f8;
}
.anchors-list {
    display: flex;
    justify-content: center;
    overflow: hidden;
}
.anchors-list a {
    /* display: block; */
    padding: 0 33px;
    font-size: 13px;
    line-height: 17px;
    color: #666666;
    position: relative;
    display: flex;
    align-items: center;
    text-align: center;
    height: 50px;
}
.anchors-list a:hover,
.anchors-list .slick-current a {
    color: #333333;
}
.anchors-list .slick-current a::after {
    position: absolute;
    content: '';
    height: 2px;
    width: 30px;
    left: calc(50% - 15px);
    bottom: 0;
}
.anchors-list *:focus {
    outline: none;
}

/* White header styles */
header.header-light .header-city,
header.header-light .header-city-icon,
header.header-light .header-address,
header.header-light a.with-arrow-down,
header.header-light .header-city-wrap > span,
header.header-light .header-phone-callback,
header.header-light .header-phone-wrap > .header-phone-number,
header.header-light .header-phone-wrap > span,
header.header-light  td > a,
header.header-light .header-description,
header.header-light .header-nav-light td > a:not(.header-nav-dots),
header.header-light .btn.btn-transparent,
header.header-light a:not(:hover).header-basket span {
    color: #FFFFFF;
}
header.header-light .btn.btn-transparent {
    border-color: currentColor;
}
header.header-light .header-nav-light .header-nav-dots svg {
    fill: #FFFFFF;
}
header.header-light .header-nav-dropdown span {
    color: #000;
}
header.header-light .header-city::before {
    background: url('../../img/header/location-white.svg');
}
header.header-light .with-arrow-down::after {
    background: url('../../img/header/arrow_down-white.svg');
}
header.header-light .header-phone-wrap > .header-phone-number::before {
    background: url('../../img/header/phone-white.svg');
}
header.header-light .header-city::before {
    background: url('../../img/header/location-white.svg');
}
header.header-light .with-arrow-down::after {
    background: url('../../img/header/arrow_down-white.svg');
}
header.header-light .header-phone-wrap > .header-phone-number::before {
    background: url('../../img/header/phone-white.svg');
}
header.header-light .header-basket-icon, header.header-light .header-basket-icon, header.header-light .header-burger svg {
    stroke: #fff
}
header.header-light a.header-logo svg,
header.header-light a.header-logo img {
    display: none;
}
header.header-light a.header-logo svg.logo-light,
header.header-light a.header-logo img.logo-light {
    display: block;
}
header.header-light .header-social-item {
    color: #ffffff;
    opacity: 1;
}

.header-slogan {
    display: flex;
    align-items: center;
    height: 50px;
    width: 100%;
    gap: 10px;
    background-color: #1dcd24;
    overflow: hidden;
    white-space: nowrap;
}

.header-slogan__list {
    display: inline-block;
    will-change: transform;
    transition: all 0.5s ease;
    animation: slider 25s linear infinite;
}

@keyframes slider {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.header-slogan__item {
    display: inline-block;
    font-size: 18px;
    color: #ffffff;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 150%;
}

/* header mobile */
#headermobile {
    display: none;
    border-bottom: 1px solid #ececec;
    background-color: #fff;
    -webkit-box-shadow: 0 1px 5px rgba(0,0,0,.136);
    -moz-box-shadow: 0 1px 5px rgba(0,0,0,.136);
    box-shadow: 0 1px 5px rgba(0,0,0,.136);
}

.headermobile-main,
.headermobile-main > .maxwidth-theme {
    font-family: 'Arial', Arial, sans-serif;
    display: flex;
    align-items: center;
    height: 120px;
    width: 100%;
}

.search-form {
    border: 1px solid #dcdcdc;
    outline: none;
    transition: border-color .15s ease-in-out;
    border-radius: 9px;
    padding: 7px 20px;
    min-width: 260px;
    max-height: 40px;
    margin: 0 10px;
    
}

.search-form svg {
    width: 24px;
    height: 24px;
}

.search-form:hover {
    border-color: #7d7d7d;
}

.search-input {
    border: none;
    outline: none;
    padding: 0;
    max-width: 189px;
}

.search-input::placeholder {
    font-size: 14px;
    letter-spacing: 1px;
    line-height: 1.55;
    font-weight: 500;
    width: auto;
}

.headerfixed-main .header-burger {
    margin-left: 0;
}

@media (max-width: 1220px) {
    .header-phone, .header-email {
        display: none;
    }
}

@media (max-width: 991px) {
    #headermobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    .search-form {
        padding: 7px;
        min-width: auto;
        margin: 0;
    }
    .header-burger {
        margin: 0;
    }
    .search-input {
        display: none;
    }
    .header-logo {
        margin-right: 50px;
    }
    header {
        display: none !important;
    }
    .header-list {
        gap: 10px;
        width: 100%;
    }
}
@media (min-width: 769px) {
    .header-burger:hover svg {
        left: 10px;
    }
}
@media (max-width: 768px) {
    .headermobile-main {
        height: 80px;
        width: 100%;
    }
    .header-logo {
        min-width: 120px;
        max-width: 120px;
        margin: 0;
    }
    .header-burger {
        padding: 13px 11px;
    }
    .header-burger span {
        display: none;
    }
    #headerfixed .header-logo img {
        max-width: 120px;
        max-height: none;
    }
    .header-basket {
        right: 30px;
    }
}

@media (max-width: 480px) {
    .header-social-item {
        display: none;
    }
}









/* ===== МОБИЛЬНЫЙ ПОИСК ===== */
.mobile-search-toggle {
    display: none; /* По умолчанию скрыта на десктопе */
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
   
}

.mobile-search-toggle svg {
    width: 24px;
    height: 24px;
    fill: #0434ff;
}

/* Мобильный поиск - плавное появление */
.mobile-search-form {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    
    background: white;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-form.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-search-header {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    height: 60px;
}

.mobile-search-input-container {
    flex: 1;
    margin-right: 16px;
}

.mobile-search-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #0434ff;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

.mobile-search-input:focus {
    border-color: #0434ff;
}

.mobile-search-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #333;
    font-size: 16px;
    font-weight: 500;
}

.mobile-search-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

/* Скрываем стандартную форму поиска на мобильных */
@media (max-width: 991px) {
    .search-form {
        display: none !important;
    }
    
    .mobile-search-toggle {
        display: block;
        border: 1px solid #dcdcdc;
    outline: none;
    transition: border-color .15s ease-in-out;
    border-radius: 9px;
    }
    
    /* Увеличиваем контейнер для кнопки поиска */
    .header-list-items:last-child {
        gap: 15px;
    }
}

/* Адаптация для планшетов */
@media (max-width: 1220px) and (min-width: 992px) {
    .search-form {
        display: flex !important;
        min-width: 200px;
    }
    
    .mobile-search-toggle {
        display: none;
    }
}

/* Для очень маленьких экранов */
@media (max-width: 480px) {
    .mobile-search-header {
        padding: 12px 16px;
        height: 56px;
    }
    
    .mobile-search-input {
        padding: 10px 14px;
        font-size: 15px;
    }
    
    .mobile-search-content {
        padding: 16px;
    }
}

/* Затемнение фона при открытом поиске */
.mobile-search-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1099;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-search-backdrop.active {
    opacity: 1;
    visibility: visible;
}