/* Конфигуратор АЛСЕНТ (/alsent-configurator). Переменные и форма — из als-brands.css */
.als-alsent__head { margin-bottom: 28px; }
.als-alsent__crumbs { font-size: 14px; color: var(--muted); margin: 0 0 14px; }
.als-alsent__crumbs a { color: var(--red) !important; text-decoration: none; }
.als-alsent__lead { max-width: 820px; font-size: 17px; line-height: 1.55; color: var(--muted); margin: 0; }

.als-cfg { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; margin-bottom: 56px; }
.als-cfg__steps { display: grid; gap: 14px; }
.als-cfg__step { margin: 0; padding: 22px 24px 18px; border: 0; border-radius: 20px; background: #fff; min-width: 0; }
.als-cfg__step legend { float: left; width: 100%; display: flex; align-items: center; gap: 14px; padding: 0; margin: 0 0 14px;
  font-size: 20px; font-weight: 700; line-height: 1.2; }
.als-cfg__step legend + * { clear: both; }
.als-cfg__num { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  background: #f3f3f3; color: var(--red); font-size: 15px; font-weight: 800; transition: background .2s, color .2s; }
.als-cfg__step.is-done .als-cfg__num { background: var(--red); color: #fff; }
.als-cfg__hint { clear: both; margin: -6px 0 12px 54px; font-size: 14px; color: var(--muted); }
.als-cfg__opts { clear: both; display: flex; flex-wrap: wrap; gap: 10px; }
.als-cfg__opt { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 8px 16px; border-radius: 23px;
  border: 2px solid var(--line); background: #fff; color: var(--ink); font: inherit; font-size: 15px; line-height: 1.25; text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, opacity .15s; }
.als-cfg__opt:hover { border-color: var(--red); }
.als-cfg__opt[aria-pressed="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.als-cfg__opt:disabled { opacity: .38; cursor: not-allowed; border-style: dashed; }
.als-cfg__opt:disabled:hover { border-color: var(--line); }
.als-cfg__opt:focus-visible { outline: 3px solid rgba(172,19,24,.3); outline-offset: 2px; }
.als-cfg__opt-code { font-size: 12px; font-weight: 700; letter-spacing: .03em; padding: 3px 7px; border-radius: 8px; background: #f3f3f3; color: var(--muted); }
.als-cfg__opt[aria-pressed="true"] .als-cfg__opt-code { background: rgba(255,255,255,.18); color: #fff; }
.als-cfg__opt-order:empty { display: none; }
.als-cfg__opt-order { position: absolute; top: -8px; right: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--wine); color: #fff;
  font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.als-cfg__note { margin: 10px 0 0; font-size: 14px; color: var(--red); }
.als-cfg__note:empty { display: none; }

.als-cfg__summary { position: sticky; top: 90px; }
.als-cfg__card { background: var(--wine); color: #fff; border-radius: 20px; padding: 26px 24px; }
.als-cfg__label { margin: 0 0 6px; font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; }
.als-cfg__code { margin: 0 0 12px; font-size: 20px; font-weight: 800; line-height: 1.35; word-break: break-word; }
.als-cfg__status { margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: rgba(255,255,255,.1); font-size: 14px; line-height: 1.4; }
.als-cfg__status.is-ok { background: #fff; color: var(--red); font-weight: 700; }
.als-cfg__status.is-shake { animation: als-shake .4s; }
@keyframes als-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.als-cfg__list { list-style: none; margin: 0 0 20px; padding: 0; max-height: 46vh; overflow: auto; }
.als-cfg__list:empty { display: none; }
.als-cfg__list li { padding: 9px 0; border-top: 1px solid rgba(255,255,255,.14); font-size: 14px; line-height: 1.4; }
.als-cfg__list b { font-weight: 600; display: block; }
.als-cfg__list small { display: block; margin-top: 4px; font-size: 12px; line-height: 1.45; opacity: .72; }
.als-cfg__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.als-cfg__actions .als-btn { background: #fff; color: var(--red) !important; }
.als-cfg__actions .als-btn .als-btn__icon { background: var(--red); color: #fff; }
.als-cfg__actions .als-btn.is-disabled { opacity: .55; }
.als-cfg__actions .als-btn_ghost { background: transparent; color: #fff !important; border-color: rgba(255,255,255,.5); }
.als-cfg__actions .als-btn_ghost:hover { background: rgba(255,255,255,.12); }
.als-cfg__aside { margin: 14px 4px 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.als-cfg__aside a { color: var(--red) !important; }

@media (max-width: 959px) {
  .als-cfg { grid-template-columns: 1fr; }
  .als-cfg__summary { position: static; }
  .als-cfg__list { max-height: none; }
}
@media (max-width: 639px) {
  .als-alsent__lead { font-size: 15px; }
  .als-cfg__step { padding: 18px 16px 16px; }
  .als-cfg__step legend { font-size: 17px; gap: 10px; }
  .als-cfg__num { width: 34px; height: 34px; font-size: 13px; }
  .als-cfg__hint { margin-left: 0; margin-top: 0; }
  .als-cfg__opt { font-size: 14px; padding: 7px 13px; min-height: 42px; }
  .als-cfg__code { font-size: 17px; }
}

/* код заказа — фирменный фон */
.als-cfg__card { background: #4b0708 url(/images/als-rosette-bg.webp) 70% 100% / 260% auto no-repeat; }
.als-cfg__status { background: rgba(0,0,0,.22); }
