/* The desk of a walk with dates (blocks/till/Desk.astro), the owner's mock-up of 17.11.2026:
   the ticket of the hour, the numbered steps under it, then what is chosen in one line, the
   one button and what it promises on a well of deeper paper, the questions and the map.
   Wider, the steps, the questions and the map at the left and only the well at the right,
   held in sight as the left scrolls. Its pieces (the ticket, the days' card, a field, the button) look as everywhere. */
/* as wide as the header's sheet, over the reading column of .entrada-pagina (landing.css) */
.caja { max-width: var(--hoja); }
.caja-par { display: grid; gap: var(--hueco-6); margin-top: var(--hueco-2); font-family: var(--f-ui); }
.caja-pasos { display: grid; gap: var(--hueco-6); align-content: start; min-width: 0; }

.caja-paso { display: grid; gap: var(--hueco-3); min-width: 0; }
.caja-paso-t { display: flex; align-items: baseline; gap: var(--hueco-2); margin: 0; font-family: var(--f-prosa); font-size: 1.1rem; font-weight: 700; line-height: 1.25; }
.caja-paso-n { font-family: var(--f-prosa); font-size: 1.5rem; font-style: italic; font-weight: 500; line-height: 1; color: var(--estampilla); }

.caja-cierre { padding: var(--hueco-4); border-radius: var(--curva); background: var(--papel-hondo); }
.caja-resumen { margin: 0; font-size: 1rem; font-weight: 700; line-height: 1.35; }
.caja-resumen:empty { display: none; }
.caja-condiciones, .caja-aviso { color: var(--tinta-suave); font-size: 0.78rem; line-height: 1.35; }
.caja-condiciones { margin: var(--hueco-2) 0 0; text-align: center; }
.caja-aviso { margin: var(--hueco-3) 0 0; }
.caja-aviso a, .caja-condiciones a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; }
.caja-garantias { display: grid; gap: var(--hueco-1); margin: var(--hueco-3) 0 0; padding: 0; list-style: none; color: var(--tinta-suave); font-size: 0.88rem; font-weight: 500; line-height: 1.35; }
.caja-garantias li { display: flex; gap: var(--hueco-2); }
.caja-garantias li::before { content: "✓"; content: "✓" / ""; color: var(--hecho); font-weight: 700; }

@media (min-width: 56rem) {
  .caja-par { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); column-gap: var(--hueco-8); align-items: start; }
  /* the steps, the questions and the map down the left; the well alone at the right, across
     their three rows, so it sticks the whole way down and has nothing under it to cover */
  .caja-par > :not(.caja-cierre) { grid-column: 1; }
  .caja-cierre { grid-column: 2; grid-row: 1 / span 3; }
}
/* held only where the window has room for all of it under the header; lower, it stays at the top */
@media (min-width: 56rem) and (min-height: 32rem) {
  .caja-cierre { position: sticky; top: calc(var(--cabecera, 0px) + var(--hueco-4)); }
}
