.search__descr {
  font-size: 1.146vw;
  font-style: normal;
  font-weight: 400;
  line-height: 103%; /* 1.18vw */
  letter-spacing: 0.011vw;
  margin-top: 1.042vw;
}

.page__title_search {
  max-width: 35.729vw;
}

@media (max-width: 1150px) {
  .search__descr {
    font-size: 1.563vw;
    line-height: 2.344vw; /* 2.951vw */
    letter-spacing: 0.029vw;
    margin-top: 1.953vw;
  }
  .page__title_search {
    max-width: 36.979vw;
  }
}
@media (max-width: 576px) {
  .search__descr {
    font-size: 3.333vw;
    line-height: 5vw; /* 6.294vw */
    letter-spacing: 0.061vw;
    margin-top: 5.556vw;
  }
  .page__title_search {
    max-width: 71.111vw;
  }
}
.search__modal-container {
  padding: 3.958vw 3.646vw 0;
  width: 58.594vw;
  margin-top: 1.042vw;
  overflow-y: auto;
}
.search__modal-container .modal__content {
  align-items: start;
}

.modal__search {
  align-items: start;
}

.search__text {
  font-size: 0.938vw;
  font-style: normal;
  font-weight: 400;
  line-height: 1.349vw; /* 143.889% */
  opacity: 0.57;
  margin-bottom: 1.042vw;
}

.form__search {
  display: flex;
  justify-content: space-between;
  align-items: start;
  width: 100%;
  gap: 1.042vw;
  margin-bottom: 1.042vw;
}
.form__search .form__field-wrap {
  position: relative;
  flex-grow: 1;
  margin-top: 0.521vw;
}
.form__search .form__field-wrap svg {
  width: 1.667vw;
  height: 1.667vw;
  position: absolute;
  left: 0;
  top: 0;
}
.form__search .input {
  padding-left: 2.708vw;
}
.form__search .search__submit {
  padding-left: 1.823vw;
  padding-right: 1.823vw;
}

.search__cards {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 1.042vw;
  padding-bottom: 2.604vw;
}
.search__cards .card__add_full {
  display: none;
}
.search__cards .card {
  height: 10.104vw;
  flex-wrap: wrap;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  padding: 0;
  justify-content: center;
}
.search__cards .card .card__image {
  width: 10.104vw;
  height: 10.104vw;
  box-shadow: 0 0 0 1.94px inset rgba(31, 31, 29, 0.1);
  border-radius: 1.212vw;
  margin-right: 1.25vw;
}
/* .search__cards .card .card__image:hover {
  box-shadow: 0 0 0 1.94px inset #ef642d;
} */
.search__cards .card .card__title {
  font-size: 1.198vw;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
  text-transform: none;
  order: 2;
  max-width: 24.479vw;
}
.search__cards .card .card__meta {
  margin-top: 1.302vw;
  margin-bottom: 0.521vw;
  order: 3;
}
.search__cards .card .card__bottom {
  order: 4;
}
.search__cards .card .card__labels {
  display: none;
}
.search__cards .card .card__sku {
  display: none;
}
.search__cards .card .card__pricing {
  margin-top: 0;
}
.search__cards .card .card__actions {
  display: none;
}

