.header {
 background: #fff;
}

.header-top {
 padding: 13px 0;
}

.header-top__wrapper {
 display: flex;
 gap: 30px;
 align-items: center;
}

.header-top__left {
 flex-grow: 0;
 display: flex;
 align-items: center;
 gap: 30px;
}

.header__logo img {
 min-width: 143px;
 width: 143px;
 object-fit: contain;
 height: auto;
}

.header__city {
 border-radius: 900px;
 border: 1px solid #EFEFEF;
 background: #FFF;
 display: flex;
 align-items: center;
 gap: 7px;
 padding: 11px 19px;
 cursor: pointer;
 transition: all .3s;
}


.header__city:hover {
 border: 1px solid #E63737;
}

.header__city-icon {
 line-height: 0;
}

.header__city-icon svg {
 min-width: 18px;
 width: 18px;
 height: 18px;
 aspect-ratio: 1/1;
}

.header__city-text {
 color: #363636;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 border-bottom: 1px solid rgba(82, 82, 82, 0.50);
 transition: all .3s;
}

.header__city:hover .header__city-text {
 border-bottom: 1px solid #E63737;
}

.header-top__center {
 flex-grow: 1;
}

.header__search {
 padding: 4px 4px 4px 15px;
 border-radius: 15px;
 border: 1.5px solid #E63737;
 background: #FFF;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 10px;
 z-index: 999;
 min-width: 430px;
}

.header__search-icon {
 flex: 0 0 auto;
 line-height: 0;
}

.header__search-icon svg {
 min-width: 18px;
 width: 18px;
 height: 18px;
}

.header__search-input-wrapper {
 flex: 1 1 100%;
 position: relative;
}

.header__search-input {
 width: 100%;
 color: #363636;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 padding-right: 30px;
}

.header__search-input::placeholder {
 color: #363636;
}

.header__search-clear {
 position: absolute;
 right: 5px;
 top: 50%;
 transform: translateY(-50%);
 width: 24px;
 height: 24px;
 border-radius: 50%;
 background: transparent;
 border: none;
 cursor: pointer;
 display: none;
 align-items: center;
 justify-content: center;
 transition: all .3s;
 padding: 0;
}

.header__search-clear:hover {
 background: #f5f5f5;
}

.header__search-clear svg g {
 transition: all .3s;
}

.header__search-clear:hover svg g {
 opacity: 0.8;
}

.header__search-clear svg {
 width: 16px;
 height: 16px;
}

.header__search-input:not(:placeholder-shown)~.header__search-clear {
 display: flex;
}

.header__search-btn {
 padding: 12px 18px;
 border-radius: 13px;
 background: #E63737;
 color: #FFF;
 font-size: 13px;
 font-weight: 700;
 line-height: 140%;
 transition: all .3s;
}
.header__search-btn svg {
    display: none;
}

.header__search-btn:hover {
 background: #000;
}

.header__search-suggestion {
 position: absolute;
 left: 220px;
 top: 50%;
 transform: translateY(-50%);
 color: #363636;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 text-decoration: underline;
 cursor: pointer;
 transition: all .3s;
 pointer-events: auto;
}

.header__search-suggestion:hover {
 color: #E63737;
 text-decoration: underline;
}

.header__search-suggestion.hidden {
 display: none;
}

.header__search-question {
 position: absolute;
 left: 287px;
 top: 50%;
 transform: translateY(-50%);
 color: #363636;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 text-decoration: none;
 pointer-events: none;
}

.header__search-suggestion.hidden+.header__search-question {
 display: none;
}

.header__btn {
 width: fit-content;
 background: #000;
}

.header__btn:hover {
 background: #E63737;
}

.header-top__right {
 display: flex;
 gap: 35px;
 align-items: center;
 flex-grow: 0;
}

.header__login {
 padding: 8px 13px;
 border-radius: 15px;
 background: #F4F4F4;
 display: flex;
 align-items: center;
 gap: 6px;
 cursor: pointer;
 transition: all .3s;
}

.header__login:hover {
 background: #E63737;
}

.header__login-icon {
 line-height: 0;
}

.header__login-icon svg {
 min-width: 26px;
 width: 26px;
 height: 26px;
 aspect-ratio: 1/1;
}

