@media (max-width: 419px) {
  .header__logo .mobile-logo {
    width: 145px;
    height: 36px;
  }

  .header__mobile-actions {
    gap: 5px;
  }
}

@media (max-width: 359px) {
  .header__logo .mobile-logo {
    overflow: hidden;
    width: 113px;
    height: 28px;
  }
}

.form-input.-price-range::before {
  content: "руб.";
  position: absolute;
  display: block;
  bottom: 8px;
  right: 3px;
  font-size: 16px;
  line-height: 24px;
  font-family: "Gilroy", sans-serif;
}

.form-input.-price-range::after {
  display: none;
}

.form-input.-price-range input {
  padding-right: 35px;
}

.form-input.-price-range input[type="number"] {
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
  appearance: textfield;
}

.form-input.-price-range input[type="number"]::-webkit-outer-spin-button,
.form-input.-price-range input[type="number"]::-webkit-inner-spin-button {
  display: none;
}

.about h6 {
  line-height: 26px;
  font-size: 17px;
  letter-spacing: 1.6px;
}

.price__calculator {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.price__calculator-top {
  display: flex;
  align-items: center;
  column-gap: 10px;
}

.price__calculator-input__wrap {
  display: flex;
}

.price__calculator-input__wrap button {
  display: none;
}

.price__calculator-top .price__calculator-input__wrap {
  position: relative;
  width: calc(50% - 12px);
}

.price__calculator-top .price__calculator-input__wrap > span {
  font-size: 12px;
  position: absolute;
  bottom: calc(100% + 5px);
}

.price__calculator > .price__calculator-input__wrap {
  align-items: center;
  column-gap: 20px;
}

.price__calculator > .price__calculator-input__wrap > span {
  font-size: 20px;
}

.price__calculator-input__wrap > input {
  padding: 0 7px 0 7px;
  width: 100%;
  height: 46px;
  font-size: 21px;
  font-weight: 500;
  text-align: center;
  border: solid 1px #ccc;
  border-radius: 3px;
}

.icon-crose {
  min-width: 14px;
  height: 14px;
}

.price__one {
  width: 100%;
  margin: 20px 0 10px;
  padding: 10px 0;
  color: #939393;
  font-weight: 600;
  border-top: 1px solid #e6e6e6;
  border-bottom: 1px solid #e6e6e6;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price__sum {
  display: flex;
  flex-wrap: wrap;
  row-gap: 5px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 30px;
}

.price__sum > span {
  font-size: 18px;
  font-weight: 700;
}

.price__sum > div {
  color: #43b569;
  font-weight: bold;
  font-size: 24px;
}

.price__buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  row-gap: 12px;
}

.price__buttons-top {
  display: flex;
  column-gap: 12px;
}

.price__buttons-top > .button {
  padding: 17px 5px;
  width: 50%;
}

.partners__grid .owl-stage {
  display: flex;
  align-items: center;
}

.partners__grid .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners__grid.owl-carousel .owl-item img {
  width: auto;
}

.detail-list-item.sku {
  margin-bottom: 18px;
}

@media screen and (max-width: 1023px) {
  .price__calculator {
    width: 100%;
  }
}

@media screen and (max-width: 767px) {
  .price__buttons-top {
    flex-direction: column;
    row-gap: 12px;
  }
  .price__buttons-top > .button {
    width: 100%;
  }
  .partners__grid .owl-item {
    padding: 0 5px;
  }
  .partners__grid.owl-carousel .owl-item img {
    width: 100%;
    height: auto;
  }
}

.partners__grid .owl-stage {
  display: flex;
  align-items: center;
}

.partners__grid .owl-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.partners__grid.owl-carousel .owl-item img {
  width: auto;
}

.portfolio-preview .container {
  position: relative;
}

.portfolio-preview__grid,
.portfolio-preview__grid .owl-stage,
.portfolio-preview__grid .owl-item {
  display: flex;
}

.portfolio-preview__grid .owl-nav {
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 120px;
}

.portfolio-preview__grid .owl-nav button span {
  font-size: 0;
}

.portfolio-slider-counter {
  display: none;
  position: absolute;
  width: 120px;
  left: calc(50% - 60px);
  bottom: 4px;
  text-align: center;
  font-size: 20px;
  line-height: 32px;
}

.portfolio-slider-counter span {
  color: #f6ce45;
}

