/* Foxtrot Mike — Generic shop chrome, footer, static pages, early responsive rules. */

/* ========== Shop / generic WC pages ========== */
.woocommerce-products-header,
.woocommerce .woocommerce-breadcrumb {
  color: var(--fm-muted);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  float: none !important;
}

.woocommerce div.product {
  color: var(--fm-text);
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: #fff;
  font-weight: 700;
}

/* ========== Footer ========== */
.fm-footer {
  margin-top: auto;
  background: #111;
  color: #b5b5b5;
  font-size: 0.92rem;
  border-top: 1px solid #2a2a2a;
}

.fm-footer__kicker,
.fm-footer strong,
.fm-footer__col summary {
  font-family: var(--fm-font);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 0.85rem;
}

.fm-footer__col summary {
  display: block;
  list-style: none;
  cursor: pointer;
}

.fm-footer__col summary::-webkit-details-marker {
  display: none;
}

.fm-footer__col summary::marker {
  content: "";
}

.fm-footer__top,
.fm-footer__cols,
.fm-footer__bar {
  width: min(100% - 3rem, 1180px);
  margin-inline: auto;
}

.fm-footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 2rem;
  padding: 2.25rem 0 1.75rem;
  border-bottom: 1px solid #2c2c2c;
}

.fm-footer__signup {
  flex: 1 1 28rem;
  max-width: 34rem;
}

.fm-footer__signup .fm-subscribe {
  margin: 0;
}

.fm-footer__signup .fm-subscribe__copy,
.fm-footer__signup .fm-subscribe__label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.fm-footer__signup .fm-subscribe__fields {
  display: flex;
  align-items: stretch;
  gap: 0;
  position: relative;
  background: #fff;
}

.fm-footer__signup .fm-subscribe__email {
  flex: 1 1 auto;
  width: 100%;
  height: 3rem;
  margin: 0;
  padding: 0 3.25rem 0 1rem;
  border: 0;
  border-radius: 0;
  background: #fff;
  color: #111;
  font-family: var(--fm-font);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-footer__signup .fm-subscribe__email::placeholder {
  color: #8a8a8a;
  opacity: 1;
}

.fm-footer__signup button.fm-subscribe__submit {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 3rem;
  height: 3rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  font-size: 0;
  line-height: 0;
}

.fm-footer__signup .fm-subscribe__submit::after {
  content: "→";
  display: block;
  font-family: var(--fm-font);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1;
  /* Inter draws this arrow low in the em box. */
  transform: translateY(-0.17em);
}

.fm-footer__signup .fm-subscribe__submit:hover {
  color: var(--fm-accent);
  background: transparent;
}

.fm-footer__signup .fm-subscribe__msg {
  margin: 0.45rem 0 0;
  color: #cfcfcf;
  font-size: 0.82rem;
}

.fm-footer__signup .fm-subscribe__hp {
  position: absolute;
  left: -9999px;
}

.fm-footer__follow {
  flex: 0 0 auto;
}

.fm-footer__social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.fm-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  background: transparent;
  color: inherit;
}

.fm-footer__social-link:hover {
  background: transparent;
  opacity: 0.75;
}

.fm-footer__social-icon {
  display: block;
  width: 1.45rem;
  height: 1.45rem;
}

.fm-footer__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem 1.5rem;
  padding: 2.25rem 0 2.5rem;
}

.fm-footer__col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.fm-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fm-footer__note {
  display: block;
  line-height: 1.45;
  max-width: 16rem;
}

.fm-footer a {
  color: #b5b5b5;
}

.fm-footer a:hover {
  color: #fff;
}

.fm-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  padding: 1.15rem 0 1.4rem;
  border-top: 1px solid #2c2c2c;
  font-size: 0.82rem;
}

