#collapse-checkout-option #regsmsModal .modal-dialog{
    margin: 0 auto;
  }
  
  #collapse-checkout-option #regsmsModal .modal-dialog .modal-header{
    display: none;
  }
  
  #collapse-checkout-option #regsmsModal .modal-dialog .modal-body,  #collapse-checkout-option #regsmsModal .modal-dialog .modal-body{
    padding: 0;
  }
  
  #collapse-checkout-option #regsmsModal .modal-dialog .modal-body{
    padding-bottom: 10px;
  }

  #collapse-checkout-option #regsmsModal .modal-dialog .modal-content{
    border: none;
  }

  div.news-featured__item-image--badges img, div.news__item-image--badges img{
      top: 0; 
     left: 0; 
     right: 0; 
     width: auto; 
     height: auto;
  }

  div.news-featured__item-image, div.news__item-image{
    height: 25rem;
  }

  .stock_custom .stock__image{
    position: relative;
  }

  .custom-tooltip {
    background-color: rgba(255, 255, 255, 0.48);
    color: rgba(0, 0, 0, 0.32);
    border-radius: 6px;
    padding: 0 6px;
    cursor: pointer;
    position: absolute;
    right: 15px;
    top: 15px;
    z-index: 10;
    font-size: 12px;
    line-height: 20px;
}

.stickers{
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 60%;
  row-gap: 10px;
  position: absolute;
  left: 30px;
  top: 30px;
  z-index: 2;
}

.product_page .stickers{
  column-gap: 10px;
  flex-wrap: wrap;
  flex-direction: row;
}

.product_page .sku__sticky{
  position: relative;
}

.product_page .sku__sticky .stickers{
  z-index: 50;
}

.products__list .stickers{
  z-index: 91;
}

.custom-sticker{
  width: max-content;
  cursor: pointer;
  border-radius: 6px;
  font-size: 16px;
  line-height: 18px;
  padding: 5px 10px;
}

.tooltip .tooltip-inner{
  max-width: 360px;
  width: max-content;
  white-space: normal;
}

.custom-tooltip + .tooltip .tooltip-inner{
  padding: 3px 8px;
  max-width: 200px;
  text-align: center;
  font-size: 12px;
}

.relative{
  position: relative;
}

.sku__details-shortdescription iframe{
  max-width: 100%;
}

.personal__subsc{
  background-color: var(--theme-primary-color);
  padding: 1rem 1rem 1rem;
  min-height: 22rem;
}

.personal__subsc-title{
  margin: 0 0 3rem;
}

.ui-add-to-cart.is-active .ui-btn--primary{
  background-color: #333;
}

body .header__tags-menu > li{
  margin: 0;
}

.is-header-v7 .header__catalog button.header__catalog-btn{
  background: #1e1b20;
  color: #fff;
}

/* --- Prostore phones: nicer header dropdown layout (number bold, title below, separators) --- */
.header__call-menu > li + li,
.header__nav-support-phones > li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 8px;
  padding-top: 8px;
}

.header__call-link,
.header__nav-support-link {
  display: block;
}

