@font-face { font-family: Cormorant; src: url("assets/cormorant-latin.woff2") format("woff2"); font-style: normal; font-weight: 300 700; font-display: swap; }
@font-face { font-family: Cormorant; src: url("assets/cormorant-italic.woff2") format("woff2"); font-style: italic; font-weight: 300 700; font-display: swap; }
@font-face { font-family: DM; src: url("assets/dm-sans-latin.woff2") format("woff2"); font-style: normal; font-weight: 100 1000; font-display: swap; }
:root {
  color-scheme: light;
  --ink: #291f19;
  --wine: #621d21;
  --dark-wine: #48171a;
  --cream: #f1e7d1;
  --sheet: #fff9e9;
  --muted: #605650;
  --rule: #c8bdb0;
  --serif: Cormorant, Georgia, 'Times New Roman', serif;
  --sans: DM, 'Segoe UI', Arial, sans-serif;
  font-family: var(--sans);
  font-size: 100%;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: .19em; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
  outline: 3px solid #92711f; outline-offset: 3px;
}
.skip { position: absolute; z-index: 5; top: 0; left: 0; padding: .8rem 1rem; background: var(--sheet); transform: translateY(-120%); }
.skip:focus { transform: translateY(0); }
.top-inner, .page-wrap, .footer-inner {
  width: min(80rem, 100% - clamp(2rem, 7.5vw, 8rem)); margin-inline: auto;
}
.masthead { border-bottom: 1px solid #b8885d; color: #fbecd1; background: #451c20; }
.top-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.top-inner { min-height: 5.5rem; }
.brand { font: italic 600 2rem/.95 var(--serif); color: var(--wine); display: inline-flex; flex-direction: column; text-decoration: none; white-space: nowrap; }
.masthead .brand { color: #fbecd1; }
.brand span { margin: 0 0 .32rem .2rem; font: 700 .72rem/1 var(--sans); text-transform: uppercase; letter-spacing: .24em; }
.masthead nav { display: flex; gap: clamp(1rem, 3vw, 2.5rem); }
.masthead nav a, .footer-inner > a:last-child { font-size: .95rem; text-decoration-color: transparent; }
.masthead nav a:hover, .footer-inner > a:last-child:hover { text-decoration-color: currentColor; }
.title-area { padding: clamp(2.4rem, 6vw, 5.7rem) 0 clamp(1.8rem, 4.5vw, 3.5rem); display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.7rem; }
.overline, .controls label, .category-inner h3 { font: 700 .79rem/1.45 var(--sans); letter-spacing: .14em; text-transform: uppercase; }
.overline { margin: 0 0 .72rem; color: var(--wine); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 0; font: normal clamp(4rem, 8.2vw, 8rem)/.96 var(--serif); letter-spacing: -.065em; }
h1 em { color: var(--wine); font-weight: 400; }
.venue-nav { display: flex; align-items: stretch; border: 1px solid var(--wine); }
.venue-nav a { display: flex; flex-direction: column; justify-content: center; min-width: 10.8rem; padding: .65rem 1.25rem .75rem; text-decoration: none; color: var(--wine); }
.venue-nav a + a { border-inline-start: 1px solid var(--wine); }
.venue-nav span { font: 1.4rem/1.3 var(--serif); }
.venue-nav small { font-size: .82rem; }
.venue-nav [aria-current] { background: var(--wine); color: var(--sheet); }
.venue-nav a:not([aria-current]):hover { background: #e9ded1; }
.venue { border-top: 2px solid var(--wine); margin-bottom: clamp(2.4rem, 6vw, 6rem); }
.venue-intro { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 2rem; padding: 2rem 0; }
.venue h2 { margin: 0; font: 400 clamp(2rem, 3.8vw, 3.8rem)/1.05 var(--serif); letter-spacing: -.045em; }
.edition { justify-self: end; max-width: 32rem; margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.5; }
.edition strong { display: block; font-size: 1rem; color: var(--ink); font-weight: 650; margin-bottom: .17rem; }
.edition a { color: var(--wine); white-space: nowrap; }
.controls { display: flex; align-items: end; flex-wrap: wrap; gap: 1rem; padding: 1.15rem 0 1.5rem; border-block: 1px solid var(--rule); }
.controls label { display: block; font-size: .75rem; margin-bottom: .4rem; }
.search-wrap { width: min(100%, 24rem); }
.search-field { display: flex; align-items: center; gap: .75rem; border: 1px solid #ab9d90; background: var(--sheet); border-radius: 2px; padding: 0 .75rem; }
.search-field:focus-within { border-color: var(--wine); outline: 2px solid var(--wine); outline-offset: 1px; }
.search-field input { display: block; min-width: 0; width: 100%; min-height: 2.85rem; border: 0; background: transparent; outline: none; }
.search-field input:focus-visible { outline: 0; }
.loupe { display: block; position: relative; border: 1.6px solid currentColor; width: .9rem; height: .9rem; border-radius: 50%; margin: 0 .12rem 0 .08rem; flex: none; color: var(--wine); }
.loupe::after { content: ''; position: absolute; width: .45rem; height: 1.6px; background: currentColor; top: 80%; left: 83%; transform: rotate(45deg); transform-origin: left center; }
.category-select { display: none; }
.text-action { min-height: 2.85rem; padding: .25rem .35rem; background: transparent; border: 0; color: var(--wine); text-decoration: underline; text-underline-offset: .2em; }
#resultado { margin: auto 0 0 auto; align-self: end; padding-bottom: .8rem; color: var(--muted); font-size: .9rem; }
.menu-layout { padding-top: 1.7rem; }
.enhanced .menu-layout { display: grid; grid-template-columns: clamp(11rem, 17vw, 14rem) minmax(0, 1fr); gap: clamp(1.8rem, 3vw, 3.4rem); }
.category-inner { position: sticky; top: 1.6rem; }
.category-inner h3 { margin: .7rem 0 .6rem; color: var(--muted); }
.category-inner button { display: block; width: 100%; min-height: 2.8rem; background: transparent; border: 0; border-bottom: 1px solid var(--rule); text-align: left; padding: .5rem .7rem; }
.category-inner button[aria-pressed=true] { background: var(--wine); color: var(--sheet); border-color: var(--wine); }
.category-inner button:hover:not([aria-pressed=true]) { background: #ede6d9; }
.menu-paper { padding: clamp(1.3rem, 3vw, 2.8rem); background: var(--sheet); border: 1px solid #cbb89c; box-shadow: 0 3px 0 -1px var(--cream), 0 3px 0 #bda98e, 0 12px 25px #5b321318; }
.menu-category + .menu-category { margin-top: 2.3rem; }
.menu-category h3 { margin: 0 0 .6rem; padding-bottom: .6rem; border-bottom: 1px solid var(--wine); color: var(--wine); font: italic 400 clamp(1.65rem, 2.7vw, 2.55rem)/1.15 var(--serif); letter-spacing: -.04em; }
.dish-list { list-style: none; padding: 0; margin: 0; }
.dish { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; padding: .72rem 0; border-bottom: 1px dotted var(--rule); }
.dish > div { min-width: 0; }
.dish-name, .price { font: 600 clamp(1.2rem, 1.6vw, 1.4rem)/1.25 var(--serif); }
.menu-category h3 { scroll-margin-top: .8rem; }
.chapter-date { display: none; }
.menu-category:target .chapter-date, .menu-category h3:target .chapter-date { display: block; color: var(--muted); font: 500 .86rem/1.45 var(--sans); letter-spacing: 0; margin-top: .3rem; }
.price { flex: none; font-variant-numeric: lining-nums tabular-nums; }
.dish small { display: block; margin-top: .1rem; font-size: .85rem; line-height: 1.45; color: var(--muted); }
#sin-resultados { margin: .6rem 0; line-height: 1.55; }
.cavaleri-grid { display: grid; grid-template-columns: .95fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; border-top: 1px solid var(--rule); padding-top: 1.8rem; }
.booklet { position: relative; padding: clamp(1.8rem, 4vw, 3rem); color: var(--sheet); background: var(--wine); border: 1px solid #371114; box-shadow: 0 3px 0 -1px var(--cream), 0 3px 0 var(--wine); }
.booklet .overline { color: #f2dbc1; }
.booklet h3 { margin: 1.3rem 0 1rem; font: normal clamp(2.7rem, 5.5vw, 5rem)/.98 var(--serif); letter-spacing: -.055em; }
.booklet p:not(.overline) { font-size: 1rem; line-height: 1.55; max-width: 30rem; }
.solid-button { display: inline-flex; align-items: center; justify-content: center; margin-top: .65rem; padding: .85rem 1.15rem; color: var(--wine); background: var(--sheet); font-weight: 650; text-decoration: none; border: 1px solid var(--sheet); }
.solid-button:hover { background: #ead4b8; }
.booklet-meta { display: block; margin-top: .6rem; color: #eadaca; font-size: .85rem; }
.cavaleri-offer { margin: 0; }
.cavaleri-offer div { padding: 1.25rem 0; border-bottom: 1px solid var(--rule); }
.cavaleri-offer div:first-child { padding-top: .25rem; }
.cavaleri-offer dt { margin-bottom: .5rem; color: var(--wine); font: normal clamp(1.6rem, 2.4vw, 2.2rem)/1.15 var(--serif); }
.cavaleri-offer dd { margin: 0; line-height: 1.6; color: var(--muted); }
footer { background: #291d19; color: var(--cream); }
.footer-inner { padding: 2.4rem 0; }
.footer-inner .brand { color: var(--cream); }
.mobile-contact { display: none; }
@media (max-width: 760px) {
  .top-inner { min-height: 4.6rem; }
  .title-area { display: block; }
  .venue-nav { width: fit-content; max-width: 100%; margin-top: 1.75rem; }
  .venue-nav a { min-width: 0; flex: 1 0 auto; }
  .venue-intro { display: block; padding: 1.6rem 0; }
  .edition { margin-top: 1rem; }
  .enhanced .menu-layout { display: block; }
  .category-list { display: none; }
  .controls { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
  .search-wrap, .category-select { width: auto; min-width: 0; }
  .category-select { display: block; }
  select { width: 100%; min-height: 2.85rem; border: 1px solid #ab9d90; border-radius: 2px; background-color: var(--sheet); padding: .4rem 1.7rem .4rem .55rem; }
  .text-action { min-height: 2.5rem; text-align: left; width: max-content; }
  #resultado { grid-column: 2; text-align: right; padding: .25rem 0; }
  .menu-paper { padding: 1.15rem; }
  .cavaleri-grid { grid-template-columns: 1fr; }
}
@media (max-width: 550px) {
  .top-inner, .page-wrap, .footer-inner { width: calc(100% - 2.1rem); }
  .title-area { padding: 1.35rem 0 1.05rem; }
  .masthead nav { gap: .85rem; }
  .masthead nav a { font-size: .87rem; }
  .venue-nav { width: 100%; margin-top: 1.05rem; }
  .venue-nav a { padding: .65rem .9rem; }
  .venue-nav span { font-size: 1.2rem; }
  .venue-nav small { font-size: .76rem; }
  .venue-intro { padding: 1.05rem 0; }
  .edition { margin-top: .65rem; }
  .controls { column-gap: .5rem; grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); padding: .8rem 0; }
  .menu-layout { padding-top: .9rem; }
  .controls label { font-size: .72rem; letter-spacing: .06em; }
  .search-field { padding: 0 .5rem; gap: .4rem; }
  .footer-inner { align-items: flex-start; padding-bottom: 5rem; }
  .footer-inner > a:last-child { max-width: 11rem; text-align: right; }
  .enhanced .mobile-contact { display: grid; grid-template-columns: 1fr 1fr; position: fixed; z-index: 3; left: 0; right: 0; bottom: 0; border-top: 1px solid var(--wine); color: var(--wine); background: var(--cream); padding-bottom: env(safe-area-inset-bottom); }
  .mobile-contact a { display: grid; place-items: center; text-align: center; text-decoration: none; min-height: 3.1rem; font-size: .93rem; font-weight: 600; }
  .mobile-contact a:first-child { background: var(--wine); color: var(--sheet); }
}
@media print {
  .masthead nav, .venue-nav, .controls, .category-list, .mobile-contact, footer, .skip { display: none !important; }
  body, .menu-paper { color: black; background: white; }
  .enhanced .menu-layout { display: block; }
  .top-inner, .page-wrap { width: 100%; }
  .title-area { padding: 1rem 0; }
  .menu-paper { padding: 0; border: 0; box-shadow: none; }
  .dish { break-inside: avoid; }
  .menu-category h3 { break-after: avoid; }
}
