/* La Paloma · Reservas (prueba) — mismos colores y tipografías que la web */
:root {
  --negro: #141414; --blanco: #fff; --beige: #e9dcc5; --beige-claro: #f6f0e6; --beige-oscuro: #d8c6a6;
  --granate: #7b1e2b; --granate-oscuro: #5c1520; --texto: #2a2622; --texto-suave: #6b625a;
  --verde: #2f7d4a; --ambar: #c98a1b; --rojo: #a8322d; --oro: #c9a14a;
  --serif: "Playfair Display", Georgia, serif; --sans: "Jost", system-ui, sans-serif;
  --radio: 16px; --sombra: 0 10px 30px rgba(40, 20, 10, .12); --sombra-fuerte: 0 24px 60px rgba(40, 20, 10, .25);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font-family: var(--sans); color: var(--texto); background: var(--beige-claro); font-size: 16px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--granate); }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0 0 .4em; }
button { font: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }

/* Aviso de prueba */
.prueba { background: var(--negro); color: var(--beige); text-align: center; font-size: 13px; padding: 6px 12px; letter-spacing: .02em; }
.prueba b { color: #fff; }

/* Cabecera */
.cab { position: sticky; top: 0; z-index: 50; background: rgba(246, 240, 230, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--beige); }
.cab__in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 10px 16px; }
.cab__logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--negro); font-family: var(--serif); font-size: 22px; font-weight: 700; }
.cab__logo img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; }
.cab__nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.cab__nav a { text-decoration: none; color: var(--texto); padding: 8px 12px; border-radius: 999px; font-size: 15px; }
.cab__nav a:hover, .cab__nav a[aria-current] { background: var(--beige); }
.cab__puntos { display: inline-flex; align-items: center; gap: 6px; background: var(--granate) !important; color: #fff !important; }
.cab__puntos small { background: rgba(255, 255, 255, .2); padding: 1px 8px; border-radius: 999px; font-size: 12px; }
@media (max-width: 640px) { .cab__logo span { display: none; } .cab__nav a { padding: 7px 9px; font-size: 14px; } }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 500; text-decoration: none; transition: transform .15s, background .15s, box-shadow .15s; }
.btn:active { transform: scale(.97); }
.btn--lleno { background: var(--granate); color: #fff; box-shadow: 0 6px 16px rgba(123, 30, 43, .3); }
.btn--lleno:hover { background: var(--granate-oscuro); }
.btn--borde { background: transparent; color: var(--granate); border: 1.5px solid var(--granate); }
.btn--borde:hover { background: var(--granate); color: #fff; }
.btn--suave { background: var(--beige); color: var(--texto); }
.btn--suave:hover { background: var(--beige-oscuro); }
.btn--grande { padding: 16px 30px; font-size: 18px; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.enlace { background: none; border: 0; color: var(--texto-suave); text-decoration: underline; padding: 6px; }

/* Tarjetas y etiquetas */
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: var(--beige); font-size: 13px; }
.chip--verde { background: #dcefe2; color: var(--verde); }
.chip--ambar { background: #f7e6c6; color: #8a5c0c; }
.chip--rojo { background: #f4d6d4; color: var(--rojo); }
.chip--ejemplo { background: #fff3cd; color: #7a5a00; font-size: 11px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(20, 14, 10, .55); backdrop-filter: blur(4px); animation: aparecer .25s ease; }
.modal[hidden] { display: none; }
.modal__caja { background: var(--beige-claro); border-radius: 22px; box-shadow: var(--sombra-fuerte); width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; padding: 28px; position: relative; animation: entrar3d .5s cubic-bezier(.2, .9, .3, 1.2); transform-origin: 50% 100%; }
.modal__cerrar { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--beige); font-size: 20px; }
@keyframes aparecer { from { opacity: 0; } }
@keyframes entrar3d { from { opacity: 0; transform: perspective(900px) rotateX(18deg) translateY(40px) scale(.95); } }

/* Platos */
.platos { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.plato { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: var(--sombra); display: flex; flex-direction: column; transition: transform .25s; transform-style: preserve-3d; }
.plato:hover { transform: perspective(700px) rotateX(3deg) rotateY(-4deg) translateY(-3px); }
.plato__foto { aspect-ratio: 4/3; background: var(--beige) center/cover; display: grid; place-items: center; font-size: 44px; position: relative; }
.plato__foto .chip { position: absolute; top: 8px; left: 8px; }
.plato__cuerpo { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.plato__nombre { font-weight: 500; line-height: 1.25; }
.plato__motivo { font-size: 13px; color: var(--texto-suave); }
.plato__pie { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: 8px; }
.plato__precio { font-family: var(--serif); font-weight: 700; font-size: 18px; color: var(--granate); }
.contador { display: inline-flex; align-items: center; gap: 6px; }
.contador button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--granate); background: #fff; color: var(--granate); font-size: 18px; line-height: 1; display: grid; place-items: center; }
.contador button:hover { background: var(--granate); color: #fff; }
.contador output { min-width: 22px; text-align: center; font-weight: 600; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); background: var(--negro); color: #fff; padding: 12px 20px; border-radius: 999px; z-index: 200; box-shadow: var(--sombra-fuerte); animation: aparecer .2s; font-size: 15px; }

/* Formularios */
.campo { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.campo label { font-size: 14px; color: var(--texto-suave); }
.campo { min-width: 0; }
.campo input, .campo select, .campo textarea { width: 100%; min-width: 0; border: 1.5px solid var(--beige-oscuro); border-radius: 12px; padding: 11px 14px; background: #fff; outline: none; }
.campo input:focus, .campo textarea:focus, .campo select:focus { border-color: var(--granate); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--texto-suave); margin: 8px 0; }
.check input { margin-top: 3px; accent-color: var(--granate); }

.pie { text-align: center; color: var(--texto-suave); font-size: 13px; padding: 30px 16px; }