.prostore-phone__row {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.prostore-phone__number {
  display: block;
  font-weight: 700;
}

.prostore-phone__title {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  line-height: 1.2;
  opacity: 0.75;
}

/* Footer v4: show only main phone, reveal others on hover/focus */
.footer--v4 .footer__call--hover {
  position: relative;
  display: inline-block;
  z-index: 9998;
}

.footer--v4 .footer__call--hover .footer__call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer--v4 .footer__call--hover .footer__call-offcanvas {
  display: none;
  position: absolute;
  left: 0;
  bottom: calc(100% + 8px);
  min-width: 260px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 10px 12px;
  z-index: 9999;
}

.footer--v4 .footer__call--hover:hover .footer__call-offcanvas,
.footer--v4 .footer__call--hover:focus-within .footer__call-offcanvas {
  display: block;
}

/* Mobile: раскрываем список телефонов по классу (ставится JS-ом) */
.footer--v4 .footer__call--hover.is-open .footer__call-offcanvas {
  display: block;
}

/* A single configured phone leaves the legacy OCMOD dropdown empty. */
.footer--v4 .footer__call--hover:not(:has(.footer__call-menu > li)) .footer__call-offcanvas,
.footer--v4 .footer__call--hover:not(:has(.footer__call-menu > li)) .footer__call-btn .icon-arrow-down {
  display: none !important;
}

.footer--v4 .footer__call-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer--v4 .footer__call-menu > li + li {
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  margin-top: 8px;
  padding-top: 8px;
}

.footer--v4 .footer__call-link {
  display: block;
}
@media (min-width: 1199px) {
  .is-header-v7 div.header__catalog {
      flex: 0 0 11rem;
      margin: 0 1rem 0 0;
  }
}

.product-card__bonuses{
  color: rgb(189, 194, 211);
}

.products__item-title{
  margin: 0 0 1rem;
}

.article__body .products__item-price{
  margin: 0;
}

.search-products__all_btn{
  width: 100%;
  margin-top: 1rem;
}

@media (min-width: 1199px) {
  .stock__image {

      bottom: -3.5rem; 

  }
}

.is-header-fixed .header-fixed .header__logo{
  flex: none;
}

.products__item--small .products__item-image{
  padding: 4rem 0 0rem;
}

@media (min-width: 1199px) {
  .header__tags ul.header__tags-menu > li  {
      display: list-item;
  }
}

/* Анкета: подсказки адреса (DaData) под полем на всю ширину */
.form--anketa .address-group {
  position: relative;
}

.form--anketa .address-group .address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 0;
  box-sizing: border-box;
  max-height: 260px;
  overflow-y: auto;
  z-index: 1000;
}

.form--anketa .address-group .address-suggestions .address-suggestion-item {
  padding-left: 1rem;
  padding-right: 1rem;
  cursor: pointer;
}

.form--anketa .address-group .address-suggestions .address-suggestion-item:hover,
.form--anketa .address-group .address-suggestions .address-suggestion-item:focus {
  background-color: #f5f5f7;
}

/* Форма адреса ЛК: подсказки DaData */
.auth__form .address-group {
  position: relative;
}
.auth__form .address-group .address-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  margin-top: 0;
  box-sizing: border-box;
  max-height: 260px;
  overflow-y: auto;
  z-index: 1000;
}
.auth__form .address-group .address-suggestions .address-suggestion-item {
  padding-left: 1rem;
  padding-right: 1rem;
  cursor: pointer;
}
.auth__form .address-group .address-suggestions .address-suggestion-item:hover,
.auth__form .address-group .address-suggestions .address-suggestion-item:focus {
  background-color: #f5f5f7;
}


.checkout__step-payments .text-description{
  font-size: 10px;
}

.checkout__step-payments .ui-check__btn{
  align-items: center;
}

.intro__item{
  background: none;
}

.contacts__data-group *{
  font-size: 14px;
}

.header__additional .products__item{
  border: 1px solid #dfdfdf;
  box-shadow: none;
}

.header__catalog-link-tex{
  font-weight: 700;
}

#regsmsModal{
  color:#333;
}

.fancybox-image,
.fancybox-spaceball{
  background: #fff;
}

div.fast-oc-filters-module h3{
  color: var(--body-color) !important;
}

div.ui-slider .ui-slider-range{
  background-color: var(--theme-primary-color) !important;
}

#slider-range{
  margin-bottom: 20px;
}

div.ui-slider-horizontal .ui-slider-handle {
  top: -11px !important;
}

div.fast-oc-filters-module{
  border: none;
  background: #fff;
}

/* Custom checkbox for .checkbox > label > input[type="checkbox"] without HTML changes */
#fast_oc_filters .checkbox label{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-left: 0;
  cursor: pointer;
  user-select: none;
  margin: 0;
  font-size: 16px;
  line-height: 1;
}

#fast_oc_filters .checkbox label input[type="checkbox"]{
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

#fast_oc_filters .checkbox label::before{
  content: "";
  inline-size: 18px;
  block-size: 18px;
  border: 2px solid #c5c5c5;
  border-radius: 4px;
  background: #fff;
  box-sizing: border-box;
  transition: all .15s ease;
}

