#yasno-auto-offer-form{
  --ya-burgundy:#7a1822;
  --ya-burgundy-dark:#64121b;
  --ya-text:#242326;
  --ya-muted:#777579;
  --ya-line:#dedbd8;
  --ya-field:#f5f2f0;
  --ya-error:#a52530;
  --ya-white:#ffffff;
  --ya-serif:Georgia,"Times New Roman",serif;

  width:100%;
}

#yasno-auto-offer-form *{
  box-sizing:border-box;
}

.ya-offer{
  width:100%;
  max-width:1160px;
  margin:0 auto;
  color:var(--ya-text);
  font-family:Arial,Helvetica,sans-serif;
  font-size:16px;
  line-height:1.45;
}

.ya-offer-card{
  width:100%;
  padding:54px 62px 50px;
  background:#fff;
  border:1px solid #e4e0dd;
  border-radius:8px;
}

.ya-offer-eyebrow{
  margin:0 0 10px;
  color:var(--ya-burgundy);
  font-size:12px;
  font-weight:700;
  letter-spacing:.09em;
  text-transform:uppercase;
}

.ya-offer-title{
  margin:0;
  max-width:820px;
  color:var(--ya-text);
  font-family:var(--ya-serif);
  font-size:40px;
  line-height:1.08;
  font-weight:400;
}

.ya-offer-subtitle{
  max-width:720px;
  margin:16px 0 0;
  color:var(--ya-muted);
  font-size:16px;
  line-height:1.6;
}

.ya-offer-section{
  margin-top:34px;
}

.ya-offer-grid,
.ya-offer-contact-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px 22px;
}

.ya-offer-field{
  min-width:0;
}

.ya-offer-label{
  display:block;
  margin-bottom:9px;
  color:#494649;
  font-size:13px;
  font-weight:700;
}

.ya-offer-required{
  margin-left:2px;
  color:var(--ya-burgundy);
}

.ya-offer-input,
.ya-offer-select,
.ya-offer-picker-button,
.ya-offer-textarea{
  display:block;
  width:100%;
  border:1px solid #dedad7;
  border-radius:3px;
  outline:none;
  background:var(--ya-field);
  color:#323033;
  font:inherit;
  font-size:18px;
  transition:
    border-color .15s ease,
    background .15s ease;
}

.ya-offer-input,
.ya-offer-select,
.ya-offer-picker-button{
  height:64px;
  padding:0 18px;
}

.ya-offer-textarea{
  min-height:132px;
  padding:16px 18px;
  resize:vertical;
  line-height:1.5;
}

.ya-offer-input::placeholder,
.ya-offer-textarea::placeholder{
  color:#aaa6a5;
}

.ya-offer-input:focus,
.ya-offer-select:focus,
.ya-offer-picker-button:focus,
.ya-offer-textarea:focus{
  border-color:var(--ya-burgundy);
  background:#fff;
}

.ya-offer-input[type="number"]{
  -moz-appearance:textfield;
}

.ya-offer-input[type="number"]::-webkit-inner-spin-button,
.ya-offer-input[type="number"]::-webkit-outer-spin-button{
  -webkit-appearance:none;
  margin:0;
}

.ya-offer-comment-meta{
  margin-top:7px;
  color:var(--ya-muted);
  font-size:12px;
}

.ya-offer-field-error{
  min-height:18px;
  margin-top:6px;
  color:var(--ya-error);
  font-size:12px;
}

.ya-offer-field.has-error
.ya-offer-input,
.ya-offer-field.has-error
.ya-offer-select,
.ya-offer-field.has-error
.ya-offer-picker-button{
  border-color:var(--ya-error);
}

.ya-offer-picker{
  position:relative;
}

.ya-offer-picker-button{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  cursor:pointer;
  text-align:left;
}

.ya-offer-picker-button:disabled{
  color:#aaa6a5;
  cursor:default;
}

