/* Alyn · estilos compartidos (página de pedidos y panel) */
:root {
  --crema: #FFFDEB;
  --rosa: #EAAACD;
  --rosa-claro: #FBE7F1;
  --nube: #AAD7EF;
  --nube-claro: #E3F2FA;
  --tinta: #3A3536;
  --gris: #6B6466;
  --borde: #F0E6CF;
  --linea: #F7F0DF;
  --apagado: #F3EFE6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--crema);
  color: var(--tinta);
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.45;
}
h1, h2, h3, .display { font-family: 'Alexandria', sans-serif; font-weight: 600; margin: 0; line-height: 1.15; }
p { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--tinta); }
img { max-width: 100%; }
:focus-visible { outline: 3px solid var(--nube); outline-offset: 2px; }

.tarjeta { background: #fff; border: 1px solid var(--borde); border-radius: 22px; padding: 18px; }
.nota { font-size: 13px; color: var(--gris); }
.etiqueta { font-weight: 700; font-size: 14px; }
.etiqueta-mini { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); }

.btn {
  border: 0; border-radius: 999px; min-height: 44px; padding: 0 18px;
  font-weight: 700; font-size: 15px; background: var(--rosa); color: var(--tinta);
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; text-decoration: none;
}
.btn-sec { background: var(--crema); box-shadow: inset 0 0 0 1.5px var(--rosa); }
.btn-borde { background: transparent; box-shadow: inset 0 0 0 1.5px var(--borde); }
.btn-chico { min-height: 38px; padding: 0 14px; font-size: 14px; }
.btn:disabled { background: var(--apagado); box-shadow: none; cursor: not-allowed; }

.pill {
  border: 0; border-radius: 999px; min-height: 40px; padding: 0 14px; font-size: 14px; font-weight: 700;
  background: var(--crema); box-shadow: inset 0 0 0 1.5px var(--borde); text-decoration: none;
  display: inline-flex; align-items: center; white-space: nowrap;
}
.pill[aria-pressed="true"] { background: var(--rosa); box-shadow: none; }
.pills { display: flex; flex-wrap: wrap; gap: 6px; }

.campo { display: flex; flex-direction: column; gap: 6px; }
input[type=text], input[type=number], input[type=password], input[type=date], select, textarea {
  height: 44px; border: 1.5px solid var(--borde); border-radius: 12px; padding: 0 12px;
  background: var(--crema); font-size: 16px; width: 100%; min-width: 0;
}
textarea { height: auto; min-height: 120px; padding: 10px 12px; resize: vertical; }

.foto-vacia {
  background: repeating-linear-gradient(45deg, var(--rosa-claro) 0 8px, #FFF6FA 8px 16px);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Alexandria', sans-serif; font-size: 13px; font-weight: 600;
}
.chip { display: inline-block; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.oculto { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