.fm-footer__bar .fm-origin-mark {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  color: #fff;
  font-family: var(--fm-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fm-footer__bar .fm-origin-mark__flag {
  display: inline-flex;
  line-height: 0;
}

.fm-footer__meta {
  color: #9a9a9a;
}

.fm-footer--checkout {
  padding: 1.5rem 0 2rem;
  background: #000;
}

.fm-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.fm-footer--checkout .fm-footer__legal {
  justify-content: center;
}

@media (min-width: 768px) {
  .fm-footer__col summary {
    pointer-events: none;
  }

  .fm-footer__col > .fm-footer__links {
    display: flex;
  }
}

@media (max-width: 900px) {
  .fm-footer__top,
  .fm-footer__bar {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .fm-footer__signup {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .fm-footer__cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .fm-footer__top {
    gap: 1.6rem;
    padding: 1.6rem 0 1.35rem;
  }

  .fm-footer__follow {
    width: 100%;
    text-align: center;
  }

  .fm-footer__social {
    justify-content: center;
  }

  .fm-footer__cols {
    display: block;
    padding: 0;
    border-top: 1px solid #2c2c2c;
  }

  .fm-footer__col {
    display: block;
    border-bottom: 1px solid #2c2c2c;
  }

  .fm-footer__bar {
    border-top: 0;
  }

  .fm-footer__col summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0;
    padding: 1.05rem 0;
  }

  .fm-footer__col summary::after {
    content: "";
    flex: 0 0 auto;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.2rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
  }

  .fm-footer__col[open] summary::after {
    transform: rotate(225deg) translateY(-1px);
  }

  .fm-footer__col:not([open]) > .fm-footer__links {
    display: none;
  }

  .fm-footer__links {
    padding: 0 0 1.05rem;
  }
}

/* ========== Page chrome for non-home ========== */
.fm-page {
  width: min(100% - 3rem, var(--fm-max));
  margin: 2rem auto 3rem;
}

.fm-page h1 {
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
}

/* 1.13.34: hash targets (e.g. /manuals/#how-to-videos) clear the sticky header.
   Extra 2rem sits on top of html { scroll-padding-top: var(--fm-chrome-h) },
   which alone left the heading under the shipping bar.
   1.13.35: same clearance on h3 (How-to videos is an h3 under Videos). */
.fm-page h2[id],
.fm-page h3[id],
.page h2[id],
.page h3[id] {
  scroll-margin-top: 2rem;
}

.fm-content-header {
  margin-bottom: 1.75rem;
  max-width: 44rem;
}

.fm-content-header h1 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 0.65rem;
}

.fm-lead {
  color: var(--fm-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
}

/* Prose for legal / policy pages */
.fm-prose {
  max-width: 46rem;
  color: var(--fm-muted);
  line-height: 1.65;
}

.fm-prose h2 {
  color: var(--fm-text);
  font-size: 1.2rem;
  margin: 2rem 0 0.75rem;
}

.fm-prose h3 {
  color: var(--fm-text);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.5rem;
}

.fm-prose p {
  margin: 0 0 1rem;
}

.fm-prose ul,
.fm-prose ol {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}

.fm-prose li {
  margin-bottom: 0.4rem;
}

.fm-prose a {
  color: var(--fm-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fm-prose a:hover {
  color: var(--fm-accent);
}

.fm-prose strong {
  color: var(--fm-text);
}

.fm-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1.5rem;
  font-size: 0.92rem;
}

.fm-prose th,
.fm-prose td {
  text-align: left;
  padding: 0.55rem 0.65rem;
  border-bottom: 1px solid var(--fm-border);
  vertical-align: top;
}

.fm-prose th {
  color: var(--fm-text);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ========== About page ========== */
.fm-about {
  min-height: 50vh;
}

.fm-about-intro {
  width: min(100% - 3rem, var(--fm-max));
  margin: 2rem auto 0;
}

.fm-about-intro h1 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin: 0;
}

.fm-about-body {
  padding: 1.5rem 0 3rem;
}

.fm-about .fm-range {
  padding: 3rem 0;
  border-top: 1px solid var(--fm-border);
}

.fm-about-body__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 36rem);
  gap: 2rem 3rem;
  align-items: start;
  width: min(100% - 3rem, var(--fm-max));
  margin-inline: auto;
}

.fm-about-story h2 {
  font-size: 1.5rem;
  margin: 0 0 1rem;
}

.fm-about-story > p {
  color: var(--fm-muted);
  margin: 0 0 1rem;
  max-width: 40rem;
  line-height: 1.6;
}

.fm-about-story > .fm-btn {
  margin-top: 0.5rem;
}

.fm-about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.5rem;
  width: min(100% - 3rem, var(--fm-max));
  margin: 2rem auto 0;
  padding-top: 1rem;
  border-top: 1px solid var(--fm-border);
  font-size: 0.875rem;
}

.fm-about-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fm-text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fm-about-links a:hover {
  color: var(--fm-accent);
}

.fm-about-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fm-about-gallery__item {
  margin: 0;
  border-radius: var(--fm-radius);
  overflow: hidden;
  border: 1px solid var(--fm-border);
  background: var(--fm-surface);
}

.fm-about-gallery__item img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

@media (max-width: 900px) {
  .fm-about-intro {
    margin-top: 1.5rem;
  }

  .fm-about-body__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .fm-about-story > .fm-btn {
    display: flex;
    width: 100%;
    justify-content: center;
  }
}

/* ========== Newsletter landing ========== */
.fm-nl-hero {
  width: min(100% - 2rem, 32rem);
  margin: 0 auto;
  padding: 3rem 0 2rem;
}

.fm-nl-hero__copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.fm-nl-hero h1 {
  margin: 0 0 0.75rem;
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--fm-text);
}

.fm-nl-hero__lead {
  margin: 0 0 2rem;
  max-width: 28rem;
  color: var(--fm-muted);
  font-size: 1rem;
  line-height: 1.5;
}

.fm-nl-hero .fm-subscribe,
.fm-nl-hero__fine,
.fm-nl-perks {
  width: 100%;
  max-width: 28rem;
}

.fm-nl .fm-subscribe {
  gap: 0.75rem;
  text-align: left;
}

.fm-nl .fm-subscribe__fields {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* Visible label (marketing.css hides it for the footer bar). */
.fm-nl .fm-subscribe__label {
  position: static;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  align-self: flex-start;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--fm-text);
}

.fm-nl .fm-subscribe__email,
.fm-nl .fm-subscribe__submit {
  width: 100%;
  height: 3rem;
  min-height: 3rem;
  border-radius: var(--fm-radius-sm);
  font-size: 1rem;
}

.fm-nl .fm-subscribe__email {
  padding: 0 1rem;
  color: var(--fm-text);
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
}

/* Focus is white; red is kept for the error state only. */
.fm-nl .fm-subscribe__email:focus {
  outline: none;
  border-color: var(--fm-border);
}

.fm-nl .fm-subscribe__email:focus-visible {
  outline: 2px solid var(--fm-text);
  outline-offset: 2px;
  border-color: var(--fm-border);
}

.fm-nl .fm-subscribe__email[aria-invalid="true"] {
  border-color: var(--fm-accent);
}

