

/* Start:/dlya-dilerov/css/style.css?179267502017817*/
/* ================================ DEALERS HERO ================================ */
.dealers-hero {
  background-color: #f2f2f3;
  padding: 96px 0;
}

.dealers-hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dealers-hero__left {
  max-width: 730px;
  width: 100%;
}

.dealers-hero .banner__description {
  max-width: 572px;
  margin-bottom: 0;
}

.dealers-hero__img {
  width: 100%;
  display: block;
  aspect-ratio: 5.5 / 3;
  object-fit: cover;
  object-position: bottom;
}

.dealers-hero .banner__title {
  margin-bottom: 32px;
}


/* ================================ DEADLINES ================================ */
.deadlines__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 24px;
}

.deadlines__launch,
.deadlines__col-title {
  font-weight: 600;
}

.deadlines__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.deadlines__aside {
  flex: 0 0 50%;
  max-width: 652px;
}

.deadlines__img {
  width: 100%;
  display: block;
}

.deadlines .deadlines__pdf {
  width: 100%;
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.deadlines__list {
  flex: 1;
  min-width: 0; /* чтобы длинные названия не раздували колонку */
}

.deadlines__item {
  border-bottom: 1px solid #D9D9D9;
}

.deadlines__item:last-child {
  border-bottom: none;
}

.deadlines__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  cursor: pointer;
}

.deadlines__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  transition: transform 0.35s ease;
}

.deadlines__item.is-open .deadlines__icon {
  transform: rotate(180deg);
}

.deadlines__body {
  display: none;
  padding-bottom: 16px;
}

.deadlines__rows {
  display: flex;
  flex-direction: column;
}

.deadlines__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 12px 16px;
}

.deadlines__row:nth-child(odd) {
  background: #F0F0F0; /* зебра, как в PDF */
}

.deadlines__date {
  flex-shrink: 0;
  white-space: nowrap;
}

/* Источник для PDF: вне экрана, но отрисован (display:none html2canvas не снимет) */
.deadlines__pdf-content {
  background: #fff;
}

.deadlines__pdf-source {
  position: absolute;
  left: -9999px;
  top: 0;
  width: 800px;
}

.deadlines__pdf-launch {
  display: flex;
  justify-content: space-between;
  padding: 0 12px 16px;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
}

.deadlines__pdf-group {
  padding-bottom: 16px;
}

.deadlines__pdf-h1 {
  padding: 20px 12px 8px;
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
}

.deadlines__pdf-h2 {
  padding: 16px 12px 8px;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
}

.deadlines__pdf-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 14px;
  color: #1a1a1a;
}

.deadlines__pdf-table td {
  padding: 10px 12px;
}

.deadlines__pdf-table td:first-child {
  width: 80%;
}

.deadlines__pdf-table td:last-child {
  text-align: right;
  white-space: nowrap;
}

.deadlines__pdf-row:nth-child(odd) td {
  background: #F0F0F0;
}


/* ================================ SUPPORT ================================ */
.support__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 40px;
}

.support__tab {
  height: 48px;
  padding: 12px 24px;
  background: var(--color-primary-white);
  border: none;
  border-radius: 4px;
  color: var(--color-text-primary-body);
  cursor: pointer;
  transition: background .2s ease;
  font-weight: 500;
}

.support__tab-icon {
  display: none;
}

.support__tab:hover {
  background: var(--color-background-secondary);
}

.support__tab.is-active {
  background: var(--color-background-secondary-pressed);
  cursor: default;
}

/* --- вступительный текст --- */
.support__intro {
  max-width: 930px;
  margin-bottom: 40px;
}

.support__intro-descr {
  margin-bottom: 8px;
}

.support__link {
  text-decoration: underline;
}

.support__intro-link {
  position: relative;
  padding-left: 12px;
  margin-bottom: 0;
}

.support__intro-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #E1121ECC;
}

.support__intro a {
  text-decoration: underline;
}

/* --- карточка: медиа + аккордеоны --- */
.support__card {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 24px;
  background: var(--color-background-modal);
}

.support__slide {
  position: absolute;
  inset: 0;
  display: none;
}