#fast_oc_filters .checkbox label::after{
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  inline-size: 8px; /* width of checkmark */
  block-size: 14px; /* height of checkmark */
  border: solid var(--theme-primary-color);
  border-width: 0 2px 2px 0; /* draw the tick */
  transform: rotate(45deg) scale(0.9);
  opacity: 0;
  transition: opacity .15s ease, transform .15s ease;
}

/* Checked state using :has() */
#fast_oc_filters .checkbox label:has(> input[type="checkbox"]:checked)::before{
  border-color: var(--theme-primary-color);
  background: #fff;
}

#fast_oc_filters .checkbox label:has(> input[type="checkbox"]:checked)::after{
  opacity: 1;
  transform: rotate(45deg) scale(1);
}

/* Focus-visible for accessibility */
#fast_oc_filters .checkbox label:has(> input[type="checkbox"]:focus-visible)::before{
  outline: 2px solid color-mix(in srgb, var(--theme-primary-color) 60%, #ffffff 40%);
  outline-offset: 2px;
}

/* Disabled state */
#fast_oc_filters .checkbox label:has(> input[type="checkbox"]:disabled){
  cursor: not-allowed;
  opacity: .6;
}

/* Header account: make it look like cart (icon left, name top-right, bonuses bottom-right) */
.header__acc-info {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  line-height: 1.1;
  min-width: 0;
}

.header__acc-name {
  font-weight: 700;
  font-size: 1.4rem;
  max-width: 14rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header__acc-bonus {
  font-size: 1.2rem;
  opacity: 0.75;
  white-space: nowrap;
}

.cdek_office_info{
  display: none;
}

.header__acc-bonus-count {
  font-weight: 700;
  opacity: 1;
}

/* Desktop header: override fixed-width acc button and turn it into "cart-like" button */
.header__desktop .header__acc-btn--with-info {
  width: auto;
  padding: 0.5rem 2rem 0.5rem 1.5rem;
  justify-content: flex-start;
  white-space: nowrap;
}

.header__desktop .header__acc-btn--with-info svg {
  margin: 0 1rem 0 0;
  display: block;
}

.header__desktop .header__acc-btn--with-info .header__acc-info {
  display: flex;
}

/* Modern account dropdown */
.header__desktop .header-account-menu {
  width: 31rem;
  margin-top: 1rem;
  padding: 1rem;
  overflow: hidden;
  border: 1px solid #e3e7ee;
  border-radius: 1.6rem;
  background: #fff;
  box-shadow: 0 1.8rem 5rem rgba(22, 28, 45, 0.14);
  transform: translateY(0.6rem);
}

.header__desktop .header__acc.is-open > .header-account-menu {
  transform: translateY(0);
}

.header-account-menu__profile {
  display: flex;
  align-items: center;
  min-height: 6.4rem;
  padding: 1rem;
  color: #171b26;
  text-decoration: none;
  border-radius: 1.2rem;
  background: #f6f7fa;
  transition: background-color .2s ease, color .2s ease;
}

.header-account-menu__profile:hover {
  color: #171b26;
  text-decoration: none;
  background: color-mix(in srgb, var(--theme-primary-color) 9%, white);
}

.header-account-menu__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 4.4rem;
  width: 4.4rem;
  height: 4.4rem;
  margin-right: 1.2rem;
  color: var(--theme-primary-color);
  border-radius: 1.2rem;
  background: #fff;
}

.header-account-menu__avatar svg {
  width: 2.4rem;
  height: 2.4rem;
}

.header-account-menu__profile-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
}

.header-account-menu__eyebrow {
  margin-bottom: .3rem;
  color: #8a93a6;
  font-size: 1.1rem;
  line-height: 1.3;
}