.fm-nl .fm-subscribe__error {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.4;
  color: var(--fm-accent);
}

.fm-nl .fm-subscribe__submit {
  margin-top: 0.5rem;
  padding-inline: 1.5rem;
  background: var(--fm-accent) !important;
  color: #fff !important;
  border: 0;
}

.fm-nl .fm-subscribe__submit:hover {
  background: var(--fm-accent-hover) !important;
}

.fm-nl .fm-subscribe__submit:focus-visible {
  outline: 2px solid var(--fm-text);
  outline-offset: 2px;
}

.fm-nl .fm-subscribe__msg {
  margin: 0;
  color: var(--fm-text);
  font-size: 0.875rem;
  font-weight: 600;
}

.fm-nl .fm-subscribe__msg:empty {
  margin: 0;
}

.fm-nl-perks {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  color: var(--fm-text);
  font-size: 0.875rem;
  font-weight: 600;
}

.fm-nl-hero__fine {
  margin: 1.5rem 0 0;
  color: var(--fm-muted);
  font-size: 0.875rem;
  line-height: 1.6;
}

.fm-nl-hero__fine a {
  display: inline-block;
  padding: 0.75rem 0;
  margin: -0.75rem 0;
  color: var(--fm-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fm-nl-band {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 32.5rem));
  justify-content: center;
  align-items: center;
  gap: 3rem;
  width: min(100% - 3rem, 68rem);
  margin: 0 auto;
  padding: 3rem 0;
  border-top: 1px solid var(--fm-border);
}

.fm-nl-frame {
  margin: 0;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: var(--fm-bg-elevated);
}

.fm-nl-frame picture {
  display: block;
  height: 100%;
}

.fm-nl-frame__media {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-nl-band__copy h2 {
  margin: 0 0 0.75rem;
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--fm-text);
}

.fm-nl-band__copy p {
  margin: 0;
  max-width: 28rem;
  color: var(--fm-muted);
  font-size: 1rem;
  line-height: 1.5;
}

@media (max-width: 800px) {
  .fm-nl-hero {
    padding: 2rem 0;
  }

  .fm-nl-hero h1 {
    font-size: 2rem;
  }

  .fm-nl-band {
    grid-template-columns: 1fr;
    width: min(100% - 2rem, 32.5rem);
    gap: 1.5rem;
    padding: 2rem 0;
  }
}

/* ========== Support page ========== */
.fm-support-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 1rem;
  margin: 0 0 1.5rem;
}

.fm-support-toc a {
  color: var(--fm-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.fm-support-contact {
  margin-bottom: 2rem;
  padding: 1.25rem 1.5rem;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  max-width: 40rem;
}

.fm-support-contact h2 {
  font-size: 1rem;
  margin: 0 0 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fm-muted);
}

.fm-support-contact__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.fm-support-contact__list li {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
}

.fm-support-contact__list strong {
  min-width: 9rem;
  color: var(--fm-text);
  font-size: 0.9rem;
}

.fm-support-contact a {
  color: var(--fm-text);
}

.fm-support-contact a:hover {
  color: var(--fm-accent);
}

.fm-support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.fm-support-card {
  display: block;
  padding: 1.25rem 1.35rem;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  transition: border-color 0.15s ease, background 0.15s ease;
  color: inherit;
  text-decoration: none !important;
}

.fm-support-card:hover {
  border-color: var(--fm-border-strong);
  background: var(--fm-surface-hover);
  color: inherit;
}

.fm-support-card h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
  color: var(--fm-text);
}

.fm-support-card h3::after {
  content: "›";
  color: var(--fm-muted);
  font-size: 1.25rem;
  line-height: 1;
}

.fm-support-card p {
  margin: 0;
  color: var(--fm-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.fm-support-notes {
  max-width: 44rem;
}

.fm-support-notes h2 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.fm-support-notes ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--fm-muted);
}

.fm-support-notes li {
  margin-bottom: 0.45rem;
}

@media (max-width: 900px) {
  .fm-support-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .fm-support-grid {
    grid-template-columns: 1fr;
  }
}

/* ========== Platform / dealer lookbook ========== */
.fm-hub-grid {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.fm-hub-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.fm-hub-card {
  margin: 0;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.fm-hub-card:hover {
  border-color: var(--fm-border-strong);
  transform: translateY(-2px);
}

.fm-hub-card__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
}

.fm-hub-card__media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a0a0a;
}

.fm-hub-card__media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 28%;
}

.fm-hub-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 1rem 1.15rem 1.15rem;
}

