.modal {
  width: 100%;
  max-width: 1000px;
  max-height: 670px;
  min-height: 400px;
  padding: 50px!important;
  background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,.08);
  border-radius: 30px
}
.modal__map {
  background-color: #d9d9d9;
  border-radius: 20px;
  height: 280px
}
.modal__catalog {
  margin-top: 20px
}
.modal__catalog .catalog__content.horizontal .card__price-block {
  bottom: initial
}
.modal__catalog .card {
  background-color: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,.08);
  border-radius: 20px
}
.modal iframe {
  width: 100%;
  height: 500px
}
.modal_sm {
  min-height: initial;
  max-height: initial;
  max-width: 792px
}
.modal_big {
  max-width: 1118px;
  min-height: auto;
  max-height: none;
  padding: 60px 48px 24px!important
}
.modal_biggest {
  max-width: 100%;
  max-height: unset;
  min-height: auto;
  padding: 10px!important;
  background: linear-gradient(46.75deg,rgba(254,114,0,.747) 23.68%,rgba(232,27,35,.9) 100%),#f8f8f8;
  box-shadow: 0 0 15px rgba(0,0,0,.08);
  border-radius: 30px;
  align-items: center;
  justify-content: center
}
.modal_biggest_success {
  min-height: 600px
}
.modal_success {
  max-width: 792px;
  min-height: auto;
  max-height: none;
  padding: 60px 48px 24px!important
}
.modal__textarea {
  background-color: #f8f8f8;
  border-radius: 10px;
  display: flex;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #0e0e0e;
  padding: 10px;
  width: 100%;
  height: 122px;
  resize: vertical
}
.modal__table {
  max-width: 1036px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-bottom: 25px
}
.modal__table a,
.modal__table a:hover {
  color: #e81b23
}
.modal__table-row-header {
  display: flex;
  margin-bottom: 16px
}
.modal__table-row-header div {
  text-align: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: #0e0e0e
}
.modal__table-row-header div:nth-child(1) {
  width: 20%
}
.modal__table-row-header div:nth-child(2) {
  width: 40%
}
.modal__table-row-header div:nth-child(3) {
  width: 20%
}
.modal__table-row-header div:nth-child(4) {
  width: 20%
}
.modal__table-row {
  display: flex;
  margin-bottom: 16px
}
.modal__table-row div {
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: #0e0e0e
}
.modal__table-row div:nth-child(1) {
  width: 20%
}
.modal__table-row div:nth-child(2) {
  width: 40%
}
.modal__table-row div:nth-child(3) {
  width: 20%
}
.modal__table-row div:nth-child(4) {
  width: 20%
}
.modal__toggler-input {
  display: none
}
.modal__toggler-input + span,
.modal__toggler-input + span::after,
.modal__toggler-input + span::before {
  transition: .3s
}
.modal__toggler-input + span {
  display: block;
  width: 36px!important;
  height: 18px;
  margin: 0;
  position: relative;
  color: #0e0e0e;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none
}
.modal__toggler-input + span::before {
  background-color: #858585;
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 0;
  width: 36px;
  height: 18px;
  border-radius: 16px
}
.modal__toggler-input + span::after {
  border-radius: 50%;
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 19px;
  width: 16px;
  height: 16px;
  background-color: #fff
}
.modal__toggler-input:checked + span::before {
  background-color: #e81b23
}
.modal__toggler-input:checked + span::after {
  right: 1px;
  background-color: #fff
}
.modal__type {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  font-weight: 400;
  line-height: 17px
}
.modal__type::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  margin-right: 6px;
  border-radius: 50%
}
.modal__type_green {
  color: #34a852
}
.modal__type_green::before {
  background-color: #34a852
}
.modal__type_red {
  background-color: #e81b23
}
.modal__type_red::before {
  background-color: #e81b23
}
.modal__type_orange {
  background-color: #fe7200
}
.modal__type_orange::before {
  background-color: #fe7200
}
.modal__mobile-text {
  display: none
}
.modal__form {
  max-width: 748px;
  width: 100%;
  margin-left: auto;
  margin-right: auto
}
.modal__row {
  margin-bottom: 10px
}
.modal__row_toggler {
  margin-bottom: 40px
}
.modal__row_toggler span {
  margin-bottom: 0!important
}
.modal__row.error .modal__error {
  display: block
}
.modal__row label {
  display: flex;
  align-items: center
}
.modal__row label > span {
  flex-shrink: 0;
  display: flex;
  width: 250px;
  font-size: 12px;
  font-weight: 400;
  line-height: 14px;
  color: #0e0e0e
}
.modal__row .red {
  color: #e81b23;
  margin-top: 0
}
.modal__row_top label {
  align-items: flex-start
}
.modal__row_top span {
  margin-top: 7px
}
.modal__row_sm {
  margin: -5px 0
}
.modal__row_sm .btn {
  margin: 5px 0;
  width: 100%
}
.modal__row_checkboxes {
  margin-top: 20px;
  margin-bottom: 20px
}
.modal__checkbox-wrap {
  margin-top: 24px;
  margin-bottom: 24px
}
.modal__checkbox-block {
  margin-bottom: 10px
}
.modal__checkbox-block.checkbox-block label {
  font-size: 13px
}
.modal__error {
  display: none;
  padding-left: 250px;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  color: #e81b23
}
.modal__right-block {
  padding-left: 250px;
  margin-bottom: 49px
}
.modal__desc {
  display: block;
  margin-bottom: 24px;
  font-size: 14px;
  font-weight: 400;
  line-height: 18px;
  color: #0e0e0e
}
.modal__desc a {
  color: #e81b23
}
.modal__btn {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  z-index: 10
}
.modal__btn_top-indent {
  margin-top: 10px;
  margin-bottom: 0
}
.modal__close-btn {
  width: 220px;
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto
}
.modal__title {
  margin-bottom: 12px;
  font-size: 40px;
  font-weight: 500;
  line-height: 48px;
  color: #0e0e0e;
  text-align: center
}
.modal__text {
  margin-bottom: 40px;
  font-size: 14px;
  font-weight: 400;
  line-height: 15px;
  text-align: center;
  color: #0e0e0e
}
.modal__text.modal__text_md {
  margin-left: auto;
  margin-right: auto;
  max-width: 730px
}
.modal__subtitle {
  margin-bottom: 20px;
  font-size: 22px;
  font-weight: 500;
  line-height: 23px;
  text-align: center;
  color: #0e0e0e
}
.modal__btn-block {
  display: flex;
  justify-content: center;
  margin-bottom: 60px
}
.modal__cart-btn {
  width: 220px;
  margin-left: 10px;
  margin-right: 10px
}
.modal__header {
  margin-bottom: 32px;
  font-size: 32px;
  font-weight: 500;
  line-height: 38px;
  text-align: center
}
.modal__list-color-wrap {
  display: flex
}
.modal__list-color-wrap .card_hovered .card__wrap {
  box-shadow: none
}
.modal__list-color-wrap .card__wrap {
  width: 100%
}
.modal__list-color-wrap .slick-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  top: 40%;
  left: -17px;
  background-color: #f3f3f3;
  border-radius: 50%;
  z-index: 7
}
.modal__list-color-wrap .slick-arrow:hover {
  background-color: #0e0e0e
}
.modal__list-color-wrap .slick-arrow:hover::before {
  background-image: url(../img/content/icon-arrow-left-w.svg)
}
.modal__list-color-wrap .slick-arrow::before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  background-image: url(../img/content/icon-arrow-left.svg);
  background-size: 16px 16px;
  background-position: center
}
.modal__list-color-wrap .slick-next {
  left: auto;
  right: -17px
}
.modal__list-color-wrap .slick-next::before {
  transform: rotate(180deg)
}
.modal__list-color-wrap .slick-list {
  margin-left: -5px;
  margin-right: -5px;
  padding-bottom: 90px
}
.modal__list-color-wrap .slick-slide {
  display: block!important;
  display: flex;
  height: auto;
  margin-left: 5px;
  margin-right: 5px
}
.modal__item-color-wrap:nth-child(n+5) {
  display: none
}
.modal-cookies-ag {
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  position: fixed;
  z-index: 999;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #eaeaea
}
.modal-cookies-ag.hidden {
  display: none!important
}
.modal-cookies-ag__text {
  color: #000;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 14px;
  margin: 0
}
.modal-cookies-ag__text a {
  color: #000;
  text-decoration: underline
}
.modal-cookies-ag__button {
  padding: 11px 20px
}
.carousel__button.is-close {
  top: 10px!important;
  right: 10px!important;
  color: #858585!important
}
.carousel__button.is-close:focus {
  box-shadow: none!important
}
.fancybox__backdrop {
  background-color: rgba(0,0,0,.6)!important
}
.has-ajax .fancybox__content {
  padding: 0!important
}
.fancybox__slide.has-iframe .fancybox__content {
  height: 90%;
  max-width: 1300px;
  padding: 0!important
}
.modal-custom {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(255,255,255,.97);
  z-index: 120;
  padding: 10px 20px
}
.modal-custom__close-btn {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 18px;
  color: #858585
}
.modal-custom__close-btn svg {
  margin-left: 12px;
  margin-bottom: 3px
}
.modal-custom__wrap {
  max-width: 1000px;
  max-height: 670px;
  min-height: 400px;
  width: 100%;
  margin-bottom: 24px;
  background: #fff;
  box-shadow: 0 0 15px rgba(0,0,0,.08);
  border-radius: 30px
}
.modal-custom__wrap:hover {
  cursor: grab
}
.modal-custom__gallery-wrap {
  height: 100%
}
.modal-custom__gallery-wrap img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain
}
.modal-custom__info-block {
  display: flex;
  flex-direction: column;
  align-items: center
}
.modal-custom__info-block p {
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 400;
  line-height: 13px;
  color: #0e0e0e
}
.modal-custom__icon-arrow-left {
  transform: rotate(180deg);
  margin-right: 10px
}
.fancybox__slide {
  padding-top: 30px;
  padding-bottom: 30px
}
@media (min-width:521px) {
  .modal__row_sm {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -5px
  }
  .modal__row_sm .btn {
    margin: 0 5px;
    max-width: 220px
  }
}
@media (max-width:1100px) {
  .modal__item-color-wrap:nth-child(n+4) {
    display: none
  }
}
@media (max-width:1024px) {
  .modal__list-color-wrap {
    overflow-x: hidden
  }
  .modal__item-color-wrap {
    flex-shrink: 0;
    width: 160px
  }
  .modal__item-color-wrap:nth-child(n+4) {
    display: block
  }
}
@media (max-width:1023px) {
  .modal_big,
  .modal_success {
    min-height: auto;
    max-width: 600px;
    padding: 20px 20px 16px!important
  }
  .modal__table {
    padding-bottom: 0
  }
  .modal__table-row-header {
    display: none
  }
  .modal__table-row {
    display: flex;
    flex-direction: column;
    margin-bottom: 14px
  }
  .modal__table-row div {
    width: 100%!important;
    display: flex;
    flex-direction: column;
    text-align: left;
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    margin-bottom: 16px
  }
  .modal__type {
    justify-content: flex-start
  }
  .modal__mobile-text {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px
  }
  .modal__row {
    margin-bottom: 10px
  }
  .modal__row_toggler {
    margin-bottom: 40px
  }
  .modal__row_toggler label {
    justify-content: space-between;
    flex-direction: row!important;
    align-items: center!important
  }
  .modal__row label {
    flex-direction: column;
    align-items: flex-start
  }
  .modal__row label > span {
    margin-bottom: 4px
  }
  .modal__checkbox-block.checkbox-block label {
    font-size: 12px
  }
  .modal__error {
    padding-left: 0
  }
  .modal__right-block {
    padding-left: 0;
    margin-bottom: 0
  }
  .modal__desc {
    margin-bottom: 20px
  }
  .modal__btn_top-indent {
    margin-top: 20px
  }
  .modal__title {
    font-size: 22px;
    line-height: 26px
  }
  .modal__text {
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 15px
  }
  .modal__subtitle {
    font-size: 18px;
    line-height: 19px
  }
  .modal__btn-block {
    margin-bottom: 30px
  }
  .modal__header {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 19px
  }
  .modal__list-color-wrap .slick-list {
    margin-left: -2.5px;
    margin-right: -2.5px;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0
  }
  .modal__list-color-wrap .slick-slide {
    width: 160px;
    margin-left: 2.5px;
    margin-right: 2.5px
  }
}
@media (max-width:768px) {
  .modal-cookies-ag {
    flex-direction: column;
    gap: 20px
  }
  .modal-cookies-ag__button {
    width: 100%;
    max-width: 380px
  }
}
@media (max-width:767px) {
  .modal iframe {
    height: 260px
  }
  .modal {
    max-width: 500px;
    max-height: 300px;
    min-height: 234px;
    padding: 20px!important
  }
  .modal_big,
  .modal_sm {
    min-height: auto;
    max-height: none
  }
  .modal_biggest {
    max-width: 100%;
    max-height: unset;
    min-height: auto;
    padding: 10px!important
  }
  .modal_biggest_success {
    min-height: 500px
  }
  .modal_success {
    min-height: auto;
    max-height: none
  }
  .modal__close-btn {
    width: 100%;
    margin-bottom: 0
  }
  .modal__btn-block {
    flex-direction: column
  }
  .modal__cart-btn {
    width: 100%;
    height: 40px;
    margin-bottom: 10px;
    margin-left: 0;
    margin-right: 0;
    font-size: 14px;
    line-height: 18px
  }
  .carousel__button.is-close {
    top: 5px!important;
    right: 5px!important
  }
  .modal-custom {
    padding-left: 10px;
    padding-right: 10px
  }
  .modal-custom__wrap {
    max-width: 400px;
    max-height: 300px;
    min-height: 234px
  }
}
@media (max-width:520px) {
  .modal__text {
    max-width: 295px;
    margin-left: auto;
    margin-right: auto
  }
  .modal__text br {
    display: none
  }
  .modal__subtitle {
    font-size: 16px;
    line-height: 17px;
    max-width: 295px;
    margin-left: auto;
    margin-right: auto
  }
}
@media (max-width:450px) {
  .modal__title {
    margin-left: auto;
    margin-right: auto
  }
}