

/* Start:/local/templates/garantiruem/css/exchange_form2.min.css?17863738499596*/
/* ==========================================================================
   exchange_form.min.css — форма Trade-in (/sale/trade-in/)

   Осовременённая версия: карточная вёрстка, отступы под мобильные
   устройства, чекбоксы «Кол-во комнат» в виде удобных для тапа плиток.
   Все тексты не менялись — правки только визуальные.

   Цвета взяты из вашего исходного файла (ничего не придумано):
   акцент #c61a1a / hover #ce3c3c, текст #16112f, рамки #d3d3d3,
   фоны #f9f9f9 и #f5f5f5.
   ========================================================================== */

:root {
  --ef-text: #16112f;
  --ef-muted: #6b6880;
  --ef-accent: #c61a1a;
  --ef-accent-hover: #ce3c3c;
  --ef-border: #d3d3d3;
  --ef-bg-section: #f9f9f9;
  --ef-bg-second: #f5f5f5;
  --ef-bg-card: #ffffff;
  --ef-bg-field: #fbfbfc;
  --ef-radius-lg: 16px;
  --ef-radius-md: 12px;
  --ef-radius-sm: 8px;
  --ef-shadow: 0 8px 24px rgba(22, 17, 47, 0.08);
  --ef-shadow-hover: 0 14px 32px rgba(22, 17, 47, 0.13);
  --ef-font: 'GothamPro', Arial, sans-serif;
}

.mt-27px { margin-top: 27px; }

.exchange_form {
  background-color: var(--ef-bg-section);
  padding: 40px 0;
  font-family: var(--ef-font);
  color: var(--ef-text);
}

.exchange_form * { box-sizing: border-box; }

.exchange_form .container { max-width: 1200px; }

.exchange_form form-group label { width: 100%; }

.exchange_form h2 {
  color: var(--ef-text);
  font-size: clamp(22px, 3.2vw, 30px);
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 24px;
}

/* -------------------------------------------------------------------- */
/* КАРТОЧКА ФОРМЫ                                                       */
/* -------------------------------------------------------------------- */

.exchange_form__card {
  background: var(--ef-bg-card);
  border-radius: var(--ef-radius-lg);
  box-shadow: var(--ef-shadow-hover);
  padding: clamp(18px, 4vw, 36px);
}

.exchange_form__field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ef-text);
  margin-bottom: 8px;
}

.form-group { margin-bottom: 16px; }

.exchange_form__select,
.exchange_form__text {
  width: 100%;
  color: var(--ef-text);
  font: 15px var(--ef-font);
  border-radius: var(--ef-radius-sm);
  border: 1px solid var(--ef-border);
  background-color: var(--ef-bg-field);
  background-clip: padding-box;
  transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out, background-color .15s ease-in-out;
}

.exchange_form__text {
  padding: 0 16px;
  height: 50px;
  line-height: 1.5;
}

.exchange_form__select {
  padding: 0 40px 0 16px;
  height: 50px;
  line-height: 50px;
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b6880' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.exchange_form__select:focus,
.exchange_form__text:focus {
  outline: none;
  border-color: var(--ef-accent);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(198, 26, 26, 0.1);
}

/* -------------------------------------------------------------------- */
/* ДВЕ КОЛОНКИ: СТАРАЯ КВАРТИРА / НОВОСТРОЙКА                           */
/* -------------------------------------------------------------------- */

.exchange_form__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 22px 0 6px;
}

@media (max-width: 767px) {
  .exchange_form__columns { grid-template-columns: 1fr; }
}

.exchange_form__column {
  background: var(--ef-bg-section);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-md);
  padding: 18px;
}

.exchange_form__column .form-group:last-child { margin-bottom: 0; }

.exchange_form__column label b {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--ef-text);
  margin-bottom: 8px;
}

/* «Кол-во комнат» — плитки в один ряд с переносом, без узких колонок */
.exchange_form__rooms-label {
  display: block;
  font-size: 13px;
  color: var(--ef-muted);
  margin: 14px 0 8px;
}

.exchange_form__rooms {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.exchange_form__rooms .form-check-inline {
  margin: 0;
}

.exchange_form__checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  margin: 0;
}

.exchange_form__checkbox + label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  font: 700 15px var(--ef-font);
  color: var(--ef-text);
  border: 1px solid var(--ef-border);
  border-radius: var(--ef-radius-sm);
  background: #fff;
  cursor: pointer;
  transition: all .15s ease;
}

.exchange_form__checkbox + label::before,
.exchange_form__checkbox + label::after {
  content: none;
}

.exchange_form__checkbox:checked + label {
  background: var(--ef-accent);
  border-color: var(--ef-accent);
  color: #fff;
}

/* -------------------------------------------------------------------- */
/* КНОПКА ОТПРАВКИ                                                      */
/* -------------------------------------------------------------------- */

.exchange_form__submit {
  background: var(--ef-accent);
  border: 0;
  color: #fff;
  font: 700 16px var(--ef-font);
  text-transform: uppercase;
  letter-spacing: .02em;
  padding: 0 34px;
  width: auto;
  min-width: 240px;
  max-width: none;
  height: 54px;
  max-height: none;
  border-radius: var(--ef-radius-sm);
  text-align: center;
  cursor: pointer;
  margin-top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .2s linear, transform .1s ease;
}

