/* page-account.css — Account, login, order history, returns, thank-you page, order access (/o/). Loads after motivs.css.
   Edit this file directly: there is no build step. Cache-busting uses filemtime().
   Rules for editing: ops/css/README.md. Find unused selectors: node ops/css/csskit.mjs audit <file>

   Contents:
   §1  Account pages (.mv-acc*), returns (.mv-r*)
   §2  Cancel / return request actions
*/

/* ==========================================================================
   §1  Account pages (.mv-acc*), returns (.mv-r*)
   (was motivs-account.css)
   ========================================================================== */
/* Section navigation: a scrolling strip on phones, a sidebar from 992px. */
.mv-acc__nav {
  min-width: 0;
  margin: 0 -12px;
  overflow-x: auto;
  scrollbar-width: none;
}
.mv-acc__nav::-webkit-scrollbar {
  display: none;
}
.mv-acc__nav ul {
  display: flex;
  gap: var(--space-1);
  width: max-content;
  margin: 0;
  padding: 0 12px;
  list-style: none;
}
.mv-acc__nav a .m-icon {
  font-size: 20px;
  color: var(--ink-muted);
}
.mv-acc__nav a.is-active .m-icon {
  color: var(--brand);
}
/* Thumbnails */
.mv-acc__thumbs {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: var(--space-2);
  min-width: 0;
}
.mv-acc__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 56px;
  height: 56px;
  padding: 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}
.mv-acc__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.mv-acc-timeline {
  margin: 0 0 var(--space-3);
  padding: 0;
  list-style: none;
}
.mv-acc-timeline:last-child {
  margin-bottom: 0;
}
.mv-acc-timeline li {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0 0 var(--space-4) var(--space-6);
  font-size: 14px;
  line-height: 20px;
}
.mv-acc-timeline li:last-child {
  padding-bottom: 0;
}
.mv-acc-timeline li::before {
  content: "";
  position: absolute;
  top: 4px;
  left: 3px;
  width: 10px;
  height: 10px;
  border-radius: var(--radius-pill);
  background: var(--control-border);
}
.mv-acc-timeline li::after {
  content: "";
  position: absolute;
  top: 18px;
  bottom: -2px;
  left: 7px;
  width: 2px;
  background: var(--line);
}
.mv-acc-timeline li:last-child::after {
  display: none;
}
.mv-acc-timeline li.is-current::before {
  background: var(--brand);
  box-shadow: 0 0 0 3px var(--brand-soft);
}
.mv-acc-timeline small {
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-muted);
}
.mv-acc-timeline p {
  margin-top: 4px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}