.support__slide.is-active {
  display: block;
}

.support__media {
  position: relative;
  flex: 0 0 40%;
  max-width: 652px;
  aspect-ratio: 652 / 381;
  background: rgba(0, 0, 0, 0.10);
  overflow: hidden;
}

.support__video,
.support__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(193, 193, 193, .4);
  backdrop-filter: blur(2px);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.support__play:hover {
  background: rgba(193, 193, 193, .6);
}

.support__list {
  flex: 1;
  min-width: 0;
}

.support__item {
  border-bottom: 1px solid var(--color-background-secondary-pressed);
}

.support__item:last-child {
  border-bottom: none;
}

.support__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  cursor: pointer;
}

.support__list .support__item:first-child .support__trigger {
  padding-top: 0;
}

.support__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  transition: transform 0.35s ease;
}

.support__item.is-open .support__icon {
  transform: rotate(180deg);
}

.support__body {
  display: none;
  padding-bottom: 20px;
}

.support__item:last-child .support__body {
  padding-bottom: 0;
}

.support__body p {
  margin: 0;
}

.support__body p + p,
.support__dashes + p {
  margin-top: 20px;
}

.support__body p + .support__dashes {
  margin-top: 12px;
}


.support__dashes li::before {
  content: '● ';
  font-size: 16px;
}

/* --- баннер (таб «Кэшбек») --- */
.support__banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 430px;
  padding: 0 140px;
  background: var(--amega-background-color);
  overflow: hidden;
}

.support__banner-content {
  max-width: 620px;
}

.support__banner-title {
  margin-bottom: 20px;
}

.support__banner-text {
  margin-bottom: 24px;
}

.support__banner-btn {
  width: 328px;
}

.support__banner-img {
  display: block;
  flex-shrink: 0;
  max-width: 570px;
  max-height: 100%;
  object-fit: contain;
}


/* ================================ DEALERS NEWS ================================ */
.dealers-news .dealers-news__all {
  padding: 16px 32px;
}

.dealers-news .news-list.swiper-wrapper {
  display: flex;
}

.dealers-news .dealers-news__all--bottom {
  display: none;
}

.dealers-news .news.swiper-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  margin-right: 20px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: auto;
  margin-bottom: 0;
  padding: 24px;
  border-bottom: none;
  background: var(--amega-background-color-dies);
}

.dealers-news .news-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

.dealers-news__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* стрелки: на десктопе только перетаскивание */
.dealers-news .base-slider-nav {
  display: none;
}

.dealers-news .news-slider {
  overflow: hidden;
}

/* дата: берём ту, что внутри блока картинки, верхнюю прячем */
.dealers-news .news-date {
  display: none;
}

.dealers-news .news-image__date {
  display: flex;
  margin-bottom: 8px;
}

.dealers-news .news-image {
  max-width: 100%;
  margin: 0 0 24px;
}

.dealers-news .news-preview {
  flex: 1;
  width: 100%;
  max-width: 100%;
  margin: 0 0 24px;
}

.dealers-news .news-preview__title {
  margin-bottom: 12px;
  padding-bottom: 0;
  border-bottom: none;
}

.dealers-news .news-preview__text {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
}

.dealers-news .news-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 0;
  align-self: flex-start;
}

.dealers-news .news-link::after {
  content: '';
  width: 16px;
  height: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='13' viewBox='0 0 16 14' fill='none'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M1 8H12.865L9.232 12.36C8.878 12.784 8.936 13.415 9.36 13.768C9.785 14.122 10.415 14.064 10.769 13.64L15.769 7.64C15.808 7.593 15.827 7.538 15.856 7.486C15.88 7.444 15.909 7.408 15.927 7.362C15.972 7.247 15.999 7.126 15.999 7.004C15.999 7.003 16 7.001 16 7C16 6.999 15.999 6.997 15.999 6.996C15.999 6.874 15.972 6.753 15.927 6.638C15.909 6.592 15.88 6.556 15.856 6.514C15.827 6.462 15.808 6.407 15.769 6.36L10.769 0.36C10.57 0.123 10.286 0 10 0C9.774 0 9.547 0.076 9.36 0.232C8.936 0.585 8.878 1.216 9.232 1.64L12.865 6H1C0.448 6 0 6.448 0 7C0 7.552 0.448 8 1 8Z' fill='%23DB1F35'/%3E%3C/svg%3E") no-repeat center / contain;
}


