

/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/bootstrap_v4/style.min.css?1769080807272*/
.page-link,.page-link:hover{color:var(--theme-color-primary)}.page-item.active .page-link{color:var(--theme-b-tx-primary);background-color:var(--theme-color-primary);border-color:var(--theme-color-primary)}.page-link:focus{box-shadow:0 0 0 .2rem var(--theme-b-sd-primary)}
/* End */


/* Start:/local/templates/quickdeck/components/bitrix/catalog.section/new_qd-plus/style.css?178366816923580*/
h1.desc {
  display: none;
}

.left h1 {
  display: block;
}

.c-category-info {
  display: flex;
  flex-direction: column;
}

.c-category-info__inner {
  background: #fff;
  border-radius: 0 0 20px 20px;
  padding-bottom: 20px;
  position: relative;
  z-index: 2;
}

.c-category-info__box {
  border-radius: 0 15px 15px 0;
  position: relative;
}

.c-category-info__box-inner-bg img {
  height: 100%;
  object-fit: contain;
  object-position: top;
}

.c-category-info__box-inner {
  display: flex;
  justify-content: space-between;
  margin-top: -50px;
  padding: 0 50px 30px;
}

.c-category-info__box-inner .left {
  display: flex;
  flex-direction: column;
  max-width: 69%;
}

.second-title {
  color: #c3c3c3;
  font-weight: 500;
}

.c-category-info__title {
  font-size: 20px;
  font-weight: bold;
  margin-top: 15px;
}

.new-qd__description {
  margin-top: 20px;
}

.c-category-info__buttons {
  display: flex;
  gap: 25px;
  list-style-type: none;
  margin: 40px 0 0;
  padding: 0;
}

.c-category-info__buttons .btn {
  border-radius: 50px;
  padding-left: 25px;
  padding-right: 25px;
}

.dark-btn {
  background: #3d3c39 !important;
  color: #fff !important;
}

/*-- avantages --*/
.c-category-info_advantages {
  background: linear-gradient(#d18404, #e3a802 121%);
  color: #fff;
  margin-top: -30px;
  padding: 80px 30px 40px;
  position: relative;
  z-index: 1;
}

.c-category-info_advantages .a-wrapper {
  display: flex;
  gap: 20px;
}

.c-category-info_advantages .a-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
  width: 14.5%;
}

.c-category-info_advantages img {
  height: 35px;
}

.c-category-info_advantages .a-item:first-child img {
  padding: 5px;
}

/*-- materials --*/
.new-material-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px auto;
}

.new-material-grid .heading {
  font-size: 20px;
  font-weight: bold;
}
.new-material-grid .inner-side .m-item span{
  line-height: 2em;
}

.m-wrapper {
  display: flex;
  gap: 15px;
}

.m-wrapper .m-item {
  align-items: center;
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 5px;
  overflow: hidden;
  text-align: center;
  width: 19.6%;
}

.m-wrapper img {
  border-radius: 20px;
  box-shadow: 0 2px 6px 0 rgb(103 103 103 / 9%), 0 4px 24px 0 rgb(103 103 103 / 9%);
  height: 130px;
  object-fit: cover;
  transition: transform 2s ease, -webkit-transform 2s ease;
  width: 100%;
}

.m-wrapper img:hover {
  transform: scale(1.15);
}

/*-- filter --*/
.c-category-filter {
  margin-top: 40px;
}

.c-category-info__tags {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: space-between;
}

/* .c-category-info__tags {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 10px;
    gap: 10px;
    text-transform: lowercase;
} */
.c-category-info__tags-item {
  align-items: center;
  border-radius: 50px;
  box-shadow: 0 2px 6px 0 rgb(103 103 103 / 9%), 0 4px 24px 0 rgb(103 103 103 / 9%);
  cursor: pointer;
  display: flex;
  height: 40px;
  justify-content: center;
  padding: 0 25px;
  text-align: center;
}

