/* Изолированная версия modal.css для страниц вне шаблона (лендинг /fire/).
   Селекторы ограничены обёрткой .cw-footer-modals, чтобы не пересечься с bootstrap.
   Генерируется из modal.css — при его правке перегенерировать. */
.modal-overlay{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1040;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  animation: fadeEffect 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.modal-overlay.out{
  animation: fadeOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.cw-modal-open{
  overflow: hidden;
}
.cw-footer-modals .modal{
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1060;
  width: 100%;
  height: 100%;
  display: none;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
}
.cw-footer-modals .modal-container{
  position: relative;
  margin: 15px auto;
  width: 100%;
  max-width: 550px;
  min-height: calc(100% - 30px);
  display: flex;
  align-items: center;
  pointer-events: none;
}
.cw-footer-modals .modal-container.medium{
  max-width: 700px;
}
.cw-footer-modals .modal-content{
  position: relative;
  padding: 30px;
  width: 100%;
  display: flex;
  flex-direction: column;
  pointer-events: auto;
  background-color: #ffffff;
  background-clip: padding-box;
  outline: 0;
}
.cw-footer-modals .modal-close{
  position: absolute;
  top: 35px;
  right: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.cw-footer-modals .modal-close .icon-svg{
  width: 20px;
  height: 20px;
}
.cw-footer-modals .modal-close:hover{
  color: #fe693a;
}
.cw-footer-modals .modal-header{
  font-size: 24px;
  margin-bottom: 16px;
}
.cw-footer-modals .modal-body{
  font-size: 18px;
}
.cw-footer-modals .modal-body p{
  margin: 0 0 10px;
}
.cw-footer-modals .modal-body > :first-child{
  margin-top: 0;
}
.cw-footer-modals .modal-body > :last-child{
  margin-bottom: 0;
}
.cw-footer-modals .modal-body h2{
  font-size: 48px;
  margin: 24px 0;
}
.cw-footer-modals .modal-body ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.cw-footer-modals .modal-body ul li + li{
  margin-top: 6px;
}
.cw-footer-modals .modal-footer{
  margin-top: 35px;
  display: flex;
  gap: 20px 30px;
  flex-wrap: wrap;
}
.cw-footer-modals .modal-footer .button{
  width: 100%;
  max-width: 250px;
}
.cw-footer-modals .modal-subtitle{
  margin-bottom: 42px;
  font-size: 18px;
}
.cw-footer-modals .modal-text{
  margin-bottom: 30px;
  font-size: 16px;
}
.cw-footer-modals .modal.out{
  animation: fadeOut 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}
.cw-footer-modals .modal.show{
  display: block;
}

@media (max-width: 767px) {.cw-footer-modals .modal-body{
    font-size: 16px;
  }.cw-footer-modals .modal-body h2{
    font-size: 28px;
    margin-bottom: 16px;
  }.cw-footer-modals .modal-footer .button{
    width: 100%;
    max-width: initial !important;
  }
}

@keyframes fadeEffect {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}.cw-footer-modals .modal-forms .modal-content{
  padding: 85px 60px;
}
.cw-footer-modals .modal-forms .modal-close{
  width: 56px;
  height: 56px;
  border: 1px solid #c4c4c4;
  border-radius: 50%;
}
.cw-footer-modals .modal-forms .modal-header{
  margin-bottom: 40px;
  font-size: 38px;
}
.cw-footer-modals .modal-forms .modal-bottom-text{
  margin-top: 40px;
  font-size: 24px;
}
.cw-footer-modals .modal-forms .modal-bottom-text a[href^='tel']{
  font-size: 30px;
  white-space: nowrap;
  color: #000000;
}
.cw-footer-modals .modal-forms .modal-bottom-text a[href^='tel']:hover{
  color: #fe693a;
}
.cw-footer-modals .modal-forms .button{
  width: 100%;
  max-width: 270px;
}
.cw-footer-modals .modal-forms .modal-form{
  display: flex;
  flex-direction: column;
}
.cw-footer-modals .modal-forms .modal-form__group{
  display: flex;
  gap: 30px;
  flex-direction: column;
}
.cw-footer-modals .modal-forms .modal-form .button{
  margin-top: 40px;
  width: 100%;
  max-width: initial;
}

@media (max-width: 767px) {.cw-footer-modals .modal-forms .modal-content{
    padding: 45px 12px;
  }.cw-footer-modals .modal-forms .modal-close{
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
  }.cw-footer-modals .modal-forms .modal-close .icon-svg{
    width: 15px;
    height: 15px;
  }.cw-footer-modals .modal-forms .modal-header{
    margin-bottom: 30px;
    font-size: 26px;
  }.cw-footer-modals .modal-forms .modal .modal-form__group{
    gap: 25px;
  }.cw-footer-modals .modal-forms .modal .modal-form .button{
    margin-top: 30px;
    width: 100%;
  }.cw-footer-modals .modal-forms .modal-bottom-text{
    font-size: 18px;
  }.cw-footer-modals .modal-forms .modal-bottom-text a[href^='tel']{
    font-size: 26px;
  }
}.cw-footer-modals .modal-add-basket .modal-container{
  max-width: 860px;
}
.cw-footer-modals .modal-add-basket .checkout-list{
  padding: 14px 0;
  display: grid;
  gap: 10px;
}
.cw-footer-modals .modal-right{
  overflow: hidden;
}
.cw-footer-modals .modal-right .modal-container{
  margin: 0 0 0 auto;
  height: 100%;
  max-width: initial;
}
.cw-footer-modals .modal-right .modal-content{
  margin-left: auto;
  padding: 0 30px;
  max-width: 545px;
  height: 100%;
  background: #ffffff;
  transform: translateX(100%);
  transition: transform .2s ease-in-out;
}
.cw-footer-modals .modal-right .modal-content.isActive{
  transform: none;
}
.cw-footer-modals .modal-right .modal-close{
  top: 20px;
  width: auto;
  height: auto;
  border: none;
}
.cw-footer-modals .modal-right .modal-close .icon-svg{
  width: 17px;
  height: 17px;
}
.cw-footer-modals .modal-right .modal-close:hover .icon{
  color: #fe693a;
}
.cw-footer-modals .modal-right .modal-header{
  margin-bottom: 25px;
  padding: 30px 0 24px;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  line-height: 1;
  text-transform: uppercase;
  border-bottom: 1px solid #efefef;
}
.cw-footer-modals .modal-right .modal-body{
  margin-right: -30px;
  padding-right: 30px;
  padding-bottom: 30px;
  min-width: 0;
  height: calc(100% - 94px);
  display: grid;
  align-content: flex-start;
  gap: 40px;
  overflow: auto;
}
.cw-footer-modals .modal-right .modal-body.g-0{
  gap: 0;
}

@media (max-width: 767px) {.cw-footer-modals .modal-right .modal-content{
    padding: 0 10px;
  }.cw-footer-modals .modal-right .modal-header{
    padding: 24px 0;
  }
}.cw-footer-modals .modal-text{
  font-size: 15px;
}
.cw-footer-modals .modal-text p{
  margin: 0;
}
.cw-footer-modals .modal-text p + p{
  margin-top: 10px;
}
.cw-footer-modals .modal-text-small{
  font-size: 12px;
}
.cw-footer-modals .modal-text-small p{
  margin: 0;
}
.cw-footer-modals .modal-texture__list{
  display: flex;
  flex-direction: column;
}
.cw-footer-modals .modal-texture__list-label{
  margin-bottom: 20px;
  font-size: 24px;
}
.cw-footer-modals .modal-texture__list-content{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.cw-footer-modals .modal-texture__list img{
  max-width: 100%;
}
.cw-footer-modals .texture-card{
  display: flex;
  flex-direction: column;
  transition: color .2s ease-in-out;
  cursor: pointer;
}
.cw-footer-modals .texture-card input{
  display: none;
}
.cw-footer-modals .texture-card img{
  width: 100%;
  height: auto;
  aspect-ratio: 6/8;
  object-fit: cover;
  transition: transform .2s ease-in-out;
}
.cw-footer-modals .texture-card span{
  margin-top: 20px;
  display: block;
}
.cw-footer-modals .texture-card span:first-letter{
  text-transform: uppercase;
}
.cw-footer-modals .texture-card:hover{
  color: #fe693a;
}
.cw-footer-modals .texture-card:hover img{
  transform: scale(1.05);
}
.cw-footer-modals .texture-card.isActive{
  color: #fe693a;
}
.cw-footer-modals .texture-card.isActive img{
  transform: scale(1.05);
}

@media (max-width: 767px) {.cw-footer-modals .texture-card img{
    transform: none !important;
  }.cw-footer-modals .texture-card span{
    margin-top: 5px;
  }
}

/*# sourceMappingURL=modal.css.map */

/* ------------------------------------------------------------------
   Дописано вручную после генерации — сохранять при перегенерации!

   На страницах вне шаблона базовые стили задаёт CSS лендинга:
   у него body { color: #fff }, из-за чего текст в окнах становился
   белым на белом. Возвращаем базовые значения шаблона внутри обёртки.
   ------------------------------------------------------------------ */
.cw-footer-modals {
  color: #000;
  font-family: Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.3;
  font-weight: 300;
}
/* лендинг задаёт цвет прямыми правилами (p { color:#fff }), поэтому
   наследования от обёртки мало — перечисляем теги явно */
.cw-footer-modals p,
.cw-footer-modals h1,
.cw-footer-modals h2,
.cw-footer-modals h3,
.cw-footer-modals h4,
.cw-footer-modals li,
.cw-footer-modals td,
.cw-footer-modals span,
.cw-footer-modals a,
.cw-footer-modals div { color: #000; }
.cw-footer-modals .icon-svg { fill: currentcolor; }
.cw-footer-modals img { max-width: 100%; height: auto; }
.cw-footer-modals .modal-content { background: #fff; }