.portfolio-preview__item {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.portfolio-preview__item .cover {
  flex-shrink: 0;
  width: 100%;
  height: 170px;
  background-color: #cdccbf;
}

.portfolio-preview__item .cover::before {
  display: none;
}

.portfolio-preview__item .cover::after {
  opacity: 0;
  background: none;
  transition: opacity 0.5s ease;
}

.portfolio-preview__item:hover .cover::after {
  opacity: 1;
  background: linear-gradient(
    180deg,
    rgba(246, 206, 69, 0) 50%,
    rgba(246, 206, 69, 0.5)
  );
}

.portfolio-preview__item .description {
  flex-grow: 1;
  width: 100%;
  margin: 0;
  padding: 25px 20px;
  box-shadow: none;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.portfolio-preview__grid .portfolio-preview__item .description p {
  margin: 0;
  font-size: 14px;
  line-height: 17px;
}

.portfolio-preview__grid .portfolio-preview__item .description h4 {
  margin: 0;
  font-family: Gilroy, sans-serif;
  font-weight: 600;
  font-size: 17px;
  line-height: 26px;
}

@media screen and (max-width: 576px) {
  .portfolio-slider-counter {
    display: block;
  }

  .portfolio-preview__item .description p {
    font-size: 12px;
    line-height: 12px;
  }

  .portfolio-preview__item .description h4 {
    font-size: 13px;
    line-height: 20px;
  }
}

.portfolio-preview__modal-backdrop {
  position: fixed;
  z-index: 1050;
  top: 0;
  left: 0;
  display: none;
  width: 100%;
  height: 100%;
  background-color: rgba(17, 34, 52, 0.15);
  -webkit-transition: background-color 0.15s ease;
  -moz-transition: background-color 0.15s ease;
  -ms-transition: background-color 0.15s ease;
  -o-transition: background-color 0.15s ease;
  transition: background-color 0.15s ease;
}

.portfolio-preview__modal-backdrop.-active {
  display: flex;
  background-color: rgba(17, 34, 52, 0.5);
}

.portfolio-preview__modal-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.portfolio-preview__modal {
  position: relative;
  background: #ffffff;
  padding: 40px;
  max-width: 885px;
  width: 95%;
  max-height: 100%;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}

.portfolio-preview__modal img {
  max-width: 425px;
  width: 100%;
}

.portfolio-preview__modal .close {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 17px;
  background: none;
  border: none;
}

.portfolio-preview__modal-info {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 80px);
}

.portfolio-preview__modal-header {
  flex-grow: 0;
  margin-bottom: 20px;
}

.portfolio-preview__modal-title {
  color: #112234;
  font-family: Montserrat, sans-serif;
  font-weight: 800;
  font-size: 32px;
  line-height: 44px;
  margin-bottom: 10px;
}

.portfolio-preview__modal-subtitle {
  color: #232524;
  font-size: 17px;
  line-height: 26px;
  margin: 0;
}

.portfolio-preview__modal-content-wrap {
  flex-grow: 1;
  overflow: auto;
}

.portfolio-preview__modal-content {
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 398px 1fr;
  width: 100%;
}

.portfolio-preview__modal-image {
  grid-row-start: 1;
  grid-row-end: 3;
  grid-column-start: 1;
  grid-column-end: 2;
  margin-right: 30px;
}

.portfolio-preview__modal-image img {
  min-height: 545px;
  max-height: 100%;
  object-fit: cover;
}

.portfolio-preview__modal-description {
  grid-row-start: 1;
  grid-row-end: 2;
  grid-column-start: 2;
  grid-column-end: 3;
  margin-bottom: 30px;
}

.portfolio-preview__modal-description a {
  display: inline-block;
  color: #f6ce45;
  font-size: 24px;
  line-height: 36px;
  font-weight: 500;
  letter-spacing: 0.07em;
  margin-bottom: 10px;
  text-decoration: underline;
}

.portfolio-preview__modal-description a:last-child {
  margin: 0;
}

.portfolio-preview__modal-description p {
  margin: 0;
  font-size: 17px;
  line-height: 26px;
}

.portfolio-preview__modal-description ul {
  margin: 0;
  padding-left: 30px;
}

.portfolio-preview__modal-description li {
  font-size: 17px;
  line-height: 26px;
}

.portfolio-preview__modal-gallery-wrap {
  overflow: hidden;
  grid-row-start: 2;
  grid-row-end: 3;
  grid-column-start: 2;
  grid-column-end: 3;
}

.portfolio-preview__modal-gallery {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -10px -10px 0;
}

.portfolio-preview__modal-gallery-mobile {
  display: none;
}

.portfolio-preview__modal-gallery-item {
  cursor: pointer;
  position: relative;
  width: calc(100% / 3 - 10px);
  margin: 0 10px 10px 0;
}

.portfolio-preview__modal-gallery-item:after,
.portfolio-preview__modal-gallery-mobile-item:after {
  content: "";
  position: absolute;
  display: none;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 4px solid #f6ce45;
}

.portfolio-preview__modal-gallery-item.-active:after,
.portfolio-preview__modal-gallery-mobile-item.is-active:after {
  display: block;
}

.portfolio-preview__modal-gallery-item img,
.portfolio-preview__modal-gallery-mobile-item img {
  height: 106px;
  object-fit: cover;
}

.portfolio-preview__modal-gallery-mobile-item {
  overflow: hidden;
}

.portfolio-preview__modal-gallery-mobile
  > .splide__track--nav
  > .splide__list
  > .splide__slide {
  border: none;
}

@media screen and (max-width: 767px) {
  .portfolio-preview__modal-content {
    grid-template-columns: 270px 1fr;
  }

  .portfolio-preview__modal {
    padding: 40px 20px 20px;
  }

  .portfolio-preview__modal-title {
    font-size: 26px;
    line-height: 34px;
    margin: 0;
  }

  .portfolio-preview__modal-subtitle {
    font-size: 13px;
    line-height: 20px;
  }

  .portfolio-preview__modal-image {
    margin-right: 20px;
  }

  .portfolio-preview__modal-image img {
    min-height: 370px;
  }

  .portfolio-preview__modal-description {
    margin-bottom: 20px;
  }

  .portfolio-preview__modal-description a {
    font-size: 20px;
    line-height: 32px;
    margin-bottom: 5px;
  }

  .portfolio-preview__modal-description p,
  .portfolio-preview__modal-description li {
    font-size: 13px;
    line-height: 20px;
  }
}

@media screen and (max-width: 575px) {
  .portfolio-preview__modal-content {
    grid-template-columns: 1fr 150px;
  }

  .portfolio-preview__modal-image {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 1;
    grid-column-end: 2;
    margin-right: 0;
  }

  .portfolio-preview__modal-image img {
    min-height: auto;
    height: 390px;
  }

  .portfolio-preview__modal-description {
    grid-row-start: 2;
    grid-row-end: 3;
    grid-column-start: 1;
    grid-column-end: 3;
    margin: 10px 0 0;
  }

  .portfolio-preview__modal-gallery-wrap {
    grid-row-start: 1;
    grid-row-end: 2;
    grid-column-start: 2;
    grid-column-end: 3;
    margin-left: 20px;
  }

  .portfolio-preview__modal-gallery {
    display: none;
  }

  .portfolio-preview__modal-gallery-mobile {
    display: block;
  }

  .portfolio-preview__modal-gallery-item {
    width: 100%;
  }

  .portfolio-preview__modal-gallery-item img,
  .portfolio-preview__modal-gallery-mobile-item img {
    height: 90px;
  }
}

@media screen and (max-width: 479px) {
  .portfolio-preview__modal-content {
    grid-template-columns: 1fr 100px;
  }

  .portfolio-preview__modal-image img {
    height: 310px;
  }

  .portfolio-preview__modal-gallery-item img,
  .portfolio-preview__modal-gallery-mobile-item img {
    height: 70px;
  }
}

@media screen and (max-width: 359px) {
  .portfolio-preview__modal-content {
    display: flex;
    flex-direction: column;
  }

  .portfolio-preview__modal-image {
    order: 1;
    margin-bottom: 10px;
  }

  .portfolio-preview__modal-description {
    order: 3;
    margin-top: 10px;
  }

  .portfolio-preview__modal-gallery-wrap {
    order: 2;
    margin: 0;
  }

  .portfolio-preview__modal-gallery-item {
    width: calc(100% / 3 - 10px);
  }
}

/* 27.06.23 */
body .quiz-content {
  z-index: 20;
}

body .catalog-item__description a.catalog-item__heading {
  top: 20px;
  left: 10px;
  width: calc(100% - 20px);
}

body .catalog-item__description .catalog-item__heading-spacer {
  top: auto;
  left: auto;
  width: 100%;
}

body .breadcrumbs {
  user-select: none;
}

.breadcrumbs .breadcrumbs__row a {
  display: flex;
  align-items: center;
}

.breadcrumbs .breadcrumbs__row a,
.breadcrumbs .breadcrumbs__row a::after {
  color: #000000;
}

.breadcrumbs .breadcrumbs__row a:hover {
  color: #b9aa81;
}

.breadcrumbs .breadcrumbs__row a:hover::after {
  color: #000000;
}

@media screen and (max-width: 1023px) {
  .promo .slider-right .slider-right__item .inner {
    padding: 10px 20px;
  }

  .promo .slider-right .slider-right__item .pod-description {
    top: 10px;
  }

  .promo .slider-right .slider-right__item .price {
    top: auto;
    bottom: 5px;
    margin-bottom: 0;
  }

  body .tile-block {
    padding: 30px 40px;
  }

  body .catalog-item__description {
    padding: 20px 4px;
    margin: 0;
  }

  body .catalog-item__description a.catalog-item__heading {
    left: 4px;
    width: calc(100% - 8px);
  }
}

@media screen and (max-width: 767px) {
  body .quiz-content {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 480px) {
  body .tile-block {
    padding: 30px 10px;
  }
}

.button--block_red {
  background: #912429;
}

.custom-apply-button {
  position: absolute;
  right: 0;
  top: 0;
  font-size: 12px;
  padding: 10px 14px 10px 14px;
}

.custom-apply-container-button {
  position: absolute;
  right: 25px;
  top: 13px;
  display: none;
  font-size: 11px;
  padding: 10px 14px 10px 14px;
}

.catalog-filters__list-item {
  position: relative;
}

.catalog-filters__list-item
  [aria-expanded="false"]
  ~ .custom-apply-container-button,
.catalog-filters__list-item
  a:not([aria-expanded])
  ~ .custom-apply-container-button {
  display: block;
}

.catalog-tags_container {
  position: relative;
  max-height: 100px;
  overflow: hidden;
}

.catalog-tags_gradient {
  position: absolute;
  cursor: pointer;
  left: 0;
  right: 0;
  bottom: 0;
  top: 40px;
  width: 100%;
  background: rgb(255, 255, 255);
  background: linear-gradient(
    0deg,
    rgba(255, 255, 255, 1) 0%,
    rgba(253, 187, 45, 0) 100%
  );
}

@media (max-width: 1023px) {
  .catalog-tags_container {
    max-height: 60px;
  }

  .catalog-tags_gradient {
    top: 30px;
  }
}

@media screen and (max-width: 767px) {
  .button-back {
    display: flex;
  }
}

.tab-nav__item {
  text-decoration: none;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0.055em;
}

body .promo .slider-right__item .button {
    padding: 17px 5px;
    text-align: center;
    white-space: nowrap;
}

body .catalog-item, body .catalog-item__description, body .catalog-item__description-bottom {
    display: flex;
    flex-direction: column;
}

body .catalog-item, body .catalog-item__description-bottom {
    width: 100%;
}

body .catalog-item__description {
    width: calc(100% - 40px);
}

body .catalog-item__description, body .catalog-item__description-bottom {
    flex-grow: 1;
}

body .catalog-item__description-bottom {
    justify-content: flex-end;
}

@media (max-width: 1199px) {
    body .catalog-item__description {
        width: 100%;
        margin: 0;
    }
}

/* Carpet */

.carpet {
  background: #F6F4F4;
}

.carpet-banner {
  padding: 20px 0 140px;
  display: flex;
  flex-direction: column;
  row-gap: 40px;
  position: relative;
  z-index: 1;
}

.carpet .breadcrumbs .breadcrumbs__row a,
.carpet .breadcrumbs .breadcrumbs__row a::after {
  color: #FFFFFF;
}

.carpet-banner__images {
  position: absolute;
  z-index: -1;
  width: 100%;
  height: calc(100% + 20px);
  display: flex;
  align-items: flex-end;
  top: -20px;
}

.carpet-banner__images .container {
  display: flex;
  justify-content: flex-end;
}

.carpet-banner__image.banner-bg {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.carpet-banner__image.mobile {
  display: none;
}

.carpet-banner__content {
  max-width: 760px;
  display: flex;
  flex-direction: column;
}

.carpet-banner__content .h1 {
  color: #FFFFFF;
  margin: 0 0 30px;
}

.carpet-banner__content span {
  font-size: 25px;
  font-style: normal;
  font-weight: 900;
  line-height: 34px;
  letter-spacing: 1.75px;
  text-transform: uppercase;
  color: #F6CE45;
  margin: 0 0 60px
}

.carpet-banner__content .button.button--yellow {
  width: max-content;
  background: #F6CE45;
  color: #112234;
}

.carpet-banner__content .button.button--yellow:hover {
  color: #FFFFFF;
}

.carpet-about {
  padding: 80px 0 0;
  font-family: "Greycliff CF", sans-serif;
  overflow: hidden;
}

.carpet-about__wrapper {
  padding: 0 0 80px;
  border-bottom: 2px solid #D9D9D9;
  display: flex;
  justify-content: space-between;
  column-gap: 30px;
}

.carpet-about__content {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  max-width: 700px;
}

.carpet-about__head {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.carpet-about__head .h5 {
  margin: 0;
  max-width: 629px;
}

.carpet-about__body {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.carpet-about__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.carpet-about__tag {
  color: #112234;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  padding: 10px 16px;
  border-radius: 22px;
  background: #F6CE45;
}

.carpet-about__description {
  color: #112234;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.carpet-about-promotion {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  padding-right: 60px;
}

.carpet-about-promotion__content {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.carpet-about-promotion__price {
  color: #FFFFFF;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
  border-radius: 22px;
  background: #112234;
  padding: 15px 16px;
}

.carpet-about-promotion__description {
  color: #112234;
  font-size: 22px;
  font-style: normal;
  font-weight: 400;
  line-height: 130%;
}

.carpet-about-promotion__image {
  position: absolute;
  z-index: -1;
  right: -80px;
  top: -180px;
}

.carpet-about-promotion__image.mobile {
  display: none;
}

.carpet-description {
  padding: 80px 0 0;
}

.carpet-description__wrapper {
  padding: 0 0 80px;
  border-bottom: 2px solid #D9D9D9;
}

.carpet-description-block {
  border-radius: 40px;
  background: #112234;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  row-gap: 30px;
}

.carpet-description-block.mobile {
  display: none;
}

.carpet-description__wrapper .h2 {
  color: #FFFFFF;
  font-size: 32px;
  font-style: normal;
  font-weight: 800;
  line-height: 44px;
}

.carpet-description__wrapper p {
  margin: 0;
  color: #FFFFFF;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
}

.carpet-description__wrapper p span {
  color: #F6CE45;
}

.carpet-offer {
  padding: 80px 0 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.carpet-offer__image.desktop {
  position: absolute;
  z-index: -1;
  top: -150px;
  left: calc(50% - 85px);
}

.carpet-offer__image-wrapper {
  display: none;
}

.carpet-offer__image.mobile {
  display: none;
}

.carpet-offer__wrapper {
  padding: 0 0 80px;
  border-bottom: 2px solid #D9D9D9;
  display: flex;
  flex-direction: column;
  row-gap: 60px;
}

.carpet-offer__list {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  max-width: 900px;
  font-family: "Greycliff CF", sans-serif;
}

.carpet-offer__item {
  margin: 0;
}

.carpet-offer__item span {
  color: #112234;
  font-size: 32px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.carpet-chemistry {
  padding: 80px 0;
}

.carpet-chemistry__wrapper {
  display: flex;
  justify-content: flex-end;
  border-radius: 40px;
  background: #159947;
  padding: 40px;
  position: relative;
}

.carpet-chemistry__image {
  position: absolute;
  left: 40px;
  bottom: 50%;
  transform: translateY(calc(50% - 10px));
}

.carpet-chemistry__content {
  display: flex;
  flex-direction: column;
  row-gap: 30px;
  max-width: 870px;
}

.carpet-chemistry__content .h2 {
  color: #FFFFFF;
}

.carpet-chemistry__description {
  color: #FFFFFF;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 36px;
  letter-spacing: 1.68px;
  margin: 0;
}

.carpet-license {
  padding: 80px 0;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.carpet-license-image {
  position: absolute;
  z-index: -1;
  top: 65px;
  left: calc(50% + 150px);
}

.carpet-license-image__background {
  position: absolute;
  z-index: -1;
  width: 100vw;
  height: 432px;
  background: #112234;
  left: 30px;
  top: 18px;
}

.carpet-license .container {
  display: flex;
  flex-direction: column;
  row-gap: 20px;
}

.carpet-license__description {
  display: flex;
  flex-direction: column;
  row-gap: 60px;
  max-width: 630px;
}

.carpet-license__description p:first-child {
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 36px;
  letter-spacing: 1.68px;
  color: #112234;
  margin: 0;
}

.carpet-license__description p:last-child {
  margin: 0;
  color: #112234;
  font-family: Greycliff CF, sans-serif;
  font-size: 22px;
  font-style: normal;
  font-weight: 500;
  line-height: 130%;
}

.carpet-license__description p:last-child a {
  text-decoration-line: underline;
}

@media screen and (max-width: 1439px) {
  .carpet-about__content {
    max-width: 600px;
  }

  .carpet-about__tag {
    font-size: 26px;
  }

  .carpet-about-promotion__price {
    font-size: 26px;
    text-align: center;
  }

  .carpet-about-promotion__image {
    width: 575px;
    top: -110px;
    right: -55px;
  }

  .carpet-about__description {
    font-size: 20px;
  }

  .carpet-chemistry__content {
    max-width: 600px;
  }
}

@media screen and (max-width: 1023px) {
  .carpet-banner {
    padding: 20px 0 0;
    row-gap: unset;
  }

  .carpet-banner__images {
    position: relative;
    top: unset;
  }

  .carpet-banner__images .container {
    padding: 0 58px 0 20px;
    justify-content: center;
  }

  .carpet .breadcrumbs .breadcrumbs__row a,
  .carpet .breadcrumbs .breadcrumbs__row a::after {
    color: #000000;
  }

  .carpet-banner__image.banner-bg {
    display: flex;
    height: auto;
    max-height: calc(100% - 30px);
    top: unset;
    bottom: 0;
  }

  .carpet-banner__image.desktop {
    display: none;
  }

  .carpet-banner__image.mobile {
    display: flex;
  }

  .carpet-banner > .container {
    background: #FFFFFF;
  }

  .carpet-banner__content {
    padding: 40px 0;
  }

  .carpet-banner__content .h1 {
    margin: 0 0 20px;
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
    color: #112234;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    padding: 0 20px;
  }

  .carpet-banner__content span {
    margin: 0 0 35px;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 1.26px;
    text-transform: uppercase;
    padding: 0 20px;
  }

  .carpet-banner__content .button.button--yellow {
    width: 100%;
    color: #FFFFFF;
    background: #243649;
    font-family: Gilroy, sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
  }

  .carpet-about {
    padding: 40px 0 0;
  }

  .carpet-about__wrapper {
    padding: 0 20px;
    flex-direction: column-reverse;
    row-gap: 24px;
    border: none;
  }

  .carpet-about__content {
    flex-direction: column-reverse;
    row-gap: 30px;
  }

  .carpet-about__head {
    padding: 30px 0;
    border-top: 2px solid #D9D9D9;
    border-bottom: 2px solid #D9D9D9;
  }

  .carpet-about__head .h1 {
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
    text-transform: uppercase;
  }

  .carpet-about__body {
    row-gap: 6px;
  }

  .carpet-about__tags {
    gap: 6px;
  }

  .carpet-about__tag {
    padding: 10px;
    font-size: 16px;
    border-radius: 14px;
  }

  .carpet-about__description {
    font-size: 14px;
  }

  .carpet-about-promotion {
    padding: 0;
    align-items: center;
    column-gap: 20px;
    justify-content: space-between;
  }

  .carpet-about-promotion__content {
    row-gap: 16px;
  }

  .carpet-about-promotion__price {
    padding: 10px;
    font-size: 16px;
    border-radius: 14px;
    width: max-content;
  }

  .carpet-about-promotion__description {
    font-size: 14px;
  }

  .carpet-about-promotion__image.desktop {
    display: none;
  }

  .carpet-about-promotion__image.mobile {
    display: flex;
    position: static;
    width: auto;
  }

  .carpet-description {
    padding: 40px 0 0;
  }

  .carpet-description__wrapper {
    padding: 0 0 42px;
    border: none;
    position: relative;
  }

  .carpet-description__wrapper::after {
    content: '';
    width: calc(100% - 40px);
    height: 2px;
    background: #D9D9D9;
    position: absolute;
    bottom: 0;
    left: 20px;
  }

  .carpet-description__block {
    row-gap: 16px;
  }

  .carpet-description-block.desktop {
    display: none;
  }

  .carpet-description-block.mobile {
    display: flex;
    padding: 40px 20px;
  }

  .carpet-description-block {
    row-gap: unset;
    position: relative;
    overflow: hidden;
  }

  .carpet-description__wrapper .h2 {
    font-size: 20px;
    line-height: 30px;
    text-transform: uppercase;
    font-weight: 900;
    margin-bottom: 16px;
  }

  .carpet-description__wrapper p {
    font-size: 16px;
    line-height: 130%;
  }

  .carpet-description__wrapper img {
    width: 24px;
  }

  .carpet-description-block__collapsed {
    transition: height 0.2s ease;
  }

  .carpet-description-block__expanded {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    transition: height 0.2s ease;
    width: calc(100% - 60px);
  }

  .show .carpet-description-block__expanded {
    position: static;
    opacity: 1;
    visibility: visible;
    width: calc(100%);
  }

  .show .carpet-description-block__collapsed {
    position: absolute;
    opacity: 0;
    visibility: hidden;
  }

  .carpet-description-block__button {
    color: #112234;
    font-family: Greycliff CF, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 130%;
    padding: 10px 40px;
    border-radius: 14px;
    background: #F6CE45;
    width: max-content;
    margin-top: 24px;
  }

  .carpet-offer {
    padding: 40px 0 0;
  }

  .carpet-offer__image.desktop {
    display: none;
  }

  .carpet-offer__wrapper {
    row-gap: 30px;
    padding: 0 20px;
    border: none;
  }

  .carpet-offer__image-wrapper {
    display: flex;
  }

  .carpet-offer__image.mobile {
    display: flex;
    width: 100%;
    margin: calc(-44% + 40px) 0 calc(-35% + 30px);
  }

  .carpet-offer__wrapper .h1 {
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    text-align: center;
  }

  .carpet-offer__list {
    font-family: 'Gilroy', sans-serif;
    position: relative;
    padding: 0 0 42px;
  }

  .carpet-offer__item {
    display: grid;
    grid-template-columns: 30px 1fr;
    column-gap: 10px;
  }

  .carpet-offer__item span {
    color: #112234;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
    hyphens: auto;
  }

  .carpet-offer__item img {
    width: 100%;
  }

  .carpet-offer__list::after {
    content: '';
    width: 100%;
    height: 2px;
    position: absolute;
    bottom: 0;
    background: #D9D9D9;
  }

  .carpet-chemistry {
    padding: 40px 0 42px;
    position: relative;
  }

  .carpet-chemistry:after {
    content: '';
    width: calc(100% - 80px);
    height: 2px;
    background: #D9D9D9;
    position: absolute;
    left: 40px;
    bottom: 0;
  }

  .carpet-chemistry__wrapper {
    background: none;
    z-index: 1;
    flex-direction: column;
    align-items: center;
    row-gap: 24px;
    padding: 0 20px 30px;
  }

  .carpet-chemistry__image {
    position: static;
    transform: unset;
    width: 36.7%;
  }

  .carpet-chemistry__content {
    row-gap: 24px;
  }

  .carpet-chemistry__content .h2 {
    text-align: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 130%;
  }

  .carpet-chemistry__description {
    text-align: center;
    font-family: 'Gilroy', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    letter-spacing: 1.12px;
  }

  .carpet-chemistry__wrapper::after {
    content: '';
    width: 100%;
    height: calc(100% - 52px);
    border-radius: 20px;
    background: #159947;
    position: absolute;
    left: 0;
    z-index: -1;
    bottom: 0;
  }

  .carpet-license {
    padding: 30px 0;
  }

  .carpet-license-image {
    width: 100%;
    position: relative;
    top: unset;
    z-index: 0;
    left: unset;
    margin: 0 0 -95px;
  }

  .carpet-license-image__background {
    height: 262px;
    left: 50px;
    top: 3%;
  }

  .carpet-license-image img {
    padding: 0 0 0 30px;
    height: 392px;
  }

  .carpet-license .container {
    padding: 0 40px;
  }

  .carpet-license .h1 {
    font-size: 20px;
    font-weight: 900;
    line-height: 30px;
    letter-spacing: 1.4px;
    text-transform: uppercase;
  }

  .carpet-license__description {
    row-gap: 20px;
  }

  .carpet-license__description p:first-child {
    font-size: 20px;
    font-style: normal;
    font-weight: 500;
    line-height: 32px;
    letter-spacing: 1.4px;
  }

  .carpet-license__description p:last-child {
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
  }

  .carpet-license__description p:last-child a {
    text-decoration: none;
  }
}

.fixed-only{
  display: none;
}

.--highlighten .header__first-row{
  display: none;
}

.--highlighten .header__second-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-inline: -10px;
  gap: 15px;
}

.--highlighten .header__logo{
  margin-right: 0;
}

.--highlighten .desktop-logo{
  width: 225px;
  height: auto;
}

.--highlighten .fixed-only{
  display: flex;
  align-items: center;
  gap: 8px;
  font-style: normal;
  font-weight: 800;
  font-size: 20px;
  line-height: 20px;
  letter-spacing: 1.5px;
  color: #232524;
  margin: 0;
}

.--highlighten .fixed-only:hover{
  color: #f6ce45;
}

.--highlighten .catalog-btn-block {
  margin-right: 0
}

.--highlighten .header__search{
  max-width: 276px;
  margin-right: 0;
}

@media (max-width: 1439px) {
  .header__logo{
    margin-right: 15px;
  }
}

@media (min-width: 1024px) and (max-width: 1199px) {
  .header__first-row .contacts .contact-item.address{
    max-width: 170px;
  }
  .header__first-row .contacts .contact-item.phone{
    padding-right: 19px;
  }
  .desktop-logo{
    width: 225px;
    height: auto;
  }
  .--highlighten .header__logo{
    margin-right: 0;
  }
  .--highlighten .header__search{
    max-width: 176px;
  }
}

@media screen and (max-width: 1023px) {
  .--highlighten .fixed-only{
    display: none;
  }
  .header__second-row{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
  }
  .--highlighten .header__second-row{
    margin: 0;
  }
  .promo h1{
    font-size: 25px;
    line-height: 32px;
  }
}


.catalog-btn-block .dropdown-toggle[aria-expanded="true"]{
  border-bottom: 1px solid #818080;
}

.catalog-btn-block .dropdown-menu{
  margin-top: 1px;
  padding: 13px 0 20px;
}

.cat-menu{
  margin: 0;
  padding: 0;
  list-style: none;
}

.cat-menu.level-0 > li{
  padding: 0 20px;
}

.cat-menu > li > a{
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cat-menu.level-0{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cat-menu.level-0 > li > ul:not(.last){
  border-bottom: 1px solid #818080;
  padding-bottom: 16px;
}

.cat-menu.level-0 > li > a > span{
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 26px;
  color: #FFFFFF;
  padding-bottom: 6px;
}

.cat-menu.level-1{
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cat-menu.level-1 > li{
  margin: 0 -20px;
}

.cat-menu.level-1 > li > a{
  padding: 0 20px;
}

.cat-menu.level-1 > li > a > span{
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 26px;
  color: #CFCFCD;
}

.cat-menu-main{
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #818080;
  padding-bottom: 16px;
}

.cat-menu.level-2{
  position: absolute;
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  flex-wrap: wrap;
  width: 795px;
  height: 620px;
  top: -59px;
  /*left: calc(100% - 5px);*/
  left: 100% ;
  background: #112234;
  border-radius: 0px 16px 16px 0px;
  padding: 20px 30px 30px;
  gap: 16px;
  border-left: 1px solid #818080;
  transform: translateX(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
          transform .22s cubic-bezier(.22,.61,.36,1),
          opacity   .22s cubic-bezier(.22,.61,.36,1),
          visibility 0s linear .22s;
  will-change: transform, opacity;
  z-index: 50;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.cat-menu.level-1 > li:hover > .cat-menu.level-2,
.cat-menu.level-1 > li:focus-within > .cat-menu.level-2,
.cat-menu.level-1 > li.is-open > .cat-menu.level-2 {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s,0s,0s;
}

@media (prefers-reduced-motion: reduce) {
  .cat-menu.level-2 { transition: none; }
}

.cat-menu.level-2 > li{
  min-width: calc((99% / 3) - ((16px * 2) / 3));
}

.cat-menu.level-2 > li > a,
.cat-menu.level-2 > li > a > span{
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #CFCFCD;
}

.cat-menu.level-2 > li > a{
  display: flex;
  justify-content: flex-start;
  gap: 10px;
}

.cat-menu.level-2 > li > a .count{
  font-style: normal;
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #818080;
}

.cat-menu-title{
  width: 100%;
  margin-bottom: 24px;
}

.cat-menu-title span{
  font-style: normal;
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
  color: #FFFFFF;
}

.cat-menu > li > a:hover, .cat-menu > li> a:hover > span{
  color: #F6CE45;
}

.cat-menu > li > a:hover > svg path{
  fill: #F6CE45;
}

.dropdown:has(.cat-menu.level-1 > li:hover > .cat-menu.level-2,
              .cat-menu.level-1 > li:focus-within > .cat-menu.level-2,
              .cat-menu.level-1 > li.is-open > .cat-menu.level-2)
> #catalog_dropdown-menu_button {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

#catalog_dropdown-menu_list{
  border-bottom-right-radius: 6px;
  border-bottom-left-radius: 6px;
}

#catalog_dropdown-menu_list:has(.cat-menu.level-1 > li:hover > .cat-menu.level-2),
#catalog_dropdown-menu_list:has(.cat-menu.level-1 > li:focus-within > .cat-menu.level-2),
#catalog_dropdown-menu_list:has(.cat-menu.level-1 > li.is-open > .cat-menu.level-2) {
  border-bottom-right-radius: 0;
}

.cat-menu > li > a.cat-menu-main span{
  padding-bottom: 0!important;
}

@media (max-width: 767px) {
  .breadcrumbs__row{
    flex-wrap: wrap;
  }

  /* === контейнер меню === */
  .mobile__menu{
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;           /* по умолчанию не кликается */
  }
  .mobile__menu.--open{
    pointer-events: auto;
  }

  /* затемнение фона */
  .mobile__menu__bg{
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    opacity: 0;
    transition: opacity .25s ease;
  }
  .mobile__menu.--open .mobile__menu__bg{ opacity: 1; }

  /* выезжающая панель (правый сайдбар) */
  .inner-block{
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: min(88vw, 360px);        /* ширина меню на мобилке */
    transform: translateX(100%);
    transition: transform .3s ease;
    background: #0f1c2a;            /* твой тёмный фон */
    color: #fff;
    box-shadow: -8px 0 24px rgba(0,0,0,.2);
  }
  .mobile__menu.--open .inner-block{
    transform: translateX(0);
  }

  .inner-block__in{
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* область с «экранами» */
  .nav-stage{
    position: relative;
    flex: 1 1 auto;
    overflow: hidden;
  }

  /* экран (панель уровня) */
  .panel{
    position: absolute;
    inset: 0;                        /* растянуть на всю высоту */
    overflow-y: auto;
    transform: translateX(100%);     /* спрятан справа */
    transition: transform .3s ease;
  }
  .panel.is-active{
    transform: translateX(0);        /* активный виден */
  }

  /* шапка */
  /*.head{
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 8px;
    padding: 6px 0 10px;
  }
  .head.catalog{
    grid-template-columns: auto 1fr auto;
  }*/

  /* кнопки */
  .close-btn,
  .back-btn,
  .catalog-link.as-link{
    appearance: none;
    border: 0;
    background: none;
    color: inherit;
    cursor: pointer;
  }

  .catalog-link.as-link{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    width: 100%;
    font: inherit;
    text-align: left;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: 0.1em;
    color: #fff;
  }

  /* ссылки списка */
  /*.panel nav a,
  .catalog-link.as-link{
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
    text-decoration: none;
    color: #fff;
  }
  .panel nav a:active { opacity: .8; }*/

  /* контакты (как было, чуть подправлено) */
  .contacts{ margin-top: 12px; }

  /* Заголовок группы (level-0) в каталоге */
/*  .cat-group-title{
    margin-top: 14px;
    padding: 10px 0 6px;
    font-weight: 700;
    font-size: 14px;
    opacity: .9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    color: #fff;
  }*/

  /* Ссылки level-1, визуально отличаемся от заголовка */
  .mobile__menu .inner-block a.cat-item{
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    color: #CFCFCD;
  }

  /* Элементы level-2 в экране подкатегории */
  .subcat-item{;
    font-style: normal;
    font-weight: 600;
    font-size: 14px;
    line-height: 26px;
    color: #FFFFFF;
  }
  .subcat-item .count{ opacity:.7; margin-left:6px; font-size:12px; }

  .mobile__menu .inner-block__in {
    padding: 40px 30px;
  }

  .cat-divider {
    height: 1px;
    background: #818080;
    margin: 16px 0 0;
  }

  #subcat-menu .cat-divider {
    margin: -4px 0 0;
  }

  #catalog-menu nav{
    gap: 4px;
  }

  .mobile__menu .inner-block a.cat-group-title{
    margin: 16px 0 2px;
  }

  .mobile__menu .inner-block a:hover svg path {
    fill: #ffcf52;
  }
}
