/**
 * ocloc-wizard.css — Estilos del wizard de reservas OCLOC
 * --------------------------------------------------------
 * Mobile-first. Prefijo .ocloc-wiz- en todas las clases.
 * Variables CSS con defaults neutros (el tenant puede sobrescribir).
 * Sin frameworks. Focus visible para a11y básica.
 * Botones grandes (touch-friendly: mín 44px).
 *
 * @since 2026-06-13 (oEngine Wizard S5 — widget JS)
 */

/* ─────────────────────────────────────────────────────────────────────────────
   VARIABLES CSS (override en :root del tema)
───────────────────────────────────────────────────────────────────────────── */

/* Tokens igualados a LatePoint (front.css + customizer del salón):
   --latepoint-brand-primary=#326FB4, texto #1f222b, slate #7c85a3, borde #e5e7ee,
   superficies blancas, radio 8px, Open Sans. [reskin LP 2026-06-13] */
:root {
    --ocloc-primary:        #326fb4;   /* LP brand primary: CTA, activo, seleccionado */
    --ocloc-primary-light:  #2c63a1;   /* hover (≈ darker 10%) */
    --ocloc-accent:         #326fb4;   /* precios / énfasis = primario LP */
    --ocloc-accent-light:   #e7f0f9;   /* fondo suave del primario (highlight, slots) */
    --ocloc-green:          #2e7d32;
    --ocloc-green-light:    #e8f5e9;
    --ocloc-blue:           #326fb4;   /* slot aleatoria = primario LP */
    --ocloc-blue-light:     #e7f0f9;
    --ocloc-error:          #c62828;
    --ocloc-error-light:    #ffebee;
    --ocloc-warning:        #e65100;
    --ocloc-warning-light:  #fff3e0;
    --ocloc-surface:        #ffffff;
    --ocloc-surface-alt:    #f6f7fb;   /* gris muy claro LP */
    --ocloc-border:         #e5e7ee;   /* borde tarjetas/inputs LP */
    --ocloc-text:           #1f222b;   /* texto/nombres LP (.os-item-name) */
    --ocloc-text-muted:     #5b6480;   /* slate — contraste AA ≈4.6:1 sobre blanco (antes #7c85a3 ≈3.5 fallaba) [a11y 2026-06-21] */
    --ocloc-radius:         8px;
    --ocloc-radius-sm:      6px;
    --ocloc-shadow:         0 10px 40px rgba(31,34,43,0.08);  /* sombra del card LP */
    --ocloc-font:           "Open Sans", system-ui, -apple-system, sans-serif;
    --ocloc-transition:     0.2s ease;
    --ocloc-touch-min:      44px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   CONTENEDOR RAÍZ
───────────────────────────────────────────────────────────────────────────── */

#ocloc-booking-root {
    font-family: var(--ocloc-font);
    color: var(--ocloc-text);
    max-width: 1200px;          /* 270 side + ~630 form + 300 summary (Stage B: 3ª columna) */
    margin: 0 auto;
    padding: 16px;
    box-sizing: border-box;
    /* El wizard responde a SU PROPIO ancho, no al del viewport: embebido en ocloc.link vive en una
       columna ~768px, así que el layout de columnas (abajo, @container) se decide por el ancho del
       contenedor. Sin esto, una pantalla ancha activaba el layout de 3 columnas (270+300 laterales
       fijos) y aplastaba la columna central. El toast va a document.body y el honeypot es off-screen,
       así que `contain:layout` (implícito en container-type) no afecta a ningún fixed/absolute. */
    container-type: inline-size;
    container-name: oclocwiz;
}

/* ── Shell LP: card de 2 columnas (side-panel + form) ─────────────────────── */
.ocloc-wiz-w {
    display: flex;
    background: var(--ocloc-surface);
    border: 1px solid var(--ocloc-border);
    border-radius: var(--ocloc-radius);
    box-shadow: var(--ocloc-shadow);
    overflow: hidden;
}
.ocloc-wiz-side-panel {
    flex: 0 0 270px;
    width: 270px;
    box-sizing: border-box;
    background: var(--ocloc-surface-alt);
    border-right: 1px solid var(--ocloc-border);
    padding: 40px 28px;        /* la ilustración+texto van ARRIBA del lateral (como LP) */
}
.ocloc-wiz-form-w {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
}
.ocloc-wiz-form-content { padding: 32px 32px 8px; }
/* Stage A: footer de navegación fijo (Volver izda, Continuar dcha). */
.ocloc-wiz-footer {
    padding: 12px 32px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    min-height: 1px;
}

/* ── Stage B: 3ª columna "Resumen" (carrito persistente, paridad LP
   .latepoint-summary-w → .os-summary-contents). Clona el patrón del side-panel
   pero con border-left y crece con el card. ──────────────────────────────── */
.ocloc-wiz-summary {
    flex: 0 0 300px;
    width: 300px;
    box-sizing: border-box;
    background: var(--ocloc-surface-alt);
    border-left: 1px solid var(--ocloc-border);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
/* Cabecera "Resumen": en móvil se convierte en botón toggle del acordeón. */
.ocloc-wiz-summary-header {
    font-size: 18px;
    font-weight: 600;          /* igual peso/tamaño que .ocloc-wiz-step-title */
    color: var(--ocloc-text);
    margin: 0 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}
/* Cuando la cabecera es un <button> (acordeón móvil): reset de estilos de botón. */
button.ocloc-wiz-summary-header {
    width: 100%;
    background: transparent;
    border: none;
    padding: 4px 0;
    min-height: var(--ocloc-touch-min);
    font-family: var(--ocloc-font);
    cursor: pointer;
    text-align: left;
}
button.ocloc-wiz-summary-header:focus-visible {
    outline: 3px solid var(--ocloc-accent);
    outline-offset: 2px;
}
.ocloc-wiz-summary-toggle-icon {
    flex: 0 0 auto;
    width: 18px; height: 18px;
    color: var(--ocloc-text-muted);
    transition: transform var(--ocloc-transition);
}
.ocloc-wiz-summary-toggle-icon svg { width: 18px; height: 18px; display: block; }
.ocloc-wiz-summary.is-collapsed .ocloc-wiz-summary-toggle-icon { transform: rotate(-90deg); }
/* Teaser de cabecera (servicio +X + foto especialista). Oculto salvo en modo colapsable
   estrecho; ahí se ve al COLAPSAR y se desvanece al DESPLEGAR (queda solo "Resumen"). [2026-06-21] */
.ocloc-wiz-summary-teaser { display: none; }
.ocloc-wiz-summary-teaser-svc { font-size: 12px; font-weight: 500; color: var(--ocloc-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 120px; min-width: 0; }
.ocloc-wiz-summary-teaser-more { flex: 0 0 auto; font-size: 11px; font-weight: 600; color: var(--ocloc-primary); background: var(--ocloc-accent-light); border-radius: 999px; padding: 1px 7px; font-variant-numeric: tabular-nums; }
.ocloc-wiz-summary-teaser-av { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: var(--ocloc-accent-light); color: var(--ocloc-primary); font-size: 10px; font-weight: 700; }
@container oclocwiz (max-width: 639px) {
    .ocloc-wiz-summary-teaser { display: inline-flex; align-items: center; gap: 7px; margin-left: auto; min-width: 0; overflow: hidden; opacity: 1; transition: opacity .25s ease; }
    .ocloc-wiz-summary:not(.is-collapsed) .ocloc-wiz-summary-teaser { opacity: 0; pointer-events: none; }
}
.ocloc-wiz-summary-body { display: flex; flex-direction: column; }

.ocloc-wiz-summary-section { margin-bottom: 14px; }
.ocloc-wiz-summary-section-title {
    font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em;
    color: var(--ocloc-text-muted); font-weight: 700; margin: 0 0 6px;
}
.ocloc-wiz-summary-line {
    display: flex; justify-content: space-between; gap: 12px;
    font-size: 0.9rem; padding: 4px 0;
}
.ocloc-wiz-summary-line-label { color: var(--ocloc-text-muted); min-width: 0; overflow-wrap: anywhere; }
.ocloc-wiz-summary-line-val   { font-weight: 600; text-align: right; min-width: 0; word-break: break-word; font-variant-numeric: tabular-nums; }
/* Especialista en el resumen: foto en círculo + nombre a la derecha. [2026-06-21] */
.ocloc-wiz-summary-agent { align-items: center; gap: 8px; }
.ocloc-wiz-summary-agent .ocloc-wiz-summary-line-val { margin-left: auto; }
.ocloc-wiz-summary-agent-av {
    width: 24px; height: 24px; flex: 0 0 auto; border-radius: 50%; overflow: hidden;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--ocloc-accent-light); color: var(--ocloc-primary); font-size: 11px; font-weight: 700;
}
.ocloc-wiz-summary-agent-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ocloc-wiz-summary-empty { color: var(--ocloc-text-muted); font-size: 0.85rem; }
.ocloc-wiz-summary-note { margin: 0; font-size: 0.85rem; color: var(--ocloc-text); overflow-wrap: anywhere; white-space: pre-wrap; }
/* Slider de saldo (Stage D) */
.ocloc-wiz-balance-slider { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--ocloc-border); }
.ocloc-wiz-balance-avail { font-size: 0.85rem; font-weight: 600; color: var(--ocloc-text); margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.ocloc-wiz-balance-row { display: flex; align-items: center; gap: 10px; }
.ocloc-wiz-balance-range { flex: 1 1 120px; min-width: 100px; accent-color: var(--ocloc-primary); cursor: pointer; height: var(--ocloc-touch-min); }
.ocloc-wiz-balance-range:focus-visible { outline: 3px solid var(--ocloc-accent); outline-offset: 2px; }
.ocloc-wiz-balance-all { flex: 0 0 auto; padding: 0 14px; min-height: 44px; font-size: 0.85rem; }
.ocloc-wiz-balance-applied { font-size: 0.85rem; color: var(--ocloc-primary); font-weight: 600; margin-top: 6px; font-variant-numeric: tabular-nums; }
.ocloc-wiz-summary-divider { height: 1px; background: var(--ocloc-border); margin: 12px 0; }
.ocloc-wiz-summary-coupon-hint { font-size: 0.78rem; color: var(--ocloc-text-muted); margin: 6px 0 0; }
/* el desglose reusa .ocloc-wiz-quote-table / .ocloc-wiz-quote-row[.bold|.highlight] /
   .ocloc-wiz-quote-label / .ocloc-wiz-quote-val (ya existen).
   el cupón reusa .ocloc-wiz-coupon-row / .ocloc-wiz-coupon-feedback (ya existen). */

/* Ilustración + texto por paso en el side-panel (paridad LP .latepoint-step-desc).
   LP OCULTA la lista de pasos (.latepoint-progress = display:none); el lateral solo
   muestra la ilustración + descripción del paso actual. [owner 2026-06-14] */
.ocloc-wiz-step-desc-w {
    text-align: center;
}
.ocloc-wiz-step-desc-media {
    width: 84px; height: 84px;
    margin: 0 auto 18px;
    color: var(--ocloc-primary);
    background: var(--ocloc-accent-light);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
}
.ocloc-wiz-step-desc-media svg { width: 40px; height: 40px; }
.ocloc-wiz-step-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--ocloc-text-muted);
}

