/* MIARCH — конфигуратор, сравнение, калькулятор, подбор. Токены — из bono-child/style.css */

/* ---------- конфигуратор ---------- */
.lmtek-cfg { margin: 28px 0 0; padding: 22px; border: 1px solid var(--lmtek-line, #e2e8f0); border-radius: 2px; background: #fff; }
.lmtek-cfg__head h3 { margin: 4px 0 6px; font-size: 20px; }
.lmtek-cfg__head p { margin: 0 0 16px; color: var(--lmtek-muted, #64748b); font-size: 14px; }
.lmtek-cfg__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 16px; }
.lmtek-cfg__field { display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.lmtek-cfg__field > span { font-family: var(--lmtek-mono, monospace); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--lmtek-muted, #64748b); }
.lmtek-cfg__field select, .lmtek-cfg__field input { width: 100%; height: 42px; border: 1px solid var(--lmtek-line, #e2e8f0); border-radius: 2px; padding: 0 12px; font: inherit; font-size: 14px; background: #fff; }
.lmtek-cfg__field--wide { grid-column: 1 / -1; }
.lmtek-cfg__summary { margin: 16px 0; padding: 12px 14px; border-radius: 2px; background: var(--lmtek-tint, #f8fafc); font-size: 14px; line-height: 1.5; }
.lmtek-cfg__summary .lmtek-kicker { display: block; margin: 0 0 4px; }
.lmtek-cfg__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.lmtek-cfg__actions .button.is-done { background: #15803d !important; }

/* ---------- калькулятор ---------- */
.lmtek-calc { margin: 16px 0 0; border: 1px solid var(--lmtek-line, #e2e8f0); border-radius: 2px; background: #fff; }
.lmtek-calc summary { list-style: none; cursor: pointer; padding: 16px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.lmtek-calc summary::-webkit-details-marker { display: none; }
.lmtek-calc summary::after { content: "+"; margin-left: auto; font-size: 22px; line-height: 1; color: var(--lmtek-muted, #64748b); }
.lmtek-calc[open] summary::after { content: "–"; }
.lmtek-calc summary .lmtek-kicker { margin: 0; }
.lmtek-calc summary strong { font-size: 16px; }
.lmtek-calc__hint { flex-basis: 100%; font-size: 13px; color: var(--lmtek-muted, #64748b); }
.lmtek-calc__body { padding: 0 22px 20px; }
.lmtek-calc__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 16px; }
.lmtek-calc__grid label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; font-family: var(--lmtek-mono, monospace); text-transform: uppercase; letter-spacing: .06em; color: var(--lmtek-muted, #64748b); }
.lmtek-calc__grid input { height: 40px; border: 1px solid var(--lmtek-line, #e2e8f0); border-radius: 2px; padding: 0 10px; font: inherit; font-size: 14px; }
.lmtek-calc__out { margin: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px 20px; }
.lmtek-calc__out div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--lmtek-line, #e2e8f0); }
.lmtek-calc__out dt { font-family: var(--lmtek-mono, monospace); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--lmtek-muted, #64748b); align-self: center; }
.lmtek-calc__out dd { margin: 0; font-size: 14px; }
.lmtek-calc__out dd b { font-size: 18px; font-variant-numeric: tabular-nums; }
.lmtek-calc__note { margin: 14px 0 0; font-size: 12.5px; color: var(--lmtek-muted, #64748b); }

/* ---------- сравнение ---------- */
.lmtek-cmp { display: inline-flex; align-items: center; gap: 7px; margin: 10px 0 0; font-size: 12.5px; color: var(--lmtek-muted, #64748b); cursor: pointer; user-select: none; }
.lmtek-cmp input { width: 16px; height: 16px; margin: 0; accent-color: var(--lmtek-accent, #2563eb); }
.lmtek-cmp.is-on { color: var(--lmtek-accent-dark, #1e40af); font-weight: 600; }
.lmtek-cmp--single { display: flex; width: fit-content; margin: 12px 0 0; font-size: 14px; }
.shop-item .lmtek-cmp { display: flex; justify-content: center; width: 100%; margin: 8px 0 2px; }
.lmtek-cmpbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 950; background: var(--lmtek-black, #05070c); color: #cbd5e1; }
.lmtek-cmpbar__inner { max-width: 1240px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.lmtek-cmpbar__list { display: flex; gap: 8px; flex-wrap: wrap; flex: 1; min-width: 0; }
.lmtek-cmpbar__item { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 2px; background: rgba(255, 255, 255, .08); font-size: 13px; color: #fff; }
.lmtek-cmpbar__item button { border: 0; background: none; color: #94a3b8; font-size: 16px; line-height: 1; cursor: pointer; padding: 0; }
.lmtek-cmpbar__item button:hover { color: #fff; }
.lmtek-cmpbar .button.is-disabled { opacity: .45; pointer-events: none; }
.lmtek-cmpbar__clear { border: 0; background: none; color: #94a3b8; font-size: 24px; line-height: 1; cursor: pointer; }
body.lmtek-has-cmpbar { padding-bottom: 72px; }
body.lmtek-has-cmpbar .lmtek-mobilebar { bottom: 64px; }
.lmtek-cmp-empty { padding: 40px; text-align: center; border: 1px dashed var(--lmtek-line, #e2e8f0); border-radius: 2px; }
.lmtek-cmp-empty .button { margin: 6px; }

/* ---------- быстрый подбор / витрина GPU ---------- */
.lmtek-wizard { display: grid; grid-template-columns: 360px 1fr; gap: 32px; align-items: start; }
.lmtek-wizard__steps { display: grid; gap: 16px; }
.lmtek-wizard__step { border: 1px solid var(--lmtek-line, #e2e8f0); border-radius: 2px; padding: 16px 18px 12px; margin: 0; background: #fff; }
.lmtek-wizard__step legend { font-weight: 700; font-size: 15px; padding: 0 6px; display: flex; gap: 10px; align-items: center; }
.lmtek-wizard__step legend .lmtek-kicker { margin: 0; }
.lmtek-wizard__step label { display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 2px; font-size: 14px; cursor: pointer; }
.lmtek-wizard__step label:hover { background: var(--lmtek-tint, #f8fafc); }
.lmtek-wizard__step input { accent-color: var(--lmtek-accent, #2563eb); width: 16px; height: 16px; margin: 0; }
.lmtek-wizard__result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.lmtek-wizard__result.is-static { grid-template-columns: repeat(4, 1fr); margin: 16px 0 40px; }
.lmtek-wizard__card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--lmtek-line, #e2e8f0); border-radius: 2px; background: #fff; color: var(--lmtek-ink, #0f172a); text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lmtek-wizard__card:hover { border-color: #cbd5e1; transform: translateY(-2px); }
.lmtek-wizard__img { display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; border-radius: 2px; background: var(--lmtek-tint, #f8fafc); overflow: hidden; }
.lmtek-wizard__img img { max-width: 92%; max-height: 100%; object-fit: contain; }
.lmtek-wizard__name { font-weight: 700; font-size: 15px; line-height: 1.3; }
.lmtek-wizard__meta { font-family: var(--lmtek-mono, monospace); font-size: 11px; color: var(--lmtek-muted, #64748b); }
/* цена по запросу — не действие, поэтому сигнальным цветом её не красим */
.lmtek-wizard__price { font-family: var(--lmtek-mono, monospace); font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--lmtek-muted, #71717a); }
.lmtek-wizard__foot { grid-column: 1 / -1; margin: 8px 0 0; font-size: 14px; color: var(--lmtek-muted, #64748b); }

@media (max-width: 1024px) {
  .lmtek-wizard { grid-template-columns: 1fr; }
  .lmtek-wizard__result.is-static { grid-template-columns: repeat(2, 1fr); }
  .lmtek-calc__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .lmtek-cfg__grid, .lmtek-calc__out, .lmtek-wizard__result, .lmtek-wizard__result.is-static, .lmtek-calc__grid { grid-template-columns: 1fr; }
  .lmtek-cmpbar__list { display: none; }
}
