@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root{
  --accent:#ff4d6d;
  --bg:#f5f6f8;
  --card:#ffffff;
  --text:#111827;
  --muted:#6b7280;
  --line:#e5e7eb;
}

*{
  box-sizing:border-box;
  font-family:'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}


body{
  margin:0;
  background:var(--bg);
  color:var(--text);
}

.page{
  max-width:960px;
  margin:40px auto;
  padding:0 20px;
}

.header{
  text-align:center;
  margin-bottom:30px;
}

.header h1{
  margin:0;
  font-size:32px;
}

.header p{
  color:var(--muted);
}

.card{
  background:var(--card);
  border-radius:16px;
  padding:28px;
  margin-bottom:24px;
  box-shadow:0 10px 25px rgba(0,0,0,.06);
}

.form{
  display:grid;
  gap:12px;
}

.form input{
  padding:14px;
  border-radius:12px;
  border:1px solid var(--line);
  font-size:15px;
}

.form button{
  padding:14px;
  border-radius:12px;
  background:var(--accent);
  color:#fff;
  border:none;
  font-size:16px;
  font-weight:600;
  cursor:pointer;
}

.muted{
  color:var(--muted);
}

/* ======================
   TIMELINE PRO
====================== */

.timeline-wrapper{
  position:relative;
  margin:50px 0 30px;
}

/* Línea base */
.timeline-line{
  position:absolute;
  top:20px;
  left:0;
  right:0;
  height:4px;
  background:var(--line);
  border-radius:4px;
  z-index:0;
}

/* Línea recorrida */
.timeline-line-progress{
  position:absolute;
  top:20px;
  left:0;
  height:4px;
  background:var(--accent);
  border-radius:4px;
  z-index:1;
}

/* Pasos */
.timeline-steps{
  display:flex;
  justify-content:space-between;
  position:relative;
  z-index:2;
}

.timeline-step{
  flex:1;
  text-align:center;
  position:relative;
}

/* Punto */
.timeline-step .dot{
  width:22px;
  height:22px;
  border-radius:50%;
  margin:0 auto 10px;
  background:#9ca3af;
  border:4px solid #fff;
}

/* Estados */
.timeline-step.done .dot,
.timeline-step.active .dot{
  background:var(--accent);
}

.timeline-step .label{
  font-size:13px;
  color:var(--muted);
  line-height:1.2;
}

.timeline-step.done .label,
.timeline-step.active .label{
  color:var(--text);
  font-weight:600;
}

/* ======================
   STATUS
====================== */

.status-box{
  margin-top:24px;
  padding:16px;
  background:#f9fafb;
  border-radius:12px;
  font-size:15px;
}

/* ======================
   PRODUCTOS
====================== */

.products{
  display:grid;
  gap:16px;
}

.product{
  display:flex;
  gap:16px;
  align-items:center;
}

.product-img{
  width:60px;
  height:60px;
  border-radius:12px;
  background:#f3f4f6;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:24px;
}

.product-title{
  font-weight:600;
}

.error{
  color:#b91c1c;
  background:#fee2e2;
}
.product-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:12px;
  display:block;
}
/* ======================
   TIMELINE – SKIN MODERNO
   (override visual, no lógica)
====================== */

/* Línea base más elegante */
.timeline-line{
  height:6px;
  background:linear-gradient(
    to right,
    var(--line),
    var(--line)
  );
  border-radius:6px;
}

/* Línea de progreso con degradado */
.timeline-line-progress{
  height:6px;
  background:linear-gradient(
    90deg,
    #ff4d6d,
    #ff7a90
  );
  border-radius:6px;
  box-shadow:0 3px 10px rgba(255,77,109,.35);
}

/* Punto base (pendiente) */
.timeline-step .dot{
  width:20px;
  height:20px;
  background:#d1d5db;
  border:3px solid #fff;
  transition:all .25s ease;
}

/* Punto completado */
.timeline-step.done .dot{
  background:#ffb3c1;
}

/* Punto activo (destacado) */
.timeline-step.active .dot{
  width:26px;
  height:26px;
  background:var(--accent);
  box-shadow:
    0 0 0 6px rgba(255,77,109,.15),
    0 6px 14px rgba(255,77,109,.45);
}

/* Labels más finos */
.timeline-step .label{
  margin-top:6px;
  font-size:13px;
  color:#9ca3af;
  transition:all .25s ease;
}

/* Label activo */
.timeline-step.active .label{
  color:var(--text);
  font-weight:700;
}

