html{scroll-behavior:smooth}
#carta-completa{scroll-margin-top:5rem}
.preview-badge{position:fixed;left:16px;bottom:72px;z-index:60;background:#d89b2b;color:#000;font:800 12px/1 Montserrat,sans-serif;letter-spacing:.15em;text-transform:uppercase;padding:12px 16px;border:2px solid #000;box-shadow:4px 4px 0 #000}
@media (min-width:768px){.preview-badge{bottom:16px}}
/* Mobile menu rows with photo: photo + name/tagline on top, full-width description, prices as a row of boxes.
   Only below 640px; tablet/desktop keep the original three-column row. */
@media (max-width:639px){
  .menu-row.has-img{display:grid;grid-template-columns:5rem minmax(0,1fr);column-gap:1rem;align-items:start}
  .menu-row.has-img .mr-mid{display:contents}
  .menu-row.has-img .mr-thumb{grid-column:1;grid-row:1}
  .menu-row.has-img .mr-top{grid-column:2;grid-row:1;align-self:center;padding:.125rem 0}
  .menu-row.has-img .mr-head{margin-bottom:0;row-gap:.5rem}
  .menu-row.has-img .mr-tag{margin:.5rem 0 0;line-height:1.35}
  .menu-row.has-img .mr-desc{grid-column:1/-1;margin-top:1rem}
  .menu-row.has-img .mr-prices{grid-column:1/-1;margin-top:1rem;text-align:left}
  .menu-row.has-img .mr-plist{flex-direction:row;gap:.5rem}
  .menu-row.has-img .mr-price{flex:1 1 0;min-width:0;align-items:flex-start;justify-content:space-between;gap:.35rem;background:#fff;border:1px solid #e7e5e4;padding:.625rem .75rem}
  .menu-row.has-img .mr-price>span:first-child{white-space:normal}
}
/* Hours: on phones each shift on its own line instead of wrapping mid-time. */
@media (max-width:639px){
  .hours-slots{display:flex;flex-direction:column;align-items:flex-end;row-gap:.15rem}
  .hours-slot{white-space:nowrap}
  .hours-sep{display:none}
}
/* Very narrow phones: icon + "Horarios" on one line, the list full width below so shifts fit. */
@media (max-width:379px){
  .hours-card{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:1.25rem;row-gap:1rem;align-items:start}
  .hours-body{display:contents}
  .hours-title{margin:0}
  .hours-list{grid-column:1/-1}
}
/* Click-to-load map placeholder */
.map-gate{position:absolute;inset:0;min-height:400px;display:flex;align-items:center;justify-content:center;padding:2rem;background:#f5f5f4 repeating-linear-gradient(45deg,transparent 0 22px,rgba(0,0,0,.035) 22px 23px)}
.map-gate-inner{display:flex;flex-direction:column;align-items:center;gap:1.25rem;text-align:center;max-width:26rem}
.map-gate-note{font-size:.8rem;line-height:1.5;color:#78716c}
.map-gate-note a{color:#8e2c2c;font-weight:700;text-decoration:underline;text-underline-offset:2px}
.map-gate-remember{display:inline-flex;align-items:center;gap:.5rem;font-size:.8rem;color:#57534e;cursor:pointer}
.map-gate-remember input{accent-color:#8e2c2c;width:1rem;height:1rem}
/* Legal pages */
.legal{max-width:52rem}
.legal h2{font-weight:900;text-transform:uppercase;font-size:1.25rem;line-height:1.2;margin:2.75rem 0 1rem;color:#000;letter-spacing:-.01em}
.legal h3{font-weight:800;font-size:1rem;margin:1.5rem 0 .5rem;color:#000}
.legal p,.legal li{color:#44403c;line-height:1.75;font-size:.975rem}
.legal p+p{margin-top:.85rem}
.legal ul{list-style:disc;padding-left:1.25rem;margin:.75rem 0;display:grid;gap:.4rem}
.legal a{color:#8e2c2c;font-weight:700;text-decoration:underline;text-underline-offset:2px;word-break:break-word}
.legal dl{display:grid;grid-template-columns:max-content 1fr;gap:.6rem 1.5rem;background:#fff;border:1px solid #e7e5e4;padding:1.25rem 1.5rem;margin:1rem 0}
.legal dt{font-size:.7rem;text-transform:uppercase;letter-spacing:.18em;font-weight:700;color:#78716c;padding-top:.2rem}
.legal dd{color:#000;font-weight:600}
.legal table{width:100%;border-collapse:collapse;margin:1rem 0;font-size:.9rem;background:#fff}
.legal th,.legal td{border:1px solid #e7e5e4;padding:.65rem .8rem;text-align:left;vertical-align:top;color:#44403c}
.legal th{background:#000;color:#fff;font-size:.7rem;text-transform:uppercase;letter-spacing:.15em}
.legal .btn{display:inline-block;margin-top:.75rem;background:#000;color:#fff;text-decoration:none;font-weight:700;text-transform:uppercase;letter-spacing:.15em;font-size:.8rem;padding:.9rem 1.4rem}
.legal .btn:hover{background:#8e2c2c}
.legal .btn[hidden]{display:none}
@media (max-width:639px){.legal dl{grid-template-columns:1fr;gap:.15rem}.legal dd{margin-bottom:.6rem}.legal table{display:block;overflow-x:auto}}