.header__login-icon svg * {
 transition: all .3s;
}

.header__login-text {
 color: #363636;
 font-size: 13px;
 font-weight: 400;
 line-height: 140%;
 transition: all .3s;
}

.header__login:hover .header__login-text {
 color: #fff;
}

.header__login:hover svg g {
 opacity: 1;
}

.header__login:hover svg path {
 stroke: #fff;
}

.header__btns {
 display: flex;
 gap: 35px;
 align-items: center;
}

.tool-btn {
 cursor: pointer;
 position: relative;
}

.tool-btn__icon {
 line-height: 0;
}

.tool-btn__icon svg {
 min-width: 26px;
 width: 26px;
 height: 26px;
 aspect-ratio: 1/1;
 transition: all .3s;
}

.tool-btn:hover svg {
 opacity: 0.6;
}

.tool-btn__count {
 color: #FFF;
 text-align: center;
 font-size: 10px;
 font-weight: 500;
 padding: 1px 5px;
 border-radius: 900px;
 background: #FFB928;
 position: absolute;
 right: -9px;
 top: -2px;
}


.header-bottom {
    padding: 6px 0;
    border-bottom: 1px solid #EFEFEF;
    border-top: 1px solid #EFEFEF;
}

/* Скрываем мобильные элементы на десктопе */
.header-bottom__close,
.header-bottom__mobile-extras {
 display: none;
}

.header-bottom__wrapper {}

.header-bottom__menu {
 display: flex;
 gap: 10px;
 align-items: center;
 justify-content: space-between;
}

.header-bottom__menu-item {}

.header-bottom__menu-item-link {
 display: flex;
 align-items: center;
 gap: 6px;
}

.header-bottom__menu-item-icon {
 line-height: 0;
}

.header-bottom__menu-item-icon img {
 min-width: 19px;
 width: 19px;
 height: 19px;
 aspect-ratio: 1/1;
}

.header-bottom__menu-item-text {
 color: #363636;
 font-size: 14px;
 font-weight: 400;
 line-height: 1;
 transition: all .3s;
}

.header-bottom__menu-item-link:hover .header-bottom__menu-item-text {
 color: #000;
}

.header-bottom__menu-item--btn .header-bottom__menu-item-link {
 padding: 10px 11px;
 border-radius: 11px;
 background: #E63737;
 gap: 8px;
}

.header-bottom__menu-item--btn .header-bottom__menu-item-text {
 color: #FFF;
 font-size: 14px;
 font-weight: 500;
 line-height: 140%;
}

.header-bottom__menu-item--btn a:hover .header-bottom__menu-item-text {
 color: #fff;
}

.header-bottom__menu-item--btn a:hover {
 background: #000;
}

/* City dropdown styles */
.header__city {
 position: relative;
 width: max-content;
}

.header__city-text {
 overflow: hidden;
 white-space: nowrap;
 text-overflow: ellipsis;
}

.header__city-dropdown {
 position: absolute;
 top: 100%;
 left: 0;
 background: #FFF;
 border: 1px solid #EFEFEF;
 border-radius: 15px;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
 z-index: 1000;
 display: none;
 margin-top: 5px;
 min-width: 178px;
 width: max-content;
}

.header__city-dropdown.show {
 display: block;
}

.header__city-dropdown-item {
 padding: 11px 19px;
 color: #363636;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 cursor: pointer;
 transition: all .3s;
 border-bottom: 1px solid #EFEFEF;
 white-space: nowrap;
}

.header__city-dropdown-item:last-child {
 border-bottom: none;
}

.header__city-dropdown-item:first-child {
 border-radius: 15px 15px 0 0;
}

.header__city-dropdown-item:last-child {
 border-radius: 0 0 15px 15px;
}

.header__city-dropdown-item:hover {
 background: #F4F4F4;
 color: #E63737;
}

.header__city-dropdown-item.selected {
 background: #E63737;
 color: #FFF;
}

/* Catalog popup styles */
.catalog-popup-overlay {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0);
 z-index: 10002;
 visibility: hidden;
 transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.catalog-popup-overlay.show {
 visibility: visible;
 background: rgba(0, 0, 0, 0.5);
}

