/*
 * Nuriplast — la tienda: compra en la ficha, carrito, finalizar la compra, página del pedido y
 * «Mis pedidos». Va encima de paginas.css (y de catalogo.css en la ficha) y usa el mismo
 * sistema: píldoras, verde oliva para lo que se pulsa y tarjetas grises de esquinas grandes.
 */

/* ═══ Utilidades ═════════════════════════════════════════════════════════════════════ */
.derecha { text-align: right !important; }
.mono { font-family: var(--f-mono); font-size: .94em; letter-spacing: 0; }
.boton--ancho { width: 100%; justify-content: center; }
.boton--ancho [data-boton-texto], .boton--ancho [data-boton-total] { white-space: nowrap; }
@media (max-width: 479px) {
    .resumen-compra .boton--grande { gap: .45rem; padding: 18px 16px; font-size: 14px; }
}
.boton[aria-busy="true"] { opacity: .7; pointer-events: none; }
.boton[data-vacio] { opacity: .55; }
.boton-texto { background: none; border: 0; padding: 0; color: #56752F; text-decoration: underline; cursor: pointer; font: inherit; }
.tienda-pagina .contenedor { position: relative; }

/* Avisos dentro de la página (líneas quitadas, errores del formulario…) */
.nota-tienda {
    margin: 0 0 1.2rem; padding: 1rem 1.3rem;
    border-radius: var(--radio-s);
    background: rgba(159, 193, 112, .16);
    box-shadow: inset 3px 0 0 var(--verde);
    font-size: .95rem; color: var(--tinta);
}
.nota-tienda--aviso { background: #FFF6E5; box-shadow: inset 3px 0 0 #E9A23B; }
.nota-tienda--error { background: #FDEDEC; box-shadow: inset 3px 0 0 #D93A33; }
.nota-tienda ul { margin: .4rem 0 0; padding-left: 1.2rem; }

/* Aviso flotante de «Añadido al carrito» con su enlace */
.aviso--carrito { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .4rem 1rem; }
.aviso--carrito a { font-weight: 700; color: #56752F; white-space: nowrap; }

/* Pasos de la compra, bajo el título de la cabecera */
.pasos-compra {
    display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 1.8rem;
    list-style: none; margin: 1.6rem 0 0; padding: 0;
    font-size: .78rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
    color: rgba(255, 255, 255, .55);
}
.pasos-compra li { display: inline-flex; align-items: center; gap: .55rem; }
.pasos-compra b {
    display: grid; place-items: center;
    width: 26px; height: 26px; border-radius: 50%;
    box-shadow: inset 0 0 0 1.5px currentColor;
    font-size: .74rem;
}
.pasos-compra [aria-current] { color: var(--blanco); }
.pasos-compra [aria-current] b { background: var(--verde); color: var(--negro); box-shadow: none; }
.pasos-compra .hecho { color: var(--verde-claro); }

/* Página vacía (carrito vacío, tienda cerrada…) */
.vacio-tienda { display: grid; justify-items: center; gap: .6rem; padding: clamp(1rem, 4vw, 3rem) 0; text-align: center; }
.vacio-tienda > svg { width: 64px; height: 64px; color: var(--verde-hondo); margin-bottom: .6rem; }
.vacio-tienda h2 { margin: 0; }
.vacio-tienda .entradilla { margin: 0 auto; }
.vacio-tienda .botones { justify-content: center; margin-top: 1.4rem; }

/* ═══ Selector de cantidad ═══════════════════════════════════════════════════════════ */
.cantidad {
    display: inline-flex; align-items: center;
    height: 48px; padding: 4px;
    border-radius: var(--pildora);
    background: #F2F2F2;
    transition: box-shadow .3s ease, background-color .3s ease;
}
.cantidad:focus-within { background: var(--blanco); box-shadow: inset 0 0 0 1.5px var(--verde), 0 0 0 4px rgba(159, 193, 112, .22); }
.cantidad input {
    width: 4.6rem; height: 100%;
    border: 0; background: transparent;
    font: 600 1rem/1 var(--f-cuerpo); text-align: center; color: var(--negro);
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield; appearance: textfield;
}
.cantidad input::-webkit-outer-spin-button, .cantidad input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.cantidad input:focus { outline: none; }
.cantidad-boton {
    display: grid; place-items: center;
    width: 40px; height: 40px; flex: none;
    border: 0; border-radius: 50%;
    background: var(--blanco); color: var(--negro);
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .08);
    transition: background-color .25s ease, color .25s ease, transform .25s var(--curva);
}
.cantidad-boton svg { width: 16px; height: 16px; }
.cantidad-boton:hover { background: var(--verde); color: var(--blanco); }
.cantidad-boton:active { transform: scale(.92); }
.tabla .cantidad { height: 42px; }
.tabla .cantidad-boton { width: 34px; height: 34px; }
.tabla .cantidad input { width: 4rem; font-size: .95rem; }

/* ═══ Ficha de producto: comprar ═════════════════════════════════════════════════════ */
.ficha-precio-desde { display: block; font-family: var(--f-cuerpo); font-size: .78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tinta-3); margin-bottom: .2rem; }
.ficha-precio-antes { margin-left: .6rem; font-size: .55em; color: var(--tinta-3); }
.ficha-compra { margin-top: 2rem; }
.ficha-compra-rotulo { display: block; margin: 0 0 .6rem; font-size: .76rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tinta-3); }
.ficha-compra-rotulo small { font-size: 1em; font-weight: 600; text-transform: none; letter-spacing: 0; }
.ficha-compra-fila { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; }
.ficha-compra .cantidad { height: 58px; }
.ficha-compra .cantidad-boton { width: 50px; height: 50px; }
.ficha-stock { margin: .8rem 0 0; font-size: .86rem; font-weight: 600; color: #B36B00; }
.ficha-botones--secundarios { margin-top: 1.1rem; }
.ficha-botones--secundarios .boton { padding: 13px 20px; font-size: 13px; }
.ficha-en-carrito {
    display: flex; align-items: center; gap: .5rem;
    margin: 1.2rem 0 0; font-size: .92rem; color: var(--tinta-2);
}
.ficha-en-carrito svg { width: 18px; height: 18px; color: var(--verde-hondo); }
.ficha-en-carrito a { color: #56752F; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ficha-agotado { margin: 1.8rem 0 0; padding: 1rem 1.2rem; border-radius: var(--radio-s); background: #FFF6E5; font-size: .95rem; }
.ficha-ventajas { display: grid; gap: .55rem; list-style: none; margin: 1.8rem 0 0; padding: 1.3rem 0 0; border-top: 1px solid var(--linea); font-size: .9rem; color: var(--tinta-2); }
.ficha-ventajas li { display: flex; align-items: center; gap: .7rem; }
.ficha-ventajas svg { width: 20px; height: 20px; flex: none; color: var(--verde-hondo); }

/* La tabla de pedido: una fila por medida */
.ficha-pedido { margin-top: clamp(4rem, 8vw, 6.5rem); scroll-margin-top: 110px; }
.ficha-pedido-cabeza { display: grid; gap: .6rem 3rem; margin-bottom: 2rem; }
@media (min-width: 980px) { .ficha-pedido-cabeza { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; } }
.ficha-pedido-cabeza h2 { margin: 0; }
.ficha-pedido-cabeza .entradilla { margin: 0; }
.tabla-pedido { min-width: 640px; }
.tabla-pedido td { vertical-align: middle; }
.tabla-pedido small { font-size: .9em; font-weight: 600; text-transform: none; letter-spacing: 0; }
.tabla-precio { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Venta por bolsas: tamaño de la bolsa y precio de la pieza, bajo el precio */
.tabla-pedido .tabla-bolsa { display: block; margin-top: .15rem; font-size: .74rem; font-weight: 400; color: var(--tinta-3); line-height: 1.35; }
.tabla-quedan { display: block; margin-top: .3rem; font-size: .74rem; font-weight: 600; color: #B36B00; }
.fila-agotada td { color: var(--tinta-3); }
.marca-agotado { display: inline-block; padding: .3rem .8rem; border-radius: var(--pildora); background: #F2F2F2; font-size: .74rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--tinta-3); }
.muestra-color {
    display: inline-block; vertical-align: -2px;
    width: 14px; height: 14px; margin-right: .5rem;
    border-radius: 50%;
    background: var(--muestra, #B5B5B5);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18);
}
.ficha-pedido-pie {
    position: sticky; bottom: 12px; z-index: 5;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .8rem 1.6rem;
    margin-top: 1.2rem; padding: .8rem .8rem .8rem 1.4rem;
    border-radius: var(--pildora);
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .45), inset 0 0 0 1px var(--linea);
}
.ficha-pedido-total { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.ficha-pedido-total:empty { display: none; }
.tabla-medida-extra { display: none; }
@media (max-width: 619px) {
    .tabla-pedido { min-width: 0; }
    .tabla-pedido th:nth-child(1), .tabla-pedido td:nth-child(1),
    .tabla-pedido th:nth-child(3), .tabla-pedido td:nth-child(3) { display: none; }
    .tabla-medida-extra { display: block; margin-top: .25rem; font-size: .76rem; color: var(--tinta-3); }
    .tabla-pedido th, .tabla-pedido td { padding-left: .5rem; padding-right: .5rem; }
    .tabla-pedido .cantidad { height: 38px; }
    .tabla-pedido .cantidad-boton { width: 30px; height: 30px; }
    .tabla-medida-extra .muestra-color { width: 11px; height: 11px; margin-right: .3rem; }
    .tabla-pedido .cantidad input { width: 2.4rem; }
    .ficha-pedido-pie { border-radius: var(--radio-s); justify-content: center; }
    .ficha-pedido-pie .boton { width: 100%; justify-content: center; }
}

/* ═══ Carrito y compra: dos columnas con el resumen pegado a la derecha ════════════════ */
.compra-rejilla { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); align-items: start; }
@media (min-width: 1000px) { .compra-rejilla { grid-template-columns: minmax(0, 1fr) 400px; } }
.compra-principal { min-width: 0; }

.lineas-carrito { display: grid; gap: 14px; }
.linea-carrito {
    display: grid; align-items: center; gap: .9rem 1.2rem;
    grid-template-columns: 88px minmax(0, 1fr) auto;
    grid-template-areas: "foto datos quitar" "foto cantidad importe";
    padding: 16px;
    border-radius: var(--radio-m);
    background: var(--gris-tarjeta);
    transition: opacity .3s ease, transform .3s var(--curva);
}
@media (min-width: 760px) {
    .linea-carrito { grid-template-columns: 110px minmax(0, 1fr) auto 7.5rem 44px; grid-template-areas: "foto datos cantidad importe quitar"; padding: 18px 18px 18px 18px; }
}
.linea-carrito[aria-busy="true"] { opacity: .6; }
.linea-carrito.saliendo { opacity: 0; transform: translateX(20px); }
@media (max-width: 759px) {
    /* En el móvil la cantidad baja a su propia fila, a todo lo ancho, con el importe a la derecha. */
    .linea-carrito { grid-template-areas: "foto datos quitar" "cantidad cantidad importe"; }
}
@media (max-width: 479px) { .linea-unidad { display: none; } }
.linea-foto {
    grid-area: foto; align-self: start;
    display: grid; place-items: center;
    aspect-ratio: 1; border-radius: var(--radio-s); overflow: hidden;
    background: #1B1B1B; color: rgba(255, 255, 255, .3);
}
.linea-foto img { width: 100%; height: 100%; object-fit: cover; }
.linea-foto svg { width: 36px; height: 36px; }
.linea-datos { grid-area: datos; min-width: 0; }
.linea-nombre { margin: 0; font-family: var(--f-cuerpo); font-size: 1.02rem; line-height: 1.35; font-weight: 700; letter-spacing: 0; }
.linea-nombre a:hover { color: #56752F; }
.linea-detalle { margin: .15rem 0 0; font-size: .92rem; color: var(--tinta-2); }
.linea-precio { margin: .35rem 0 0; font-size: .82rem; color: var(--tinta-3); }
.linea-ref { font-family: var(--f-mono); }
.linea-cantidad { grid-area: cantidad; display: flex; align-items: center; gap: .6rem; }
.linea-cantidad .cantidad { background: var(--blanco); height: 44px; }
.linea-cantidad .cantidad-boton { width: 36px; height: 36px; background: #F2F2F2; box-shadow: none; }
.linea-cantidad .cantidad input { width: 3.8rem; }
.linea-unidad { font-size: .8rem; color: var(--tinta-3); }
.linea-importe { grid-area: importe; margin: 0; text-align: right; font-weight: 700; font-size: 1.05rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.linea-quitar { grid-area: quitar; justify-self: end; }
.linea-quitar button {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    border: 0; border-radius: 50%;
    background: transparent; color: var(--tinta-3);
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease;
}
.linea-quitar button:hover { background: #FDEDEC; color: #D93A33; }
.linea-quitar svg { width: 20px; height: 20px; }
.seguir-comprando { margin: 1.6rem 0 0; }

/* El resumen */
.resumen-compra {
    position: sticky; top: 100px;
    padding: clamp(1.4rem, 3vw, 2rem);
    border-radius: var(--radio-m);
    background: var(--negro); color: var(--blanco);
    --linea: rgba(255, 255, 255, .16);
    box-shadow: 0 30px 60px -40px rgba(0, 0, 0, .7);
}
.resumen-titulo { margin: 0 0 1.2rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.resumen-cifras { display: grid; margin: 0 0 1.4rem; }
.resumen-cifras > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--linea); }
.resumen-cifras dt { color: rgba(255, 255, 255, .72); }
.resumen-cifras dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.resumen-cifras .resumen-suave { font-weight: 400; font-size: .86rem; color: rgba(255, 255, 255, .6); }
.resumen-total { font-size: 1.25rem; }
.resumen-total dt { color: var(--blanco) !important; font-weight: 700; }
.resumen-iva { border-bottom: 0 !important; padding-top: .2rem !important; font-size: .84rem; }
.resumen-iva dd { font-weight: 400 !important; color: rgba(255, 255, 255, .7); }
.resumen-nota { display: flex; gap: .6rem; margin: 0 0 1.2rem; font-size: .84rem; line-height: 1.5; color: rgba(255, 255, 255, .7); }
.resumen-nota svg { width: 20px; height: 20px; flex: none; color: var(--verde); }
.resumen-nota b { color: var(--verde); }
.resumen-nota[hidden] { display: none; }
.resumen-nota--minimo { padding: .9rem 1rem; border-radius: 14px; background: rgba(233, 162, 59, .16); color: #FFD9A0; display: block; }
.resumen-compra .boton { margin-bottom: 1.2rem; }
.resumen-compra .boton[hidden] { display: none; }
.resumen-garantias { display: grid; gap: .7rem; list-style: none; margin: .4rem 0 0; padding: 1.2rem 0 0; border-top: 1px solid var(--linea); font-size: .84rem; color: rgba(255, 255, 255, .72); }
.resumen-garantias li { display: flex; align-items: center; gap: .7rem; }
.resumen-garantias svg { width: 18px; height: 18px; flex: none; color: var(--verde); }
.resumen-garantias a { color: var(--blanco); font-weight: 700; margin-left: .25rem; }
.resumen-lineas { display: grid; gap: .8rem; list-style: none; margin: 0 0 1rem; padding: 0 0 1rem; border-bottom: 1px solid var(--linea); max-height: 360px; overflow: auto; }
.resumen-lineas li { display: flex; justify-content: space-between; gap: 1rem; font-size: .9rem; }
.resumen-linea-nombre small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .6); }
.resumen-linea-importe { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.resumen-volver { margin: 0; text-align: center; font-size: .86rem; }
.resumen-volver a { color: rgba(255, 255, 255, .7); }
.resumen-volver a:hover { color: var(--verde); }
@media (max-width: 999px) { .resumen-compra { position: static; } }

/* ═══ Finalizar la compra ════════════════════════════════════════════════════════════ */
.campo--desplegable label {
    position: static; display: block;
    margin: 0 0 .35rem 1.2rem;
    font-size: .78rem; color: #56752F; transform: none;
}
.campo select {
    display: block; width: 100%; min-height: 56px;
    padding: 0 48px 0 24px;
    border: 0; border-radius: var(--pildora);
    background: #F2F2F2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 22px center;
    font: 16px/1.4 var(--f-cuerpo); color: var(--negro);
    appearance: none; -webkit-appearance: none;
    cursor: pointer;
}
.campo select:focus { outline: none; background-color: var(--blanco); box-shadow: inset 0 0 0 1.5px var(--verde), 0 0 0 4px rgba(159, 193, 112, .22); }
.campos--envio { margin-top: 1.2rem; }
.campos--envio[hidden], [data-solo-domicilio][hidden] { display: none; }
.compra-principal .campo-ayuda { margin-left: 1.2rem; }
.compra-principal > .casilla { margin-top: 2.4rem; }

/* Tarjetas de elegir (entrega y pago) */
.opciones { display: grid; gap: 12px; }
.opcion { position: relative; display: block; cursor: pointer; }
.opcion input { position: absolute; opacity: 0; pointer-events: none; }
.opcion-caja {
    display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 1rem;
    padding: 1.1rem 1.3rem;
    border-radius: var(--radio-s);
    background: #F2F2F2;
    box-shadow: inset 0 0 0 1.5px transparent;
    transition: box-shadow .3s ease, background-color .3s ease;
}
.opcion-caja > svg { width: 26px; height: 26px; color: var(--tinta-3); transition: color .3s ease; }
.opcion-texto { display: grid; gap: .2rem; }
.opcion-texto b { font-size: 1rem; }
.opcion-texto small { font-size: .84rem; line-height: 1.45; color: var(--tinta-2); }
.opcion-texto .opcion-gratis { color: #56752F; font-weight: 600; }
.opcion-precio { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.opcion:hover .opcion-caja { background: #ECECEC; }
.opcion input:checked + .opcion-caja { background: rgba(159, 193, 112, .16); box-shadow: inset 0 0 0 1.5px var(--verde); }
.opcion input:checked + .opcion-caja > svg { color: var(--verde-hondo); }
.opcion input:focus-visible + .opcion-caja { box-shadow: inset 0 0 0 1.5px var(--verde), 0 0 0 4px rgba(159, 193, 112, .3); }

/* ═══ Página del pedido ══════════════════════════════════════════════════════════════ */
.aviso-pedido {
    display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 1.2rem;
    margin: 0 0 clamp(2.5rem, 5vw, 3.5rem); padding: clamp(1.3rem, 3vw, 2rem);
    border-radius: var(--radio-m);
    background: #F3F6EE;
    box-shadow: inset 4px 0 0 var(--verde);
}
.aviso-pedido > svg { width: 48px; height: 48px; padding: 11px; border-radius: 50%; background: var(--verde); color: var(--blanco); }
.aviso-pedido h2 { margin: 0 0 .4rem; font-size: clamp(1.4rem, 1.2rem + .8vw, 2rem); }
.aviso-pedido p { margin: 0 0 .8rem; color: var(--tinta-2); }
.aviso-pedido form { margin-top: 1rem; }
.aviso-pedido--atencion { background: #FFF6E5; box-shadow: inset 4px 0 0 #E9A23B; }
.aviso-pedido--atencion > svg { background: #E9A23B; }
.aviso-pedido--cerrado { background: #F4F4F4; box-shadow: inset 4px 0 0 #999; }
.aviso-pedido--cerrado > svg { background: #999; }
.aviso-pedido-pie { font-size: .86rem; }
.datos-banco { display: grid; gap: 0; margin: 1rem 0; max-width: 560px; border-radius: var(--radio-s); background: var(--blanco); overflow: hidden; }
.datos-banco > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding: .75rem 1.1rem; border-bottom: 1px solid var(--linea); }
.datos-banco > div:last-child { border-bottom: 0; }
.datos-banco dt { font-size: .74rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tinta-3); align-self: center; }
.datos-banco dd { margin: 0; word-break: break-word; }
@media (max-width: 619px) {
    /* En el móvil el icono va encima y los datos de la transferencia usan todo el ancho. */
    .aviso-pedido { grid-template-columns: minmax(0, 1fr); gap: .9rem; }
    .aviso-pedido > svg { width: 42px; height: 42px; padding: 10px; }
    .datos-banco > div { grid-template-columns: minmax(0, 1fr); gap: .15rem; padding: .7rem 1rem; }
    .datos-banco dd.mono { font-size: .95rem; letter-spacing: .02em; }
}

.pedido-rejilla { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
@media (min-width: 1000px) { .pedido-rejilla { grid-template-columns: minmax(0, 1fr) 380px; } }
.pedido-principal h2.t-32 { margin: clamp(2.5rem, 5vw, 3.5rem) 0 1.2rem; }

.seguimiento { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: paso; }
.seguimiento li { position: relative; display: grid; justify-items: center; gap: .6rem; text-align: center; font-size: .82rem; font-weight: 600; color: var(--tinta-3); }
.seguimiento li::before {
    content: ''; position: absolute; top: 20px; left: -50%; right: 50%; height: 2px;
    background: var(--linea); z-index: 0;
}
.seguimiento li:first-child::before { content: none; }
.seguimiento li.hecho::before { background: var(--verde); }
.seguimiento-punto {
    position: relative; z-index: 1;
    display: grid; place-items: center;
    width: 42px; height: 42px; border-radius: 50%;
    background: #F2F2F2; color: var(--tinta-3);
    font-weight: 700;
}
.seguimiento-punto svg { width: 18px; height: 18px; }
.seguimiento li.hecho { color: var(--tinta); }
.seguimiento li.hecho .seguimiento-punto { background: var(--verde); color: var(--blanco); }
.seguimiento-texto small { display: block; margin-top: .15rem; font-weight: 400; color: var(--tinta-3); }
.seguimiento-estado { margin: 1.6rem 0 0; text-align: center; color: var(--tinta-2); }
@media (max-width: 619px) {
    .seguimiento { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
    .seguimiento li { grid-template-columns: 42px minmax(0, 1fr); justify-items: start; align-items: center; text-align: left; }
    .seguimiento li::before { top: -.8rem; left: 20px; right: auto; width: 2px; height: .8rem; }
    .seguimiento-estado { text-align: left; }
}
.pedido-envio {
    display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.4rem;
    margin: 2rem 0 0; padding: 1.2rem 1.4rem;
    border-radius: var(--radio-s); background: var(--gris-tarjeta);
}
.pedido-envio > svg { width: 30px; height: 30px; color: var(--verde-hondo); }
.pedido-envio p { flex: 1; margin: 0; min-width: 14rem; }

.tabla-lineas { min-width: 520px; }
.tabla-lineas small { color: var(--tinta-3); }
.tabla-lineas tfoot th { font-weight: 400; text-align: right; color: var(--tinta-2); background: transparent; font-size: .92rem; letter-spacing: 0; text-transform: none; }
.tabla-lineas tfoot td { font-variant-numeric: tabular-nums; }
.tabla-lineas tfoot tr { border: 0; }
.tabla-lineas .fila-total th, .tabla-lineas .fila-total td { font-size: 1.1rem; font-weight: 700; color: var(--tinta); border-bottom: 0; }
.tabla-lineas .fila-iva th, .tabla-lineas .fila-iva td { padding-top: 0; font-size: .84rem; color: var(--tinta-3); }
.tabla-lineas tfoot tr:hover { background: transparent !important; }

.pedido-lateral { display: grid; gap: 16px; }
.pedido-caja { padding: 1.5rem; border-radius: var(--radio-m); background: var(--gris-tarjeta); }
.pedido-caja h2 { margin: 0 0 1rem; font-size: 1.4rem; }
.pedido-caja dl { display: grid; gap: .9rem; margin: 0; }
.pedido-caja dt { font-size: .72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--tinta-3); }
.pedido-caja dd { margin: .15rem 0 0; }
.pedido-caja small { color: var(--tinta-2); }
.pedido-caja--ayuda p { margin: 0 0 .8rem; color: var(--tinta-2); }
.pedido-caja--ayuda p:last-child { display: grid; gap: .5rem; margin: 0; }
.pedido-caja--ayuda a { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--tinta); }
.pedido-caja--ayuda a:hover { color: #56752F; }
.pedido-caja--ayuda svg { width: 18px; height: 18px; color: var(--verde-hondo); }
.pedido-guardar { margin: 0; padding: 0 .4rem; font-size: .8rem; color: var(--tinta-3); }

/* ═══ Mis pedidos ════════════════════════════════════════════════════════════════════ */
.mis-pedidos { display: grid; justify-items: center; text-align: center; }
.mis-pedidos > svg { width: 56px; height: 56px; color: var(--verde-hondo); margin-bottom: 1rem; }
.mis-pedidos h2 { margin: 0 0 .6rem; }
.mis-pedidos .entradilla { margin: 0 auto 1.8rem; }
.mis-pedidos-formulario { display: grid; gap: 1rem; width: min(100%, 520px); text-align: left; }
.mis-pedidos-formulario .boton { justify-content: center; }