.c-category-filter input:checked+.c-category-info__tags-item {
  background: linear-gradient(#d18404, #e3a802 50%);
  color: #fff;
}

/*-- category-items --*/
.catalog-main__list .cat-item {
  max-width: unset !important;
  position: relative;
}

.cat-item__title {
  text-align: center;
}

.cat-item__img img,
.item-hero__bigslider-el img,
.item-hero__smallslider-el img,
.basket-item__img img {
  object-fit: cover !important;
  object-position: bottom !important;
  transition: transform 2s ease, -webkit-transform 2s ease;
}

.cat-item__img {
  height: 232px !important;
}

.cat-item__img img:hover {
  transform: scale(1.05);
}

.catalog-main__list {
  gap: 20px;
}

.cat-item {
  margin-bottom: 0 !important;
  margin-right: 0 !important;
  max-width: 33% !important;
}

.cat-item__price-square {
  color: #ccc;
  font-size: 14px;
}

/*--calc --*/
.widener {
  background: #f6f6f6;
  left: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 30px 0;
  position: relative;
  right: 50%;
  width: 100vw;
}

.widener .landing-calc,
.widener .c-calc__box-inner {
  background: transparent;
}

.widener .c-calc__inner {
  display: flex;
  flex-direction: column-reverse;
}

.widener .landing-calc--catalog .c-calc__box-inner,
.catalog-main__wp .widener .landing-calc {
  padding: 0;
}

.widener .c-calc__form .form {
  grid-template-columns: repeat(4, 1fr) !important;
}

.c-calc__steps-item-line:last-child {
  display: none;
}

.step-num {
  color: #ccc;
}

.step-num b {
  color: #000;
}

.widener label .c-calc__form-item-name {
  align-items: center;
  border-radius: 50px;
  box-shadow: 0 2px 6px 0 rgb(103 103 103 / 9%), 0 4px 24px 0 rgb(103 103 103 / 9%);
  display: flex;
  height: 60px;
  padding: 0 25px;
  text-align: center;
}

.widener .c-calc__button {
  background: #3d3c39 !important;
  border: 0;
  border-radius: 50px;
  color: #fff !important;
}

.widener .c-calc__form--radio .c-calc__form-item-name {
  border: 0;
}

.widener .c-calc__form-item .c-calc__form-item-input--radio:checked+span {
  background: #fff;
  border: 0;
  box-shadow: 0 2px 6px 0 rgb(103 103 103 / 40%), 0 4px 24px 0 rgb(103 103 103 / 40%);
}

.widener .c-calc__form-item--text .c-calc__form-item-name {
  box-shadow: none !important;
}

/*-- new-info-guide --*/
.new-info-guide {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}

/* лишняя закрывающая скобка удалена — был синтаксический разрыв */
.new-info-guide .left {
  width: 100%;
}

.new-info-guide .right {
  width: 100%;
}

/*-- new sizes --*/
.new-sized-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.size-grid-block {
  border-radius: 15px;
  box-shadow: 0 2px 6px 0 rgb(103 103 103 / 9%), 0 4px 24px 0 rgb(103 103 103 / 9%);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  padding: 40px 20px;
  text-align: center;
}

.size-grid-block:nth-child(1),
.size-grid-block:nth-child(2) {
  width: calc(50% - 5px);
}

.size-grid-block:nth-child(n+3) {
  width: calc(100% - 7px);
}

.size-grid-block b {
  color: #000;
  display: block;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
}

.size-grid-block span {
  color: #000;
  display: block;
  font-size: 14px;
  font-weight: 500;
}

.size-grid-block span:last-child {
  border-bottom: none;
}

/*-- new slider guide -- */
.vertical-slider {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  max-height: 380px;
  min-height: 320px;
  position: relative;
  width: 100%;
}

.vs-navigation {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  left: 20px;
  position: absolute;
  top: 15px;
  z-index: 10;
}

.vs-dot {
  background: #d9d9d9;
  border-radius: 50%;
  cursor: pointer;
  display: inline-block;
  height: 12px;
  transition: 0.2s ease;
  width: 12px;
}

.vs-dot.is-active {
  background: #878787;
  transform: scale(1.15);
}

.slider-wrapper {
  height: 100%;
  min-height: 120px;
  overflow: hidden;
  position: relative;
}

.vs-drag-layer {
  cursor: grab;
  inset: 0;
  position: absolute;
  touch-action: none;
  user-select: none;
  z-index: 2;
}

.vs-drag-layer.is-dragging {
  cursor: grabbing;
}

.vs-slide {
  background: #f8f8f8;
  border-radius: 15px;
  display: none;
  height: 89%;
  inset: 0;
  overflow: hidden;
  padding: 15px 20px;
  position: absolute;
  z-index: 1;
}

.vs-slide-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

.vs-slide.is-active {
  display: flex;
}

.vs-slide-number {
  color: #c7c7c7;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  font-size: 60px;
  font-weight: 400;
  margin-bottom: 40px;
}

.vs-slide .notice {
  color: #4b4b4b;
  font-size: 12px;
  margin-top: 40px;
}

.vs-slide img {
  height: 100%;
  position: absolute;
  z-index: 1;
}

.vs01 img {
  right: -100px;
  top: 0;
}

.vs02 img {
  right: -100px;
}

.vs03 img {
  right: 30px;
}

@media (max-width: 768px) {

  .size-grid-block:nth-child(1),
  .size-grid-block:nth-child(2),
  .size-grid-block:nth-child(n+3) {
    width: 100%;
  }
}

@media (max-width: 767px) {

  .new-material-grid .ideas img {
    width: 100%;
  }

  .c-category-info__box-inner .left {
    max-width: 100%;
  }

  .c-category-info_advantages .a-item {
    width: unset;
  }

  .catalog-main__list {
    gap: 0;
  }

  .c-category-info__box-inner {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 0;
    padding: 5px;
  }

  .c-category-info__box-inner .right {
    max-width: 150px;
  }

  .c-category-info__buttons {
    flex-direction: column;
  }

  .c-category-info__buttons .btn {
    width: 250px;
  }

  .c-category-info_advantages .a-wrapper {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .c-category-info__tags {
    /*display: grid;*/
    gap: 8px;
    grid-gap: 8px;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 30px;
  }

  .c-category-info__tags-item {
    font-weight: 500;
    height: auto;
    min-height: 60px;
  }

  .cat-item {
    max-width: unset !important;
  }

  .c-calc__box-inner {
    margin-bottom: 30px;
    min-height: unset !important;
  }

  .m-wrapper {
    align-items: baseline;
    overflow-x: scroll;
  }

  .m-wrapper .m-item,
  .m-wrapper img {
    flex: 0 0 150px;
    max-width: unset;
    width: 150px;
  }

  .new-info-guide {
    display: flex;
    flex-direction: column;
  }

  .vertical-slider {
    height: 320px;
  }
}

/*plus template*/
.right .c-category-info__img {
  max-width: 200px;
}

.c-category-info_advantages .a-item:nth-of-type(2) img {
  height: 30px;
}

.c-category-info_advantages .a-wrapper .a-item:nth-of-type(5) img {
  height: 40px;
  margin-top: -6px;
}

[data-use] {
  cursor: pointer;
}

/*widget*/
.hide {
  display: none;
}

/*-------------*/
.catalog-main__fullwidth-banner {
  background: linear-gradient(135deg, #eab403, #db8b05);
  grid-column: 1 / -1;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 85px;
  width: 100vw;
}

.banner-inner {
  align-items: center;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1146px;
  padding: 0px;
  width: 100%;
}

@media (max-width: 1140px) {
  .banner-inner {
    max-width: calc(303px * 3 + 20px * 8);
  }
}

@media (max-width: 992px) {
  .banner-inner {
    gap: 30px;
    max-width: 100%;
    padding: 0px 15px;
  }

  .banner-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .banner-inner {
    flex-direction: column;
    gap: 24px;
    padding: 30px 0px 0px 0px;
    text-align: center;
  }

  .catalog-main__fullwidth-banner {
    margin-bottom: 10px;
    margin-top: 10px;
  }

  .banner-content {
    margin-bottom: 10%;
    text-align: center;
  }

  .banner-image {
    max-width: 80%;
    text-align: center;
  }

  .banner-image img {
    margin-left: auto;
    margin-right: auto;
  }

  .banner-title {
    font-size: 1.5rem;
  }
}

@media (min-width: 1870px) {
  .banner-inner {
    max-width: 1146px;
    /* фиксированная ширина, как у родителя */
  }
}

@media (max-width: 340px) {
  .banner-image {
    display: none;
  }

  .banner-content {
    margin-bottom: 30px;
  }
}

.banner-content {
  color: #fff;
  flex: 1 1 auto;
  min-width: 200px;
}

.banner-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 32px 0;
}

.banner-text {
  color: black;
  font-size: 1rem;
  line-height: 1;
  margin-bottom: 32px;
}

.banner-image {
  flex: 0 0 auto;
  margin-top: -9%;
  max-width: 55%;
  padding-right: 5px;
  text-align: right;
}

.banner-image img {
  border-radius: 12px;
  display: block;
  height: auto;
  margin-left: auto;
  max-width: 100%;
}

.catalog-main__fullwidth-banner .btn-wdg {
  background-color: black;
  border-radius: 30px;
  color: white;
  font-size: 16px;
  height: 20px;
  padding: 13px 40px;
}

/*отделка стен и пола*/
.title-md {
  display: block;
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 20px;
}

.ideas .slick-slide {
  margin: 0 20px;
}

.ideas img {
  height: 300px;
  object-fit: fill;
  transition: unset;
}

.ideas .m-item {
  position: relative;
}

.ideas .slick-next,
.ideas .slick-prev {
  filter: brightness(0) saturate(100%) invert(100%) sepia(1%) saturate(638%) hue-rotate(192deg) brightness(103%) contrast(71%);
  right: -25px;
}

/*points*/
.point {
  background-color: #FCC612;
  border-radius: 50%;
  color: #000000;
  cursor: pointer;
  font-size: 20px;
  line-height: 20px;
  position: absolute;
  width: 20px;
}

/*points*/
.point_1 {
  right: 50%;
  top: 30%;
}

.point_2 {
  bottom: 30%;
  left: 10%;
}

.point_3 {
  right: 50%;
  top: 35%;
}

.point_4 {
  bottom: 2%;
  right: 50%;
}

.point_5 {
  right: 70%;
  top: 8%;
}

.point_6 {
  right: 50%;
  top: 35%;
}

.point_7 {
  bottom: 2%;
  right: 50%;
}

.point_9 {
  left: 30%;
  top: 45%;
}

.point_8 {
  bottom: 25%;
  left: 33%;
}

.point_10 {
  left: 20%;
  top: 45%;
}

.point_11 {
  bottom: 5%;
  left: 60%;
}

.point_12 {
  left: 50%;
  top: 25%;
}

.point_13 {
  bottom: 10%;
  left: 50%;
}

.point_14 {
  left: 60%;
  top: 32%;
}

.point_15 {
  bottom: 5%;
  left: 50%;
}

.point_16 {
  left: 50%;
  top: 35%;
}

.point_17 {
  bottom: 3%;
  left: 30%;
}

.point.black_point {
  background-color: black;
  color: white;
  transform: rotate(45deg);
  transition: transform 0.5s linear, -webkit-transform 0.5s linear;
}

/*------------------------*/
.custom-popup-tooltip {
  animation: fadeScale 0.2s ease;
  background: white;
  border-radius: 15px;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.25);
  display: flex;
  font-family: system-ui, sans-serif;
  max-height: 105px;
  max-width: 315px;
  overflow: hidden;
}

.custom-popup-tooltip .popup-left {
  align-items: center;
  background: #f5f7fb;
  display: flex;
  flex: 0 0 25%;
  justify-content: center;
}

.custom-popup-tooltip .popup-left img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.custom-popup-tooltip .popup-right {
  background: white;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0.5rem 1rem;
}

.custom-popup-tooltip .popup-title {
  color: #000;
  font-size: 14px;
  font-weight: 700;
  line-height: 15px;
}

.custom-popup-tooltip .popup-dimensions {
  border-radius: 30px;
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.5;
  width: fit-content;
}

.custom-popup-tooltip .popup-price-row {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.custom-popup-tooltip .popup-price {
  color: #000;
  font-size: 14px;
  font-weight: 800;
}

.custom-popup-tooltip .add-to-cart-btn {
  background: #000;
  border: none;
  border-radius: 40px;
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  padding: 0.15rem 1.2rem;
  transition: 0.2s;
}

.ideas img:hover {
  transform: unset;
}

@media (max-width: 560px) {
  .custom-popup-tooltip {
    flex-direction: column;
    width: 200px;
  }

  .custom-popup-tooltip .popup-left img {
    width: 55%;
  }

  .custom-popup-tooltip .popup-left {
    height: 150px;
  }

  .point {
    display: none;
  }
}

.pagination-container {
  opacity: 0;
}

.cat-item .catalog-card_sticks {
  color: white;
  font-weight: 700;
  padding:6px 10px;
  position: absolute;
  right: 15px;
  z-index: 999;
  margin-top: 10px;
  background: #0c99ab;
  line-height: 16px;
}

.decor__form-item-img {
  height: 110px;
}

.c-category-info__tags label {
  width: 30%;
}

/*css сокрытие*/
[data-value="Внутренняя отделка стен"],
[data-value="Перекрытия"],
[data-value="Плавающим методом"],
[data-value="По лагам"] {
  display: none;
}

/* ----- Модальное окно ----- */
.modal-overlay {
  align-items: center;
  backdrop-filter: blur(5px);
  background-color: rgba(0, 0, 0, 0.65);
  display: flex;
  height: 100%;
  justify-content: center;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: visibility 0.2s, opacity 0.2s ease;
  visibility: hidden;
  width: 100%;
  z-index: 1000;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 30px 50px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  max-height: 90vh;
  max-width: 1300px;
  overflow: hidden;
  position: relative;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
  width: 90%;
  min-width: 300px;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-header {
  align-items: center;
  background: #ffffff;
  display: flex;
  justify-content: space-between;
  padding: 20px 28px;
}

.modal-header h2 {
  color: black;
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.modal-close {
  background: #f0f4fa;
  border: none;
  border-radius: 50%;
  color: #2e506e;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 300;
  height: 20px;
  line-height: 1;
  transition: 0.2s;
  width: 20px;
}

.modal-close:hover {
  background: #e2e8f2;
  color: #000;
  transform: rotate(90deg);
}

/* основное содержимое */
.modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px 28px 0 0;
}
.modal-body:after{
  content: 'alxnt';
  font-size: 0px;
}

.constructor-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 2fr 0.9fr;
}

/* левая зона — категории */
.decor-categories {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.category {
  border-radius: 24px;
  padding: 8px 0 12px 0;
  transition: 0.2s;
}

.category-title {
  align-items: center;
  color: #000;
  display: flex;
  font-size: 1.4rem;
  font-weight: 600;
  gap: 12px;
  margin-bottom: 18px;
  padding: 0 12px;
  padding-left: 20px;
  position: relative;
}

.decor-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding: 0 12px;
}

.decor-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 5px 12px 10px rgba(0, 0, 0, 0.03);
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 170px;
  padding: 10px;
  transition: all 0.2s;
  gap: 10px;
}

.decor-card .bottom-container {
  align-items: stretch;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.wdecor-left {
  width: 50%;
}

.wdecor-right {
  position: relative;
}

.show-list.close:before {
  border-left: 1px solid #1F1F1F;
  border-top: 1px solid #1F1F1F;
  content: "";
  height: 12px;
  pointer-events: none;
  position: absolute;
  transform: rotate(-135deg);
  transition: transform .25s;
  width: 12px;
  z-index: 1;
}

.show-list {
  cursor: pointer;
  height: 12px;
  position: absolute;
  right: 26px;
  top: 38px;
  width: 50px;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  text-align:  center;
}

.show-list.open:before {
  transform: rotate(-315deg);
}

.decor-list-all.open {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 2.5px;
  height: auto;
  width: 100%;
  flex-wrap: wrap;
  max-height: 140px;
  overflow: auto;
  justify-content: center;
}

.opac{
  opacity: 0.3;
  transition: 1s;
}

.decor-card .decor-list-all img {
  border-radius: 10px;
  cursor: pointer;
  margin-bottom: unset;
  object-fit: cover;
  max-width: 44px;
  height: 44px;
}

.decor-card .decor-list-all img:hover{
  transform: scale(1.0);
}

.decor-card img {
  border-radius: 20px;
  max-height: 170px;
  object-fit: cover;
  width: 100%;
}

.decor-card:hover {
  border-color: #ffb34780;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.decor-name {
  color: #1f3a4b;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1rem;
  min-height: 2rem;
}

.decor-article {
  color: #6f8eaa;
  font-family: monospace;
  font-size: 0.8rem;
  /*margin: 6px 0 12px;*/
}

.btn-show {
  background: #000000;
  border: none;
  border-radius: 40px;
  color: #fff;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 6px;
  padding: 8px 16px;
  transition: 0.2s;
  width: 100%;
}

.btn-show:hover {
  background: #000000;
  color: white;
}

/* select для окна */
.window-selector {
  background: white;
  border: 1px solid #dce5f0;
  border-radius: 40px;
  color: #1f3a4b;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 12px;
  margin-top: 6px;
  outline: none;
  padding: 10px 12px;
  width: 100%;
}

/* правая панель превью */
.preview-panel {
  align-self: start;
  background: #fefef7;
  border: 1px solid #f0ecd9;
  border-radius: 28px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.02);
  display: flex;
  flex-direction: column;
  padding: 20px;
  position: sticky;
  top: 20px;
}

.preview-paneldecor-categories {
  background-color: #f6f6f6;
}

.preview-image {
  align-items: center;
  border-radius: 24px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  margin-top: 20px;
  min-height: 240px;
  overflow: hidden;
  position: relative;
}

.preview-image img {
  border-radius: 20px;
  max-height: 60vh;
  max-width: 100%;
  object-fit: contain;
  transition: 0.2s;
}

.preview-details {
  text-align: center;
}

.preview-details h4 {
  color: #2b4b3c;
  font-size: 1.4rem;
  font-weight: 700;
}

.preview-details p {
  color: #6c7a89;
  font-family: monospace;
  margin-top: 6px;
}

.empty-preview {
  color: #b9aa8a;
  font-size: 0.9rem;
  font-style: italic;
  padding: 30px 10px;
  text-align: center;
}

/* кнопка действия в модалке */
.modal-actions {
  background: #ffffff;
  border-top: 1px solid #eef2f9;
  display: flex;
  justify-content: flex-end;
  padding: 12px 28px 24px;
}

.btn-secondary {
  background: #eef2fa;
  border: none;
  border-radius: 40px;
  cursor: pointer;
  font-weight: 500;
  padding: 10px 24px;
  transition: 0.2s;
}

.btn-secondary:hover {
  background: #e2e6f0;
}

/* Адаптив */
@media (max-width: 860px) {

  .floor-title:before {
      border-left: 1px solid #1F1F1F;
      border-top: 1px solid #1F1F1F;
      content: "";
      height: 12px;
      cursor: pointer;
      position: absolute;
      transform: rotate(-315deg);
      transition: transform .25s;
      width: 12px;
      z-index: 1;
      right: 36px;
      top: 10px;
  }

  .floor-title.close:before {
    transform: rotate(-135deg);
    top: 4px;
  }
  
  .decor-list.close{
    display: none;
  }

  .constructor-grid {
    gap: 24px;
    display: flex;
    flex-direction: column-reverse;
  }

  .preview-panel {
    position: static;
  }

  .modal-header h2 {
    font-size: 1.5rem;
  }

  .modal-body {
    padding: 16px;
  }

  .decor-list {
    justify-content: flex-start;
  }
}

@media (max-width: 520px) {
  .decor-card {
    flex: 1 1 100%;
  }

  .category-title {
    font-size: 1.2rem;
  }
}

/* скролл стилизация */
.modal-body::-webkit-scrollbar {
  width: 6px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 8px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #c6d2e0;
  border-radius: 8px;
}

.decor-card .decor-list-all img:hover {
  border: 2px solid black;
}
/* End */
/* /bitrix/components/bitrix/system.pagenavigation/templates/bootstrap_v4/style.min.css?1769080807272 */
/* /local/templates/quickdeck/components/bitrix/catalog.section/new_qd-plus/style.css?178366816923580 */
