/* Peluquería Alba: frambuesa */
.agenda { display: grid; }
.agenda-cap, .agenda-cos { display: grid; grid-template-columns: 52px repeat(var(--cols), minmax(0, 1fr)); column-gap: 8px; }
.agenda-cap { padding-bottom: 12px; }
.agenda-cap b { display: block; font-weight: 600; }
.agenda-cap small { color: var(--muted); font-size: 12px; }
.agenda-cos { position: relative; }
.hores { position: relative; grid-column: 1; }
.hores span { position: absolute; left: 0; transform: translateY(-50%); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.linia { position: absolute; left: 60px; right: 0; height: 1px; background: var(--rule); }
.linia.mitja { background: transparent; border-top: 1px dashed var(--rule); }
.columna { position: relative; grid-row: 1; }
.cita { position: absolute; left: 0; right: 0; display: flex; flex-direction: column; justify-content: flex-start; gap: 2px; padding: 6px 8px; overflow: hidden; text-align: left; border: 0; border-radius: 6px; background: var(--accent-soft); color: var(--accent-ink); cursor: pointer; transition: background var(--t-hover) ease; }
.cita:hover { background: var(--accent-track); }
.cita b { font-weight: 600; font-size: 13px; line-height: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cita span { font-size: 12px; line-height: 16px; color: var(--accent-ink); opacity: .85; }
.cita.curta { padding: 0 8px; justify-content: center; }
.cita.feta { background: var(--raised); color: var(--muted); }
.cita.feta span { color: var(--muted); }
.ara { position: absolute; left: 52px; right: 0; height: 1px; background: var(--accent); z-index: 2; }
.ara span { position: absolute; left: -52px; top: -9px; font-size: 12px; color: var(--accent); background: var(--surface); padding-right: 4px; font-variant-numeric: tabular-nums; }
.hora-r { width: 44px; flex: none; color: var(--accent-ink); font-weight: 600; }

/* Reservar online */
.reserva-marc { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: var(--gap); align-items: start; }
.mobil { background: var(--surface); border: 1px solid var(--border); border-radius: 24px; overflow: hidden; min-height: 640px; }
.mobil-cap { display: flex; gap: 12px; align-items: center; padding: 20px; background: var(--accent-soft); }
.mobil-cap .segell { width: 40px; height: 40px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.mobil-cap b { display: block; font-size: 16px; color: var(--accent-ink); }
.mobil-cap small { color: var(--accent-ink); }
.mobil-cos { display: grid; gap: 16px; padding: 20px; }
.mobil-cos h2 { font-size: 20px; }
.passos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.passos i { height: 4px; border-radius: 2px; background: var(--accent-track); }
.passos i.fet { background: var(--accent); }
.opcions { display: grid; gap: 8px; }
.opcio { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 56px; padding: 10px 14px; text-align: left; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); cursor: pointer; transition: border-color var(--t-hover) ease, background var(--t-hover) ease; }
.opcio:hover { border-color: var(--accent); background: var(--accent-soft); }
.opcio b { display: block; font-weight: 600; }
.opcio small { color: var(--muted); }
.xips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; }
.xips button { flex: none; height: 36px; padding: 0 12px; border: 1px solid var(--control); border-radius: 999px; background: var(--surface); cursor: pointer; }
.xips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.hores-lliures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.hores-lliures button { height: 44px; border: 1px solid var(--border); border-radius: 8px; background: var(--surface); cursor: pointer; font-weight: 500; transition: border-color var(--t-hover) ease, background var(--t-hover) ease; }
.hores-lliures button:hover { border-color: var(--accent); background: var(--accent-soft); }
.resum { padding: 12px 14px; border-radius: 10px; background: var(--raised); line-height: 21px; }
.btn.gran { height: 48px; font-size: 15px; }
.fet { display: grid; gap: 12px; }
.explica .rows .row { align-items: flex-start; line-height: 21px; }

@media (max-width: 860px) {
  .agenda-cap, .agenda-cos { grid-template-columns: 40px repeat(var(--cols), minmax(0, 1fr)); column-gap: 4px; }
  .linia { left: 44px; }
  .ara { left: 40px; }
  .ara span { left: -40px; }
  .cita { padding: 4px 6px; }
  .cita b { font-size: 12px; }
  .agenda-cap .rol { display: none; }
  #tria-dia { display: flex; width: 100%; overflow-x: auto; }
  #tria-dia button { flex: none; white-space: nowrap; }
  .cita span { display: none; }
  .reserva-marc { grid-template-columns: 1fr; }
  .mobil { border-radius: 16px; min-height: 0; }
}
.cita.mini b { font-size: 11px; line-height: 14px; }