.header-account-menu__customer {
  overflow: hidden;
  color: #171b26;
  font-size: 1.5rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-account-menu__profile-arrow,
.header-account-menu__arrow {
  flex: 0 0 auto;
  width: 1.8rem;
  height: 1.8rem;
  color: #a0a8b8;
}

.header-account-menu__profile-arrow {
  margin-left: 1rem;
}

.header__desktop .header-account-menu__list {
  margin-top: .8rem;
  font-size: 1.4rem;
  line-height: 1.4;
}

.header__desktop .header-account-menu__list > li {
  margin: 0;
}

.header__desktop .header-account-menu__link {
  display: flex;
  align-items: center;
  min-height: 4.6rem;
  padding: .7rem 1rem;
  gap: 1.1rem;
  color: #252b38;
  border-radius: 1rem;
  transition: color .2s ease, background-color .2s ease;
}

.header__desktop .header-account-menu__link:hover {
  color: var(--theme-primary-color);
  text-decoration: none;
  background: color-mix(in srgb, var(--theme-primary-color) 7%, white);
}

.header-account-menu__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 3.2rem;
  width: 3.2rem;
  height: 3.2rem;
  color: #505867;
  border-radius: .9rem;
  background: #f4f6f9;
  transition: color .2s ease, background-color .2s ease;
}

.header-account-menu__icon svg {
  width: 1.9rem;
  height: 1.9rem;
}

.header-account-menu__link:hover .header-account-menu__icon {
  color: var(--theme-primary-color);
  background: #fff;
}

.header-account-menu__arrow {
  margin-left: auto;
}

.header-account-menu__logout-item {
  margin-top: .8rem !important;
  padding-top: .8rem;
  border-top: 1px solid #edf0f4;
}

.header__desktop .header-account-menu__link--logout {
  color: #d44f45;
}

.header__desktop .header-account-menu__link--logout:hover {
  color: #c53d34;
  background: color-mix(in srgb, var(--theme-primary-color) 7%, white);
}

.header-account-menu__link--logout .header-account-menu__icon {
  color: #d44f45;
  background: color-mix(in srgb, var(--theme-primary-color) 7%, white);
}

@media (max-width: 1199px) {
  .header__desktop .header-account-menu {
    width: 28rem;
  }
}

/* Mobile top bar: keep compact icon-only to avoid breaking layout */
.header__mobile .header__acc-btn--with-info .header__acc-info {
  display: none;
}

/* Mobile offcanvas nav: show text next to icon */
.header__nav-acc-btn {
  display: flex;
  align-items: center;
}

