

/* Start:/local/templates/amegazavod_new/components/bitrix/news.detail/projects/style.css?17948209629537*/
/* ===== Project detail: title + gallery + info ===== */
.project-detail .project-detail__title {
  margin-bottom: 64px;
}

.project-detail__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 375px;
  column-gap: 40px;
  align-items: start;
}

.project-detail__info {
  margin: 0;
}

.project-gallery {
  display: flex;
  gap: 40px;
  min-width: 0;
}

/* лента превью */
.project-gallery__thumbs {
  display: flex;
  flex: 0 0 99px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.project-gallery__thumbs-slider {
  width: 97px;
  height: 450px;
}

.project-gallery__thumbs-slider .swiper-slide {
  height: 58px;
  cursor: pointer;
}

.project-gallery__thumb {
  display: block;
  width: 100%;
  height: 100%;
  border: 1px solid transparent;
  box-sizing: border-box;
  object-fit: cover;
}

.project-gallery__thumbs-slider .swiper-slide-thumb-active .project-gallery__thumb {
  border: 2px solid var(--color-primary-red);
}

.project-gallery__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-background-secondary-pressed);
  color: var(--amega-dark-color-active);
  cursor: pointer;
  transition: opacity 0.2s;
}

.project-gallery__arrow.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

/* основное фото */
.project-gallery__main {
  flex: 1;
  min-width: 0;
}

.project-gallery__main-slider {
  overflow: hidden;
  aspect-ratio: 1068 / 625;
}

.project-gallery__zoom {
  --zoom-cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M10 7H9V6C9 5.45 8.55 5 8 5C7.45 5 7 5.45 7 6V7H6C5.45 7 5 7.45 5 8C5 8.55 5.45 9 6 9H7V10C7 10.55 7.45 11 8 11C8.55 11 9 10.55 9 10V9H10C10.55 9 11 8.55 11 8C11 7.45 10.55 7 10 7ZM2 8C2 4.691 4.691 2 8 2C11.309 2 14 4.691 14 8C14 11.309 11.309 14 8 14C4.691 14 2 11.309 2 8ZM17.707 16.293L14.312 12.897C15.365 11.543 16 9.846 16 8C16 3.589 12.411 0 8 0C3.589 0 0 3.589 0 8C0 12.411 3.589 16 8 16C9.846 16 11.543 15.365 12.897 14.312L16.293 17.707C16.488 17.902 16.744 18 17 18C17.256 18 17.512 17.902 17.707 17.707C18.098 17.316 18.098 16.684 17.707 16.293Z' fill-rule='evenodd' clip-rule='evenodd' fill='%231B1C20'/%3E%3C/svg%3E") 8 8, zoom-in;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: var(--zoom-cursor);
}

.project-gallery__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-gallery__zoom .project-gallery__img {
  cursor: var(--zoom-cursor);
}

/* лупа, которая едет за мышью, адаптивного цвета */
.project-gallery__loupe {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  width: 18px;
  height: 18px;
  color: #fff; /* вместе с difference: на светлом фоне чёрная, на тёмном белая */
  mix-blend-mode: difference;
  opacity: 0;
  pointer-events: none;
}

.project-gallery__loupe.is-visible {
  opacity: 1;
}

.project-gallery__main-slider.is-loupe .project-gallery__zoom,
.project-gallery__main-slider.is-loupe .project-gallery__img {
  cursor: none;
}

.project-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
  align-items: baseline;
}

.project-gallery__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amega-background-color-secondary-hover);
  cursor: pointer;
}

.project-gallery__dot.is-active {
  background: var(--amega-background-color-secondary-active);
  transform: scale(1.5);
}

/* стрелки под фото нужны только на планшете */
.project-gallery__nav {
  display: none;
}


.project-gallery__arrow.swiper-button-lock,
.project-gallery__nav-btn.swiper-button-lock {
  display: none;
}


/* ===== Project modal ===== */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(17, 17, 17, 0.8);
}