.fm-hub-card__aka {
  color: var(--fm-muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fm-hub-card__name {
  font-family: var(--fm-font-display);
  font-size: 1.75rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fm-text);
}

.fm-hub .fm-content-header h1 {
  font-family: var(--fm-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.fm-hub-card__line {
  color: var(--fm-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.fm-hub-card__link:hover .fm-hub-card__name {
  color: var(--fm-accent);
}

/* Platforms page. Same even 3:4 row as the homepage lineup. */
.fm-lineup {
  list-style: none;
  margin: 0 0 2.5rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.fm-lineup__card {
  margin: 0;
  flex: 1 1 15.5rem;
  max-width: 18.5rem;
  min-width: 0;
}

.fm-lineup__link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none !important;
  background: var(--fm-surface);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  overflow: hidden;
}

.fm-lineup__link:hover {
  border-color: var(--fm-border-strong);
}

.fm-lineup__media {
  display: block;
  aspect-ratio: 3 / 4;
  background: #0a0a0a;
  overflow: hidden;
}

.fm-lineup__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fm-lineup__name {
  display: block;
  padding: 0.7rem 0.4rem 0.8rem;
  text-align: center;
  font-family: var(--fm-font-display);
  font-size: 0.95rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.06em;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--fm-text);
}

.fm-lineup__link:hover .fm-lineup__name {
  color: #fff;
}

@media (min-width: 701px) {
  .fm-lineup {
    flex-wrap: nowrap;
  }

  .fm-lineup__card {
    flex: 1 1 0;
    max-width: none;
  }

  .fm-lineup__card--lead {
    order: -1;
  }
}

@media (max-width: 700px) {
  .fm-lineup {
    gap: 0.7rem;
  }

  .fm-lineup__card {
    flex-basis: calc(50% - 0.35rem);
    max-width: none;
  }

  .fm-lineup__card--lead {
    order: -1;
    flex-basis: 100%;
  }
}

/* ========== Dealer inquiry ========== */
.fm-dealers-banner {
  margin: 0 0 1.75rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--fm-radius);
  border: 1px solid var(--fm-border);
  max-width: 40rem;
}

.fm-dealers-banner--ok {
  border-color: #166534;
  background: #052e16;
  color: var(--fm-success);
}

.fm-dealers-banner--err {
  border-color: #7f1d1d;
  background: #2a0b0b;
  color: #fecaca;
}

.fm-dealers-form-wrap {
  margin-bottom: 3rem;
}

.fm-dealers-form-wrap h2,
.fm-dealers-platforms h2 {
  font-size: 1.125rem;
  margin: 0 0 0.5rem;
}

.fm-dealers-note {
  margin: 0 0 1.5rem;
  color: var(--fm-muted);
  font-size: 0.875rem;
}

.fm-dealers-note__req,
.fm-req {
  color: var(--fm-muted);
}

.fm-dealers-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 40rem;
}

.fm-dealers-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fm-dealers-form__grid--city {
  grid-template-columns: 1fr 7rem;
}

.fm-dealers-form__row label {
  display: block;
  margin: 0 0 0.25rem;
  color: var(--fm-muted);
  font-size: 0.875rem;
  font-weight: 600;
}

.fm-dealers-form input,
.fm-dealers-form select,
.fm-dealers-form textarea {
  width: 100%;
  height: 2.75rem;
  min-height: 44px;
  padding: 0 0.75rem;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-bg);
  color: var(--fm-text);
  font: inherit;
}

.fm-dealers-form textarea {
  height: auto;
  min-height: 7rem;
  padding: 0.75rem;
  resize: vertical;
}

.fm-dealers-form input:focus,
.fm-dealers-form select:focus,
.fm-dealers-form textarea:focus {
  outline: 2px solid var(--fm-accent);
  outline-offset: 1px;
  border-color: var(--fm-accent);
}

.fm-dealers-form .fm-btn {
  align-self: flex-start;
  margin-top: 0.5rem;
}

.fm-dealers-platforms {
  margin-bottom: 3rem;
}

.fm-dealers-platforms h2 {
  margin-bottom: 1rem;
}

.fm-dealers-platforms__grid {
  margin-bottom: 0;
}

.fm-dealers-platforms .fm-hub-card__media {
  aspect-ratio: 4 / 3;
}

.fm-dealers-platforms .fm-hub-card__media img {
  object-position: center;
}

.fm-dealers .fm-support-contact a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 640px) {
  .fm-dealers-form .fm-btn {
    align-self: stretch;
    justify-content: center;
  }
}

/* Jobs (page-jobs.php; copy lives in post_content) */
.fm-jobs__body {
  max-width: 44rem;
}

.fm-jobs__body .fm-jobs-meta {
  margin: -0.5rem 0 1rem;
  color: var(--fm-muted);
  font-size: 0.875rem;
}

.fm-jobs__body .fm-jobs-apply {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1.5rem;
  margin-top: 1rem;
}

.fm-jobs__body .fm-jobs-apply .fm-btn {
  color: #fff;
  text-decoration: none;
}

.fm-jobs__body .fm-jobs-apply__addr {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

@media (max-width: 640px) {
  .fm-jobs__body .fm-jobs-apply .fm-btn {
    width: 100%;
    justify-content: center;
  }
}

.fm-dealers-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 900px) {
  .fm-hub-grid--3,
  .fm-dealers-form__grid {
    grid-template-columns: 1fr;
  }

  .fm-dealers-form__grid--city {
    grid-template-columns: 1fr 7rem;
  }
}

@media (max-width: 720px) {
  .fm-hub-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fm-dealers-form__grid--city {
    grid-template-columns: 1fr;
  }
}

/* 1.13.35: manuals vs videos on /manuals/. Video cards use reviews.css. */
.fm-manuals-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 2rem;
}

.fm-manuals-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius);
  background: var(--fm-surface);
  color: var(--fm-text);
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.fm-manuals-jump a:hover {
  background: var(--fm-surface-hover);
  border-color: var(--fm-text);
}

.fm-manuals-jump a:focus-visible {
  outline: 2px solid var(--fm-text);
  outline-offset: 2px;
}

.fm-manuals-section {
  margin: 0 0 3rem;
}

.fm-manuals-section > h2 {
  margin: 0 0 1.5rem;
  font-family: var(--fm-font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--fm-text);
}

.fm-manuals-platform + .fm-manuals-platform,
.fm-manuals-videos + .fm-manuals-videos {
  margin-top: 2rem;
}

