/* Identidad de Sandwiches Mister. Se carga únicamente para este restaurante. */
body[data-theme] {
    --paper: #fbf5e9;
    --paper-deep: #f0e6d5;
    --white: #fffdf8;
    --ink: #29221b;
    --ink-soft: #65594c;
    --line: #dfd3bf;
    --clay: #b3521d;
    --serif: "DM Sans", "Manrope", sans-serif;
    --theme-aside: #f0e6d5;
    --mister-orange: #f2a126;
}
body.restaurant-page[data-theme] .restaurant-hero {
    min-height: 650px;
    padding: 150px 0 60px;
    background-color: #201b16;
    background-image: linear-gradient(90deg, #201b16 0%, rgba(32,27,22,.96) 27%, rgba(32,27,22,.65) 48%, rgba(32,27,22,0) 72%), url('./hero.webp');
    background-position: center, right center;
    background-size: cover, cover;
    background-repeat: no-repeat;
    border-bottom: 5px solid var(--mister-orange);
    filter: none;
}
body.restaurant-page[data-theme] .restaurant-identity { max-width: 590px; }
body.restaurant-page[data-theme] .restaurant-kicker {
    display: inline-block;
    padding: 0;
    border: 0;
    background: none;
    color: #f7bd66;
    font-size: 11px;
    letter-spacing: .15em;
}
body.restaurant-page[data-theme] .restaurant-identity h1 {
    margin: 17px 0 22px;
    max-width: 590px;
    color: #fff7e8;
    font-size: clamp(46px, 5.6vw, 80px);
    font-weight: 700;
    line-height: .98;
    letter-spacing: -.055em;
    text-transform: uppercase;
}
body.restaurant-page[data-theme] .restaurant-identity > p { max-width: 440px; font-size: 16px; color: #e1d8cc; line-height: 1.65; }
body.restaurant-page[data-theme] .restaurant-facts { margin: 24px 0; gap: 8px 0; font-size: 12px; color: #eee3d2; }
body.restaurant-page[data-theme] .restaurant-actions { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); max-width: 440px; gap: 10px; }
body.restaurant-page[data-theme] .restaurant-actions .button { min-height: 44px; padding: 0 15px; border-radius: 7px; font-size: 11px; text-transform: none; letter-spacing: 0; }
body.restaurant-page[data-theme] .mister-menu-link { grid-column: 1 / -1; max-width: 280px; min-height: 50px; background: var(--mister-orange); color: #261b0f; justify-content: space-between; font-size: 14px; }
body.restaurant-page[data-theme] .restaurant-actions .button-light,
body.restaurant-page[data-theme] .restaurant-actions .button-ghost-light { color: #fff2de; border: 1px solid #746552; background: rgba(32,27,22,.5); }
body.restaurant-page[data-theme] .restaurant-actions .button-light { order: 2; }
body.restaurant-page[data-theme] .restaurant-actions .share-trigger { order: 3; }
body.restaurant-page[data-theme] .menu-nav { background: var(--paper); border-bottom: 1px solid var(--line); color: var(--ink); }
body.restaurant-page[data-theme] .menu-nav-inner { height: 76px; gap: 20px; grid-template-columns: auto minmax(0,1fr) auto auto; }
body.restaurant-page[data-theme] .menu-label { font-size: 19px; font-style: normal; font-weight: 700; }
body.restaurant-page[data-theme] .category-links { gap: 8px; padding: 4px 0; }
body.restaurant-page[data-theme] .category-links a { padding: 10px 14px; border-radius: 6px; font-size: 13px; color: #65594c; }
body.restaurant-page[data-theme] .category-links a.active { background: #29221b; color: #fff7e8; }
body.restaurant-page[data-theme] .category-links a.active::after { display: none; }
body.restaurant-page[data-theme] .cart-nav-button { min-height: 44px; padding: 0 10px; background: #efe5d3; border-radius: 7px; color: #29221b; }
body.restaurant-page[data-theme] .cart-nav-button strong { background: #29221b; color: #fff7e8; }
body.restaurant-page[data-theme] .menu-search-toggle { min-width: 44px; width: 44px; height: 44px; background: transparent; border-color: #cfc0a9; }
body.restaurant-page[data-theme] .menu-content { gap: 36px; padding-top: 46px; padding-bottom: 70px; }
body.restaurant-page[data-theme] .menu-category { scroll-margin-top: 100px; }
body.restaurant-page[data-theme] .category-heading { align-items: start; flex-direction: column; gap: 9px; margin-bottom: 24px; padding-bottom: 20px; }
body.restaurant-page[data-theme] .category-heading > div { gap: 12px; min-width: 0; }
body.restaurant-page[data-theme] .category-heading span { font-size: 12px; color: #9c4619; }
body.restaurant-page[data-theme] .category-heading h2 { font-size: clamp(28px, 3vw, 38px); font-weight: 700; letter-spacing: -.035em; text-transform: none; overflow-wrap: anywhere; }
body.restaurant-page[data-theme] .category-heading > p { max-width: none; font-size: 14px; line-height: 1.6; }
body.restaurant-page[data-theme] .product-grid { gap: 16px; }
body.restaurant-page[data-theme] .product-card { min-width: 0; min-height: 210px; margin: 0; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: none; }
body.restaurant-page[data-theme] .product-topline { display: flex; flex-wrap: wrap; gap: 8px 16px; }
body.restaurant-page[data-theme] .product-topline h3 { flex: 1 1 160px; font-size: calc(21px * var(--product-name-scale,1)); line-height: 1.22; letter-spacing: -.025em; }
body.restaurant-page[data-theme] .product-topline > strong { font-size: calc(17px * var(--product-price-scale,1)); color: #984114; }
body.restaurant-page[data-theme] .product-info > p { margin: 13px 0 22px; color: #65594c; font-size: calc(14px * var(--product-description-scale,1)); line-height: 1.65; }
body.restaurant-page[data-theme] .product-card-actions { gap: 14px; }
body.restaurant-page[data-theme] .add-product { min-height: 44px; padding: 0 14px; border-radius: 6px; background: #f8e8cd; color: #66300d; font-size: 13px; }
body.restaurant-page[data-theme] .add-product span { width: auto; height: auto; border: 0; font-size: 20px; background: none; color: inherit; }
body.restaurant-page[data-theme] .add-product:hover { background: #f2a126; color: #29221b; }
body.restaurant-page[data-theme] .view-product-hint { font-size: 11px; }
body.restaurant-page[data-theme] .aside-card { padding: 28px; background: #efe5d3; border: 0; border-radius: 12px; box-shadow: none; color: #29221b; }
body.restaurant-page[data-theme] .aside-card .eyebrow { color: #984114; }
body.restaurant-page[data-theme] .aside-card h3 { font-size: 26px; letter-spacing: -.03em; }
body.restaurant-page[data-theme] .aside-card p { font-size: 14px; color: #65594c; }
body.restaurant-page[data-theme] .button-accent { color: #29221b; border-radius: 7px; }
body.restaurant-page[data-theme] .product-detail-heading h2 { overflow-wrap: anywhere; }

/* La edición para QR/impresión comparte los tonos y la lectura más amplia. */
body.physical-menu-page[data-theme] { --menu-paper: #fbf5e9; --menu-ink: #29221b; --menu-muted: #65594c; --menu-accent: #984114; --menu-serif: "DM Sans", sans-serif; }
body.physical-menu-page[data-theme] .physical-sheet { background: #fbf5e9; border: 0; border-radius: 12px; box-shadow: 0 16px 50px rgba(0,0,0,.18); }
body.physical-menu-page[data-theme] .physical-sheet::before { display: none; }
body.physical-menu-page[data-theme] .physical-cover { overflow-wrap: anywhere; }
body.physical-menu-page[data-theme] .physical-monogram { border: 0; border-radius: 50%; background: #f2a126; color: #29221b; }
body.physical-menu-page[data-theme] .physical-cover h1 { font-size: clamp(36px,6vw,72px); letter-spacing: -.05em; line-height: 1.05; }
body.physical-menu-page[data-theme] .physical-description { font-size: 15px; line-height: 1.7; font-style: normal; }
body.physical-menu-page[data-theme] .physical-overline { color: #984114; font-size: 10px; }
body.physical-menu-page[data-theme] .physical-details { color: #65594c; font-size: 11px; text-transform: none; letter-spacing: 0; }
body.physical-menu-page[data-theme] .physical-index { border-block: 1px solid #dfd3bf; }
body.physical-menu-page[data-theme] .physical-category-title { border-radius: 6px; padding: 13px 16px; background: #29221b; }
body.physical-menu-page[data-theme] .physical-category-title h2 { overflow-wrap: anywhere; }
body.physical-menu-page[data-theme] .physical-item { padding-block: 18px; }
body.physical-menu-page[data-theme] .physical-item-line h3 { font-size: 19px; }
body.physical-menu-page[data-theme] .physical-item-line strong { color: #984114; font-size: 16px; }
body.physical-menu-page[data-theme] .physical-item > p { font-size: 14px; line-height: 1.65; }
body.physical-menu-page[data-theme] .physical-item-actions button { min-height: 44px; padding-inline: 14px; border-radius: 6px; background: #f8e8cd; color: #66300d; }
@media (max-width: 1100px) {
    body.restaurant-page[data-theme] .menu-content { grid-template-columns: minmax(0,1fr); }
    body.restaurant-page[data-theme] .menu-aside { display: none; }
}
@media (max-width: 860px) {
    body.restaurant-page[data-theme] .menu-nav-inner { grid-template-columns: minmax(0,1fr) auto auto; gap: 10px; }
    body.restaurant-page[data-theme] .product-grid { grid-template-columns: 1fr; }
    body.restaurant-page[data-theme] .restaurant-hero { position: relative; min-height: 0; padding: 300px 0 32px; background-image: linear-gradient(0deg,#201b16 0%,rgba(32,27,22,0) 65%),url('./hero.webp'); background-size: 100% 300px,auto 300px; background-position: top center,top center; }
    body.restaurant-page[data-theme] .restaurant-identity { max-width: none; }
    body.restaurant-page[data-theme] .restaurant-identity h1 { max-width: 600px; margin: 12px 0 16px; font-size: clamp(36px,8.4vw,62px); }
    body.restaurant-page[data-theme] .restaurant-identity > p { max-width: 600px; font-size: 15px; }
    body.restaurant-page[data-theme] .restaurant-facts { display: flex; flex-wrap: wrap; margin: 18px 0; gap: 8px 16px; }
    body.restaurant-page[data-theme] .restaurant-facts > span::after { display: none; }
    body.restaurant-page[data-theme] .restaurant-facts > span:last-child { flex-basis: 100%; }
    body.restaurant-page[data-theme] .restaurant-actions { max-width: none; }
    body.restaurant-page[data-theme] .restaurant-actions .button { flex: 1 1 auto; padding: 0 10px; }
    body.restaurant-page[data-theme] .restaurant-actions .mister-menu-link { flex: 1 0 100%; max-width: none; min-height: 50px; padding-inline: 18px; font-size: 14px; }
    body.restaurant-page[data-theme] .menu-content { padding-top: 30px; }
    body.restaurant-page[data-theme] .menu-nav-inner { height: 72px; }
    body.restaurant-page[data-theme] .cart-nav-button > span { display: none; }
    body.restaurant-page[data-theme] .cart-nav-button::before { content: 'Pedido'; font-size: 12px; }
    body.restaurant-page[data-theme] .cart-nav-button { gap: 6px; padding: 0 8px; }
    body.restaurant-page[data-theme] .category-links a { padding: 10px; }
    body.restaurant-page[data-theme] .product-card { min-height: 0; padding: 22px; }
    body.restaurant-page[data-theme] .product-topline h3 { flex-basis: 150px; font-size: calc(20px * var(--product-name-scale,1)); }
    body.restaurant-page[data-theme] .product-info > p { font-size: calc(14px * var(--product-description-scale,1)); }
}
@media (prefers-reduced-motion: reduce) {
    body.restaurant-page[data-theme] .product-card, body.restaurant-page[data-theme] .button { transition: none; }
}
/* Sin foto de producto, el detalle prioriza ingredientes y pedido. */
body.restaurant-page[data-theme] .product-detail-card:has([data-product-detail-image][hidden]) { width: min(620px,100%); height: min(720px,94dvh); grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr); border-radius: 16px; }
body.restaurant-page[data-theme] .product-detail-visual:has([data-product-detail-image][hidden]) { display: none; }
body.restaurant-page[data-theme] .product-detail-card:has([data-product-detail-image][hidden]) .product-detail-copy { padding-top: 52px; }
body.restaurant-page[data-theme] .product-detail-heading strong { color: #984114; }
body.restaurant-page[data-theme] .product-detail-note { font-size: 12px; }
body.restaurant-page[data-theme] .product-detail-copy > [data-product-detail-description] { font-size: 15px; }