.project-modal__inner {
  position: relative;
  display: flex;
  gap: 95px;
  box-sizing: border-box;
  width: min(1396px, calc(100vw - 48px));
  height: 750px;
  max-height: calc(100vh - 48px);
  padding: 80px 88px 32px 32px;
  background: var(--color-background-modal);
}

.project-modal__close {
  position: absolute;
  top: 32px;
  right: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  transition: .2s ease;
}

.project-modal__close:hover {
  transform: scale(1.1);
  transition: .2s ease;
}

/* лента превью */
.project-modal__thumbs-slider {
  flex: 0 0 96px;
  height: 100%;
}

.project-modal__thumbs-slider .swiper-slide {
  height: 56px;
  cursor: pointer;
}

.project-modal__thumb {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  object-fit: cover;
}

.project-modal__thumbs-slider .swiper-slide-thumb-active .project-modal__thumb {
  border: 2px solid var(--color-primary-red);
}

/* большое фото */
.project-modal__main {
  position: relative;
  flex: 1;
  min-width: 0;
}

.project-modal__main-slider {
  height: 100%;
  overflow: hidden;
}

.project-modal__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-modal__arrow {
  position: absolute;
  top: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--amega-background-color-secondary);
  transform: translateY(-50%);
  cursor: pointer;
  transition: opacity 0.2s;
}

.project-modal__arrow--prev {
  left: -54px;
}

.project-modal__arrow--next {
  right: -54px;
}

.project-modal__arrow svg {
  transform: rotate(-90deg);
}

.project-modal__arrow.swiper-button-disabled {
  opacity: 0.4;
  pointer-events: none;
}

html.is-project-modal {
  overflow: hidden;
  scrollbar-gutter: auto;
}


.project-others .project-others__title {
  margin-bottom: 64px;
}


@media (max-width: 1680px) {
  .project-gallery__main-slider {
    aspect-ratio: 1080 / 790;
  }
}

@media (max-width: 1344px) {
  .project-detail .project-detail__title {
    margin-bottom: 40px;
  }

  .project-detail__layout {
    --project-gap: 19px;
    column-gap: var(--project-gap);
    grid-template-columns: minmax(0, 1fr) 320px;
  }

  .project-gallery {
    gap: 0;
  }

  /* ленты превью на планшете нет, фото листается стрелками и точками */
  .project-gallery__thumbs {
    display: none;
  }

  .project-gallery__main-slider {
    aspect-ratio: 940 / 552;
  }

  .project-gallery__stage {
    position: relative;
  }

  /* стрелки в колонке текста, по нижней кромке фото */
  .project-gallery__nav {
    position: absolute;
    bottom: 0;
    left: calc(100% + var(--project-gap));
    display: flex;
    gap: 8px;
  }

  .project-gallery__nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-background-secondary-pressed);
    color: var(--amega-dark-color-active);
    cursor: pointer;
    transition: opacity 0.2s;
  }

  /* «вверх» даёт ‹, «вниз» даёт › */
  .project-gallery__nav-btn .project-gallery__chevron {
    transform: rotate(-90deg);
  }

  .project-gallery__nav-btn.swiper-button-disabled {
    opacity: 0.4;
    pointer-events: none;
  }

  /* на планшете и мобилке «Другие проекты» показывают две карточки */
  .project-others .projects-card:nth-child(n + 3) {
    display: none;
  }

  .project-others .project-others__title {
    margin-bottom: 40px;
  }
}

@media (max-width: 1200px) {
  .project-detail__layout {
    grid-template-columns: minmax(0, 1fr) 220px;
  }
}

@media (max-width: 992px) {
  .project-detail__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .project-gallery__nav {
    display: none;
  }

  .project-gallery__dots {
    margin-top: 8px;
    margin-bottom: 16px;
  }
}

