/* A note leaves the paper before the next reviewer arrives. */
.quote-deck .quote-track {
  opacity: 1;
  transition: opacity 150ms ease-out;
}
.quote-deck .quote-track.turning-out {
  opacity: 0;
  transition-duration: 130ms;
}
.quote-deck .quote-slide[hidden] { display: none !important; }

.nm-form .field-error {
  display: block;
  margin-block-start: 5px;
  color: #8b2142;
  font: 600 13px/1.45 var(--nm-sans);
}
.nm-form .field-error[hidden] { display: none; }
.nm-form [aria-invalid="true"] { border-color: #8b2142; box-shadow: 0 0 0 1px #8b2142; }

[data-route="factory-shop"] .page-actions { position: static; }
[data-route="factory-shop"] #buying-a-box .phone-number {
  display: inline;
  white-space: nowrap;
}

@media (max-width: 767.98px) {
  [data-route="contact-us"] .nm-intro:has(.r4-contact-us) {
    min-height: 0;
    padding-block: 20px;
  }
  [data-route="contact-us"] .nm-intro > .r4-contact-us {
    width: min(100%, 280px);
    min-height: 0;
    margin-block: 4px 8px;
    aspect-ratio: 680 / 460;
  }
  [data-route="contact-us"] .nm-section:has(.branch-sheet) {
    border-block: 0;
    margin-block-end: 32px;
    padding-block-end: 0;
  }
  [data-route="contact-us"] .nm-section:has(.branch-sheet) > h2 {
    margin-block-end: 16px;
    line-height: 1.12;
  }
  [data-route="contact-us"] .branch-sheet { margin-block-start: 0; }
}