/* Label completado */
.timeline-step.done .label{
  color:#374151;
  font-weight:600;
}
body{
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Estado actual – más fino y calmante */
.status-title{
  font-size:14px;
  font-weight:600;
  margin-bottom:6px;
}

.status-description{
  font-size:14px;
  line-height:1.6;
  color:var(--muted);
}
/* ======================
   AJUSTE TIPOGRÁFICO GLOBAL
   (solo visual)
====================== */

html{
  font-size:15px;
}

/* Títulos más elegantes */
.header h1{
  font-size:26px;
  font-weight:600;
  letter-spacing:-0.01em;
}

.card h2,
.card h3{
  font-size:18px;
  font-weight:600;
  letter-spacing:-0.01em;
}

/* Estado actual */
.status-box{
  font-size:14px;
}

.status-title{
  font-size:14px;
  font-weight:600;
}

.status-description{
  font-size:14px;
  line-height:1.55;
}

/* Productos */
.product-title{
  font-size:14.5px;
  font-weight:600;
}

.product .muted,
.product-info div{
  font-size:13.5px;
  line-height:1.45;
}

/* Timeline labels */
.timeline-step .label{
  font-size:12.5px;
  font-weight:500;
}
/* ======================
   LAYOUT PRODUCTOS + DIRECCIÓN
====================== */

.split-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:32px;
}

@media(max-width:768px){
  .split-grid{
    grid-template-columns:1fr;
  }
}

.section-title{
  font-size:15px;
  font-weight:600;
  margin-bottom:16px;
}

/* ======================
   DIRECCIÓN DE ENVÍO
====================== */

.address-box{
  background:#f9fafb;
  border:1px solid var(--line);
  border-radius:14px;
  padding:18px;
  font-size:14px;
  line-height:1.6;
}

.address-name{
  font-weight:600;
  margin-bottom:6px;
}

.address-zip{
  margin-top:4px;
  color:var(--muted);
  font-size:13px;
}

.address-note{
  margin-top:14px;
  font-size:13px;
  color:#059669;
  background:#ecfdf5;
  padding:8px 10px;
  border-radius:10px;
}
/* ======================
   CONTACTO & CONFIANZA
====================== */

.contact-box h3{
  margin-bottom:8px;
}

.contact-actions{
  display:flex;
  gap:16px;
  flex-wrap:wrap;
  margin:14px 0;
}

.contact-link{
  text-decoration:none;
  font-size:14px;
  color:var(--text);
  background:#f9fafb;
  padding:10px 14px;
  border-radius:10px;
  border:1px solid var(--line);
  transition:all .2s ease;
}

.contact-link:hover{
  background:#fff;
  border-color:var(--accent);
}

.contact-hours{
  font-size:13px;
}

/* Botón volver */
.back-home{
  text-align:center;
  margin:30px 0 10px;
}

.btn-home{
  display:inline-block;
  padding:12px 22px;
  border-radius:999px;
  background:var(--accent);
  color:#fff;
  text-decoration:none;
  font-weight:600;
  font-size:14px;
  box-shadow:0 6px 18px rgba(255,77,109,.35);
  transition:all .25s ease;
}

.btn-home:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 25px rgba(255,77,109,.45);
}
/* =========================
   BLOQUE DE INCIDENCIAS
========================= */

.incident-box{
  border:1.5px solid #e5533d;
  background:#fff6f4;
  box-shadow:0 6px 18px rgba(229,83,61,.12);
}

.incident-title{
  display:flex;
  align-items:center;
  gap:8px;
  color:#c0392b;
  font-weight:700;
}

.incident-note{
  margin-top:14px;
  padding:12px 14px;
  border-left:4px solid #e5533d;
  background:#ffffff;
  border-radius:8px;
}

.incident-date{
  font-size:13px;
  font-weight:600;
  color:#555;
  margin-bottom:4px;
}

.incident-text{
  font-size:14px;
  line-height:1.45;
}
/* ======================
   TIMELINE MOBILE FIX
====================== */
@media (max-width: 600px) {

  .timeline-wrapper{
    margin:30px 0 20px;
  }

  .timeline-line,
  .timeline-line-progress{
    top:18px;
  }

  .timeline-step .dot{
    width:18px;
    height:18px;
    margin-bottom:8px;
  }

  .timeline-step .label{
    font-size:11px;
    line-height:1.15;
    padding:0 4px;
    word-break:break-word;
  }

  .timeline-steps{
    gap:4px;
  }
}

