/* ---------- Пробник по кнопке: модалка (решение владельца 05.11.2026) ---------- */
.km-trial-cta{text-align:center}
.km-trial-cta-p{margin:12px auto 18px;max-width:640px;color:#b8b8d0;font:400 15px/1.5 Manrope,system-ui,sans-serif}
.km-trial-cta-btn{
  display:inline-flex;align-items:center;justify-content:center;
  height:52px;padding:0 32px;border:0;border-radius:14px;
  background:linear-gradient(135deg,#f4e4a1,#d4af37);color:#1a1030;
  font:800 16px/1 Manrope,system-ui,sans-serif;cursor:pointer;
  box-shadow:0 6px 22px rgba(212,175,55,.28);transition:filter .15s ease,transform .15s ease}
.km-trial-cta-btn:hover{filter:brightness(1.05)}
.km-trial-cta-btn:active{transform:scale(.985)}
.km-trial-cta-note{margin:12px 0 0;color:rgba(244,241,232,.55);font:400 13px/1.4 Manrope,system-ui,sans-serif}

.km-modal[hidden]{display:none!important}
body.km-modal-open{overflow:hidden}
.km-modal{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;padding:24px}
.km-modal__backdrop{position:absolute;inset:0;background:rgba(10,8,24,.62);backdrop-filter:blur(3px)}
.km-modal__dialog{position:relative;width:min(880px,100%);max-height:calc(100vh - 48px);overflow:auto;
  padding:28px 28px 24px;border-radius:24px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.35)}
.km-modal__x{position:absolute;top:14px;right:14px;display:inline-flex;align-items:center;justify-content:center;
  width:36px;height:36px;border:0;border-radius:50%;background:#f7f6f2;color:#4c4658;cursor:pointer}
.km-modal__x:hover{background:#efede7}
.km-modal__title{margin:0 0 4px;font:800 24px/1.2 Manrope,system-ui,sans-serif;color:#1a1030}
.km-modal__sub{margin:0 0 18px;color:#6e6879;font:400 14px/1.45 Manrope,system-ui,sans-serif}
@media(max-width:640px){
  .km-modal{padding:0}
  .km-modal__dialog{width:100%;height:100%;max-height:none;border-radius:0;padding:20px 16px}
}

/* ============================================================
   Картомастер — новый загрузчик (прототип)
   Общая часть для двух режимов:
     .loader--trial  — пробник: шаги сверху, площадка + фон, остальное автоматом
     .loader--full   — карточка/удаление фона: кнопки-группы услуг, всё по отдельности
   ============================================================ */

.loader {
  --ink: #1A1030;
  --ink-2: #6E6879;
  --ink-3: #A9A4B2;
  --line: #E9E6DF;
  --line-2: #F2F0EB;
  --soft: #F7F6F2;
  --soft-2: #FBFAF7;
  --gold: #D4AF37;
  --gold-2: #F4E4A1;
  --gold-ink: #7A5F0E;
  --ok: #2E7D4F;
  --field-w: 760px;
  width: 100%;
  max-width: var(--field-w);
  margin: 0 auto;
  color: var(--ink);
  font-family: 'Manrope', 'Segoe UI', Arial, sans-serif;
  text-align: left;
}
.loader *, .loader *::before, .loader *::after { box-sizing: border-box; }
.loader [hidden] { display: none !important; }

/* ---------- Шаги над полем (вариант Б) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(var(--steps, 3), minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
}
.step {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink-3);
  font-size: 13.5px;
  line-height: 1.2;
  font-weight: 600;
  transition: color .18s ease, border-color .18s ease, background .18s ease;
}
.step__n {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--soft);
  color: var(--ink-3);
  font-size: 12px;
  font-weight: 800;
  transition: background .18s ease, color .18s ease;
}
.step__t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.step.is-done { color: var(--ink-2); border-color: var(--line); }
.step.is-done .step__n { background: #EAF3EC; color: var(--ok); }

.step.is-active {
  color: var(--ink);
  border-color: rgba(212, 175, 55, .65);
  background: linear-gradient(135deg, rgba(244, 228, 161, .22), rgba(212, 175, 55, .08));
  font-weight: 700;
}
.step.is-active .step__n {
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #3A2A00;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, .16);
}

/* ---------- Поле ввода ---------- */
.field {
  position: relative;
  width: 100%;
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px 20px 14px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.field:focus-within { border-color: #CFC9DA; box-shadow: 0 1px 0 rgba(26, 16, 48, .02), 0 6px 24px rgba(26, 16, 48, .05); }
.field.is-dragover { border-color: var(--gold); background: #FFFDF6; }
.field.has-error { border-color: #E3B5B1; }
.field--photos { min-height: 134px; }

.field__textarea {
  width: 100%;
  min-height: 44px;
  max-height: 76px;
  padding: 0;
  border: 0;
  outline: 0;
  resize: none;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  overflow: hidden;
}
.field__textarea::placeholder { color: var(--ink-3); }
.field__textarea::-webkit-scrollbar { width: 0; }

.field__foot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  min-width: 0;
}

/* В полном режиме подвал уходит на свою строку под текстом поля */
.field--full { min-height: 118px; padding: 16px 20px 14px; }
.field--full .field__textarea { min-height: 40px; }
.field--full .field__foot { flex-wrap: nowrap; row-gap: 8px; margin-top: 10px; align-items: center; }
.field--full .groups { flex: 0 1 auto; order: 2; }

/* Шаги и чипы — внутри одной белой карточки, как на референсе (U1/U4) */
.card-head {
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 24px 24px 0 0;
  padding: 16px 20px 4px;
  box-sizing: border-box;
}
.card-head + .field--full {
  border-radius: 0;
  border-top: 0;
  border-bottom: 0;
  box-shadow: none;
}
/* Шаги — пилюли, как переключатель «Новый товар / Мои товары» в референсе */
.steps--pills {
  display: inline-flex;
  gap: 0;
  margin: 0;
  padding: 4px;
  background: #F6F4EF;
  border-radius: 999px;
}
.steps--pills .step {
  height: 38px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13.5px;
  color: var(--ink-3);
  box-shadow: none;
}
.steps--pills .step__n { display: none; }
.steps--pills .step.is-active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(26,16,48,.10); font-weight: 700; }

/* Чипы под полем: строка под загрузчиком, 36 px, как на референсе */
/* Подвал карточки: чипы в одну строку на белой подложке, как на референсе */
.card-foot {
  max-width: 760px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 24px 24px;
  padding: 4px 20px 18px;
  box-sizing: border-box;
}
.chips {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0;
  box-sizing: border-box;
}
.chips .gbtn {
  height: 34px;
  padding: 0 11px;
  font-size: 12.5px;
  gap: 6px;
  background: #fff;
  border-color: var(--line);
  min-width: 0;
}
.chips .gbtn__t,
.chips .gbtn__v { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chips .gbtn { flex: 0 1 auto; max-width: 100%; }
@media (max-width: 520px) {
  .chips { flex-wrap: wrap; }
  .card-foot { padding: 4px 14px 16px; }
}
.field--full [data-role="thumbs"] { order: 3; }
.field--full .field__spacer { order: 4; }
.field--full [data-role="counter"] { order: 5; }
.field--full [data-role="go"] { order: 6; margin-left: 6px; }

/* ---------- Круглые кнопки внутри поля ---------- */
.round {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--soft-2);
  color: #4C4658;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.round:hover { background: var(--soft); border-color: var(--line); }
.round:active { transform: scale(.97); }
.round--short { width: 34px; height: 34px; font-size: 13px; }

.thumbs { display: flex; align-items: center; gap: 6px; min-width: 0; }
.thumb { position: relative; width: 44px; height: 44px; flex: none; }
.thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); display: block; }
.thumb__x {
  position: absolute; top: -5px; right: -5px;
  width: 18px; height: 18px; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: 50%;
  background: #1A1030; color: #fff;
  font-size: 10px; line-height: 1;
  cursor: pointer;
}
.thumb__x:hover { background: #3B3050; }

.field__spacer { flex: 1; min-width: 8px; }

.counter {
  flex: none;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

/* ---------- Кнопка действия внутри поля ---------- */
.act {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-2);
  color: var(--ink-3);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  white-space: nowrap;
  cursor: not-allowed;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.act__ic { display: inline-flex; flex: none; }
/* Кнопка-стрелка по ТЗ: круглая, 48×48 */
.act.is-small { padding: 0; width: 48px; height: 48px; border-radius: 50%; }
.act.is-small .act__ic svg, .act.is-small svg { width: 22px; height: 22px; }
.act.is-small { color: #8B8B99; background: #EDE9DF; border-color: transparent; }
.act.is-small.is-ready { background: linear-gradient(135deg, #F4E4A1, #D4AF37); color: #2A1E00; }

.act.is-ready {
  cursor: pointer;
  border-color: transparent;
  background: linear-gradient(135deg, #F4E4A1, #D4AF37);
  color: #2A1E00;
  box-shadow: 0 2px 10px rgba(212, 175, 55, .28);
}
.act.is-ready:hover { filter: brightness(1.04); }
.act.is-ready:active { transform: scale(.98); }

/* ---------- Ошибка ---------- */
.loader__busy { margin: 10px 4px 0; color: var(--ink-2); font-size: 13.5px; }
.loader__err {
  margin: 10px 4px 0;
  color: #B3261E;
  font-size: 13.5px;
  line-height: 1.4;
}

/* ============================================================
   FULL: кнопки-группы услуг
   ============================================================ */
.field--full { min-height: 150px; }
.groups {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  min-width: 0;
}

.gbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 32px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--soft-2);
  color: #3F394B;
  font: inherit;
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.gbtn:hover { background: var(--soft); border-color: #DEDAD0; }
.gbtn__ic { display: inline-flex; color: var(--ink-2); }
.gbtn__t { color: var(--ink-2); font-weight: 600; }
.gbtn__v { color: var(--ink); font-weight: 700; }
.gbtn__chev { display: inline-flex; color: var(--ink-3); }

.gbtn.is-off { background: #fff; border-style: dashed; }
.gbtn.is-off .gbtn__v, .gbtn.is-off .gbtn__t { color: var(--ink-3); }
.gbtn.is-off .gbtn__ic { color: var(--ink-3); }

.gbtn.is-on { border-color: rgba(212, 175, 55, .7); background: #FFFDF4; }
.gbtn.is-on .gbtn__ic { color: var(--gold-ink); }

.gbtn.is-picked { border-color: rgba(212, 175, 55, .75); background: linear-gradient(135deg, rgba(244, 228, 161, .35), rgba(212, 175, 55, .12)); }
.gbtn.is-picked .gbtn__ic { color: var(--gold-ink); }
.gbtn.is-picked .gbtn__v { color: #3A2A00; }

.gbtn--add { border-style: dashed; color: var(--ink-2); }
.gbtn--add .gbtn__ic { color: var(--ink-2); }

/* ---------- Поповер группы ---------- */
.pop {
  position: absolute;
  z-index: 60;
  width: 300px;
  padding: 14px;
  border: 1px solid #EDEAE3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 46px rgba(26, 16, 48, .16), 0 2px 6px rgba(26, 16, 48, .05);
}
.pop__head { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; }
.pop__back {
  display: inline-flex; align-items: center; justify-content: center;
  width: 26px; height: 26px; padding: 0;
  border: 0; border-radius: 8px; background: transparent;
  color: var(--ink-2); cursor: pointer;
}
.pop__back:hover { background: var(--soft); }
.pop__title { font-size: 14px; font-weight: 800; letter-spacing: -.01em; }
.pop__body { display: grid; gap: 2px; }

.pop__row {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 38px;
  padding: 7px 8px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  text-align: left;
  cursor: pointer;
}
.pop__row:hover { background: var(--soft); }
.pop__row.is-selected { background: #FFFCF1; }
.pop__row-label { flex: 1; min-width: 0; }
.pop__row-value { color: var(--ink-2); font-size: 13px; white-space: nowrap; }
.pop__dot { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 1px solid var(--line); }
.pop__check { display: inline-flex; opacity: 0; color: var(--gold-ink); }
.pop__row.is-selected .pop__check { opacity: 1; }
.pop__star { color: var(--gold); font-size: 12px; }

.pop__toggle {
  display: flex; align-items: center; gap: 10px;
  width: 100%; padding: 8px;
  border: 0; border-radius: 10px; background: transparent;
  font: inherit; font-size: 13.5px; text-align: left; cursor: pointer;
}
.pop__toggle:hover { background: var(--soft); }
.pop__toggle-label { flex: 1; min-width: 0; }
.pop__switch {
  position: relative; flex: none;
  width: 34px; height: 20px; border-radius: 999px;
  background: #E4E0D7; transition: background .15s ease;
}
.pop__switch::after {
  content: ''; position: absolute; top: 2px; left: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: #fff; box-shadow: 0 1px 2px rgba(0,0,0,.18);
  transition: transform .15s ease;
}
.pop__toggle.is-on .pop__switch { background: #D4AF37; }
.pop__toggle.is-on .pop__switch::after { transform: translateX(14px); }

.pop__chiprow { display: flex; flex-wrap: wrap; gap: 6px; padding: 4px 8px 6px; }
.pop__chip {
  height: 28px; padding: 0 10px;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: #3F394B;
  font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.pop__chip.is-selected { border-color: rgba(212,175,55,.8); background: #FFFCF1; color: #3A2A00; }
.pop__hint { padding: 6px 8px 2px; color: var(--ink-3); font-size: 12px; line-height: 1.35; }

.pop__foot {
  margin: 10px -14px -14px;
  padding: 11px 14px;
  border-top: 1px solid var(--line-2);
  display: flex; align-items: baseline; justify-content: space-between;
  font-size: 13px; color: var(--ink-2);
}
.pop__price { color: var(--ink); font-weight: 800; }

/* ============================================================
   Состояния «превью → оплатить → скачать» (full)
   ============================================================ */
.preview {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
  width: 100%;
  max-width: var(--field-w);
  margin: 22px auto 0;
}
.preview__tile {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.preview__tile img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.preview__name { display: block; padding: 8px 10px; color: var(--ink-2); font-size: 12.5px; }
.preview__name b { color: var(--ink); font-weight: 700; }
.preview__note { grid-column: 1 / -1; margin: 2px 0 0; color: var(--ink-2); font-size: 13px; line-height: 1.45; }

.paybar {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: var(--field-w);
  margin: 16px auto 0;
  padding: 12px 14px 12px 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--soft-2);
}
.paybar__sum { font-size: 15px; font-weight: 800; }
.paybar__note { color: var(--ink-2); font-size: 12.5px; }
.paybar__spacer { flex: 1; }
.paybar__btn {
  height: 40px; padding: 0 18px;
  border: 0; border-radius: 999px;
  background: linear-gradient(135deg, #F4E4A1, #D4AF37);
  color: #2A1E00; font: inherit; font-size: 14px; font-weight: 800;
  cursor: pointer;
}
.paybar__btn[disabled] { background: var(--soft); color: var(--ink-3); cursor: not-allowed; }
.paybar__link { border: 0; background: none; color: var(--ink-2); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ---------- Мобильный ---------- */
@media (max-width: 640px) {
  .loader { --field-w: 100%; }
  .steps { gap: 6px; }
  .step { padding: 8px 9px; gap: 7px; font-size: 12.5px; }
  .step__n { width: 20px; height: 20px; font-size: 11px; }
  .field { padding: 16px 16px 12px; border-radius: 24px; }
  .field__foot { flex-wrap: wrap; }
  .counter { padding: 6px 10px; font-size: 12.5px; }
  .act.is-ready { font-size: 12.5px; padding: 0 12px; }
  .groups { gap: 6px; }
  .gbtn { height: 30px; font-size: 12px; padding: 0 9px; }
  .pop { width: min(300px, calc(100vw - 32px)); }
  .paybar { flex-wrap: wrap; }
}

/* На узких экранах шаги идут одной строкой с уменьшенным текстом */
@media (max-width: 640px) {
  .steps { gap: 5px; }
  .step { gap: 6px; padding: 7px 7px; font-size: 11.5px; }
  .step__n { width: 18px; height: 18px; font-size: 10.5px; }
  .step__t { white-space: normal; line-height: 1.15; }
}

/* 20.11.2026: стрелка рисуется CSS, не копируется как символ и не читается скринридером */
.arr::before{content:"↗";font-style:normal;speak:none}

/* 21.11.2026: пробник — прогресс, превью карточки с увеличением, скачивание. */
.loader--trial .gbtn--static { cursor: default; pointer-events: none; opacity: .8; }
.progress { margin: 14px 0 4px; }
.progress__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; color: #5f5f5f; margin-bottom: 6px; }
.progress__head b { font-weight: 600; color: #0a0a0a; font-variant-numeric: tabular-nums; }
.progress__bar { height: 8px; border-radius: 99px; background: #ececec; overflow: hidden; }
.progress__bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: #0a0a0a; transition: width .45s ease; }
.preview .trial-result { grid-column: 1 / -1; }
.trial-result { display: flex; flex-direction: column; gap: 12px; align-items: center; width: 100%; }
.trial-result__shot { padding: 0; border: 0; background: none; cursor: zoom-in; display: block; width: 100%; max-width: 420px; margin: 0 auto; border-radius: 14px; overflow: hidden; }
.trial-result__shot img { display: block; width: 100%; max-width: 360px; height: auto; }
.trial-result__note { margin: 0; font-size: 13px; line-height: 1.45; color: #5f5f5f; text-align: center; }
.trial-result__dl { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; padding: 14px 26px; border-radius: 999px; background: #0a0a0a; color: #fff !important; font: 600 15px/1 Manrope, system-ui, sans-serif; text-decoration: none; }
.trial-result__dl:hover { background: #26262b; }
.trial-zoom { position: fixed; inset: 0; z-index: 9999; background: rgba(10,10,10,.94); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.trial-zoom[hidden] { display: none; }
.trial-zoom img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 10px; }
.trial-zoom__x { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; color: #0a0a0a; font-size: 22px; line-height: 1; cursor: pointer; }
body.km-zoom-open { overflow: hidden; }
/* 21.11.2026: повтор сборки, если сервер не ответил. */
.trial-retry { display: inline-block; margin: 8px auto 0; padding: 12px 22px; border-radius: 999px; border: 1px solid #0a0a0a; background: #fff; color: #0a0a0a; font: 600 14px/1 Manrope, system-ui, sans-serif; cursor: pointer; }
.trial-retry[hidden] { display: none; }
/* 21.11.2026: подписи шагов пробника не обрезаются на 390. */
.loader--trial .steps .step { padding: 10px 8px; gap: 6px; }
.loader--trial .steps .step__t { font-size: 11.5px; letter-spacing: 0; }
/* 21.11.2026: предупреждение о качестве фото из зрения. */
.trial-warn { margin: 0; padding: 10px 14px; border-radius: 12px; background: #fff6e5; color: #7a4b00; font: 500 13px/1.45 Manrope, system-ui, sans-serif; text-align: center; }
/* 21.11.2026: явная кнопка загрузки фото в пробнике — вместо одного скрепочного значка. */
.trial-upload { display: block; width: 100%; margin: 14px 0 10px; padding: 16px 20px; border: 1px dashed #0a0a0a; border-radius: 14px; background: #fafafa; color: #0a0a0a; font: 700 15px/1.2 Manrope, system-ui, sans-serif; cursor: pointer; }
.trial-upload:hover { background: #f1f1f1; }
.trial-upload[hidden] { display: none; }

/* 22.11.2026: явная кнопка «Сгенерировать карточку» — рендер только по клику (слово владельца) */
.trial-go { display: block; width: 100%; margin: 10px 0 0; padding: 16px 20px; border: 0; border-radius: 14px; background: #0a0a0a; color: #fff; font: 700 15px/1.2 Manrope, system-ui, sans-serif; cursor: pointer; }
.trial-go:hover { background: #2a2a2a; }
.trial-go[hidden] { display: none; }

/* 22.11.2026: поле свободного описания товара в пробнике */
.trial-desc { display: block; width: 100%; margin: 10px 0 0; padding: 12px 16px; border: 1px solid #d8d8d8; border-radius: 12px; background: #fff; color: #0a0a0a; font: 500 14px/1.3 Manrope, system-ui, sans-serif; }
.trial-desc:focus { outline: 2px solid #0a0a0a; outline-offset: 0; }
.trial-desc[hidden] { display: none; }
