/* [2026-10-22 PS 1.7.0] "¿Le vale a tu moto?" en la ficha de producto. Selectores con prefijo propio y reglas
   explícitas para que el tema (Classic, Hummingbird…) no cambie botones ni campos. */
.oem-lv { --lv-tinta: #16181b; --lv-gris: #6b7280; --lv-linea: #e3e5e8; --lv-fondo: #f7f8f9; --lv-acento: #ff6a13;
  margin: 18px 0 6px; border: 1px solid var(--lv-linea); border-radius: 10px; background: #fff; padding: 14px 14px 12px;
  font-size: 14px; line-height: 1.4; color: var(--lv-tinta); }
.oem-lv * { box-sizing: border-box; }
.oem-lv__cab { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; }
.oem-lv__ico { flex: 0 0 36px; width: 36px; height: 36px; padding: 7px; border-radius: 8px; background: var(--lv-fondo);
  fill: none; stroke: var(--lv-tinta); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.oem-lv__tit { font-weight: 700; font-size: 15px; margin: 1px 0 2px; }
.oem-lv__sum { font-size: 12.5px; color: var(--lv-gris); }
.oem-lv__sum b { color: var(--lv-tinta); font-weight: 600; }
.oem-lv__ver { color: var(--lv-tinta) !important; font-weight: 600; text-decoration: underline !important; text-underline-offset: 2px; white-space: nowrap; }
.oem-lv__ver:hover { color: var(--lv-acento) !important; }

.oem-lv__form { display: flex; gap: 8px; margin: 0; }
.oem-lv__campo { position: relative; flex: 1; min-width: 0; }
.oem-lv input.oem-lv__q { width: 100%; height: 44px; margin: 0; padding: 0 12px; border: 1px solid #cfd3d8; border-radius: 8px;
  background: #fff; color: var(--lv-tinta); font: inherit; font-size: 14px; box-shadow: none; appearance: none; }
.oem-lv input.oem-lv__q:focus { outline: none; border-color: var(--lv-tinta); box-shadow: 0 0 0 3px rgba(22, 24, 27, .12); }
.oem-lv button.oem-lv__btn { height: 44px; margin: 0; padding: 0 18px; border: 0; border-radius: 8px; background: var(--lv-tinta);
  color: #fff; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; white-space: nowrap; line-height: 1; appearance: none; }
.oem-lv button.oem-lv__btn:hover { background: #2b2f35; }
.oem-lv button.oem-lv__btn:focus-visible { outline: 3px solid rgba(22, 24, 27, .3); outline-offset: 2px; }

.oem-lv__drop { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 60; max-height: 288px; overflow: auto;
  background: #fff; border: 1px solid var(--lv-linea); border-radius: 8px; box-shadow: 0 12px 28px rgba(0, 0, 0, .12); padding: 4px; }
.oem-lv__drop[hidden] { display: none; }
.oem-lv__drop button { display: flex; justify-content: space-between; align-items: center; gap: 10px; width: 100%; margin: 0;
  padding: 9px 10px; border: 0; border-radius: 6px; background: none; color: var(--lv-tinta); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
.oem-lv__drop button:hover, .oem-lv__drop button.on { background: var(--lv-fondo); }
.oem-lv__drop i { font-style: normal; font-size: 12px; color: var(--lv-gris); }

.oem-lv__res { display: flex; gap: 10px; align-items: flex-start; margin-top: 10px; padding: 10px 12px; border-radius: 8px; font-size: 13.5px; }
.oem-lv__res[hidden] { display: none; }
.oem-lv__res.ok { background: #f0fdf4; border: 1px solid #bbf7d0; color: #14532d; }
.oem-lv__res.no { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.oem-lv__res.espera { background: var(--lv-fondo); border: 1px solid var(--lv-linea); color: var(--lv-gris); align-items: center; }
.oem-lv__i { flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; font-size: 12px; background: #16a34a; }
.oem-lv__res.no .oem-lv__i { background: #dc2626; }
.oem-lv__tx { flex: 1; min-width: 0; }
.oem-lv__tx b { display: block; font-weight: 600; }
.oem-lv__tx small { display: block; font-size: 12.5px; opacity: .85; margin-top: 1px; }
.oem-lv__link { display: inline-block; margin-top: 4px; font-weight: 600; color: inherit !important; text-decoration: underline !important; text-underline-offset: 2px; }
.oem-lv__acc { display: flex; gap: 6px; align-items: center; margin-left: auto; white-space: nowrap; }
.oem-lv__acc button { margin: 0; padding: 2px 4px; border: 0; background: none; color: inherit; opacity: .7; font: inherit; font-size: 12.5px; cursor: pointer; text-decoration: underline; }
.oem-lv__acc button:hover { opacity: 1; }
.oem-lv__acc .oem-lv__quitar { text-decoration: none; font-size: 13px; }
.oem-lv.con-moto .oem-lv__form { display: none; }
.oem-lv__spin { width: 14px; height: 14px; border: 2px solid #cfd3d8; border-top-color: var(--lv-tinta); border-radius: 50%; animation: oem-lv-g .8s linear infinite; }
@keyframes oem-lv-g { to { transform: rotate(360deg); } }
@media (max-width: 480px) {
  .oem-lv__form { flex-direction: column; }
  .oem-lv button.oem-lv__btn { width: 100%; }
  .oem-lv__res { flex-wrap: wrap; }
  .oem-lv__acc { width: 100%; margin-left: 32px; }
}

/* Lista de motos dentro de la pestaña/acordeón del tema: el título ya lo pone el tema */
.oem-compat .jgx-cp__h { display: none; }
.oem-compat { padding-top: 4px; }

/* [2026-10-23 PS 2.0.10] Diseño "barra en una línea": ¿Le vale? + campo + Comprobar en una fila, compatibilidad debajo
   y el resultado también en una línea. [2026-10-23 PS 2.0.11] La fila es un div propio (.oem-lv__bar) con reglas fuertes:
   en algunos temas las reglas de <form> pisaban el borde y el display:flex. */
.oem-lv.oem-lv--barra { border: 0; padding: 0; background: none; margin: 16px 0 6px; }
.oem-lv.oem-lv--barra .oem-lv__form { display: block !important; margin: 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
.oem-lv.oem-lv--barra.con-moto .oem-lv__form { display: none !important; }
.oem-lv.oem-lv--barra .oem-lv__bar { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center !important; gap: 6px;
  margin: 0 !important; border: 1px solid var(--lv-linea) !important; border-radius: 10px !important; background: #fff !important;
  padding: 5px 5px 5px 12px !important; transition: border-color .15s, box-shadow .15s; }
.oem-lv.oem-lv--barra .oem-lv__bar:focus-within { border-color: var(--lv-tinta) !important; box-shadow: 0 0 0 3px rgba(22, 24, 27, .08); }
.oem-lv.oem-lv--barra .oem-lv__pre { display: inline-flex !important; align-items: center; gap: 6px; flex: none; margin: 0; font-weight: 600; font-size: 14px; white-space: nowrap; }
.oem-lv.oem-lv--barra .oem-lv__ico { flex: none; width: 22px !important; height: 22px !important; padding: 0; background: none; stroke: var(--lv-acento); stroke-width: 1.8; }
.oem-lv.oem-lv--barra .oem-lv__tit { margin: 0; font-size: 14px; font-weight: 600; }
.oem-lv.oem-lv--barra .oem-lv__campo { position: relative; flex: 1 1 auto !important; min-width: 0; width: auto !important; margin: 0 !important; }
.oem-lv.oem-lv--barra input.oem-lv__q { display: block; width: 100% !important; height: 38px !important; margin: 0 !important; border: 0 !important; padding: 0 6px !important; background: transparent !important; box-shadow: none !important; }
.oem-lv.oem-lv--barra button.oem-lv__btn { flex: none; width: auto !important; height: 38px !important; margin: 0 !important; padding: 0 16px !important; font-size: 13.5px; }
.oem-lv.oem-lv--barra .oem-lv__drop { left: -6px; right: -6px; top: calc(100% + 9px); }
.oem-lv.oem-lv--barra .oem-lv__sum { margin: 6px 2px 0; font-size: 12px; }
.oem-lv.oem-lv--barra .oem-lv__res { margin-top: 6px; align-items: center; padding: 9px 12px; }
.oem-lv.oem-lv--barra.con-moto .oem-lv__res { margin-top: 0; }
.oem-lv.oem-lv--barra .oem-lv__tx { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 8px; }
.oem-lv.oem-lv--barra .oem-lv__tx b, .oem-lv.oem-lv--barra .oem-lv__tx small { display: inline; margin: 0; }
.oem-lv.oem-lv--barra .oem-lv__link { margin-top: 0; }
@media (max-width: 480px) {
  .oem-lv.oem-lv--barra .oem-lv__bar { flex-wrap: wrap; gap: 4px; padding: 6px !important; }
  .oem-lv.oem-lv--barra .oem-lv__pre { padding-left: 4px; }
  .oem-lv.oem-lv--barra .oem-lv__campo { flex: 1 1 80px !important; }
  .oem-lv.oem-lv--barra button.oem-lv__btn { padding: 0 12px !important; }
  .oem-lv.oem-lv--barra .oem-lv__acc { width: auto; margin-left: auto; }
}