.catalog-popup {
 position: fixed;
 top: 0;
 left: -351px;
 width: 331px;
 height: 100vh;
 background: #FFF;
 box-shadow: 2px 0 20px rgba(0, 0, 0, 0.15);
 z-index: 10000;
 transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
 display: flex;
 flex-direction: column;
 transform: translateX(0);
}

.catalog-popup-overlay.show .catalog-popup {
 left: 0;
 transform: translateX(0);
}

.catalog-popup__header {
 padding: 30px 15px 20px 25px;
 display: flex;
 justify-content: space-between;
 align-items: center;
 flex-shrink: 0;
}

.catalog-popup__title {
 color: #363636;
 font-size: 18px;
 font-weight: 600;
 line-height: 140%;
 margin: 0;
}

.catalog-popup__close {
 background: none;
 border: none;
 cursor: pointer;
 padding: 5px;
 border-radius: 50%;
 transition: all 0.3s;
 display: flex;
 align-items: center;
 justify-content: center;
}

.catalog-popup__close:hover {
 background: #F4F4F4;
}

.catalog-popup__close svg {
 width: 18px;
 height: 18px;
}

.catalog-popup__content {
 flex: 1;
 overflow-y: auto;
 display: flex;
 flex-direction: column;
 padding-bottom: 30px;
}

.catalog-popup__menu-item-link {
 display: flex;
 padding: 20px 25px;
 align-items: center;
 gap: 8px;
 align-self: stretch;
 transition: all .3s;
}

.catalog-popup__menu-item-icon {
 line-height: 0;
}

.catalog-popup__menu-item-icon img {
 min-width: 32px;
 width: 32px;
 height: 32px;
 aspect-ratio: 1/1;
 transition: all .3s;
}

.catalog-popup__menu-item-text {
 color: #363636;
 font-size: 16px;
 font-weight: 500;
 line-height: 140%;
 transition: all .3s;
}

.catalog-popup__menu-item-link:hover {
 background: #E63737;
}

.catalog-popup__menu-item-link:hover .catalog-popup__menu-item-text {
 color: #fff;
}

.catalog-popup__menu-item-link:hover .catalog-popup__menu-item-icon img {
 filter: brightness(0) invert(1);
}


.catalog-popup__banner {
 margin-top: auto;
 margin-inline: 25px;
 border-radius: 20px;
 background-color: #FEF5EB;
 padding: 25px;
 display: flex;
 align-items: flex-end;
 position: relative;
 height: 361px;
 overflow: hidden;
 background-image: url('../img/header/megamenu/banner-bg.png');
 background-repeat: no-repeat;
 background-blend-mode: overlay;
}

.catalog-popup__banner-content {
 position: relative;
 z-index: 3;
}

.catalog-popup__banner-subtitle {
 padding: 3px 6px;
 border-radius: 10px;
 background: #E63737;
 display: flex;
 justify-content: center;
 align-items: center;
 gap: 4px;
 margin-bottom: 15px;
 width: fit-content;
}

.catalog-popup__banner-subtitle-icon {
 line-height: 0;
}

.catalog-popup__banner-subtitle-icon svg {
 min-width: 17px;
 width: 17px;
 height: 17px;
 aspect-ratio: 1/1;
}

.catalog-popup__banner-subtitle-text {
 color: #FFF;
 font-size: 10px;
 font-weight: 700;
 line-height: 1;
 text-transform: uppercase;
}

.catalog-popup__banner-title {
 margin-bottom: 15px;
}

.catalog-popup__banner-btn {
 padding: 7px 14px;
 border-radius: 10px;
 background: #FFF;
 color: #E63737;
 font-size: 13px;
 font-weight: 500;
 line-height: 140%;
 display: flex;
 align-items: center;
 justify-content: center;
 width: fit-content;
 transition: all .3s;
}

.catalog-popup__banner-btn:hover {
 color: #fff;
 background-color: #E63737;
}

.catalog-popup__banner-img {
 position: absolute;
 top: 0;
 right: 0;
 z-index: 2;
}

.catalog-popup__banner-img img {
 width: 100%;
}

/* Search results styles */
.header__search {
 position: relative;
}

