/* Shared finishing rules; load after page-specific styles and keep the original CSS intact. */

/* Keyboard focus stays visible and follows the existing gold palette. */
body :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--hero-gold);
  outline-offset: 5px;
}
body .skip-link {
  background: var(--hero-gold);
  color: #080808;
  border-radius: 3px;
  line-height: 1.5;
}
body .skip-link:is(:hover, :focus, :focus-visible) { color: #080808; }

/* Information pages use the same light heading treatment as the refined pages. */
.info-page .info-main :is(h1, h2) {
  font-family: 'Helvetica Neue', Arial, Helvetica, sans-serif;
  font-weight: 400;
}
.info-page .info-eyebrow,
.comparison-page .comparison-eyebrow {
  font-family: 'Valtinsu Menu Soft', Arial, sans-serif;
  font-size: 10px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: .12em;
}

/* Supporting comparison copy remains compact without relying on tiny desktop text. */
@media (min-width: 761px) {
  .comparison-page :is(.comparison-scroll-hint, .comparison-note, .comparison-ordering, .comparison-contact,
    .comparison-jump, .comparison-button, .comparison-model-actions a) {
    font-size: 12px;
  }
}

/* Enquiry, Contact, Test ride and Parts share one field appearance. */
body .enquiry-form .form-field {
  gap: 9px;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--hero-gold-soft);
}
body .enquiry-form .form-field :is(input, select, textarea) {
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgb(232 184 63 / 24%);
  border-radius: 3px;
  background: #101010;
  color: var(--hero-gold-soft);
  font-size: 16px;
  font-weight: 400;
  color-scheme: dark;
}
body .enquiry-form .form-field :is(input, select, textarea):hover {
  border-color: rgb(232 184 63 / 46%);
}
body .enquiry-form .form-field option { background: #101010; }
body .enquiry-form .info-button[type="submit"] {
  min-height: 48px;
  padding: 13px 26px;
  font-size: 13px;
  font-weight: 400;
}

/* Match the shared editorial starting position at the existing breakpoints. */
.faq-page .page-shell { padding-top: 148px; }
@media (max-width: 1000px) {
  .faq-page .page-shell { padding-top: 132px; }
}
@media (max-width: 760px) {
  .faq-page .page-shell { padding-top: 118px; }
  body .enquiry-form .form-field > small {
    font-size: 12px;
    line-height: 1.7;
  }
}

/* Language menu: rendered only when more than one language is published. */
.language-menu { position: relative; font-family: 'Valtinsu Menu Soft', Arial, sans-serif; font-size: 11px; letter-spacing: .12em; }
.language-menu summary { list-style: none; cursor: pointer; min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--hero-gold, #d8b45a); }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; border-radius: 6px; }
.language-menu ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; margin: 0; padding: 8px 0; list-style: none; min-width: 180px; max-height: min(70vh, 520px); overflow-y: auto; background: #050505; border: 1px solid rgba(216, 180, 90, .28); border-radius: 12px; }
.language-menu a { display: block; padding: 10px 18px; letter-spacing: .04em; text-transform: none; font-size: 13px; color: inherit; }
.language-menu a:hover, .language-menu a[aria-current="true"] { color: var(--hero-gold-soft, #f0d78c); }