@media (max-width: 992px) {
  .project-modal__inner {
    display: flex;
    flex-direction: column;
    width: calc(100vw - 32px);
    height: auto;
    max-height: calc(100vh - 32px);
    gap: 16px;
    padding: 64px 16px 16px;
  }

  .project-modal__close {
    top: 16px;
    right: 16px;
  }

  /* фото сверху, лента превью под ним (в разметке лента идёт первой) */
  .project-modal__main {
    order: 1;
    flex: 0 1 auto;
    width: 100%;
    min-width: 0;
  }

  .project-modal__thumbs-slider {
    order: 2;
    width: 100%;
    height: auto;
    flex: 0 0 auto;
  }

  .project-modal__thumbs-slider .swiper-slide {
    width: 80px;
  }

  .project-modal__main-slider {
    height: auto;
    aspect-ratio: 1086 / 636;
    max-height: calc(100vh - 184px);
  }

  .project-modal__arrow {
    z-index: 2;
  }

  .project-modal__arrow--prev {
    left: 12px;
  }

  .project-modal__arrow--next {
    right: 12px;
  }
}

@media (max-width: 500px) {
  .project-modal__thumbs-slider .swiper-slide {
    width: 60px;
    height: 35px;
  }

  .project-modal__arrow {
    width: 30px;
    height: 30px;
  }
}
/* End */


/* Start:/projects/css/style.css?17948209626453*/
/* ===== Projects: hero ===== */
.projects-hero {
  position: relative;
  overflow: hidden;
  background: var(--amega-background-color-dies);
}

.projects-hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 715px;
}

.projects-hero__content {
  max-width: 652px;
}

.projects-hero .projects-hero__title {
  margin-bottom: 32px;
}

.projects-hero__text {
  max-width: 515px;
  margin: 0;
}

.projects-hero__img {
  position: absolute;
  top: 0;
  right: 0;
  display: block;
  width: 50%;
  height: 100%;
  object-fit: cover;
}


/* ===== Projects: search + tabs ===== */
.primary-section.projects-search {
  margin-bottom: 80px;
}

.projects-search .projects-search__title {
  margin-bottom: 64px;
}

.projects-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 32px;
}

.projects-tabs__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  height: 50px;
  border: 1px solid var(--color-primary-red);
  border-radius: 4px;
  font-size: 16px;
  line-height: 150%;
  background: transparent;
  color: var(--color-primary-red);
  text-decoration: none;
  transition: background-color 0.2s, color 0.2s;
}


.projects-tabs__btn.is-active {
  background: var(--amega-primary-color-active);
  color: var(--amega-background-color);
}

.projects-search__form {
  display: flex;
  align-items: center;
  gap: 24px;
}

.projects-search__field {
  position: relative;
  flex: 1;
  margin-right: 16px;
}

.projects-search__input {
  width: 100%;
  height: 50px;
  padding: 0 52px 0 24px;
  border: 1px solid var(--color-primary-red);
  border-radius: 2px;
  background: transparent;
  color: inherit;
  font: inherit;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.projects-search__input:focus {
  box-shadow: 0 0 0 1px var(--color-primary-red);
}

.projects-search__input::placeholder {
  color: #919399;
}

.projects-search__input::-webkit-search-cancel-button {
  display: none;
}

.projects-search__icon {
  position: absolute;
  top: 50%;
  right: 24px;
  color: var(--color-primary-red);
  transform: translateY(-50%);
  pointer-events: none;
}

.projects-search__btn {
  min-width: 132px;
}

.projects-search__reset {
  white-space: nowrap;
}


/* ===== Projects: list ===== */

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px;
}

.projects-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.projects-card__img-link {
  display: block;
  overflow: hidden;
}

.projects-card__img {
  display: block;
  width: 100%;
  aspect-ratio: 514 / 300;
  object-fit: cover;
}

.projects-card .projects-card__title {
  margin: 24px 0 20px;
}

.projects-card__text {
  margin-bottom: 24px;
  color: var(--color-text-primary-body);
}

.projects-card__link {
  align-self: flex-start;
  margin-top: auto;
}

.projects-empty {
  margin: 0;
  color: var(--color-primary-red);
}


/* ===== Projects: pagination ===== */
.projects-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 64px 0 0;
  padding: 0;
  list-style: none;
}