/* ================================ INSTRUCTIONS ================================ */
.instructions__inner {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.instructions__image {
  flex-shrink: 0;
  width: 652px;
}

.instructions__image img {
  width: 100%;
  height: 100%;
  display: block;
}

.instructions__list {
  flex: 1;
}

.instructions__item {
  border-bottom: 1px solid #D9D9D9;
}

.instructions__item:last-child {
  border-bottom: none;
}

.instructions__list .instructions__item:first-child .instructions__trigger {
  padding-top: 0;
}

.instructions__trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  padding: 20px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: #1a1a1a;
  cursor: pointer;
  transition: color 0.2s;
}

.instructions__icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  transition: transform 0.35s ease;
}


.instructions__item.is-open .instructions__icon {
  transform: rotate(180deg);
}

.instructions__body {
  padding-bottom: 24px;
  display: none;
  gap: 16px;
  align-items: center;
}

.instructions__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  transition: .3s ease;
}

.instructions__link-off {
  gap: 0;
}

.instructions__link + .instructions__link::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 24px;
  background: #C5C5C5;
  margin-right: 16px;
  vertical-align: middle;
}


/* ================================ АДАПТИВ ================================ */
@media (max-width: 1685px) {
  .dealers-hero__left {
    max-width: 695px;
  }
}

@media (min-width: 1600px) {
  .dealers-news .news.swiper-slide {
    flex-basis: calc((100% - 80px) / 3);
    margin-right: 40px;
  }
}

@media (max-width: 1344px) {
  .dealers-hero {
    padding: 40px 0 0;
  }

  .dealers-hero .banner__title {
    margin-bottom: 20px;
  }

  .dealers-hero__left {
    max-width: 620px;
  }

  .dealers-hero .banner__description {
    max-width: 445px;
    margin-bottom: 0;
  }

  .dealers-hero__img {
    aspect-ratio: 4 / 3;
  }

  .deadlines__top {
    margin-bottom: 20px;
  }

  .deadlines__inner {
    gap: 20px;
  }

  .deadlines__trigger {
    padding: 16px 0;
  }

  .deadlines .deadlines__pdf {
    margin-top: 20px;
  }

  .deadlines__row {
    gap: 16px;
  }

  .support__tabs {
    gap: 16px;
    margin-bottom: 20px;
  }

  .support__tab {
    padding: 12px 16px;
  }

  .support__intro {
    margin-bottom: 20px;
  }

  .support__card {
    padding: 16px;
  }

  .support__body p + p,
  .support__dashes + p {
    margin-top: 16px;
  }

  .support__body p + .support__dashes {
    margin-top: 8px;
  }

  .support__trigger {
    padding: 16px 0;
  }

  .support__banner {
    gap: 20px;
    padding: 0 90px;
  }

  .dealers-news .base-slider-nav {
    display: flex;
  }

  .dealers-news .dealers-news__all {
    padding: 12px 24px;
  }

  .dealers-news .news.swiper-slide {
    padding: 16px;
  }

  .dealers-news .primary-section-head {
    align-items: center;
  }

  .primary-section.primary-section_gray {
    padding: 40px 0;
  }

  .dealers-news .news-image {
    margin: 0 0 16px;
  }

  .dealers-news .news-preview__title {
    margin-bottom: 16px;
  }

  .dealers-news .news-preview {
    margin: 0 0 20px;
  }

  .instructions__trigger {
    padding: 16px 0;
  }

  .instructions__inner {
    gap: 20px;
  }

  .instructions__link {
    font-size: 14px;
  }
}


@media (max-width: 1200px) {
  .dealers-hero__left {
    max-width: 450px;
  }

  .dealers-hero .banner__description {
    max-width: 370px;
  }

  .dealers-news .news.swiper-slide {
    flex-basis: calc((100% - 20px) / 2);
  }

  .instructions__image {
    width: 480px;
  }

  .instructions__inner {
    align-items: stretch;
  }
}