.search-results {
 position: absolute;
 top: calc(100% + 10px);
 left: 0;
 background: #FFF;
 border-radius: 15px;
 box-shadow: 0 4px 35px 0 rgba(0, 0, 0, 0.13);
 visibility: hidden;
 opacity: 0;
 transform: translateY(-10px);
 transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
 z-index: 2;
 overflow: hidden;
}

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

.search-results__content {
 padding: 25px;
 z-index: 2;
}

.header__search::after {
 content: "";
 position: absolute;
 width: 32px;
 height: 32px;
 transform: rotate(45deg);
 background: #fff;
 top: auto;
 bottom: -42px;
 left: 9px;
 z-index: 1;
 opacity: 0;
}

.header-top__center.active .header__search::after {
 opacity: 1;
}

.search-results__no-results {
 display: block;

}

.search-results__has-results {
 display: none;
}

.search-results.show {
    width: 100%;
}
/* Стили для разных состояний попапа */
.search-results.has-results {
    position: fixed;
    width: 1310px;
    max-width: calc(100% - 30px);
    top: 73px;
    left: 50%;
    transform: translateX(-50%);
    
}

/* .search-results.has-results.show {
 transform: translateX(-50%) translateY(0);
} */




/* Search overlay for background dimming */
.search-overlay {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(0, 0, 0, 0);
 z-index: 10000;
 visibility: hidden;
 transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.search-overlay.show {
 visibility: visible;
 background: rgba(0, 0, 0, 0.40);
}

.no-results__top {
 padding-bottom: 20px;
 border-bottom: 1px solid #EFEFEF;
 display: flex;
 align-items: flex-start;
 gap: 6px;
 margin-bottom: 20px;
 position: relative;
 z-index: 2;
}

.no-results__top-icon {
 line-height: 0;
}

.no-results__top-icon {
 min-width: 21px;
 width: 21px;
 height: 21px;
}

.no-results__top-content-title {
 color: #000;
 font-size: 15px;
 font-weight: 500;
 line-height: 140%;
 margin-bottom: 6px;
}

.no-results__top-content-subtitle {
 color: rgba(54, 54, 54, 0.6);
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
}

.no-results__products-title {
 color: #000;
 font-size: 15px;
 font-weight: 500;
 line-height: 140%;
 margin-bottom: 15px;
 text-align: left;
}

.no-results__products-items {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 15px 20px;
}

.search-product__link {
 display: flex;
 gap: 10px;
}

.search-product__img {
 line-height: 0;
}

.search-product__img img {
 width: 83px;
 min-width: 83px;
 height: 98px;
 border-radius: 14px;
}

.search-product__content {
 display: flex;
 flex-direction: column;
 justify-content: center;
 gap: 6px;
}

.search-product__title {
 color: #000;
 font-size: 14px;
 font-weight: 400;
 line-height: 140%;
 transition: all .3s;
}

.search-product__link:hover .search-product__title {
 color: #E63737;
}

.search-product__price {
 display: flex;
 align-items: center;
 gap: 7px;
}

.search-product__price .price {
 color: #000;
 font-size: 16px;
 font-weight: 500;
 line-height: 140%;
}

.search-product__price .old-price {
 color: #CDCDCD;
 font-size: 13px;
 font-weight: 400;
 line-height: 1;
 position: relative;
}

.search-product__price .old-price::after {
 content: "";
 width: 100%;
 height: 1px;
 display: block;
 background: #CDCDCD;
 position: absolute;
 top: 50%;
 left: 0;
}

.search-product__price .sale {
 color: #FFF;
 font-size: 12px;
 font-weight: 600;
 line-height: 140%;
 padding: 2px 6px;
 border-radius: 8px;
 background: #E63737;
}

.no-results__btn {
 margin-top: 15px;
}


.search-results__has-results .search-results__content {
 display: flex;
 padding: 0;
}

.search-results__has-results .search-results__left {
 width: 309px;
 padding: 25px;
 background: #F6F6F6;
}

.search-results__has-results .search-results__block {
 margin-bottom: 19px;
}

.search-results__has-results .search-results__block:last-child {
 margin-bottom: 0;
}

.search-results__block-title {
 color: #000;
 font-size: 15px;
 font-weight: 500;
 line-height: 140%;
 margin-bottom: 12px;
}

.search-results__tags {
 display: flex;
 flex-wrap: wrap;
 gap: 5px;
}

.search-results__tag {
 padding: 7px 10px;
 border-radius: 10px;
 border: 1px solid #EFEFEF;
 background: #FFF;
 color: #363636;
 font-size: 13px;
 font-weight: 300;
 line-height: 140%;
 transition: all .3s;
}

.search-results__tag:hover {
 background: #E63737;
 border: 1px solid #E63737;
 color: #fff;
}


.search-results__category-item {
 margin-bottom: 12px;
 display: flex;
 align-items: center;
 gap: 3px;
}

.search-results__category-item:last-child {
 margin-bottom: 0;
}

.search-results__category-name {
 color: #E63737;
 font-size: 14px;
 font-weight: 500;
 line-height: 140%;
 border-bottom: 1px solid rgba(230, 55, 55, 0.22);
 transition: all .3s;
}

.search-results__category-name:hover {
 border-bottom: 1px solid #E63737;
}

.search-results__category-icon {
 line-height: 0;
}

.search-results__category-icon svg {
 min-width: 12px;
 width: 12px;
 height: 12px;
}

.search-results__has-results .search-results__right {
 padding: 25px;
 display: grid;
 grid-template-columns: 1fr 2fr;
 gap: 25px;
}


.search-results__has-results .search-results__right .catalog-product__price-new {
 font-size: 17px;
}


.no-results__products-items .product-horizontal__image {
 border-radius: 14px;
 max-height: 98px;
}

.no-results__products-items .price-new {
 font-size: 16px;
}

.header-top-mob {
 display: none;
}

.no-results__products-items .product-horizontal__weight {
    display: none;
}

.search-cats--mob {
    display: none;
}

@media (max-width: 1130px) {
 .header__login-text {
  display: none;
 }

 .header-bottom__menu-item-text {
  font-size: 13px;
 }

 .header-top__right {
  gap: 20px;
 }

 .header__btns {
  gap: 20px;
 }

 .header-top__wrapper {
  gap: 20px;
 }
}

@media (max-width: 1024px) {
 .header-top__left .header__city {
  display: none;
 }

 .header-top__right .header__btns {
  display: none;
 }

 .header-top__center {
  order: 5;
  width: 100%;
  border-top: 1px solid #EFEFEF;
  border-bottom: 1px solid #EFEFEF;
  padding: 8px 0;
  min-width: calc(100% + 30px);
  margin-left: -15px;
  padding-left: 14px;
  padding-right: 14px;
 }

 .header-top__wrapper {
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
 }

 .header-top-mob {
  display: flex;
 }

 .header-top-burger {
  line-height: 0;
  cursor: pointer;
  transition: all 0.3s;
 }

 .header-top-burger:hover {
  opacity: 0.7;
 }

 .header-top-burger svg {
  min-width: 24px;
  width: 24px;
  height: 24px;
  aspect-ratio: 1/1;
 }

 .header__login {
  padding: 0;
  border-radius: 0;
  background: transparent;
 }

 .header__login-icon svg {
  min-width: 24px;
  width: 24px;
  height: 24px;
 }

 .header__logo img {
  min-width: 120px;
  width: 120px;
  object-fit: contain;
  height: 36px;
 }

 .header__login:hover {
  background: transparent;
 }

 .header__login:hover svg path {
  stroke: #000;
 }

 /* Мобильное меню из header-bottom */
 .header-bottom {
  position: fixed;
  top: 0;
  left: -100%;
  width: 291px;
  height: 100%;
  background: #fff;
  z-index: 10002;
  transition: left 0.3s ease;
  padding: 0;
  overflow-y: auto;
  border: none;
  flex-direction: column;
 }

 .header-bottom .container {
  padding: 0;
  height: 100%;
 }

 .header-bottom.show {
  left: 0;
  display: flex;
 }

 .header-bottom__wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
 }

 .header-bottom__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 10px;
  padding-bottom: 2px;
 }

 .header-bottom__close svg {
  background: none;
  border: none;
  line-height: 0;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s;
  width: 18px;
  height: 18px;
 }

 .header-bottom__close:hover svg {
  opacity: 1;
 }

 .header-bottom__menu {
  flex-direction: column;
  gap: 0;
  align-items: stretch;
  justify-content: flex-start;
  
 }

 .header-bottom__menu-item {
  margin-bottom: 0;
 }

 .header-bottom__menu-item-link {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  padding: 18px 25px 17px;
  transition: color 0.3s;
  border-bottom: 1px solid #F0F0F0;
 }
 .header-bottom__menu-item-text {
    font-size: 14px;
    color: #000000;
 }

 
 
 .header-bottom__menu-item--btn .header-bottom__menu-item-link {
  background: transparent;
  color: #000000;
  border-radius: 0;
  padding: 18px 25px;
  margin-bottom: 0;
  border-bottom: 1px solid #F0F0F0;
 }
 .header-bottom__menu-item--btn .header-bottom__menu-item-link .header-bottom__menu-item-icon svg path {
    stroke: #000000;
 }

 .header-bottom__menu-item--btn .header-bottom__menu-item-text {
  color: #000000;
  font-size: 14px;
  font-weight: 400;
 }

 .header-bottom__menu-item--btn a:hover {
  background: transparent;
 }

 .header-bottom__menu-item--btn a:hover .header-bottom__menu-item-text {
  color: #000000;
 }

 .header-bottom__mobile-extras {
  display: block;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
 }

 .header-bottom__city {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px;
  margin: 40px 0 10px;
  border-radius: 900px;
  border: 1px solid #EFEFEF;
  background: #FFF;
 }


 .header-bottom__city-icon {
  line-height: 0;
 }

 .header-bottom__city-icon svg {
  width: 18px;
  height: 18px;
 }

 .header-bottom__city-text {
  color: #363636;
  font-size: 13px;
  font-weight: 500;
  line-height: 140%;
  border-bottom: 1px solid rgba(82, 82, 82, 0.50);
 }

 .header-bottom__login {
  background: #F4F4F4;
  border-radius: 15px;
  padding: 8px 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #363636;
  font-size: 13px;
  font-weight: 400;
  line-height: 140%;
  margin: 10px 0 30px;
  transition: all 0.3s;
  margin-bottom: 20px;
 }

 .header-bottom__login-icon {
  line-height: 0;
 }

 .header-bottom__social {
  margin-top: auto;
 }

 .header-bottom__social-title {
  color: #363636;
  font-size: 16px;
  font-weight: 500;
  line-height: 140%;
  margin-bottom: 10px;
 }

 .header-bottom__social-links {
  display: flex;
  gap: 10px;
 }

 .header-bottom__social-link {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
 }


 .header-bottom__disclaimer {
  margin-top: 9px;
  color: #939393;
  font-size: 12px;
  font-weight: 300;
  line-height: 1.4;
 }

 /* Overlay для мобильного меню */
 .mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10001;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
 }

 .mobile-overlay.show {
  visibility: visible;
  opacity: 1;
 }

 .catalog-popup {
    width: 291px;
 }
 .catalog-popup__header {
    flex-direction: column-reverse;
    align-items: flex-start;
    padding: 10px 10px 20px 20px;
    border-bottom: 1px solid #EFEFEF;
 }
 .catalog-popup__close {
    margin-left: auto;
 }
 .catalog-popup__title {
    color: #000;
    font-size: 15px;
    line-height: 125%;
 }
 .catalog-popup__menu {
    margin-bottom: 30px;
 }
 .catalog-popup__menu-item-link {
    padding: 18px 25px 17px;
    border-bottom: 1px solid #EFEFEF;
    gap: 6px;
    align-items: center;
 }
 .catalog-popup__menu-item-icon img {
    width: 23px;
    min-width: 23px;
    height: auto;
 }
 .catalog-popup__menu-item-text {
    font-size: 14px;
    line-height: 100%;
 }
 .catalog-popup__banner {
    height: 295px;
    min-height: 295px;
    border-radius: 15px;
 }

 .search-results.has-results {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    width: auto;
    max-width: unset;
    transform: none;
 }

 .header-top {
    padding: 0;
    padding-top: 10px;
    border: none;
 }
 
 .search-results__has-results .search-results__right {
    display: block;
 }
    .search-results__right .catalog-product {
        display: none;
    }
}

