/* Shared guest search; isolated from each restaurant's visual template. */
html body.m-body.tm-has-toolbar .tm-toolbar__language{flex:0 0 44px;width:44px;min-width:44px;height:44px;border:1px solid var(--tm-tools-line);border-radius:9px}
html body.m-body.tm-has-toolbar .tm-toolbar__language select{position:absolute;inset:0;opacity:0;width:100%;height:100%;padding:0;z-index:2;cursor:pointer}
html body.m-body.tm-has-toolbar .tm-toolbar__language::after{display:none}
html body.m-body.tm-has-toolbar .tm-toolbar__flag{display:grid;place-items:center;width:100%;height:100%;font:23px/1 system-ui,sans-serif;pointer-events:none}
html body.m-body.tm-has-toolbar .tm-toolbar__language:focus-within{outline:2px solid var(--tm-tools-ink);outline-offset:2px}
html body.m-body.tm-has-toolbar .tm-toolbar__row{justify-content:flex-end}
html body.m-body.tm-has-toolbar .tm-search-toggle,html body.m-body.tm-has-toolbar .tm-search__close,html body.m-body.tm-has-toolbar .tm-search__clear,html body.m-body.tm-has-toolbar .tm-search__add{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:10px;border:1px solid var(--tm-tools-line);border-radius:9px;background:transparent;color:var(--tm-tools-ink);box-shadow:none;transform:none;cursor:pointer}
html body.m-body.tm-has-toolbar .tm-search-toggle svg,html body.m-body.tm-has-toolbar .tm-search svg{width:20px;height:20px;flex:none}
html body.m-body.tm-has-toolbar .tm-search-toggle[aria-expanded=true],html body.m-body.tm-has-toolbar .tm-search-toggle.has-query{background:var(--tm-tools-soft);border-color:var(--tm-tools-muted)}
html body.m-body.tm-has-toolbar .tm-search{display:flex;align-items:center;gap:7px;margin:8px 0 0;padding:0;background:none;border:0;border-radius:0;box-shadow:none;width:100%}
html body.m-body.tm-has-toolbar .tm-search__field{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:44px;padding:0 0 0 10px;border:1px solid var(--tm-tools-muted);border-radius:9px;background:var(--tm-tools-bg);color:var(--tm-tools-muted)}
html body.m-body.tm-has-toolbar input.tm-search__input{appearance:none;-webkit-appearance:none;display:block;flex:1;min-width:0;width:100%;height:42px;min-height:42px;margin:0;padding:0;border:0!important;border-radius:0;background:transparent;color:var(--tm-tools-ink);font:400 16px/1.3 Inter,system-ui,sans-serif;box-shadow:none;outline:0;text-overflow:ellipsis}
html body.m-body.tm-has-toolbar .tm-search__input::-webkit-search-cancel-button{display:none}
html body.m-body.tm-has-toolbar .tm-search__input::placeholder{color:var(--tm-tools-muted);opacity:1}
html body.m-body.tm-has-toolbar .tm-search__field:focus-within{outline:2px solid var(--tm-tools-ink);outline-offset:2px}
html body.m-body.tm-has-toolbar .tm-search__clear{border:0;flex-basis:36px;min-width:36px;width:36px;height:40px;min-height:40px;padding:10px;border-radius:6px}
html body.m-body.tm-has-toolbar .tm-search__clear svg{width:15px;height:15px}
html body.m-body.tm-has-toolbar .tm-search__summary{font:400 11px/1.4 Inter,system-ui,sans-serif;color:var(--tm-tools-muted);padding:6px 0 0;margin:0}
html body.m-body.tm-has-toolbar .tm-search__popup{position:absolute;top:100%;left:12px;right:12px;z-index:5;max-height:min(42dvh,310px);overflow-y:auto;overscroll-behavior:contain;padding:5px;background:var(--tm-tools-bg);color:var(--tm-tools-ink);border:1px solid var(--tm-tools-line);border-radius:0 0 12px 12px;box-shadow:0 14px 24px #00000020;scrollbar-width:thin}
html body.m-body.tm-has-toolbar .tm-search__matches,html body.m-body.tm-has-toolbar .tm-search__history{list-style:none;margin:0;padding:0}
html body.m-body.tm-has-toolbar .tm-search__result{display:flex;align-items:center;gap:5px;margin:0;padding:3px 2px;border-bottom:1px solid var(--tm-tools-line)}
html body.m-body.tm-has-toolbar .tm-search__result:last-child{border-bottom:0}
html body.m-body.tm-has-toolbar .tm-search__choose{display:flex;align-items:center;gap:9px;flex:1;min-width:0;min-height:48px;margin:0;padding:3px 5px;border:0;border-radius:6px;background:transparent;color:inherit;text-align:left;box-shadow:none;font:inherit;cursor:pointer;transform:none}
html body.m-body.tm-has-toolbar .tm-search__choose:hover,html body.m-body.tm-has-toolbar .tm-search__history-item:hover{background:var(--tm-tools-soft)}
html body.m-body.tm-has-toolbar .tm-search__thumb,html body.m-body.tm-has-toolbar .tm-search__placeholder{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;min-width:38px;margin:0;border-radius:6px;object-fit:cover;background:var(--tm-tools-soft);font-size:20px}
html body.m-body.tm-has-toolbar .tm-search__text{display:flex;flex-direction:column;flex:1;gap:3px;min-width:0}
html body.m-body.tm-has-toolbar .tm-search__name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:600 12px/1.3 Inter,system-ui,sans-serif;color:var(--tm-tools-ink)}
html body.m-body.tm-has-toolbar .tm-search__price{font:500 11px/1.3 Inter,system-ui,sans-serif;color:var(--tm-tools-muted)}
html body.m-body.tm-has-toolbar .tm-search__add{background:var(--tm-tools-ink);color:var(--tm-tools-bg);border:0;border-radius:8px;padding:10px}
html body.m-body.tm-has-toolbar .tm-search__add svg{width:18px;height:18px}
html body.m-body.tm-has-toolbar .tm-search__add:disabled{opacity:.35;cursor:not-allowed}
html body.m-body.tm-has-toolbar .tm-search__add.is-added{outline:2px solid var(--tm-tools-muted);outline-offset:2px}
html body.m-body.tm-has-toolbar .tm-search__heading{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:2px 8px;font:500 11px/1.4 Inter,system-ui,sans-serif}
html body.m-body.tm-has-toolbar .tm-search__wipe{min-height:36px;background:transparent;border:0;margin:0;padding:5px;color:var(--tm-tools-muted);font:400 11px/1.4 Inter,system-ui,sans-serif;text-decoration:underline;cursor:pointer;box-shadow:none}
html body.m-body.tm-has-toolbar .tm-search__history-item{display:block;width:100%;min-height:42px;border:0;border-radius:6px;padding:9px;background:transparent;color:var(--tm-tools-ink);text-align:left;font:400 13px/1.4 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html body.m-body.tm-has-toolbar .tm-search__empty{margin:0;padding:12px;font:400 12px/1.6 Inter,system-ui,sans-serif}
html body.m-body.tm-has-toolbar .tm-search__unavailable{font:400 10px/1.3 Inter,system-ui,sans-serif;color:var(--tm-tools-muted)}
html body.m-body.tm-has-toolbar .tm-search__live{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
html body.m-body .tm-search-hidden,html body.m-body.tm-has-toolbar .tm-toolbar [hidden]{display:none!important}
html body.m-body .m-item{scroll-margin-top:calc(var(--tm-toolbar-height,64px) + 75px)}
@media(prefers-reduced-motion:reduce){.tm-search *{transition:none!important;animation:none!important}}

body.tm-searching{overflow-anchor:none}
@layer tm-menu-controls { html body.m-body .tm-search-hidden { display:none!important; } }