@media (max-width: 1150px) {
  .search__modal-container {
    padding: 5.208vw 5.208vw 0;
    width: 94.792vw;
    margin-top: 2.604vw;
  }
  .search__modal-container .modal__content {
    align-items: start;
  }
  .modal__search {
    align-items: start;
    background: transparent;
  }
  .search__text {
    font-size: 1.823vw;
    line-height: 2.344vw; /* 143.889% */
    opacity: 0.5;
    margin-bottom: 2.604vw;
  }
  .form__search {
    gap: 3.255vw;
    margin-bottom: 1.302vw;
  }
  .form__search .form__field-wrap {
    margin-top: 1.302vw;
  }
  .form__search .form__field-wrap svg {
    width: 3.125vw;
    height: 3.125vw;
  }
  .form__search .input {
    padding-left: 5.208vw;
  }
  .form__search .search__submit {
    padding-left: 2.604vw;
    padding-right: 2.604vw;
  }
  .search__cards {
    flex-direction: row;
    gap: 1.302vw;
    padding-bottom: 5.208vw;
  }
  .search__cards .card {
    height: 38.932vw;
    flex-wrap: nowrap;
    box-shadow: 0 0 0 1px inset rgba(31, 31, 29, 0.1);
    padding: 1.823vw 1.302vw;
    align-items: start;
    width: 22.786vw;
    border-radius: 1.302vw;
  }
  .search__cards .card .card__image {
    width: auto;
    height: 17.188vw;
    max-width: 17.188vw;
    box-shadow: none;
    border-radius: 0;
    margin-right: auto;
  }
  .search__cards .card .card__title {
    font-size: 1.693vw;
    font-weight: 500;
    margin-bottom: 0;
    text-transform: uppercase;
    order: 0;
    max-width: 100%;
    height: auto;
  }
  .search__cards .card .card__meta {
    margin-top: 0;
    margin-bottom: 1.823vw;
    order: 0;
    justify-content: end;
    width: 100%;
  }
  .search__cards .card .card__bottom {
    order: 0;
    margin-top: auto;
  }
  .search__cards .card .card__labels {
    display: flex;
  }
  .search__cards .card .card__sku {
    display: none;
  }
  .search__cards .card .card__pricing {
    margin-top: 1.563vw;
    flex-direction: row-reverse;
    display: flex;
    align-items: center;
    gap: 0.911vw;
  }
  .search__cards .card .card__pricing-old {
    margin-bottom: 0;
  }
  .search__cards .card .card__actions {
    display: flex;
    position: absolute;
    left: 1.302vw;
    top: 18.75vw;
  }
  .search__cards .card .card__actions svg {
    width: 2.604vw;
    height: 2.604vw;
  }
  .search__cards .card .card__label {
    font-size: 1.432vw;
    padding: 0.911vw 0.911vw 0.781vw 0.911vw;
  }
  .search__cards .card .card__add_full {
    display: flex;
    width: 100%;
    margin-top: 1.823vw;
    padding-top: 1.432vw;
    padding-bottom: 1.432vw;
    font-size: 1.563vw;
  }
  .search__cards .card .card__add {
    display: none;
  }
}
@media (max-width: 576px) {
  .search__modal-container {
    padding: 15.278vw 4.444vw 0;
    width: 100% !important;
    margin-top: 0;
    border-radius: 0 0 5.556vw 5.556vw;
    overflow: hidden;
  }
  .search__modal-container .modal__content {
    align-items: start;
  }
  .search__text {
    font-size: 3.889vw;
    line-height: 5vw; /* 143.889% */
    opacity: 0.5;
    margin-bottom: 5.556vw;
  }
  .form__search {
    gap: 0;
    flex-direction: column;
    margin-bottom: 9.722vw;
  }
  .form__search .form__field-wrap {
    margin-top: 0;
    width: 100%;
    padding-bottom: 5.667vw;
  }
  .form__search .form__field-wrap svg {
    width: 6.667vw;
    height: 6.667vw;
  }
  .form__search .input {
    padding-left: 11.111vw;
  }
  .form__search .input::placeholder {
    opacity: 0.5;
  }
  .form__search .search__submit {
    padding-left: 5.556vw;
    padding-right: 5.556vw;
    width: 100%;
  }
  .search__cards {
    gap: 2.778vw;
    padding-bottom: 15.278vw;
  }
  .search__cards .card {
    height: 83.056vw;
    padding: 3.889vw 2.778vw;
    width: 44.167vw;
    border-radius: 2.778vw;
    flex-shrink: 0;
  }
  .search__cards .card .card__image {
    width: auto;
    height: 36.667vw;
    max-width: 36.667vw;
  }
  .search__cards .card .card__title {
    font-size: 3.611vw;
    margin-bottom: 0;
    text-transform: uppercase;
    height: auto;
  }
  .search__cards .card .card__meta {
    margin-top: 0;
    margin-bottom: 3.333vw;
    justify-content: end;
    width: 100%;
    height: 5vw;
  }
  .search__cards .card .card__labels {
    display: flex;
  }
  .search__cards .card .card__sku {
    display: none;
  }
  .search__cards .card .card__pricing {
    margin-top: 3.333vw;
    gap: 1.944vw;
  }
  .search__cards .card .card__pricing-old {
    display: none;
  }
  .search__cards .card .card__actions {
    left: 2.778vw;
    top: 40vw;
    gap: 1.667vw;
  }
  .search__cards .card .card__actions svg {
    width: 5.556vw;
    height: 5.556vw;
  }
  .search__cards .card .card__label {
    font-size: 3.056vw;
    padding: 1.944vw 1.944vw 1.667vw 1.944vw;
  }
  .search__cards .card .card__add_full {
    margin-top: 3.889vw;
    padding-top: 3.056vw;
    padding-bottom: 3.056vw;
    font-size: 3.333vw;
  }
}
.search__results-cards {
  width: 100%;
}