.exchange_form__submit:hover {
  background: var(--ef-accent-hover);
  text-decoration: none;
}

.exchange_form__submit:active { transform: translateY(1px); }

.exchange_form__submit:disabled { opacity: .7; cursor: default; }

@media (max-width: 575px) {
  .exchange_form__submit { width: 100%; min-width: 0; }
}

/* -------------------------------------------------------------------- */
/* КОНТАКТНЫЙ БЛОК ПОД ФОРМОЙ                                           */
/* -------------------------------------------------------------------- */

.exchange_form__contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--ef-border);
}

.exchange_form_icon {
  display: flex;
  align-items: center;
}

.exchange_form_icon__img {
  width: 64px;
  flex: 0 0 auto;
  margin: 0 16px 0 0;
}

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

.exchange_form_icon__text {
  color: var(--ef-text);
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.exchange_form_link,
.exchange_form_link:hover {
  color: var(--ef-text);
  font-weight: 700;
}

.exchange_form_link:hover { color: var(--ef-accent); }

.block_form_icon__img { width: 164px; float: left; margin: 0 16px 30px 0; }
.block_form_icon__text { color: var(--ef-text); margin: 10px 0 0 20px; }

/* -------------------------------------------------------------------- */
/* ВТОРОЙ БЛОК — ПРЕИМУЩЕСТВА                                           */
/* -------------------------------------------------------------------- */

.exchange_form__second {
  background-color: var(--ef-bg-second);
  padding: 40px 0;
  margin: 32px 0 0;
}

.exchange_form__second .row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

/* Карточка */
.exchange_form__second .exchange_form_icon {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  box-sizing: border-box !important;

  gap: 14px;
  background: var(--ef-bg-card);
  border-radius: var(--ef-radius-md);
  padding: 20px;
  box-shadow: var(--ef-shadow);
  transition: transform .18s ease, box-shadow .18s ease;

  overflow: hidden;
}

.exchange_form__second .exchange_form_icon:hover {
  transform: translateY(-3px);
  box-shadow: var(--ef-shadow-hover);
}

/* Иконка */
.exchange_form__second .exchange_form_icon__img {
  width: 48px;
  min-width: 48px;
  max-width: 48px;
  height: auto;
  margin: 0;
  flex-shrink: 0;
}

/* Текст */
.exchange_form__second .exchange_form_icon__text {
  width: 100%;
  min-width: 0;
  max-width: 100%;

  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;

  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
}

/* Мобильная версия */
@media (max-width: 767px) {
  .exchange_form__second .row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* -------------------------------------------------------------------- */
/* МОБИЛЬНЫЕ ПРАВКИ                                                     */
/* -------------------------------------------------------------------- */

@media (max-width: 575px) {
  .exchange_form { padding: 28px 0; }
  .exchange_form__card { border-radius: var(--ef-radius-md); }
  .exchange_form_icon__img { width: 48px; margin-right: 12px; }
  .exchange_form__second { padding: 28px 0; margin-top: 24px; }
}
/* End */


/* Start:/local/templates/garantiruem/components/bitrix/system.pagenavigation/bootstrap_v4_custom/style.css?1706358719853*/
.page-link,
.page-link:hover {
	color: var(--theme-color-primary);
}

.page-item.active .page-link {
	color: var(--theme-b-tx-primary);
	background-color: var(--theme-color-primary);
	border-color: var(--theme-color-primary);
}

.page-link:focus {
	box-shadow: 0 0 0 0.2rem var(--theme-b-sd-primary);
}

.pagination-container.d-flex.justify-content-between.r17{
	display: inline-block!important;
}
.pagination-container.d-flex.justify-content-between.r17 ul.pagination.pagination-sm{
	display: inline-flex;
    margin: 15px 0;
}
.pagination-container.d-flex.justify-content-between.r17 ul.pagination.pagination-sm .page-link{
	color: #ce3c3c;
}
.pagination-container.d-flex.justify-content-between.r17 ul.pagination.pagination-sm .page-item.active .page-link {
    z-index: 1;
    color: #fff;
    background-color: #ce3c3c;
    border-color: #ce3c3c;
}
/* End */


/* Start:/local/templates/garantiruem/components/seologic/objects.map/.default/style.min.css?1687163758519*/
#YMapsID{height:100%;width:100%}.pin-icon-text{position:relative;display:inline-block;vertical-align:top;width:90px;height:33px;margin:0;padding:9px 8px 0;white-space:nowrap;background:#fff;font-weight:900;font-size:15px;color:#171717;text-align:center}.pin-icon-text:after{content:'';position:absolute;left:50%;bottom:-6px;width:13px;height:6px;margin:0 0 0 -7px;background:url(/local/templates/garantiruem/components/seologic/objects.map/.default/./images/map-point-arrow.png) no-repeat 0 0}.popover.in-cluster{width:400px;max-width:400px}@media(max-width:1200px){#YMapsID{height:200px}}
/* End */
/* /local/templates/garantiruem/css/exchange_form2.min.css?17863738499596 */
/* /local/templates/garantiruem/components/bitrix/system.pagenavigation/bootstrap_v4_custom/style.css?1706358719853 */
/* /local/templates/garantiruem/components/seologic/objects.map/.default/style.min.css?1687163758519 */
