/* Contenedor Principal */
.pf-resultado-seguimiento {
    background: #fff;
    border: 1px solid #d6c7b2;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    max-width: 650px;
    margin: 20px auto;
}

.pf-titulo-principal {
    color: #5a3e2b;
    font-size: 1.6em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
}

/* --- Timeline (Línea de tiempo) --- */
.pf-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    margin: 40px 0 50px;
}

.pf-line-bg {
    position: absolute;
    top: 20px;
    left: 10%;
    right: 10%;
    height: 4px;
    background: #f0f0f0;
    z-index: 1;
}

.pf-line-progress {
    position: absolute;
    top: 20px;
    left: 10%;
    height: 4px;
    background: #5a3e2b;
    z-index: 1;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.pf-step {
    position: relative;
    z-index: 2;
    width: 33%;
    text-align: center;
}

.pf-step-icon {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 3px solid #f0f0f0;
    border-radius: 50%;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.4s ease;
}

.pf-step.active .pf-step-icon {
    border-color: #5a3e2b;
    background: #5a3e2b;
    color: #fff;
    transform: scale(1.1);
}

.pf-step span {
    display: block;
    font-size: 13px;
    font-weight: bold;
    color: #ccc;
    transition: color 0.4s;
}

.pf-step.active span {
    color: #5a3e2b;
}

/* --- Notas y Actualizaciones --- */
.pf-subtitulo {
    color: #5a3e2b;
    font-size: 1.1em;
    margin-bottom: 15px;
    border-left: 4px solid #d6c7b2;
    padding-left: 12px;
    text-align: left;
}

.pf-nota-item {
    background: #fdfaf7;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 12px;
    text-align: left;
    border: 1px solid #f2e9de;
}

.pf-fecha-nota {
    color: #a38d78;
    display: block;
    font-size: 0.85em;
    margin-bottom: 5px;
    text-transform: capitalize;
}

.pf-nota-item p {
    margin: 0;
    color: #444;
    line-height: 1.4;
}

/* --- Tarjeta de Envío y Paquetería --- */
.pf-tracking-card, .pf-waiting-box {
    background: #f9f9f9;
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px dashed #d6c7b2;
}

.pf-tracking-card code {
    display: inline-block;
    background: #eee;
    padding: 4px 10px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1em;
    margin: 5px 0;
}

/* --- Botones --- */
.pf-btn-track {
    display: inline-block;
    padding: 14px 28px;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 8px;
    font-weight: bold;
    margin-top: 20px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pf-btn-track:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* Colores de Paquetería */
.fedex { background-color: #4d148c; }
.estafeta { background-color: #e30613; }
.dhl { background-color: #ffcc00; color: #000 !important; }
.correos { background-color: #006738; }
.default { background-color: #5a3e2b; }


/* Asegurar que el footer y el botón de WhatsApp sean visibles */
.pf-footer-seguimiento {
    display: block !important;
    visibility: visible !important;
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    clear: both;
}

.pf-btn-whatsapp {
    display: inline-block !important;
    background: #25d366 !important;
    color: white !important;
    padding: 12px 30px !important;
    border-radius: 50px !important;
    text-decoration: none !important;
    font-weight: bold !important;
    margin-bottom: 10px;
}

.pf-btn-whatsapp:hover {
    background: #128c7e !important;
    color: white !important;
}

/* Evitar que WooCommerce meta su tabla si ya encontramos el pedido */
.pf-resultado-seguimiento + .woocommerce {
    display: none !important;
}    
    
    
    
    