@media (max-width: 992px) {
  .dealers-hero {
    padding: 32px 0;
  }

  .dealers-hero__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .dealers-hero__visual {
    order: 2;
  }

  .dealers-hero__img {
    aspect-ratio: 5 / 3;
    object-fit: cover;
    object-position: bottom;
  }

  .deadlines .new-container {
    display: flex;
    flex-direction: column;
  }

  .deadlines__top,
  .deadlines__inner,
  .deadlines__aside {
    display: contents;
  }

  .deadlines__launch {
    order: 1;
    margin-bottom: 20px;
  }

  .deadlines__img {
    order: 2;
    margin-bottom: 20px;
  }

  .deadlines__col-title {
    order: 3;
    align-self: flex-end;
    text-align: right;
    margin-bottom: 20px;
  }

  .deadlines__list {
    order: 4;
    flex: none;
    width: 100%;
  }

  .deadlines .deadlines__pdf {
    order: 5;
    margin-top: 32px;
  }

  .support .new-container {
    display: flex;
    flex-direction: column;
  }

  .support__tabs {
    display: contents;
  }

  .support__tab {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    height: auto;
    min-height: 48px;
    margin-bottom: 20px;
    text-align: left;
  }

  .support__tab-icon {
    display: block;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    transition: transform .3s ease;
  }

  .support__tab.is-active .support__tab-icon {
    transform: rotate(180deg);
  }

  .support__panel {
    margin-bottom: 16px;
    display: none;
  }

  /* порядок: кнопка 0, панель 0, кнопка 1, панель 1 ... */
  .support__tab[data-support-tab="0"] { order: 1; }
  .support__panel[data-support-panel="0"] { order: 2; }
  .support__tab[data-support-tab="1"] { order: 3; }
  .support__panel[data-support-panel="1"] { order: 4; }
  .support__tab[data-support-tab="2"] { order: 5; }
  .support__panel[data-support-panel="2"] { order: 6; }
  .support__tab[data-support-tab="3"] { order: 7; }
  .support__panel[data-support-panel="3"] { order: 8; }

  /* карточка и баннер в колонку */
  .support__card {
    flex-direction: column;
    gap: 20px;
  }

  /* видео внутри пункта: общая рамка скрыта, слайд идёт обычным блоком под текстом */
  .support__card--inline-media .support__media {
    display: none;
  }

  .support__card--inline-media .support__slide {
    position: relative;
    display: block;
    margin-top: 12px;
    aspect-ratio: 652 / 381;
    background: rgba(0, 0, 0, 0.10);
    overflow: hidden;
  }

  .support__media {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .support__banner {
    flex-direction: column;
    align-items: flex-start;
    min-height: 0;
    padding: 24px 16px 0;
  }

  .support__banner-title {
    margin-bottom: 16px;
  }

  .support__banner-btn {
    width: 100%;
  }

  .support__banner-img {
    align-self: center;
    max-width: 100%;
    order: 1;
  }

  .support__banner-content {
    order: 2;
  }

  .support__banner-text {
    margin-bottom: 16px;
  }

  .support__banner-btn {
    margin-bottom: 16px;
  }

  .support__list {
    width: 100%;
  }

  .dealers-news .news.swiper-slide {
    flex-basis: 100%;
    margin-right: 16px;
  }

  .dealers-news__actions .dealers-news__all {
    display: none;
  }

  .dealers-news .dealers-news__all--bottom {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 32px;
  }

  .instructions__inner {
    flex-direction: column;
  }

  .instructions__image {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .deadlines__trigger {
    padding: 12px 0;
  }

  .deadlines__col-title {
    max-width: 162px;
  }

  .deadlines__icon {
    width: 24px;
    height: 24px;
  }

  .dealers-news__actions {
    gap: 16px;
  }
}


@media (max-width: 500px) {
  .deadlines__pdf svg {
    flex-shrink: 0;
  }

  .deadlines__row {
    padding: 12px;
  }
}

@media (max-width: 390px) {
  .deadlines .deadlines__pdf {
    padding: 25px 12px;
  }

  .support__play {
    width: 60px;
    height: 60px;
  }
}

/* End */


/* Start:/local/templates/amegazavod_new/components/bitrix/news.list/news.redesign/style.css?17924826863836*/
.news-tabs {
	display: flex;
	gap: 20px;
	margin-bottom: 32px;
}

.news-tabs__button {
	padding: 12px 24px;
	display: block;
	border: 1px solid #E3E4E5;
	background: #FCFCFC;
	border-radius: 4px;
}

.news-tabs__button.active {
	background: #C5C5C5;
	border: 1px solid #E3E4E5;
}

.tab-body {
	display: none;
}

.tab-body.active {
	display: block;
}


.news {
	display: flex;
	align-items: flex-start;
	padding-bottom: 24px;
	border-bottom: 1px solid #E3E4E5;
}

.news:not(:last-child) {
	margin-bottom: 24px;
}

.news-date {
	display: flex;
	gap: 8px;
	font-size: 12px;
	flex-shrink: 0;
	width: 120px;
}

.news-image {
	margin-right: 40px;
	max-width: 514px;
}

.news-image__date {
	display: none;
	align-items: center;
	margin-bottom: 8px;
	font-size: 12px;
}

.news-image__date > span {
	display: block;
	margin-left: 8px;
}

.news-image img {
	max-width: 100%;
}

.news-img {
	width: 514px;
	height: 300px;
	display: block;
}

.news-preview {
	width: 650px;
	margin-right: 20px;
}

.news-preview__title {
	margin-bottom: 25px;
	padding-bottom: 25px;
	border-bottom: 1px solid #E3E4E5;
}

.news-link {
	margin-left: auto;
	font-size: 16px;
}

.news-empty {
	font-size: 20px;
	color: rgba(219, 31, 53, 0.5);
	text-align: center;
}

.news-show {
	display: flex;
	justify-content: center;
	margin-top: 32px;
}

.news-show > a {
	width: 237px;
}



.social-links {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 40px;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	gap: 24px;
	height: 300px;
	background: #F0F0F0;
	color: #1B1C20;
}

.social-links img {
	width: 60px;
	height: 60px;
}

.social-text {
	margin-bottom: 32px;
}

.pagination-list {
	margin-top: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 16px;
}

@media (max-width: 1684px) {
	.news-date {
		margin-right: 20px;
	}

	.news-image {
		margin-right: 20px;
		max-width: 414px;
	}

	.news-img {
		width: 100%;
		height: 100%;
	}

	.news-preview {
		max-width: 521px;
	}

	.social-links {
		gap: 20px;
	}

	.social-links a {
		height: 244px;
	}
}

@media (max-width: 1344px) {
	.news-tabs__button {
		line-height: 21px;
		padding: 12px 16px;
	}

	.news-date {
		display: none;
	}

	.news-image {
		max-width: 225px;
	}

	.news-image__date {
		display: flex;
	}

	.news-preview {
		max-width: 470px;
	}

	.news-tabs {
		gap: 20px;
	}

	.news-show {
		justify-content: flex-start;
	}

	.news-link {
		font-size: 14px;
	}

	.social-links {
		grid-template-columns: 1fr 1fr;
	}

	.social-links a {
		height: 276px;
	}

	.social-links a:nth-child(3) {
		grid-column: 1 / 3;
	}

	.social-text {
		margin-bottom: 20px;
	}
}

@media (max-width: 1024px) {
	.news {
		padding-bottom: 20px;
	}

	.news:not(:last-child) {
		margin-bottom: 20px;
	}

	.news-image {
		max-width: 189px;
	}

	.news-preview {
		max-width: 358px;
	}

	.news-preview__title {
		margin-bottom: 16px;
		padding-bottom: 16px;
	}

	.news-preview__text {
		line-clamp: 3;
		-webkit-line-clamp: 3;
		position: relative;
		overflow: hidden;
		display: -webkit-box;
		-webkit-box-orient: vertical;
	}

	.social-links a {
		height: 212px;
		gap: 20px;
	}
}

@media (max-width: 767px) {
	.news-tabs {
		display: grid;
		gap: 8px;
	}

	.news-tabs__button {
		line-height: 22px;
		font-size: 14px;
		text-align: left;
	}

	.news {
		display: block;
		padding-bottom: 16px;
	}

	.news:not(:last-child) {
		margin-bottom: 16px;
	}

	.news-image, .news-preview {
		max-width: 100%;
		margin-bottom: 16px;
		margin-right: 0;
	}

	.news-preview__title {
		padding-bottom: 0;
		margin-bottom: 16px;
		border-bottom: none;
	}

	.news-show > a {
		width: 100%;
	}

	.social-links {
		grid-template-columns: 1fr;
	}

	.social-links a {
		height: 188px;
		gap: 16px;
	}

	.social-links a:nth-child(3) {
		grid-column: 1 / 2;
	}
}
/* End */


/* Start:/local/components/amega/form/templates/excursion/style.css?17926750207024*/
/* ================================ EXCURSION FORM ================================ */

/* --- сетка: картинка + форма --- */
.excursion-form .primary-form-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding-bottom: 0;
}

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

.excursion-form__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- ряды полей --- */
.excursion-form__row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  padding-bottom: 16px;
}