.ya-offer-picker-value{
  min-width:0;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.ya-offer-picker-arrow{
  flex:0 0 auto;
  color:#777;
  font-size:22px;
  transition:transform .15s ease;
}

.ya-offer-picker.is-open
.ya-offer-picker-arrow{
  transform:rotate(180deg);
}

.ya-offer-picker-panel{
  position:absolute;
  z-index:40;
  top:calc(100% + 6px);
  left:0;
  width:100%;
  max-height:380px;
  overflow:hidden;
  border:1px solid #d9d5d2;
  border-radius:4px;
  background:#fff;
  box-shadow:
    0 14px 38px rgba(34,29,29,.14);
}

.ya-offer-picker-panel[hidden]{
  display:none;
}

.ya-offer-picker-search-wrap{
  padding:12px;
  border-bottom:1px solid #ebe7e4;
  background:#fff;
}

.ya-offer-picker-search{
  display:block;
  width:100%;
  height:46px;
  padding:0 13px;
  border:1px solid #dedad7;
  border-radius:3px;
  outline:none;
  background:#f8f6f5;
  color:#333;
  font:inherit;
  font-size:16px;
}

.ya-offer-picker-search:focus{
  border-color:var(--ya-burgundy);
  background:#fff;
}

.ya-offer-picker-options{
  max-height:310px;
  overflow:auto;
  overscroll-behavior:contain;
}

.ya-offer-picker-option{
  display:block;
  width:100%;
  min-height:48px;
  padding:12px 15px;
  border:0;
  border-bottom:1px solid #f0edeb;
  background:#fff;
  color:#333;
  cursor:pointer;
  font:inherit;
  font-size:16px;
  text-align:left;
}

.ya-offer-picker-option:hover,
.ya-offer-picker-option:focus{
  outline:none;
  background:#f7f2f2;
}

.ya-offer-picker-option.is-selected{
  color:var(--ya-burgundy);
  font-weight:700;
}

.ya-offer-picker-option[hidden]{
  display:none;
}

.ya-offer-slider-wrap{
  margin-top:11px;
}

.ya-offer-range{
  width:100%;
  height:24px;
  margin:0;
  accent-color:var(--ya-burgundy);
  cursor:pointer;
}

.ya-offer-range:disabled{
  cursor:default;
  opacity:.45;
}

.ya-offer-scale{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-top:2px;
  color:#8b8789;
  font-size:11px;
}

.ya-offer-help{
  margin:5px 0 0;
  color:var(--ya-muted);
  font-size:12px;
  line-height:1.4;
}

.ya-offer-photo-block{
  padding:24px;
  border:1px solid #e2ddda;
  border-radius:6px;
  background:#faf8f7;
}

.ya-offer-photo-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
}

.ya-offer-photo-title{
  margin:0;
  color:var(--ya-text);
  font-family:var(--ya-serif);
  font-size:21px;
  line-height:1.25;
  font-weight:400;
}

.ya-offer-photo-copy{
  max-width:650px;
  margin:7px 0 0;
  color:var(--ya-muted);
  font-size:14px;
  line-height:1.5;
}

.ya-offer-photo-limit{
  flex:0 0 auto;
  padding:5px 9px;
  border-radius:20px;
  background:#eee8e6;
  color:#6e6869;
  font-size:11px;
  white-space:nowrap;
}

.ya-offer-photo-picker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:48px;
  margin-top:18px;
  padding:0 17px;
  border:1px solid var(--ya-burgundy);
  border-radius:3px;
  background:#fff;
  color:var(--ya-burgundy);
  cursor:pointer;
  font-size:14px;
  font-weight:700;
}

.ya-offer-photo-picker:hover{
  background:#f8f1f2;
}

.ya-offer-photo-input{
  position:absolute;
  width:1px;
  height:1px;
  opacity:0;
  pointer-events:none;
}

.ya-offer-photo-previews{
  display:grid;
  grid-template-columns:
    repeat(5,minmax(0,1fr));
  gap:10px;
  margin-top:16px;
}

.ya-offer-photo-previews:empty{
  display:none;
}

.ya-offer-photo-preview{
  position:relative;
  aspect-ratio:4/3;
  overflow:hidden;
  border:1px solid #ded9d6;
  border-radius:4px;
  background:#eeeae8;
}

.ya-offer-photo-preview img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

.ya-offer-photo-generic{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:100%;
  color:#857f80;
  font-size:12px;
}

.ya-offer-photo-remove{
  position:absolute;
  top:5px;
  right:5px;
  display:flex;
  align-items:center;
  justify-content:center;
  width:28px;
  height:28px;
  padding:0;
  border:0;
  border-radius:50%;
  background:rgba(35,31,32,.78);
  color:#fff;
  cursor:pointer;
  font-size:21px;
  line-height:1;
}

.ya-offer-photo-counter,
.ya-offer-photo-message{
  margin-top:8px;
  color:var(--ya-muted);
  font-size:12px;
}

.ya-offer-photo-message.is-error{
  color:var(--ya-error);
}

.ya-offer-consent{
  display:flex;
  align-items:flex-start;
  gap:10px;
  margin-top:20px;
  color:#777477;
  cursor:pointer;
  font-size:12px;
  line-height:1.45;
}

.ya-offer-consent input{
  margin-top:2px;
  accent-color:var(--ya-burgundy);
}

.ya-offer-message{
  min-height:20px;
  margin-top:11px;
  color:#35613f;
  font-size:13px;
}

.ya-offer-message.is-error{
  color:var(--ya-error);
}

.ya-offer-submit{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:64px;
  margin-top:4px;
  padding:14px 24px;
  border:0;
  border-radius:3px;
  background:var(--ya-burgundy);
  color:#fff;
  cursor:pointer;
  font:inherit;
  font-size:16px;
  font-weight:700;
  transition:background .15s ease;
}

.ya-offer-submit:hover{
  background:var(--ya-burgundy-dark);
}

.ya-offer-submit:disabled{
  cursor:wait;
  opacity:.7;
}

.ya-offer-reassurance{
  margin:9px 0 0;
  color:var(--ya-muted);
  font-size:12px;
  text-align:center;
}

.ya-offer-success{
  max-width:760px;
  margin:0 auto;
  text-align:center;
}

