/* Original sand paper from CARTA TERRENAL oct2026 digital.pdf.
   Container sizing keeps public pages and editor previews consistent. */
.book-page {
  --paper-ink:#241e15;
  --paper-muted:#3b3021;
  container-type:inline-size;
  color:var(--paper-ink);
  background:#f1dfbf url('img/carta/papel-arena.jpg') center / cover;
  min-height:28rem;
  overflow:hidden;
  font-family:'Cormorant Garamond',Georgia,serif;
  font-weight:500;
  text-align:center;
}
.book-page-inner { display:flex; flex-direction:column; height:100%; padding:clamp(1rem,5cqw,1.5rem); }
.book-brand { flex:none; margin:0 auto 0.75rem; }
.book-logo { display:block; width:min(100%,15rem); height:auto; margin-inline:auto; filter:brightness(0); }
.book-brand .book-logo { width:clamp(5.9rem,32cqw,7.5rem); }
.book-page-content { flex:1; min-height:0; overflow:auto; scrollbar-width:thin; scrollbar-color:#8d7145 transparent; padding-inline:0.15rem; }
.book-menu-group { padding:0; }
.book-menu-group + .book-menu-group { margin-top:1.4rem; }
.book-page-heading { display:flex; align-items:center; gap:0.6rem; margin-bottom:1rem; }
.book-page-heading::before,.book-page-heading::after { content:''; flex:1; height:1px; background:#76603d; }
.book-page-heading h3 { font-family:inherit; font-size:clamp(1.375rem,7cqw,1.625rem); font-weight:600; line-height:1.1; text-transform:uppercase; }
.book-dishes { margin:0; padding:0; list-style:none; }
.book-dish + .book-dish { margin-top:0.75rem; }
.book-dish h4 { font-family:inherit; font-size:clamp(1.25rem,6cqw,1.375rem); font-weight:700; line-height:1.1; text-wrap:balance; }
.book-dish p { font-size:clamp(0.9375rem,4.5cqw,0.96875rem); line-height:1.3; color:var(--paper-muted); }
.book-dish-description { margin-top:0.2rem; }
.book-dish .book-dish-price { margin-top:0.25rem; color:var(--paper-ink); }
.book-price { font-weight:700; font-variant-numeric:lining-nums tabular-nums; white-space:nowrap; }
.book-dish .book-dish-variant { margin-top:0.25rem; }
.book-dish-variant .book-price { color:var(--paper-ink); }
.book-page-footer { flex:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; margin-top:0.75rem; padding:0.5rem 0 0; background:transparent; color:var(--paper-muted); font-family:'Jost',sans-serif; font-size:0.75rem; }
.book-introduction { justify-content:center; align-items:center; gap:1.5rem; text-align:center; }
.book-introduction .book-logo { width:min(100%,18rem); }
.book-introduction h3 { font:500 2.25rem/1.05 'Cormorant Garamond',Georgia,serif; }
.book-introduction p { font:500 1.2rem/1.3 'Cormorant Garamond',Georgia,serif; color:var(--paper-muted); }
.book-front-cover .book-logo { filter:none; }
.book-page ::selection { color:#fff9ef; background:#7e6039; }
