/* Merrix Customer R130 — foundation layer */
html {
  text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.u-visually-hidden,
.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(.index-overlay strong,
       .design-card__title,
       .recommended-tile strong,
       .cart-item__title,
       .invoice-row__title,
       .search-result__title,
       .order-title-single-line) {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:where(.design-card__action,
       .primary-action,
       .secondary-action,
       .u-one-line-action) {
  white-space: nowrap;
}

@media (max-width: 1199px) {
  :root {
    --mx-shell-header-height: var(--mx-shell-mobile-header-height);
  }
}