.ya-offer-success-icon{
  display:flex;
  align-items:center;
  justify-content:center;
  width:48px;
  height:48px;
  margin:0 auto 18px;
  border-radius:50%;
  background:#edf4ee;
  color:#35613f;
  font-size:24px;
  font-weight:700;
}

.ya-offer-success
.ya-offer-title{
  margin:0 auto;
}

.ya-offer-success-copy{
  max-width:560px;
  margin:16px auto 0;
  color:var(--ya-muted);
  font-size:16px;
  line-height:1.6;
}

.ya-offer-success-photo{
  margin:18px 0 0;
  color:#35613f;
  font-size:14px;
  font-weight:700;
}

.ya-offer-photo-retry{
  max-width:520px;
  margin:22px auto 0;
  padding:18px;
  border:1px solid #eadfda;
  border-radius:5px;
  background:#faf7f5;
}

.ya-offer-photo-retry p{
  margin:0 0 12px;
  color:var(--ya-muted);
  font-size:13px;
}

.ya-offer-secondary{
  min-height:44px;
  padding:0 16px;
  border:1px solid var(--ya-burgundy);
  border-radius:3px;
  background:#fff;
  color:var(--ya-burgundy);
  cursor:pointer;
  font:inherit;
  font-size:13px;
  font-weight:700;
}

@media (max-width:820px){
  .ya-offer-card{
    padding:38px 32px 36px;
  }

  .ya-offer-title{
    font-size:34px;
  }

  .ya-offer-grid,
  .ya-offer-contact-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .ya-offer-photo-previews{
    grid-template-columns:
      repeat(4,minmax(0,1fr));
  }
}

@media (max-width:560px){
  .ya-offer-card{
    padding:28px 18px 30px;
    border-radius:4px;
  }

  .ya-offer-title{
    font-size:29px;
  }

  .ya-offer-subtitle{
    font-size:14px;
  }

  .ya-offer-section{
    margin-top:28px;
  }

  .ya-offer-label{
    font-size:12px;
  }

  .ya-offer-input,
  .ya-offer-select,
  .ya-offer-picker-button{
    height:58px;
    font-size:16px;
  }

  .ya-offer-textarea{
    min-height:122px;
    font-size:16px;
  }

  .ya-offer-picker-panel{
    max-height:62vh;
  }

  .ya-offer-picker-search-wrap{
    padding:10px;
  }

  .ya-offer-picker-search{
    height:44px;
    font-size:16px;
  }

  .ya-offer-picker-options{
    max-height:calc(62vh - 66px);
    -webkit-overflow-scrolling:touch;
  }

  .ya-offer-picker-option{
    min-height:46px;
    padding:12px 14px;
    font-size:16px;
  }

  .ya-offer-range{
    height:24px;
  }

  .ya-offer-photo-block{
    padding:18px 15px;
  }

  .ya-offer-photo-head{
    display:block;
  }

  .ya-offer-photo-limit{
    display:inline-block;
    margin-top:10px;
  }

  .ya-offer-photo-picker{
    display:flex;
    width:100%;
  }

  .ya-offer-photo-previews{
    grid-template-columns:
      repeat(3,minmax(0,1fr));
  }

  .ya-offer-submit{
    min-height:58px;
  }
}


/* OFFER_FORM_V3_EXTRA_PARAMS */

.ya-offer-grid-spacer{
  min-height:1px;
}

.ya-offer-extra-section{
  margin-top:26px;
}

.ya-offer-extra{
  overflow:hidden;
  border:1px solid #e4e0dd;
  border-radius:4px;
  background:#faf8f7;
}

.ya-offer-extra-summary{
  display:flex;
  align-items:center;
  gap:9px;
  min-height:58px;
  padding:0 18px;
  cursor:pointer;
  font-size:14px;
  font-weight:700;
  list-style:none;
  user-select:none;
}

.ya-offer-extra-summary::-webkit-details-marker{
  display:none;
}

.ya-offer-extra-plus{
  font-size:21px;
  font-weight:400;
  line-height:1;
  transition:transform .15s ease;
}

.ya-offer-extra[open]
.ya-offer-extra-plus{
  transform:rotate(45deg);
}

.ya-offer-extra-body{
  padding:2px 18px 18px;
}

@media (max-width:760px){
  .ya-offer-grid-spacer{
    display:none;
  }
}


/* OFFER_FORM_POPULAR_GROUPS_V1 */

.ya-offer-picker-group-title{
  padding:10px 15px 8px;
  border-bottom:1px solid #ebe7e4;
  background:#f7f4f3;
  color:#817b7c;
  font-size:11px;
  font-weight:700;
  line-height:1.25;
  letter-spacing:.04em;
  text-transform:uppercase;
}

.ya-offer-picker-group-title[hidden]{
  display:none;
}


/* OFFER_FORM_TYPOGRAPHY_V7_FINAL */

/* Верх */

.ya-offer-eyebrow{
  font-size:14px !important;
}

.ya-offer-title{
  font-size:40px !important;
  line-height:1.1 !important;
}