.projects-pagination li {
  margin: 0;
  padding: 0;
}

.projects-pagination__item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--amega-background-color-secondary);
  border-radius: 4px;
  color: var(--amega-dark-color-active);
  text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s, color 0.2s;
}

a.projects-pagination__item:hover {
  border-color: var(--color-primary-red);
}

.projects-pagination__item.is-active {
  border-color: var(--color-primary-red);
  background: var(--color-primary-red);
  color: var(--amega-background-color);
}

.projects-pagination__item.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.projects-pagination__item.is-dots {
  border: 0;
  cursor: default;
}


@media (max-width: 1344px) {
  .projects-hero__inner {
    min-height: 390px;
  }

  .projects-hero .projects-hero__title {
    margin-bottom: 20px;
  }

  .projects-hero__content {
    max-width: 460px;
  }

  .projects-search .projects-search__title {
    margin-bottom: 40px;
  }

  .projects-tabs {
    gap: 20px;
    margin-bottom: 20px;
  }

  .projects-tabs__btn {
    height: 39px;
    font-size: 14px;
  }

  .projects-search__form {
    gap: 20px;
  }

  .projects-search__input {
    height: 39px;
    padding: 0 16px;
  }


  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* карточка в строку: фото слева, справа заголовок, текст и ссылка */
  .projects-card {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto auto 1fr;
    column-gap: 20px;
    align-items: start;
  }

  .projects-card__img {
    aspect-ratio: 470 / 276;
  }

  .projects-card__img-link {
    grid-column: 1;
    grid-row: 1 / 4;
  }

  .projects-card .projects-card__title {
    grid-column: 2;
    grid-row: 1;
    margin: 0 0 16px;
  }

  .projects-card__text {
    grid-column: 2;
    grid-row: 2;
    margin-bottom: 20px;
  }

  .projects-card__link {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    margin-top: 0;
  }

  .projects-pagination {
    gap: 8px;
    margin: 40px 0 0;
  }

  .projects-pagination__item {
    width: 44px;
    height: 44px;
  }
}

@media (max-width: 992px) {
  .projects-hero__inner {
    min-height: 0;
  }

  .projects-hero__content {
    max-width: none;
    padding: 32px 0;
  }

  .projects-hero__img {
    position: static;
    width: 100%;
    height: 320px;
  }

  .projects-tabs {
    gap: 16px;
    margin-bottom: 16px;
  }

  .projects-search__form {
    flex-wrap: wrap;
    gap: 16px;
  }

  .projects-search__field {
    flex: 1 1 100%;
    margin-right: 0;
  }

  .projects-search__btn {
    min-width: 241px;
  }

  .projects-card {
    display: flex;
  }

  .projects-card .projects-card__title {
    margin: 16px 0 8px;
    width: 100%;
  }

  .projects-card__text {
    margin-bottom: 16px;
  }
}


@media (max-width: 768px) {
  .projects-tabs__btn {
    flex: 1 1 100%;
  }

  .projects-pagination__item {
    width: 32px;
    height: 32px;
  }

  .projects-pagination__item.is-dots {
    width: 24px;
  }
}

@media (max-width: 380px) {
  .projects-search__btn {
    width: 100%;
    min-width: 0;
  }
}
/* End */


/* Start:/local/components/amega/form/templates/.default/style.css?179267502010618*/
.footer-form__title {
	font-weight: bold;
	font-size: 34px;
}

.footer-form__subtitle {
	font-size: 16px;
	margin-top: 16px;
}

.primary-form__image {
	position: relative;
	overflow: hidden;
	display: flex;
	justify-content: center;
}

.primary-form__map {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.footer-form .form-control {
	border-radius: 0;
	height: 50px;
	padding: 13px 24px;
	border-color: #E3E4E5;
}

.footer-form .form-control:focus {
	outline: none;
	box-shadow: none;
	border-color: #D7D8D8;
	background-color: transparent;
	border-width: 2px !important;
}

.footer-form .btn-brand-#919399 {
	border-radius: 4px !important
}

