/* tecdoc.part.number.cfm static styles (2 of 4 blocks; the other two
   are CF-interpolated and stay inline). Moved from inline <style>. */

    .payment-container {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0;
      max-width: 600px;
      margin: 0 auto;
    }

    .opayo-logo img {
      /*max-height: 60px;*/
      width: auto;
    }

    .payment-logos {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 1rem;
    }

    .payment-logos img {
      width: 80px;
      height: 50px;
      object-fit: contain;
      background: white;
      padding: 0.5rem;
      border-radius: 6px;
      box-shadow: 0 0 4px rgba(0,0,0,0.1);
    }

    @media (max-width: 400px) {
      .payment-logos img {
        width: 60px;
        height: 40px;
      }
    }

                                .oem-manu-h { margin: 12px 0 4px; font-size: 15px; }
                                .oem-list { margin: 0 0 6px; padding-left: 20px; }
                                .oem-list li { break-inside: avoid; }

/* ==========================================================================
   Server-rendered vehicle fitments  (includes/vehicle.fitments.cfm)
   --------------------------------------------------------------------------
   Replaces the styles that used to be emitted inline by
   ajax/get.tecdoc.vehicle.fitments.cfm, which is now only the drill-down
   endpoint for manufacturers the page did not render in full.

   The list is CLIPPED, never hidden: max-height + overflow keeps every row in
   the document and readable with scripting off. .fitment-toggle carries the
   `hidden` attribute in the HTML and is unhidden by js/vehicle.fitments.js, so
   a no-JS visitor is never shown a control that would not work.

   Base font is 1rem (16px) here rather than the 14px the old inline block
   used -- this is body copy a customer reads to check their car, not a caption.
   ========================================================================== */

.fitment { font-size: 1rem; }

.fitment-summary { margin: 0 0 0.75rem; }

.fitment-manus {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.fitment-chip {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1;
}

.fitment-chip:hover { border-color: #555; }

.fitment-chip.is-active {
  background: #141414;
  color: #fff;
  border-color: #141414;
}

.fitment-chip-n {
  opacity: 0.65;
  font-size: 0.8125rem;
  margin-left: 0.3rem;
}

/* Clip rather than hide. 34rem is roughly 20 rows -- enough to look complete
   without the accordion running to several screens on a 300-row part. */
.fitment-groups {
  max-height: 34rem;
  overflow: hidden;
  transition: max-height 0.25s ease-out;
}

.fitment-groups.is-expanded { max-height: none; }

.fitment-manu-h { margin: 0.875rem 0 0.375rem; font-size: 1.0625rem; }

.fitment-list { margin: 0 0 0.625rem; padding-left: 1.25rem; }

.fitment-row { margin: 0.15rem 0; }

.fitment-years { color: #555; }

.fitment-meta { color: #777; font-size: 0.875rem; }

.fitment-trimmed { margin: 0 0 0.75rem; color: #555; font-size: 0.9375rem; }

.fitment-showall,
.fitment-toggle {
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 5px;
  padding: 0.5rem 0.875rem;
  cursor: pointer;
  font-size: 0.9375rem;
  line-height: 1;
}

.fitment-showall:hover,
.fitment-toggle:hover { border-color: #555; }

.fitment-toggle { margin-top: 0.5rem; }

/* Belt and braces: [hidden] loses to the display value above in some
   stylesheets' cascade order. */
.fitment [hidden] { display: none !important; }