/* Forms */
.mv-acc-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
}
.mv-acc-form__grid {
  display: grid;
  gap: var(--space-4);
}
.mv-acc-form .invalid-feedback {
  display: none;
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
  color: var(--stock-out);
}
.mv-acc-form .is-invalid {
  border-color: var(--stock-out);
}
.mv-acc-form .is-invalid ~ .invalid-feedback {
  display: block;
}
/* Login */
.mv-acc-login {
  max-width: 480px;
  margin: var(--space-4) auto var(--space-12);
}
.mv-acc-login .mv-panel {
  padding: var(--space-6);
}
.mv-acc-login__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
  text-align: center;
}
.mv-acc-login__head .m-icon {
  font-size: 32px;
  color: var(--brand);
}
.mv-acc-login__head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
}
.mv-acc-login__note {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin: var(--space-4) 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
  text-align: center;
}
@media (min-width: 576px) {
  .mv-acc-form__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .mv-acc__nav {
    position: sticky;
    top: var(--space-4);
    margin: 0;
    padding: var(--space-2);
    overflow: visible;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
  }
  .mv-acc__nav ul {
    flex-direction: column;
    width: auto;
    padding: 0;
  }
  .mv-acc__nav-logoff {
    margin-top: var(--space-1);
    padding-top: var(--space-1);
    border-top: 1px solid var(--line);
  }
}
/* ---------- Account (client zone) ---------- */
.mv-account {
  container: mvaccount / inline-size;
}
.mv-account__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-4);
}
.mv-account__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}
.mv-account__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-2) var(--space-4);
}
.mv-account__head p {
  margin: 4px 0 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
}
.mv-account__back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: var(--size-touch);
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mv-account__section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mv-account__section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
}
.mv-account__section-head a {
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
/* identity */
.mv-me {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
}
.mv-me__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 700;
  font-size: 15px;
}
.mv-me__name {
  display: block;
  font-weight: 600;
  font-size: 15px;
  line-height: 20px;
}
.mv-me__mail {
  display: block;
  overflow: hidden;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.mv-account__tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--surface-raised);
  border-bottom: 1px solid var(--line);
}
.mv-account__tabs a {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 56px;
  padding: 6px 2px;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
.mv-account__tabs a .m-icon {
  font-size: 22px;
}
.mv-account__tabs a[aria-current] {
  color: var(--brand);
}
.mv-account__tabs a[aria-current]::after {
  content: "";
  position: absolute;
  left: 20%;
  right: 20%;
  bottom: -1px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--brand);
}
.mv-account__tabs .mv-count {
  position: absolute;
  top: 4px;
  left: calc(50% + 6px);
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  font-size: 11px;
  background: var(--brand);
  color: var(--ink-inverse);
}
.mv-account__side {
  display: none;
}
@container mvaccount (min-width: 900px) {
  .mv-account__grid {
    grid-template-columns: 264px minmax(0, 1fr);
    gap: var(--space-8);
    align-items: start;
  }
  .mv-account__tabs {
    display: none;
  }
  .mv-account__side {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: sticky;
    top: var(--space-4);
    padding: var(--space-4);
    background: var(--surface-raised);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
  }
}
.mv-account__nav {
  list-style: none;
  margin: 0;
  padding: var(--space-2) 0 0;
  border-top: 1px solid var(--line);
}
.mv-account__nav a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  padding: 0 var(--space-3);
  border-radius: var(--radius-md);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mv-account__nav a .m-icon {
  font-size: 20px;
  color: var(--ink-muted);
}
.mv-account__nav a:hover {
  background: var(--surface-sunken);
}
.mv-account__nav a[aria-current] {
  background: var(--brand-soft);
  color: var(--brand);
}
.mv-account__nav a[aria-current] .m-icon {
  color: var(--brand);
}
.mv-account__nav .mv-count {
  margin-left: auto;
  background: var(--surface-sunken);
  color: var(--ink);
}
.mv-account__nav li.is-sep {
  margin-top: var(--space-2);
  padding-top: var(--space-2);
  border-top: 1px solid var(--line);
}
/* order progress */
.mv-tracker {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mv-tracker__now {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mv-tracker__now strong {
  font-size: 16px;
  line-height: 22px;
}
.mv-tracker__now span {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.mv-tracker__steps {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  margin: 0;
  padding: 0;
  list-style: none;
}
.mv-tracker__steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding-top: 0;
  color: var(--ink-muted);
  font-size: 11px;
  line-height: 14px;
  text-align: center;
}
.mv-tracker__steps li::before {
  content: "";
  position: relative;
  z-index: 1;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--surface-raised);
  box-shadow: inset 0 0 0 2px var(--control-border);
}
.mv-tracker__steps li::after {
  content: "";
  position: absolute;
  top: 6px;
  left: calc(-50% + 7px);
  right: calc(50% + 7px);
  height: 2px;
  background: var(--line);
}
.mv-tracker__steps li:first-child::after {
  display: none;
}
.mv-tracker__steps li.is-done {
  color: var(--ink);
}
.mv-tracker__steps li.is-done::before {
  background: var(--brand);
  box-shadow: none;
}
.mv-tracker__steps li.is-done::after,
.mv-tracker__steps li.is-current::after,
.mv-tracker__steps li.is-wait::after,
.mv-tracker__steps li.is-alert::after {
  background: var(--brand);
}
.mv-tracker__steps li.is-current {
  color: var(--brand);
  font-weight: 700;
}
.mv-tracker__steps li.is-current::before {
  background: var(--brand);
  box-shadow: 0 0 0 4px var(--brand-soft);
}
.mv-tracker__steps li.is-wait {
  color: var(--stock-supplier);
  font-weight: 700;
}
.mv-tracker__steps li.is-wait::before {
  background: var(--stock-supplier);
  box-shadow: 0 0 0 4px var(--stock-supplier-soft);
}
.mv-tracker__steps li.is-alert {
  color: var(--stock-out);
  font-weight: 700;
}
.mv-tracker__steps li.is-alert::before {
  background: var(--stock-out);
  box-shadow: 0 0 0 4px var(--stock-out-soft);
}
.mv-tracker--stopped .mv-tracker__steps li::after {
  background: var(--line) !important;
}
/* order card (overview, detail head) */
.mv-order-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.mv-order-card.is-attention {
  border-color: var(--stock-out);
  box-shadow: inset 0 3px 0 var(--stock-out);
}
.mv-order-card__flag {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--stock-out);
  font-size: 13px;
  line-height: 18px;
  font-weight: 700;
}
.mv-order-card__flag .m-icon {
  font-size: 16px;
}
.mv-order-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}
.mv-order-card__head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 22px;
}
.mv-order-card__head h3 a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--brand);
  font-weight: 600;
  text-decoration: none;
}
.mv-order-card__head h3 a:hover {
  text-decoration: underline;
}
.mv-order-card__head h3 .m-icon {
  flex: none;
  font-size: 16px;
}
.mv-order-card__head small {
  display: block;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.mv-order-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px var(--space-2);
  margin-top: 4px;
}
.mv-order-card__total {
  text-align: right;
  white-space: nowrap;
}
.mv-order-card--unpaid {
  gap: var(--space-3);
}
.mv-order-card__payment-status {
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  background: var(--stock-supplier-soft);
  color: var(--stock-supplier);
  font-size: 13px;
  font-weight: 700;
  line-height: 18px;
}
.mv-order-card__actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: var(--space-2) var(--space-4);
}
.mv-order-card__actions > a {
  display: inline-flex;
  align-items: center;
  min-height: var(--size-touch);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.mv-order-card__payment {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}
.mv-order-card__payment[open] {
  flex-basis: 100%;
}
.mv-order-card__payment > summary {
  min-height: var(--size-touch);
  list-style: none;
  cursor: pointer;
}
.mv-order-card__payment > summary::-webkit-details-marker {
  display: none;
}
.mv-order-card__payment[open] > summary .m-icon {
  transform: rotate(180deg);
}
.mv-order-card__payment > .mv-pay {
  max-width: 28rem;
  margin-top: var(--space-2);
}
.mv-order-card__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}
.mv-thumbs {
  display: flex;
  gap: var(--space-2);
  min-width: 0;
}
.mv-thumbs img,
.mv-thumbs span {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  object-fit: contain;
}
.mv-thumbs span {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-muted);
  font-size: 12px;
  font-weight: 700;
}
.mv-pay {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}
.mv-pay__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}
.mv-pay__head strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.mv-paym {
  display: block;
  margin: 0;
  padding: 0;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-md);
  background: var(--surface-raised, #fff);
  color: var(--ink);
  text-decoration: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
a.mv-paym,
.mv-paym > summary {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: var(--space-3);
  min-height: 64px;
  padding: 10px var(--space-3);
  cursor: pointer;
}
.mv-paym > summary {
  list-style: none;
}
.mv-paym > summary::-webkit-details-marker {
  display: none;
}
a.mv-paym:hover,
.mv-paym > summary:hover {
  border-color: var(--brand);
}
.mv-paym:hover {
  border-color: var(--brand);
}
a.mv-paym:focus-visible,
.mv-paym > summary:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}
.mv-paym__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--brand);
}
.mv-paym__icon svg {
  width: 22px;
  height: 22px;
}
.mv-paym__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.mv-paym__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 20px;
}
.mv-paym__sub {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
  overflow-wrap: break-word;
}
.mv-paym__chev {
  display: grid;
  place-items: center;
  color: var(--ink-muted);
  transition: transform var(--duration-fast);
}
.mv-paym__chev svg {
  width: 18px;
  height: 18px;
}
.mv-paym--transfer[open] {
  border-color: var(--brand);
}
.mv-paym--transfer[open] .mv-paym__chev {
  transform: rotate(90deg);
}
.mv-paym__panel {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding: 0 var(--space-3) var(--space-3);
}
.mv-paym__req {
  display: grid;
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.mv-paym__req > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}
.mv-paym__req dt {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 16px;
}
.mv-paym__req dd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  line-height: 20px;
  font-variant-numeric: tabular-nums;
}
.mv-paym__req dd > span {
  min-width: 0;
  overflow-wrap: anywhere;
}
.mv-paym__copy {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-pill);
  background: var(--surface-raised, #fff);
  color: var(--brand);
  font: 600 13px/1 var(--font-sans);
  cursor: pointer;
}
.mv-paym__copy svg {
  display: none;
  width: 14px;
  height: 14px;
}
.mv-paym__copy.is-done {
  border-color: var(--stock-in);
  color: var(--stock-in);
}
.mv-paym__copy.is-done svg {
  display: block;
}
.mv-paym__note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
@container mvaccount (min-width: 700px) {
  .mv-paym__req > div {
    grid-template-columns: 160px minmax(0, 1fr);
    align-items: center;
  }
}
/* where-is-my-parcel block */
.mv-ship {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}
.mv-ship__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 20px;
}
.mv-ship strong {
  display: block;
  font-size: 15px;
  line-height: 20px;
}
.mv-ship p {
  margin: 2px 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.mv-ship__code {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  background: var(--surface-sunken);
  font: 600 13px/20px ui-monospace, SFMono-Regular, Menlo, monospace;
  color: var(--ink);
}
/* order list */
.mv-order-list {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.mv-order-row {
  position: relative;
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto 16px;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
}
.mv-order-row + .mv-order-row {
  border-top: 1px solid var(--line);
}
.mv-order-row:hover {
  background: var(--surface);
}
.mv-order-row__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
}
.mv-order-row__icon.is-active {
  background: var(--brand-soft);
  color: var(--brand);
}
.mv-order-row__icon.is-wait {
  background: var(--stock-supplier-soft);
  color: var(--stock-supplier);
}
.mv-order-row__icon.is-alert {
  background: var(--stock-out-soft);
  color: var(--stock-out);
}
.mv-order-row__icon.is-off {
  background: var(--surface-sunken);
  color: var(--ink-muted);
}
.mv-order-row__main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.mv-order-row__main a {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  line-height: 20px;
  text-decoration: none;
}
.mv-order-row__main a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.mv-order-row__status {
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.mv-order-row__meta {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.mv-order-row__total {
  font-weight: 700;
  font-size: 15px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.mv-order-row > .m-icon {
  color: var(--ink-muted);
  font-size: 16px;
}
.mv-order-row .mv-thumbs {
  display: flex;
  grid-column: 2 / -1;
  grid-row: 2;
  flex-wrap: wrap;
}
.mv-order-row__total {
  grid-column: 3;
  grid-row: 1;
}
.mv-order-row > .m-icon {
  grid-column: 4;
  grid-row: 1;
}
.mv-order-row__icon {
  align-self: start;
}
.mv-order-row .mv-thumbs img,
.mv-order-row .mv-thumbs span {
  width: 40px;
  height: 40px;
}
@container mvaccount (min-width: 700px) {
  .mv-order-row {
    grid-template-columns: 36px minmax(0, 1fr) auto 110px 16px;
  }
  .mv-order-row .mv-thumbs {
    grid-column: 3;
    grid-row: 1;
  }
  .mv-order-row .mv-thumbs img,
  .mv-order-row .mv-thumbs span {
    width: 40px;
    height: 40px;
  }
  .mv-order-row__total {
    text-align: right;
    grid-column: 4;
  }
  .mv-order-row > .m-icon {
    grid-column: 5;
  }
  .mv-order-row {
    padding: var(--space-4) var(--space-5);
    column-gap: var(--space-4);
  }
  .mv-order-row__icon {
    align-self: center;
  }
}
.is-active-text {
  color: var(--brand);
}
.is-wait-text {
  color: var(--stock-supplier);
}
.is-alert-text {
  color: var(--stock-out);
}
/* buy again rail */
.mv-rail {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 148px;
  gap: var(--space-2);
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}
.mv-mini {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.mv-mini img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}
.mv-mini p {
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 13px;
  line-height: 18px;
  min-height: 36px;
}
.mv-mini__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.mv-mini .mv-btn {
  width: 36px;
  min-height: 36px;
  padding: 0;
}
.mv-mini .mv-btn .m-icon {
  font-size: 18px;
}
/* key-value lists */
.mv-kv {
  display: grid;
  gap: var(--space-3);
  margin: 0;
}
.mv-kv dt {
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 16px;
}
.mv-kv dd {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
@container mvaccount (min-width: 700px) {
  .mv-kv--2 {
    grid-template-columns: 1fr 1fr;
  }
}
.mv-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.mv-panel__head a {
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
/* order detail */
.mv-order-detail {
  display: grid;
  gap: var(--space-4);
  align-items: start;
}
@container mvaccount (min-width: 900px) {
  .mv-order-detail {
    grid-template-columns: minmax(0, 1fr) 320px;
  }
}
.mv-order-detail > div {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  min-width: 0;
}
.mv-order-line {
  display: grid;
  align-items: start;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--line);
}
.mv-order-line:first-child {
  border-top: 0;
  padding-top: 0;
}
.mv-order-line img {
  width: 56px;
  height: 56px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  object-fit: contain;
}
.mv-order-line p {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 20px;
}
.mv-order-line small {
  color: var(--ink-muted);
  font-size: 12px;
}
.mv-order-line__sum {
  text-align: right;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
}
.mv-order-line__sum small {
  display: block;
  font-weight: 400;
}
.mv-order-line .mv-btn {
  margin-top: 6px;
}
.mv-help-list {
  display: flex;
  flex-direction: column;
}
.mv-help-list a {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 48px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mv-help-list a:first-child {
  border-top: 0;
}
.mv-help-list a .m-icon:first-child {
  font-size: 20px;
  color: var(--ink-muted);
}
.mv-help-list a .m-icon:last-child {
  margin-left: auto;
  color: var(--ink-muted);
  font-size: 16px;
}
.mv-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  min-height: var(--size-touch);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}
.mv-switch input {
  appearance: none;
  position: relative;
  width: 44px;
  height: 26px;
  margin: 0;
  border-radius: 13px;
  background: var(--control-border);
  cursor: pointer;
  transition: background var(--duration-fast);
  flex: 0 0 auto;
}
.mv-switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--surface-raised);
  transition: transform var(--duration-fast);
}
.mv-switch input:checked {
  background: var(--brand);
}
.mv-switch input:checked::after {
  transform: translateX(18px);
}
/* ---------- Account pages: composition (2026-10-31, design system “Client zone”) ---------- */
.mv-account {
  margin-bottom: var(--space-12);
}
.mv-account p {
  margin: 0;
}
.mv-account__tabbar {
  position: sticky;
  top: 0;
  z-index: 5;
  margin: 0 -12px var(--space-4);
}
.mv-account__main > .alert,
.mv-account__main > .motivs-notice {
  margin: 0;
}
.mv-account__logoff {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  align-self: flex-start;
  min-height: var(--size-touch);
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.mv-account__logoff .m-icon {
  font-size: 18px;
}
@container mvaccount (min-width: 900px) {
  .mv-account__logoff {
    display: none;
  }
  .mv-account__tabbar {
    display: none;
  }
}
.mv-account__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  font-size: 14px;
  color: var(--ink-muted);
  margin-top: var(--space-2);
}
.mv-account__pages strong {
  font-weight: 600;
  color: var(--ink);
}
.mv-account__pages .navSplitPagesLinks {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.mv-account__pages .pagination {
  margin: 0;
}
.mv-account__empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}
.mv-account__history summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  list-style: none;
  cursor: pointer;
}
.mv-account__history summary::-webkit-details-marker {
  display: none;
}
.mv-account__history[open] summary .m-icon {
  transform: rotate(180deg);
}
.mv-account__history .mv-acc-timeline {
  margin-top: var(--space-4);
}
.mv-account__actions {
  position: sticky;
  bottom: 0;
  z-index: 4;
  display: flex;
  justify-content: flex-end;
  gap: var(--space-2);
  padding: var(--space-3);
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.mv-account__actions .mv-btn {
  flex: 1 1 0;
}
@container mvaccount (min-width: 700px) {
  .mv-account__actions {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0;
    background: none;
  }
  .mv-account__actions .mv-btn {
    flex: 0 0 auto;
  }
}
.mv-account .mv-acc-form {
  gap: var(--space-4);
}
.mv-account .mv-switch {
  margin-bottom: 4px;
}
.mv-order-line > img {
  width: 56px;
  height: 56px;
}
.mv-order-line .js-add-to-cart-form {
  margin: 6px 0 0;
}
.mv-mini > a img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}
.mv-mini .js-add-to-cart-form {
  margin: 0;
}
.mv-thumbs img {
  height: 48px;
}
.mv-order-card__foot .mv-thumbs img,
.mv-order-card__foot .mv-thumbs span {
  width: 48px;
  height: 48px;
}
.mv-acc-login__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--brand-soft);
}
.mv-acc-login__hint {
  margin-top: 2px;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}