.footer-form .form-label {
	font-size: 16px;
}

.footer-form .form-check-input {
	background-color: #fcfcfc;
	border-color: #1B1C20;
}

.footer-form .form-check-input:focus {
	outline: none;
	box-shadow: none;
}

.footer-form .form-check-input:checked[type=checkbox] {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%231B1C20' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='m6 10 3 3 6-6'/%3e%3c/svg%3e");
}

.primary-form__image img {
	width: 100%;
}

.form-control::-webkit-input-placeholder { /* WebKit, Blink, Edge */
	color: #919399 !important;
}

.form-control::-moz-placeholder { /* Mozilla Firefox 4 to 18 */
	color: #919399 !important;
	opacity: 1;
}

.form-control::-moz-placeholder { /* Mozilla Firefox 19+ */
	color: #919399 !important;
	opacity: 1;
}

.form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
	color: #919399 !important;
}

.form-control::-ms-input-placeholder { /* Microsoft Edge */
	color: #919399 !important;
}

.form-control::placeholder {
	color: #919399 !important;
}

.city-dropdown {
	display: block;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	right: 0;
	max-height: 165px;
	overflow-y: auto;
	background: #FCFCFC;
	border: 1px solid #E3E4E5;
	z-index: 10;
	font-size: 16px;
	transition: .3s;
	padding: 24px;
	margin-top: -1px;
	box-shadow: 0px 5px 5px #00000052;
}

.city-dropdown.active {
	opacity: 1;
	pointer-events: auto;
}

.city-dropdown_list {
	border-bottom: 1px solid #E3E4E5;
	margin-bottom: 8px;
}

.city-dropdown_list li {
	margin-bottom: 8px;
}

.city-dropdown_list li:hover {
	cursor: pointer;
	color: #DB1F35;
}

.footer-form .btn-brand-red.none-target {
	background: #FADDE1 !important;
	border-color: #FADDE1 !important;
	opacity: 1;
}

.footer-form .btn {
	height: 50px;
	border-radius: 4px !important;
}

.primary-form-grid {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
}

.primary-form-field {
	margin-bottom: 32px;
}

.primary-form-field__label {
	margin-bottom: 8px;
}

.primary-form-field__input {
	border: 1px solid #E3E4E5;
	background: #FCFCFC;
	height: 50px;
	padding: 13px 24px;
	width: 100%;
	outline: #E3E4E5;
}

/* ==========================
   Загрузка карточки компании
========================== */

.footer-form__file-wrap {
	margin-bottom: 32px;
}

.footer-form__file-label {
	display: flex;
	align-items: center;
	gap: 8px;
	border: 1px solid #E3E4E5;
	background: #FCFCFC;
	height: 50px;
	padding: 13px 24px;
	width: 100%;
	cursor: pointer;
	transition: .3s;
}

.footer-form__file-icon {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	opacity: .6;
}

.footer-form__file-text {
	color: var(--color-primary-red);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.footer-form__file-input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
}

.footer-form__file-wrap .primary-form-field__label.is-error {
	color: var(--color-primary-red);
}

.footer-form__file-label.is-error {
	border-color: var(--color-primary-red);
}

.primary-form-field__textarea {
	height: 100px;
	resize: none;
}

.primary-form-field__input.is-error {
	border-color: #E2001A !important;
}

.primary-form-field__error {
	color: var(--color-primary-red);
	font-size: 14px;
	margin-top: 10px;
}

.primary-privacy {
	margin-top: 16px;
}

.primary-checkbox {
	display: flex;
	font-size: 12px;
	line-height: 130%;
	cursor: pointer;
	margin-bottom: 32px;
}

.primary-checkbox__link {
  display: contents;
}

.primary-checkbox input {
	opacity: 0;
	position: absolute;
}

