/* ════════════════════════════════════════════
   inscripcion_v2.css — Formulario de inscripción con los criterios de la tienda online.
   Se carga DESPUÉS de inscripcion.css y tienda.css. La base (campos, títulos de sección, avisos,
   casillas, tarjeta blanca redondeada) viene de las reglas «.tdatos» de tienda.css; aquí solo
   se ajusta lo propio de la inscripción. Todo va acotado con body.ins-v2.
   ════════════════════════════════════════════ */

/* Cabecera: el nombre del evento es una flecha + título, sin cesta (la parte común la da body.tienda) */
body.ins-v2 .barra-back-btn { cursor: pointer; }

/* Contenedor central con el mismo ancho que la tienda */
body.ins-v2 #page-content > .container { max-width: 1280px !important; width: 100%; padding-left: 14px !important; padding-right: 14px !important; }
body.ins-v2 #page-content .content__inner > .container { max-width: none; width: 100%; padding-top: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
/* Sin aire extra sobre los pasos (misma separación que en la tienda); sin pasos (modo organizador) el aire va en el contenedor */
body.ins-v2 #page-content { padding-top: 0; }
body.ins-v2 #page-content > .container { padding-top: 18px; }
body.ins-v2 #page-content > .tienda-pasos + .container { padding-top: 0; }

/* ── Banner de tarifa: tarjeta redondeada con el color del evento ── */
body.ins-v2 .ins-tarifa-banner { border-radius: 18px !important; box-shadow: 0 2px 14px rgba(var(--ev-primary-rgb), .22); margin-bottom: 18px !important; }
body.ins-v2 .ins-tarifa-banner__icon { min-width: 72px; background: rgba(255,255,255,.12); }
body.ins-v2 .ins-tarifa-banner__name { font-size: 1.4rem; font-weight: 800; }
body.ins-v2 .ins-tarifa-banner__price-col { background: rgba(255,255,255,.12); min-width: 110px; }
body.ins-v2 .ins-tarifa-banner__price-col .dato_precio { font-size: 1.8rem; font-weight: 800; }
@media (max-width: 575px) {
  body.ins-v2 .ins-tarifa-banner { border-radius: 14px !important; }
  body.ins-v2 .ins-tarifa-banner__icon { min-width: 52px; padding-left: .75rem !important; padding-right: .75rem !important; }
  body.ins-v2 .ins-tarifa-banner__name { font-size: 1.1rem; }
  body.ins-v2 .ins-tarifa-banner__price-col { min-width: 84px; padding-left: .75rem !important; padding-right: .75rem !important; }
  body.ins-v2 .ins-tarifa-banner__price-col .dato_precio { font-size: 1.4rem; }
}

/* ── Tarjeta del formulario ── */
body.ins-v2 .multisteps-form__panel.tdatos { margin-bottom: 24px !important; }
body.ins-v2 .tdatos .multisteps-form__content { padding-bottom: 0 !important; }
body.ins-v2 .tdatos .multisteps-form__content.pb-5 { padding-bottom: 0 !important; }

/* Estilo de campos (borde fino + filo azul del evento) y de títulos: bloque común con el pedido, al final de tienda.css («Opción 3») */
body.ins-v2 .tdatos textarea.form-control { height: auto; min-height: 92px; }

/* Campo de teléfono: prefijo y número, cada uno en su caja redondeada */
body.ins-v2 .tdatos .tel-wrapper { gap: 10px; }
body.ins-v2 .tdatos .tel-prefix-select { max-width: 140px; }
body.ins-v2 .tdatos .input-group:has(.tel-prefix-select) .input-group-prepend { display: none; }