/* ─────────────────────────────────────────────────────────────────────────────
   TIPOGRAFÍA DE STEP
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-step-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 18px;
    color: var(--ocloc-text);
}
/* El título recibe el foco al cambiar de paso (core.focusTitle, tabindex=-1): anillo solo
   para teclado/lector; el foco programático tras un clic no pinta nada. */
.ocloc-wiz-step-title:focus, .ocloc-wiz-confirm-title:focus { outline: none; }
.ocloc-wiz-step-title:focus-visible, .ocloc-wiz-confirm-title:focus-visible { outline: 3px solid var(--ocloc-accent); outline-offset: 4px; border-radius: 4px; }
/* Subtítulo fino bajo el título de paso (p.ej. aviso de preferencia en Especialista). */
.ocloc-wiz-step-sub { margin: -14px 0 16px; font-size: 0.85rem; line-height: 1.45; color: var(--ocloc-text-muted); }
/* Cabecera de paso = título + badge "Sesión iniciada" inline (envuelve en estrecho). */
.ocloc-wiz-step-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }

/* ─────────────────────────────────────────────────────────────────────────────
   BOTONES
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: var(--ocloc-touch-min);
    padding: 10px 20px;
    border-radius: var(--ocloc-radius);
    font-family: var(--ocloc-font);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: background var(--ocloc-transition), border-color var(--ocloc-transition), color var(--ocloc-transition);
    text-decoration: none;
    box-sizing: border-box;
}

.ocloc-wiz-btn:focus-visible {
    outline: 3px solid var(--ocloc-accent);
    outline-offset: 2px;
}

.ocloc-wiz-btn-primary {
    background: var(--ocloc-primary);
    color: #fff;
    border-color: var(--ocloc-primary);
}
.ocloc-wiz-btn-primary:hover { background: var(--ocloc-primary-light); }

.ocloc-wiz-btn-secondary {
    background: var(--ocloc-surface);
    color: var(--ocloc-primary);
    border-color: var(--ocloc-border);
}
.ocloc-wiz-btn-secondary:hover { background: var(--ocloc-surface-alt); }
.ocloc-wiz-btn-secondary.active {
    border-color: var(--ocloc-primary);
    background: var(--ocloc-primary-light);
    color: #fff;
}

.ocloc-wiz-btn-back {
    background: transparent;
    color: var(--ocloc-text-muted);
    border: none;
    padding: 10px 0;
    font-size: 0.9rem;
    font-weight: 400;
}
.ocloc-wiz-btn-back:hover { color: var(--ocloc-primary); }

.ocloc-wiz-btn-link {
    background: transparent;
    border: none;
    color: var(--ocloc-primary);
    text-decoration: underline;
    padding: 8px 0;
    font-size: 0.9rem;
    cursor: pointer;
}

.ocloc-wiz-btn-full { width: 100%; margin-top: 16px; }

/* Botón Siguiente del footer: SIEMPRE pegado a la derecha (margin-left:auto lo
   empuja al margen derecho haya Volver o no), como LatePoint. */
.ocloc-wiz-next { min-width: 140px; margin-left: auto; }
.ocloc-wiz-footer > span { display: none; }   /* placeholder ya no necesario */

.ocloc-wiz-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ─────────────────────────────────────────────────────────────────────────────
   STEP 1 — SERVICIO
───────────────────────────────────────────────────────────────────────────── */

/* Selección de servicio estilo LatePoint (.os-item): LISTA vertical de tarjetas
   = miniatura 45px rounded-square + nombre + descripción; "+" en categorías que
   drillan. Imágenes = selection_image de LP. [reskin LP 2026-06-13] */
.ocloc-wiz-svc-content { display: block; }
.ocloc-wiz-list        { display: flex; flex-direction: column; gap: 8px; }

.ocloc-wiz-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 0.8px solid var(--ocloc-border);
    border-radius: var(--ocloc-radius);
    background: var(--ocloc-surface);
    cursor: pointer;
    transition: border-color var(--ocloc-transition), box-shadow var(--ocloc-transition), background var(--ocloc-transition);
    min-height: var(--ocloc-touch-min);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font-family: var(--ocloc-font);
}
.ocloc-wiz-item:hover { border-color: var(--ocloc-primary); box-shadow: 0 2px 10px rgba(50,111,180,0.10); }
.ocloc-wiz-item:focus-visible { outline: 3px solid var(--ocloc-accent-light); outline-offset: 1px; }
.ocloc-wiz-item.selected { border-color: var(--ocloc-primary); background: var(--ocloc-accent-light); }

.ocloc-wiz-item-img {
    flex: 0 0 45px;
    width: 45px; height: 45px;
    border-radius: var(--ocloc-radius);
    overflow: hidden;
    margin-right: 15px;
    background: var(--ocloc-surface-alt);
}
/* Imagen genérica (cat/servicio) + placeholder degradado */
.ocloc-wiz-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ocloc-wiz-noimg    { background: linear-gradient(135deg, var(--ocloc-accent-light), var(--ocloc-surface-alt)); }

.ocloc-wiz-item-body { flex: 1 1 auto; min-width: 0; }
.ocloc-wiz-item-name { font-size: 17px; font-weight: 600; color: var(--ocloc-text); line-height: 1.3; }
.ocloc-wiz-item-desc { font-size: 13px; color: var(--ocloc-text-muted); margin-top: 2px; }

.ocloc-wiz-item-meta { flex-shrink: 0; margin-left: 12px; text-align: right; display: flex; flex-direction: column; gap: 2px; }
.ocloc-wiz-item-dur  { font-size: 13px; color: var(--ocloc-text-muted); }
.ocloc-wiz-item-price{ font-size: 14px; font-weight: 600; color: var(--ocloc-primary); }

.ocloc-wiz-item-plus {
    flex-shrink: 0; margin-left: 12px;
    width: 26px; height: 26px; border-radius: 50%;
    border: 1.5px solid var(--ocloc-border);
    color: var(--ocloc-text-muted);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; line-height: 1;
    transition: border-color var(--ocloc-transition), color var(--ocloc-transition);
}
.ocloc-wiz-item:hover .ocloc-wiz-item-plus { border-color: var(--ocloc-primary); color: var(--ocloc-primary); }

.ocloc-wiz-cat-back    { margin-bottom: 12px; }
.ocloc-wiz-svc-list    { display: flex; flex-direction: column; gap: 8px; }
.ocloc-wiz-svc-section { margin: 0; }

/* Extras */
.ocloc-wiz-extras-list { padding: 8px 16px 0; }
/* Paso Extras (no inline): lista como tarjeta limpia, filas con padding y sin
   borde en la última. [extras como paso, owner 2026-06-14] */
.ocloc-wiz-extras-step { padding: 0; border: 1px solid var(--ocloc-border); border-radius: var(--ocloc-radius); overflow: hidden; }
.ocloc-wiz-extras-step .ocloc-wiz-extra-row { padding: 14px 16px; }
.ocloc-wiz-extras-step .ocloc-wiz-extra-row:last-child { border-bottom: none; }
.ocloc-wiz-extra-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--ocloc-border);
}
.ocloc-wiz-extra-name  { flex: 1; font-size: 0.9rem; }
.ocloc-wiz-extra-price { font-size: 0.85rem; color: var(--ocloc-text-muted); margin: 0 12px; }
.ocloc-wiz-extra-qty   { display: flex; align-items: center; gap: 8px; }
.ocloc-wiz-qty-btn     { width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--ocloc-border); background: var(--ocloc-surface); font-size: 1.1rem; font-weight: 700; cursor: pointer; }
.ocloc-wiz-qty-btn:focus-visible { outline: 3px solid var(--ocloc-accent); }
.ocloc-wiz-qty-count   { min-width: 20px; text-align: center; font-weight: 600; }