.primary-checkbox input:checked + .primary-checkbox__marker {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.5556 4.22222H6.44444C5.21714 4.22222 4.22222 5.21715 4.22222 6.44444V17.5556C4.22222 18.7829 5.21715 19.7778 6.44444 19.7778H17.5556C18.7829 19.7778 19.7778 18.7829 19.7778 17.5556V6.44444C19.7778 5.21714 18.7829 4.22222 17.5556 4.22222ZM6.44444 2C3.98985 2 2 3.98985 2 6.44444V17.5556C2 20.0102 3.98985 22 6.44444 22H17.5556C20.0102 22 22 20.0102 22 17.5556V6.44444C22 3.98985 20.0102 2 17.5556 2H6.44444Z' fill='%231B1C20'/%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.6485 7.37009C18.1172 7.86353 18.1172 8.66357 17.6485 9.15701L10.2 17L6.35147 12.9477C5.88284 12.4542 5.88284 11.6542 6.35147 11.1607C6.8201 10.6673 7.5799 10.6673 8.04853 11.1607L10.2 13.4261L15.9515 7.37009C16.4201 6.87664 17.1799 6.87664 17.6485 7.37009Z' fill='%231B1C20'/%3E%3C/svg%3E");
}

.primary-checkbox__marker {
	display: block;
	width: 24px;
	flex: 0 0 24px;
	height: 24px;
	margin-right: 10px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M17.5556 4.22222H6.44444C5.21714 4.22222 4.22222 5.21715 4.22222 6.44444V17.5556C4.22222 18.7829 5.21715 19.7778 6.44444 19.7778H17.5556C18.7829 19.7778 19.7778 18.7829 19.7778 17.5556V6.44444C19.7778 5.21714 18.7829 4.22222 17.5556 4.22222ZM6.44444 2C3.98985 2 2 3.98985 2 6.44444V17.5556C2 20.0102 3.98985 22 6.44444 22H17.5556C20.0102 22 22 20.0102 22 17.5556V6.44444C22 3.98985 20.0102 2 17.5556 2H6.44444Z' fill='%231B1C20'/%3E%3C/svg%3E");
}

.primary-form__image img {
	height: 100%;
	width: 100%;
	object-fit: cover;
}

.privacy_box {
	color: #353842;
}


/* ================================
   ЗАЯВКА НА ДИЛЕРСТВО: ряд полей
   ================================ */

.dealer-form__row {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-bottom: 24px;
}

.dealer-form__row .primary-form-field {
	margin-bottom: 0;
	min-width: 0;
}

/* ================================
   ТИП БИЗНЕСА (дропдаун)
   ================================ */

.dealer-form__dropdown {
	position: relative;
	min-width: 0;
}

.dealer-form__dropdown-trigger {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	cursor: pointer;
	text-align: left;
}

.dealer-form__dropdown-trigger-text {
	flex: 1;
	min-width: 0;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.dealer-form__dropdown-trigger.is-placeholder .dealer-form__dropdown-trigger-text {
	color: #919399;
}

.dealer-form__dropdown-arrow {
	flex-shrink: 0;
	width: 28px;
	height: 28px;
	transition: transform .2s ease;
}

.dealer-form__dropdown.open .dealer-form__dropdown-arrow {
	transform: rotate(180deg);
}

.dealer-form__dropdown-body {
	position: absolute;
	top: calc(100% + 4px);
	left: 0;
	z-index: 10;
	width: 310px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 8px;
	background: #FCFCFC;
	border: 1px solid #E3E4E5;
	border-radius: 4px;
	box-shadow: 0 5px 5px #00000052;
}

.dealer-form__radio-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	border-bottom: 1px solid #E3E4E5;
	cursor: pointer;
}

.dealer-form__radio-item:last-child {
	border-bottom: none;
}

.dealer-form__radio-item input[type="radio"] {
	flex-shrink: 0;
	width: 16px;
	height: 16px;
	accent-color: var(--color-primary-red);
	cursor: pointer;
}

.dealer-form__radio-item span {
	font-size: 16px;
	color: var(--color-text-primary-body);
}

.dealer-form__field--region .primary-form-field__input {
	text-overflow: ellipsis;
}

.dealer-form__field--inn .primary-form-field__input {
	text-overflow: ellipsis;
}

