/*.catalog__divany--test .recommended-slider:hover {border-color: #fff !important}*/

.product__content-functional-costs-cost > span.detail-price-discount {font-size: 3.2rem;}
@media (max-width: 769px) {
.product__content-functional-costs-cost > span.detail-price-discount {font-size: 3.7rem;}
.product__slider-bottom {padding-bottom: 3.7rem;}
}

.category__content .recommended__items-wrap {width:100%;}
.category__content .recommended-slider {border: solid 1px #fff; padding: 15px;}
.category__content .recommended-slider:hover {border: solid 1px #dedede;}
.catalog__section--price {text-align: left; width: auto; display: inline-block; color: #d9b98d}

.header__bottom-favorite-btns-btn__value {border-radius: 50%;  background: #cfa870;  color: #ffffff;  position: absolute;  right: 0;  top: 0;  font-size: 1.2rem;  line-height: 0.1rem;  min-width: 1.2rem;  height: 1.2rem;  display: flex;  justify-content: center;  align-items: center;}

@media (max-width: 48em) {
.header__bottom-favorite-btns-btn__value {border-radius: 50%;  background: #cfa870;  color: #ffffff;  position: absolute;  right: 0;  top: 0;  font-size: 2rem;  line-height: 0.1rem;  min-width: 2rem;  height: 2rem;  display: flex;  justify-content: center;  align-items: center;}
}

@media (min-width: 1200px) {
.category__content .recommended-slider {width: 33%;margin-right: 0; }
.header__bottom-alles-btns-btn__value, .header__bottom-favorite-btns-btn__value  {font-size: 11px !important; line-height: 1px !important; min-width: 16px !important; height: 16px !important; right: -7px !important; top: -5px !important;}
}

@media (max-width: 767px) {
.category__content .recommended-slider {margin-right: 0; width: 50%; padding: 10px;}
}


.btn_callback {font-family: "Forum"; font-size: 2.5rem; line-height: 112%; color: #ffffff; padding: 2.45rem 11.05rem 2.45rem 7.15rem; padding-right: 11.05rem; padding-left: 7.15rem; background: #cfa870; border-radius: 4.3rem; position: relative; z-index: 2;}

.recommended-slider-hover {opacity:1 !important}
.recommended-slider .recommended-slider-hover .recommended-slider-hover-like {opacity: 0 !important}
.recommended-slider .recommended-slider-hover .recommended-slider-hover-icon {opacity: 0 !important}


.recommended-slider:hover .recommended-slider-hover .recommended-slider-hover-like {opacity: 1 !important}
.recommended-slider:hover .recommended-slider-hover .recommended-slider-hover-icon {opacity: 1 !important}

.recommended-slider .recommended-slider-hover .recommended-slider-hover-icon.active {opacity: 1 !important}
.recommended-slider .recommended-slider-hover .recommended-slider-hover-like.active {opacity: 1 !important}

.recommended-slider-hover-like::after {background-image: url('/local/templates/idealbeds/img/icon/like-system-white.svg') !important;}
.recommended-slider-hover-like.active::after {background-image: url('/local/templates/idealbeds/img/icon/like-system.svg') !important;}

.product__like-btn.like.active svg rect {
	fill: #fff !important;
}

.product__like-btn.like.active svg path {
	fill: #cfa870 !important;
	stroke: #cfa870  !important;
}



.ratings__item--overlay {position: fixed; top: 0; left: 0; align-items: center; justify-content: center; z-index: 991; width: 100%; height: 100vh; padding: 17px 0px; background-color: rgba(0, 0, 0, 0.7); display: none; overflow-y: auto;}

.ratings__item--content {width: 100%; max-width: 480px; min-height: 320px; border-radius: 27px; background: #fff; position: relative; z-index: 992; padding: 37px 30px 10px 30px; margin: auto 15px; line-height: 120% !important}
.ratings__item--content .h1 {padding: 0px 30px 0px 30px !important; margin: 0 0 20px 0; font-size: 18px; text-align: center; line-height: 120% !important}
.ratings__item--content .h1 .ratings__item--name {font-weight: bold; display: block; line-height: 120% !important}
.ratings__item--content .catalog-detail {display: none;}
.ratings__item--content .ratings__item--text .ratings__item--text-bold {font-size: 18px; display: block; text-align: center; font-weight: bold; padding-bottom: 17px;}

@media (max-height: 419px) {
.ratings__item--overlay {align-items: flex-start;}
}

@media (max-width: 520px) {
.ratings__item--content {max-width: calc(100% - 30px);}
.ratings__item--content .h1 {padding: 0px 15px 0px 15px !important;}
}

.ratings__item--content .catalog-detail-desc {width: 100%; padding: 0px 0px 30px 0px;}
.ratings__item--icon {width: 77px; height: 77px; margin: 30px auto 27px auto; border: solid 2px #778899; border-radius: 50%;}

/*.ratings__item--icon.ratings__exist {background: url('/local/templates/idealbeds/img/ratings_attention.svg') center 11px no-repeat; background-size: 48px 48px; border: solid 2px #676767;}*/
.ratings__item--icon.ratings__exist {background: url('/local/templates/idealbeds/img/logo.png') center 25px no-repeat; background-size: 56px auto; border: solid 2px #CFA870;}
.ratings__item--icon.ratings__error {background: url('/local/templates/idealbeds/img/ratings_error.svg') center center no-repeat; background-size: 48px 48px; border: solid 2px red;}
.ratings__item--icon.ratings__success {background: url('/local/templates/idealbeds/img/ratings_success.svg') center center no-repeat; background-size: 87px 87px; border: solid 2px #1bbd36;}

.close__ratings--item {position: absolute; top: 15px; right: 15px; width: 32px; height: 32px; cursor: pointer; z-index: 2;}
.close__ratings--item:before, .close__ratings--item:after {content: ""; position: absolute; top: 15px; right: 0px; width: 32px; height: 1px; background: #343434;}
.close__ratings--item:before {webkit-transform: rotate(45deg); transform: rotate(45deg); }
.close__ratings--item:after {webkit-transform: rotate(-45deg); transform: rotate(-45deg); }

.loading__ratings--item {position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 100%;  display: flex; align-items: center; justify-content: center;}
.loading__ratings--item img {width: 57px; height: 57px;}

.with__rating--img {position: relative;}



.catalog__artnumber--rating {background: url('/local/templates/idealbeds/img/star_bg_1.png')  8px center no-repeat #fff; position: absolute; z-index: 1; bottom: -40px; right: 0px;  padding: 2px 5px 3px 27px; height: fit-content; display: flex; align-items: center; justify-content: right;  margin-bottom: 10px; border-radius: 17px; border: solid 0px #dedede; background-size: 15px 15px;}
.catalog__rating--inner {display: none; }
.catalog__rating--overlay {display: none; background: transparent; z-index: 2; position: absolute; top: 0; left: 0; width: 100%; height: 100%;}


@media (min-width: 1025px) {
.catalog__artnumber--rating:hover {background: #fff; min-width: 147px;}
.catalog__artnumber--rating:hover .catalog__rating--inner {display: block;}
}

@media (max-width: 1199px) {
.catalog__artnumber--rating {bottom: -36px}
}


@media (max-width: 1024px) {
.catalog__rating--overlay {display: block;}
.catalog__artnumber--rating.active_hover {background: #fff; padding-left: 7px; min-width: 147px;}
.catalog__artnumber--rating.active_hover .catalog__rating--inner {display: block;}
}


.catalog__artnumber--rating .catalog__rating--average {font-size: 13px; color: #777; display: flex; height: 20px; align-items: center; margin-top: 1px;}
.catalog__artnumber--rating .catalog__rating--average .rating__item--value {margin-right: 3px}

.catalog__rating--block {height: 20px; margin: 0px 0px 0px 3px; display: flex; align-items: center; justify-content: right;}
.catalog__rating--inner {width: 87px; height: 20px; margin-right: 5px; position: relative;}
.catalog__rating--white {position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; background: #fff;}
.catalog__rating--value {position: absolute; top: 0; left: 0; width: 0%; width: 0%; height: 100%; z-index: 1; background: #CFA870;}
.catalog__rating--stars {height: 20px; width: 87px;  background: url('/local/templates/idealbeds/img/stars_rating_section.png') top left no-repeat; background-size: auto 20px; position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: left;} 
.catalog__rating--star {cursor:pointer; width: 20%; height: 20px; background: transparent;}

.rating__item--value {color: #343434; font-size: 15px; font-weight: bold;}
.new__sticker--block {top: 17px !important; right: 7px !important}
.descriptors__sticker--block {right: 7px !important; top: 17px !important;}
.descriptors__sticker--block-after-discount {top: 49px !important;}

.items__list--price-with-discount {white-space: nowrap;}
.items__list--price-with-discount .discount__price--block {bottom: auto; top: 0; left: 0rem; position: relative; margin: 0; padding: 0; font-size: 2rem  !important;}

/*.items__list--price-with-discount .discount__price--block {top: auto; bottom: calc(100% - 2.7rem); font-size: 2rem  !important; padding-left: 7.7rem; width: 100%; left: 15.7rem}*/
.items__list--price.items__list--price-with-discount {padding-bottom: 17px;}



.with__rating--img .in_stock_nameplate {position: absolute;z-index: 10; left: 0; top: calc(100% - 4rem); margin-right: 2.6rem;padding: 0.9rem 1.2rem;cursor: pointer;font-size: 1.6rem;line-height: 115%;text-align: center;border-radius: 2rem;border: 1px solid rgb(207, 168, 112);max-width: 170px}
.catalog__item--discount {position: absolute; top: 49px; right: 0; min-width: 47px; text-align: center; width: auto; max-width: 77px; z-index: 1; background: rgba(237, 28, 36, 1); font-size: 1.8rem; padding: 6px 10px;  border-radius: 7px; color: #fff; line-height: 100%;}
.loadind__frame--block {display: block; width: 67px; height: 32px; position: absolute; top: -2px; left: -20px; z-index: 2; background: #fff; border-radius: 17px;}

.rating__element--block {position: relative; width: 127px; height: 47px; margin: auto; border: solid 1px #dedede; border-radius: 5px;}
.catalog__artnumber--rating-element {top: 7px; right: 7px;}

.form__products--block .need__product--disabled {opacity: 0.7; background: #eee !important; padding: 7px !important}
.form__products--block .modal__content label input {width: 100% !important; color: #000 !important}
.razmery__ot--block.mobile__block--sizes  {padding-top: 7px;}



.razmery__ot--block {padding: 0px 0px 17px 0px; font-size: 14px; color: #C4C4C4; line-height: 120%;}
.recommended-slider-name.with__sizes--block {position: relative;}

.razmery__ot--block.mobile__block--sizes {display: none;}


@media (max-width: 1280px) {
.razmery__ot--block {font-size: 12px;}
.items__list--price-with-discount .discount__price--block {position: absolute; bottom: auto; top: calc(100% - 2.7rem) !important; left: 0rem; font-size: 1.7rem !important; padding-left: 7.7rem !important; width: 100%;}
}

@media (max-width: 991px) {
.razmery__ot--block {font-size: 2rem;}
.razmery__ot--block.mobile__block--sizes {display: block;}
.desktop__block--sizes {display: none;}
}

@media (max-width: 769px) {
.recommended-slider-name.with__sizes--block {padding-bottom: 2rem;}
.razmery__ot--block {font-size: 2rem; padding-left: 1rem; padding-right: 1rem; text-align: center; margin: auto;}
}


@media (min-width: 769px) {
.form__products--block .modal__inner {max-width: 480px;}
.form__products--block .modal__content-text {margin-bottom: 20px;}
.form__products--block .modal__content {max-width: 480px;}
.form__products--block .modal__content form {flex-wrap: wrap}
.form__products--block .modal__content label {width: 100% !important; margin-left: 0 !important; margin-bottom: 17px;}
.form__products--block .modal__content label input {width: 100% !important; color: #000 !important}
.form__products--block .modal__content label span {display: block}
.form__products--block .modal__content button {width: 100% !important; margin-top: 17px;}
}

@media (max-width: 991px) {
.ratings__item--content .h1 {font-size: 16px;}
.ratings__item--content .ratings__item--text .ratings__item--text-bold {font-size: 16px;}
.ratings__item--content .catalog-detail-desc {font-size: 13px; line-height: 120%}

.rating__item--value {font-size: 13px;}
.catalog__artnumber--rating .catalog__rating--average {font-size: 11px;}
.catalog__artnumber--rating {bottom: -32px}

}

@media (max-width: 769px) {
.new__sticker--block {top: 1rem !important;}
.descriptors__sticker--block {top: 1rem !important;}
.catalog__item--discount {top: 1rem; right: 0; padding: 7px 10px;}
.descriptors__sticker--block-after-discount {top: 5.7rem !important;}
.catalog__artnumber--rating {bottom: -27px}

.items__list--price-with-discount .discount__price--block {position: absolute; top: calc(100% - 1.7rem) !important; left: 0rem; font-size: 2.2rem !important; padding-left: 7.8rem !important;}
.grecaptcha-badge {display: none !important;}
}

@media (max-width: 569px) {
.items__list--price.items__list--price-with-discount {padding-bottom: 12px;}
}

@media (max-width: 420px) {
.new__sticker--block {top: 1.7rem !important;}
.descriptors__sticker--block {top: 1.7rem !important;}
.catalog__item--discount {top: 1.7rem;}
.descriptors__sticker--block-after-discount {top: 7.2rem !important;}
.razmery__ot--block {font-size: 1.7rem; }
}


.catalog__divany--test .recommended-slider .recommended-slider-name {font-size: 2rem;}


@media (max-width: 520px) {
/*.items__with--ratings .recommended-slider {width: calc(100% - 7rem); max-width: calc(100% - 7rem); min-width: calc(100% - 7rem); margin-left: 3rem; border: solid 1px #eee; border-radius: 4rem;}*/
.catalog__rating--average {padding-top: 3px;}
/*.recommended-slider-img.with__rating--img {height: 67vw; margin-bottom: 0.8vw}*/
.items__with--ratings  .recommended__cpc .recommended-slider-name {min-height: 0rem; padding-bottom: 0; margin-bottom: 0;}

/*.items__with--ratings .recommended-slider-bottom-btns {position: relative; min-height: 13.073vw; margin-top: 1.7vw}
.items__with--ratings .recommended-slider-bottom-btns a.product__content-functional-btns-l {position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%); white-space: nowrap;}
.items__with--ratings .recommended-slider-bottom-btns .basket_button {position: absolute !important; top: 50%; right: 0; z-index: 1; transform: translateY(-50%)}
*/
}


@media (max-width: 520px) {
.catalog__divany--test .recommended-slider .recommended-slider-name {font-size: 3.7vw; min-height: 0%;}
.catalog__divany--test .recommended-slider:hover {border-color: #fff !important}
.catalog__divany--test .recommended-slider {width: calc(100% - 7rem); max-width: calc(100% - 7rem); min-width: calc(100% - 7rem); margin-left: 3rem; border: solid 1px #fff; border-radius: 4rem;}
.catalog__divany--test .recommended__cpc .recommended-slider-name {min-height: 0rem; padding-bottom: 0; margin-bottom: 0;}
.catalog__divany--test .recommended-slider-bottom-btns {position: relative; min-height: 13.073vw; margin-top: 1.7vw}
.catalog__divany--test .recommended-slider-bottom-btns a.product__content-functional-btns-l {position: absolute; top: 50%; left: 50%; z-index: 1; transform: translate(-50%, -50%); white-space: nowrap;}
.catalog__divany--test .recommended-slider-bottom-btns .basket_button {position: absolute !important; top: 50%; right: 0; z-index: 1; transform: translateY(-50%)}
}



@media (max-width: 520px) {
.modified__page--section2 .recommended-slider-colors {max-width: 70% !important; margin-left: auto; margin-right: auto;}
.modified__page--section2 .recommended-slider-colors-col {width: 2.27vw  !important; height: 2.27vw  !important; margin-right: 0.57vw !important;}
}


@media (min-width: 420px) and (max-width: 520px) {
.modified__page--section2 .recommended-slider-img {max-width: 176px  !important; max-height: 176px  !important; width: 176px !important; height: 176px !important}
}

@media (max-width: 420px) {
.modified__page--section2 .recommended-slider-img {max-width: 100%  !important; max-height: 42%  !important; width: 100% !important; height: 42% !important;}
}