
/* GLAZING FRAMELESS ------------------------------------------------- */
.glazing-frameless__wrapper-block {
  border-radius: 8px;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}


/* GLAZING FRAMELESS TYPES ------------------------------------------------- */
.glazing-types__item-wrapper {
  margin-bottom: 30px;
  border: 2px solid #F4F4F4;
  background: white;
  border-radius: 8px;
}

.glazing-types__item-wrapper:last-child {
  margin-bottom: 0;
}

.glazing-types__item-wrapper .col-lg-5 {
  border-radius: 8px;
}

.glazing-types__item-wrapper .col-lg-5 img {
  border-radius: 8px;
}

.glazing-types__content {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.glazing-types__content .btn-link__box {
  position: absolute;
  bottom: 0;
  right: 20px;
}

.glazing-types__content .btn-link__box:hover,
.glazing-types__content .btn-link__box:focus,
.glazing-types__content .btn-link__box:active {
  color: var(--brand-color) !important;
}

@media (max-width: 991px) {
  .glazing-types__content {
    position: static;
  }

  .glazing-types__content .btn-link__box {
    position: static;
    bottom: auto;
    right: auto;
  }

}

.glazing-types__video-wrapper {
  border-radius: 8px;
}


/* GLAZING FRAMELESS TYPES DETAIL ------------------------------------------ */
.glazing-types__content-detail {
  position: relative;
  padding-top: 10px;
  padding-bottom: 10px;
}

.glazing-types__content-detail .btn-glazing__detail {
  position: absolute !important;
  bottom: 20px !important;
  right: 20px !important;

  @media (max-width: 991px) {
    position: relative !important;
    bottom: auto !important;
    right: auto !important;
    margin: 10px auto 10px auto;
  }
}

.glazing-types__content-detail_wrapper {
  width: 100%;
}

@media (max-width: 450px) {
  .about__fancy-boxes_wrapper {
    height: auto !important;
  }
}

.glazing-types__content-detail_characteristics {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px; /* Отступ между элементами */
}

.glazing-types__content-detail_characteristics p {
  margin: 0;
  flex-shrink: 0;
}

.glazing-types__content-detail_characteristics span {
  text-align: right;
  flex-grow: 1;
}

/**/

.glazing-types__content-movement {
  min-height: 238px;
  margin-top: 20px;
  padding: 20px;
  text-align: center;
  -webkit-transition: background 0.4s ease 0s;
  transition: background 0.4s ease 0s;
  cursor: pointer;
  background: #fbfbfb;
  border: 2px solid #F4F4F4;
}

.glazing-types__content-movement h3 span {
  color: var(--brand-color);
}


/* DECORATIONS ------------------------------------------------------------- */
#decorations .nav-tabs .active,
#decorations .nav-tabs .nav-link:hover {
  color: var(--brand-color) !important;
}

#decoration-tab-1 img {
  height: 380px;

  @media (max-width: 1060px) {
    height: auto;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .decorations-wrapper__chapter {
    margin-bottom: 60px !important;
  }
}

.decoration-tab2__wrapper,
.decoration-tab3__wrapper,
.decoration-tab4__wrapper {
  clear: none;
}

.decoration-tab3__wrapper {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) ;
  gap: 10px;

  @media (max-width: 1199px) {
    grid-template-columns: repeat(5, 1fr) ;
  }

  @media (max-width: 991px) {
    grid-template-columns: repeat(4, 1fr) ;
  }

  @media (max-width: 555px) {
    grid-template-columns: repeat(3, 1fr) ;
  }

  @media (max-width: 425px) {
    grid-template-columns: repeat(2, 1fr) ;
  }
}

.decoration-tab2__wrapper-image,
.decoration-tab3__wrapper-image,
.decoration-tab4__wrapper-image {
  border-radius: 5px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.decoration-tab2__wrapper-image,
.decoration-tab4__wrapper-image {
  height: 300px !important;
  width: 228px !important;
  min-height: 300px !important;
  min-width: 228px !important;
  margin-right: 18px;

  @media (max-width: 991px) {
    margin-right: 8px;
  }
}

.decoration-tab3__wrapper-image {
  height: 187px !important;
  width: 115px !important;
  min-height: 187px !important;
  min-width: 115px !important;
}

.decoration-tab__wrapper-title p {
  text-align: center;
}