/* ================================
   ВИДЖЕТ: форма без картинки
   ================================ */

.footer-form--widget .primary-form-grid--single {
	grid-template-columns: 1fr;
	gap: 0;
	padding-bottom: 0;
}

.footer-form--widget .primary-privacy {
	position: static;
	margin-top: 16px;
}

@media (max-width: 1684px) {
	.primary-form-grid {
		gap: 20px;
		grid-template-columns: 522px auto;
	}
}


@media (max-width: 1344px) {
	.primary-form-grid {
		padding-bottom: 135px;
		grid-template-columns: 1fr 1fr;
	}

	.primary-form-field {
		margin-bottom: 20px;
	}

	.f-form__message {
		margin-bottom: 0;
	}

	.primary-form-field__input:not(.primary-form-field__textarea) {
		height: 39px;
	}

	.primary-privacy {
		position: absolute;
		bottom: 0;
		left: 0;
		right: 0;
		margin: 0;
	}

	.primary-checkbox {
		margin-bottom: 32px;
	}

	.footer-form__file-wrap {
		margin-bottom: 20px;
	}

	.footer-form__file-label {
		height: 39px;
	}

	#ml {
		font-size: 12px;
		min-height: auto;
	}

  .primary-form__map {
    max-height: 480px;
  }

	.dealer-form__row {
		grid-template-columns: repeat(2, 1fr);
		gap: 16px;
		margin-bottom: 16px;
	}

	.footer-form--widget .primary-privacy {
		margin-top: 8px;
	}

	.footer-form .btn {
		height: 39px;
		padding: 0;
	}

	.dealer-form__dropdown-arrow {
		width: 20px;
		height: 20px;
		bottom: 10px;
	}

	.dealer-form__radio-item span {
		font-size: 14px;
	}
}

@media (max-width: 1200px) {
	.dealer-form__dropdown-body {
		width: 270px;
	}
}

@media (max-width: 992px) {
  .primary-form-grid {
    grid-template-columns: 1fr;
  }

	.payment-request-form.is-physical .payment-request__row {
		grid-template-columns: 1fr;
	}

	.dealer-form__row {
		grid-template-columns: 1fr;
	}

	.dealer-form__dropdown-body {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.primary-form-grid {
		padding-bottom: 0;
		gap: 16px;
		grid-template-columns: 1fr;
	}

	.primary-form-field {
		margin-bottom: 16px;
	}

	.footer-form__file-wrap {
		margin-bottom: 16px;
	}

	.f-form__message {
		margin-bottom: 20px;
	}

	.primary-privacy {
		position: static;
		font-size: 10px;
	}

	#ml {
		font-size: 10px;
	}

  .primary-form__map {
    max-height: 400px;
    min-height: 350px;
  }
}

@media (max-width: 500px) {
	.dealer-form__radio-item span {
		font-size: 12px;
	}
}
/* End */


/* Start:/parts/city-dropdown-list/style.css?1792675020653*/
.city-selector {
  position: relative;
}

.city-selector .primary-form-field__input {
  padding-right: 48px;
}

.city-dropdown_empty {
  color: #8a8f99;
  pointer-events: none;
  user-select: none;
}

.city-dropdown-arrow {
  position: absolute;
  right: 16px;
  top: 41px;
  width: 28px;
  height: 28px;
  pointer-events: none;
  display: flex;
  transition: transform .2s ease;
}

.city-selector.is-open .city-dropdown-arrow {
  transform: rotate(180deg);
}

@media (max-width: 1344px) {
  .city-dropdown-arrow {
    top: 38px;
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 768px) {
  .city-dropdown_empty {
    font-size: 14px;
  }
}


/* End */
/* /local/templates/amegazavod_new/components/bitrix/news.detail/projects/style.css?17948209629537 */
/* /projects/css/style.css?17948209626453 */
/* /local/components/amega/form/templates/.default/style.css?179267502010618 */
/* /parts/city-dropdown-list/style.css?1792675020653 */