@media(max-width: 768px) {
    .header-top__center {
        position: relative;
        z-index: 10001;
        transition: .3s;
    }
    .header-top__center.active {
        border-color: #8F8F8F;
        padding-top: 12px;
        padding-left: 19px;
        padding-right: 19px;
    }
    .header-top__center::before {
        content: '';
        position: absolute;
        top: 7px;
        left: 29px;
        right: 29px;
        height: 5px;
        background-color: #FFFFFF;
        transition: .3s;
        opacity: 0;
    }
    .header-top__center.active::before {
        opacity: 1;
    }
    .header__search {
        min-width: 0;
        position: static;
        border-radius: 11px;
        padding: 2px;
        padding-left: 10px;
    }
    
    .header__search::after {
        display: none;
    }
    .header__search-icon {
        display: none;
    }
    .header__search-input {
        font-size: 12px;
    }
    .header__search-suggestion {
        font-size: 12px;
        left: 204px;
    }
    .header__search-question {
        font-size: 12px;
        left: 265px;
    }
    .header__search-btn {
        padding: 8px;
        border-radius: 10px;
    }
    .header__search-btn span {
        display: none;
    }
    .header__search-btn svg {
        display: block;
    }
    .search-results,
    .search-results.has-results {
        position: absolute;
        top: 7px;
        left: 14px;
        right: 14px;
        transform: none;
        z-index: -1;
        padding: 65px 5px 20px;
        max-height: calc((100 * var(--vh)) - 80px);
        overflow: hidden;
        overflow-y: auto;
    }
    
    .search-results__content {
        padding: 0;
    }
    .no-results__top {
        padding-left: 10px;
        padding-right: 10px;
    }
    .no-results__top-content-title {
        font-size: 14px;
        margin-bottom: 2px;
    }
    .no-results__top-content-subtitle {
        font-size: 12px;
    }
    .no-results__products,
    .no-results__btn {
        padding-left: 10px;
        padding-right: 10px;
    }
    .no-results__btn {
        margin-top: 10px;
    }
    .no-results__products-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    .no-results__products-items {
        grid-template-columns: 1fr;
        grid-gap: 10px;
    }
    .no-results__products-items .product-horizontal__image-link {
        width: 48px;
        height: 56px;
        border-radius: 7px;
    }
    .no-results__products-items .product-horizontal__image {
        border-radius: 7px;
    }
    .no-results__products-items .product-horizontal {
        gap: 10px;
    }
    .no-results__products-items .product-horizontal__title {
        font-size: 13px;
        font-weight: 600;
    }
    .no-results__products-items .product-horizontal__price-row {
        margin-top: 3px;
        gap: 7px;
    }
    .no-results__products-items .price-new {
        font-size: 14px;
    }
    .no-results__products-items .price-old {
        font-size: 12px;
    }
    .no-results__products-items .product-horizontal__weight {
        display: block;
        margin-bottom: 0;
        color: #363636;
        font-weight: 300;
        opacity: 0.6;
        padding: 0;
        border-radius: 0;
        border: none;
    }
    .no-results__products-items .product-horizontal__weight::after {
        content: none;
    }
    .search-results.show {
        width: auto;
    }
    .search-results__content {
        flex-direction: column;
    }
    .search-results__has-results .search-results__left {
        padding: 0;
        width: 100%;
        background: transparent;
        padding-left: 10px;
        padding-right: 10px;
    }
    .search-results__has-results .search-results__right {
        padding: 0;
    }
    .search-results__block-title {
        font-size: 14px;
        margin-bottom: 0;
    }
    .search-results__tags {
        margin-top: 3px;
    }
    .search-results__tag {
        padding: 2px 3px;
        border-radius: 7px;
        font-size: 12px;
    }
    .search-cats {
        display: none;
    }
    .search-cats--mob {
        display: block;
        padding: 10px 20px 0;
    }
    .search-results__has-results .no-results__btn {
        padding-left: 0;
        padding-right: 0;
    }
    .search-results__category-items {
        margin-top: 10px;
    }
    .search-results__category-item {
        margin-bottom: 10px;
    }
    .header__search-clear {
        right: -8px;
    }
}

/* .tool-btn.wishlist .tool-btn__count:not(.inited),
.tool-btn.cart .tool-btn__count.empty {
    display: none;
} */