/* Correo e idioma: sin icono delante (la tienda ya los oculta); el idioma lo mantiene, es un desplegable simple */
body.ins-v2 .tdatos .input-group:has(#idioma) .input-group-prepend,
body.ins-v2 .tdatos .input-group:has(#emergencia) .input-group-prepend { display: none; }

/* Errores de formulario: caja roja suave con filo a la izquierda (como los avisos de la tienda) */
body.ins-v2 .tdatos .error_form { background: #fef2f2; border: 1px solid #fecaca; border-left: 4px solid #dc2626; border-radius: 6px; padding: 10px 14px; }
body.ins-v2 .tdatos .error_form p { margin: 0; color: #991b1b; font-size: .92rem; }
body.ins-v2 .tdatos .error_form .material-icons { color: #dc2626 !important; font-size: 1.15rem; vertical-align: -4px; }
body.ins-v2 .tdatos .error_form.d-none { display: none !important; }

/* Pie de tarjeta: sin sombra extra del campo de ayuda */
body.ins-v2 .tdatos .info-custom { font-size: .9rem; color: #5b6475; }

/* ── Cupón de descuento: caja crema con filo naranja (igual que el aviso de pedido pendiente) ── */
body.ins-v2 .descuento-wrapper { background: #fff8e6; border: 1px solid #f3e1b0; border-left: 4px solid var(--ev-accent); border-radius: 10px; padding: 14px 18px; margin: 0 0 22px; }
body.ins-v2 .descuento-content h4 { color: #1f2a44 !important; font-size: 1.05rem; font-weight: 800; margin: 0 0 6px; }
body.ins-v2 .descuento-wrapper .form-control,
body.ins-v2 .descuento-wrapper .form-control.text-uppercase { border: 1px solid #e6d3a0 !important; border-left: 1px solid #e6d3a0 !important; background: #fff; }
body.ins-v2 .descuento-wrapper .btn-secondary { background: var(--ev-primary) !important; border: 1px solid var(--ev-primary) !important; color: var(--ev-text, #fff) !important; border-radius: 999px; height: 46px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
body.ins-v2 .descuento-wrapper .alert_cupon { border-radius: 8px; }
/* Cupón compacto: una sola línea (icono + texto + campo + botón); el aviso va debajo y solo si hay respuesta */
body.ins-v2 .descuento-wrapper.cupon-compact { padding: 12px 16px; margin: 0 0 20px; transition: background .2s, border-color .2s; }
body.ins-v2 .cupon-compact__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
body.ins-v2 .cupon-compact__label { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }
body.ins-v2 .cupon-compact__label .material-icons { color: var(--ev-accent); font-size: 24px; }
body.ins-v2 .cupon-compact__label h4 { margin: 0 !important; font-size: .98rem !important; line-height: 1.2; white-space: nowrap; }
body.ins-v2 .cupon-compact__field { flex: 1 1 200px; min-width: 0; }
body.ins-v2 .cupon-compact .form-control { width: 100%; height: 44px; letter-spacing: .04em; font-weight: 600; }
body.ins-v2 .cupon-compact__btn { flex: 0 0 auto; }
/* Botón secundario: contorno, para no competir con el botón principal del formulario */
body.ins-v2 .cupon-compact .btn-secondary { background: #fff !important; color: var(--ev-primary) !important; border: 1.5px solid var(--ev-primary) !important; height: 44px; min-width: 120px; padding: 0 22px; cursor: pointer; transition: background .15s, color .15s; }
body.ins-v2 .cupon-compact .btn-secondary:hover { background: var(--ev-primary) !important; color: var(--ev-text, #fff) !important; }
/* Aviso: ocupa toda la fila inferior, fino */
body.ins-v2 .cupon-compact__msg { flex: 0 0 100%; }
body.ins-v2 .cupon-compact__msg:not(:has(.active)) { display: none; }
body.ins-v2 .cupon-compact .alert_cupon { margin: 0; padding: 7px 12px; font-size: .9rem; border-radius: 8px; }
body.ins-v2 .cupon-compact .alert_cupon:not(.active) { display: none; }
/* Sin la flecha de «bocadillo» que style.css pone a todos los .alert (aquí el aviso va dentro de la barra) */
body.ins-v2 .cupon-compact .alert_cupon::after { display: none; content: none; }
/* Cupón validado: toda la barra pasa a verde y el aviso queda como una línea con check */
body.ins-v2 .descuento-wrapper.cupon-compact:has(.cupon_ok.active) { background: #effaf3; border-color: #bfe3cc; border-left-color: #1f9d57; }
body.ins-v2 .cupon-compact:has(.cupon_ok.active) .cupon-compact__label .material-icons { color: #1f9d57; }
body.ins-v2 .cupon-compact .cupon_ok.active { background: transparent; border: 0; padding: 0 2px; color: #157347; }
/* Cupón no válido (inexistente, usado, caducado u otro evento): misma idea en rojo suave, texto legible */
body.ins-v2 .descuento-wrapper.cupon-compact:has(.alert-danger.active) { background: #fff3f2; border-color: #f1c4c0; border-left-color: #d93025; }
body.ins-v2 .cupon-compact:has(.alert-danger.active) .cupon-compact__label .material-icons { color: #d93025; }
html body.ins-v2 .cupon-compact:has(.alert-danger.active) .form-control { border-color: #e8a5a0 !important; }
body.ins-v2 .cupon-compact .alert-danger.active { background: transparent; border: 0; padding: 0 2px; color: #a8261c; }
body.ins-v2 .cupon-compact .alert-danger.active strong { color: #a8261c; }
body.ins-v2 .cupon-compact .alert-danger.active::before { content: "\2715\00a0"; font-weight: 800; }
body.ins-v2 .cupon-compact .cupon_ok.active::before { content: "✓ "; font-weight: 800; }

/* ── Productos / personalización dentro de la inscripción ── */
body.ins-v2 .promo-wrapper { border: 1px solid #e3e8f0 !important; border-radius: 14px !important; box-shadow: 0 1px 6px rgba(var(--ev-primary-rgb), .08) !important; }
body.ins-v2 .prod-name { font-size: 1.1rem; font-weight: 800; color: var(--ev-primary); }
body.ins-v2 .prod-price-badge { border-radius: 999px; padding: 3px 12px; }
body.ins-v2 .select_talla { max-width: 260px; }

/* ── Aceptación: las casillas como tarjetas suaves, como en la pantalla de datos de la tienda ── */
body.ins-v2 .tdatos .cond-check { background: #f8fafc; border: 1px solid #e3e8f0; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; gap: 12px; }
body.ins-v2 .tdatos .cond-check:hover { border-color: #c9d3e3; }
body.ins-v2 .tdatos .cond-check.cond-destacada { background: #f2fcf6; border-color: #b7ebc9; }
body.ins-v2 .tdatos .condiciones { font-size: .93rem; color: #3b4560; }
body.ins-v2 .tdatos .cond-info { font-size: .88rem; color: #5b6475; }

/* «Ya recibes las novedades…»: misma tarjeta que las casillas, con icono y el «Cambiar» como botón discreto a la derecha */
body.ins-v2 .tdatos .cond-ya { display: flex; align-items: center; gap: 12px; background: #f8fafc; border: 1px solid #e3e8f0; border-radius: 10px; padding: 12px 14px; margin-bottom: 10px; font-size: .93rem; color: #3b4560; }
body.ins-v2 .tdatos .cond-ya .cond-icono-ok { color: #16a34a; font-size: 22px; }
body.ins-v2 .tdatos .cond-ya .cond-ya-texto { flex: 1 1 auto; line-height: 1.45; }
body.ins-v2 .tdatos .cond-ya .cond-ya-cambiar { flex: 0 0 auto; padding: 4px 14px; border: 1px solid #c9d3e3; border-radius: 999px; background: #fff; color: var(--ev-primary); font-weight: 600; font-size: .85rem; text-decoration: none; }
body.ins-v2 .tdatos .cond-ya .cond-ya-cambiar:hover { background: rgba(var(--ev-primary-rgb), .06); border-color: var(--ev-primary); }

/* ── Botones principales: píldora a todo el ancho, como en la cesta y los datos ── */
body.ins-v2 .grupo_pago .tbtn,
body.ins-v2 .grupo_finalizar .tbtn,
body.ins-v2 .tdatos .bt_finalizar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; font-size: 1.15rem; font-weight: 700; border-radius: 999px; box-shadow: none; }
body.ins-v2 .tdatos .bt_pagar,
body.ins-v2 .tdatos .bt_finalizar { background: var(--ev-primary); color: var(--ev-text, #fff); border-color: var(--ev-primary); }
body.ins-v2 .tdatos .bt_pagar:hover,
body.ins-v2 .tdatos .bt_finalizar:hover { color: var(--ev-text, #fff); }
body.ins-v2 .tdatos .bt_guardar { background: #fff; color: var(--ev-primary) !important; border: 1.5px solid var(--ev-primary) !important; }
body.ins-v2 .tdatos .bt_guardar:hover,
body.ins-v2 .tdatos .bt_guardar:focus { background: rgba(var(--ev-primary-rgb), .06) !important; box-shadow: none !important; }
body.ins-v2 .tdatos .tbtn .material-icons { margin: 0 !important; font-size: 1.3rem; vertical-align: middle; color: inherit !important; }
body.ins-v2 .tdatos .tbtn[disabled] { opacity: .5; cursor: not-allowed; pointer-events: none; }

/* Zona de botones: separada del resto por una línea, con aire */
body.ins-v2 .grupo_pago,
body.ins-v2 .grupo_finalizar { margin-top: 36px !important; margin-bottom: 8px !important; padding-top: 26px !important; border-top: 1px solid #e3e8f0; }

/* ── Móvil ── */
@media (max-width: 575px) {
  body.ins-v2 #page-content > .container { padding-top: 12px; }
  body.ins-v2 #page-content > .tienda-pasos + .container { padding-top: 0; }
  body.ins-v2 .tdatos .tel-prefix-select { max-width: 120px; }
  body.ins-v2 .tdatos .cond-check { padding: 10px 12px; }
  body.ins-v2 .grupo_pago .tbtn, body.ins-v2 .grupo_finalizar .tbtn { font-size: 1.08rem; padding: 14px 16px; }
}

/* ── Pantallas de procesando / éxito: mismos modales redondeados de la tienda ── */
body.ins-v2 .ins-spinner__card,
body.ins-v2 .ins-ok__card { border-radius: 20px; }
body.ins-v2 .ins-ok__header { background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%); }
body.ins-v2 #ins-ok-btn { border-radius: 999px; }

/* ── Avisos con texto HTML del organizador (p. ej. info de licencias): centrados en vertical ── */
body.ins-v2 .tdatos .aviso-email,
body.ins-v2 .tdatos .aviso-tel { align-items: center; }
body.ins-v2 .tdatos .aviso-email__texto,
body.ins-v2 .tdatos .aviso-tel__texto { display: block; flex: 1 1 auto; min-width: 0; }
body.ins-v2 .tdatos .aviso-email__texto > *,
body.ins-v2 .tdatos .aviso-tel__texto > * { margin-top: 0; margin-bottom: 0; }
body.ins-v2 .tdatos .aviso-email__texto > * + *,
body.ins-v2 .tdatos .aviso-tel__texto > * + * { margin-top: .5em; }
body.ins-v2 .tdatos .aviso-email__icon,
body.ins-v2 .tdatos .aviso-tel__icon { flex: 0 0 auto; line-height: 1; }

/* ── «Datos del representante legal»: su título va envuelto en .area-representante, así que no recibía el
   margen superior de las demás secciones (tienda.css solo lo da a .sec-sep hijos directos) ── */
body.ins-v2 .tdatos .area-representante > .sec-sep { margin-top: 64px !important; }
@media (max-width: 575px) {
  body.ins-v2 .tdatos .area-representante > .sec-sep { margin-top: 48px !important; }
}

/* ── Datos de contacto: cuadrícula de dos columnas, teléfono con el número ocupando el resto ── */
body.ins-v2 .tdatos .tel-wrapper .tel-prefix-group { flex: 0 0 auto; }
body.ins-v2 .tdatos .tel-wrapper #tel_numero { flex: 1 1 auto; min-width: 0; }
body.ins-v2 .tdatos .tel-wrapper .tel-num-group { flex: 1 1 0; width: auto; min-width: 0; }
body.ins-v2 .tdatos .sec-sep { border-radius: 0 !important; box-shadow: none !important; }
body.ins-v2 .tdatos .aviso-email, body.ins-v2 .tdatos .aviso-tel { margin-top: 4px; }
body.ins-v2 .tdatos .info-custom { display: block; margin-top: 2px; }


/* Cupón: su campo conserva el borde ámbar (la «Opción 3» de tienda.css le pondría el filo azul) */
html body.ins-v2 .multisteps-form__panel.tdatos .descuento-wrapper .form-control { border: 1px solid #e6d3a0 !important; border-left: 1px solid #e6d3a0 !important; }

/* ══ Títulos de sección con fondo de color (tinte del color del evento + filo a la izquierda) ══ */
html body.ins-v2 .tdatos .sec-sep {
  background: linear-gradient(90deg, rgba(var(--ev-primary-rgb), .11) 0%, rgba(var(--ev-primary-rgb), .03) 100%) !important;
  border: 0 !important; border-left: 4px solid var(--ev-primary) !important; border-radius: 10px !important;
  padding: 12px 16px !important;
}
html body.ins-v2 .tdatos .sec-sep .material-icons { font-size: 1.7rem; }
html body.ins-v2 .tdatos .sec-sep h5 { font-size: 1.25rem; }
@media (max-width: 575px) { html body.ins-v2 .tdatos .sec-sep { padding: 10px 12px !important; } html body.ins-v2 .tdatos .sec-sep h5 { font-size: 1.1rem; } }

/* ══ Iconos dentro de los campos (fondo SVG; no toca el HTML compartido) ══ */
body.ins-v2 {
  --ico-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E");
  --ico-wc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M5.5 22v-7.5H4V9c0-1.1.9-2 2-2h3c1.1 0 2 .9 2 2v5.5H9.5V22h-4zM18 22v-6h3l-2.54-7.63C18.18 7.55 17.42 7 16.56 7h-.12c-.86 0-1.63.55-1.9 1.37L12 16h3v6h3zM7.5 6c1.11 0 2-.89 2-2s-.89-2-2-2-2 .89-2 2 .89 2 2 2zm9 0c1.11 0 2-.89 2-2s-.89-2-2-2-2 .89-2 2 .89 2 2 2z'/%3E%3C/svg%3E");
  --ico-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M20 7h-5V4c0-1.1-.9-2-2-2h-2c-1.1 0-2 .9-2 2v3H4c-1.1 0-2 .9-2 2v11c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V9c0-1.1-.9-2-2-2zM9 12c.83 0 1.5.67 1.5 1.5S9.83 15 9 15s-1.5-.67-1.5-1.5S8.17 12 9 12zm3 6H6v-.75c0-1 2-1.5 3-1.5s3 .5 3 1.5V18zm1-9h-2V4h2v5zm5 7.5h-4V15h4v1.5zm0-3h-4V12h4v1.5z'/%3E%3C/svg%3E");
  --ico-public: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z'/%3E%3C/svg%3E");
  --ico-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M20.5 3l-.16.03L15 5.1 9 3 3.36 4.9c-.21.07-.36.25-.36.48V20.5c0 .28.22.5.5.5l.16-.03L9 18.9l6 2.1 5.64-1.9c.21-.07.36-.25.36-.48V3.5c0-.28-.22-.5-.5-.5zM15 19l-6-2.11V5l6 2.11V19z'/%3E%3C/svg%3E");
  --ico-city: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M15 11V5l-3-3-3 3v2H3v14h18V11h-6zm-8 8H5v-2h2v2zm0-4H5v-2h2v2zm0-4H5V9h2v2zm6 8h-2v-2h2v2zm0-4h-2v-2h2v2zm0-4h-2V9h2v2zm0-4h-2V5h2v2zm6 12h-2v-2h2v2zm0-4h-2v-2h2v2z'/%3E%3C/svg%3E");
  --ico-group: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3zm-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3zm0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5zm8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5z'/%3E%3C/svg%3E");
  --ico-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M20 2H4c-1.11 0-2 .89-2 2v11c0 1.11.89 2 2 2h4v5l4-2 4 2v-5h4c1.11 0 2-.89 2-2V4c0-1.11-.89-2-2-2zm0 13H4v-2h16v2zm0-5H4V4h16v6z'/%3E%3C/svg%3E");
  --ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
  --ico-phone: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
  --ico-translate: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z'/%3E%3C/svg%3E");
  --ico-health: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23475569'%3E%3Cpath d='M12 2L4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5l-8-3zm4 9h-3v3h-2v-3H8V9h3V6h2v3h3v2z'/%3E%3C/svg%3E");
}
body.ins-v2 .tdatos :is(
  input[id^="nombre"], #rep_nombre, select[id^="sexo"], select[id^="tipo_doc"], #rep_tipo_doc, select[id^="dia"],
  select[id^="pais"], select[id^="provincia"], :is(input,select)[id^="municipio"], :is(input,select)[id^="poblacion"], #empresa, #empresa_cif, #empresa_poblacion, #empresa_pais, #empresa_provincia,
  select[id^="pertenece_club"], :is(input,select)[id^="equipo"], :is(input,select)[id^="licencia"], #email, #email2, #tel_numero, #idioma, #emergencia
) { background-image: var(--f-ico), linear-gradient(#f1f5f9, #f1f5f9), linear-gradient(#c9d3e3, #c9d3e3); background-repeat: no-repeat; background-size: 18px 18px, 40px 100%, 1px 100%; background-position: 11px center, 0 0, 40px 0; padding-left: 52px; }
body.ins-v2 .tdatos :is(input[id^="nombre"], #rep_nombre) { --f-ico: var(--ico-person); }
body.ins-v2 .tdatos select[id^="sexo"] { --f-ico: var(--ico-wc); }
body.ins-v2 .tdatos :is(select[id^="tipo_doc"], #rep_tipo_doc) { --f-ico: var(--ico-badge); }
body.ins-v2 .tdatos select[id^="dia"] { --f-ico: var(--ico-cal); }
body.ins-v2 .tdatos #empresa { --f-ico: var(--ico-company); }
body.ins-v2 .tdatos #empresa_cif { --f-ico: var(--ico-cif); }
body.ins-v2 .tdatos :is(select[id^="pais"], #empresa_pais) { --f-ico: var(--ico-public); }
body.ins-v2 .tdatos :is(select[id^="provincia"], #empresa_provincia) { --f-ico: var(--ico-map); }
body.ins-v2 .tdatos :is(:is(input,select)[id^="municipio"], :is(input,select)[id^="poblacion"], #empresa_poblacion) { --f-ico: var(--ico-city); }
body.ins-v2 .tdatos :is(select[id^="pertenece_club"], :is(input,select)[id^="equipo"]) { --f-ico: var(--ico-group); }
body.ins-v2 .tdatos :is(input,select)[id^="licencia"] { --f-ico: var(--ico-card); }
body.ins-v2 .tdatos :is(#email, #email2) { --f-ico: var(--ico-mail); }
body.ins-v2 .tdatos #tel_numero { --f-ico: var(--ico-phone); }
body.ins-v2 .tdatos #idioma { --f-ico: var(--ico-translate); }
body.ins-v2 .tdatos #emergencia { --f-ico: var(--ico-health); }

/* ══ Datos de contacto: info a la derecha del campo, alineada con él ══ */
@media (min-width: 576px) {
  body.ins-v2 .tdatos .contacto-fila { align-items: flex-end; }
}
body.ins-v2 .tdatos .contacto-info .aviso-tel { margin: 0; min-height: 46px; padding-top: 10px; padding-bottom: 10px; }
body.ins-v2 .tdatos .contacto-info .info-custom { display: flex; align-items: center; gap: 6px; min-height: 46px; margin: 0; font-size: .92rem; }

/* ══ Aviso de WhatsApp: en verde y con el icono de WhatsApp, como la casilla de aceptación ══ */
html body.ins-v2 .tdatos .aviso-tel--wa { background: #f2fcf6; border: 1px solid #b7ebc9; border-left: 4px solid #25d366; }
body.ins-v2 .tdatos .aviso-tel__wa { flex: 0 0 auto; width: 28px; height: 28px; color: #25d366; }
body.ins-v2 .tdatos .aviso-tel--wa .aviso-tel__texto { color: #1f3d2c; }
body.ins-v2 .tdatos .aviso-tel--wa .aviso-tel__texto strong, body.ins-v2 .tdatos .aviso-tel--wa .aviso-tel__texto b { color: #15803d; }

/* ══ Datos de contacto más compactos: sin margen superior entre filas y menos aire bajo cada campo ══ */
body.ins-v2 .tdatos .contacto-fila { margin-top: 0 !important; }
body.ins-v2 .tdatos .contacto-fila > [class*="col-"] { margin-bottom: 14px !important; }
body.ins-v2 .tdatos .contacto-fila .error_form { margin-top: 6px !important; }
body.ins-v2 .tdatos .contacto-fila label { margin-bottom: 4px; }

/* ══ Banner de tarifa: forma, icono oscuro a la izquierda e importe a la derecha (el fondo está más abajo) ══ */
html body.ins-v2 .ins-tarifa-banner { border-radius: 14px !important; min-height: 82px; }
/* Nombre de la tarifa y distancia en la misma línea (si no caben, la distancia baja sola) */
html body.ins-v2 .ins-tarifa-banner__name, html body.ins-v2 .ins-tarifa-banner__subname { display: inline; }
html body.ins-v2 .ins-tarifa-banner__subname { margin-left: .6rem; }
html body.ins-v2 .ins-tarifa-banner__icon { background: rgba(0,0,0,.22); min-width: 84px; }
html body.ins-v2 .ins-tarifa-banner__icon .material-icons { font-size: 2.6rem; }
html body.ins-v2 .ins-tarifa-banner__label { font-size: .68rem; letter-spacing: .12em; opacity: .85; }
html body.ins-v2 .ins-tarifa-banner__name { font-size: 1.55rem; font-weight: 800; }
html body.ins-v2 .ins-tarifa-banner__subname { font-size: .95rem; opacity: .9; }
html body.ins-v2 .ins-tarifa-banner__price-col { background: rgba(0,0,0,.26); border-left: 1px solid rgba(255,255,255,.28); min-width: 130px; }
html body.ins-v2 .ins-tarifa-banner__price-col .dato_precio { font-size: 1.9rem; font-weight: 800; }
html body.ins-v2 .ins-tarifa-banner__price-label { font-size: .68rem; letter-spacing: .12em; opacity: .85; }
@media (max-width: 575px) {
  html body.ins-v2 .ins-tarifa-banner { min-height: 72px; }
  html body.ins-v2 .ins-tarifa-banner__icon { min-width: 56px; }
  html body.ins-v2 .ins-tarifa-banner__icon .material-icons { font-size: 2rem; }
  html body.ins-v2 .ins-tarifa-banner__name { font-size: 1.15rem; }
  html body.ins-v2 .ins-tarifa-banner__price-col { min-width: 92px; }
  html body.ins-v2 .ins-tarifa-banner__price-col .dato_precio { font-size: 1.35rem; }
}

/* Importe del banner: parte entera grande y decimales más pequeños, subidos como un superíndice */
body.ins-v2 .ins-precio { white-space: nowrap; }
body.ins-v2 .ins-precio__ent { font-size: 1em; font-weight: 800; }
body.ins-v2 .ins-precio__dec { font-size: .55em; font-weight: 700; position: relative; top: -.55em; margin-left: 1px; opacity: .9; }
body.ins-v2 .ins-precio__eur { font-size: .7em; font-weight: 700; margin-left: 2px; }

/* ══ Fondo del resumen de tarifa: mismo SVG y degradado que la cabecera (variables --ev-diag y --ev-bar-grad de cabecera.css) ══ */
/* Resumen: extremos oscuros y azul luminoso en el centro, para favorecer la lectura */
html body.ins-v2 .ins-tarifa-banner {
  background:
    radial-gradient(ellipse 45% 130% at 52% 40%, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 100%),
    linear-gradient(90deg, rgba(0,0,0,.32) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0) 70%, rgba(0,0,0,.3) 100%),
    var(--ev-diag) center / cover no-repeat,
    var(--ev-bar-grad);
}

/* ══ Título de sección: icono dentro de un círculo del color del evento ══ */
html body.ins-v2 .tdatos .sec-sep { gap: 14px; padding: 10px 16px !important; }
html body.ins-v2 .tdatos .sec-sep .material-icons {
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%; font-size: 1.35rem;
  background: var(--ev-primary) !important; color: var(--ev-text, #fff) !important;
  box-shadow: 0 2px 6px rgba(var(--ev-primary-rgb), .3);
}
@media (max-width: 575px) { html body.ins-v2 .tdatos .sec-sep .material-icons { width: 34px; height: 34px; font-size: 1.15rem; } }

/* ══ Iconos de contorno (trazo fino) para sexo, fecha de nacimiento y documento de identidad ══ */
body.ins-v2 {
  --ico-wc: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='11' r='4'/%3E%3Cpath d='M12.9 8.1L18 3M14 3h4v4M10 15v6M7 18h6'/%3E%3C/svg%3E");
  --ico-cal: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M4 10h16M8 3v4M16 3v4'/%3E%3Crect x='7.5' y='13' width='3' height='3' rx='.5'/%3E%3C/svg%3E");
  --ico-badge: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='2'/%3E%3Ccircle cx='8' cy='11' r='1.8'/%3E%3Cpath d='M5 16c.5-1.7 1.8-2.3 3-2.3s2.5.6 3 2.3M13.5 10h5M13.5 14h5'/%3E%3C/svg%3E");
}

/* Nombre y «¿Perteneces a un club?»: iconos de contorno (el club va en la pregunta, no en el campo del club) */
body.ins-v2 {
  --ico-mail: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5.5' width='18' height='13' rx='2'/%3E%3Cpath d='M3.5 7.5l8.5 6 8.5-6'/%3E%3C/svg%3E");
  --ico-company: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='7.5' width='18' height='12' rx='2'/%3E%3Cpath d='M9 7.5V6a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2v1.5M3 13h18M10.5 13v1.5h3V13'/%3E%3C/svg%3E");
  --ico-cif: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 3h8l4 4v14H6z'/%3E%3Cpath d='M14 3v4h4M9 12h6M9 15.5h6M9 8.5h2'/%3E%3C/svg%3E");
  --ico-person: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='3.6'/%3E%3Cpath d='M5 20c0-3.9 3.1-6 7-6s7 2.1 7 6'/%3E%3C/svg%3E");
  --ico-group: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='9' r='3'/%3E%3Ccircle cx='17' cy='10' r='2.4'/%3E%3Cpath d='M3 19c0-3 2.7-4.6 6-4.6s6 1.6 6 4.6M15.6 14.8c.5-.1 1-.2 1.5-.2 2.6 0 4.4 1.2 4.4 3.6'/%3E%3C/svg%3E");
}

/* Fila de «Nº documento»: misma separación con la fecha de nacimiento que el resto de filas (traía un mt-4 extra) */
html body.ins-v2 .tdatos .row:has(> div > select[id^="tipo_doc"]) { margin-top: 0 !important; }

/* País, provincia y población: iconos de contorno (bandera, silueta de provincia, edificios) */
body.ins-v2 {
  --ico-public: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 21V3.5'/%3E%3Cpath d='M5 4.5c3-1.6 5.5 1.6 8.5 0s4.5-.4 5.5.2v8.6c-1-.6-2.5-1.8-5.5-.2S8 12.4 5 14z'/%3E%3C/svg%3E");
  --ico-map: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 10c-.4-3 2-5.2 5-5 1.6.1 2.4 1 4 1 2.4 0 4.6 1.8 4.4 4.2-.1 1.6-1 2.2-.6 4 .4 2-1.2 4.2-4 4-1.6-.1-2.4-1.2-4-1.2-2.8.2-5.2-1-5.2-3.8 0-1.6 1-2.2.4-4.2z'/%3E%3C/svg%3E");
  --ico-city: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V10h5v11'/%3E%3Cpath d='M10 21V4h9v17'/%3E%3Cpath d='M13 8h3M13 12h3M13 16h3M7 14h1'/%3E%3C/svg%3E");
}

/* ══ Ritmo vertical uniforme en «Datos personales»: la misma separación (16 px) entre todas las líneas
   (nombre, sexo/fecha, documento, país/provincia/población, club, datos adicionales, federación).
   Antes cada fila traía su propio mt-4/mb-3/mt-3 y quedaban unas más separadas que otras. ══ */
@media (min-width: 576px) {
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila) { margin-top: 0 !important; margin-bottom: 16px !important; }
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila) > [class*="col-"] { margin-top: 0 !important; margin-bottom: 0 !important; }
}
@media (max-width: 575px) {
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila) { margin-top: 0 !important; margin-bottom: 0 !important; }
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila) > [class*="col-"] { margin-top: 0 !important; margin-bottom: 16px !important; }
}

/* ══ Bloques de «Datos personales» ══
   1) Identidad: nombre y apellidos, sexo y fecha, nº documento  -> líneas muy juntas (10 px entre sí)
   2) País / provincia / población                               -> bloque separado (32 px)
   3) Club (o colegio / equipo)                                  -> bloque separado
   4) Datos adicionales (campos personalizados)                  -> juntos entre sí (10 px), separados del resto
   5) Federación                                                 -> bloque separado
   Por defecto cada fila deja 32 px debajo (separación entre bloques); las filas que van seguidas de otra
   del mismo bloque (1 y 4) se quedan a 10 px. */
@media (min-width: 576px) {
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila) { margin-bottom: 32px !important; }
  /* Bloque 1: filas anteriores a «Nº documento» */
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila):has(~ .row > div > select[id^="tipo_doc"]) { margin-bottom: 10px !important; }
  /* Bloque 4: campos personalizados seguidos de otro campo personalizado */
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila):has([id^="custom"]):has(~ .row [id^="custom"]) { margin-bottom: 10px !important; }
}
@media (max-width: 575px) {
  /* En móvil la separación la dan las columnas (16 px): las filas de un mismo bloque se acercan a 10 px */
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila) { margin-bottom: 16px !important; }
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila):has(~ .row > div > select[id^="tipo_doc"]) { margin-bottom: 0 !important; }
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila):has(~ .row > div > select[id^="tipo_doc"]) > [class*="col-"] { margin-bottom: 10px !important; }
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila):has([id^="custom"]):has(~ .row [id^="custom"]) { margin-bottom: 0 !important; }
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila):has([id^="custom"]):has(~ .row [id^="custom"]) > [class*="col-"] { margin-bottom: 10px !important; }
}

/* ══ Datos de la federación: iconos de contorno (escudo con check para «¿Estás federado?», carné para la licencia) ══ */
body.ins-v2 {
  --ico-shield: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 2.8v5.4c0 4.4-2.9 8.1-7 9.8-4.1-1.7-7-5.4-7-9.8V5.8z'/%3E%3Cpath d='M8.8 12l2.4 2.4 4.2-4.6'/%3E%3C/svg%3E");
  --ico-card: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='12' rx='2'/%3E%3Cpath d='M7 8.5h10M7 12h5M9 16v5l3-1.5 3 1.5v-5'/%3E%3C/svg%3E");
}
body.ins-v2 .tdatos select[id^="federado"] {
  --f-ico: var(--ico-shield);
  background-image: var(--f-ico), linear-gradient(#f1f5f9, #f1f5f9), linear-gradient(#c9d3e3, #c9d3e3); background-repeat: no-repeat;
  background-size: 18px 18px, 40px 100%, 1px 100%; background-position: 11px center, 0 0, 40px 0; padding-left: 52px;
}

/* ══ Productos opcionales / camiseta: tarjeta más clara, controles con el mismo diseño que los campos y selección resaltada ══ */
body.ins-v2 {
  --ico-shirt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8.5 3.5L3 6.5l2 4.3 2.5-1.2V20.5h9V9.6l2.5 1.2 2-4.3-5.5-3C15.2 5 13.8 5.8 12 5.8S8.8 5 8.5 3.5z'/%3E%3C/svg%3E");
  --ico-bag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23475569' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5.5 8h13l1 12.5h-15z'/%3E%3Cpath d='M9 8V7a3 3 0 0 1 6 0v1'/%3E%3C/svg%3E");
}
body.ins-v2 .promo-wrapper { margin-top: 18px !important; transition: border-color .15s, box-shadow .15s, background-color .15s; }
/* Producto elegido (talla o cantidad distinta de «ninguna»): borde y fondo suaves con el color del evento */
body.ins-v2 .promo-wrapper:has(select option:checked:not([value=""]):not([value="0"])) {
  border-color: var(--ev-primary) !important; background: rgba(var(--ev-primary-rgb), .035) !important;
  box-shadow: 0 0 0 1px var(--ev-primary), 0 2px 10px rgba(var(--ev-primary-rgb), .12) !important;
}
/* Texto previo del producto: caja crema con filo naranja, como los demás avisos */
body.ins-v2 .promo-wrapper > div[style*="#fffbeb"] { background: #fff8e6 !important; border: 0 !important; border-left: 4px solid var(--ev-accent) !important; padding: 12px 16px !important; font-size: .92rem !important; color: #3b4560 !important; }
body.ins-v2 .promo-wrapper > div[style*="#fffbeb"] .material-icons { color: var(--ev-accent) !important; font-size: 1.2rem !important; }

/* Foto: se ve entera (sin recortar) sobre fondo claro y con las miniaturas a la izquierda */
body.ins-v2 .promo-wrapper img[id^="prod-main-"] { object-fit: contain !important; max-height: 280px !important; background: #f8fafc; }

/* Nombre y precio: más peso; el importe en una píldora con el color del evento */
body.ins-v2 .promo-wrapper .prod-name { font-size: 1.2rem; font-weight: 800; }
body.ins-v2 .promo-wrapper .prod-price-badge { font-size: .9rem; padding: 4px 12px; }

/* Controles (talla / cantidad) con el recuadro de icono a la izquierda y ancho cómodo */
body.ins-v2 .promo-wrapper select.select_talla {
  max-width: 320px; width: 100%; height: 46px; border: 1px solid #c9d3e3 !important; border-left: 1px solid #c9d3e3 !important; border-radius: 6px !important; font-size: 1rem !important;
  background-image: var(--ico-shirt), linear-gradient(#f1f5f9, #f1f5f9), linear-gradient(#c9d3e3, #c9d3e3); background-repeat: no-repeat;
  background-size: 18px 18px, 40px 100%, 1px 100%; background-position: 11px center, 0 0, 40px 0; padding-left: 52px;
}
body.ins-v2 .promo-wrapper select.select_prod { --ico-shirt: var(--ico-bag); }

/* Guía de tallas: botón en píldora con la regla, en vez de un enlace diminuto */
body.ins-v2 .promo-wrapper .prod-tallas-link {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 6px 14px; border: 1px solid #c9d3e3; border-radius: 999px;
  background: #fff; font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--ev-primary) !important;
}
body.ins-v2 .promo-wrapper .prod-tallas-link:hover { background: rgba(var(--ev-primary-rgb), .06); text-decoration: none; }
body.ins-v2 .promo-wrapper .prod-tallas-link .material-icons { font-size: 1.1rem !important; }


/* Producto sin foto: en vez de imagen genérica, un icono de bolsa en un círculo delante del nombre */
body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-name { display: inline-flex; align-items: center; gap: 12px; }
body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-name::before {
  content: "shopping_bag"; font-family: 'Material Icons Outlined', 'Material Icons'; font-weight: normal; font-style: normal;
  font-size: 1.4rem; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 42px; height: 42px; border-radius: 50%;
  background: rgba(var(--ev-primary-rgb), .1); color: var(--ev-primary);
}

/* ══ Producto sin foto, equivalente al de con foto: columna izquierda con el icono (como la de la foto) y los datos a la derecha ══ */
@media (min-width: 576px) {
  /* el icono ya no va delante del nombre */
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-name::before { display: none; }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) {
    display: grid; grid-template-columns: 33.333% 1fr; align-content: start; padding: 16px 0 !important; position: relative;
  }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) > * { grid-column: 2; margin-left: 20px; margin-right: 16px; }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8)::before {
    content: "shopping_bag"; grid-column: 1; grid-row: 1 / span 6; margin: -16px 0; align-self: stretch;
    display: flex; align-items: center; justify-content: center;
    font-family: 'Material Icons Outlined', 'Material Icons'; font-size: 2.2rem; font-weight: normal; font-style: normal; line-height: 1; letter-spacing: normal; text-transform: none; white-space: nowrap;
    -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
    color: var(--ev-primary); border-right: 1px solid rgba(56,69,142,.08);
    background: radial-gradient(circle at center, rgba(var(--ev-primary-rgb), .12) 0, rgba(var(--ev-primary-rgb), .12) 38px, transparent 39px), #f8fafc;
  }
}

/* ══ Producto sin foto v2: icono pequeño en círculo arriba a la izquierda y los datos a su lado (sin panel gris ancho) ══ */
@media (min-width: 576px) {
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) {
    grid-template-columns: 56px 1fr; column-gap: 18px; padding: 18px !important;
  }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) > * { margin-left: 0; margin-right: 0; }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8)::before {
    margin: 0; align-self: start; justify-self: start; width: 56px; height: 56px; border-radius: 50%; border-right: 0;
    font-size: 1.7rem; background: rgba(var(--ev-primary-rgb), .1);
  }
}
/* La tabla de tallas vacía no debe añadir altura */
body.ins-v2 .promo-wrapper table.list:not(:has(tr)) { display: none; }

/* ══ Tallas añadidas (producto con talla): cada línea como una tarjeta: talla · cantidad (− / +) · importe · quitar ══ */
body.ins-v2 .promo-wrapper table.list { display: block; width: 100%; max-width: 560px; margin: 14px 0 0; border: 0; }
body.ins-v2 .promo-wrapper table.list tbody { display: block; }
body.ins-v2 .promo-wrapper table.list tr.list__item {
  display: flex; align-items: center; gap: 14px; margin: 0 0 8px; padding: 8px 10px 8px 8px;
  background: #fff; border: 1px solid #dbe3ef; border-radius: 12px; box-shadow: 0 1px 3px rgba(var(--ev-primary-rgb), .06);
}
body.ins-v2 .promo-wrapper table.list td { display: block; padding: 0 !important; border: 0 !important; background: none; }
/* Talla: etiqueta con el color del evento */
body.ins-v2 .promo-wrapper .list .list__item .tipo_talla {
  display: inline-flex; align-items: center; justify-content: center; width: auto; min-width: 46px; height: 38px; margin: 0; padding: 0 12px;
  border-radius: 9px; background: var(--ev-primary); color: var(--ev-text, #fff); font-size: .95rem; font-weight: 800; letter-spacing: .02em;
}
/* Cantidad: selector − 1 + en píldora */
body.ins-v2 .promo-wrapper td.qty-cell { display: inline-flex !important; align-items: center; border: 1.5px solid var(--ev-primary) !important; border-radius: 999px; background: #fff; overflow: hidden; }
body.ins-v2 .promo-wrapper .qty-btn { width: 34px; height: 34px; border: 0; background: transparent; color: var(--ev-primary); font-size: 1.3rem; font-weight: 700; line-height: 1; cursor: pointer; padding: 0; }
body.ins-v2 .promo-wrapper .qty-btn:hover { background: rgba(var(--ev-primary-rgb), .1); }
body.ins-v2 .promo-wrapper .list .list__item .input-number {
  width: 38px; height: 34px; margin: 0; padding: 0; border: 0; background: transparent; text-align: center; font-size: 1rem; font-weight: 800; color: var(--ev-primary); -moz-appearance: textfield;
}
body.ins-v2 .promo-wrapper .list .list__item .input-number::-webkit-outer-spin-button,
body.ins-v2 .promo-wrapper .list .list__item .input-number::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* Importe a la derecha, siempre visible (también en móvil) */
body.ins-v2 .promo-wrapper table.list td:nth-child(3) { margin-left: auto; }
body.ins-v2 .promo-wrapper .list .list__item .price { display: block !important; margin: 0; font-size: 1.05rem; font-weight: 800; color: var(--ev-primary); white-space: nowrap; }
/* Quitar: botón redondo que se pone rojo al pasar el ratón */
body.ins-v2 .promo-wrapper table.list td:nth-child(4) button {
  width: 36px; height: 36px; padding: 0 !important; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  color: #64748b !important; transition: background .15s, color .15s;
}
body.ins-v2 .promo-wrapper table.list td:nth-child(4) button:hover { background: #fdecec !important; color: #c62828 !important; }
body.ins-v2 .promo-wrapper table.list td:nth-child(4) .material-icons { color: inherit !important; }
/* Producto con tallas elegidas: tarjeta resaltada (igual que con una cantidad elegida) */
body.ins-v2 .promo-wrapper:is(:has(table.list tr), .prod-sel) {
  border-color: var(--ev-primary) !important; background: rgba(var(--ev-primary-rgb), .035) !important;
  box-shadow: 0 0 0 1px var(--ev-primary), 0 2px 10px rgba(var(--ev-primary-rgb), .12) !important;
}
@media (max-width: 575px) {
  body.ins-v2 .promo-wrapper table.list tr.list__item { gap: 10px; padding: 8px; }
}

/* ══ Ajustes para móvil (< 576 px) ══ */
@media (max-width: 575px) {
  /* Fecha (día), país y provincia: sin icono ni recuadro lateral; el texto cabe entero */
  html body.ins-v2 :is(#form_inscripcion, #form_espera) .tdatos select[id^="dia"],
  html body.ins-v2 :is(#form_inscripcion, #form_espera) .tdatos select[id^="pais"],
  html body.ins-v2 :is(#form_inscripcion, #form_espera) .tdatos select[id^="provincia"],
  html body.ins-v2 :is(#form_inscripcion, #form_espera) .tdatos #empresa_pais,
  html body.ins-v2 :is(#form_inscripcion, #form_espera) .tdatos #empresa_provincia { background-image: none; padding-left: .75rem; }

  /* Nº documento: el campo del número queda pegado al tipo de documento (sin la etiqueta vacía ni el hueco de antes) */
  html body.ins-v2 .tdatos .row:has(> div > select[id^="tipo_doc"]) label:not([for]) { display: none; }
  html body.ins-v2 .tdatos .multisteps-form__content > .row:has(> div > select[id^="tipo_doc"]) > [class*="col-"]:first-child { margin-bottom: 8px !important; }
}

/* Decimales de los importes algo más pequeños (píldoras de producto, banner y líneas de tallas) */
.prod-price-badge .pp-dec { font-size: .62em; top: -.34em; }
body.ins-v2 .ins-precio__dec { font-size: .58em; top: -.5em; }

/* Datos del representante legal: nombre y apellidos y nº documento forman un mismo bloque (16 px entre ambas líneas, como en los datos personales) */
@media (min-width: 576px) {
  html body.ins-v2 .tdatos .multisteps-form__content > .row.area-representante:has(~ .row.area-representante) { margin-bottom: 16px !important; }
}
@media (max-width: 575px) {
  html body.ins-v2 .tdatos .multisteps-form__content > .row.area-representante:has(~ .row.area-representante) { margin-bottom: 0 !important; }
}

/* ══ Decimales de los importes (v2): la coma va con el entero y solo las dos cifras decimales son pequeñas y suben un poco ══ */
.prod-price-badge .pp-dec { font-size: .66em; font-weight: 700; position: relative; top: -.22em; margin-left: 1px; line-height: 0; opacity: 1; }
body.ins-v2 .ins-precio__dec { font-size: .6em; font-weight: 700; position: relative; top: -.42em; margin-left: 1px; line-height: 0; opacity: 1; }

/* ══ Fecha de nacimiento en móvil: el texto de día, mes y año cabe entero ══ */
@media (max-width: 575px) {
  html body.ins-v2 :is(#form_inscripcion, #form_espera) .tdatos select[id^="dia"],
  html body.ins-v2 :is(#form_inscripcion, #form_espera) .tdatos select[id^="mes"],
  html body.ins-v2 :is(#form_inscripcion, #form_espera) .tdatos select[id^="ejercicio"] {
    background-image: none; padding: 0 22px 0 10px; font-size: .95rem; text-overflow: clip;
  }
  html body.ins-v2 .tdatos .row > [class*="col-"] > select[id^="dia"] { min-width: 0; }
}

/* ══ Tallas añadidas en móvil: dos líneas (talla + quitar / cantidad + importe) para que quepan nombres largos como «Hombre XXL» ══ */
body.ins-v2 .promo-wrapper .qty-btn { outline: none; -webkit-tap-highlight-color: transparent; }
body.ins-v2 .promo-wrapper .qty-btn:focus-visible { background: rgba(var(--ev-primary-rgb), .15); }
@media (max-width: 575px) {
  body.ins-v2 .promo-wrapper table.list tr.list__item {
    display: grid; grid-template-columns: 1fr auto; grid-template-areas: "talla borrar" "cant precio";
    align-items: center; gap: 10px 12px; padding: 10px 12px;
  }
  body.ins-v2 .promo-wrapper table.list tr.list__item > td:nth-child(1) { grid-area: talla; min-width: 0; }
  body.ins-v2 .promo-wrapper table.list tr.list__item > td:nth-child(2) { grid-area: cant; justify-self: start; }
  body.ins-v2 .promo-wrapper table.list tr.list__item > td:nth-child(3) { grid-area: precio; margin-left: 0; justify-self: end; }
  body.ins-v2 .promo-wrapper table.list tr.list__item > td:nth-child(4) { grid-area: borrar; justify-self: end; }
  body.ins-v2 .promo-wrapper .list .list__item .tipo_talla {
    height: auto; min-height: 38px; max-width: 100%; padding: 6px 14px; white-space: normal; text-align: left; line-height: 1.2; justify-content: flex-start;
  }
  body.ins-v2 .promo-wrapper .list .list__item .price { font-size: 1.1rem; }
}
/* En escritorio, un nombre largo de talla no desborda la tarjeta */
@media (min-width: 576px) {
  body.ins-v2 .promo-wrapper .list .list__item .tipo_talla { max-width: 220px; height: auto; min-height: 38px; padding-top: 6px; padding-bottom: 6px; white-space: normal; line-height: 1.2; }
  body.ins-v2 .promo-wrapper table.list tr.list__item > td:nth-child(1) { min-width: 0; }
}

/* ══ Producto sin foto en móvil: icono a la izquierda y, a su lado, nombre con el importe justo debajo (alineados) ══ */
@media (max-width: 575px) {
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) > .d-flex {
    display: grid !important; grid-template-columns: 44px 1fr; align-items: center; column-gap: 12px; row-gap: 6px;
  }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-name { display: contents; }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-name::before { grid-column: 1; grid-row: 1 / span 2; width: 44px; height: 44px; font-size: 1.35rem; align-self: start; }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-price-badge { grid-column: 2; justify-self: start; margin: 0; }
}

/* ══ Producto elegido (opción 3): la tarjeta mantiene su borde normal y solo aparece una marca de verificación junto al nombre ══ */
body.ins-v2 .promo-wrapper:has(select option:checked:not([value=""]):not([value="0"])),
body.ins-v2 .promo-wrapper:is(:has(table.list tr), .prod-sel) {
  border-color: #e3e8f0 !important; background: #fff !important;
  box-shadow: 0 1px 6px rgba(var(--ev-primary-rgb), .08) !important;
}
body.ins-v2 .promo-wrapper:has(select option:checked:not([value=""]):not([value="0"])) .col-12.p-3 > .d-flex.flex-wrap::after,
body.ins-v2 .promo-wrapper:is(:has(table.list tr), .prod-sel) .col-12.p-3 > .d-flex.flex-wrap::after {
  content: "check"; font-family: 'Material Icons'; font-weight: normal; font-style: normal; letter-spacing: normal; text-transform: none; white-space: nowrap;
  -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga';
  display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; margin-left: auto;
  width: 26px; height: 26px; border-radius: 50%; background: #16a34a; color: #fff; font-size: 1rem; line-height: 1;
  box-shadow: 0 1px 3px rgba(22,163,74,.4);
}
@media (max-width: 575px) {
  body.ins-v2 .promo-wrapper:has(select option:checked:not([value=""]):not([value="0"])) .col-12.p-3:not(.col-sm-8) > .d-flex.flex-wrap::after,
  body.ins-v2 .promo-wrapper:is(:has(table.list tr), .prod-sel) .col-12.p-3:not(.col-sm-8) > .d-flex.flex-wrap::after { grid-column: 2; grid-row: 1; justify-self: end; margin-left: 0; }
}

/* ══ Pulido del bloque de productos ══ */
/* Decimales claramente más pequeños que el entero (píldora azul, banner y tallas) y el € un poco menor */
html body .prod-price-badge .pp-dec { font-size: .55em; font-weight: 600; top: -.3em; margin-left: 1px; }
html body.ins-v2 .ins-precio__dec { font-size: .55em; font-weight: 600; top: -.45em; }
body.ins-v2 .prod-price-badge, body.ins-v2 .ins-precio__eur { letter-spacing: .01em; }
body.ins-v2 .promo-wrapper .prod-price-badge { display: inline-flex; align-items: center; line-height: 1.2; padding: 4px 13px; }

/* Menos hueco entre el desplegable, la guía de tallas y la lista de tallas */
body.ins-v2 .promo-wrapper .col-12.p-3 .mt-1:has(.prod-tallas-link) { margin-top: 10px !important; }
body.ins-v2 .promo-wrapper .prod-tallas-link { margin-top: 0; }
body.ins-v2 .promo-wrapper .col-12.p-3 .mt-2:has(> table.list) { margin-top: 0 !important; }
body.ins-v2 .promo-wrapper table.list { margin-top: 14px; }

/* Foco del desplegable: un solo anillo suave (antes se veía doble y muy oscuro) */
body.ins-v2 .promo-wrapper select.select_talla:focus { outline: none; border-color: var(--ev-primary) !important; box-shadow: 0 0 0 3px rgba(var(--ev-primary-rgb), .14) !important; }

/* Cantidad: botones más fáciles de pulsar con el dedo */
@media (max-width: 575px) {
  body.ins-v2 .promo-wrapper .qty-btn { width: 40px; height: 38px; font-size: 1.4rem; }
  body.ins-v2 .promo-wrapper .list .list__item .input-number { width: 42px; height: 38px; }
  body.ins-v2 .promo-wrapper .prod-name { font-size: 1.12rem; }
}

/* Marca de elegido pegada a la píldora del precio (en lugar de arrinconada a la derecha) */
body.ins-v2 .promo-wrapper:has(select option:checked:not([value=""]):not([value="0"])) .col-12.p-3 > .d-flex.flex-wrap::after,
body.ins-v2 .promo-wrapper:is(:has(table.list tr), .prod-sel) .col-12.p-3 > .d-flex.flex-wrap::after { margin-left: 2px; }
@media (max-width: 575px) {
  /* Producto sin foto (cuadrícula de icono + nombre): el check va a la derecha del importe, en su misma fila */
  body.ins-v2 .promo-wrapper:has(select option:checked:not([value=""]):not([value="0"])) .col-12.p-3:not(.col-sm-8) > .d-flex.flex-wrap::after,
  body.ins-v2 .promo-wrapper:is(:has(table.list tr), .prod-sel) .col-12.p-3:not(.col-sm-8) > .d-flex.flex-wrap::after { grid-column: 2; grid-row: 2; justify-self: start; margin-left: 96px; }
}

/* ══ Producto de la tienda sin talla («Opciones adicionales»): selector de cantidad − 0 + ══ */
/* La cuadrícula del encabezado (icono + nombre) en móvil no debe aplicarse al selector de cantidad */
@media (max-width: 575px) {
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) > .d-flex:has(> input[type="number"]) { display: inline-flex !important; grid-template-columns: none; }
}
/* Mismo diseño que el selector de las tallas añadidas: píldora con borde del color del evento */
body.ins-v2 .promo-wrapper .col-12.p-3 > .d-flex:has(> input[type="number"]) {
  display: inline-flex !important; width: fit-content; align-items: center; border: 1.5px solid var(--ev-primary); border-radius: 999px; background: #fff; overflow: hidden;
}
body.ins-v2 .promo-wrapper .col-12.p-3 > .d-flex:has(> input[type="number"]) > button {
  width: 42px !important; height: 40px !important; border-radius: 0 !important; background: transparent !important; color: var(--ev-primary) !important; font-size: 1.4rem !important; font-weight: 700; padding: 0;
}
body.ins-v2 .promo-wrapper .col-12.p-3 > .d-flex:has(> input[type="number"]) > button:hover { background: rgba(var(--ev-primary-rgb), .1) !important; }
body.ins-v2 .promo-wrapper .col-12.p-3 > .d-flex:has(> input[type="number"]) > input {
  width: 48px !important; height: 40px !important; border: 0 !important; background: transparent; font-size: 1.05rem !important; font-weight: 800 !important; color: var(--ev-primary); -moz-appearance: textfield;
}
/* «Cantidad»: mismo estilo que el resto de títulos de campo */
body.ins-v2 .promo-wrapper .col-12.p-3 > label[style*="uppercase"] { text-transform: none !important; letter-spacing: .01em !important; font-size: .9rem !important; font-weight: 600 !important; color: #475569 !important; margin: 14px 0 6px !important; }
/* Píldora del precio: el espacio antes del € se perdía con inline-flex */
body.ins-v2 .promo-wrapper .prod-price-badge { display: inline-block; vertical-align: middle; }

/* ══ Móvil: producto sin foto → sin icono; nombre e importe como en los productos con foto ══ */
@media (max-width: 575px) {
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) > .d-flex:not(:has(> input[type="number"])) { display: flex !important; grid-template-columns: none; }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-name { display: block; }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-name::before { display: none !important; }
  body.ins-v2 .promo-wrapper .col-12.p-3:not(.col-sm-8) .prod-price-badge { grid-column: auto; justify-self: auto; }
  /* La marca de elegido vuelve a ir pegada a la píldora (ya no hay cuadrícula) */
  body.ins-v2 .promo-wrapper:has(select option:checked:not([value=""]):not([value="0"])) .col-12.p-3:not(.col-sm-8) > .d-flex.flex-wrap::after,
  body.ins-v2 .promo-wrapper:is(:has(table.list tr), .prod-sel) .col-12.p-3:not(.col-sm-8) > .d-flex.flex-wrap::after { margin-left: 2px; grid-column: auto; grid-row: auto; justify-self: auto; }
}

/* ══ Datos del pedido de la tienda (tienda_datos.php): mismo formato que la inscripción ══
   El selector de documento de la tienda es #rep_tipo_doc (no tipo_doc*), así que se replican aquí sus reglas de ritmo vertical */
html body.ins-v2 .tdatos .row:has(> div > #rep_tipo_doc) { margin-top: 0 !important; }
@media (min-width: 576px) {
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila):has(~ .row:not(.area-representante) > div > #rep_tipo_doc) { margin-bottom: 16px !important; }
}
@media (max-width: 575px) {
  html body.ins-v2 .tdatos .multisteps-form__content > .row:not(.contacto-fila):has(~ .row:not(.area-representante) > div > #rep_tipo_doc) { margin-bottom: 0 !important; }
  html body.ins-v2 .tdatos .row:has(> div > #rep_tipo_doc) label:not([for]) { display: none; }
  html body.ins-v2 .tdatos .multisteps-form__content > .row:has(> div > #rep_tipo_doc) > [class*="col-"]:first-child { margin-bottom: 8px !important; }
}
/* Botón de pago del formulario: píldora con línea superior, como la zona de botones de la inscripción */
body.ins-v2 .ins-botones { margin-top: 36px !important; margin-bottom: 8px !important; padding-top: 26px !important; border-top: 1px solid #e3e8f0; }
body.ins-v2 .ins-botones .tbtn { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; font-size: 1.15rem; font-weight: 700; border-radius: 999px; box-shadow: none; }
@media (max-width: 575px) { body.ins-v2 .ins-botones .tbtn { font-size: 1.08rem; padding: 14px 16px; } }

/* ══ Aviso de WhatsApp más pequeño: icono y texto del mismo tamaño que la casilla de aceptación ══ */
html body.ins-v2 .tdatos .aviso-tel--wa { gap: 12px; padding: 8px 14px; }
body.ins-v2 .tdatos .aviso-tel__wa { width: 22px; height: 22px; }
body.ins-v2 .tdatos .aviso-tel--wa .aviso-tel__texto { font-size: .93rem; line-height: 1.35; }
body.ins-v2 .tdatos .contacto-info .aviso-tel--wa { min-height: 46px; }

/* ══ Lista de espera: la instrucción va en su propia fila bajo el banner (no mezclada con el nombre de la tarifa) ══ */
html body.ins-v2 .ins-tarifa-banner__info {
  padding: .6rem 1rem .75rem; border-top: 1px solid rgba(255,255,255,.22); background: rgba(0,0,0,.14);
  font-size: .9rem; line-height: 1.35; opacity: .95;
}
@media (max-width: 575px) {
  html body.ins-v2 .ins-tarifa-banner__info { font-size: .85rem; padding: .55rem .9rem .65rem; }
}

/* ── Donativo: selector de importe ── */
.ins-don { padding: .5rem 0 2.5rem; }
.ins-don__head { display: flex; gap: .8rem; align-items: center; margin-bottom: 1rem; }
.ins-don__head > .material-icons {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: #fdf2f8; color: #db2777; font-size: 1.6rem;
}
.ins-don__tit { font-size: 1.1rem; font-weight: 800; color: #0b1747; }
.ins-don__sub { font-size: .85rem; color: #6b7280; margin-top: .1rem; }
.ins-don__opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: .7rem; }
.ins-don__opt { position: relative; margin: 0; cursor: pointer; }
.ins-don__opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.ins-don__opt span {
  text-transform: none;   /* los títulos de campo del formulario se pasan a minúsculas (tienda.css): aquí se respeta el texto tal cual */
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 62px; padding: .5rem; border-radius: 14px;
  border: 2px solid #e2e8f0; background: #fff;
  font-size: 1.35rem; font-weight: 800; color: #0b1747;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s, transform .15s;
}
.ins-don__opt--otro span { font-size: .95rem; font-weight: 700; color: #475569; border-style: dashed; }
.ins-don__opt:hover span { border-color: #db2777; transform: translateY(-1px); }
.ins-don__opt input:focus-visible + span { box-shadow: 0 0 0 3px rgba(219, 39, 119, .3); }
.ins-don__opt input:checked + span {
  border-color: #db2777; background: #db2777; color: #fff; border-style: solid;
  box-shadow: 0 6px 16px rgba(219, 39, 119, .28);
}
.ins-don__libre { position: relative; max-width: 320px; margin-top: .9rem; }
.ins-don__libre input { padding-right: 2.4rem; font-size: 1.2rem; font-weight: 700; }
.ins-don__eur { position: absolute; right: 1rem; top: 50%; transform: translateY(-50%); font-weight: 800; color: #64748b; pointer-events: none; }

/* Donativo: aviso sobre la aceptación */
.ins-don-aviso { display: flex; align-items: flex-start; gap: .5rem; background: #fff7ed; border: 1px solid #fdba74; border-radius: 12px; padding: .7rem .9rem; margin-bottom: .9rem; color: #7c2d12; font-size: .9rem; font-weight: 600; line-height: 1.4; }
.ins-don-aviso .material-icons { color: #ea580c; font-size: 1.3rem; flex-shrink: 0; }

/* ── Donativo: causa benéfica ── */
.don-causa { display: flex; gap: .7rem; align-items: flex-start; background: #fdf2f8; border: 1px solid #fbcfe8; border-radius: 12px; padding: .75rem .95rem; margin-bottom: .8rem; color: #831843; font-size: .95rem; line-height: 1.4; }
.don-causa > .material-icons { color: #db2777; font-size: 1.6rem; flex-shrink: 0; }
.don-causa__lbl { font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: #9d174d; font-weight: 700; }
.don-causa strong { color: #831843; font-weight: 800; }
.don-causa__dest { display: block; color: #9d174d; font-size: .88rem; margin-top: .1rem; }
.don-causa__web { text-decoration: none; color: #be185d; vertical-align: middle; }
.don-causa__web .material-icons { font-size: 1rem; }
.don-causa--form { margin-bottom: 1.1rem; }
.don-causa--conf { text-align: left; margin: .8rem 0 0; }

/* Importe libre del donativo: sin flechas del navegador y enfoque en el rosa del donativo */
.ins-don__libre input[type=number] { -moz-appearance: textfield; appearance: textfield; }
.ins-don__libre input[type=number]::-webkit-outer-spin-button,
.ins-don__libre input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.ins-don__libre input:focus { border-color: #db2777 !important; box-shadow: 0 0 0 3px rgba(219, 39, 119, .2) !important; outline: 0; }

/* Nota dentro del bloque de la causa (aviso: no da derecho a participar) */
.don-causa__nota { display: flex; align-items: center; gap: .35rem; margin-top: .45rem; padding-top: .45rem; border-top: 1px solid #fbcfe8; font-size: .82rem; color: #7c2d12; }
.don-causa__nota .material-icons { color: #ea580c; font-size: 1rem; }

/* ── Relleno automático del navegador: Chrome pone background-image: none !important en los campos autorrellenados y se
   pierde el icono (que aquí es un fondo). Se redibuja con un pseudo-elemento sobre el contenedor, solo en ese estado.
   Cubre todos los campos con icono: los de input-group (email, teléfono, emergencia, idioma) y los que cuelgan directamente de una columna. ── */
body.ins-v2 .tdatos .input-group:has(:is(#email, #email2, #tel_numero, #emergencia, #idioma):-webkit-autofill)::before,
body.ins-v2 .tdatos [class*="col-"]:has(> :is(
  input[id^="nombre"], #rep_nombre, #empresa, #empresa_cif, select[id^="sexo"], select[id^="tipo_doc"], #rep_tipo_doc, select[id^="dia"],
  select[id^="pais"], select[id^="provincia"], :is(input,select)[id^="municipio"], :is(input,select)[id^="poblacion"],
  #empresa_pais, #empresa_provincia, #empresa_poblacion, select[id^="pertenece_club"], :is(input,select)[id^="equipo"], :is(input,select)[id^="licencia"]
):-webkit-autofill)::before {
  content: ""; position: absolute; left: var(--f-left, 0); width: 40px; height: 46px; z-index: 4; pointer-events: none;
  background: var(--f-ico-a) no-repeat 11px center / 18px 18px, #f1f5f9;
  border: 1px solid #c9d3e3; border-radius: 6px 0 0 6px;
}
body.ins-v2 .tdatos .input-group:has(:is(#email, #email2, #tel_numero, #emergencia, #idioma):-webkit-autofill)::before { top: 0; }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(input,select):-webkit-autofill) { position: relative; --f-left: 15px; }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(input,select):-webkit-autofill)::before { bottom: 0; }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(input[id^="nombre"], #rep_nombre):-webkit-autofill)::before { --f-ico-a: var(--ico-person); }
body.ins-v2 .tdatos [class*="col-"]:has(> #empresa:-webkit-autofill)::before { --f-ico-a: var(--ico-company); }
body.ins-v2 .tdatos [class*="col-"]:has(> #empresa_cif:-webkit-autofill)::before { --f-ico-a: var(--ico-cif); }
body.ins-v2 .tdatos [class*="col-"]:has(> select[id^="sexo"]:-webkit-autofill)::before { --f-ico-a: var(--ico-wc); }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(select[id^="tipo_doc"], #rep_tipo_doc):-webkit-autofill)::before { --f-ico-a: var(--ico-badge); }
body.ins-v2 .tdatos [class*="col-"]:has(> select[id^="dia"]:-webkit-autofill)::before { --f-ico-a: var(--ico-cal); }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(select[id^="pais"], #empresa_pais):-webkit-autofill)::before { --f-ico-a: var(--ico-public); }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(select[id^="provincia"], #empresa_provincia):-webkit-autofill)::before { --f-ico-a: var(--ico-map); }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(:is(input,select)[id^="municipio"], :is(input,select)[id^="poblacion"], #empresa_poblacion):-webkit-autofill)::before { --f-ico-a: var(--ico-city); }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(select[id^="pertenece_club"], :is(input,select)[id^="equipo"]):-webkit-autofill)::before { --f-ico-a: var(--ico-group); }
body.ins-v2 .tdatos [class*="col-"]:has(> :is(input,select)[id^="licencia"]:-webkit-autofill)::before { --f-ico-a: var(--ico-card); }
body.ins-v2 .tdatos .input-group:has(:is(#email, #email2):-webkit-autofill)::before { --f-ico-a: var(--ico-mail); }
body.ins-v2 .tdatos .input-group:has(#tel_numero:-webkit-autofill)::before { --f-ico-a: var(--ico-phone); }
body.ins-v2 .tdatos .input-group:has(#emergencia:-webkit-autofill)::before { --f-ico-a: var(--ico-health); }
body.ins-v2 .tdatos .input-group:has(#idioma:-webkit-autofill)::before { --f-ico-a: var(--ico-translate); }