/* ── Paso Extras AGRUPADO (packs configurables, estilo Uber Eats) ──────────────
   Mismo lenguaje visual que las tarjetas de agente: cabecera de categoría +
   opciones como tarjetas seleccionables (nombre izq / precio der). [packs 2026-07-01] */
.ocloc-wiz-extra-group { margin: 0 0 18px; }
.ocloc-wiz-extra-group:last-of-type { margin-bottom: 6px; }
.ocloc-wiz-extra-group-head {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: 10px; margin: 0 0 8px; padding: 0 2px;
}
.ocloc-wiz-extra-group-label { font-size: 0.95rem; font-weight: 700; color: var(--ocloc-text); }
.ocloc-wiz-extra-group-hint {
    font-size: 0.7rem; font-weight: 700; color: var(--ocloc-text-muted);
    text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap;
}
.ocloc-wiz-extra-group-hint.is-required { color: var(--ocloc-accent); }
.ocloc-wiz-extra-group-opts { display: flex; flex-direction: column; gap: 8px; }
.ocloc-wiz-extra-opt {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 14px; border: 0.8px solid var(--ocloc-border);
    border-radius: var(--ocloc-radius); background: var(--ocloc-surface);
    cursor: pointer; min-height: var(--ocloc-touch-min); box-sizing: border-box;
    transition: border-color var(--ocloc-transition), background var(--ocloc-transition), box-shadow var(--ocloc-transition);
}
.ocloc-wiz-extra-opt:hover { border-color: var(--ocloc-accent); }
.ocloc-wiz-extra-opt-radio {
    width: 18px; height: 18px; margin: 0; flex: 0 0 auto;
    accent-color: var(--ocloc-accent); cursor: pointer;
}
.ocloc-wiz-extra-opt-body {
    flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ocloc-wiz-extra-opt-name  { font-size: 0.9rem; color: var(--ocloc-text); }
.ocloc-wiz-extra-opt-price { font-size: 0.85rem; font-weight: 600; color: var(--ocloc-text-muted); white-space: nowrap; }
/* Estado seleccionado (radio nativo checked) — resalta la tarjeta en azul. */
.ocloc-wiz-extra-opt:has(.ocloc-wiz-extra-opt-radio:checked) {
    border-color: var(--ocloc-accent);
    background: var(--ocloc-accent-light);
    box-shadow: inset 0 0 0 1px var(--ocloc-accent);
}
/* Total en vivo del paso extras (orientativo; el autoritativo es el resumen). */
.ocloc-wiz-extras-total {
    margin: 16px 2px 0; padding-top: 12px; border-top: 1px solid var(--ocloc-border);
    text-align: right;
}
.ocloc-wiz-extras-total-val { font-size: 1rem; font-weight: 700; color: var(--ocloc-text); }

.ocloc-wiz-svc-confirm { margin: 12px 0 4px; width: 100%; }

/* ─────────────────────────────────────────────────────────────────────────────
   STEP 2 — ESPECIALISTA
   Mismo lenguaje visual que .ocloc-wiz-item (step 1): tarjeta blanca,
   borde 0.8px, radio 8, padding 10, hover/selected azul. [reskin LP 2026-06-13]
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-agent-list { display: flex; flex-direction: column; gap: 8px; }

.ocloc-wiz-agent-card {
    display: flex;
    align-items: center;
    padding: 10px;
    border: 0.8px solid var(--ocloc-border);
    border-radius: var(--ocloc-radius);
    cursor: pointer;
    transition: border-color var(--ocloc-transition), box-shadow var(--ocloc-transition), background var(--ocloc-transition);
    min-height: var(--ocloc-touch-min);
    background: var(--ocloc-surface);
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    font-family: var(--ocloc-font);
}
.ocloc-wiz-agent-card:hover    { border-color: var(--ocloc-primary); box-shadow: 0 2px 10px rgba(50,111,180,0.10); }
.ocloc-wiz-agent-card.selected { border-color: var(--ocloc-primary); background: var(--ocloc-accent-light); }
.ocloc-wiz-agent-card:focus-visible { outline: 3px solid var(--ocloc-accent-light); outline-offset: 1px; }

/* Avatar: redondo 45px a la izquierda, igual que .ocloc-wiz-item-img pero circular */
.ocloc-wiz-agent-avatar {
    flex: 0 0 45px;
    width: 45px; height: 45px;
    border-radius: 50%;
    background: var(--ocloc-surface-alt);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; font-weight: 700; color: var(--ocloc-text-muted);
    overflow: hidden; flex-shrink: 0;
    margin-right: 15px;
}
/* "Cualquiera": azul suave (accent-light/primary) en vez del dorado anterior */
.ocloc-wiz-agent-avatar-any { background: var(--ocloc-accent-light); color: var(--ocloc-primary); }
.ocloc-wiz-agent-img  { width: 100%; height: 100%; object-fit: cover; }

/* Body text: mismo tamaño que .ocloc-wiz-item-name/.ocloc-wiz-item-desc */
.ocloc-wiz-agent-body { flex: 1 1 auto; min-width: 0; }
.ocloc-wiz-agent-name { font-size: 17px; font-weight: 600; color: var(--ocloc-text); line-height: 1.3; }
.ocloc-wiz-agent-desc { font-size: 13px; color: var(--ocloc-text-muted); margin-top: 2px; }

/* ─────────────────────────────────────────────────────────────────────────────
   STEP 3 — FECHA/HORA
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-calendar { margin-bottom: 20px; }

.ocloc-wiz-cal-nav {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 12px;
}
.ocloc-wiz-cal-nav-btn {
    background: var(--ocloc-surface-alt);
    border: 1px solid var(--ocloc-border);
    border-radius: var(--ocloc-radius-sm);
    width: 40px; height: 40px;
    font-size: 1.3rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
}
.ocloc-wiz-cal-nav-btn:focus-visible { outline: 3px solid var(--ocloc-accent); }
.ocloc-wiz-cal-nav-btn:disabled { opacity: 0.35; cursor: default; } /* fuera de la ventana reservable (hoy..+90d) */
.ocloc-wiz-cal-month-label { font-weight: 600; font-size: 1rem; text-transform: none; }
.ocloc-wiz-cal-month-label::first-letter { text-transform: uppercase; }

.ocloc-wiz-cal-weekdays {
    display: grid; grid-template-columns: repeat(7, 1fr);
    text-align: center; margin-bottom: 4px;
}
.ocloc-wiz-cal-wd { font-size: 0.75rem; color: var(--ocloc-text-muted); font-weight: 600; padding: 4px 0; }

.ocloc-wiz-cal-grid {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px;
}
.ocloc-wiz-cal-empty { height: 40px; }

.ocloc-wiz-cal-day {
    height: 40px; border-radius: var(--ocloc-radius-sm);
    font-size: 0.9rem; font-weight: 500;
    border: none; cursor: pointer;
    transition: background var(--ocloc-transition), color var(--ocloc-transition);
    background: var(--ocloc-surface-alt);
    color: var(--ocloc-text);
}
/* Días disponibles: LP NO usa verde — blanco/oscuro + hover azul suave. [reskin LP 2026-06-13] */
.ocloc-wiz-cal-day.available   { background: var(--ocloc-surface); color: var(--ocloc-text); font-weight: 600; }
.ocloc-wiz-cal-day.available:hover { background: var(--ocloc-accent-light); color: var(--ocloc-primary); }
/* Seleccionado: azul sólido LP */
.ocloc-wiz-cal-day.selected    { background: var(--ocloc-primary) !important; color: #fff !important; font-weight: 700; }
.ocloc-wiz-cal-day.unavailable { color: #c9ccd6; cursor: not-allowed; background: var(--ocloc-surface-alt); }
.ocloc-wiz-cal-day:focus-visible { outline: 3px solid var(--ocloc-accent); }
.ocloc-wiz-cal-loading { text-align: center; padding: 24px; color: var(--ocloc-text-muted); font-size: 0.9rem; }

/* Slots */
.ocloc-wiz-slots-grid {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px;
}

.ocloc-wiz-slot {
    min-width: 72px; height: 44px;
    border-radius: var(--ocloc-radius-sm);
    font-size: 0.9rem; font-weight: 600;
    border: 2px solid transparent; cursor: pointer;
    transition: background var(--ocloc-transition), border-color var(--ocloc-transition);
    padding: 0 12px;
    background: var(--ocloc-surface-alt);
    color: var(--ocloc-text);
}
/* Slots — VERDE/AZUL literal (owner 2026-06-14: "volver al verde literal").
   slot-green = la especialista elegida está libre (óptimo) → VERDE.
   slot-blue  = aleatoria: te atiende otra compañera disponible → AZUL.
   Selección = azul primario sólido + ring (indicador único, gana a ambas). */
.ocloc-wiz-slot-green { background: #e7f6ec; color: #1e7d46; border-color: #38ac68; }
.ocloc-wiz-slot-green:hover { background: #2e9e5b; color: #fff; border-color: #2e9e5b; }
.ocloc-wiz-slot-blue  { background: var(--ocloc-accent-light); color: var(--ocloc-primary); border-color: #9cc0e8; }
.ocloc-wiz-slot-blue:hover  { background: var(--ocloc-primary); color: #fff; border-color: var(--ocloc-primary); }
.ocloc-wiz-slot.selected { background: var(--ocloc-primary) !important; color: #fff !important; border-color: var(--ocloc-primary) !important; box-shadow: 0 0 0 2px var(--ocloc-primary); }
.ocloc-wiz-slot:focus-visible { outline: 3px solid var(--ocloc-accent); }

.ocloc-wiz-slots-legend { display: flex; align-items: center; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.ocloc-wiz-legend-row   { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--ocloc-text-muted); }
.ocloc-wiz-legend-dot   { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
/* Puntos de leyenda: verde = tu especialista (óptimo), azul = aleatoria. */
.ocloc-wiz-legend-blue  { background: var(--ocloc-primary); }
.ocloc-wiz-legend-green { background: #38ac68; }
.ocloc-wiz-no-slots     { color: var(--ocloc-text-muted); font-size: 0.9rem; text-align: center; padding: 16px 0; }

/* ─────────────────────────────────────────────────────────────────────────────
   STEP 4 — DATOS DE CLIENTA
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-customer-form { display: flex; flex-direction: column; gap: 16px; }

.ocloc-wiz-field { display: flex; flex-direction: column; gap: 6px; }

/* Labels: slate LP (#7c85a3), 13px — igual que .os-form-label en front.css [reskin LP 2026-06-13] */
.ocloc-wiz-label {
    font-size: 13px; font-weight: 600; color: var(--ocloc-text-muted);
}

/* Inputs: paridad .os-form-control de LP: padding 12px 10px, borde 0.8px #e5e7ee, radio 8, color #32373c [reskin LP 2026-06-13] */
.ocloc-wiz-input {
    height: var(--ocloc-touch-min);
    padding: 12px 10px;
    border: 0.8px solid var(--ocloc-border);
    border-radius: var(--ocloc-radius);
    font-family: var(--ocloc-font);
    font-size: 1rem;
    color: #32373c;
    background: var(--ocloc-surface);
    transition: border-color var(--ocloc-transition), box-shadow var(--ocloc-transition);
    box-sizing: border-box;
    width: 100%;
}
.ocloc-wiz-input:focus         { outline: none; border-color: var(--ocloc-primary); }
.ocloc-wiz-input:focus-visible { box-shadow: 0 0 0 3px var(--ocloc-accent-light); }
/* ── Casilla con TÍTULO dentro (arriba-izq, chiquito) — estilo "filled". fieldGrp
   envuelve [título + input] en .ocloc-wiz-fieldbox (un <label> → click enfoca el input).
   El borde y el foco viven en la casilla; el input va sin borde. [2026-06-21] ── */
.ocloc-wiz-fieldbox {
    display: flex; flex-direction: column; gap: 1px; cursor: text;
    border: 0.8px solid var(--ocloc-border); border-radius: var(--ocloc-radius);
    background: var(--ocloc-surface); padding: 4px 11px 5px;
    transition: border-color var(--ocloc-transition), box-shadow var(--ocloc-transition);
}
.ocloc-wiz-fieldbox:focus-within { border-color: var(--ocloc-primary); box-shadow: 0 0 0 3px var(--ocloc-accent-light); }
.ocloc-wiz-field.has-error .ocloc-wiz-fieldbox { border-color: #d56e67; }
.ocloc-wiz-fieldbox > .ocloc-wiz-label,
.ocloc-wiz-phone > .ocloc-wiz-label {
    font-size: 10px; font-weight: 600; color: var(--ocloc-text-muted);
    line-height: 1.1; letter-spacing: 0.01em;
}
.ocloc-wiz-fieldbox > .ocloc-wiz-input {
    border: 0; background: transparent; height: auto; min-height: 20px;
    padding: 0; border-radius: 0; width: 100%; font-size: 0.9rem; color: #32373c;
}
.ocloc-wiz-fieldbox > .ocloc-wiz-input:focus,
.ocloc-wiz-fieldbox > .ocloc-wiz-input:focus-visible { outline: 0; border: 0; box-shadow: none; }
/* Textarea del paso Notas (Stage C): anula la altura fija del input, permite crecer. */
.ocloc-wiz-textarea {
    height: auto;
    min-height: 96px;
    padding: 10px 12px;
    line-height: 1.5;
    resize: vertical;
}

/* Estado de error en el campo: label y borde rojos como LP (#d56e67) */
.ocloc-wiz-field-error { font-size: 0.8rem; color: #d56e67; min-height: 1em; }
.ocloc-wiz-field.has-error .ocloc-wiz-label { color: #d56e67; }
.ocloc-wiz-field.has-error .ocloc-wiz-input { border-color: #d56e67; }

/* ── Paridad registro LatePoint (2026-06-20) ──────────────────────────────── */
/* Teléfono — input-group con bandera (estilo 21st.dev): foco unificado, botón de país
   con bandera+prefijo+chevron y menú país·prefijo. [aesthetic 2026-06-21] */
.ocloc-wiz-phone {
    position: relative; display: flex; flex-direction: column; gap: 1px;
    border: 0.8px solid var(--ocloc-border); border-radius: var(--ocloc-radius);
    background: var(--ocloc-surface); padding: 4px 11px 5px;
    transition: border-color var(--ocloc-transition), box-shadow var(--ocloc-transition);
}
.ocloc-wiz-phone-inner { display: flex; align-items: center; min-height: 20px; }
.ocloc-wiz-phone:focus-within { border-color: var(--ocloc-primary); box-shadow: 0 0 0 3px var(--ocloc-accent-light); }
.ocloc-wiz-field.has-error .ocloc-wiz-phone { border-color: #d56e67; }
.ocloc-wiz-phone-trigger {
    display: flex; align-items: center; gap: 6px; flex: 0 0 auto;
    padding: 2px 10px 2px 0; margin-right: 2px; border: 0; border-radius: 0;
    background: transparent; cursor: pointer;
    border-right: 0.8px solid var(--ocloc-border);
    font-family: var(--ocloc-font); font-size: 0.9rem; color: #32373c;
    transition: color var(--ocloc-transition);
}
.ocloc-wiz-phone-trigger:hover { background: var(--ocloc-surface-alt); }
.ocloc-wiz-phone-flag { width: 19px; height: 14px; flex: 0 0 auto; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 0.5px rgba(0,0,0,.14); display: block; }
.ocloc-wiz-phone-code { font-weight: 600; font-variant-numeric: tabular-nums; }
.ocloc-wiz-phone-chev { font-size: 9px; color: var(--ocloc-text-muted); transition: transform var(--ocloc-transition); }
.ocloc-wiz-phone.is-open .ocloc-wiz-phone-chev { transform: rotate(180deg); }
.ocloc-wiz-phone-num {
    flex: 1 1 auto; min-width: 0; border: 0; background: transparent; outline: none;
    padding: 0 0 0 10px; font-family: var(--ocloc-font); font-size: 0.9rem; color: #32373c;
}
.ocloc-wiz-phone-num::placeholder { color: var(--ocloc-text-muted); }
.ocloc-wiz-phone-menu {
    position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 40;
    max-height: 264px; overflow-y: auto; padding: 5px;
    background: var(--ocloc-surface); border: 0.8px solid var(--ocloc-border);
    border-radius: var(--ocloc-radius); box-shadow: var(--ocloc-shadow);
    animation: ocloc-phone-pop 0.16s cubic-bezier(.16,1,.3,1);
}
.ocloc-wiz-phone-menu[hidden] { display: none; }
@keyframes ocloc-phone-pop { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.ocloc-wiz-phone-opt {
    display: flex; align-items: center; gap: 10px; width: 100%;
    padding: 9px 10px; border: 0; background: transparent; cursor: pointer;
    border-radius: var(--ocloc-radius-sm); text-align: left;
    font-family: var(--ocloc-font); font-size: 14px; color: #32373c;
}
.ocloc-wiz-phone-opt:hover { background: var(--ocloc-surface-alt); }
.ocloc-wiz-phone-opt.is-sel { background: var(--ocloc-accent-light); color: var(--ocloc-primary); font-weight: 600; }
.ocloc-wiz-phone-opt-flag { width: 19px; height: 14px; flex: 0 0 auto; border-radius: 2px; object-fit: cover; box-shadow: 0 0 0 0.5px rgba(0,0,0,.14); display: block; }
.ocloc-wiz-phone-opt-name { flex: 1 1 auto; }
.ocloc-wiz-phone-opt-code { color: var(--ocloc-text-muted); font-variant-numeric: tabular-nums; }
/* Checkboxes (consentimientos/preferencias/términos) — fila clicable, paridad LP */
.ocloc-wiz-field-check { gap: 4px; }
.ocloc-wiz-check {
    display: flex; align-items: flex-start; gap: 9px; cursor: pointer;
    font-size: 13px; color: #32373c; line-height: 1.3;
}
/* Checkbox CIRCULAR aesthetic (estilo Magic UI): círculo que se rellena en azul con un
   check blanco que entra con un pequeño resorte. appearance:none + ::after dibuja el tick. */
.ocloc-wiz-check-box {
    appearance: none; -webkit-appearance: none; margin: 1px 0 0;
    width: 20px; height: 20px; flex: 0 0 auto; position: relative; cursor: pointer;
    border: 1.5px solid #c4cad6; border-radius: 50%; background: var(--ocloc-surface-alt);
    box-shadow: inset 0 1px 2px rgba(20,30,50,.06);
    transition: background .18s cubic-bezier(.16,1,.3,1), border-color .18s ease, box-shadow .18s ease;
}
.ocloc-wiz-check-box:hover { border-color: var(--ocloc-primary); background: var(--ocloc-accent-light); }
.ocloc-wiz-check-box:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--ocloc-accent-light); }
.ocloc-wiz-check-box::after {
    content: ""; position: absolute; left: 50%; top: 45%;
    width: 4.5px; height: 8.5px; border: solid #fff; border-width: 0 2px 2px 0;
    transform: translate(-50%,-50%) rotate(45deg) scale(0); transform-origin: center;
    transition: transform .2s cubic-bezier(.34,1.56,.64,1);
}
.ocloc-wiz-check-box:checked { background: var(--ocloc-primary); border-color: var(--ocloc-primary); box-shadow: none; }
.ocloc-wiz-check-box:checked::after { transform: translate(-50%,-50%) rotate(45deg) scale(1); }
.ocloc-wiz-check-lbl { flex: 1 1 auto; }
/* Cumpleaños Día/Mes en UNA línea, compactos (ancho al contenido). [2026-06-21] */
.ocloc-wiz-bday-row { display: flex; gap: 10px; align-items: flex-start; }
.ocloc-wiz-bday-cell { flex: 1 1 0; min-width: 0; }                  /* Día/Mes llenan el ancho a partes iguales */
.ocloc-wiz-bday-cell .ocloc-wiz-fieldbox { width: 100%; }
.ocloc-wiz-bday-cell .ocloc-wiz-input { width: 100%; min-width: 0; } /* adaptable, nunca apilado (flex sin wrap) */
/* Grupo cumpleaños: título pequeño arriba (tight, sin margen extra) + fila Día/Mes */
.ocloc-wiz-bday-group { display: flex; flex-direction: column; gap: 1px; }
.ocloc-wiz-bday-title { font-size: 10px; font-weight: 600; color: var(--ocloc-text-muted); line-height: 1.2; letter-spacing: 0.01em; }
/* Cumpleaños "asignable una sola vez": select bloqueado (solo-lectura) + nota discreta. [birthday once 2026-07-01] */
.ocloc-wiz-input.is-locked { background: var(--ocloc-bg-muted, #f1f5f9); color: var(--ocloc-text-muted); cursor: not-allowed; opacity: 0.85; }
.ocloc-wiz-bday-locked-note { font-size: 10px; color: var(--ocloc-text-muted); line-height: 1.3; margin-top: 2px; }
/* Checkboxes cortos sueltos en una misma línea (flex-wrap) */
.ocloc-wiz-checks-inline { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.ocloc-wiz-checks-inline > .ocloc-wiz-field-check { flex: 0 1 auto; }
/* Preferencia de cita = toggle group con iconos (Relajarme / Conversación). [2026-06-21] */
.ocloc-wiz-pref { display: flex; flex-direction: column; gap: 6px; }
.ocloc-wiz-pref-title { font-size: 10px; font-weight: 600; color: var(--ocloc-text-muted); letter-spacing: 0.01em; }
.ocloc-wiz-pref-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.ocloc-wiz-pref-btn {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 15px; border: 1px solid var(--ocloc-border); border-radius: 999px;
    background: var(--ocloc-surface); color: #32373c; cursor: pointer;
    font-family: var(--ocloc-font); font-size: 13px; font-weight: 500;
    transition: border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, transform .12s ease;
}
.ocloc-wiz-pref-btn:hover { border-color: var(--ocloc-primary); background: var(--ocloc-accent-light); }
.ocloc-wiz-pref-btn:active { transform: scale(.97); }
.ocloc-wiz-pref-btn.is-on { border-color: var(--ocloc-primary); background: var(--ocloc-primary); color: #fff; box-shadow: 0 2px 10px rgba(50,111,180,.28); }
.ocloc-wiz-pref-btn svg { width: 17px; height: 17px; flex: 0 0 auto; }
.ocloc-wiz-pref-hint { font-size: 11px; color: var(--ocloc-text-muted); }
/* Bloque de texto legal (read-only, scrolleable) — paridad consentimiento LP */
.ocloc-wiz-legal { gap: 6px; }
.ocloc-wiz-legal-title { font-size: 13px; font-weight: 600; color: var(--ocloc-text-muted); }
/* Recuadro legal SIN título, pegado al checkbox "Aceptar términos" de arriba. [2026-06-21] */
.ocloc-wiz-legal-attached { margin-top: -3px; }
/* "Permito grabación" en media columna → la píldora llena la celda (bajo el teléfono). */
.ocloc-wiz-grabacion-cell .ocloc-wiz-pref-btn { width: 100%; justify-content: center; }
.ocloc-wiz-legal-box {
    max-height: 168px; overflow-y: auto;
    border: 0.8px solid var(--ocloc-border); border-radius: var(--ocloc-radius);
    padding: 10px 12px; font-size: 12px; line-height: 1.55; color: #5b6270;
    white-space: pre-wrap; background: var(--ocloc-surface);
}

/* Crear cuenta (opcional) — sección de password en el registro [auth phase 2] */
.ocloc-wiz-acct { display: flex; flex-direction: column; gap: 16px; padding: 14px; border: 0.8px solid var(--ocloc-border); border-radius: var(--ocloc-radius); background: rgba(0,0,0,0.015); }
.ocloc-wiz-acct-title { font-size: 14px; font-weight: 700; color: #32373c; }
.ocloc-wiz-acct-hint  { font-size: 12px; line-height: 1.45; color: var(--ocloc-text-muted); margin: -8px 0 0; }

/* Pestañas Nueva reserva / ¿Ya tienes una cuenta? (login) [auth phase 2] */
.ocloc-wiz-tabs { display: flex; gap: 4px; margin-bottom: 16px; border-bottom: 0.8px solid var(--ocloc-border); }
.ocloc-wiz-tab {
    flex: 1 1 auto; padding: 10px 8px; background: transparent; border: 0; cursor: pointer;
    font-family: var(--ocloc-font); font-size: 14px; font-weight: 600; color: var(--ocloc-text-muted);
    border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--ocloc-transition), border-color var(--ocloc-transition);
}
.ocloc-wiz-tab.is-on { color: var(--ocloc-primary); border-bottom-color: var(--ocloc-primary); }
.ocloc-wiz-tabpanel { display: flex; flex-direction: column; gap: 16px; }
.ocloc-wiz-tabpanel[hidden] { display: none; }
.ocloc-wiz-acct-note { font-size: 13px; font-weight: 600; color: #2e7d52; background: rgba(46,125,82,0.08); border-radius: var(--ocloc-radius); padding: 8px 12px; }
/* Cabecera del paso "Tus datos" cuando la clienta YA está logueada (paso slim) */
.ocloc-wiz-authed-head {
    display: inline-flex; align-items: center; gap: 5px; margin: 0;
    font-size: 12px; font-weight: 600; color: var(--ocloc-primary);
    background: var(--ocloc-accent-light); padding: 3px 10px; border-radius: 999px;
}
/* Nota: staff (= persona) reservando como clienta — modo invitada con datos prefijados. [2026-06-21] */
.ocloc-wiz-staff-note { font-size: 12px; line-height: 1.4; color: var(--ocloc-text-muted); background: var(--ocloc-accent-light); border-radius: var(--ocloc-radius); padding: 8px 11px; }
.ocloc-wiz-link { align-self: flex-start; background: transparent; border: 0; padding: 4px 0; cursor: pointer; font-family: var(--ocloc-font); font-size: 13px; color: var(--ocloc-primary); text-decoration: underline; }
.ocloc-wiz-otp { display: flex; flex-direction: column; gap: 12px; }
.ocloc-wiz-otp[hidden] { display: none; } /* el display:flex pisa el [hidden] de UA → restaurar */
/* ── Alta + login COMPACTOS: 2 campos por fila cuando el contenedor tiene ancho
   (≥700px → embed ~768 y escritorio). En estrecho/móvil cae a 1 columna (flex base).
   Reduce el "estirado" vertical de Tus datos y del login. [2026-06-21] ── */
.ocloc-wiz-login-grid { display: flex; flex-direction: column; gap: 16px; }
/* 2 campos por fila SIEMPRE que quepan (contenedor ≥300px). En vez de apilarse al
   estrecharse, las columnas ENCOGEN (minmax(0,1fr)); solo cae a 1 columna por debajo de
   ~300px (casi ningún móvil real). Antes el umbral era 700px → apilaba pronto. [2026-06-21] */
@container oclocwiz (min-width: 300px) {
    .ocloc-wiz-customer-form,
    .ocloc-wiz-login-grid {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 10px;
        row-gap: 9px;
        align-items: start;
    }
    .ocloc-wiz-customer-form > *,
    .ocloc-wiz-login-grid > * { min-width: 0; }   /* deja encoger los campos en vez de desbordar */
    /* A fila completa: hint, texto legal y los marcados .ocloc-wiz-fullrow (checkboxes de
       label LARGO). Los INPUTS, selects y checkboxes CORTOS van 2 por fila, mitad de ancho. */
    .ocloc-wiz-customer-form > .ocloc-wiz-fullrow,
    .ocloc-wiz-customer-form > .ocloc-wiz-legal {
        grid-column: 1 / -1;
    }
}
/* Hint de cuenta opcional inline (sin caja): margen normal en la rejilla */
.ocloc-wiz-acct-hint.ocloc-wiz-fullrow { margin: 2px 0 -4px; }
/* "Continuar con Google" (OAuth global oCloc) [auth phase 2] */
.ocloc-wiz-google { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.ocloc-wiz-or {
    text-align: center; font-size: 12px; color: var(--ocloc-text-muted); position: relative;
}
.ocloc-wiz-or::before, .ocloc-wiz-or::after {
    content: ""; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--ocloc-border);
}
.ocloc-wiz-or::before { left: 0; }
.ocloc-wiz-or::after { right: 0; }
/* Botón oficial Google (guidelines): blanco, borde #dadce0, logo G multicolor, Roboto Medium */
.ocloc-wiz-btn-google {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    width: 100%; min-height: 42px; padding: 0 16px; box-sizing: border-box;
    background: #fff; color: #1f1f1f;
    border: 1px solid #dadce0; border-radius: var(--ocloc-radius);
    font-family: "Roboto", var(--ocloc-font); font-size: 14px; font-weight: 500;
    cursor: pointer;
    transition: background var(--ocloc-transition), box-shadow var(--ocloc-transition), border-color var(--ocloc-transition);
}
.ocloc-wiz-btn-google:hover { background: #f8f9fa; box-shadow: 0 1px 2px rgba(60,64,67,.16); border-color: #d2d5da; }
.ocloc-wiz-btn-google:active { background: #f1f3f4; }
.ocloc-wiz-gicon { width: 18px; height: 18px; flex: 0 0 auto; display: block; }

/* Honeypot: oculto visualmente, presente en el DOM */
.ocloc-wiz-honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    height: 0;
    width: 0;
    overflow: hidden;
    pointer-events: none;
}

/* ─────────────────────────────────────────────────────────────────────────────
   STEP 5 — RESUMEN
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-summary-customer { margin-bottom: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--ocloc-border); }
.ocloc-wiz-summary-name     { font-weight: 700; font-size: 1rem; margin: 0 0 4px; }
.ocloc-wiz-summary-contact  { font-size: 0.85rem; color: var(--ocloc-text-muted); margin: 0; }
.ocloc-wiz-summary-row      { display: flex; gap: 8px; margin-bottom: 12px; font-size: 0.9rem; color: var(--ocloc-text-muted); }

.ocloc-wiz-quote-table      { margin: 16px 0; border-radius: var(--ocloc-radius); border: 1px solid var(--ocloc-border); overflow: hidden; }
.ocloc-wiz-quote-row        { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--ocloc-border); font-size: 0.9rem; }
.ocloc-wiz-quote-row:last-child { border-bottom: none; }
.ocloc-wiz-quote-row.bold   { font-weight: 600; font-size: 1rem; }   /* Total = contexto, peso medio */
/* Depósito a pagar ahora = dato HERO: la cifra domina, el label queda menor */
.ocloc-wiz-quote-row.highlight { background: var(--ocloc-accent-light); font-weight: 700; font-size: 1.18rem; align-items: baseline; }
.ocloc-wiz-quote-row.highlight .ocloc-wiz-quote-label { font-size: 0.92rem; font-weight: 600; }
/* Descuento/saldo = rebaja → verde, se lee de un vistazo */
.ocloc-wiz-quote-row.credit .ocloc-wiz-quote-val { color: var(--ocloc-green); }
.ocloc-wiz-quote-val        { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ocloc-wiz-quote-reassure   { margin: 8px 14px 0; font-size: 0.8rem; line-height: 1.4; color: var(--ocloc-text-muted); }

.ocloc-wiz-coupon-feedback  { padding: 10px 14px; border-radius: var(--ocloc-radius-sm); font-size: 0.85rem; margin-bottom: 12px; }
.ocloc-wiz-coupon-feedback.applied { background: var(--ocloc-green-light); color: var(--ocloc-green); }
.ocloc-wiz-coupon-feedback.invalid { background: var(--ocloc-error-light); color: var(--ocloc-error); }

.ocloc-wiz-coupon-row       { display: flex; gap: 8px; margin-top: 12px; }
.ocloc-wiz-coupon-row .ocloc-wiz-input { flex: 1; }
.ocloc-wiz-coupon-row .ocloc-wiz-btn   { white-space: nowrap; }

/* Saldo / gift-card LO- + OTP de cuenta (paridad cart-balance-panel) */
.ocloc-wiz-otp-panel        { margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--ocloc-border, rgba(0,0,0,0.08)); }
.ocloc-wiz-otp-intro        { font-size: 0.85rem; color: var(--ocloc-text-muted, #666); margin-bottom: 6px; }

/* ─────────────────────────────────────────────────────────────────────────────
   STEP 6 — PAGO
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-pay-mode         { margin-bottom: 20px; }
.ocloc-wiz-pay-mode-label   { font-weight: 600; font-size: 0.9rem; margin-bottom: 10px; color: var(--ocloc-text-muted); }
/* Botones modo pago: estilo secundario LP — fondo #e3e6f0 texto #1f222b [reskin LP 2026-06-13] */
.ocloc-wiz-pay-mode-btn     {
    width: 100%; margin-bottom: 8px;
    background: #e3e6f0;
    color: var(--ocloc-text);
    border-color: transparent;
}
.ocloc-wiz-pay-mode-btn:hover { background: #d6d9e6; }
.ocloc-wiz-pay-mode-btn.active {
    background: var(--ocloc-primary);
    color: #fff;
    border-color: var(--ocloc-primary);
}

/* Contenedor del Payment Element: borde sutil + padding LP */
.ocloc-wiz-payment-element  { margin: 16px 0; min-height: 80px; padding: 16px; border: 0.8px solid var(--ocloc-border); border-radius: var(--ocloc-radius); background: var(--ocloc-surface); }

.ocloc-wiz-payment-error    {
    color: var(--ocloc-error);
    font-size: 0.9rem;
    min-height: 1.2em;
    margin-bottom: 8px;
    padding: 0 2px;
}

/* ─────────────────────────────────────────────────────────────────────────────
   STEP 7 — CONFIRMACIÓN
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-step-confirm     { text-align: center; }
.ocloc-wiz-confirm-icon     {
    font-size: 3rem; margin-bottom: 12px;
    width: 72px; height: 72px;
    background: var(--ocloc-green-light); color: var(--ocloc-green);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 16px;
    font-weight: 700;
}
.ocloc-wiz-confirm-title    { font-size: 1.4rem; font-weight: 700; margin: 0 0 8px; }
.ocloc-wiz-confirm-sub      { color: var(--ocloc-text-muted); margin: 0 0 24px; font-size: 0.9rem; }

.ocloc-wiz-booking-code-wrap {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: var(--ocloc-surface-alt); border-radius: var(--ocloc-radius);
    padding: 20px; margin-bottom: 20px;
    border: 2px solid var(--ocloc-border);
}
.ocloc-wiz-booking-code-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ocloc-text-muted); }
.ocloc-wiz-booking-code       { font-size: 2rem; font-weight: 800; letter-spacing: 0.1em; color: var(--ocloc-primary); }

.ocloc-wiz-confirm-agent    { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-bottom: 20px; }
.ocloc-wiz-confirm-agent-img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.ocloc-wiz-confirm-agent-name { font-weight: 600; font-size: 1rem; }
.ocloc-wiz-agent-silhouette {
    width: 64px; height: 64px;
    border-radius: 50%; background: var(--ocloc-border);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--ocloc-text-muted);
}
.ocloc-wiz-agent-silhouette::after { content: '?'; }
.ocloc-wiz-agent-any-label  { font-size: 0.85rem; color: var(--ocloc-text-muted); }

.ocloc-wiz-confirm-summary  { text-align: left; border: 1px solid var(--ocloc-border); border-radius: var(--ocloc-radius); overflow: hidden; margin-top: 8px; }
.ocloc-wiz-confirm-row      { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--ocloc-border); font-size: 0.9rem; }
.ocloc-wiz-confirm-row:last-child { border-bottom: none; }
.ocloc-wiz-confirm-val      { font-weight: 600; }
.ocloc-wiz-confirm-again    { margin-top: 24px; }
/* "Añadir al calendario" (Google + .ics): dos enlaces con aspecto de botón secundario. */
.ocloc-wiz-cal-links        { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 0 0 20px; }
.ocloc-wiz-cal-links-title  { flex-basis: 100%; font-size: 0.8rem; color: var(--ocloc-text-muted); }
.ocloc-wiz-cal-links .ocloc-wiz-btn { font-size: 0.9rem; padding: 8px 14px; }

/* Código de acceso a la puerta (módulo oculto Control de acceso) — mismo look
   que .ocloc-wiz-booking-code-wrap (tarjeta con borde, solo que más contenido). */
.ocloc-wiz-access {
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    background: var(--ocloc-surface-alt); border-radius: var(--ocloc-radius);
    padding: 20px; margin-bottom: 20px;
    border: 2px solid var(--ocloc-border);
}
.ocloc-wiz-access-title    { margin: 0 0 4px; font-size: 1rem; font-weight: 700; color: var(--ocloc-text); }
.ocloc-wiz-access-qr       { background: #fff; padding: 12px; border-radius: calc(var(--ocloc-radius) - 4px); line-height: 0; }
.ocloc-wiz-access-qr svg   { display: block; width: 160px; height: 160px; }
.ocloc-wiz-access-sub      { margin: 10px 0 14px; max-width: 34ch; font-size: 0.85rem; color: var(--ocloc-text-muted); text-align: center; }

/* ─────────────────────────────────────────────────────────────────────────────
   ESTADO: CARGA
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-loading-wrap     { display: flex; flex-direction: column; align-items: center; padding: 40px 20px; gap: 16px; }
.ocloc-wiz-loading-text     { color: var(--ocloc-text-muted); font-size: 0.9rem; margin: 0; }

@keyframes ocloc-spin { to { transform: rotate(360deg); } }
.ocloc-wiz-spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--ocloc-border);
    border-top-color: var(--ocloc-primary);
    border-radius: 50%;
    animation: ocloc-spin 0.8s linear infinite;
}

/* ─────────────────────────────────────────────────────────────────────────────
   TOAST
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    border-radius: var(--ocloc-radius);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 99999;
    box-shadow: var(--ocloc-shadow);
    max-width: 90vw;
    text-align: center;
    animation: ocloc-fadein 0.2s ease;
}
@keyframes ocloc-fadein { from { opacity: 0; transform: translateX(-50%) translateY(8px); } to { opacity: 1; transform: translateX(-50%) translateY(0); } }

.ocloc-wiz-toast-error   { background: var(--ocloc-error); color: #fff; }
.ocloc-wiz-toast-warning { background: var(--ocloc-warning); color: #fff; }
.ocloc-wiz-toast-success { background: #15803d; color: #fff; }
.ocloc-wiz-toast-info    { background: var(--ocloc-primary); color: #fff; }

/* ─────────────────────────────────────────────────────────────────────────────
   ERROR SCREEN
───────────────────────────────────────────────────────────────────────────── */

.ocloc-wiz-error-screen { text-align: center; padding: 32px 16px; }
.ocloc-wiz-error-msg    { color: var(--ocloc-error); font-size: 1rem; margin-bottom: 20px; }

/* ─────────────────────────────────────────────────────────────────────────────
   RESPONSIVE (tablet y escritorio)
───────────────────────────────────────────────────────────────────────────── */

@media (min-width: 480px) {
    #ocloc-booking-root { padding: 24px; }
    /* agent-list: LP usa lista vertical también en desktop — sin grid 2 cols [reskin LP 2026-06-13] */
    .ocloc-wiz-slots-grid { gap: 10px; }
    .ocloc-wiz-pay-mode   { display: flex; gap: 12px; flex-wrap: wrap; }
    .ocloc-wiz-pay-mode-btn { width: auto; flex: 1; margin-bottom: 0; }
}

@media (min-width: 640px) {
    .ocloc-wiz-booking-code { font-size: 2.5rem; }
}

/* El padding edge-to-edge es estética del root en móvil REAL → se queda por viewport. */
@media (max-width: 767px) { #ocloc-booking-root { padding: 0; } }

/* ── Los breakpoints del SHELL responden al ancho del CONTENEDOR (@container), no al del
   viewport. Umbrales separados del ancho embebido típico (~768px) para no quedar en el borde:
   ≥640 = "escritorio" (summary fijo, abierto), <980 = oculta el lateral ilustrativo,
   <640 = apila (summary acordeón arriba). El JS (summaryIsDesktop) usa el MISMO umbral 640. ── */

/* CONTENEDOR ANCHO (>=640): el summary es columna fija, SIEMPRE abierto (sin toggle). */
@container oclocwiz (min-width: 640px) {
    .ocloc-wiz-summary-toggle-icon { display: none; }                 /* sin chevron */
    .ocloc-wiz-summary.is-collapsed .ocloc-wiz-summary-body { display: flex; }
}

/* CONTENEDOR MEDIO (<=980): ocultar el side-panel (solo ilustrativo) para
   ceder ancho a form+summary sin colapsar el carrito. */
@container oclocwiz (max-width: 980px) {
    .ocloc-wiz-side-panel { display: none; }
    .ocloc-wiz-summary { flex: 0 0 260px; width: 260px; }   /* estrechar el carrito para dar aire al form */
}

/* CONTENEDOR ESTRECHO (<640): apila como en móvil. El side-panel colapsa (paridad LP
   latepoint-hide-side-panel); el form pasa a ancho completo. STAGE B: el summary se sube
   ARRIBA (order:-1) como acordeón plegable. [reskin LP 2026-06-13] */
@container oclocwiz (max-width: 639px) {
    .ocloc-wiz-w { flex-direction: column; }
    .ocloc-wiz-side-panel { display: none; }              /* sin lateral, como LP (latepoint-hide-side-panel) */
    .ocloc-wiz-form-content { padding: 20px 16px 4px; }
    .ocloc-wiz-footer       { padding: 8px 16px 18px; }
    .ocloc-wiz-item-name    { font-size: 16px; }
    /* Resumen: acordeón ARRIBA del formulario (DOM es side→form→summary; order
       lo sube por encima del form/footer). Sin scroll horizontal: width auto. */
    .ocloc-wiz-summary {
        order: -1;
        flex: 1 1 auto;
        width: auto;
        border-left: none;
        border-bottom: 1px solid var(--ocloc-border);
        padding: 14px 16px;
    }
    .ocloc-wiz-summary-header { margin-bottom: 0; }
    .ocloc-wiz-summary.is-collapsed .ocloc-wiz-summary-header { margin-bottom: 0; }
    .ocloc-wiz-summary:not(.is-collapsed) .ocloc-wiz-summary-header { margin-bottom: 12px; }
    .ocloc-wiz-summary.is-collapsed .ocloc-wiz-summary-body { display: none; }
}

/* ── Resumen APILADO arriba (contenedor estrecho) = COMPACTO, de un vistazo. El detalle
   (servicio/extras/especialista/fecha/datos) deja de ser una columna alta y se vuelve una
   BANDA de chips que envuelve; el desglose de dinero se aprieta debajo. Reorganiza, no solo
   encoge. CSS puro: display:contents disuelve cada sección en la banda. [2026-06-21] ── */
@container oclocwiz (max-width: 639px) {
    .ocloc-wiz-summary { padding: 13px 16px 15px; }
    .ocloc-wiz-summary:not(.is-collapsed) .ocloc-wiz-summary-header { margin-bottom: 9px; }
    /* Cuerpo = banda flex que envuelve (no columna). */
    .ocloc-wiz-summary-body { flex-direction: row; flex-wrap: wrap; align-items: baseline; column-gap: 6px; row-gap: 6px; }
    .ocloc-wiz-summary-section { display: contents; }            /* disuelve la sección → sus líneas entran a la banda */
    .ocloc-wiz-summary-section-title { display: none; }          /* fuera títulos (Servicio/Extras/Tus datos…) */
    .ocloc-wiz-summary-line {
        display: inline-flex; justify-content: flex-start; align-items: baseline; gap: 5px;
        width: auto; padding: 3px 10px; font-size: 12px; line-height: 1.3;
        background: var(--ocloc-surface-alt); border: 0.8px solid var(--ocloc-border); border-radius: 999px;
    }
    .ocloc-wiz-summary-line-label { overflow-wrap: normal; }
    .ocloc-wiz-summary-line-val { text-align: left; }
    .ocloc-wiz-summary-line-val:empty { display: none; }         /* sin valor → el chip no deja hueco */
    .ocloc-wiz-summary-estimate { background: var(--ocloc-accent-light); border-color: transparent; }
    .ocloc-wiz-summary-agent { gap: 5px; }                                 /* chip especialista compacto */
    .ocloc-wiz-summary-agent .ocloc-wiz-summary-line-val { margin-left: 0; }
    .ocloc-wiz-summary-agent-av { width: 18px; height: 18px; font-size: 9px; }
    .ocloc-wiz-summary-note { flex-basis: 100%; margin: 2px 0 0; }
    .ocloc-wiz-summary-empty { flex-basis: 100%; }
    /* Divisor + dinero → fila completa, apretados; Total y Depósito siguen destacados. */
    .ocloc-wiz-summary-divider { flex-basis: 100%; width: 100%; margin: 10px 0 8px; }
    .ocloc-wiz-quote-table { flex-basis: 100%; width: 100%; margin: 0; }
    .ocloc-wiz-quote-row { padding: 6px 12px; font-size: 0.86rem; }
    .ocloc-wiz-quote-row.bold { font-size: 0.95rem; }
    .ocloc-wiz-quote-row.highlight { font-size: 1.08rem; }
    .ocloc-wiz-quote-row.highlight .ocloc-wiz-quote-label { font-size: 0.86rem; }
    .ocloc-wiz-quote-reassure { flex-basis: 100%; margin: 6px 2px 0; font-size: 0.74rem; line-height: 1.35; }
    .ocloc-wiz-coupon-feedback { flex-basis: 100%; }
}

/* ── FALLBACK: navegadores SIN container queries (Safari <16, Chrome <105, Firefox <110).
   Sin @container, esos navegadores no aplicarían NINGUNA de las reglas de arriba y caerían al
   layout base de 3 columnas (laterales fijos) → aplastado en el embed y desbordado en móvil
   antiguo. Aquí restauramos el comportamiento por VIEWPORT anterior (que ya funcionaba en esos
   navegadores). Los modernos ignoran este bloque y usan @container (que arregla el embed real). ── */
@supports not (container-type: inline-size) {
    @media (min-width: 768px) {
        .ocloc-wiz-summary-toggle-icon { display: none; }
        .ocloc-wiz-summary.is-collapsed .ocloc-wiz-summary-body { display: flex; }
    }
    @media (max-width: 980px) {
        .ocloc-wiz-side-panel { display: none; }
        .ocloc-wiz-summary { flex: 0 0 260px; width: 260px; }
    }
    @media (max-width: 767px) {
        .ocloc-wiz-w { flex-direction: column; }
        .ocloc-wiz-side-panel { display: none; }
        .ocloc-wiz-form-content { padding: 20px 16px 4px; }
        .ocloc-wiz-footer       { padding: 8px 16px 18px; }
        .ocloc-wiz-item-name    { font-size: 16px; }
        .ocloc-wiz-summary {
            order: -1; flex: 1 1 auto; width: auto;
            border-left: none; border-bottom: 1px solid var(--ocloc-border); padding: 14px 16px;
        }
        .ocloc-wiz-summary-header { margin-bottom: 0; }
        .ocloc-wiz-summary.is-collapsed .ocloc-wiz-summary-header { margin-bottom: 0; }
        .ocloc-wiz-summary:not(.is-collapsed) .ocloc-wiz-summary-header { margin-bottom: 12px; }
        .ocloc-wiz-summary.is-collapsed .ocloc-wiz-summary-body { display: none; }
    }
}

/* ── prefers-reduced-motion: respeta la preferencia del sistema. Neutraliza el
   giro del chevron del acordeón, el spinner, los toasts y todas las transiciones
   sin romper el layout (requisito a11y Stage B / ui-ux-pro-max). ───────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ─────────────────────────────────────────────────────────────────────────────
   TRANSICIÓN DE PASO — entrada aesthetic (fade + slide-up + sutil scale).
   Cada .ocloc-wiz-step se crea de cero en cada cambio de paso (goTo), así que la
   animación CSS se reproduce SOLA al insertarse — sin JS. easeOutQuint, estilo
   wizard moderno. El bloque prefers-reduced-motion de arriba la neutraliza.
   [transición de paso 2026-06-20]
───────────────────────────────────────────────────────────────────────────── */
/* El PASO entra deslizándose en la dirección del viaje (avanzar = desde la
   derecha, volver = desde la izquierda) + fade + un blur-out sutil → sensación
   de wizard premium. La clase de dirección la pone goTo() en el host. Encima,
   los bloques internos (título, contenido…) se ASIENTAN con un stagger vertical.
   ease-out-expo (sin rebote). Solo props compuestas (transform/opacity/filter),
   nunca layout. El bloque prefers-reduced-motion (arriba) lo neutraliza. */
.ocloc-wiz-step {
    animation: ocloc-wiz-step-fwd 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    will-change: transform, opacity, filter;
}
.ocloc-wiz-dir-back .ocloc-wiz-step { animation-name: ocloc-wiz-step-back; }
@keyframes ocloc-wiz-step-fwd {
    from { opacity: 0; transform: translate3d(34px, 0, 0);  filter: blur(5px); }
    to   { opacity: 1; transform: translate3d(0, 0, 0);     filter: blur(0);   }
}
@keyframes ocloc-wiz-step-back {
    from { opacity: 0; transform: translate3d(-34px, 0, 0); filter: blur(5px); }
    to   { opacity: 1; transform: translate3d(0, 0, 0);     filter: blur(0);   }
}
/* Stagger de los bloques internos: se asientan subiendo, escalonados. */
.ocloc-wiz-step > * {
    animation: ocloc-wiz-child-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.ocloc-wiz-step > *:nth-child(1)   { animation-delay: 0.06s; }
.ocloc-wiz-step > *:nth-child(2)   { animation-delay: 0.12s; }
.ocloc-wiz-step > *:nth-child(3)   { animation-delay: 0.18s; }
.ocloc-wiz-step > *:nth-child(4)   { animation-delay: 0.24s; }
.ocloc-wiz-step > *:nth-child(n+5) { animation-delay: 0.30s; }
@keyframes ocloc-wiz-child-in {
    from { opacity: 0; transform: translate3d(0, 14px, 0); }
    to   { opacity: 1; transform: translate3d(0, 0, 0);    }
}
/* El scroll-to-top al cambiar de paso (core.js goTo) deja un pequeño margen
   superior para no quedar pegado a la barra del tenant. */
#ocloc-booking-root { scroll-margin-top: 16px; }

/* "Total estimado" del paso Extras (suma orientativa servicio + extras): destaca
   como sumatorio con separador superior + negrita. */
.ocloc-wiz-summary-estimate {
    margin-top: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--ocloc-border, rgba(15, 31, 30, 0.1));
    font-weight: 600;
}
.ocloc-wiz-summary-estimate .ocloc-wiz-summary-line-val { font-weight: 700; }

/* ─────────────────────────────────────────────────────────────────────────────
   MANTENIMIENTO (retoque/relleno) — swap card en el paso Servicio + notice
   persistente. La tarjeta del HIJO sugerido ocupa el hueco del padre con badge
   shimmer + borde "respirando"; el notice destacado vive como hermano del root
   (persiste entre pasos). Solo transform/opacity/filter/box-shadow (compuestas,
   sin layout). prefers-reduced-motion las neutraliza. [mantenimiento 2026-07-19]
───────────────────────────────────────────────────────────────────────────── */
@keyframes ocloc-mant-breathe{0%,100%{box-shadow:0 0 0 0 rgba(50,111,180,.45),0 0 18px 0 rgba(50,111,180,.10)}50%{box-shadow:0 0 0 7px rgba(50,111,180,0),0 0 26px 4px rgba(50,111,180,.22)}}
@keyframes ocloc-mant-shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}
@keyframes ocloc-mant-swap-in{from{opacity:0;transform:translateY(10px) scale(.98);filter:blur(4px)}to{opacity:1;transform:none;filter:none}}
.ocloc-wiz-item-mant{border:1.5px solid var(--ocloc-primary);border-radius:12px;animation:ocloc-mant-breathe 2.6s ease-in-out infinite}
.ocloc-wiz-mant-badge{display:inline-block;padding:3px 10px;border-radius:999px;color:#fff;font-size:12px;font-weight:600;background:linear-gradient(110deg,#326fb4 30%,#5b93d6 50%,#326fb4 70%);background-size:200% 100%;animation:ocloc-mant-shimmer 3s linear infinite}
.ocloc-mant-swap-in{animation:ocloc-mant-swap-in .5s cubic-bezier(.16,1,.3,1)}
/* Tarjeta swap: entra (swap-in, una vez) y luego respira — animación COMPUESTA;
   sin este selector la regla .ocloc-mant-swap-in (posterior) pisaría la respiración. */
.ocloc-wiz-item-mant.ocloc-mant-swap-in{animation:ocloc-mant-swap-in .5s cubic-bezier(.16,1,.3,1),ocloc-mant-breathe 2.6s ease-in-out .5s infinite}
@media (prefers-reduced-motion:reduce){.ocloc-wiz-item-mant,.ocloc-wiz-item-mant.ocloc-mant-swap-in,.ocloc-wiz-mant-badge,.ocloc-mant-swap-in{animation:none}}

/* Sección del swap (badge + sub-línea + tarjeta + enlace revert) */
.ocloc-wiz-mant-sec{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin:4px 0 10px}
.ocloc-wiz-mant-sec .ocloc-wiz-item-mant{align-self:stretch}
.ocloc-wiz-mant-sub{font-size:12px;line-height:1.45;color:var(--ocloc-text-muted);margin:0}
.ocloc-wiz-mant-decline{align-self:flex-start;font-size:12px;padding:6px 0}
.ocloc-wiz-mant-decline:focus-visible,
.ocloc-mant-revert:focus-visible{outline:3px solid var(--ocloc-accent-light);outline-offset:2px;border-radius:4px}

/* Notice destacado del swap (hermano del root → hereda tokens de :root, no del wizard) */
.ocloc-mant-notice{
    margin:0 0 12px;padding:14px 16px;
    border:1.5px solid var(--ocloc-primary);border-radius:12px;
    background:var(--ocloc-accent-light);
    font-family:var(--ocloc-font);color:var(--ocloc-text);
}
.ocloc-mant-notice-title{margin:0 0 4px;font-size:15px;font-weight:700;line-height:1.35;color:var(--ocloc-primary)}
.ocloc-mant-notice-body{margin:0 0 4px;font-size:13px;line-height:1.5}
.ocloc-mant-notice .ocloc-wiz-link{font-size:13px;padding:6px 0;cursor:pointer}
