/* lane information/account — дополнения к theme.css (статика) */
.mm-err { display: block; min-height: 0; margin-top: 4px; font-size: 13px; color: #c81e1e; }
.mm-err:empty { display: none; }
.mk-form .is-invalid { border-color: #c81e1e; }
.mm-note { border-radius: 8px; padding: 10px 14px; font-size: 14px; margin-bottom: 12px; }
.mm-note[hidden] { display: none; }
.mm-note-err { background: #fdecec; color: #a11a1a; }
.mm-note-ok { background: #e7f8f4; color: #0f6b5a; }
.mk-check { align-items: center; }
.mk-check .checkbox { flex: 0 0 auto; background-color: #fff; border-color: #8a96b3; }
.mk-check .checkbox:checked { background-color: #1e3c87; border-color: #1e3c87; }
.mk-form .input, .mk-form .textarea, .mk-form .select { background-color: #fff; }
.mk-form button[disabled] { opacity: .6; }
[data-mm-wishpage] .mk-pcard { display: flex; }
[data-mm-wishpage]:empty { display: none; }
.mm-acc-more { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.mm-acc-more .btn { color: #1e3c87; gap: 8px; font-weight: 600; }
.mm-acc-more + .mk-logout { margin-top: 16px; }

/* ---------- core-подстраницы кабинета (edit, password, address, order, returns, ...) ---------- */
.mm-core { display: block; }
.mm-core > .container, .mm-core > [id^="account-"] { max-width: 1440px; margin: 0 auto; padding: 0 32px 48px; color: #0c193a; }
.mm-core .breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 14px 0 4px; margin: 0 0 18px; font-size: 13px; }
.mm-core .breadcrumb li + li::before { content: '\203A'; margin-right: 6px; color: #8a96b3; }
.mm-core .breadcrumb a { color: #1e3c87; }
.mm-core .breadcrumb li:last-child a { color: #667394; pointer-events: none; }
.mm-core .row { display: flex; flex-wrap: wrap; gap: 0 24px; }
.mm-core > [id^="account-"] > .row { flex-wrap: nowrap; align-items: flex-start; }
.mm-core #column-left { flex: 0 0 260px; order: 0; }
.mm-core #content { flex: 1 1 auto; min-width: 0; }
.mm-core #column-right { flex: 0 0 260px; }
.mm-core h1 { font-family: 'Bricolage Grotesque', 'Open Sans', sans-serif; font-size: 32px; font-weight: 700; margin: 0 0 20px; line-height: 1.2; }
.mm-core h2, .mm-core legend, .mm-core h3 { font-family: 'Bricolage Grotesque', 'Open Sans', sans-serif; font-size: 20px; font-weight: 700; margin: 18px 0 12px; }
.mm-core fieldset { border: 1px solid #e6eaf2; border-radius: 16px; padding: 20px 24px 8px; margin: 0 0 20px; background: #fff; }
.mm-core fieldset legend { float: left; width: 100%; margin: 0 0 14px; padding: 0; }
.mm-core fieldset legend + * { clear: left; }
.mm-core .list-group { display: flex; flex-direction: column; border: 1px solid #e6eaf2; border-radius: 16px; overflow: hidden; background: #fff; margin-bottom: 16px; }
.mm-core .list-group-item { display: block; padding: 11px 16px; color: #0c193a; font-size: 14px; border-top: 1px solid #eef1f7; }
.mm-core .list-group-item:first-child { border-top: 0; }
.mm-core .list-group-item:hover { background: #f5f6fc; color: #1e3c87; }
.mm-core .list-group-item.active, .mm-core .list-group-item[aria-current] { background: #1e3c87; color: #fff; font-weight: 600; }
.mm-core .mb-3, .mm-core .form-group { margin-bottom: 14px; }
.mm-core .row.mb-3 { display: grid; grid-template-columns: 200px 1fr; gap: 6px 16px; align-items: center; }
.mm-core .row.mb-3 > [class*="col-"] { min-width: 0; }
.mm-core .col-form-label, .mm-core .form-label { font-weight: 600; font-size: 14px; }
.mm-core .required .col-form-label::after, .mm-core .required > .form-label::after { content: ' *'; color: #c81e1e; }
.mm-core .form-control, .mm-core .form-select { width: 100%; height: 48px; padding: 0 14px; border: 1px solid #c9d1e1; border-radius: 8px; background: #fff; font-size: 15px; color: #0c193a; }
.mm-core textarea.form-control { height: auto; padding: 10px 14px; min-height: 110px; }
.mm-core .form-control:focus, .mm-core .form-select:focus { outline: 2px solid #1e3c87; outline-offset: 0; border-color: #1e3c87; }
.mm-core .is-invalid { border-color: #c81e1e !important; }
.mm-core .invalid-feedback { display: none; color: #c81e1e; font-size: 13px; margin-top: 4px; }
.mm-core .invalid-feedback.d-block, .mm-core .is-invalid ~ .invalid-feedback { display: block; }
.mm-core .form-check { display: inline-flex; align-items: center; gap: 8px; margin-right: 18px; }
.mm-core .form-check-input { width: 18px; height: 18px; accent-color: #1e3c87; }
.mm-core .form-switch .form-check-input { width: 36px; }
.mm-core .input-group { display: flex; }
.mm-core .input-group > .form-control { flex: 1 1 auto; min-width: 0; }
.mm-core .input-group.mm-date { position: relative; }
.mm-core .input-group.mm-date > .form-control { padding-right: 44px; cursor: pointer; line-height: 46px; }
.mm-core .input-group.mm-date > .form-control::-webkit-datetime-edit { padding: 0; line-height: 46px; }
.mm-core .input-group.mm-date > .form-control::-webkit-calendar-picker-indicator { opacity: 0; position: absolute; right: 0; width: 44px; height: 100%; cursor: pointer; }
.mm-core .input-group.mm-date > .mm-date-ico { position: absolute; right: 0; top: 0; bottom: 0; width: 44px; display: flex; align-items: center; justify-content: center; color: #1e3c87; pointer-events: none; }
.mm-core .btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 20px; border-radius: 8px; font-weight: 600; font-size: 14px; text-transform: none; border: 1px solid transparent; }
.mm-core .btn-primary { background: #1e3c87; border-color: #1e3c87; color: #fff; }
.mm-core .btn-primary:hover { background: #0c193a; }
.mm-core .btn-light, .mm-core .btn-secondary, .mm-core .btn-outline-secondary { background: #fff; border-color: #0c193a; color: #0c193a; }
.mm-core .btn-info { background: #f5f6fc; color: #1e3c87; border-color: #e6eaf2; min-height: 36px; padding: 0 12px; }
.mm-core .btn-danger { background: #fff; color: #c81e1e; border-color: #f0b6b6; min-height: 36px; padding: 0 12px; }
.mm-core .btn-sm { min-height: 34px; padding: 0 12px; }
.mm-core .table td > .btn:has(> i:only-child) { width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; vertical-align: middle; }
.mm-core .table td > .btn:has(> i:only-child) + .btn { margin-left: 6px; }
.mm-core .d-flex, .mm-core .buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.mm-core .d-flex > .ms-auto, .mm-core .float-end, .mm-core .text-end { margin-left: auto; }
.mm-core .float-end { float: none; display: inline-flex; }
.mm-core .table-responsive { overflow-x: auto; border: 1px solid #e6eaf2; border-radius: 16px; margin-bottom: 16px; }
.mm-core table.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.mm-core .table th, .mm-core .table td { padding: 12px 14px; border-bottom: 1px solid #eef1f7; text-align: left; vertical-align: middle; }
.mm-core .table thead td, .mm-core .table thead th { background: #f5f6fc; font-weight: 700; color: #0c193a; }
.mm-core .table tr:last-child td { border-bottom: 0; }
.mm-core .table .text-end { text-align: right; }
@media (min-width: 768px) {
  .mm-core .table td.text-end, .mm-core .table th.text-end { white-space: nowrap; }
  .mm-core .table tr:has(> td:nth-child(5)) > td:nth-child(2) { white-space: nowrap; }
}
.mm-core .pagination { display: flex; gap: 6px; list-style: none; padding: 0; }
.mm-core .pagination a, .mm-core .pagination span { display: inline-flex; min-width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid #e6eaf2; border-radius: 8px; }
.mm-core .pagination .active span { background: #1e3c87; color: #fff; }
.mm-core .alert { border-radius: 8px; padding: 10px 14px; margin-bottom: 14px; background: #f5f6fc; }
.mm-core .alert-success { background: #e7f8f4; color: #0f6b5a; }
.mm-core .alert-danger, .mm-core .alert-warning { background: #fdecec; color: #a11a1a; }
.mm-core .card { border: 1px solid #e6eaf2; border-radius: 16px; padding: 16px 20px; margin-bottom: 16px; }
.mm-core p { margin: 0 0 12px; color: #334166; line-height: 1.6; }
.mm-core a { color: #1e3c87; }
.mm-core .list-group a.list-group-item { color: #0c193a; }
.mm-core .d-none { display: none; }
.mm-core .d-md-block { display: block; }
.mm-core .text-danger { color: #c81e1e; }
.mm-core img { max-width: 100%; }
@media (max-width: 1024px) {
  .mm-core > .container, .mm-core > [id^="account-"] { padding: 0 16px 40px; }
  .mm-core > [id^="account-"] > .row { flex-direction: column; align-items: stretch; }
  .mm-core > [id^="account-"] > .row > #content { width: 100%; }
  .mm-core #column-left, .mm-core #column-right { flex: 1 1 auto; width: 100%; order: 2; }
  .mm-core .list-group { flex-direction: row; flex-wrap: wrap; }
  .mm-core .list-group-item { border-top: 0; border-right: 1px solid #eef1f7; }
}
@media (max-width: 767px) {
  /* таблицы кабинета без бокового скролла: каждая строка = карточка «подпись: значение» (подписи ставит mm-pages.js) */
  .mm-core .table-responsive { overflow: visible; border: 0; border-radius: 0; }
  .mm-core .table td, .mm-core .table th { overflow-wrap: anywhere; word-break: normal; }
  .mm-core .text-nowrap { white-space: normal; }
  .mm-core table.table:not(.mm-cards) { border: 1px solid #e6eaf2; border-radius: 16px; border-collapse: separate; border-spacing: 0; overflow: hidden; background: #fff; }
  .mm-core table.table:not(.mm-cards) td { padding: 10px 14px; }
  .mm-core .row > .col:has(> table.table) { flex: 1 1 100%; width: 100%; min-width: 0; }
  .mm-core .row > .col > table.table { margin-bottom: 12px; }
  .mm-core table.table:not(.mm-cards) td:first-child { width: 45%; }
  .mm-core table.mm-cards, .mm-core table.mm-cards tbody, .mm-core table.mm-cards tfoot { display: block; width: 100%; }
  .mm-core table.mm-cards thead { display: none; }
  .mm-core table.mm-cards tr { display: block; border: 1px solid #e6eaf2; border-radius: 16px; background: #fff; padding: 4px 16px; margin-bottom: 12px; }
  .mm-core table.mm-cards td, .mm-core table.mm-cards th { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border: 0; border-bottom: 1px solid #eef1f7; text-align: right !important; min-width: 0; }
  .mm-core table.mm-cards tr td:last-child { border-bottom: 0; }
  .mm-core table.mm-cards td[data-label]::before { content: attr(data-label); flex: 0 0 auto; max-width: 45%; text-align: left; font-weight: 600; color: #667394; font-size: 13px; }
  .mm-core table.mm-cards td > * { min-width: 0; }
  .mm-core table.mm-cards td:empty { display: none; }
  .mm-core table.mm-cards td:has(> .btn) { justify-content: flex-end; flex-wrap: wrap; }
  .mm-core table.mm-cards td:has(> .btn)[data-label]::before { margin-right: auto; }
  .mm-core table.mm-cards tfoot tr { display: flex; justify-content: space-between; gap: 12px; padding: 10px 16px; border-radius: 12px; margin-bottom: 8px; background: #f5f6fc; }
  .mm-core table.mm-cards tfoot td { padding: 0; border: 0; }
  .mm-core table.mm-cards tfoot td::before { content: none !important; }
  /* таблица с общей шапкой на 2 колонки: ячейки на всю ширину, одна под другой */
  .mm-core table.mm-stack, .mm-core table.mm-stack thead, .mm-core table.mm-stack tbody, .mm-core table.mm-stack tr { display: block; width: 100%; }
  .mm-core table.mm-stack td, .mm-core table.mm-stack th { display: block; width: 100% !important; text-align: left !important; overflow-wrap: break-word; }
  .mm-core table.mm-stack tbody tr td { border-bottom: 1px solid #eef1f7; }
  .mm-core table.mm-stack tbody tr:last-child td:last-child { border-bottom: 0; }
}
@media (max-width: 640px) {
  .mm-core h1 { font-size: 26px; }
  .mm-core .row.mb-3 { grid-template-columns: 1fr; }
  .mm-core fieldset { padding: 16px 16px 4px; }
  .mm-core .d-flex .btn, .mm-core .buttons .btn { flex: 1 1 auto; }
  .mm-core .row:has(> .col > .btn) > .col { flex: 1 1 0; min-width: 0; }
  .mm-core .row > .col > .btn, .mm-core div.text-end > .btn, .mm-core .float-end > .btn { width: 100%; }
  .mm-core div.text-end:not(.col):has(> .btn), .mm-core .row:has(> .col > .btn) { display: flex; gap: 12px; margin: 16px 0 24px; text-align: left; }
  .mm-core .list-group { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; }
  .mm-core .list-group a.list-group-item { min-width: 0; min-height: 48px; padding: 12px; gap: 10px; border-right: 1px solid #eef1f7; border-top: 1px solid #eef1f7; }
  .mm-core .list-group a.list-group-item > span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mm-core .list-group a.list-group-item:nth-child(2n) { border-right: 0; }
  .mm-core .list-group a.list-group-item:nth-child(-n+2) { border-top: 0; }
  .mm-core .list-group a.list-group-item:last-child:nth-child(odd) { grid-column: 1 / -1; border-right: 0; justify-content: center; }
}

/* account/newsletter: одна строка «Quiero recibir el boletín» + переключатель, по центру, ровные отступы */
.mm-core #form-newsletter fieldset { padding: 20px 24px; }
.mm-core #form-newsletter fieldset > .row.mb-3 { display: flex; align-items: center; gap: 16px; margin: 0; }
.mm-core #form-newsletter fieldset > .row.mb-3 > [class*="col-"] { flex: 0 0 auto; width: auto; max-width: none; padding: 0; }
.mm-core #form-newsletter .col-form-label { padding: 0; line-height: 24px; }
.mm-core #form-newsletter .form-check { display: flex; align-items: center; min-height: 24px; margin: 0; padding: 0; }
.mm-core #form-newsletter .form-check-input { float: none; margin: 0; cursor: pointer; }
@media (max-width: 640px) {
  .mm-core #form-newsletter fieldset { padding: 16px; }
  .mm-core #form-newsletter fieldset > .row.mb-3 > .col-md-3 { flex: 1 1 auto; min-width: 0; }
}

/* checkout/voucher (Cheques regalo): согласие + «Continuar» справа, на мобильном друг под другом */
.mm-core #form-voucher #input-theme { display: flex; flex-wrap: wrap; gap: 8px 0; }
.mm-core #form-voucher #input-theme .form-check-label { cursor: pointer; }
.mm-core #form-voucher > .text-end { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 20px; margin-top: 8px; }
.mm-core #form-voucher > .text-end .form-check { display: inline-flex; flex-direction: row-reverse; align-items: center; gap: 10px; margin: 0; padding: 0; min-height: 0; }
.mm-core #form-voucher > .text-end .form-check-input { float: none; margin: 0; flex: 0 0 auto; cursor: pointer; }
.mm-core #form-voucher > .text-end .form-check-label { line-height: 1.4; }
@media (max-width: 640px) {
  .mm-core #form-voucher > .text-end { flex-direction: column; align-items: stretch; }
  .mm-core #form-voucher > .text-end .form-check { justify-content: flex-end; text-align: left; }
  .mm-core #form-voucher > .text-end .btn { width: 100%; }
}
/* кнопка отправки AJAX-форм в ожидании ответа (mm-pages.js busy): тот же цвет, спиннер, без серого disabled */
.btn.mm-busy { pointer-events: none; cursor: progress; }
.btn.mm-busy .mm-spin { width: 1em; height: 1em; flex: 0 0 auto; }