/* MPXR across the shop (theme.py): the board layout's type, black and orange laid over the shop's own tokens, so
   the checkout, order page and quote continue the MPXR landing. Loaded after site.css (base.html) only in the MPXR
   look; layout, wording and behaviour stay the shop's. Contrast: orange as text is --teal-ink (5.4:1 on white,
   4.8:1 on --concrete); orange fills carry #111 text (6.2:1). */
:root[data-theme="mpxr"] {
  --font-sans: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --mx-display: "Roboto Condensed", "Arial Narrow", sans-serif;
  --mx-accent: #F26B1D;
  --night: #000000;
  --night-scan: #0b0b0b;
  --night-line: rgba(255, 255, 255, .14);
  --concrete: #f1f1f4;
  --ink: #111111;
  --teal: #F26B1D;          /* fills: Buy buttons, ruler, running square */
  --teal-ink: #b5470f;      /* orange as text: discounts, nudges, "Change" */
  --cyan: #F7A23B;          /* on black: links and focus; hover of orange fills */
  --focus: #b5470f;
  --focus-night: #F7A23B;
  --xr: #F26B1D;
  --r-control: 10px;
}

/* headlines: condensed capitals, as on the landing */
:root[data-theme="mpxr"] h1, :root[data-theme="mpxr"] .t-title, :root[data-theme="mpxr"] .co-sec__title, :root[data-theme="mpxr"] .op-done__title {
  font-family: var(--mx-display); font-stretch: normal; font-weight: 700; text-transform: uppercase; letter-spacing: .005em;
}

/* buttons: pills, the primary one orange */
:root[data-theme="mpxr"] .btn { border-radius: 999px; }
:root[data-theme="mpxr"] .btn--primary { background: var(--mx-accent); color: #111; }
:root[data-theme="mpxr"] .btn--primary:hover { background: #ff7d33; }

/* header: the black bar with "Eagle XR by Screening Eagle", exactly as the XR page's (5 Nov: going from one to the
   other the header must not jump): 64 px and its 1 px line on every width, the wordmark in Roboto Black, the XR mark
   .72em high on the baseline, the tagline #8C8F94 */
:root[data-theme="mpxr"] { --header-h: 65px; }
:root[data-theme="mpxr"] .site-header--night { border-bottom-color: rgba(255, 255, 255, .08); }
.wordmark--mpxr { gap: 0; min-height: 0; align-items: baseline; font: 900 26px/1 "Roboto", "Helvetica Neue", Arial, sans-serif; letter-spacing: -.025em; }
.wordmark--mpxr .wordmark__xr { display: block; width: auto; height: .72em; margin-left: .24em; align-self: baseline; }
/* as the website (5 Nov): "Eagle XR" to the XR page, "by Screening Eagle" to screeningeagle.com, white with an arrow
   on hover; on phones it stands under the logo, the arrow shown */
.wordmark--mpxr .wordmark__home { display: inline-flex; align-items: baseline; color: inherit; text-decoration: none; }
.wordmark--mpxr .wordmark__by { display: inline-flex; align-items: center; gap: 3px; margin-left: 8px; font: 400 13px/1.2 "Roboto", "Helvetica Neue", Arial, sans-serif; letter-spacing: normal; color: #8C8F94; text-decoration: none; transition: color .2s ease; }
.wordmark--mpxr .wordmark__arrow { width: .85em; height: .85em; flex: none; transition: opacity .2s ease, transform .2s ease; }
.wordmark--mpxr .wordmark__by:hover, .wordmark--mpxr .wordmark__by:focus-visible { color: #fff; }
@media (hover: hover) {
  .wordmark--mpxr .wordmark__arrow { opacity: 0; transform: translate(-2px, 2px); }
  .wordmark--mpxr .wordmark__by:hover .wordmark__arrow, .wordmark--mpxr .wordmark__by:focus-visible .wordmark__arrow { opacity: 1; transform: none; }
}
@media (max-width: 820px) {         /* as the XR page: two lines up to 820 px */
  .wordmark--mpxr { flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; }
  .wordmark--mpxr .wordmark__by { position: relative; top: 1px; margin-left: 1px; font-size: 11.5px; }   /* 1 px: the XR page's line box */
  .wordmark--mpxr .wordmark__arrow { opacity: 1; transform: none; }
}
:root[data-theme="mpxr"] .on-night .co-cur { color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%23ffffff' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
:root[data-theme="mpxr"] .on-night .co-cur option { color: #111; }
:root[data-theme="mpxr"] .on-night .theme-sw a[aria-current] { background: var(--mx-accent); color: #111; }
:root[data-theme="mpxr"] .site-header .link { color: #fff; }       /* "Print" on the order page */
