
.hero__slide-title{font-size: 6rem; letter-spacing: 0em;}
@media (max-width: 767px) {
 .hero__slide-bg {}
 .hero__slide-bg:before {content: ''; display: block; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-color: rgba(0,0,0,0.3);}

}
@media (max-width: 500px) {
  .hero__slide-title{font-size: 4rem;}
}



/* .best-offers {
  padding-top: 7rem;
} */

/* @media (max-width: 767px) {
  .best-offers {
    padding-top: 29px;
  }
} */

/* .catalog-slider .ed-catalog-item {
  height: 100%;
}

.header__mail {
  margin-right: auto;
}

.header__phone {
  margin-left: 2.8rem;
  margin-right: 2.8rem;
}

.header-top-actions {
  max-width: 83.3rem;
}

.header.is-fixed .header__callback {
  margin-right: 2.5rem;
}

/* 1231233 */

/* @media (max-width: 767px) {
  .entrance-doors__description {
    margin-bottom: 2rem;
  }
}

@media (max-width: 370px) {
  .header-mobile__menu-phone a {
    letter-spacing: 0.05em;
  }
}

@media (max-width: 340px) {
  .header-mobile__menu-phone a {
    letter-spacing: 0;
  }
}

.cart__item-actions {
  position: relative;
}

@media (min-width: 767px) {
  .hero__slide {
    height: 58.5rem;
  }
  .stock-detail__price-main span {
    font-size: 3.5rem;
    font-weight: 400;
  }
  .stock-detail__price-main {
    font-size: 6rem;
    font-weight: 700;
  }
}

@media (max-width: 767px) {
  .stock-detail__price-main {
    font-size: 35px;
    font-weight: 700;
  }
  .stock-detail__price-main span {
    font-size: 18px;
    font-weight: 400;
  }
}

@media (min-width: 767px) {
  .metalcard.design--dsfbb .metalcard__reverse-icon,
  .metalcard__holder.design--dsfbb .metalcard__reverse-icon,
  .metalcard.design--dsf .metalcard__reverse-icon,
  .metalcard__holder.design--dsf .metalcard__reverse-icon {
    left: -3.4rem;
  }
  .metalcard.design--ds .metalcard__reverse-icon,
  .metalcard__holder.design--ds .metalcard__reverse-icon {
    left: -3rem;
  }
}

.catalog-category__content {
  margin-top: 2rem;
}
.catalog-category__content img {
  max-width: 100%;
  display: block;
  height: auto;
}
.catalog-category__content h3 {
  font-size: 2.2rem;
  font-weight: 500;
  display: inline-block;
}
.catalog-category__content b {
  font-weight: 500;
}
.content-row {
  display: flex;
  flex-direction: row;
  justify-content: left;
  align-items: center;
  width: 100%;
  margin: 3rem 0;
  padding: 2rem 3rem;
}
.content-row.row--gray {
  background: #f6f6f6;
  border-radius: 0.9rem;
}
.content-row:nth-child(2n + 1) {
  flex-direction: row-reverse;
}
.content-row__image {
  min-width: 25%;
  margin-right: 5%;
  text-align: center;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.content-row__image > img:first-child:nth-last-child(2),
.content-row__image > img:first-child:nth-last-child(2) ~ img {
  width: 48%;
  object-fit: cover;
}

.content-row:nth-child(2n + 1) .content-row__image {
  margin-right: 0;
  margin-left: 5%;
}
.content-row__text {
  max-width: 70%;
  min-width: 50%;
}
.content-row__text ul,
.content-row__text ol {
  margin-bottom: 3rem;
}

@media (max-width: 767px) {
  .content-row__text {
    max-width: 100%;
    min-width: 100%;
  }
  .content-row__image {
    margin-bottom: 20px;
  }
  .catalog-category__content h3 {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .content-row__text ul,
  .content-row__text ol {
    margin-bottom: 15px;
  }
  .content-row,
  .content-row:nth-child(2n + 1) {
    flex-direction: column;
    padding: 0;
    margin: 30px 0;
  }
  .content-row.row--gray {
    padding: 24px;
  }
  .content-row__image {
    margin-right: 0;
  }
  .content-row:nth-child(2n + 1) .content-row__image {
    margin-left: 0;
  }
  .promotional-item__price-sale {
    font-size: 9px;
    gap: 7px;
    margin-top: -14px;
  }
  .promotional-item__price-sale span {
    font-size: 13px;
  }
  .promotional-item__bg:after {
    display: none;
  }
}

.promotional-item__bg {
  z-index: 1;
}
.promotional-item__content {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
  transform: translateZ(0);
}
.promotional-item {
  transform-style: preserve-3d;
} */

