/* Shared branding, readable buyer answers and floating purchase control. */
html { scroll-padding-bottom: 180px; }
body .strip { padding: 20px 28px; }
body .strip-inner { max-width: 1176px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
body .strip img { width: 180px; height: auto; margin: 0; }
body .strip-note { color: white; margin: 0; font-size: 20px; text-align: right; line-height: 1.5; }
body .strip-note span { display: block; font-size: 18px; color: #d2cec5; }
body .more b::after { content: none; }
body .nav ul { flex-wrap: wrap; }
body .bar { left: 50%; right: auto; bottom: 18px; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 18px 24px; gap: 32px; border: 1px solid #4c5053; border-top: 3px solid var(--orange); border-radius: 10px; box-shadow: 0 6px 30px #0004; transition: opacity .15s; }
body .bar b { font-size: 20px; line-height: 1.4; }
body .bar div span { display: block; font-size: 18px; line-height: 1.4; margin-top: 3px; }
body .bar a { font-size: 20px; padding: 16px 22px; border-radius: 5px; line-height: 1.4; min-height: 60px; text-align: center; }
body .bar.is-hidden { visibility: hidden; opacity: 0; pointer-events: none; }
body:not(.nobar) footer { padding-bottom: 190px; }
.faq-page-wide { max-width: 1180px; padding: 0 28px; margin: 0 auto; }
.buyer-faq { font-size: 18px; }
.faq-tools { border-top: 3px solid var(--ink); padding-top: 24px; margin-bottom: 28px; }
.faq-tools > label { display: block; font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.faq-search-row { display: flex; gap: 12px; }
.faq-search-row input { font: inherit; font-size: 20px; min-height: 60px; flex: 1; min-width: 0; padding: 14px 18px; border: 2px solid var(--rule); border-radius: 5px; background: #fff; color: var(--ink); }
.faq-search-row button { font: inherit; font-size: 18px; font-weight: 700; padding: 14px 18px; min-height: 60px; border: 2px solid var(--ink); border-radius: 5px; background: #fff; cursor: pointer; }
.faq-search-row button:hover { background: var(--paper); }
#faq-count { font-size: 18px; margin: 14px 0 0; color: var(--pencil); }
.faq-layout { display: grid; grid-template-columns: 245px minmax(0,1fr); gap: 36px; align-items: start; }
.faq-layout:has(.faq-topics[hidden]) { grid-template-columns: 1fr; }
.faq-topics { display: grid; gap: 8px; position: sticky; top: 24px; }
.faq-topics button { font: inherit; text-align: left; font-size: 18px; font-weight: 600; padding: 14px 18px; min-height: 56px; border: 1px solid var(--rule); border-radius: 5px; background: var(--zebra); color: var(--ink); cursor: pointer; }
.faq-topics button[aria-pressed="true"] { color: white; background: var(--ink); border-color: var(--ink); }
body .faq-group, body.sales .faq-group { padding: 0; margin: 0 0 36px; }
.faq-group h3 { font-size: 27px; margin: 0 0 18px; }
.faq-group details { border-top: 1px solid var(--rule); border-bottom: 0; margin: 0; padding: 0; }
.faq-group details:last-child { border-bottom: 1px solid var(--rule); }
.faq-group summary { padding: 20px 40px 20px 0; font-size: 20px; line-height: 1.5; font-weight: 650; }
.faq-group summary::after { top: 18px; font-size: 26px; }
.faq-answer { padding: 0 30px 22px 0; }
.faq-answer p { font-size: 18px; line-height: 1.65; margin: 0 !important; }
#faq-empty { background: var(--paper); border-left: 4px solid var(--orange); padding: 24px; }
#faq-empty h3 { font-size: 26px; }
#faq-empty p { font-size: 18px; }
.buyer-faq [hidden] { display: none !important; }
.faq-tools input:focus-visible, .faq-tools button:focus-visible, .faq-topics button:focus-visible { outline: 3px solid var(--orange-deep); outline-offset: 3px; }
@media (max-width: 760px) {
  body .strip { padding: 18px 22px; }
  body .strip-inner { align-items: start; flex-direction: column; gap: 12px; }
  body .strip img { width: 160px; }
  body .strip-note { text-align: left; font-size: 18px; overflow-wrap: anywhere; }
  .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .faq-topics { position: static; display: flex; flex-wrap: wrap; gap: 8px; }
  .faq-topics button { flex: 1 1 auto; padding: 12px 14px; }
  .faq-page-wide { padding: 0 20px; }
  body .bar { width: calc(100% - 24px); max-width: none; bottom: 12px; padding: 14px 18px; gap: 14px; justify-content: space-between; }
  body .bar b { font-size: 18px; }
  body .bar a { font-size: 18px; padding: 14px 18px; }
}
@media (max-width: 520px) {
  .faq-search-row { flex-direction: column; }
  body .bar { flex-direction: column; align-items: stretch; gap: 10px; }
  body .bar > div { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 10px; }
  body .bar b, body .bar div span { font-size: 18px; }
  body .bar a { min-height: 52px; padding: 12px; }
  body .bar div span { margin-top: 0; }
  body .bar b { display: none; }
}
@media print { body .bar { display: none; } }
@media (prefers-reduced-motion: reduce) { body .bar { transition: none; } }
/* A compact mobile purchase bar leaves more room for measurements and answers. */
body .bar .bar-mobile-price { display: none; }
@media (max-width: 520px) {
  body .bar { flex-direction: row; align-items: center; padding: 12px 14px; gap: 10px; }
  body .bar > div { display: block; flex: 0 1 auto; }
  body .bar div [data-from-bar] { display: none; }
  body .bar .bar-mobile-price { display: block; white-space: nowrap; }
  body .bar a { flex: 1 1 auto; min-width: 0; padding: 12px 10px; }
}

/* Mobile pass 2026-11-22: get the price and the button onto the first screen, and shorten what comes before content.
   Type stays large (older buyers); only spacing and order change. */
@media (max-width: 640px) {
  body .strip-note span { display: none; }
  body .strip-note { font-size: 17px; }
  body .nav a { padding: 10px 10px; }
  body .nav ul { padding-top: 4px; padding-bottom: 4px; }
  .sales .hero { padding: 26px 0 40px; }
  .sales .hero-copy { display: flex; flex-direction: column; }
  .sales .hero-copy .pre { order: 1; }
  .sales .hero-copy h1 { order: 2; font-size: 36px; line-height: 1.12; margin-bottom: 14px; }
  .sales .hero-copy .hero-price { order: 3; margin: 0 0 14px; }
  .sales .hero-copy .hero-actions { order: 4; margin: 0 0 22px; }
  .sales .hero-copy .hero-lead { order: 5; font-size: 21px; }
  .sales .hero-copy > p:not([class]) { order: 6; }
  .sales .hero-copy .seller-note { order: 7; }
  /* jump links: one swipeable row of chips instead of a three-row grid */
  .sales .repair-jumps .repair-wide { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: 10px; padding-top: 12px; padding-bottom: 12px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
  .sales .repair-jumps a { flex: none; white-space: nowrap; padding: 10px 16px; border: 1px solid var(--rule); border-radius: 99px; scroll-snap-align: start; }
  /* the in-text link to the main page sits clear of the sticky bar */
  .to-main { font-size: 19px; }
}
