/* Arte Sano · Pide para recoger — paleta y tipografía de la Guía de Marca 2026 */
:root {
    --olivo: #161D0E;
    --espresso: #33291F;
    --laton: #B79268;
    --barro: #A9603E;
    --crema: #F6F0E4;
    --lino: #E9DEC9;
    --giz: #F3EFE6;
    --gris: #877E70;
    --error: #A33B2B;
    --serif: 'Cormorant Garamond', Georgia, serif;
    --sans: 'Karla', system-ui, sans-serif;
    --ancho: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 112px; }
body { margin: 0; background: var(--crema); color: var(--espresso); font: 400 16px/1.5 var(--sans); padding-bottom: 96px; }
a { color: var(--barro); }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--olivo); margin: 0; }

.p-head { position: sticky; top: 0; z-index: 20; display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; background: var(--olivo); color: var(--giz); }
.p-marca { font-family: var(--serif); font-size: 24px; color: var(--giz); text-decoration: none; letter-spacing: .01em; }
.p-marca span { color: var(--laton); }
.p-wa { color: var(--giz); font-size: 14px; font-weight: 500; text-decoration: none; border: 1px solid rgba(243,239,230,.45);
    padding: 6px 12px; border-radius: 999px; }

.p-intro, .p-menu, .p-pie { max-width: var(--ancho); margin: 0 auto; padding: 0 16px; }
.p-intro { padding-top: 24px; padding-bottom: 8px; }
.p-eyebrow { margin: 0 0 4px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--barro); font-weight: 700; }
.p-intro h1 { font-size: 36px; line-height: 1.05; }
.p-intro h1 em { color: var(--barro); }
.p-datos { margin: 10px 0 0; color: var(--gris); font-size: 14px; }
.p-aviso { margin: 14px 0 0; padding: 12px 14px; background: var(--lino); border-left: 3px solid var(--barro); font-size: 15px; }

.p-chips { position: sticky; top: 54px; z-index: 15; display: flex; gap: 8px; overflow-x: auto; padding: 10px 16px;
    background: var(--crema); border-bottom: 1px solid var(--lino); scrollbar-width: none; }
.p-chips::-webkit-scrollbar { display: none; }
.p-chips a { flex: none; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--lino); background: #fbf8f1;
    color: var(--espresso); text-decoration: none; font-size: 14px; white-space: nowrap; }
.p-chips a.activa { background: var(--olivo); color: var(--giz); border-color: var(--olivo); }

.p-seccion { padding-top: 20px; }
.p-seccion h2 { font-size: 28px; padding-bottom: 6px; border-bottom: 1px solid var(--laton); }
.p-item { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; padding: 14px 0; border-bottom: 1px dashed var(--lino); }
.p-item h3 { font-size: 21px; line-height: 1.15; }
.p-item p { margin: 0; color: var(--gris); font-size: 14px; grid-column: 1; }
.p-precio { font-weight: 700; color: var(--espresso); white-space: nowrap; text-align: right; }
.p-mas { grid-column: 2; grid-row: 2 / span 2; align-self: end; justify-self: end; width: 40px; height: 40px; border-radius: 50%;
    border: 0; background: var(--barro); color: var(--crema); font-size: 24px; line-height: 1; }
.p-mas:disabled { background: var(--lino); color: var(--gris); cursor: not-allowed; }
.p-cargando { padding: 40px 0; color: var(--gris); }

.p-pie { padding-top: 32px; padding-bottom: 24px; color: var(--gris); font-size: 13px; text-align: center; }
.p-pie p { margin: 4px 0; }

.p-barra { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30;
    width: min(calc(100% - 32px), 688px); display: flex; justify-content: space-between; align-items: center; padding: 15px 20px;
    border: 0; border-radius: 14px; background: var(--olivo); color: var(--giz); font-size: 16px; box-shadow: 0 8px 24px rgba(22,29,14,.28); }
.p-barra b { color: var(--laton); }

.p-hoja { border: 0; padding: 0; margin: auto auto 0; width: 100%; max-width: var(--ancho); max-height: 92vh; border-radius: 18px 18px 0 0;
    background: var(--crema); color: var(--espresso); }
.p-hoja::backdrop { background: rgba(22,29,14,.55); }
.p-hoja-in { position: relative; padding: 22px 18px calc(18px + env(safe-area-inset-bottom)); }
.p-hoja h2 { font-size: 28px; padding-right: 36px; }
.p-cerrar { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--lino);
    font-size: 22px; line-height: 1; color: var(--espresso); }
