.egr[hidden], .egr-pista[hidden] { display: none !important; }
.egr { margin: 6px 0 14px; }
.egr-t { margin: 0 0 8px !important; font-size: 15px; font-weight: 800; line-height: 1.25; color: var(--eg-tinta, #18181b); }
.egr-ops { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.egr-op { position: relative; display: block; margin: 0; cursor: pointer; }
.egr-op input { position: absolute; opacity: 0; pointer-events: none; }
.egr-caja { position: relative; display: flex; align-items: center; gap: 10px; min-height: 52px; box-sizing: border-box; padding: 6px 38px 6px 6px; border: 1.5px solid var(--eg-linea, #e4e4e7); border-radius: 16px; background: var(--eg-suave, #f4f4f5); color: var(--eg-tinta, #18181b); transition: border-color .15s, background .15s; }
.egr-caja::after { content: ""; position: absolute; top: 50%; right: 12px; width: 16px; height: 16px; margin-top: -8px; box-sizing: border-box; border-radius: 50%; border: 1.5px solid var(--eg-gris, #a1a1aa); }
.egr-op input:checked + .egr-caja { border-color: var(--eg-naranja, #f97316); background: rgba(249, 115, 22, .09); }
.egr-op input:checked + .egr-caja::after { border: 5px solid var(--eg-naranja, #f97316); background: #fff; }
.egr-op input:focus-visible + .egr-caja { outline: 2px solid var(--eg-naranja, #f97316); outline-offset: 2px; }
.egr-img { flex: none; width: 40px !important; height: 40px !important; object-fit: cover; border-radius: 8px; }
.egr-txt { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.egr-txt b { font-size: 13.5px; font-weight: 700; line-height: 1.2; }
.egr-txt small { font-size: 12px; line-height: 1.2; color: var(--eg-gris, #71717a); }
.egr-n { margin: 8px 2px 0 !important; font-size: 12.5px; color: var(--eg-gris, #71717a); }
.egr-pista { margin: 2px 2px 10px !important; font-size: 13px; font-weight: 600; color: var(--eg-naranja, #f97316); }
.egr-tag { display: inline-block; margin: 4px 0 0; padding: 2px 8px; font-size: 11.5px; font-weight: 700; line-height: 1.4; color: var(--eg-naranja, #f97316); background: rgba(249, 115, 22, .12); border-radius: 999px; }
.eg-mc-nombre + .egr-tag, .eg-mc-var + .egr-tag { align-self: flex-start; }
.egr-gratis { font-weight: 700; color: var(--eg-naranja, #f97316); }
body.eg-oscuro .egr-t { color: #fafafa; }
body.eg-oscuro .egr-n, body.eg-oscuro .egr-txt small { color: #a1a1aa; }
body.eg-oscuro .egr-caja { background: #141416; border-color: #27272b; color: #fafafa; }
body.eg-oscuro .egr-caja::after { border-color: #52525b; }
body.eg-oscuro .egr-op input:checked + .egr-caja { background: rgba(249, 115, 22, .09); border-color: #f97316; }
@media (min-width: 1000px) { .egr { max-width: 440px; } }
[data-products] .product.egr-da, li.product.egr-da { position: relative; }
[data-products] .product.egr-da::after, li.product.egr-da::after { content: "+ Juego gratis"; position: absolute; z-index: 5; top: 12px; right: 0; padding: 3px 8px 3px 10px; font-size: 10.5px; font-weight: 800; line-height: 1.4; letter-spacing: .2px; white-space: nowrap; color: #fff; background: var(--eg-naranja, #f97316); border-radius: 6px 0 0 6px; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); pointer-events: none; }
@media (min-width: 769px) { [data-products] .product.egr-da::after, li.product.egr-da::after { font-size: 11.5px; padding: 4px 10px 4px 12px; } }
.woocommerce-mini-cart .egr-da::after, .eg-rank .egr-da::after { content: none; }
