/*
 * Estilos de la compra.
 *
 * Los colores y las letras salen de los globales de Elementor del sitio (--e-global-*), así en
 * grupootec.cl se ve con su marca y, si la cambian desde Elementor, la compra cambia sola. Los valores
 * de respaldo son los de grupootec.cl vistos el 18-oct-2026 (kit 134).
 *
 * Elementor les da estilo a todos los button y h2 del sitio. Las reglas de acá van con .otec delante
 * para ganarles en especificidad dentro de la compra.
 */
.otec {
  --otec-primario: var(--e-global-color-primary, #86BB61);
  --otec-secundario: var(--e-global-color-secondary, #EF8E01);
  --otec-texto: var(--e-global-color-text, #1C1A41);
  --otec-titulos: var(--e-global-typography-primary-font-family, "Outfit"), sans-serif;
  --otec-letra: var(--e-global-typography-text-font-family, "Heebo"), sans-serif;
  --otec-gris: #5F6675;
  --otec-borde: #E1E6EF;
  --otec-fondo: #F6F8FC;
  --otec-fondo-2: #EEF2FA;
  --otec-ok: #3D7A1F;
  --otec-ok-fondo: #EEF6E8;
  --otec-aviso-fondo: #FFF4E0;
  --otec-error: #B42318;
  --otec-error-fondo: #FDECEA;
  --otec-radio: 12px;
  max-width: 960px;
  font-family: var(--otec-letra);
  color: var(--otec-texto);
  line-height: 1.5;
}
.otec *, .otec *::before, .otec *::after { box-sizing: border-box; }
.otec h2 { font-family: var(--otec-titulos); font-size: 1.75rem; line-height: 1.25; font-weight: 600; color: var(--otec-texto); margin: 0 0 .8em; letter-spacing: 0; }
.otec a:not(.otec-boton):not(.otec-carrito-flotante) { color: var(--otec-texto); text-decoration: underline; text-decoration-color: var(--otec-primario); text-underline-offset: 3px; }
.otec a:not(.otec-boton):not(.otec-carrito-flotante):hover { color: var(--otec-secundario); }
.otec-nota { color: var(--otec-gris); font-size: .92em; }

/* Botones, iguales a los del sitio: verde, naranjo al pasar el mouse, letra Outfit en mayúsculas */
.otec .otec-boton {
  display: inline-block; background: var(--otec-primario); color: #fff; border: 0; border-radius: 8px;
  padding: 16px 28px; font-family: var(--otec-titulos); font-size: 15px; font-weight: 500; line-height: 1;
  text-transform: uppercase; letter-spacing: .15px; text-decoration: none; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.otec .otec-boton:hover, .otec .otec-boton:focus-visible { background: var(--otec-secundario); color: #fff; }
.otec .otec-boton:disabled { opacity: .6; cursor: wait; }
.otec .otec-boton.otec-boton-sec { background: #fff; color: var(--otec-texto); border: 1.5px solid var(--otec-primario); padding: 12px 20px; font-size: 13px; }
.otec .otec-boton.otec-boton-sec:hover, .otec .otec-boton.otec-boton-sec:focus-visible { background: var(--otec-primario); color: #fff; }
.otec button.otec-link, .otec button.otec-link:hover, .otec button.otec-link:focus {
  background: none; border: 0; border-radius: 0; padding: 0; color: var(--otec-error); text-decoration: underline;
  text-transform: none; letter-spacing: 0; font-family: var(--otec-letra); font-size: .92em; font-weight: 400; line-height: 1.5; cursor: pointer;
}

/*
 * Campos. El kit de grupootec.cl pone las etiquetas en mayúsculas y les da a los campos un borde casi
 * invisible con ".elementor-kit-134 input:not(...):not(...)" (0,3,1). Estos selectores le ganan.
 */
.otec .otec-campo, .otec .otec-opcion, .otec .otec-cupon label {
  color: var(--otec-texto); font-family: var(--otec-letra); font-size: 1rem; font-weight: 400;
  line-height: 1.5; text-transform: none; letter-spacing: 0;
}
.otec input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]) {
  width: 100%; border: 1px solid #CBD3E1; border-radius: 8px; padding: 10px 12px; background: #fff;
  color: var(--otec-texto); font-family: var(--otec-letra); font-size: 1rem; font-weight: 400; line-height: 1.4; letter-spacing: 0;
}
.otec input:not([type="radio"]):not([type="checkbox"]):not([type="hidden"]):focus { outline: none; border-color: var(--otec-primario); box-shadow: 0 0 0 3px color-mix(in srgb, var(--otec-primario) 25%, transparent); }
.otec input[type="radio"] { accent-color: var(--otec-primario); width: 1.1em; height: 1.1em; vertical-align: -2px; margin-right: .3em; }

/* Pasos: 1 Carrito, 2 Datos, 3 Pago */
.otec-pasos { display: flex; gap: .5em; list-style: none; margin: 0 0 1.5em; padding: 0; counter-reset: paso; }
.otec-pasos li { flex: 1; display: flex; align-items: center; gap: .6em; padding-bottom: .7em; border-bottom: 3px solid var(--otec-borde); color: var(--otec-gris); font-family: var(--otec-titulos); font-weight: 500; counter-increment: paso; }
.otec-pasos li::before { content: counter(paso); display: inline-flex; align-items: center; justify-content: center; width: 1.9em; height: 1.9em; border-radius: 50%; background: var(--otec-fondo-2); color: var(--otec-gris); font-weight: 600; flex-shrink: 0; }
.otec-pasos .otec-paso-hecho { border-color: var(--otec-primario); color: var(--otec-texto); }
.otec-pasos .otec-paso-hecho::before { content: "✓"; background: var(--otec-primario); color: #fff; }
.otec-pasos .otec-paso-actual { border-color: var(--otec-secundario); color: var(--otec-texto); }
.otec-pasos .otec-paso-actual::before { background: var(--otec-secundario); color: #fff; }

/* Mensajes */
.otec-msj { border-radius: 8px; padding: .9em 1.1em; margin: 0 0 1.2em; border-left: 4px solid; background: var(--otec-fondo); }
.otec-msj-ok { border-color: var(--otec-primario); background: var(--otec-ok-fondo); }
.otec-msj-aviso { border-color: var(--otec-secundario); background: var(--otec-aviso-fondo); }
.otec-msj-error { border-color: var(--otec-error); background: var(--otec-error-fondo); }

/* Catálogo */
.otec.otec-tienda { max-width: 1200px; }
.otec-buscador { margin: 0 0 1em; }
.otec .otec-buscador input { width: 100%; max-width: 32em; padding: 11px 16px; border: 1.5px solid var(--otec-borde); border-radius: 99px; font-size: 15px; background: #fff; }
.otec .otec-buscador input:focus { outline: none; border-color: var(--otec-primario); }
.otec .otec-buscador[hidden], .otec .otec-sin-resultados[hidden] { display: none; }
.otec-sin-resultados { color: var(--otec-gris); margin: 1em 0; }
.otec-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.otec-filtro { display: flex; flex-wrap: wrap; gap: .5em; margin: 0 0 1.4em; }
.otec .otec-filtro button, .otec .otec-filtro button:focus {
  background: #fff; color: var(--otec-texto); border: 1.5px solid var(--otec-borde); border-radius: 99px;
  padding: 9px 20px; font-family: var(--otec-titulos); font-size: 14px; font-weight: 500; line-height: 1;
  text-transform: none; letter-spacing: 0; cursor: pointer; transition: border-color .15s ease, background-color .15s ease;
}
.otec .otec-filtro button:hover { background: #fff; color: var(--otec-texto); border-color: var(--otec-primario); }
/* El activo repite :focus y :hover porque el tema le pone fondo blanco al botón con foco, y el
   recién presionado quedaba blanco sobre blanco. */
.otec .otec-filtro button.otec-filtro-activo,
.otec .otec-filtro button.otec-filtro-activo:focus,
.otec .otec-filtro button.otec-filtro-activo:hover { background: var(--otec-primario); border-color: var(--otec-primario); color: #fff; }
.otec-catalogo { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.4em; }
.otec-tarjeta { background: #fff; border: 1px solid var(--otec-borde); border-radius: var(--otec-radio); overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(28, 26, 65, .04); transition: box-shadow .15s ease, transform .15s ease; }
.otec .otec-tarjeta[hidden] { display: none; }
.otec-tarjeta:hover { box-shadow: 0 10px 28px rgba(28, 26, 65, .12); transform: translateY(-3px); }
.otec .otec-tarjeta-img { display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 0; margin: 0; }
.otec-tarjeta-portada {
  aspect-ratio: 1 / 1; display: flex; flex-direction: column; justify-content: flex-end; gap: .7em; padding: 1.4em;
  background: linear-gradient(160deg, color-mix(in srgb, var(--otec-texto) 80%, #4B3F8C) 0%, var(--otec-texto) 70%);
  color: #fff;
}
.otec-tarjeta-portada span { align-self: flex-start; background: var(--otec-secundario); color: #fff; font-family: var(--otec-titulos); font-weight: 600; font-size: .78em; letter-spacing: .5px; text-transform: uppercase; padding: .25em .7em; border-radius: 4px; }
.otec-tarjeta-portada strong { font-family: var(--otec-titulos); font-weight: 600; font-size: 1.25em; line-height: 1.25; text-transform: uppercase; }
.otec-tarjeta-cuerpo { flex: 1; padding: 1.1em 1.2em .4em; }
.otec-tarjeta-empresa { display: inline-block; font-size: .75em; font-weight: 600; letter-spacing: .3px; text-transform: uppercase; color: var(--otec-ok); background: var(--otec-ok-fondo); border-radius: 99px; padding: .2em .7em; margin-bottom: .6em; }
.otec .otec-tarjeta-nombre { font-family: var(--otec-titulos); font-weight: 600; font-size: 1.02rem; line-height: 1.35; color: var(--otec-texto); margin: 0 0 .5em; letter-spacing: 0; }
.otec a.otec-tarjeta-detalle { font-size: .9em; }
.otec-tarjeta-pie { display: flex; align-items: center; justify-content: space-between; gap: .6em; flex-wrap: wrap; border-top: 1px solid var(--otec-borde); margin: .6em 1.2em 0; padding: 1em 0 1.2em; }
.otec-precio { font-family: var(--otec-titulos); font-weight: 600; font-size: 1.2em; }
.otec-precio small { display: block; font-family: var(--otec-letra); font-weight: 400; font-size: .68em; color: var(--otec-gris); }
.otec .otec-tarjeta .otec-boton { padding: 12px 20px; font-size: 13px; }

/* Botón de carrito siempre visible en el catálogo */
.otec .otec-carrito-flotante {
  position: fixed; right: 24px; bottom: 24px; z-index: 9990; display: inline-flex; align-items: center; gap: .6em;
  background: var(--otec-texto); color: #fff; border-radius: 99px; padding: 14px 22px; box-shadow: 0 10px 30px rgba(28, 26, 65, .30);
  font-family: var(--otec-titulos); font-weight: 500; font-size: 15px; text-decoration: none;
}
.otec .otec-carrito-flotante:hover { background: var(--otec-secundario); color: #fff; }
.otec-carrito-n { display: inline-flex; align-items: center; justify-content: center; min-width: 1.6em; height: 1.6em; padding: 0 .4em; border-radius: 99px; background: var(--otec-secundario); color: #fff; font-weight: 600; font-size: .9em; }
.otec .otec-carrito-flotante:hover .otec-carrito-n { background: #fff; color: var(--otec-secundario); }

/* Carrito */
.otec-grupo { background: #fff; border: 1px solid var(--otec-borde); border-radius: var(--otec-radio); margin-bottom: 1.2em; overflow: hidden; }
.otec-grupo-titulo { background: var(--otec-fondo); padding: .8em 1.1em; font-family: var(--otec-titulos); font-weight: 600; border-bottom: 1px solid var(--otec-borde); }
.otec-tabla { width: 100%; border-collapse: collapse; margin: 0; border: 0; }
/* El tema Hello Elementor pinta las filas impares con "table tbody>tr:nth-child(odd)>td" (0,1,3) */
.otec .otec-tabla th, .otec .otec-tabla td { padding: .8em 1.1em; border: 0; border-top: 1px solid var(--otec-borde); text-align: left; vertical-align: middle; background: none; line-height: 1.5; }
.otec .otec-tabla thead th { border-top: 0; font-size: .78em; font-weight: 600; text-transform: uppercase; letter-spacing: .4px; color: var(--otec-gris); }
.otec .otec-cantidad { width: 5.5em; }
.otec-grupo-totales { padding: .8em 1.1em; text-align: right; border-top: 1px solid var(--otec-borde); background: var(--otec-fondo); }
.otec-grupo-totales strong { font-family: var(--otec-titulos); font-size: 1.05em; }
.otec-acciones-fila { display: flex; gap: 1em; align-items: center; flex-wrap: wrap; margin-bottom: 1.2em; }
.otec-cupon { display: flex; gap: .6em; align-items: center; flex-wrap: wrap; margin: 1.2em 0; padding: 1em 1.1em; border: 1px dashed #CBD3E1; border-radius: var(--otec-radio); }
.otec .otec-cupon input { max-width: 13em; }
.otec-total { font-family: var(--otec-titulos); font-size: 1.35em; text-align: right; margin: 1.2em 0; }
.otec-total small { font-family: var(--otec-letra); font-size: .6em; color: var(--otec-gris); }
.otec-acciones { display: flex; justify-content: space-between; align-items: center; gap: 1em; flex-wrap: wrap; }

/* Datos de la compra */
.otec-datos fieldset { background: #fff; border: 1px solid var(--otec-borde); border-radius: var(--otec-radio); padding: 1.2em 1.3em .6em; margin: 0 0 1.2em; }
.otec-datos legend { font-family: var(--otec-titulos); font-weight: 600; font-size: 1.1em; padding: 0 .4em; }
.otec-campo { display: block; margin: 0 0 1em; }
.otec-campo span { display: block; font-size: .9em; font-weight: 500; margin-bottom: .3em; }
.otec .otec-campo input { max-width: 30em; }
.otec .otec-con-error input:not([type="radio"]):not([type="checkbox"]) { border-color: var(--otec-error); }
.otec .otec-error { color: var(--otec-error); font-size: .86em; display: block; margin-top: .3em; text-transform: none; letter-spacing: 0; }
.otec input.otec-rut-ok:not([type="radio"]):not([type="checkbox"]) { border-color: var(--otec-primario); }
.otec-opcion { display: inline-flex; align-items: center; margin: 0 1.5em .9em 0; cursor: pointer; }
.otec-participante { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2em; border-top: 1px solid var(--otec-borde); padding-top: 1em; margin-top: .6em; }
.otec-participante-n { grid-column: 1 / -1; font-family: var(--otec-titulos); font-weight: 600; margin-bottom: .6em; color: var(--otec-ok); }

/* Pago de la compra */
.otec-pedido { background: #fff; border: 1px solid var(--otec-borde); border-radius: var(--otec-radio); padding: 1.2em 1.3em; margin-bottom: 1.2em; }
.otec-pedido ul { margin: .6em 0; padding-left: 1.2em; }
.otec-pedido-cab { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; flex-wrap: wrap; font-family: var(--otec-titulos); font-weight: 600; }
.otec-estado { font-family: var(--otec-letra); font-size: .85em; font-weight: 600; padding: .25em .8em; border-radius: 99px; background: var(--otec-fondo-2); color: var(--otec-gris); white-space: nowrap; }
.otec-pedido-pagado { border-color: var(--otec-primario); box-shadow: inset 4px 0 0 var(--otec-primario); }
.otec-pedido-pagado .otec-estado { background: var(--otec-ok-fondo); color: var(--otec-ok); }
.otec-pedido-pendiente .otec-estado { background: var(--otec-aviso-fondo); color: #9A5B00; }
.otec-pedido-rechazado .otec-estado, .otec-pedido-anulado .otec-estado { background: var(--otec-error-fondo); color: var(--otec-error); }
.otec-pedido-total { text-align: right; margin: .6em 0 .9em; }
.otec-pedido-total strong { font-family: var(--otec-titulos); font-size: 1.15em; }

/* Link de compra para el equipo */
.otec-link-equipo { margin-top: 1.6em; padding: 1em 1.2em; border: 1px dashed var(--otec-borde); border-radius: var(--otec-radio); background: var(--otec-fondo-2); }
.otec-link-equipo .otec-nota { margin: .3em 0 .7em; }
.otec-link-equipo-fila { display: flex; gap: .6em; }
.otec-link-equipo-fila input { flex: 1; min-width: 0; font-size: .9em; }

/* Mi cuenta: acceso y Mis cursos */
.otec-cuenta-cajas { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4em; align-items: start; }
.otec-cuenta-caja { background: #fff; border: 1px solid var(--otec-borde); border-radius: var(--otec-radio); padding: 1.3em 1.4em .4em; }
.otec .otec-cuenta-caja h3 { font-family: var(--otec-titulos); font-weight: 600; font-size: 1.2rem; color: var(--otec-texto); margin: 0 0 .7em; letter-spacing: 0; }
.otec .otec-cuenta-caja input:not([type="checkbox"]):not([type="hidden"]) { width: 100%; max-width: none; }
.otec input[type="checkbox"] { accent-color: var(--otec-primario); width: 1.05em; height: 1.05em; margin-right: .45em; }
.otec-cuenta-cab { display: flex; justify-content: space-between; align-items: baseline; gap: .5em 1.5em; flex-wrap: wrap; margin-bottom: 1.2em; }
.otec .otec-cuenta-cab h2 { margin: 0; }
.otec-mis-cursos { list-style: none; padding: 0; margin: .8em 0; }
.otec-mis-cursos li { padding: .45em 0; border-top: 1px solid var(--otec-borde); }
.otec-mis-cursos li:first-child { border-top: 0; }
.otec-mis-cursos .otec-nota { display: block; }
.otec-pedido-pie { display: flex; justify-content: space-between; align-items: center; gap: .8em; flex-wrap: wrap; border-top: 1px solid var(--otec-borde); padding-top: .9em; }
.otec-pedido-acciones { display: inline-flex; align-items: center; gap: .6em; flex-wrap: wrap; }

/* Mi cuenta con sesión: menú lateral y contenido */
.otec.otec-cuenta { max-width: 1100px; }
.otec-cuenta-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2em; align-items: start; }
.otec-cuenta-nav { background: #fff; border: 1px solid var(--otec-borde); border-radius: var(--otec-radio); padding: 1em; position: sticky; top: 1em; }
.otec-cuenta-perfil { display: flex; align-items: center; gap: .7em; padding: .2em .3em 1em; border-bottom: 1px solid var(--otec-borde); margin-bottom: .6em; min-width: 0; }
.otec-cuenta-perfil > span:last-child { min-width: 0; }
.otec-cuenta-perfil strong { display: block; font-family: var(--otec-titulos); font-weight: 600; line-height: 1.25; }
.otec-cuenta-perfil small { display: block; color: var(--otec-gris); font-size: .82em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.otec-avatar { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; background: var(--otec-primario); color: #fff; font-family: var(--otec-titulos); font-weight: 600; font-size: 1.05em; }
.otec-cuenta-nav ul { list-style: none; margin: 0; padding: 0; }
.otec .otec-cuenta-nav a:not(.otec-boton) { display: block; padding: .6em .8em; border-radius: 8px; color: var(--otec-texto); text-decoration: none; font-weight: 500; }
.otec .otec-cuenta-nav a:not(.otec-boton):hover { background: var(--otec-fondo); color: var(--otec-texto); }
.otec .otec-cuenta-nav a.otec-activo { background: var(--otec-ok-fondo); color: var(--otec-ok); box-shadow: inset 3px 0 0 var(--otec-primario); }
.otec .otec-cuenta-nav a.otec-salir { color: var(--otec-error); border-top: 1px solid var(--otec-borde); border-radius: 0; margin-top: .4em; padding-top: .8em; }
.otec-cuenta-contenido { min-width: 0; }
.otec .otec-cuenta-contenido h3 { font-family: var(--otec-titulos); font-weight: 600; font-size: 1.2rem; color: var(--otec-texto); margin: 1.4em 0 .7em; letter-spacing: 0; }
.otec-cuenta-form { max-width: 560px; }
.otec.otec-cuenta .otec-cuenta-form input[disabled]:not([type="radio"]):not([type="checkbox"]) { background: var(--otec-fondo); color: var(--otec-gris); cursor: not-allowed; }

/* Inicio: resumen */
.otec-resumen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1em; margin: 1.2em 0; }
.otec .otec-resumen-item { display: flex; flex-direction: column; gap: .2em; background: #fff; border: 1px solid var(--otec-borde); border-radius: var(--otec-radio); padding: 1em 1.1em; text-decoration: none; color: var(--otec-texto); transition: border-color .15s ease, box-shadow .15s ease; }
.otec.otec-cuenta a.otec-resumen-item:not(.otec-boton), .otec.otec-cuenta a.otec-resumen-item:not(.otec-boton):hover { text-decoration: none; }
.otec .otec-resumen-item:hover { border-color: var(--otec-primario); box-shadow: 0 6px 18px rgba(28, 26, 65, .08); color: var(--otec-texto); }
.otec-resumen-item strong { font-family: var(--otec-titulos); font-size: 1.9em; font-weight: 600; line-height: 1; }
.otec-resumen-item span { color: var(--otec-gris); font-size: .9em; }
.otec-resumen-item small { color: var(--otec-primario); font-size: .78em; margin-top: .3em; }
.otec-invitar { border-top: 1px dashed var(--otec-borde); margin-top: .9em; padding-top: .7em; }
.otec-invitar summary { cursor: pointer; font-weight: 600; color: var(--otec-primario); }
.otec-invitar[open] summary { margin-bottom: .5em; }
.otec-invitar form { margin: .6em 0 0; }
.otec-invitar-enlace { display: flex; gap: .5em; flex-wrap: wrap; }
.otec-invitar-enlace input { flex: 1 1 260px; min-width: 0; font-size: .85em; }
.otec-correos { border-top: 1px solid var(--otec-borde); margin-top: 1em !important; padding-top: .8em; }
.otec-correos .otec-campo { margin-bottom: .5em; }
.otec-crear-cuenta .otec-boton { margin-left: .4em; }
.otec-vacio { background: var(--otec-fondo); border: 1px dashed var(--otec-borde); border-radius: var(--otec-radio); padding: 1.4em; text-align: center; margin: 1em 0; }

/* Mis cursos: tarjetas */
.otec-mis-cursos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.2em; margin: 1em 0; }
.otec-curso-mio { background: #fff; border: 1px solid var(--otec-borde); border-radius: var(--otec-radio); overflow: hidden; display: flex; flex-direction: column; }
.otec .otec-curso-mio-img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; margin: 0; border-radius: 0; }
.otec-curso-mio-portada { display: flex; align-items: center; justify-content: center; background: var(--otec-texto); color: #fff; font-family: var(--otec-titulos); font-weight: 600; font-size: 1.3em; letter-spacing: 1px; }
.otec .otec-curso-mio-img.otec-curso-mio-portada { display: flex; padding: 1em; text-align: center; }
.otec-curso-mio-cuerpo { padding: 1em 1.1em 1.1em; display: flex; flex-direction: column; gap: .35em; }
.otec .otec-curso-mio-cuerpo h4 { font-family: var(--otec-titulos); font-weight: 600; font-size: 1rem; line-height: 1.35; color: var(--otec-texto); margin: .2em 0; letter-spacing: 0; }
.otec-curso-mio-cuerpo p { margin: 0; }
.otec-curso-mio-cuerpo .otec-estado { align-self: flex-start; }
.otec .otec-estado-ok { background: var(--otec-ok-fondo); color: var(--otec-ok); }

@media (max-width: 640px) {
  .otec h2 { font-size: 1.45rem; }
  .otec-pedido-pie .otec-boton { flex: 1; text-align: center; }
  .otec-pedido-acciones { width: 100%; }
  .otec-cuenta-layout { grid-template-columns: 1fr; gap: 1.2em; }
  .otec-cuenta-nav { position: static; padding: .8em; }
  .otec-cuenta-nav ul { display: flex; gap: .3em; overflow-x: auto; -webkit-overflow-scrolling: touch; padding-bottom: .2em; }
  .otec .otec-cuenta-nav a:not(.otec-boton) { white-space: nowrap; padding: .5em .8em; }
  .otec .otec-cuenta-nav a.otec-activo { box-shadow: inset 0 -3px 0 var(--otec-primario); }
  .otec .otec-cuenta-nav a.otec-salir { border-top: 0; margin-top: 0; padding-top: .5em; }
  .otec-resumen { grid-template-columns: repeat(2, 1fr); }
  .otec-link-equipo-fila { flex-direction: column; }
  .otec .otec-carrito-flotante { right: 16px; bottom: 16px; left: 16px; justify-content: center; }
  .otec.otec-tienda { padding-bottom: 80px; }
  .otec-pasos li { font-size: .82em; flex-direction: column; text-align: center; gap: .35em; }
  .otec-participante { grid-template-columns: 1fr; }
  .otec .otec-tabla thead { display: none; }
  .otec .otec-tabla tr { display: block; border-top: 1px solid var(--otec-borde); padding: .5em 0; }
  .otec .otec-tabla tr:first-child { border-top: 0; }
  .otec .otec-tabla td { display: flex; justify-content: space-between; align-items: center; gap: 1em; border: 0; padding: .35em 1.1em; }
  .otec .otec-tabla td[data-t]::before { content: attr(data-t); color: var(--otec-gris); flex-shrink: 0; }
  .otec .otec-tabla td[data-t="Curso"] { text-align: right; font-weight: 500; }
  .otec .otec-tabla .otec-cantidad { max-width: 6em; }
  .otec-acciones { flex-direction: column-reverse; align-items: stretch; text-align: center; }
  .otec-acciones .otec-boton, .otec-pedido form .otec-boton { width: 100%; text-align: center; }
}