/* @media (max-width: 767px) {
  .card .opening-options__item.is-hidden {
    display: flex;
  }
  .card__offer-title {
    text-align: center;
  }
}

@media (min-width: 767px) {
  .sliding-doors__types-grid {
    gap: 3.8rem 2.5rem;
  }
  .portfolio-video__item-description {
    padding-right: 0;
  }
}

.fancybox-custom-video,
.fancybox-custom-video-iframe,
.fancybox-custom {
  z-index: 9999999999;
}

.portfolio-video__item-image:after {
  width: 6.4rem;
  height: 6.4rem;
  background: url(@img/icons/vk-play.svg) 50% / contain no-repeat;
}

@media (max-width: 767px) {
  .portfolio-video__item-image:after {
    width: 50px;
    height: 50px;
  }
}

.metaldlg-panel__head {
  margin-bottom: 2.5rem;
}

@media (max-width: 767px) {
  .metaldlg-panel__head {
    margin-bottom: 20px;
  }
}

.catalog-item__to-favorites.ws-waiting {
  position: absolute;
}

.catalog-item__to-favorites.ws-waiting:before {
  display: none;
}

.catalog-item__to-favorites.ws-waiting .ws-waiter {
  display: none;
}

.panels-list_empty {
  font-size: 1.8rem;
  font-weight: 600;
}

.panels-filter__section {
  position: relative;
}

.panels-filter__section sup {
  top: 0;
  width: 1.6rem;
  height: 1.1rem;
  background: url(/local/templates/ws-ad/assets/img/icons/calc-check-white.svg)
    50% / contain no-repeat;
  background: url(/local/templates/ws-ad/assets/img/icons/calc-check.svg) 50% /
    contain no-repeat;
  position: absolute;
  right: 1.2rem;
  top: 1.2rem;
}

.panels-filter__section sup span {
  display: none;
  font-size: unset;
  line-height: 1.2;
  vertical-align: unset;
  margin: 0;
}

.panels-filter__section.is--active sup {
  background: url(/local/templates/ws-ad/assets/img/icons/calc-check-white.svg)
    50% / contain no-repeat;
}

.panels-filter__section.section--fav sup {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 2px solid #b5191e;
  top: 1.1rem;
  right: 5.7rem;
  background: #b5191e;
  display: flex;
  justify-content: center;
  align-items: center;
}

.panels-filter__section.section--fav sup span {
  font-weight: 600;
  font-size: 1.4rem;
  color: #fff;
  display: block;
}

.panels-filter__section.section--fav.is--active sup {
  border-color: #fff;
  background: #b5191e;
}

.panels-filter__section.section--fav.is--active sup span {
  color: #fff;
}

@media (max-width: 767px) {
  .panels-filter__section sup {
    width: 14px;
    height: 9px;
    top: 10px;
    right: 10px;
  }
  .panels-filter__section.section--fav sup {
    width: 20px;
    height: 20px;
    top: 9px;
    right: calc(var(--indexSize) * 6.4);
  }
  .panels-filter__section.section--fav sup span {
    font-size: 12px;
  }
}

@media (max-width: 400px) {
  .panels-filter__section.section--fav sup {
    right: calc(var(--indexSize) * 4.7);
  }
}

@media (max-width: 360px) {
  .panels-filter__section.section--fav sup {
    right: calc(var(--indexSize) * 4.4);
  }
}

@media (max-width: 767px) {
  .collection-category__grid .swiper-slide:nth-of-type(3) img {
    object-position: 100% 50%;
  }
  .collection-category__grid .swiper-slide:nth-of-type(5) img {
    object-position: 82% 50%;
  }
  .collection-category__grid .swiper-slide:nth-of-type(6) img {
    object-position: 100% 50%;
  }
}

@media (max-width: 767px) {
  .interior-item .interior-item__image:after {
    display: none;
  }
  .card__area-mobile-text {
    width: 100%;
  }
  .card__color-item span {
    word-break: break-word;
  }
}

@media (min-width: 767px) {
  .gipermenu__col {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .header-mobile__menu-phone a {
    font-size: 19px;
  }
} */

@media (max-width: 767px) {
  .card__header-text {
    height: 118px;
    overflow-y: auto;
    -webkit-line-clamp: unset;
    -moz-line-clamp: unset;
    padding-right: 6px;
    margin-right: -6px;
  }
  .opening-systems-page .opening-options__item.is-hidden {
    display: flex;
  }
}

.catalog-promo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  justify-content: center;
  padding-left: 0.8rem;
}

.catalog-promo__item img {
  border-radius: 0.6rem;
}

@media (max-width: 767px) {
  .catalog__grid .catalog-item.catalog-promo {
    padding-top: 14px;
  }
}

.card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}


@media (max-width:767px){
   .catalog__footer{
    display: flex;
    margin-top: 30px;
   }
   .catalog__footer .catalog__pagination{
    display: none;
   }
}

.catalog__h1s, 
.interior-catalog__h1s {
  position: relative;
  margin-right: 2rem;
  flex-grow: 1;
  
}


.bx-search__form {
}
.bx-search.is--opened .bx-search__form {
  max-width: none;
  opacity: 1;
  overflow: visible;
}

.bx-search__open {
  cursor: pointer;
  position: absolute;
  padding-right: 6rem;
  top: 0;
  right: 0;
  font-size: 2rem;
   font-weight: 400;
}
.bx-search.is--opened .bx-search__open {
  display: none;
}
.bx-search__open span {
  display: block;
  line-height: 5.2rem;
}