.ya-offer-subtitle{
  font-size:17px !important;
  line-height:1.5 !important;
}


/* Подписи */

.ya-offer-label{
  font-size:16px !important;
  line-height:1.35 !important;
  margin-bottom:9px !important;
}

.ya-offer-required{
  font-size:16px !important;
}


/* Поля */

.ya-offer-input,
.ya-offer-select,
.ya-offer-picker-button,
.ya-offer-picker-search{
  font-size:17px !important;
  line-height:1.4 !important;
}

.ya-offer-input,
.ya-offer-select,
.ya-offer-picker-button{
  min-height:58px !important;
  padding-top:12px !important;
  padding-bottom:12px !important;
}

.ya-offer-input::placeholder,
.ya-offer-picker-search::placeholder,
.ya-offer-textarea::placeholder{
  font-size:16px !important;
}


/* Марки / модели */

.ya-offer-picker-option{
  min-height:47px !important;
  padding-top:11px !important;
  padding-bottom:11px !important;
  font-size:16px !important;
}

.ya-offer-picker-group-title{
  font-size:12px !important;
}


/* Год / пробег */

.ya-offer-scale{
  font-size:13px !important;
}

.ya-offer-help{
  font-size:14px !important;
  line-height:1.5 !important;
}


/* Дополнительные параметры */

.ya-offer-extra-summary{
  min-height:62px !important;
  font-size:16px !important;
}

.ya-offer-extra-plus{
  font-size:22px !important;
}

.ya-offer-extra-body .ya-offer-label{
  font-size:15px !important;
}

.ya-offer-textarea{
  min-height:130px !important;
  padding:14px !important;
  font-size:16px !important;
  line-height:1.5 !important;
}

.ya-offer-comment-meta{
  font-size:13px !important;
}


/* Фото */

.ya-offer-photo-title{
  font-size:19px !important;
}

.ya-offer-photo-copy{
  font-size:14px !important;
  line-height:1.5 !important;
}

.ya-offer-photo-limit{
  font-size:12px !important;
}

.ya-offer-photo-upload,
.ya-offer-photo-button{
  font-size:14px !important;
}


/* Контакты / согласие */

.ya-offer-consent{
  font-size:14px !important;
  line-height:1.5 !important;
}


/* Сообщения */

.ya-offer-field-error,
.ya-offer-message,
.ya-offer-photo-message,
.ya-offer-photo-counter{
  font-size:13px !important;
}


/* CTA */

.ya-offer-submit{
  min-height:60px !important;
  font-size:17px !important;
}

.ya-offer-reassurance{
  font-size:13px !important;
}


/* Mobile */

@media (max-width:760px){

  .ya-offer-title{
    font-size:32px !important;
  }

  .ya-offer-subtitle{
    font-size:16px !important;
  }

  .ya-offer-label{
    font-size:15px !important;
  }

  .ya-offer-input,
  .ya-offer-select,
  .ya-offer-picker-button,
  .ya-offer-picker-search{
    font-size:16px !important;
  }

  .ya-offer-help{
    font-size:13px !important;
  }
}