button.header__nav-acc-btn {
  background: transparent;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.header__nav-acc-btn svg {
  margin: 0 1rem 0 0;
  display: block;
}

.header__nav-acc-btn .header__acc-info {
  display: flex;
}

@media (max-width: 1199px) {
  .header__catalog-link{
    padding: 1rem 7rem 1rem 3rem;
  }

}


/*скрыть меню с анкетой*/
.anketa{
  display: none;
}
/*скрыть меню с анкетой*/

/* Product files block */
.product-files{
  display: grid;
  gap: 8px;
}

.product-files__item{
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border: 1px solid #e6e8ef;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, background .2s ease;
}

.product-files__item:hover{
  border-color: var(--theme-primary-color);
  background: #f8f9fc;
  text-decoration: none;
}

.product-files__item:hover .product-files__name{
  text-decoration: none;
}

.product-files__icon{
  width: 42px;
  min-width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
  background: #8e97a8;
}

.product-files__icon::before{
  content: "F";
}

.product-files__icon small{
  position: absolute;
  right: 3px;
  bottom: 2px;
  font-size: 9px;
  line-height: 1;
  color: rgba(255,255,255,.95);
  font-weight: 700;
}

.product-files__icon--pdf{ background:#d94141; }
.product-files__icon--pdf::before{ content:"PDF"; font-size:12px; }

.product-files__icon--word{ background:#2f67d8; }
.product-files__icon--word::before{ content:"W"; }

.product-files__icon--excel{ background:#1f8f4e; }
.product-files__icon--excel::before{ content:"X"; }

.product-files__icon--ppt{ background:#e4712d; }
.product-files__icon--ppt::before{ content:"P"; }

.product-files__icon--archive{ background:#6d57b8; }
.product-files__icon--archive::before{ content:"ZIP"; font-size:11px; }

.product-files__icon--image{ background:#2f9ac7; }
.product-files__icon--image::before{ content:"IMG"; font-size:10px; }

.product-files__icon--text{ background:#5d6a84; }
.product-files__icon--text::before{ content:"TXT"; font-size:10px; }

.product-files__icon--audio{ background:#a858c7; }
.product-files__icon--audio::before{ content:"A"; }

.product-files__icon--video{ background:#db5a93; }
.product-files__icon--video::before{ content:"V"; }

.product-files__content{
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.product-files__name{
  font-size: 14px;
  line-height: 1.2;
  color: var(--theme-primary-color);
}

.product-files__meta{
  margin-top: 2px;
  font-size: 12px;
  color: #7b8293;
}

/* Declaration of conformity */
.product-declaration{
  display: grid;
  gap: 8px;
}

.product-declaration__group{
  margin-top: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #6b7385;
}

.product-declaration__group:first-child{
  margin-top: 0;
}

.product-declaration__link{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #c9daf0;
  border-left: 4px solid #1f6feb;
  border-radius: 10px;
  background: #f4f8fd;
  text-decoration: none;
  color: inherit;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.product-declaration__link:hover{
  box-shadow: 0 6px 18px rgba(34, 74, 128, .08);
  transform: translateY(-1px);
  text-decoration: none;
}

.product-declaration__link--declaration{
  border-color: #c9daf0;
  border-left-color: #1f6feb;
  background: #f4f8fd;
}

.product-declaration__link--certificate{
  border-color: color-mix(in srgb, var(--theme-primary-color) 34%, white);
  border-left-color: var(--theme-primary-color);
  background: color-mix(in srgb, var(--theme-primary-color) 7%, white);
}

.product-declaration__icon{
  width: 46px;
  min-width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #1f6feb;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-declaration__icon svg{
  width: 24px;
  height: 24px;
  display: block;
}

.product-declaration__icon::before{
  content: none;
}

.product-declaration__icon--declaration{
  background: #1f6feb;
}

.product-declaration__icon--certificate{
  background: var(--theme-primary-color);
}

.product-declaration__content{
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
}

.product-declaration__name{
  font-size: 15px;
  line-height: 1.25;
  font-weight: 600;
  color: #1d4f91;
  overflow-wrap: anywhere;
}

.product-declaration__link--certificate .product-declaration__name{
  color: color-mix(in srgb, var(--theme-primary-color) 65%, #202a3a);
}

.product-declaration__meta{
  margin-top: 3px;
  font-size: 12px;
  color: #6b7385;
}

.product-declaration__action{
  margin-left: auto;
  padding: 7px 12px;
  border-radius: 8px;
  background: #1f6feb;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.product-declaration__link--certificate .product-declaration__action{
  background: var(--theme-primary-color);
}

.product-declaration__link:hover .product-declaration__action{
  filter: brightness(1.05);
}

.product-declaration--none{
  padding: 12px 14px;
  border: 1px dashed #d5dae3;
  border-radius: 10px;
  background: #f7f8fa;
}

.product-declaration__none{
  font-size: 14px;
  color: #6b7385;
}
/* SEO-подборки в поиске (дропдаун + страница результатов) */
.search-collections { margin-bottom: 12px; }
.search-collections__title { font-weight: 600; margin-bottom: 6px; opacity: .7; font-size: 13px; }
.search-collections__list { list-style: none; margin: 0; padding: 0; }
.search-collections__item { margin: 0 0 2px; }
.search-collections__link {
	display: flex; align-items: center; gap: 8px; padding: 7px 10px;
	border-radius: 8px; color: inherit; text-decoration: none; font-size: 14px;
}
.search-collections__link:hover { background: rgba(0,0,0,.05); color: var(--theme-primary-color); }
.search-collections__icon { color: var(--theme-primary-color); }

.search-collections-row { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.search-collections-row__title { color: #8c8c8c; font-size: 13px; margin-right: 4px; }
.search-collections-row__item {
	display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px;
	border: 1px solid var(--theme-primary-color); border-radius: 17px;
	color: var(--theme-primary-color); font-size: 14px; line-height: 1.2;
	transition: background .15s, color .15s;
}
.search-collections-row__item:hover { background: var(--theme-primary-color); color: #fff; text-decoration: none; }

/* Подсказки-фразы, история и популярное в дропдауне поиска */
.search-suggests { margin-bottom: 10px; }
.search-suggests__list { list-style: none; margin: 0; padding: 0; }
.search-suggests__item {
	display: flex; align-items: center; gap: 8px; padding: 7px 10px;
	border-radius: 8px; cursor: pointer; font-size: 14px;
}
.search-suggests__item:hover { background: rgba(0,0,0,.05); }
.search-suggests__item i { color: #a0a0a0; font-size: 12px; }
.search-suggests--correction { margin-bottom: 10px; }
.search-suggests__correction { padding: 7px 10px; font-size: 14px; color: #555; }
.search-suggests__correction-link { color: var(--theme-primary-color); font-weight: 600; text-decoration: none; }
.search-suggests__correction-link:hover { text-decoration: underline; }
.search-empty-dd { padding: 14px 10px; text-align: center; color: #888; font-size: 14px; }

.search-results--hints { padding: 4px 0; }
.search-hints { margin-bottom: 12px; }
.search-hints__title { font-weight: 600; margin-bottom: 6px; opacity: .7; font-size: 13px; }
.search-hints__list { list-style: none; margin: 0; padding: 0; }
.search-hints__item {
	display: flex; align-items: center; gap: 8px; padding: 7px 10px;
	border-radius: 8px; cursor: pointer; font-size: 14px;
}
.search-hints__item > span:first-of-type { flex: 1; }
.search-hints__item:hover { background: rgba(0,0,0,.05); }
.search-hints__item i { color: #a0a0a0; font-size: 12px; }
.search-hints__remove { color: #c0c0c0; padding: 0 4px; font-size: 16px; line-height: 1; }
.search-hints__remove:hover { color: #e6003b; }
.search-hints__chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.search-hints__chip {
	padding: 6px 12px; border: 1px solid #e2e4e9; border-radius: 16px;
	background: #fff; cursor: pointer; font-size: 13px; transition: border-color .15s, color .15s;
}
.search-hints__chip:hover { border-color: var(--theme-primary-color); color: var(--theme-primary-color); }

/* ссылки-подсказки (бренд/категория ведут на страницу) */
.search-suggests__link { display: flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; }
.search-suggests__link i { color: #a0a0a0; font-size: 12px; }
.search-hints__chip-link { color: inherit; text-decoration: none; }
.search-hints__chip:hover .search-hints__chip-link { color: var(--theme-primary-color); }

/* Умное "ничего не найдено" */
.search-empty { padding: 8px 0 24px; }
.search-empty__head { margin-bottom: 20px; }
.search-empty__title { display: block; }
.search-empty__dym { margin: 10px 0 0; font-size: 16px; }
.search-empty__dym a { color: var(--theme-primary-color); font-weight: 600; }
.search-empty__relaxed { margin: 8px 0 24px; }
.search-empty__subtitle { display: block; margin-bottom: 14px; }
.search-empty__popular-title { display: block; margin-bottom: 10px; color: #8c8c8c; font-size: 14px; }
.search-empty__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.search-empty__chip {
	display: inline-flex; align-items: center; min-height: 36px; padding: 6px 16px;
	border: 1px solid #e2e4e9; border-radius: 18px; background: #fff;
	color: inherit; font-size: 14px; transition: border-color .15s, color .15s;
}
.search-empty__chip:hover { border-color: var(--theme-primary-color); color: var(--theme-primary-color); text-decoration: none; }

/* Поисковая витрина */
.search-page--showcase {
	margin-bottom: 2rem;
}
.search-page__topline { display: flex; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.search-page__label { font-size: 2rem; line-height: 1.25; font-weight: 500; }
.search-page__count { color: #8b92a1; font-size: 13px; }
.search-page--showcase .row { align-items: center; }
.search-page__submit { min-width: 11rem; }
.search-page__suggestions { display: flex; align-items: flex-start; gap: 10px; margin-top: 18px; }
.search-page__suggestions-title { flex: 0 0 auto; padding-top: 7px; color: #7f8795; font-size: 13px; }
.search-page__suggestions-list { display: flex; flex-wrap: wrap; gap: 7px; }
.search-page__suggestion {
	display: inline-flex; align-items: center; gap: 6px; min-height: 32px; padding: 5px 12px;
	border: 1px solid #e1e5ec; border-radius: 18px; background: rgba(255,255,255,.78); color: #444d5c; font-size: 13px;
	text-decoration: none; transition: border-color .15s, color .15s, background .15s;
}
.search-page__suggestion small { color: #969dab; font-size: 11px; }
.search-page__suggestion:hover { border-color: var(--theme-primary-color); color: var(--theme-primary-color); background: #fff; text-decoration: none; }
.search-page__suggestion--collection { border-color: color-mix(in srgb, var(--theme-primary-color) 42%, transparent); color: var(--theme-primary-color); }

.search-quick-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.search-quick-filters__title { margin-right: 3px; color: #7f8795; font-size: 13px; }
.search-quick-filters__item, .search-quick-filters__all {
	display: inline-flex; align-items: center; min-height: 34px; padding: 5px 13px;
	border: 1px solid #e0e4eb; border-radius: 18px; background: #fff; color: #4e5765; font-size: 13px; line-height: 1.2;
	transition: border-color .15s, color .15s, background .15s;
}
.search-quick-filters__item small { margin-left: 5px; color: #9aa1ad; font-size: 11px; }
.search-quick-filters__item:hover, .search-quick-filters__item.is-active { border-color: var(--theme-primary-color); color: var(--theme-primary-color); }
.search-quick-filters__item.is-active { background: color-mix(in srgb, var(--theme-primary-color) 7%, white); }
.search-quick-filters__all { border-style: dashed; color: var(--theme-primary-color); }
.search-quick-filters__all:hover { background: color-mix(in srgb, var(--theme-primary-color) 7%, white); }

/* Поисковая выдача: подборки сверху, фильтры слева, товары справа. */
.search-discovery { margin: 0 0 2rem; }
.search-discovery__group { display: flex; align-items: flex-start; gap: 10px; }
.search-discovery__group + .search-discovery__group { margin-top: 10px; }
.search-discovery__title { flex: 0 0 auto; padding-top: 7px; color: #7f8795; font-size: 13px; }
.search-discovery__list { display: flex; flex-wrap: wrap; gap: 7px; }

.search-facets {
	display: grid; grid-template-columns: 34rem minmax(0, 1fr); column-gap: 2rem; row-gap: 1.5rem;
	padding: 0; background: transparent;
}
.search-facets .search-quick-filters { grid-column: 1 / -1; margin-bottom: 0; }
.search-results-toolbar {
	grid-column: 2; display: flex; align-items: center; justify-content: space-between; min-height: 4.4rem;
}
.search-results-toolbar__count { color: #7f8795; font-size: 13px; }
.search-results-toolbar__sort { min-width: 19rem; }
.search-facets .promo-filters {
	grid-column: 1; grid-row: 2 / span 4; display: flex; flex-direction: column; align-items: stretch; gap: 0;
	margin: 0; padding: 2.5rem; border: 0; border-radius: 10px; background: #fff; box-shadow: none;
}
.search-filters-aside__head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 2.2rem; }
.search-filters-aside__title { display: block; font-size: 2.4rem; line-height: 1.2; font-weight: 500; }
.search-filters-aside__title .fa { margin-right: .6rem; color: #343434; font-size: 1.9rem; vertical-align: 1px; }
.search-filters-aside__reset { color: var(--theme-primary-color); font-size: 1.3rem; }
.search-filters-aside__reset:hover { text-decoration: underline; }
.search-facets .promo-filters__dropdown { width: 100%; padding: 0 0 2rem; margin: 0 0 2rem; border-bottom: 1px solid #f0f1f5; }
.search-facets .promo-filters__dropdown:last-of-type { border-bottom: 0; }
.search-facets .promo-filters__summary { display: flex; min-height: 2.2rem; align-items: center; padding: 0; border: 0; background: transparent; color: #343434; font-size: 1.6rem; font-weight: 500; }
.search-facets .promo-filters__panel { position: static; width: auto; padding: 1.5rem 0 0; border: 0; box-shadow: none; }
.search-facets .promo-filters__option { min-height: 2.4rem; padding: .35rem 0; border-radius: 0; color: #5c6472; font-size: 1.4rem; }
.search-facets .promo-filters__option:hover { color: var(--theme-primary-color); background: transparent; }
.search-facets .promo-filters__option input { accent-color: var(--theme-primary-color); }
.search-facets .promo-filters__stock { min-height: 2.4rem; margin: 0; padding: .35rem 0; border: 0; border-radius: 0; background: transparent; color: #5c6472; font-size: 1.4rem; }
.search-facets .promo-filters__stock input { accent-color: var(--theme-primary-color); }
.search-facets .promo-block__products,
.search-facets .promo-block__empty,
.search-facets .container-pagination { grid-column: 2; }
.search-facets .promo-block__products { min-width: 0; }

@media (max-width: 991px) {
	.search-facets { display: block; }
	.search-discovery__group { display: block; }
	.search-discovery__title { display: block; padding: 0; margin: 0 0 7px; }
	.search-results-toolbar { margin: 0 0 1.2rem; }
	.search-facets .promo-filters { margin: 0 0 1.2rem; }
}

@media (max-width: 767px) {
	.search-page--showcase { margin-bottom: 2rem; }
	.search-page__suggestions { display: block; }
	.search-page__suggestions-title { display: block; padding: 0; margin: 0 0 7px; }
	.search-page__suggestions-list { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 3px; }
	.search-page__suggestion { white-space: nowrap; }
	.search-quick-filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.search-quick-filters__title, .search-quick-filters__item, .search-quick-filters__all { flex: 0 0 auto; }
}

/* Каталог: категории сеткой, а не горизонтальным слайдером на мобильных */
@media (max-width: 1198.98px) {
	.categories .products-categories {
		margin: 0 0 3rem;
	}

	.categories .products-categories__grid {
		overflow: visible;
		flex-wrap: wrap;
		margin: 0 -0.5rem -1rem;
		padding: 0;
	}

	.categories .products-categories__grid:after {
		content: none;
		flex: 0 0 0;
	}

	.categories .products-categories__grid > li {
		flex: 0 0 50% !important;
		max-width: 50% !important;
		padding: 0 0.5rem 1rem;
		margin: 0 !important;
	}

	.categories .products-categories__item {
		padding: 1.5rem 1rem;
	}

	.categories .products-categories__item-image {
		height: 10rem;
	}

	.categories .swiper-categories {
		overflow: visible;
		margin: 0;
	}

	.categories .swiper-categories > .swiper-wrapper {
		display: flex;
		flex-wrap: wrap;
		width: auto;
		margin: 0 -0.5rem -1rem;
		padding: 0;
		overflow: visible;
	}

	.categories .swiper-categories .swiper-slide {
		flex: 0 0 100% !important;
		width: 100% !important;
		max-width: 100% !important;
		padding: 0 0.5rem 1rem;
		margin: 0 !important;
	}
}

@media (min-width: 768px) and (max-width: 1198.98px) {
	.categories .products-categories__grid > li {
		flex: 0 0 33.333% !important;
		max-width: 33.333% !important;
	}

	.categories .products-categories__grid-4 > li,
	.categories .products-categories__grid-5 > li {
		flex: 0 0 25% !important;
		max-width: 25% !important;
	}

	.categories .swiper-categories .swiper-slide {
		flex: 0 0 50% !important;
		width: 50% !important;
		max-width: 50% !important;
	}
}

/* Скрыть витринный UI запросов на возврат (роуты account/return остаются рабочими) */
.hide-return-ui,
.personal__order-table-return,
li:has(> a[href*="route=account/return"]),
li:has(> a[href*="account/return"]),
a.list-group-item[href*="route=account/return"],
a.list-group-item[href*="account/return"] {
	display: none !important;
}