.excursion-form__field {
  min-width: 0;
  margin-bottom: 0;
}

/* первый ряд: три поля, второй: два */
.excursion-form__field--name,
.excursion-form__field--phone,
.excursion-form__field--email {
  grid-column: span 2;
}

.excursion-form__field--region,
.excursion-form__field--inn {
  grid-column: span 3;
}

/* --- поля --- */
.excursion-form .primary-form-field {
  margin-bottom: 0;
}

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

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

.excursion-form .primary-form-field__input::placeholder {
  color: #919399;
}

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

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

/* --- список городов (поле «Регион») --- */
.excursion-form .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;
  margin-top: -1px;
  padding: 24px;
  background: #FCFCFC;
  border: 1px solid #E3E4E5;
  box-shadow: 0 5px 5px #00000052;
  font-size: 16px;
  z-index: 10;
  transition: .3s;
}

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

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

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

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

/* --- согласие и кнопка --- */
.excursion-form .primary-privacy {
  position: static;
  margin-top: 0;
}

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

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

.excursion-form .primary-checkbox__marker {
  display: block;
  flex: 0 0 24px;
  width: 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");
}

.excursion-form .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");
}

.excursion-form .btn {
  height: 50px;
  border-radius: 4px;
}

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

/* ================================ EXCURSION TOAST ================================ */
.excursion-toast {
  display: none;
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  min-width: 260px;
  max-width: 395px;
  background: var(--color-background-modal);
  border-radius: 4px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.excursion-toast__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
}

