/* Sélecteur de réparations (produits variables WooCommerce natifs) — remplace l'ancien module d'options. */
.yumea-rp-on table.variations,
.yumea-rp-on .single_variation_wrap { display: none !important; }
.yumea-rp { margin: 0 0 40px; color: #000; font-size: 15px; font-weight: 500; line-height: 26px; }
.yumea-rp-totals { margin: 0; padding: 15px 0; line-height: 24px; }
.yumea-rp-totals dt { float: left; clear: left; margin: 0 8px 0 0; font-weight: 500; }
.yumea-rp-totals dd { margin: 0; font-weight: 700; }
.yumea-rp-title { margin: 0 0 6px; }
.yumea-rp-title .yumea-rp-req { color: #ca0606; margin-right: 4px; }
.yumea-rp-list { list-style: none; margin: 0; padding: 2px 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.yumea-rp-item { margin: 0; padding: 0; list-style: none; }
.yumea-rp-item label { display: flex; flex-direction: column; align-items: stretch; margin: 0; cursor: pointer; text-align: center; }
.yumea-rp-item input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; pointer-events: none; }
.yumea-rp-img { position: relative; display: block; width: 100%; aspect-ratio: 1 / 1; border: 2px solid #000; border-radius: 5px; box-sizing: border-box; background: #fff; overflow: hidden; }
.yumea-rp-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; margin: 0; padding: 0; border: 0; }
.yumea-rp-img img.h { display: none; }
.yumea-rp-item label:hover .yumea-rp-img img.h,
.yumea-rp-item.is-active .yumea-rp-img img.h { display: block; }
.yumea-rp-item label:hover .yumea-rp-img img.n,
.yumea-rp-item.is-active .yumea-rp-img img.n { display: none; }
.yumea-rp-item.is-active .yumea-rp-img { box-shadow: 0 0 0 2px #366efc; border-color: #366efc; }
.yumea-rp-item input:focus-visible + .yumea-rp-img { outline: 3px solid #366efc; outline-offset: 2px; }
.yumea-rp-noicon { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.yumea-rp-noicon svg { width: 46%; height: 46%; fill: none; stroke: #313131; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.yumea-rp-label { display: block; margin-top: 6px; font-weight: 700; line-height: 22.5px; overflow-wrap: anywhere; hyphens: auto; }
.yumea-rp-price { display: block; font-weight: 700; color: #313131; line-height: 22.5px; }
.yumea-rp-price del { font-weight: 400; opacity: .7; margin-right: 4px; }
.yumea-rp-price ins { text-decoration: none; }
.yumea-rp-item.is-off label { cursor: not-allowed; opacity: .45; }
.yumea-rp-error { margin: 8px 0 0; color: #f00; font-size: 13px; line-height: 1.3; }
@media (max-width: 767px) {
  .yumea-rp-list { gap: 12px; }
  .yumea-rp-label { font-size: 12px; line-height: 15px; text-align: center; }
}
@media (prefers-reduced-motion: no-preference) { .yumea-rp-img { transition: box-shadow .15s ease; } }