.fm-manuals-docs {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 48rem;
  border-top: 1px solid var(--fm-border);
}

.fm-manuals-docs li {
  border-bottom: 1px solid var(--fm-border);
}

.fm-manuals-docs a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding: 0.5rem 0.75rem;
  color: var(--fm-text);
  text-decoration: none;
}

.fm-manuals-docs a:hover {
  background: var(--fm-surface);
}

.fm-manuals-docs a:hover .fm-manuals-docs__name {
  color: var(--fm-accent);
}

.fm-manuals-docs a:focus-visible {
  outline: 2px solid var(--fm-text);
  outline-offset: 2px;
}

.fm-manuals-docs__icon {
  flex-shrink: 0;
  display: flex;
  color: var(--fm-muted);
}

.fm-manuals-docs__svg {
  display: block;
}

.fm-manuals-docs__name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

.fm-manuals-docs__tag {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--fm-muted);
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-sm);
  padding: 0.15rem 0.4rem;
  line-height: 1;
}

.fm-manuals-note,
.fm-warranty-hint {
  max-width: 40rem;
  color: var(--fm-muted);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 1.25rem;
}

.fm-manuals-note a,
.fm-warranty-hint a {
  color: var(--fm-text);
}

/* 1.13.13: warranty photo and video uploads. */
.fm-warranty-upload input[type="file"] {
  height: auto;
  padding: 0.5rem;
  color: var(--fm-muted);
  font-size: 0.875rem;
  cursor: pointer;
}

.fm-warranty-upload input[type="file"]::file-selector-button {
  min-height: 2.25rem;
  margin-right: 0.75rem;
  padding: 0 1rem;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-surface);
  color: var(--fm-text);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.fm-warranty-upload input[type="file"]:hover::file-selector-button {
  background: var(--fm-surface-hover);
}

.fm-warranty-upload input[type="file"][aria-invalid="true"] {
  border-color: var(--fm-accent);
}

.fm-warranty-upload__rules {
  margin: 0.5rem 0 0;
  color: var(--fm-muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.fm-warranty-files {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-sm);
}

.fm-warranty-files[hidden],
.fm-warranty-upload__error[hidden] {
  display: none;
}

.fm-warranty-files__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
}

.fm-warranty-files__item + .fm-warranty-files__item {
  border-top: 1px solid var(--fm-border);
}