.autocomplete-suggestions {
  overflow: auto;
  -webkit-box-shadow: 0px 16px 35px 0px #1F222917; 
  -moz-box-shadow: 0px 16px 35px 0px #1F222917;  
  box-shadow: 0px 16px 35px 0px #1F222917;
  border:0.5rem solid #F0F0F0; 
  border-radius:3rem;
  background-color: #fff;
  left: 0;
  right: 0;
  width: auto !important;
  margin-top: -0.5rem;
  padding: 3.8rem 4rem;
}
.autocomplete-suggestion {
  overflow: hidden;
  


}
.autocomplete-suggestion:first-child {
    border-top: none;
}
.autocomplete-suggestion .ws-sug-item{  border-top: 1px solid rgba(0, 0, 0, 0.1);}
.autocomplete-suggestion:first-child .ws-sug-item{  border-top: none;}



.bx-search {width: 100%; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: center; align-content: stretch; margin-bottom: 4.3rem;}
  .bx-search__title{flex-shrink: 0; white-space: nowrap; margin-right: 2rem;}
  .bx-search__form{flex-grow: 1; position: relative; }
    .bx-search__form input {width: 100%; display: block; border:0.5rem solid #F0F0F0; border-radius:5rem; height: 4.7rem;  line-height: calc(4.7rem - 10px); padding: 0 4.5rem 0 2.8rem; }
    .bx-search__form > button, .bx-search__open > button {background: transparent; border: none; cursor: pointer; padding: 0; margin: 0; position: absolute; width: 5.2rem; z-index: 99999; top: 0; bottom: 0; right: 0; }
  .bx-search button svg {position: absolute; height: 2rem; width: 2rem; top: 50%; left: 50%; margin-top: -1rem; margin-left: -1rem;}
    
 .ws-sug-item {text-decoration: none; padding: 2rem 3rem 2rem 0; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: stretch; align-items: center; align-content: flex-start; cursor: pointer;}
  .ws-sug-item__image {width: 35px; flex-shrink: 0; flex-grow: 0; padding-left: 3px;}
  .ws-sug-item__image i {display: block; background-repeat: no-repeat; background-position: 50% 50%; background-size: contain; padding: 118% 0; position: relative;}
  .ws-sug-item__image i.no-photo {background-color: #d2d2d2;}
  .ws-sug-item__image i:before{content: ''; display: block; position: absolute; border: 1px solid rgba(49, 54, 61, 0.2); border-radius: 4px; top: -3px; left: -3px; right: -3px; bottom: -3px;}
  .ws-sug-item__desc { margin: 0 5rem 0 3rem; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; align-content: stretch; width: 45%;}
    .ws-sug-item__name{font-size: 1.8rem; flex-grow: 1;}
    .ws-sug-item__price{font-size: 2rem; font-weight: 500; width: 110px; flex-shrink: 0;}

  .ws-sug-item__btn { display: flex; flex-direction: row-reverse; flex-wrap: nowrap; justify-content: flex-end; align-items: center; align-content: stretch;}
  .ws-sug-item__btn button{width: 50px;}
  .ws-sug-item__btn .catalog-item__to-favorites{position: relative; right: auto; top: auto; margin-right: 8rem;}
   

@media (max-width: 767px) {
  .autocomplete-suggestions {padding: 2rem 2rem;}
 .ws-sug-item {padding: 1.5rem 0 1.5rem 0; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: stretch; align-items: center; align-content: flex-start; cursor: pointer;}
  .ws-sug-item__desc { margin: 0 2rem 0 2rem;flex-wrap: wrap; justify-content: flex-start; align-items: stretch; align-content: stretch; width: 45%;}
    .ws-sug-item__name{font-size: 1.8rem; width: 100%; margin-bottom: 1rem;}
    .ws-sug-item__price{width: 100%; width: auto;}
  .ws-sug-item__btn button{width: 50px;}
  .ws-sug-item__btn .catalog-item__to-favorites{ margin-right: 2rem;}
}
@media (max-width: 600px) {
    .ws-sug-item__name{font-size: 1.6rem;}
    .ws-sug-item__price{font-size: 1.8rem;}
}
@media (max-width: 540px) {
.bx-search { flex-wrap: wrap;}
  .bx-search__title{flex-shrink: 0; white-space: nowrap; margin-right: 0; width: 100%; margin-bottom: 1rem;}
  .bx-search__form{flex-grow: 1; position: relative; width: 100%;}
}


@media (max-width:767px){
   .wrapper{
    opacity: 1;
    transition: none;
   }
}

.card__offer-title{
  text-align: center;
}

.cart__item-to-favorites{
  position: static !important;
}

@media (max-width:767px){
   .breadcrumbs__area li{
    flex: 0 0 auto;
   }
   .breadcrumbs__area ul{
    padding-bottom: 10px;
    margin-bottom: -10px;
   }
}