.mv-acc-login__hint summary {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  color: var(--brand);
  font-weight: 600;
  cursor: pointer;
}
.mv-acc-login__hint p {
  margin: 0;
}
/* ---------- Mobile overflow fixes (long labels, LT/RU) ---------- */
.mv-order-products {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(min(100%,240px),1fr));
  gap: var(--space-3);
}
.mv-order-product {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  padding: var(--space-3);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
  text-decoration: none;
  min-width: 0;
}
.mv-order-product__image {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  background: var(--surface-raised);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.mv-order-product__image img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.mv-order-product__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  min-width: 0;
}
.mv-order-product__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.mv-order-product__qty {
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}
.mv-order-stock {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 600;
}
.mv-order-stock .m-icon {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
}
.mv-order-stock--in {
  color: var(--stock-in);
}
.mv-order-stock--supplier {
  color: var(--stock-supplier);
  background: var(--stock-supplier-soft);
  padding: 3px 7px;
  border-radius: var(--radius-sm);
}
.mv-order-stock--unknown {
  color: var(--ink-muted);
}
.mv-order-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: var(--surface-sunken);
  color: var(--ink-muted);
  font-weight: 700;
}
.mv-order-line {
  grid-template-columns: 96px minmax(0,1fr) auto;
  gap: var(--space-4);
}
.mv-order-line__image {
  width: 96px;
  height: 96px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}