/* ==========================================================
   MAIN LEAD V2 — TWO-STAGE / SLIDERS ONLY
   ========================================================== */

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-card{
  padding-top:42px;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-card >
.ya-offer-section:first-child{
  margin-top:0;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-v2-hidden-control{
  display:none !important;
}

#yasno-auto-offer-form.ya-offer-v2
[data-field="year"]
.ya-offer-slider-wrap,

#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"]
.ya-offer-slider-wrap{
  position:relative;
  margin-top:0;
  padding-top:43px;
}

#yasno-auto-offer-form.ya-offer-v2
[data-field="year"]
.ya-offer-help,

#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"]
.ya-offer-help{
  display:none;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-slider-value{
  position:absolute;
  z-index:2;
  top:0;
  left:50%;
  min-width:74px;
  max-width:170px;
  padding:7px 10px;
  border:1px solid #ebe7e4;
  border-radius:5px;
  background:#fff;
  color:#3d393b;
  box-shadow:
    0 3px 12px rgba(31,27,28,.12);
  font-size:14px;
  line-height:1.2;
  text-align:center;
  white-space:nowrap;
  transform:translateX(-50%);
  pointer-events:none;
  transition:left .08s linear;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-slider-value.is-empty{
  min-width:118px;
  color:#8c898b;
  font-size:12px;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage[hidden]{
  display:none !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage{
  margin-bottom:20px;
  opacity:0;
  transform:translateY(-8px);
  transition:
    opacity .18s ease,
    transform .18s ease;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage.is-open{
  opacity:1;
  transform:translateY(0);
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage
.ya-offer-consent{
  margin-top:18px;
}

@media(max-width:640px){

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-card{
    padding-top:30px;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-slider-value{
    max-width:145px;
  }
}


/* ===== MAINLEAD V2 SIMPLE PATCH ===== */

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage{
  opacity:1 !important;
  transform:none !important;
  margin-top:0;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid{
  display:block !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid > *{
  width:100% !important;
  margin-bottom:20px;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-consent{
  display:none !important;
}


/* ===== MAINLEAD V2 CONSENT TEXT ===== */

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-consent-v2-text{
  display:block !important;
  margin-top:10px !important;
  font-size:12px;
  line-height:1.4;
  opacity:.65;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-consent-v2-text input{
  display:none !important;
}



/* ========================================================
   MAINLEAD V2 — SINGLE COLUMN + TWO STAGE
   ======================================================== */

#yasno-auto-offer-form.ya-offer-v2
[data-field="make"],

#yasno-auto-offer-form.ya-offer-v2
[data-field="model"],

#yasno-auto-offer-form.ya-offer-v2
[data-field="year"],

#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"],

#yasno-auto-offer-form.ya-offer-v2
[data-field="price_expectation"]{
  grid-column:1 / -1 !important;
  width:100% !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid{
  display:block !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid > *{
  width:100% !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage[hidden]{
  display:none !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage{
  opacity:0 !important;
  transform:translateY(-8px) !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage.is-open{
  opacity:1 !important;
  transform:none !important;
}


/* ==========================================================
   MAINLEAD V2 — FINAL COMPACT UX
   Старый визуальный стиль + компактная одна колонка
   ========================================================== */

/* Общая ширина формы */
#yasno-auto-offer-form.ya-offer-v2{
  width:100%;
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}

/* Карточка: меньше воздуха */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-card{
  width:100%;
  max-width:720px;
  margin:0 auto;
  padding:30px 34px 32px !important;
  box-sizing:border-box;
}

/* Все основные поля идут строго одно под другим */
#yasno-auto-offer-form.ya-offer-v2
[data-field="make"],
#yasno-auto-offer-form.ya-offer-v2
[data-field="model"],
#yasno-auto-offer-form.ya-offer-v2
[data-field="year"],
#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"],
#yasno-auto-offer-form.ya-offer-v2
[data-field="price_expectation"],
#yasno-auto-offer-form.ya-offer-v2
[data-field="comment"],
#yasno-auto-offer-form.ya-offer-v2
[data-field="name"],
#yasno-auto-offer-form.ya-offer-v2
[data-field="phone"]{
  grid-column:1 / -1 !important;
  width:100% !important;
  max-width:none !important;
}

/* Если родитель был двухколоночным — превращаем в одну колонку */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-grid,
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid{
  grid-template-columns:minmax(0,1fr) !important;
  column-gap:0 !important;
}

/* Равномерные вертикальные интервалы */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-field{
  margin-bottom:22px !important;
}

/* Поля не должны выглядеть огромными */
#yasno-auto-offer-form.ya-offer-v2
input:not([type="range"]):not([type="checkbox"]),
#yasno-auto-offer-form.ya-offer-v2
select,
#yasno-auto-offer-form.ya-offer-v2
textarea{
  min-height:54px;
  box-sizing:border-box;
}

/* Подписи ближе к полям */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-label{
  margin-bottom:8px !important;
}

/* ----------------------------------------------------------
   SLIDERS
   ---------------------------------------------------------- */

#yasno-auto-offer-form.ya-offer-v2
[data-field="year"]
.ya-offer-slider-wrap,

#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"]
.ya-offer-slider-wrap{
  padding-top:38px !important;
  margin-top:0 !important;
  margin-bottom:4px !important;
}

/* Значение над бегунком */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-slider-value{
  top:0 !important;
  min-width:70px !important;
  padding:6px 9px !important;
  border-radius:4px !important;
  font-size:13px !important;
  line-height:1.2 !important;
  box-shadow:0 2px 8px rgba(0,0,0,.10) !important;
}

/* Пустая подсказка */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-slider-value.is-empty{
  min-width:110px !important;
  font-size:12px !important;
}

/* Сам range */
#yasno-auto-offer-form.ya-offer-v2
input[type="range"]{
  width:100% !important;
  height:24px !important;
  margin:0 !important;
  cursor:pointer;
}

/* Chrome / Safari */
#yasno-auto-offer-form.ya-offer-v2
input[type="range"]::-webkit-slider-runnable-track{
  height:4px;
}

#yasno-auto-offer-form.ya-offer-v2
input[type="range"]::-webkit-slider-thumb{
  width:18px;
  height:18px;
  margin-top:-7px;
  cursor:pointer;
}

/* Firefox */
#yasno-auto-offer-form.ya-offer-v2
input[type="range"]::-moz-range-track{
  height:4px;
}

#yasno-auto-offer-form.ya-offer-v2
input[type="range"]::-moz-range-thumb{
  width:18px;
  height:18px;
  cursor:pointer;
}

/* Подписи min / max */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-scale{
  margin-top:2px !important;
  font-size:12px !important;
}

/* ----------------------------------------------------------
   PHOTO + ADDITIONAL PARAMETERS
   ---------------------------------------------------------- */

/* Не даём необязательным блокам раздувать страницу */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photo-section,
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos{
  margin-top:18px !important;
  margin-bottom:20px !important;
}

/* ----------------------------------------------------------
   CONTACT STAGE
   ---------------------------------------------------------- */

/* Скрытый блок физически не занимает место */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage[hidden]{
  display:none !important;
  height:0 !important;
  min-height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

/* После Оценить */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage{
  width:100%;
  margin-top:24px;
  margin-bottom:4px;
  opacity:0;
  transform:translateY(-6px);
  transition:
    opacity .18s ease,
    transform .18s ease;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage.is-open{
  opacity:1 !important;
  transform:none !important;
}

/* Имя и телефон по одному в строке */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid{
  display:block !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid > *{
  width:100% !important;
  max-width:none !important;
  margin-bottom:20px !important;
}

/* Текст согласия без checkbox */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-consent-v2-text{
  display:block !important;
  margin:4px 0 18px !important;
  padding:0 !important;
  font-size:11px !important;
  line-height:1.4 !important;
  opacity:.58;
}

/* Кнопка без огромной высоты */
#yasno-auto-offer-form.ya-offer-v2
#offerSubmit{
  min-height:56px !important;
  padding:14px 20px !important;
  font-size:16px !important;
}

/* Мобильная версия */
@media(max-width:760px){

  #yasno-auto-offer-form.ya-offer-v2{
    max-width:100%;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-card{
    max-width:100%;
    padding:22px 18px 26px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-field{
    margin-bottom:18px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  #offerSubmit{
    font-size:15px !important;
  }
}


/* ==========================================================
   MAINLEAD V2 — DENSITY TUNE
   Более плотная вертикальная компоновка
   ========================================================== */

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-card{
  padding:24px 34px 24px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-field{
  margin-bottom:14px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-label{
  margin-bottom:6px !important;
}

#yasno-auto-offer-form.ya-offer-v2
[data-field="year"]
.ya-offer-slider-wrap,

#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"]
.ya-offer-slider-wrap{
  padding-top:30px !important;
  margin-bottom:0 !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-scale{
  margin-top:0 !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photo-section,
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos{
  margin-top:12px !important;
  margin-bottom:14px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage{
  margin-top:16px !important;
  margin-bottom:0 !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid > *{
  margin-bottom:14px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-consent-v2-text{
  margin:2px 0 12px !important;
}

#yasno-auto-offer-form.ya-offer-v2
#offerSubmit{
  margin-top:2px !important;
}

@media(max-width:760px){
  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-card{
    padding:18px 16px 20px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-field{
    margin-bottom:12px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-contact-grid > *{
    margin-bottom:12px !important;
  }
}


/* ==========================================================
   MAINLEAD V2 — DENSITY TUNE 2
   Еще немного плотнее
   ========================================================== */

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-card{
  padding:20px 30px 20px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-field{
  margin-bottom:10px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-label{
  margin-bottom:4px !important;
}

#yasno-auto-offer-form.ya-offer-v2
[data-field="year"]
.ya-offer-slider-wrap,

#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"]
.ya-offer-slider-wrap{
  padding-top:24px !important;
  margin-bottom:0 !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-slider-value{
  padding:5px 8px !important;
  font-size:12px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-scale{
  margin-top:0 !important;
  font-size:11px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photo-section,
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos{
  margin-top:8px !important;
  margin-bottom:10px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage{
  margin-top:12px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid > *{
  margin-bottom:10px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-consent-v2-text{
  margin:2px 0 10px !important;
}

#yasno-auto-offer-form.ya-offer-v2
#offerSubmit{
  min-height:52px !important;
  margin-top:0 !important;
}

@media(max-width:760px){
  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-card{
    padding:16px 14px 18px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-field{
    margin-bottom:9px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-contact-grid > *{
    margin-bottom:9px !important;
  }
}


/* ==========================================================
   MAINLEAD V2 — COMPACT FINAL TUNE
   ========================================================== */

/* Еще немного убираем вертикальный воздух */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-card{
  padding:14px 26px 14px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-field{
  margin-bottom:6px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-label{
  margin-bottom:3px !important;
}

/* Ползунки компактнее по высоте */
#yasno-auto-offer-form.ya-offer-v2
[data-field="year"]
.ya-offer-slider-wrap,
#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"]
.ya-offer-slider-wrap{
  padding-top:18px !important;
  margin-bottom:0 !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-slider-value{
  padding:4px 7px !important;
  font-size:11px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-scale{
  margin-top:-1px !important;
  font-size:10px !important;
}

/* Доп. параметры ближе к соседним блокам */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-extra-toggle{
  margin-top:4px !important;
  margin-bottom:6px !important;
}

/* Блок фото заметно компактнее */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photo-section,
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos{
  margin-top:5px !important;
  margin-bottom:6px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos{
  padding:12px 16px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos-title{
  margin-bottom:8px !important;
}

/* Старую подпись "Необязательно. Фотографии..." убираем */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos-subtitle{
  display:none !important;
}

/* Контакты после Оценить тоже плотнее */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-stage{
  margin-top:8px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid > *{
  margin-bottom:6px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-consent-v2-text{
  margin:1px 0 7px !important;
}

/* Кнопка */
#yasno-auto-offer-form.ya-offer-v2
#offerSubmit{
  min-height:48px !important;
  margin-top:0 !important;
}

@media(max-width:760px){

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-card{
    padding:12px 12px 14px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-field{
    margin-bottom:6px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-photos{
    padding:11px 12px !important;
  }
}


/* ==========================================================
   MAINLEAD V2 — COMPACT V15
   Только плотность. Логика формы не меняется.
   ========================================================== */

/* Главная причина большого воздуха — gap сетки */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-grid{
  row-gap:14px !important;
  gap:14px 0 !important;
}

/* Карточка */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-card{
  padding:12px 24px 14px !important;
}

/* Обычные поля */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-field{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* Подпись ближе к самому полю */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-label{
  margin-top:0 !important;
  margin-bottom:5px !important;
}

/* Марка / модель / обычные input — немного ниже */
#yasno-auto-offer-form.ya-offer-v2
input:not([type="range"]):not([type="checkbox"]),
#yasno-auto-offer-form.ya-offer-v2
select,
#yasno-auto-offer-form.ya-offer-v2
textarea{
  min-height:48px !important;
}

/* Год и пробег занимают меньше вертикального места */
#yasno-auto-offer-form.ya-offer-v2
[data-field="year"]
.ya-offer-slider-wrap,
#yasno-auto-offer-form.ya-offer-v2
[data-field="mileage"]
.ya-offer-slider-wrap{
  padding-top:17px !important;
  margin-top:0 !important;
  margin-bottom:0 !important;
}

/* Плашка значения компактнее */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-slider-value{
  padding:3px 7px !important;
  line-height:1.15 !important;
}

/* Ожидание по цене не отделяем большим воздухом */
#yasno-auto-offer-form.ya-offer-v2
[data-field="price_expectation"]{
  margin-top:0 !important;
}

/* Доп.параметры */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-extra-toggle{
  margin-top:2px !important;
  margin-bottom:2px !important;
}

/* Фото */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photo-section,
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos{
  margin-top:4px !important;
  margin-bottom:4px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-photos{
  padding:11px 15px !important;
}

/* Первая кнопка ближе к последнему блоку */
#yasno-auto-offer-form.ya-offer-v2
#offerSubmit{
  margin-top:4px !important;
}

/* Контакты после первого шага — та же плотность */
#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid{
  gap:12px 0 !important;
  row-gap:12px !important;
}

#yasno-auto-offer-form.ya-offer-v2
.ya-offer-contact-grid > *{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

@media(max-width:760px){

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-grid{
    row-gap:12px !important;
    gap:12px 0 !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  .ya-offer-card{
    padding:10px 12px 12px !important;
  }

  #yasno-auto-offer-form.ya-offer-v2
  input:not([type="range"]):not([type="checkbox"]),
  #yasno-auto-offer-form.ya-offer-v2
  select,
  #yasno-auto-offer-form.ya-offer-v2
  textarea{
    min-height:46px !important;
  }
}



/* ============================================================
   CONTACT_CONVERSION_V1
   Второй шаг: только телефон + объяснение ценности
   ============================================================ */

.ya-offer-v2 .ya-offer-v2-contact-intro {
  margin: 0 0 18px;
  padding: 0;
}

.ya-offer-v2 .ya-offer-v2-contact-title {
  margin: 0;
  padding: 0;

  font-family:
    'Manrope',
    Arial,
    sans-serif;

  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;

  color: #25272A;
}

.ya-offer-v2 .ya-offer-v2-contact-subtitle {
  margin: 6px 0 0;
  padding: 0;

  max-width: 700px;

  font-family:
    'Manrope',
    Arial,
    sans-serif;

  font-size: 15px;
  line-height: 1.5;
  font-weight: 400;

  color: #707276;
}

/* После удаления имени телефон занимает всю строку */
.ya-offer-v2 [data-field="phone"] {
  grid-column: 1 / -1;
}

/* Телефон — единственное требуемое действие */
.ya-offer-v2 [data-field="phone"] .ya-offer-input {
  min-height: 58px;
}

/* Финальное reassurance визуально вторично */
.ya-offer-v2 .ya-offer-reassurance {
  font-weight: 500;
}


/* MOBILE */
@media (max-width: 640px) {

  .ya-offer-v2 .ya-offer-v2-contact-intro {
    margin-bottom: 16px;
  }

  .ya-offer-v2 .ya-offer-v2-contact-title {
    font-size: 18px;
    line-height: 1.35;
  }

  .ya-offer-v2 .ya-offer-v2-contact-subtitle {
    margin-top: 5px;

    font-size: 14px;
    line-height: 1.5;
  }

  .ya-offer-v2 [data-field="phone"] .ya-offer-input {
    min-height: 54px;
  }

}



/* ============================================================
   CONTACT_CONVERSION_V2
   Финальный шаг оценки
   ============================================================ */

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion {
  margin-top: 22px;

  padding: 24px;

  background-color: #FAF8F7;

  border:
    1px solid rgba(142, 32, 43, 0.11);

  border-radius: 2px;
}


/* INTRO */

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
.ya-offer-v2-contact-intro {
  margin: 0 0 20px;
  padding: 0;
}


/* EYEBROW */

.ya-offer-v2
.ya-offer-v2-contact-eyebrow {
  margin: 0 0 6px;
  padding: 0;

  font-family:
    'Manrope',
    Arial,
    sans-serif;

  font-size: 11px;
  line-height: 1.3;

  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: #8E202B;
}


/* TITLE */

.ya-offer-v2
.ya-offer-v2-contact-title {
  margin: 0;
  padding: 0;

  font-family:
    'Manrope',
    Arial,
    sans-serif;

  font-size: 23px;
  line-height: 1.3;

  font-weight: 700;

  letter-spacing: -0.015em;

  color: #25272A;
}


/* VEHICLE SUMMARY */

.ya-offer-v2
.ya-offer-v2-vehicle-summary {
  display: inline-flex;
  align-items: center;

  margin: 12px 0 0;

  padding: 8px 11px;

  background-color:
    rgba(142, 32, 43, 0.055);

  border:
    1px solid rgba(142, 32, 43, 0.09);

  border-radius: 2px;

  font-family:
    'Manrope',
    Arial,
    sans-serif;

  font-size: 14px;
  line-height: 1.35;

  font-weight: 600;

  color: #3A3C40;
}


/* SUBTITLE */

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
.ya-offer-v2-contact-subtitle {
  margin: 12px 0 0;
  padding: 0;

  max-width: 680px;

  font-family:
    'Manrope',
    Arial,
    sans-serif;

  font-size: 15px;
  line-height: 1.5;

  font-weight: 400;

  color: #66686C;
}


/* PHONE */

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
[data-field="phone"] {
  grid-column: 1 / -1;
}

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
[data-field="phone"]
.ya-offer-input {
  min-height: 60px;

  background-color: #FFFFFF;

  border-color:
    rgba(32, 33, 36, 0.20);
}

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
[data-field="phone"]
.ya-offer-input:focus {
  border-color: #8E202B;

  box-shadow:
    0 0 0 2px rgba(142, 32, 43, 0.07);
}


/* FINAL BUTTON */

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
#offerSubmit {
  min-height: 58px;

  font-size: 16px;
  font-weight: 700;
}


/* REASSURANCE */

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
.ya-offer-reassurance {
  margin-top: 9px;

  font-size: 12px;
  line-height: 1.45;

  font-weight: 500;

  color: #74767A;
}


/* MOBILE */

@media (max-width: 640px) {

  .ya-offer-v2
  .ya-offer-v2-contact-stage-conversion {
    margin-top: 18px;

    padding: 20px 16px;
  }

  .ya-offer-v2
  .ya-offer-v2-contact-stage-conversion
  .ya-offer-v2-contact-intro {
    margin-bottom: 18px;
  }

  .ya-offer-v2
  .ya-offer-v2-contact-eyebrow {
    font-size: 10px;
  }

  .ya-offer-v2
  .ya-offer-v2-contact-title {
    font-size: 21px;
  }

  .ya-offer-v2
  .ya-offer-v2-vehicle-summary {
    display: flex;

    width: 100%;

    margin-top: 10px;

    padding: 8px 10px;

    font-size: 13px;
  }

  .ya-offer-v2
  .ya-offer-v2-contact-stage-conversion
  .ya-offer-v2-contact-subtitle {
    margin-top: 10px;

    font-size: 14px;
  }

  .ya-offer-v2
  .ya-offer-v2-contact-stage-conversion
  [data-field="phone"]
  .ya-offer-input {
    min-height: 54px;
  }

  .ya-offer-v2
  .ya-offer-v2-contact-stage-conversion
  #offerSubmit {
    min-height: 54px;

    font-size: 15px;
  }

}



/* ============================================================
   CONTACT_CONVERSION_V3_ACTIONS_INSIDE
   Кнопка + reassurance входят в карточку финального шага
   ============================================================ */

.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
#offerSubmit {
  display: flex;

  width: 100%;

  margin-top: 18px;

  min-height: 58px;

  align-items: center;
  justify-content: center;
}


/*
 * Подпись теперь идёт непосредственно
 * под CTA внутри той же карточки.
 */
.ya-offer-v2
.ya-offer-v2-contact-stage-conversion
.ya-offer-reassurance {
  margin:
    9px 0 0;

  padding: 0;

  text-align: center;

  font-size: 12px;
  line-height: 1.45;

  font-weight: 500;

  color: #74767A;
}


/*
 * Чуть больше воздуха снизу,
 * чтобы CTA не прижимался к границе карточки.
 */
.ya-offer-v2
.ya-offer-v2-contact-stage-conversion {
  padding-bottom: 22px;
}


@media (max-width: 640px) {

  .ya-offer-v2
  .ya-offer-v2-contact-stage-conversion
  #offerSubmit {
    margin-top: 16px;

    min-height: 54px;
  }

  .ya-offer-v2
  .ya-offer-v2-contact-stage-conversion
  .ya-offer-reassurance {
    margin-top: 8px;

    font-size: 11px;
  }

}

