/* ================= СТРАНИЦА «ПОДДЕРЖКА» (15.11.2026) =================
   Светлая тема страницы модели (model-light.css) + свои элементы формы обращения:
   строки батарей (модель + номер), описание, фото, выбор канала ответа. */

.support-page .s-support { min-height: calc(100vh - 120px); padding-top: clamp(110px, 16vh, 170px); }
.s-intro a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.s-intro a:hover { color: var(--accent); }
.support-page .m-eyebrow { color: var(--accent); }

.s-form .s-fields { display: grid; gap: inherit; }
.s-form .s-fields[hidden] { display: none; }
.s-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.s-form textarea {
  padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  font: 500 16px/1.45 "Inter", sans-serif; outline: none; resize: vertical; min-height: 112px; text-transform: none; letter-spacing: 0;
}
.s-form textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(15, 157, 88, 0.15); }
.s-form textarea::placeholder { color: #a1a1a6; }

/* батареи: строка = модель + номер + убрать */
.s-batts__list { display: grid; gap: 10px; }
.s-batt { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) 40px; gap: 8px; align-items: center; }
.s-batt:only-child { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.s-batt:only-child .s-batt__del { display: none; }
.s-batt select:invalid { color: #a1a1a6; }
.s-batt__del {
  width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-grey);
  font-size: 24px; line-height: 1; cursor: pointer; transition: background 0.2s, color 0.2s;
}
.s-batt__del:hover { background: var(--fill-2); color: var(--ink); }
.s-add {
  justify-self: start; margin-top: 4px; padding: 0; border: 0; background: none; cursor: pointer;
  font: 600 15px/1.2 "Inter Tight", "Inter", sans-serif; color: var(--accent);
}
.s-add:hover { text-decoration: underline; text-underline-offset: 3px; }
.s-add[hidden] { display: none; }

.s-group { display: grid; gap: 10px; }
.s-label { color: var(--ink-grey); font: 600 15px/1.2 "Inter Tight", "Inter", sans-serif; }
.theme-light .s-form .m-form__err { color: #d70015; }
.s-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.s-thumbs:empty { display: none; }
.s-thumb { position: relative; }
.s-thumb img { width: 84px; height: 84px; object-fit: cover; border-radius: 14px; display: block; border: 1px solid var(--line); }
.s-thumb button {
  position: absolute; top: -8px; right: -8px; width: 24px; height: 24px; border: 0; border-radius: 50%;
  background: #1d1d1f; color: #fff; font-size: 16px; line-height: 24px; cursor: pointer;
}

/* канал ответа — отдельные пилюли, как в калькуляторе страницы модели */
.s-way { display: flex; flex-wrap: wrap; gap: 8px; }
.s-way button {
  height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px var(--line);
  font: 600 15px/1 "Inter Tight", "Inter", sans-serif; color: var(--ink); cursor: pointer; transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}
@media (hover: hover) { .s-way button:hover { box-shadow: inset 0 0 0 1px #86868b; } }
.s-way button.is-on { background: var(--ink); color: #fff; box-shadow: none; }

.s-done { padding: 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); }
.s-done[hidden] { display: none; }
.s-done__title { display: block; font: 600 clamp(22px, 2vw, 30px)/1.2 "Inter Tight", "Inter", sans-serif; color: var(--ink); margin-bottom: 10px; }
.s-done p { margin: 0; font-size: 17px; line-height: 1.45; }

@media (max-width: 760px) {
  .support-page .s-support { padding-top: 96px; }
  .s-two { grid-template-columns: 1fr; gap: 26px; }
  .s-form textarea { border-radius: 16px; padding: 16px 18px; font-size: 17px; }
  .s-batt { grid-template-columns: minmax(0, 1fr) 40px; row-gap: 8px; }
  .s-batt select { grid-column: 1 / -1; }
  .s-batt:only-child { grid-template-columns: minmax(0, 1fr); }
  .s-way button { height: 44px; font-size: 16px; }
  .s-add { font-size: 16px; }
}
