/* ===== rose25 layout fixes 2026-10-14 ===== */

/* 1. Search label: keep "ÐÐ¾Ð¸ÑÐº:" above the input on desktop */
#title-search {
  padding-top: 22px;
}
#title-search::after {
  top: 0;
  left: 0;
  line-height: 1.2;
  font-size: 14px;
  color: #333;
  pointer-events: none;
}
@media screen and (max-width: 991px) {
  #title-search {
    padding-top: 22px;
  }
  #title-search::after {
    top: 0;
  }
}
@media screen and (max-width: 550px) {
  #title-search::after {
    top: 0;
  }
}

/* 2. Review cards: equal height for all slides; keep shadow visible */
.slick-reviews .slick-list {
  padding: 12px 0;
  margin: -12px 0;
}
.slick-reviews .slick-track {
  display: flex !important;
  align-items: stretch;
}
.slick-reviews .slick-slide {
  height: auto;
}
.slick-reviews .reviews__item,
.slick-reviews .slick-slide.reviews__item {
  height: auto;
  box-sizing: border-box;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
  margin: 2px 15px;
  background: #fff;
}

/* 3. Official Yandex Sprav rating-badge widget */
.ivee {
  display: flex !important;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 20px auto 28px;
  padding: 0 15px;
  min-height: 50px;
  overflow: hidden;
  box-sizing: border-box;
}
.ivee iframe {
  width: 150px !important;
  height: 50px !important;
  max-width: 100%;
  border: 0 !important;
  overflow: hidden !important;
  display: block;
  flex-shrink: 0;
}

/* 4. Product quantity: digit visible */
.quantity {
  font-size: 16px;
  align-items: center;
}
.quantity-num {
  width: 48px !important;
  height: 28px !important;
  font-size: 16px !important;
  line-height: 26px !important;
  padding: 0 4px !important;
  box-sizing: border-box;
  -moz-appearance: textfield;
  appearance: textfield;
}
.quantity-num::-webkit-outer-spin-button,
.quantity-num::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* 5. Header logo/icons: prevent lazy placeholder blowing header height */
.top-header__logo img {
  width: 268px;
  max-width: 100%;
  height: auto !important;
  max-height: 70px;
  display: block;
}
.top-header img.bottom-box__pin,
.top-header img.bottom-box__phone {
  width: auto;
  height: auto;
  max-height: 20px;
}
header .bx-basket img {
  width: auto;
  height: auto;
  max-height: 32px;
}

/* 6. Mobile red bar: phones must be white */
@media screen and (max-width: 576px) {
  .nav-info .phone-container a,
  .nav-info .phone-container a:hover,
  .nav-info .phone-container a:focus,
  .nav-info .phone-container a:visited {
    color: #fff !important;
  }
  .nav-info .city-container,
  .nav-info .city-container .upper,
  .nav-info .option-container {
    color: #fff !important;
  }
}

/* 8. Cookie notice (informational; analytics already loaded) */
.rose25-cookies {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  background: #fff;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.12);
  border-top: 3px solid #c21f3c;
  padding: 14px 16px;
}
.rose25-cookies__inner {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
}
.rose25-cookies__text {
  margin: 0;
  text-align: left;
  flex: 1 1 auto;
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}
.rose25-cookies__text a {
  color: #c21f3c;
  text-decoration: underline;
}
.rose25-cookies__btn {
  flex: 0 0 auto;
  border: 0;
  background: #c21f3c;
  color: #fff;
  font-size: 14px;
  line-height: 1;
  padding: 12px 22px;
  cursor: pointer;
}
.rose25-cookies__btn:hover {
  background: #8b0000;
}
@media screen and (max-width: 576px) {
  .rose25-cookies__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .rose25-cookies__btn {
    width: 100%;
  }
}