.mv-order-line__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  border: 0;
}
.mv-order-line__stock {
  margin-top: 8px;
}
@media(max-width:575.98px) {
  .mv-order-line {
    grid-template-columns: 72px minmax(0,1fr);
    gap: 12px;
  }
  .mv-order-line__image {
    width: 72px;
    height: 72px;
  }
  .mv-order-line__sum {
    grid-column: 2;
    text-align: left;
    margin-top: -6px;
  }
  .mv-order-product__image {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }
  .mv-order-product__image img {
    width: 56px;
    height: 56px;
  }
}
.mv-invoice-actions {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: var(--space-3);
}
.mv-invoice-actions form {
  margin: 0;
  min-width: 0;
}
@media(max-width:575.98px) {
  .mv-invoice-actions {
    grid-template-columns: 1fr;
  }
}
.mv-account {
  max-width: 100%;
  overflow-x: clip;
}
.mv-account__main > *,
.mv-order-card {
  min-width: 0;
}
.mv-pay .mv-btn,
.mv-order-card .mv-btn,
.mv-account__actions .mv-btn,
.mv-order-line .mv-btn {
  white-space: normal;
  text-align: center;
  overflow-wrap: break-word;
  height: auto;
  line-height: 20px;
  padding-top: 10px;
  padding-bottom: 10px;
}
.mv-ship__eta {
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 1.5;
}
/* ---------- Returns (account_returns, guest returns form): design system ReturnForm, copied from bundle.css ---------- */
#accountReturnsDefault :is(.mv-cancel-confirm, .mv-request-result) {
  scroll-margin-top: 72px;
}
#accountReturnsDefault .mv-cancel-amount {
  margin: var(--space-2) 0;
  font-size: 16px;
  line-height: 1.5;
}
@container mvaccount (min-width: 900px) {
  #accountReturnsDefault :is(.mv-cancel-confirm, .mv-request-result) {
    scroll-margin-top: var(--space-4);
  }
}
.mv-rsteps {
  margin: 0 0 var(--space-2);
}
.mv-rtypes {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-2);
  margin: 0;
  padding: 0;
  border: 0;
}
@container mvaccount (min-width: 700px) {
  .mv-rtypes {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .mv-rtypes .mv-rtype {
    grid-template-columns: minmax(0, 1fr) 20px;
    grid-template-areas: "icon dot" "text text";
    align-items: start;
    padding: var(--space-3);
  }
  .mv-rtypes .mv-rtype__icon {
    grid-area: icon;
  }
  .mv-rtypes .mv-rtype__dot {
    grid-area: dot;
  }
  .mv-rtypes .mv-rtype > span:nth-of-type(2) {
    grid-area: text;
  }
}
.mv-rtype {
  position: relative;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  align-items: center;
  gap: var(--space-3);
  min-height: 64px;
  padding: 10px var(--space-3);
  border: 1px solid var(--control-border);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  cursor: pointer;
}
.mv-rtype input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.mv-rtype__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--surface);
  color: var(--ink-muted);
  font-size: 20px;
}
.mv-rtype strong {
  display: block;
  font-size: 15px;
  line-height: 20px;
}
.mv-rtype small {
  display: block;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.mv-rtype__dot {
  width: 20px;
  height: 20px;
  border: 2px solid var(--control-border);
  border-radius: 50%;
}
.mv-rtype:has(input:checked),
.mv-rtype.is-selected {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.mv-rtype:has(input:checked) .mv-rtype__icon,
.mv-rtype.is-selected .mv-rtype__icon {
  background: var(--brand-soft);
  color: var(--brand);
}
.mv-rtype:has(input:checked) .mv-rtype__dot,
.mv-rtype.is-selected .mv-rtype__dot {
  border: 6px solid var(--brand);
}
.mv-rtype:has(input:focus-visible) {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.mv-deadline {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  background: var(--stock-in-soft);
  font-size: 14px;
  line-height: 20px;
}
.mv-deadline strong {
  font-size: 15px;
}
.mv-deadline__bar {
  height: 6px;
  border-radius: 3px;
  background: rgba(23, 112, 58, .18);
  overflow: hidden;
}
.mv-deadline__bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--stock-in);
}
.mv-deadline.is-soon {
  background: var(--stock-supplier-soft);
}
.mv-deadline.is-soon .mv-deadline__bar {
  background: rgba(133, 86, 12, .18);
}
.mv-deadline.is-soon .mv-deadline__bar span {
  background: var(--stock-supplier);
}
.mv-deadline.is-over {
  background: var(--surface-sunken);
}
.mv-ritems {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
}
.mv-ritem {
  display: grid;
  grid-template-columns: 24px 64px minmax(0, 1fr);
  grid-template-areas: "check img body" ". . qty";
  gap: var(--space-2) var(--space-3);
  align-items: start;
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
}
.mv-ritem + .mv-ritem {
  border-top: 1px solid var(--line);
}
.mv-ritem > input[type=checkbox] {
  grid-area: check;
  width: 22px;
  height: 22px;
  margin: 20px 0 0;
  accent-color: var(--brand);
}
.mv-ritem img {
  grid-area: img;
  width: 64px;
  height: 64px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  object-fit: contain;
  background: var(--surface-raised);
}
.mv-ritem__body {
  grid-area: body;
  min-width: 0;
  font-size: 14px;
  line-height: 20px;
}
.mv-ritem__body strong {
  display: block;
  font-weight: 600;
}
.mv-ritem__body small {
  display: block;
  margin-top: 2px;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.mv-ritem__qty {
  grid-area: qty;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 13px;
  color: var(--ink-muted);
}
.mv-ritem.is-selected {
  background: var(--brand-soft);
}
.mv-ritem.is-off {
  cursor: default;
  opacity: .62;
}
.mv-ritem.is-off .mv-ritem__body small:last-child {
  color: var(--ink);
  opacity: 1;
}
@container mvaccount (min-width: 700px) {
  .mv-ritem {
    grid-template-columns: 24px 64px minmax(0, 1fr) auto;
    grid-template-areas: "check img body qty";
    align-items: center;
  }
  .mv-ritem > input[type=checkbox] {
    margin-top: 0;
  }
  .mv-ritem__qty {
    justify-content: flex-end;
  }
}
.mv-rsummary {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}
.mv-rsummary__line {
  display: flex;
  justify-content: space-between;
  gap: var(--space-3);
  font-size: 14px;
  line-height: 20px;
}
.mv-rsummary__line strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.mv-rbar {
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-top: 1px solid var(--line);
  background: var(--surface-raised);
  box-shadow: 0 -4px 16px rgba(28, 42, 50, .08);
}
.mv-rbar__sum {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  line-height: 18px;
  color: var(--ink-muted);
}
.mv-rbar__sum strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
}
.mv-rbar .mv-btn {
  flex: 0 0 auto;
}
.mv-rorder {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px var(--space-3);
  padding: var(--space-3) var(--space-4);
}
.mv-rorder + .mv-rorder {
  border-top: 1px solid var(--line);
}
.mv-rorder a {
  color: var(--ink);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}
.mv-rorder a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.mv-rorder:hover {
  background: var(--surface);
}
.mv-rorder__meta {
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.mv-rorder .mv-order-items {
  grid-column: 1 / -1;
  margin-right: 0;
}
.mv-rorder__tag {
  align-self: start;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 700;
  line-height: 18px;
  white-space: nowrap;
}
.mv-rorder__tag.is-ok {
  background: var(--stock-in-soft);
  color: var(--stock-in);
}
.mv-rorder__tag.is-soon {
  background: var(--stock-supplier-soft);
  color: var(--stock-supplier);
}
.mv-rorder__tag.is-off {
  background: var(--surface-sunken);
  color: var(--ink-muted);
}
.mv-rnotice {
  grid-template-columns: 36px minmax(0, 1fr) auto;
  align-items: center;
  padding: var(--space-3) var(--space-4);
}
.mv-rnotice + .mv-rnotice {
  border-top: 1px solid var(--line);
}
.mv-rnotice strong {
  display: block;
  font-size: 14px;
}
.mv-rnotice small {
  color: var(--ink-muted);
  font-size: 13px;
}
.mv-rnotice .mv-order-row__icon {
  grid-area: auto;
  align-self: center;
}
.mv-rnotice > div {
  min-width: 0;
}
/* Composition (not in bundle.css): form column + summary column, sticky bar on phones. */
.mv-returns .mv-account__main {
  min-width: 0;
}
.mv-rform {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin: 0;
}
.mv-rlayout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}
.mv-rlayout__side {
  display: none;
  flex-direction: column;
  gap: var(--space-4);
  position: sticky;
  top: 16px;
}
.mv-rtype {
  align-content: start;
}
.mv-ritem__qty .mv-qty button {
  font-size: 18px;
  line-height: 1;
}
.mv-ritem:not(.is-selected) .mv-ritem__qty {
  display: none;
}
.mv-rbar {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.mv-rfields {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.mv-rreview {
  margin: 0;
}
.mv-rreview dd {
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.mv-rorder .mv-order-items {
  display: flex;
  gap: var(--space-2);
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.mv-rorder .mv-order-items img {
  width: 44px;
  height: 44px;
  padding: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--surface-raised);
}
.mv-rsearch {
  display: flex;
  gap: var(--space-2);
  align-items: flex-end;
  flex-wrap: wrap;
}
.mv-rsearch .mv-field {
  flex: 1 1 200px;
  margin: 0;
}
.mv-rpager {
  display: flex;
  gap: var(--space-4);
}
@container mvaccount (min-width: 900px) {
  .mv-rlayout--split {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .mv-rlayout--split .mv-rlayout__side {
    display: flex;
  }
  .mv-rlayout--split .mv-rbar {
    display: none;
  }
}
.mv-rshell {
  container: mvaccount / inline-size;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.mv-rorder > strong {
  align-self: start;
}
.mv-rnotice a {
  color: var(--ink);
  text-decoration: none;
}
/* Order page returns block (account_history_info) */
.mv-rpanel {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  overflow-wrap: anywhere;
}
.mv-rpanel .mv-h3 {
  margin: 0;
}
.mv-rpanel .mv-deadline {
  margin: 0;
}
.mv-rpanel__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}
.mv-rpanel__actions .mv-btn {
  flex: 1 1 220px;
}
.mv-rpanel__note {
  margin: 0;
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
}
.mv-rpanel .mv-rnotice {
  grid-template-columns: 36px minmax(0, 1fr);
  row-gap: 6px;
}
.mv-rpanel .mv-rnotice .mv-rorder__tag {
  grid-column: 2;
  justify-self: start;
}
.mv-rnotice strong {
  white-space: nowrap;
}
/* Account return: review step (motivs_render_notice_review) */
.mv-rcheck {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.mv-rcheck__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-3);
}
.mv-rcheck__kind {
  display: block;
  margin-bottom: 2px;
  color: var(--brand);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.mv-rcheck__head .mv-h2 {
  margin: 0 !important;
  padding: 0;
}
.mv-rcheck__label {
  margin: 0 0 calc(-1 * var(--space-2));
  color: var(--ink-muted);
  font-size: 13px;
  line-height: 18px;
  font-weight: 600;
}
.mv-rcheck__items {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}
.mv-rcheck__items li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
}
.mv-rcheck__items li + li {
  border-top: 1px solid var(--line);
}
.mv-rcheck__items strong {
  display: block;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}
.mv-rcheck__items small {
  display: block;
  color: var(--ink-muted);
  font-size: 12px;
  line-height: 16px;
}
.mv-rcheck__qty {
  flex: 0 0 auto;
  white-space: nowrap;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-muted);
}
.mv-rcheck__kv {
  gap: var(--space-3) var(--space-6);
}
.mv-rcheck__kv dd {
  white-space: pre-line;
}
.mv-rcheck__mail {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin: 0;
  color: var(--ink-muted);
  font-size: 14px;
  line-height: 20px;
  overflow-wrap: anywhere;
}
.mv-rcheck__mail .m-icon {
  flex: 0 0 auto;
  font-size: 18px;
  color: var(--brand);
}
.mv-rcheck__form {
  margin: 0;
  padding-top: var(--space-4);
  border-top: 1px solid var(--line);
}
.mv-rcheck__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}
.mv-rcheck__actions .mv-btn {
  margin: 0;
  min-height: 48px;
}
@media (max-width: 575px) {
  .mv-rcheck__actions .mv-btn {
    flex: 1 1 100%;
  }
  .mv-rcheck__items li {
    flex-direction: column;
    gap: 2px;
  }
}
.mv-rnext {
  margin-top: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--brand-soft);
}
.mv-rnext .mv-h3 {
  margin: 0 0 4px;
  font-size: 15px;
}
.mv-rnext p {
  margin: 0;
  font-size: 14px;
  line-height: 21px;
  color: var(--ink);
}
/* Unpaid order: what was ordered, reservation deadline, bank transfer switch */
.mv-order-card__items {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  min-width: 0;
  color: var(--ink);
  text-decoration: none;
}
.mv-order-card__items:hover .mv-order-card__item-text > span:first-child {
  text-decoration: underline;
}
.mv-order-card__item-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  min-width: 0;
}
.mv-order-card__item-text > span:first-child {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 14px;
  line-height: 20px;
}
.mv-order-card__items .mv-thumbs {
  flex: none;
}
.mv-order-card__items .mv-thumbs img,
.mv-order-card__items .mv-thumbs span {
  width: 44px;
  height: 44px;
}
.mv-pay__due {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  color: var(--stock-supplier);
  font-size: 13px;
  font-weight: 600;
  line-height: 18px;
}
.mv-pay__due .m-icon {
  font-size: 15px;
}
.mv-pay__due[hidden] {
  display: none;
}
.mv-pay > .mv-pay__due {
  margin-bottom: var(--space-1);
}
.mv-pay__or {
  margin: var(--space-2) 0 0;
  color: var(--ink-muted);
  font-size: 13px;
  font-weight: 600;
}
.mv-paym__status {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--radius-md);
  background: var(--brand-soft);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}
