/* =====================================================================
   UGO DELIVERY — assets/css/recorrido_guiado.css
   Estilos del recorrido guiado (tooltips paso a paso)
   ===================================================================== */

.recorrido-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 15, 0.55);
    z-index: 9998;
}

.recorrido-resaltado {
    position: absolute;
    border-radius: 10px;
    box-shadow: 0 0 0 4px var(--color-primario, #FF6B00), 0 0 0 9999px rgba(15, 15, 15, 0.55);
    z-index: 9999;
    pointer-events: none;
    transition: top .3s ease, left .3s ease, width .3s ease, height .3s ease;
}

.recorrido-caja {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    z-index: 10000;
    font-family: 'Inter', sans-serif;
    transition: top .3s ease, left .3s ease;
}

.recorrido-caja__paso {
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--color-primario, #FF6B00);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.recorrido-caja__titulo {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 8px;
    color: #1a1a1a;
}

.recorrido-caja__texto {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.5;
    margin: 0 0 18px;
}

.recorrido-caja__botones {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.recorrido-btn {
    border: none;
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.recorrido-btn--primario {
    background: var(--color-primario, #FF6B00);
    color: #fff;
}
.recorrido-btn--primario:hover {
    filter: brightness(1.08);
}

.recorrido-btn--secundario {
    background: #f1f5f9;
    color: #333;
}

.recorrido-btn--texto {
    background: none;
    color: #888;
    padding: 9px 8px;
}
.recorrido-btn--texto:hover {
    color: #444;
}

/* Botón flotante de "Ayuda" para volver a ver el recorrido cuando quieran */
.recorrido-btn-ayuda {
    position: fixed;
    bottom: 90px;
    right: 24px;
    background: #fff;
    border: 2px solid var(--color-primario, #FF6B00);
    color: var(--color-primario, #FF6B00);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(0,0,0,0.15);
    z-index: 500;
    font-family: inherit;
    display: flex;
    align-items: center;
    gap: 6px;
}
.recorrido-btn-ayuda:hover {
    background: var(--color-primario, #FF6B00);
    color: #fff;
}

@media (max-width: 640px) {
    .recorrido-caja { width: calc(100vw - 32px) !important; left: 16px !important; }
    .recorrido-btn-ayuda { bottom: 80px; right: 16px; padding: 10px 14px; font-size: 0.78rem; }
}
