/* Correos rehecha: amarillo y azul medidos en el icono real */
:root { --azul: #002e6d; --azul-hondo: #001f4a; --azul-claro: #e0e6f1; --amarillo: #ffcd00; --tinta: #0d1b33; --tinta-2: #5a6272; --fondo: #f4f2ec; --linea: #e3dfd3; }

/* ---------- dónde está y a qué hora llega ---------- */
.heroe { border-radius: var(--r-l); padding: 16px 16px 14px; color: #fff; background: linear-gradient(160deg, #0a3f8f 0%, var(--azul) 55%, var(--azul-hondo) 100%); box-shadow: 0 1px 2px rgb(0 20 50 / .3), 0 16px 30px -16px rgb(0 20 50 / .7); }
.h-cab small { display: block; font-size: .8125rem; color: rgb(255 255 255 / .8); } .h-cab b { display: block; font-size: 1.125rem; font-weight: 800; color: var(--amarillo); }
.h-hora { display: flex; align-items: baseline; gap: 8px; margin-top: 2px; }
.h-hora b { font-size: 3.25rem; font-weight: 900; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; } .h-hora em { font-style: normal; font-size: 1.25rem; font-weight: 700; opacity: .8; }
.via { position: relative; margin-top: 16px; padding-top: 30px; }
.via .rail { position: absolute; left: 12%; right: 12%; top: 12px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--amarillo) 0 66%, rgb(255 255 255 / .28) 66%); }
.via ol { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.via li { position: relative; text-align: center; font-size: .6875rem; font-weight: 700; color: rgb(255 255 255 / .7); }
.via li::before { content: ""; position: absolute; left: 50%; top: -25px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: var(--azul-hondo); box-shadow: inset 0 0 0 3px rgb(255 255 255 / .45); }
.via li.hecho { color: #fff; } .via li.hecho::before { background: var(--amarillo); box-shadow: none; }
.camion { position: absolute; left: 62.500%; top: -4px; width: 38px; height: 38px; margin-left: -19px; border-radius: 50%; background: var(--amarillo); color: var(--azul-hondo); display: grid; place-items: center; box-shadow: 0 0 0 4px rgb(255 205 0 / .3), 0 6px 12px -4px rgb(0 0 0 / .5); }
.camion svg { stroke-width: 2; }
body.sincamion .camion { opacity: 0; }
.cerca { display: flex; align-items: center; gap: 8px; margin-top: 14px; padding: 9px 12px; border-radius: 12px; background: rgb(255 255 255 / .12); font-size: .9375rem; font-weight: 800; }
.cerca svg { color: var(--amarillo); }

/* ---------- si no vas a estar, eliges antes ---------- */
h3 { margin-top: 18px; }
.opciones { display: grid; gap: 8px; }
.opciones button { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; padding: 10px 14px; border-radius: var(--r-m); background: var(--papel); box-shadow: inset 0 0 0 1.5px var(--linea); text-align: left; }
.opciones i { width: 42px; height: 42px; border-radius: 50%; background: var(--azul-claro); color: var(--azul); display: grid; place-items: center; }
.opciones b { display: block; font-size: 1rem; font-weight: 800; line-height: 1.2; } .opciones small { color: var(--tinta-2); font-size: .8125rem; }
.opciones button[aria-pressed="true"] { background: #fff7d1; box-shadow: inset 0 0 0 2.500px var(--azul); } .opciones button[aria-pressed="true"] i { background: var(--amarillo); color: var(--azul-hondo); }
.hecho-op { display: flex; align-items: center; gap: 8px; margin-top: 10px; padding: 10px 14px; border-radius: var(--r-s); background: #e4f5ec; color: #075c39; font-size: .875rem; font-weight: 700; }
.hecho-op[hidden] { display: none; } .hecho-op svg { stroke-width: 2.6; }

.envios { list-style: none; padding: 0; background: var(--papel); border-radius: var(--r-m); box-shadow: inset 0 0 0 1px var(--linea); }
.envios li { display: grid; grid-template-columns: 1fr auto; gap: 10px; padding: 12px 14px; font-size: .9375rem; } .envios li + li { border-top: 1px solid var(--linea); }
.envios b { display: block; font-weight: 800; } .envios small { color: var(--tinta-2); font-size: .8125rem; } .envios em { font-style: normal; font-weight: 800; color: var(--bien); font-size: .8125rem; }

.pestanas button[aria-current="page"] { color: var(--azul); } .pestanas button[aria-current="page"] svg { background: var(--azul-claro); }