.mv-paym__status.is-ok {
  background: var(--stock-in-soft);
  color: var(--action-soft-ink);
  font-weight: 600;
}
.mv-paym__status .m-icon {
  flex: none;
  margin-top: 2px;
  font-size: 16px;
}
.mv-paym__status[hidden],
.mv-paym [data-pay-switch-show][hidden],
.mv-paym [data-pay-switch-form][hidden] {
  display: none !important;
}
/* Payment options with logos: bank tiles (open that bank directly) and card with wallet/card marks */
.mv-paym--banks {
  padding: 10px var(--space-3) var(--space-3);
}
.mv-paym--banks:hover {
  border-color: var(--control-border);
}
.mv-paym__row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}
.mv-paybanks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-2);
}
.mv-paybank {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 6px 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 16px;
  text-align: center;
  text-decoration: none;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}
.mv-paybank:hover {
  border-color: var(--brand);
  box-shadow: inset 0 0 0 1px var(--brand);
  color: var(--ink);
  text-decoration: none;
}
.mv-paybank:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}
.mv-paybank img {
  display: block;
  width: 100%;
  object-fit: contain;
}
.mv-paybank img + span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.mv-paybank--other {
  color: var(--brand);
  background: var(--surface);
  border-style: dashed;
}
.mv-paym__logos {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}
.mv-paym__logos img {
  width: auto;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
}
@container mvaccount (min-width: 560px) {
  .mv-paybanks {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}
.mv-success__items .mv-order-stock {
  margin-top: 4px;
}
/* In the order card the wait is a quiet line under the item name, not a second badge */
.mv-order-card__item-text .mv-order-stock {
  padding: 0;
  background: none;
  font-size: 13px;
  line-height: 18px;
}
.mv-paybank img {
  height: 30px;
  max-width: 96px;
}

/* ==========================================================================
   §2  Cancel / return request actions
   (was return-actions.css)
   ========================================================================== */
.mv-cancel-confirm {
  max-width: 720px;
  margin: 20px auto;
}
.mv-cancel-amount {
  font-size: 26px;
  font-weight: 700;
}
.mv-cancel-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  flex-wrap: wrap;
  margin-top: 24px;
}
.mv-cancel-confirm textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
}
.mv-request-result {
  max-width: 760px;
  margin: 24px auto;
  text-align: center;
  padding: 32px !important;
}
.mv-result-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e7f4ec;
  color: #247746;
  font-size: 28px;
  margin-bottom: 16px;
}
.mv-result-next {
  font-size: 18px;
  line-height: 1.6;
}
.mv-rtypes {
  grid-template-columns: repeat(auto-fit,minmax(min(240px,100%),1fr)) !important;
}
.mv-rtype,
.mv-rtype strong,
.mv-rtype small {
  font-family: inherit;
}
.order-access .mv-rtype {
  font-family: Arial,Helvetica,sans-serif;
}
.mv-rcontacts summary {
  cursor: pointer;
}
.mv-rcontacts .mv-kv {
  margin-top: 16px;
}
@media(max-width:600px) {
  .mv-cancel-buttons>* {
    flex: 1 1 100%;
    text-align: center;
  }
  .mv-request-result {
    padding: 24px 16px !important;
  }
  .mv-rsteps li {
    min-width: 0;
  }
}
.mv-request-message {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.mv-rnotice {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px;
}
.mv-rnotice>div {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}
.mv-rnotice .mv-rorder__tag {
  position: static !important;
  white-space: normal;
}
.mv-rnotice small {
  display: block;
}
.mv-request-detail {
  padding: 24px;
}
@media(max-width:600px) {
  .mv-rnotice .mv-rorder__tag {
    flex-basis: 100%;
    margin-left: 44px;
    text-align: left;
  }
  .mv-rnotice small {
    line-height: 1.6;
  }
  .mv-rnotice strong {
    display: block;
  }
}
.mv-selection-error[hidden] {
  display: none !important;
}
.mv-selection-error {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff0ef;
  color: #8e201a;
  border: 2px solid #ba3028;
  border-radius: 12px;
  padding: 18px;
  margin: 0 0 16px;
  font-size: 17px;
  line-height: 1.5;
  scroll-margin-top: 190px;
}
.mv-selection-error>span {
  display: inline-flex;
  flex: 0 0 32px;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ba3028;
  color: #fff;
  font-size: 23px;
  font-weight: 700;
}
.mv-selection-error:focus {
  outline: 3px solid #ba3028;
  outline-offset: 3px;
}
.has-selection-error [data-ritems] {
  outline: 2px solid #ba3028;
  outline-offset: 4px;
  border-radius: 12px;
}
@media(max-width:600px) {
  .mv-selection-error {
    padding: 16px;
    font-size: 16px;
    gap: 12px;
  }
}
