:root{--accent:#c84820;--button-accent:#c84820;--on-accent:#ffffff;--accent-text:#a93d1b;--accent-soft:#faede9;--ink:#262421;--muted:#69635d;--line:#e8e2db;--paper:#fff;--wash:#faf8f5;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--wash);line-height:1.5}
*{box-sizing:border-box}body{margin:0;padding-bottom:110px}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button,a{touch-action:manipulation}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #2379ba;outline-offset:3px}button:disabled{opacity:.55;cursor:not-allowed}[hidden]{display:none!important}h1,h2,h3,p{margin:0 0 .65rem}h1{font-size:clamp(1.7rem,4vw,2.4rem);line-height:1.15}h2{font-size:1.3rem}h3{font-size:1.05rem}.shop-header,main{max-width:1100px;margin:auto;padding:24px 18px}.shop-header{background:var(--paper);border-bottom:1px solid var(--line)}.shop-heading{display:flex;gap:18px;align-items:center}.shop-logo{object-fit:cover;border-radius:20px}.eyebrow{text-transform:uppercase;letter-spacing:.1em;font-size:.7rem;color:var(--muted);font-weight:700}.shop-info{margin-top:20px}.shop-info summary{font-weight:600}.shop-info p{margin-top:10px}.hours{list-style:none;padding:0;color:var(--muted);font-size:.9rem}.mode-hint{margin:20px 0 0;color:var(--muted)}.menu-tools{padding-bottom:20px}.search-label{display:block;font-size:.85rem;font-weight:600;margin-bottom:5px}input[type=search]{width:100%;padding:13px 16px;border:1px solid var(--line);border-radius:12px;background:white}.categories{display:flex;gap:8px;overflow-x:auto;padding:14px 2px 8px}.categories button{white-space:nowrap;border:1px solid var(--line);padding:9px 18px;background:white;border-radius:24px;min-height:44px}.categories [aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.category-section{margin-bottom:30px}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.product-card{display:flex;width:100%;padding:0;text-align:left;background:white;border:1px solid var(--line);border-radius:16px;overflow:hidden;color:inherit;flex-direction:column}.product-card img{width:100%;height:160px;object-fit:cover;background:#f1eeea}.product-copy{display:flex;flex-direction:column;padding:16px;flex:1}.product-copy p{font-size:.88rem;color:var(--muted);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-bottom{margin-top:auto;padding-top:8px;display:flex;align-items:center;justify-content:space-between;gap:8px}.product-action{font-size:.8rem;color:var(--accent);font-weight:700}.button{background:var(--accent);color:white;border:0;border-radius:12px;padding:13px 18px;min-height:48px;font-weight:650;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;gap:8px}.contact-button{margin-top:18px}.muted,small{color:var(--muted)}small{font-weight:400}.cart-bar{position:fixed;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 32px);max-width:600px;border:0;border-radius:16px;background:var(--ink);color:white;min-height:58px;padding:15px 20px;display:flex;gap:10px;box-shadow:0 6px 25px #0002;font-weight:650}.cart-bar strong{margin-left:auto}.cart-bar span{background:#ffffff25;border-radius:20px;min-width:26px}dialog{border:0;border-radius:20px;width:calc(100% - 24px);max-width:620px;max-height:90dvh;padding:22px;color:var(--ink);box-shadow:0 20px 80px #0003}dialog::backdrop{background:#17151088}.dialog-header{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px}.dialog-header h2{margin:0}.close-button{min-width:44px;min-height:44px;border:0;border-radius:50%;font-size:1.8rem;background:var(--wash)}.detail-image{width:100%;max-height:240px;object-fit:cover;border-radius:14px;margin-bottom:15px}.field{margin-top:20px}.field>label{display:block;font-weight:600;margin-bottom:8px}fieldset{border:0;margin:20px 0;padding:0}legend{font-weight:650}.option-row{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.option-row label{display:flex;gap:10px;align-items:center;flex:1;min-height:38px}.option-row input[type=checkbox],.option-row input[type=radio]{width:20px;height:20px;accent-color:var(--accent)}.option-row input[type=number]{width:65px;padding:7px;border:1px solid var(--line);border-radius:8px}.product-actions{display:flex;justify-content:space-between;gap:15px;align-items:end;margin-top:20px}.product-actions label{display:flex;flex-direction:column;gap:6px}.product-actions input{width:75px;padding:12px;border:1px solid var(--line);border-radius:10px}textarea{width:100%;padding:12px;border:1px solid var(--line);border-radius:10px;resize:vertical}.error{color:#b32121;margin-top:12px}.status:empty{display:none}.status{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);max-width:90vw;background:var(--ink);color:white;padding:12px 18px;border-radius:10px;z-index:5}.cart-line{border-bottom:1px solid var(--line);padding:14px 0}.cart-line small{display:block;white-space:pre-wrap}.line-actions{display:flex;align-items:center;gap:10px;margin-top:10px}.line-actions button{min-width:44px;min-height:44px;border:1px solid var(--line);background:var(--wash);border-radius:8px}.line-actions .text-button{margin-left:auto;border:0;background:none;color:var(--accent);padding:0 8px}.line-price{float:right}.subtotal{display:flex;justify-content:space-between;gap:10px;margin-top:20px;font-weight:650}pre{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;background:var(--wash);padding:12px;border-radius:10px;font-size:.85rem}#send-whatsapp{width:100%;margin-top:15px}#send-whatsapp[aria-disabled=true]{opacity:.5;pointer-events:none}.description{white-space:pre-line}.catalog-option{padding:8px 0;border-bottom:1px solid var(--line)}
.restaurant-topbar{position:sticky;top:0;z-index:10;background:var(--paper);border-bottom:1px solid var(--line)}.restaurant-topbar-inner{max-width:1100px;margin:auto;padding:10px 18px;display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:80px}.restaurant-topbar .navbar-brand{display:flex;align-items:center}.restaurant-topbar .shopLogo{display:block;max-width:170px;max-height:60px;object-fit:contain}.restaurant-topbar .square .shopLogo{width:60px;height:60px}.restaurant-topbar .landscape .shopLogo{width:160px}.restaurant-navigation{position:relative}.restaurant-navigation summary{display:none;list-style:none;padding:10px;border:1px solid var(--line);border-radius:10px;min-height:44px}.restaurant-navigation summary::-webkit-details-marker{display:none}.restaurant-navigation nav{display:flex;align-items:center;gap:24px}.restaurant-navigation nav a{color:var(--ink);text-decoration:none;padding:10px 0}.restaurant-navigation nav a[aria-current]{color:var(--accent);font-weight:650}.restaurant-hero{position:relative;max-width:1100px;margin:20px auto 0;padding:0 18px}.restaurant-cover,.restaurant-slides img{display:block;width:100%;height:clamp(200px,35vw,450px);object-fit:cover;border-radius:16px}.restaurant-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;border-radius:16px}.restaurant-slides img{flex:0 0 100%;scroll-snap-align:start;min-width:0}.hero-controls{position:absolute;inset:0 28px;display:flex;align-items:center;justify-content:space-between;pointer-events:none}.hero-controls button{pointer-events:auto;border:0;border-radius:50%;width:44px;height:44px;font-size:2rem;background:#fffffff0;color:var(--ink)}.selection-count{display:block;margin-top:8px}.clear-selection{margin-top:8px;min-height:44px;background:none;border:0;text-decoration:underline;color:var(--accent);padding:8px 0}html{scroll-padding-top:100px}#restaurant-info{scroll-margin-top:100px}
@media(max-width:760px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.product-card img{height:135px}.product-copy{padding:12px}.shop-header,main{padding:20px 16px}.restaurant-navigation summary{display:block}.restaurant-navigation nav{position:absolute;top:calc(100% + 8px);right:0;min-width:235px;background:var(--paper);padding:12px 18px;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 25px #0002;flex-direction:column;gap:0;align-items:stretch}.restaurant-topbar-inner{padding:8px 16px;min-height:72px}.restaurant-topbar .shopLogo{max-height:54px}.restaurant-topbar .square .shopLogo{width:54px;height:54px}.restaurant-hero{margin-top:12px;padding:0 16px}}
.profile-links{display:flex;flex-wrap:wrap;gap:10px;margin:12px 0}.profile-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:8px 14px;text-decoration:none;color:var(--ink);background:var(--wash)}
.catalog-page{padding-bottom:24px}.catalog-content{max-width:900px}.catalog-content>section{margin:0 0 28px}.catalog-nav{display:flex;gap:16px;font-size:.85rem;flex-wrap:wrap;justify-content:flex-end}.catalog-nav a{color:var(--ink);text-decoration:none;min-height:44px;display:flex;align-items:center}.catalog-buttons{display:flex;flex-wrap:wrap;gap:10px}.catalog-hours{margin:15px 0}.menu-image-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.menu-image-gallery figure{margin:0}.menu-image-gallery img{display:block;width:100%;max-height:600px;object-fit:contain}.gallery-image-open{display:block;width:100%;padding:0;background:white;border:1px solid var(--line);border-radius:12px;overflow:hidden}.menu-image-gallery figcaption{margin-top:8px;color:var(--muted)}.gallery-empty{border:1px dashed var(--line);border-radius:12px;padding:24px}.gallery-viewer-controls{display:flex;gap:10px;justify-content:space-between;margin-bottom:12px}.gallery-viewer-controls button{border:1px solid var(--line);border-radius:8px;background:var(--wash);padding:10px 15px;min-height:44px}#gallery-viewer{max-width:1050px}.gallery-viewer-scroll{max-height:70dvh;overflow:auto}.gallery-viewer-scroll img{display:block;max-width:100%;height:auto;margin:auto}.gallery-viewer-scroll img.zoomed{max-width:none;min-width:100%;margin:0}@media(max-width:600px){.menu-image-gallery{grid-template-columns:1fr}.catalog-nav{gap:10px;font-size:.75rem}}
@media(max-width:430px){.product-grid{grid-template-columns:1fr}.product-card{flex-direction:row;min-height:140px}.product-card img{width:110px;height:auto;max-height:160px;align-self:stretch}.product-copy{min-width:0}.product-copy p{-webkit-line-clamp:2}.product-actions .button{flex:1;font-size:.9rem}dialog{padding:18px}}

/* Perfil compartido por catalogo y pedidos por WhatsApp. */
.restaurant-content{max-width:1100px;margin:0 auto;padding:24px 18px}.restaurant-content>section{margin:0 0 28px}.shop-heading{display:flex;align-items:center;gap:18px}.shop-logo{display:block;object-fit:contain;flex:none;border-radius:12px}.shop-heading h1{margin:4px 0;font-size:clamp(1.6rem,4vw,2.1rem);line-height:1.2}.shop-heading p{margin:5px 0}.restaurant-profile .description{margin-top:20px}.shop-info{margin:18px 0}.shop-info summary{cursor:pointer;min-height:44px;display:list-item;align-content:center}.restaurant-content h2{font-size:1.5rem}.interactive-menu{padding-top:5px}.profile-links{margin:0}.mode-hint{color:var(--muted)}
@media(max-width:760px){.restaurant-content{padding:20px 16px}.shop-heading{gap:12px}.shop-logo{width:64px;height:64px}.restaurant-profile h1{font-size:1.65rem}}

/* Color publico configurado por el restaurante, compartido por ambos modos. */
.button,.cart-bar,.profile-link,.categories [aria-pressed=true]{background:var(--button-accent);color:var(--on-accent);border:1px solid var(--accent-text)}
.product-action,.clear-selection,.line-actions .text-button,.restaurant-navigation nav a[aria-current]{color:var(--accent-text)}
.categories button:not([aria-pressed=true]),.restaurant-navigation summary,.gallery-viewer-controls button,.hero-controls button,.close-button,.line-actions button{background:var(--accent-soft);color:var(--accent-text);border:1px solid var(--accent-text)}
.option-row input[type=checkbox],.option-row input[type=radio]{accent-color:var(--accent-text)}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,summary:focus-visible{outline-color:var(--accent-text)}
.profile-link:hover,.button:hover,.cart-bar:hover{box-shadow:0 0 0 2px var(--accent-soft)}
.service-status {padding:12px 16px;border-radius:12px;background:var(--surface, #f5efe5);border:1px solid currentColor;font-size:.94rem;line-height:1.5;}
.service-status.is-open {border-color:transparent;}
.service-status.is-closed {font-weight:600;}
.restaurant-content .shop-info {padding:22px;border:1px solid var(--line);border-radius:18px;background:var(--wash);}
.shop-info #restaurant-hours-title {display:flex;align-items:center;gap:9px;margin:0 0 8px;font-size:1.1rem;}
#restaurant-hours-title svg {width:22px;height:22px;flex:none;color:var(--accent-text);}
.hours-caption {color:var(--muted);font-size:.88rem;line-height:1.5;max-width:650px;}
.shop-info .hours {list-style:none;padding:0;margin:18px 0 0;display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;}
.hours .hours-day {display:flex;flex-direction:column;gap:8px;min-width:0;padding:13px 9px;border:1px solid var(--line);border-radius:11px;background:var(--paper);font-size:.83rem;}
.hours-day > strong {color:var(--accent-text);font-size:.8rem;}
.hours-range {color:var(--ink);font-weight:650;font-variant-numeric:tabular-nums;}
.hours-day.is-closed .hours-range {font-weight:400;color:var(--muted);}
.hours-break {display:block;font-size:.85em;color:var(--muted);margin-top:5px;line-height:1.4;}
@media(max-width:900px){.shop-info .hours{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media(max-width:600px){.restaurant-content .shop-info{padding:18px 15px;}.shop-info .hours{display:block;margin-top:12px;}.hours .hours-day{flex-direction:row;justify-content:space-between;align-items:baseline;gap:12px;border:0;border-radius:0;border-bottom:1px solid var(--line);padding:11px 0;background:transparent;font-size:.9rem;}.hours .hours-day:last-child{border-bottom:0;}.hours-day > strong{font-size:.88rem;}.hours-times{text-align:right;}}
button:disabled, .button[aria-disabled="true"] {opacity:.55;cursor:not-allowed;}