.excursion-toast__text {
  color: var(--color-text-primary-body);
}

.excursion-toast__close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.excursion-toast__close:hover svg path {
  stroke: var(--color-primary-hover);
}

/* ---- адаптив ---- */
@media (max-width: 1684px) {
  .excursion-form .primary-form-grid {
    gap: 20px;
    grid-template-columns: 522px auto;
  }
}

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

  .excursion-form__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding-bottom: 20px;
  }

  .excursion-form__field--name,
  .excursion-form__field--phone {
    grid-column: auto;
  }

  .excursion-form__field--email,
  .excursion-form__field--region,
  .excursion-form__field--inn {
    grid-column: 1 / -1;
  }
}

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

  .excursion-form__img {
    object-position: 10% center;
  }
}

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

  .excursion-form__row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .excursion-form .primary-form-grid {
    gap: 16px;
  }

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

  .excursion-form__field--name,
  .excursion-form__field--phone,
  .excursion-form__field--email,
  .excursion-form__field--region,
  .excursion-form__field--inn {
    grid-column: auto;
  }

}

@media (max-width: 550px) {
  .excursion-toast__inner {
    gap: 12px;
    padding: 20px;
  }
}


/* 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 */
/* /dlya-dilerov/css/style.css?179267502017817 */
/* /local/templates/amegazavod_new/components/bitrix/news.list/news.redesign/style.css?17924826863836 */
/* /local/components/amega/form/templates/excursion/style.css?17926750207024 */
/* /parts/city-dropdown-list/style.css?1792675020653 */
