/* Dilook – Tiempos de envío · Dilook Media Dev */
.dlte {
	--dlte-main: #1f1f1f;
	--dlte-accent: #4a86e8;
	--dlte-ink: #1f1f1f;
	--dlte-muted: #7a7a7a;
	--dlte-line: #e3e3e3;
	--dlte-main-text: #fff;
	--dlte-accent-text: #fff;

	box-sizing: border-box;
	width: 100%;
	margin: 16px 0;
	padding: 14px 0 4px;
	border-top: 1px solid var(--dlte-line);
	color: var(--dlte-ink);
	font-family: inherit;
	line-height: 1.35;
}
.dlte[hidden], .dlte [hidden] { display: none !important; }
.dlte *, .dlte *::before, .dlte *::after { box-sizing: border-box; }

.dlte svg {
	fill: none;
	stroke: currentColor;
	stroke-width: 1.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.dlte__title {
	margin-bottom: 10px;
	font-size: 10px;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--dlte-muted);
}

/* Pestañas ------------------------------------------------------------ */
.dlte__tabs {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 6px;
	margin-bottom: 14px;
}
.dlte__tab {
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	margin: 0;
	padding: 9px 4px 8px;
	background: transparent; /* toma el fondo del sitio */
	border: 1px solid var(--dlte-line);
	border-radius: 6px;
	color: var(--dlte-ink);
	font: inherit;
	text-align: center;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
.dlte__tab:hover { border-color: var(--dlte-main); }
.dlte__tab:focus-visible { outline: 2px solid var(--dlte-accent); outline-offset: 2px; }
.dlte__tab .dlte__ico { width: 20px; height: 20px; color: var(--dlte-muted); }
.dlte__tab b {
	display: block;
	max-width: 100%;
	margin-top: 3px;
	overflow: hidden;
	font-size: 10.5px;
	font-weight: 600;
	letter-spacing: .04em;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}
.dlte__tab small { display: block; margin-top: 2px; font-size: 10px; color: var(--dlte-muted); }
.dlte__tab.is-on { background: var(--dlte-main); border-color: var(--dlte-main); color: var(--dlte-main-text); }
.dlte__tab.is-on .dlte__ico,
.dlte__tab.is-on small { color: var(--dlte-main-text); }

/* Detalle -------------------------------------------------------------- */
.dlte__head { margin-bottom: 3px; font-size: 13.5px; font-weight: 600; }
.dlte__head b { color: var(--dlte-accent); font-weight: 600; }
.dlte__cut,
.dlte__note { margin: 0 0 4px; font-size: 11.5px; line-height: 1.45; color: var(--dlte-muted); }
.dlte__note { margin-bottom: 0; }

.dlte__steps {
	position: relative;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin: 14px 0 0;
	padding: 0;
	list-style: none;
}
/* Línea base (gris) y tramo recorrido (acento) por separado, para poder animar el avance. */
.dlte__steps::before,
.dlte__steps::after {
	content: "";
	position: absolute;
	top: 13px;
	left: 16.66%;
	height: 2px;
}
.dlte__steps::before { right: 16.66%; background: var(--dlte-line); }
.dlte__steps::after { width: 33.34%; background: var(--dlte-accent); transform-origin: left center; }
.dlte__step {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	padding: 0 4px;
	text-align: center;
}
.dlte__step::marker { content: none; }
.dlte__dot {
	display: grid;
	place-items: center;
	width: 28px;
	height: 28px;
	margin-bottom: 6px;
	background: #fff;
	border: 2px solid var(--dlte-line);
	border-radius: 50%;
	color: var(--dlte-muted);
}
.dlte__dot svg { width: 15px; height: 15px; }
.dlte__step.is-done .dlte__dot { background: var(--dlte-accent); border-color: var(--dlte-accent); color: var(--dlte-accent-text); }
.dlte__step.is-next .dlte__dot { border-color: var(--dlte-accent); color: var(--dlte-accent); }
.dlte__lbl { font-size: 10px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--dlte-ink); }
.dlte__date { margin-top: 2px; font-size: 12px; color: var(--dlte-muted); }
.dlte__nowrap { white-space: nowrap; }

/* ------------------------------------------------------------------ */
/* Animación: el cuadro aparece al entrar en pantalla y cada panel     */
/* cuenta su recorrido (Comprás → avanza la línea → paso 2 → paso 3).  */
/* ------------------------------------------------------------------ */
.dlte--anim:not(.is-seen) { opacity: 0; }
.dlte--anim.is-seen { animation: dlte-rise .45s ease-out both; }

.dlte__panel.is-in .dlte__head { animation: dlte-fade .35s ease-out both; }
.dlte__panel.is-in .dlte__step .dlte__dot { animation: dlte-pop .42s cubic-bezier(.3, 1.4, .5, 1) var(--dlte-d) both; }
.dlte__panel.is-in .dlte__step .dlte__lbl,
.dlte__panel.is-in .dlte__step .dlte__date { animation: dlte-fade .35s ease-out calc(var(--dlte-d) + 80ms) both; }
.dlte__step:nth-child(1) { --dlte-d: .15s; }
.dlte__step:nth-child(2) { --dlte-d: .8s; }
.dlte__step:nth-child(3) { --dlte-d: 1.05s; }
.dlte__panel.is-in .dlte__steps::after { animation: dlte-fill .55s ease-in-out .35s both; }
.dlte__panel.is-in .dlte__step.is-next .dlte__dot {
	animation: dlte-pop .42s cubic-bezier(.3, 1.4, .5, 1) var(--dlte-d) both,
	           dlte-ring .9s ease-out 1.15s 1;
}

@keyframes dlte-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes dlte-fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes dlte-pop  { 0% { opacity: 0; transform: scale(.5); } 70% { opacity: 1; transform: scale(1.08); } 100% { opacity: 1; transform: scale(1); } }
@keyframes dlte-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
/* El destello toma el color de acento (el círculo "is-next" tiene color: var(--dlte-accent)). */
@keyframes dlte-ring { from { box-shadow: 0 0 0 0 color-mix(in srgb, currentColor 35%, transparent); } to { box-shadow: 0 0 0 8px color-mix(in srgb, currentColor 0%, transparent); } }

@media (prefers-reduced-motion: reduce) {
	.dlte, .dlte * { animation: none !important; transition: none !important; }
	.dlte--anim { opacity: 1 !important; }
}

@media (max-width: 360px) {
	.dlte__tab b { font-size: 9.5px; letter-spacing: .02em; }
	.dlte__head { font-size: 13px; }
	.dlte__date { font-size: 11.5px; }
}