.p-item-desc { color: var(--gris); margin: 6px 0 4px; }
fieldset { border: 0; margin: 14px 0 0; padding: 0; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 6px; }
legend small { font-weight: 400; color: var(--gris); }
.p-opc { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 6px; border: 1px solid var(--lino); border-radius: 10px;
    background: #fbf8f1; }
.p-opc input { accent-color: var(--olivo); width: 18px; height: 18px; margin: 0; flex: none; }
.p-opc span { flex: 1; }
.p-opc em { font-style: normal; color: var(--gris); white-space: nowrap; }
.p-opc:has(input:checked) { border-color: var(--olivo); }
.p-nota, .p-datos-form label { display: block; margin-top: 14px; font-weight: 700; font-size: 15px; }
.p-nota span, .p-datos-form label span { font-weight: 400; color: var(--gris); }
textarea, input, select { display: block; width: 100%; margin-top: 6px; padding: 11px 12px; border: 1px solid var(--lino); border-radius: 10px;
    background: #fbf8f1; color: var(--espresso); font: 16px var(--sans); }
textarea:focus, input:focus, select:focus { outline: 2px solid var(--laton); outline-offset: 1px; }
.p-error { min-height: 1.2em; margin: 8px 0 0; color: var(--error); font-size: 14px; }
.p-hoja-pie { display: flex; gap: 12px; align-items: center; margin-top: 10px; }
.p-cant { display: flex; align-items: center; border: 1px solid var(--lino); border-radius: 12px; background: #fbf8f1; }
.p-cant button { width: 42px; height: 46px; border: 0; background: none; font-size: 22px; color: var(--olivo); }
.p-cant output { min-width: 26px; text-align: center; font-weight: 700; }
.p-btn { flex: 1; padding: 14px 18px; border: 0; border-radius: 12px; background: var(--olivo); color: var(--giz); font-weight: 700; font-size: 16px; }
.p-btn-grande { width: 100%; margin-top: 12px; background: var(--barro); }
.p-btn:disabled { opacity: .5; cursor: not-allowed; }

.p-lineas { list-style: none; margin: 14px 0 0; padding: 0; }
.p-linea { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px dashed var(--lino); }
.p-linea b { font-weight: 700; }
.p-linea small { color: var(--gris); grid-column: 1; }
.p-linea .p-cant { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.p-linea .p-cant button { width: 34px; height: 36px; font-size: 18px; }
.p-sugerencia { margin-top: 14px; padding: 12px 14px; background: var(--lino); border-radius: 12px; }
.p-sugerencia p { margin: 0 0 8px; font-size: 15px; }
.p-sugerencia button { margin: 0 6px 6px 0; padding: 8px 12px; border: 1px solid var(--laton); border-radius: 999px; background: #fbf8f1;
    color: var(--espresso); font-size: 14px; }
.p-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 16px; font-size: 18px; }
.p-total b { font-family: var(--serif); font-size: 30px; color: var(--olivo); }
.p-letra { margin: 4px 0 0; color: var(--gris); font-size: 13px; }
.p-listo p { margin: 12px 0; }
.p-listo h2 span { color: var(--barro); }

@media (min-width: 760px) {
    .p-intro h1 { font-size: 46px; }
    .p-hoja { margin: auto; border-radius: 18px; }
}
@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}
[hidden] { display: none !important; }
.p-item.con-foto { grid-template-columns: 88px 1fr auto; }
.p-item.con-foto .p-foto { grid-row: 1 / span 3; width: 88px; height: 88px; object-fit: cover; border-radius: 12px; background: var(--lino); }
.p-item.con-foto h3, .p-item.con-foto p { grid-column: 2; }
.p-item.con-foto .p-precio { grid-column: 3; }
.p-item.con-foto .p-mas { grid-column: 3; }
.p-sub { margin: 4px 0 0; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--espresso); }

/* /menu/ · modo mesa (QR de las mesas): solo ver, sin carrito */
.p-mesa-det { margin: 4px 0 0; color: var(--gris); font-size: 13px; line-height: 1.45; grid-column: 1; }
.p-item.con-foto .p-mesa-det { grid-column: 2 / span 2; }
.p-mesa-pie a { color: var(--barro); font-weight: 700; }
