/* MaxLoot Калькулятор — временный вид (этап 1). Цвета берутся из темы: акцент Woodmart, текст — цвет страницы. */
.mlc { --mlc-accent: var(--wd-primary-color, #d4a017); --mlc-line: rgba(127,127,127,.35); --mlc-soft: rgba(127,127,127,.08);
  margin: 18px 0; padding: 16px; border: 1px solid var(--mlc-line); border-radius: 12px; display: grid; gap: 16px; font-size: 15px; }
.mlc.mlc-busy .mlc-price { opacity: .45; }
.mlc-note { margin: 0; padding: 8px 10px; border-radius: 8px; background: var(--mlc-soft); font-size: 13px; opacity: .85; }
.mlc-admin-error, .mlc-error { margin: 0; color: #e5484d; font-size: 14px; }
.mlc-missing { margin: 0; font-size: 14px; opacity: .75; }
.mlc-block[hidden] { display: none; }
.mlc-head { display: flex; align-items: center; gap: 8px; font-weight: 600; margin-bottom: 8px; }
.mlc-options { display: flex; flex-wrap: wrap; gap: 8px; }
.mlc-opt { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 8px 12px; border: 1px solid var(--mlc-line);
  border-radius: 10px; background: transparent; color: inherit; font: inherit; line-height: 1.2; cursor: pointer; text-align: left;
  text-transform: none; letter-spacing: normal; box-shadow: none; transition: border-color .15s, background .15s; }
.mlc-opt:hover { border-color: var(--mlc-accent); }
.mlc-opt.is-active { border-color: var(--mlc-accent); background: color-mix(in srgb, var(--mlc-accent) 14%, transparent); }
.mlc-opt[hidden] { display: none; }
.mlc-checks .mlc-opt::before { content: ''; width: 16px; height: 16px; flex: none; border: 1.5px solid var(--mlc-line); border-radius: 4px; }
.mlc-checks .mlc-opt.is-active::before { background: var(--mlc-accent); border-color: var(--mlc-accent); }
.mlc-opt-price { font-size: 13px; opacity: .8; white-space: nowrap; }
.mlc-opt-price:empty { display: none; }
.mlc-free { color: #30a46c; opacity: 1; }
.mlc-badge { font-size: 11px; padding: 2px 6px; border-radius: 6px; background: var(--mlc-accent); color: #fff; }
.mlc-icon { font-size: 18px; width: 20px; height: 20px; object-fit: contain; display: inline-flex; align-items: center; justify-content: center; }
.mlc-hint { display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid var(--mlc-line); font-size: 11px; font-weight: 600; cursor: help; opacity: .7; }
.mlc-small { font-size: 13px; opacity: .75; }
.mlc-range-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.mlc-stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--mlc-line); border-radius: 10px; overflow: hidden; }
.mlc-step { width: 38px; min-height: 40px; padding: 0; border: 0; background: var(--mlc-soft); color: inherit; font-size: 18px; cursor: pointer; box-shadow: none; }
.mlc-num { width: 84px; min-height: 40px; border: 0 !important; text-align: center; background: transparent; color: inherit; font: inherit; box-shadow: none !important; -moz-appearance: textfield; }
.mlc-num::-webkit-inner-spin-button, .mlc-num::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.mlc-slider { width: 100%; accent-color: var(--mlc-accent); }
.mlc-scale-value { font-weight: 600; }
.mlc-presets { margin-top: 8px; }
.mlc-next { margin-top: 6px; color: var(--mlc-accent); opacity: 1; }
.mlc-next:empty { display: none; }
.mlc-item { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed var(--mlc-line); }
.mlc-item[hidden] { display: none; }
.mlc-item-name { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.mlc-text, .mlc-select { width: 100%; max-width: 420px; min-height: 40px; padding: 8px 10px; border: 1px solid var(--mlc-line); border-radius: 10px; background: transparent; color: inherit; font: inherit; }
.mlc-select option { color: #111; }
.mlc-radio { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--mlc-line); border-radius: 10px; cursor: pointer; }
.mlc-foot { display: grid; gap: 8px; padding-top: 14px; border-top: 1px solid var(--mlc-line); }
.mlc-summary { margin: 0; padding: 0; list-style: none; font-size: 14px; display: grid; gap: 2px; }
.mlc-sum-label { opacity: .7; }
.mlc-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.mlc-total-label { font-weight: 600; }
.mlc-price { font-size: 28px; font-weight: 700; color: var(--mlc-accent); transition: opacity .15s; }
.mlc-eta { font-size: 14px; opacity: .8; }
.mlc-btn { min-height: 46px; border-radius: 10px; border: 0; background: var(--mlc-accent); color: #fff; font: inherit; font-weight: 600; cursor: not-allowed; opacity: .7; }
@media (max-width: 600px) {
  .mlc { padding: 12px; }
  .mlc-foot { position: sticky; bottom: 0; background: var(--wd-main-bgcolor, inherit); padding-bottom: 8px; z-index: 5; }
  .mlc-opt { flex: 1 1 calc(50% - 8px); }
}