.fm-warranty-files__thumb {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  overflow: hidden;
  border-radius: var(--fm-radius-sm);
  background: var(--fm-surface);
  color: var(--fm-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.fm-warranty-files__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fm-warranty-files__text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
}

.fm-warranty-files__name {
  overflow: hidden;
  color: var(--fm-text);
  font-size: 0.875rem;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.fm-warranty-files__meta {
  color: var(--fm-muted);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
}

.fm-warranty-files__item.is-invalid .fm-warranty-files__meta {
  color: #fecaca;
}

.fm-warranty-files__remove {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 0.5rem;
  border: 0;
  background: none;
  color: var(--fm-muted);
  font: inherit;
  font-size: 0.875rem;
  cursor: pointer;
}

.fm-warranty-files__remove:hover,
.fm-warranty-files__remove:focus-visible {
  color: var(--fm-text);
  text-decoration: underline;
}

.fm-warranty-upload__error {
  margin: 0.5rem 0 0;
  color: #fecaca;
  font-size: 0.875rem;
  line-height: 1.5;
}

.fm-about-story a {
  color: var(--fm-text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.fm-about-story a:hover {
  color: var(--fm-accent);
}

/* ========== Responsive ========== */
@media (max-width: 1100px) {
  .fm-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.fm-nav__search {
  display: none;
}

/* Mobile drawer: platforms are top-level; More reuses the same panel (Build / Help / Shop). */
.fm-nav__sub { display: none; }

/* NL-01 / nav-platforms: platform links + More need 32px+ clearance from the centered logo. 1201-1365: tighter item padding. */
@media (min-width: 1201px) and (max-width: 1365px) {
  .fm-header:not(.fm-header--checkout) .fm-nav > a,
  .fm-header:not(.fm-header--checkout) .fm-nav__shop-link {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  .fm-nav__panel {
    padding-left: calc(1.15rem + 0.5rem);
  }
}

@media (max-width: 1200px) {
  .fm-header:not(.fm-header--checkout) .fm-nav {
    font-size: 0.78rem;
  }

  .fm-header:not(.fm-header--checkout) .fm-nav > a,
  .fm-header:not(.fm-header--checkout) .fm-nav__shop-link {
    padding: 0.3rem 0.25rem;
  }

  .fm-nav__panel {
    padding-left: calc(1.15rem + 0.25rem);
  }
}

/* 1.12.78: below 1000px the nav is the drawer. Drawer rows keep the phone padding at every
   drawer width (was 900px and 820px steps for the old 768-999 desktop bar). */
@media (max-width: 999px) {
  .fm-header:not(.fm-header--checkout) .fm-nav > a,
  .fm-header:not(.fm-header--checkout) .fm-nav__shop-link {
    padding: 0.28rem 0.16rem;
  }

  .fm-nav__panel {
    padding-left: calc(1.15rem + 0.16rem);
  }
}

/* 1.12.77: eight items (MIKE-47 added). Item padding scales with the viewport so the last item
   keeps 32px+ clearance from the centered 52px logo: (50vw - 26px - 18.4px - 32px - text) / 16.
   Text is ~446px at the 14.4px nav size (>1200px) and ~388px at 12.48px (1000-1200px).
   The tray's first column stays aligned with the first item's text. */
@media (min-width: 1201px) {
  .fm-header:not(.fm-header--checkout) .fm-nav {
    --fm-nav-pad: clamp(0.25rem, calc(3.125vw - 33.5px), 0.85rem);
  }
}

@media (min-width: 1000px) and (max-width: 1200px) {
  .fm-header:not(.fm-header--checkout) .fm-nav {
    /* 1.12.78: floor 2px (was 0.15rem) so 1000px, the narrowest desktop bar, keeps 32px+. */
    --fm-nav-pad: clamp(0.125rem, calc(3.125vw - 30px), 0.5rem);
  }
}

@media (min-width: 1000px) {
  .fm-header:not(.fm-header--checkout) .fm-nav > a,
  .fm-header:not(.fm-header--checkout) .fm-nav__shop-link {
    padding-left: var(--fm-nav-pad);
    padding-right: var(--fm-nav-pad);
  }

  .fm-header:not(.fm-header--checkout) .fm-nav__panel {
    padding-left: calc(1.15rem + var(--fm-nav-pad));
  }
}

/* Drawer header: hamburger, centered logo, icons + overlay nav below 1000px (1.12.78; was 768px).
   Keep in step with base.css (min-width: 1000px) and fm-theme.js FM_DRAWER_MQ / FM_DESKTOP_MQ. */
@media (max-width: 999px) {
  .fm-header__inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .fm-header:not(.fm-header--checkout) .fm-header__inner {
    position: relative;
    justify-content: flex-end;
    gap: 0.35rem;
    padding: 12px 18px;
    min-height: 80px;
  }

  /* 1.13.14: logo 52px -> 64px so the ring text reads. */
  .fm-header:not(.fm-header--checkout) .fm-logo-link {
    position: absolute;
    top: 8px;
    left: round(nearest, calc(50% - 32px), 1px);
    width: 64px;
    height: 64px;
    margin: 0;
    transform: none;
  }

  .fm-header:not(.fm-header--checkout) .fm-logo {
    width: 64px;
    height: 64px;
  }

  .fm-header__tools {
    order: 2;
    margin-left: 0;
  }

  .fm-search,
  .fm-search-toggle {
    display: none;
  }

  .fm-nav__search {
    position: relative;
    display: block;
    margin: 0 0 0.65rem;
  }

  .fm-nav__search input {
    width: 100%;
    height: 2.75rem;
    min-height: 2.75rem;
    padding: 0 0.9rem 0 2.55rem;
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius-sm);
    background-color: var(--fm-surface);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a0a0a0' stroke-width='1.75'%3E%3Ccircle cx='11' cy='11' r='6.25'/%3E%3Cpath d='M16 16l5 5' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.8rem 50%;
    background-size: 18px 18px;
    color: #fff;
    font-family: var(--fm-font);
    font-size: 16px;
    -webkit-appearance: none;
    appearance: none;
  }

  .fm-nav__search input::placeholder {
    color: var(--fm-muted);
  }

  .fm-nav__search input:focus {
    outline: none;
    border-color: var(--fm-accent);
  }

  .fm-nav-toggle {
    display: inline-flex;
    order: 1;
    margin-left: 0;
    margin-right: auto;
    position: relative;
    z-index: 250;
  }

  .fm-header:not(.fm-header--checkout) .fm-logo-link,
  .fm-header__tools,
  .fm-nav-toggle {
    z-index: 250;
  }

  .fm-header__tools,
  .fm-nav-toggle {
    position: relative;
  }

  .fm-nav {
    display: none;
    order: 4;
    margin-left: 0;
    position: fixed;
    top: var(--fm-header-h);
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 200;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    width: 100%;
    height: auto;
    padding: 0.85rem 18px calc(1.35rem + env(safe-area-inset-bottom, 0px));
    background: #000;
    border-bottom: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    font-family: var(--fm-font);
    font-size: 1rem;
  }

  body.fm-nav-open .fm-nav {
    display: flex;
  }

  body.fm-nav-open {
    overflow: hidden;
  }

  .fm-nav > a,
  .fm-nav__shop-link {
    display: flex;
    align-items: center;
    min-height: 3rem;
    padding: 0.65rem 0.15rem;
    border-bottom: 1px solid var(--fm-border);
    font-size: 1rem;
    font-weight: 500;
    opacity: 1;
  }

  .fm-header:not(.fm-header--checkout) .fm-nav__shop-link {
    font-size: 1rem;
    font-weight: 600;
  }

  .fm-nav > a::after,
  .fm-nav__shop-link::after {
    display: none;
  }

  .fm-nav a:focus-visible {
    outline: 2px solid var(--fm-accent);
    outline-offset: 2px;
  }

  .fm-nav > a[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--fm-accent);
  }

  .fm-nav__shop {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .fm-nav__shop-link {
    width: 100%;
  }

  .fm-nav__shop.is-open .fm-nav__shop-link {
    border-bottom-color: transparent;
  }

  .fm-nav__caret {
    margin-left: auto;
    flex: 0 0 auto;
    transform: translateY(-2px) rotate(45deg);
  }

  .fm-nav__shop.is-open .fm-nav__caret {
    transform: translateY(2px) rotate(225deg);
  }

  .fm-nav__shop.is-open .fm-nav__shop-label {
    box-shadow: inset 0 -2px 0 var(--fm-accent);
  }

  .fm-nav__panel {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: none;
    margin: 0 0 0.35rem;
    padding: 0.85rem 0.85rem 0.4rem;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.15rem;
    row-gap: 0;
    align-items: start;
    background: #111;
    border: 1px solid var(--fm-border);
    border-radius: var(--fm-radius-sm);
    box-shadow: none;
  }

  .fm-nav__shop.is-open .fm-nav__panel {
    display: grid;
  }

  .fm-nav__panel .fm-nav__col strong {
    margin: 0 0 0.15rem;
    padding: 0 0.2rem;
  }

  /* 1.12.93: "Shop all {Platform}" row (More has no Shop column now). */
  .fm-nav__col--all {
    grid-column: 1 / -1;
    margin-top: 0.45rem;
    padding-top: 0.3rem;
    border-top: 1px solid var(--fm-border);
  }

  .fm-nav__col--all strong {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .fm-nav__panel a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    margin: 0;
    padding: 0.25rem 0.2rem;
    border: 0;
    border-radius: 4px;
    color: #e8e8e8;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.25;
  }

  .fm-nav__panel a:hover,
  .fm-nav__panel a:focus-visible {
    color: #fff;
    background: var(--fm-surface);
    border-left-color: transparent;
  }

  .fm-nav__all {
    font-weight: 600;
    color: #fff;
  }

  .fm-nav__all::after {
    color: var(--fm-accent);
  }

  /* 1.12.75: platform accordions. Same box as More; links in two columns, "Shop all" under a rule. */
  .fm-nav__plat .fm-nav__caret {
    display: block;
  }

  .fm-header:not(.fm-header--checkout) .fm-nav__plat .fm-nav__shop-link {
    font-weight: 500;
  }

  .fm-nav__plat > .fm-nav__shop-link[aria-current="page"] {
    box-shadow: inset 3px 0 0 var(--fm-accent);
  }

  .fm-nav__panel--plat .fm-nav__col--types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1.15rem;
    grid-column: 1 / -1;
  }

  .fm-nav__panel--plat .fm-nav__col--types strong {
    display: none;
  }

  .fm-nav__panel--plat .fm-nav__col--all {
    margin-top: 0.25rem;
  }

  .fm-chrome {
    z-index: 300;
  }

  html {
    /* Phone header is a 76px bar plus the 1px border. Banner padding is 0.38rem. */
    --fm-header-h: calc(76px + 1px);
    --fm-banner-h: calc(0.76rem + 1.5 * 0.62rem + 1px);
  }

  .fm-trust-long {
    display: none;
  }

  .fm-trust-short {
    display: inline;
  }

  .fm-shipping-bar {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    padding: 0.38rem 0;
  }
}

@media (max-width: 359px) {
  .fm-nav__panel {
    grid-template-columns: 1fr;
  }

  .fm-nav__col + .fm-nav__col:not(.fm-nav__col--all) {
    margin-top: 0.55rem;
  }

  .fm-nav__col--all {
    grid-column: auto;
  }
}

@media (max-width: 560px) {
  .fm-product-grid {
    grid-template-columns: 1fr;
  }
}



/* Drawer header search icon (opens the drawer search). 44px tap targets for header icons. */
.fm-search-toggle-m {
  display: none;
}

@media (max-width: 999px) {
  .fm-search-toggle-m {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--fm-text);
    cursor: pointer;
  }

  .fm-search-toggle-m svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
  }

  .fm-header__tools .fm-account-link,
  .fm-header__tools .fm-nav__cart {
    width: 44px;
    height: 44px;
  }
}

/* Mobile footer: 44px tap targets on every link (SW-04). */
@media (max-width: 767px) {
  .fm-footer__links a,
  .fm-footer__legal a,
  .fm-footer__social-link {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    min-width: 44px;
  }

  .fm-footer__social-link {
    justify-content: center;
  }

  .fm-footer__col summary {
    min-height: 44px;
  }

  .fm-footer__links {
    gap: 0;
  }

  .fm-footer__legal {
    gap: 0 1rem;
  }
}

/* SW-05: footer on the page grid (1280px) and the newsletter field on the input system. */
.fm-footer__top,
.fm-footer__cols,
.fm-footer__bar {
  width: min(100% - 3rem, var(--fm-max));
}

.fm-footer__signup .fm-subscribe__fields {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  background: transparent;
}

.fm-footer__signup .fm-subscribe__email {
  height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-surface);
  color: var(--fm-text);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.fm-footer__signup .fm-subscribe__email::placeholder {
  color: var(--fm-muted);
}

.fm-footer__signup .fm-subscribe__email:focus {
  outline: 2px solid var(--fm-text);
  outline-offset: 1px;
}

.fm-footer__signup button.fm-subscribe__submit {
  position: static;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--fm-border);
  border-radius: var(--fm-radius-sm);
  background: var(--fm-surface);
  color: var(--fm-text);
}

.fm-footer__signup button.fm-subscribe__submit:hover {
  border-color: var(--fm-accent);
  background: var(--fm-surface-hover);
  color: var(--fm-text);
}

/* Footer signup: row centred, red 44×44 submit matched to the 44px input, arrow drawn as a
   tight-viewBox SVG (no font baseline offset) and centred with inline-flex. */
.fm-footer__signup .fm-subscribe__fields {
  align-items: center;
}

.fm-footer__signup .fm-subscribe__email,
.fm-footer__signup button.fm-subscribe__submit {
  box-sizing: border-box;
  height: 2.75rem;
  margin: 0;
  border-width: 1px;
  border-style: solid;
  line-height: 1;
}

.fm-footer__signup button.fm-subscribe__submit,
.fm-footer__signup button.fm-subscribe__submit:hover {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.75rem;
  width: 2.75rem;
  min-width: 2.75rem;
  padding: 0;
  border-color: var(--fm-accent);
  background: var(--fm-accent);
  color: #fff;
  font-size: 0; /* hides the "Sign up" text; the accessible name stays */
  line-height: 1rem; /* same 16px line box as the input (font-size 0 would make line-height:1 = 0) */
}

.fm-footer__signup button.fm-subscribe__submit:hover {
  border-color: var(--fm-accent-hover);
  background: var(--fm-accent-hover);
}

.fm-footer__signup .fm-subscribe__submit::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  transform: none;
  background: no-repeat center / 18px 18px url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M2 9h14M10.5 3.5l5.5 5.5-5.5 5.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* 1.13.17: nav text and header icons scaled to the larger logo (72px desktop, 64px drawer).
   Checkout header untouched. */
@media (min-width: 1201px) {
  .fm-header:not(.fm-header--checkout) .fm-nav {
    font-size: 1.0625rem;
  }
}

/* 1000-1200: text grows 13.25px -> 14px and item padding 4px -> 8px with the viewport,
   keeping 32px+ between the last item and the 72px logo. */
@media (min-width: 1000px) and (max-width: 1200px) {
  .fm-header:not(.fm-header--checkout) .fm-nav {
    font-size: clamp(13.25px, calc(13.25px + (100vw - 1000px) * 0.00375), 14px);
    --fm-nav-pad: clamp(4px, calc(4px + (100vw - 1000px) * 0.02), 8px);
  }
}

@media (min-width: 1000px) {
  .fm-header:not(.fm-header--checkout) .fm-nav__caret {
    width: 0.45rem;
    height: 0.45rem;
  }

  .fm-header:not(.fm-header--checkout) .fm-search-toggle,
  .fm-header:not(.fm-header--checkout) .fm-account-link,
  .fm-header:not(.fm-header--checkout) .fm-header__tools .fm-nav__cart {
    width: 3rem;
    height: 3rem;
  }

  .fm-header:not(.fm-header--checkout) .fm-search-toggle svg,
  .fm-header:not(.fm-header--checkout) .fm-account-link svg,
  .fm-header:not(.fm-header--checkout) .fm-header__tools .fm-nav__cart svg {
    width: 26px;
    height: 26px;
  }

  .fm-header:not(.fm-header--checkout) .fm-nav__badge {
    top: 0.1rem;
    right: -0.25rem;
    min-width: 1.35rem;
    height: 1.35rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 999px) {
  .fm-header:not(.fm-header--checkout) .fm-search-toggle-m svg,
  .fm-header:not(.fm-header--checkout) .fm-header__tools .fm-account-link svg,
  .fm-header:not(.fm-header--checkout) .fm-header__tools .fm-nav__cart svg {
    width: 24px;
    height: 24px;
  }

  .fm-header:not(.fm-header--checkout) .fm-nav-toggle__bar {
    width: 1.5rem;
  }

  .fm-header:not(.fm-header--checkout) .fm-nav-toggle {
    gap: 6px;
  }

  .fm-header:not(.fm-header--checkout) .fm-nav__badge {
    right: -0.125rem;
    min-width: 1.25rem;
    height: 1.25rem;
    font-size: 0.7rem;
  }
}

/* Narrow phones: the 64px logo plus three 44px icons overlapped by 7px at 360px.
   Tighter side padding and 42px icon boxes keep 8px+ clear of the logo. */
@media (max-width: 379px) {
  .fm-header:not(.fm-header--checkout) .fm-header__inner {
    padding-left: 12px;
    padding-right: 12px;
  }

  .fm-header:not(.fm-header--checkout) .fm-header__tools {
    gap: 0;
  }

  .fm-header:not(.fm-header--checkout) .fm-search-toggle-m,
  .fm-header:not(.fm-header--checkout) .fm-header__tools .fm-account-link,
  .fm-header:not(.fm-header--checkout) .fm-header__tools .fm-nav__cart {
    width: 42px;
    height: 44px;
  }
}

/* 1.13.44: Clearance. Desktop: a text link left of the header icons (the left half has no room
   for a ninth item beside the 72px logo). Drawer: a row after the platforms. */
.fm-header__clearance {
  display: none;
}

@media (min-width: 1000px) {
  .fm-header:not(.fm-header--checkout) .fm-nav > a.fm-nav__clearance {
    display: none;
  }

  .fm-header:not(.fm-header--checkout) .fm-header__clearance {
    display: inline-flex;
    align-items: center;
    height: 3rem;
    padding: 0 0.85rem;
    margin-right: 0.35rem;
    color: var(--fm-text);
    opacity: 0.92;
    font-size: clamp(13.25px, calc(13.25px + (100vw - 1000px) * 0.00375), 14px);
    font-weight: 500;
    white-space: nowrap;
  }

  /* Open search needs the room; the link would run into the logo below ~1300px. */
  body.fm-search-open .fm-header:not(.fm-header--checkout) .fm-header__clearance {
    display: none;
  }

  .fm-header:not(.fm-header--checkout) .fm-header__clearance:hover,
  .fm-header:not(.fm-header--checkout) .fm-header__clearance[aria-current="page"] {
    color: var(--fm-accent);
    opacity: 1;
  }
}

@media (min-width: 1201px) {
  .fm-header:not(.fm-header--checkout) .fm-header__clearance {
    font-size: 1.0625rem;
  }
}
