/* -------------------------------------------------------------------------
   PRODUCT FITMENT UX v1 - "Motorvarianten" block inside the product page's
   "Geschikt voor" fitment table (product/cars.phtml, .fitment-compact__*).
   Server-rendered <a href> engine links + a real product_count-free product
   count is out of scope here - see ProductCars::buildGenerationEngineVariants().

   Own file, not appended to bridge.css: that file is already close to the
   CSS minifier's pcre.backtrack_limit ceiling (see part-hub.css's own
   header comment for the full story from a prior phase) - splitting avoids
   depending on any php.ini change.
   ------------------------------------------------------------------- */
.fitment-compact__engines{ margin-top: var(--space-2); }
.fitment-compact__engines-label{
  display: block; font-size: var(--text-xs); font-weight: 700; text-transform: uppercase;
  letter-spacing: .03em; color: var(--muted); margin-bottom: 4px;
}
.fitment-compact__engine-list{
  list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 3px;
}
.fitment-compact__engine-link, .fitment-compact__engine-text{
  font-size: var(--text-sm); font-weight: 500; color: var(--ink);
}
.fitment-compact__engine-link{ text-decoration: none; }
.fitment-compact__engine-link:hover{ color: var(--brand); text-decoration: underline; }
.fitment-compact__engines-more{ margin-top: 4px; }
.fitment-compact__engines-more-toggle{
  cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 6px;
  font-size: var(--text-xs); font-weight: 700; color: var(--brand);
}
.fitment-compact__engines-more-toggle::-webkit-details-marker{ display: none; }
.fitment-compact__engines-more-toggle::before{
  content: '+'; display: inline-flex; align-items: center; justify-content: center;
  width: 15px; height: 15px; border-radius: var(--radius-full); border: 1px solid var(--brand);
  font-size: 10px; line-height: 1;
}
.fitment-compact__engines-more[open] .fitment-compact__engines-more-toggle::before{ content: '\2212'; }
.fitment-compact__engine-list--overflow{ margin-top: 4px; }