.search__result-list {
  display: flex;
  gap: 1.302vw;
  flex-direction: column;
  width: 43.021vw;
  margin-bottom: 1.823vw;
}
.search__result-list li {
  width: 100%;
}
.search__result-list li a {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.search__result-list li:hover .search__result-name {
  color: #ef642d;
}
.search__result-name {
  transition: 0.3s;
  font-size: 1.25vw;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.025vw;
  text-transform: uppercase;
}
.search__result-price {
  opacity: 0.5;
  font-size: 1.146vw;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.023vw;
  text-transform: uppercase;
}

.search__cards-scroll {
  width: 100%;
  max-height: 15.781vw;
  overflow-y: auto;
}

.search__popular .search__cards-scroll {
  max-height: 22.781vw;
}
@media (min-width: 577px) {
.search__cards-scroll::-webkit-scrollbar {
  width: 8px;
}
.search__cards-scroll::-webkit-scrollbar-track {
  background: rgba(31, 31, 29, 0.1);
  border-radius: 5px;
}
.search__cards-scroll::-webkit-scrollbar-thumb {
  background: #1f1f1d;
  border-radius: 5px;
}
.search__cards-scroll::-webkit-scrollbar-button:end:increment {
  background: #fafafa;
  display: block !important;
  height: 50px;
  pointer-events: none;
}
.search__cards-scroll * {
  scrollbar-width: thin;
  scrollbar-color: #1f1f1d rgba(31, 31, 29, 0.1);
}
}

.search__text_no-result {
  max-width: 29.479vw;
}

.search__popular {
  width: 100%;
}

.search__popular-cards {
  width: 100%;
}

@media (max-width: 1150px) {
  .search__result {
    width: 100%;
  }
  .search__result-list {
    gap: 1.823vw;
    width: 100%;
    margin-bottom: 3.255vw;
  }
  .search__result-name {
    max-width: 54.167vw;
    font-size: 2.083vw;
    line-height: 1;
    letter-spacing: 0.042vw;
    text-transform: uppercase;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }
  .search__result-price {
    opacity: 0.3;
    font-size: 1.693vw;
    line-height: 1;
    letter-spacing: 0.033vw;
  }
  .search__cards-scroll {
    max-height: 46.875vw;
    padding-top: 2.604vw;
    margin-top: -2.604vw;
  }
  .search__cards-scroll::-webkit-scrollbar {
    width: 6px;
  }
  .search__cards-scroll::-webkit-scrollbar-track {
    border-radius: 5px;
  }
  .search__cards-scroll::-webkit-scrollbar-thumb {
    border-radius: 5px;
  }
  .search__cards-scroll::-webkit-scrollbar-button:end:increment {
    height: 6.51vw;
  }
  .search__text_no-result {
    max-width: 57.292vw;
  }
}
@media (max-width: 576px) {
  /* .search__popular {
    width: auto;
  } */
  .search__result-list {
    gap: 3.333vw;
    margin-bottom: 6.944vw;
  }
  .search__result-name {
    max-width: 63.889vw;
    font-size: 4.444vw;
    line-height: 1;
    letter-spacing: 0.089vw;
  }
  .search__result-price {
    font-size: 3.611vw;
    line-height: 1;
    letter-spacing: 0.069vw;
  }
  .search__cards-scroll,
  .search__popular .search__cards-scroll {
    max-height: 102.778vw;
    padding-top: 4.167vw;
    margin-top: -4.167vw;
    width: 100vw;
    padding-left: 4.444vw;
    margin-left: -4.444vw;
  }
  .search__cards-scroll::after,
  .search__popular .search__cards-scroll::after {
    content: '';
    min-width: 1.666vw;
    display: block;
  }
  .search__text_no-result {
    max-width: 75.556vw;
  }
}

/* ─── Search Empty State ─────────────────────────────────── */

.search-empty {
  padding: 4.167vw 0 5.208vw;
}
.search-empty__title {
  margin-bottom: 1.302vw;
}
.search-empty__text {
  font-size: 1.042vw;
  font-weight: 400;
  line-height: 150%;
  color: #1f1f1d;
  opacity: 0.7;
  margin-bottom: 2.083vw;
}
.search-empty__query {
  font-weight: 500;
}

@media (max-width: 1150px) {
  .search-empty {
    padding: 5.208vw 0 6.51vw;
  }
  .search-empty__title {
    margin-bottom: 1.953vw;
  }
  .search-empty__text {
    font-size: 1.563vw;
    margin-bottom: 2.604vw;
  }
}

@media (max-width: 576px) {
  .search-empty {
    padding: 8.333vw 0 11.111vw;
  }
  .search-empty__title {
    margin-bottom: 4.444vw;
  }
  .search-empty__text {
    font-size: 3.333vw;
    margin-bottom: 5.556vw;
  }
}