/* Mobile first: inherited fonts, WordPress global colors, no branded frame. */
.smm{--smm-surface:var(--wp--preset--color--base,Canvas);--smm-contrast:var(--wp--preset--color--contrast,CanvasText);box-sizing:border-box;width:100%;min-width:0;font:inherit;color:inherit;line-height:inherit}
.smm *{box-sizing:border-box}.smm [hidden]{display:none!important}.smm p{margin:0 0 1em}.smm h3,.smm h4{margin:0 0 .65em;overflow-wrap:anywhere}.smm h3{font-size:1.4em}.smm h4{font-size:1.05em}
.smm input,.smm select{font:inherit;color:inherit}
/* Visual button properties come from WordPress, including site-wide custom styles. */
:where(.smm .wp-block-button__link){font:inherit;border-radius:9999px;box-shadow:none;text-decoration:none}
.smm .smm-button{display:inline-flex;max-width:100%;margin:0}
.smm .smm-button:has(>button[hidden]){display:none}
.smm button{min-height:48px;max-width:100%;height:auto;box-sizing:border-box;cursor:pointer;white-space:normal;overflow-wrap:anywhere}
.smm button[aria-pressed=true]{outline:2px solid var(--smm-contrast);outline-offset:3px}
.smm :focus-visible{outline:3px solid var(--wp--preset--color--accent-4,currentColor);outline-offset:5px}

.smm-types{display:flex;flex-wrap:wrap;gap:.8em;margin:4px 4px 1em}.smm-category-picker,.smm-search{display:block;font-size:1em;font-weight:500;margin-bottom:1em}.smm-category-picker select,.smm-search input{display:block;min-height:48px;width:100%;max-width:100%;min-width:0;margin-top:.35em;padding:.65em .75em;border:1px solid currentColor;border-radius:.3em;background:var(--smm-surface);color:var(--smm-contrast);font-size:max(16px,1em)}.smm-categories{display:none}
.smm-filter{border:1px solid currentColor;border-radius:.3em;padding:.75em}.smm-filter summary{cursor:pointer;min-height:48px;align-content:center;font-weight:500}.smm-filter[open] summary{margin-bottom:.75em}.smm-filter fieldset{border:0;min-width:0;padding:0;margin:0 0 1em}.smm-filter legend{font-weight:500;margin-bottom:.5em}.smm-checks{display:grid;grid-template-columns:1fr;gap:.4em}.smm-checks label{display:flex;align-items:center;gap:.65em;border:1px solid currentColor;border-radius:.3em;padding:.6em;min-height:48px;cursor:pointer;overflow-wrap:anywhere}.smm-checks input{flex-shrink:0;width:20px;height:20px;accent-color:var(--smm-contrast)}.smm-filter > .smm-button{width:100%}.smm-filter .smm-reset{width:100%}.smm-small,.smm-status{font-size:.85em;line-height:1.5}.smm-status{margin:1em 0!important}.smm-notice{font-size:.9em;line-height:1.5;padding-inline-start:.8em;border-inline-start:2px solid currentColor}.smm-filter .smm-small{margin-top:1em}
.smm-category{padding-top:1.5em}.smm-category-note{font-size:.95em;line-height:1.5}.smm-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:0;margin-bottom:1em}.smm-item{border:0;border-bottom:1px solid currentColor;padding:1.2em 0;display:flex;flex-direction:column;min-width:0}.smm-item-top{display:flex;flex-direction:column;align-items:flex-start}.smm-badge{border:1px solid currentColor;font-size:.75em;padding:.2em .5em;margin-bottom:.8em}.smm-description{font-size:1em;overflow-wrap:anywhere}.smm-prices{font-weight:600;line-height:1.6}.smm-allergens{display:flex;flex-wrap:wrap;gap:.4em;margin:0 0 .8em}.smm-allergens span{font-size:.8em;border:1px solid currentColor;border-radius:.2em;padding:.15em .45em}.smm-item > .smm-button{align-self:flex-start;margin-top:auto}.smm-empty{padding:1em 0}
.smm-dialog{font:inherit;border:1px solid currentColor;border-radius:.3em;padding:1em;max-width:36rem;width:calc(100% - 24px);max-height:90vh;max-height:90dvh;overflow:auto;overscroll-behavior:contain;color:var(--smm-contrast);background:var(--smm-surface)}.smm-dialog::backdrop{background:rgb(0 0 0 / 55%)}.smm-dialog > .smm-button{display:flex;justify-content:flex-end;margin:0 0 1em auto;width:fit-content}.smm-dialog-content{clear:both}
@media(min-width:380px){.smm-checks{grid-template-columns:repeat(2,minmax(0,1fr))}.smm-checks label{font-size:.9em}}
@media(min-width:768px){.smm-types{display:flex;flex-wrap:wrap;gap:.8em;margin:4px 4px 1em}.smm-category-picker{display:none}.smm-categories{display:flex;flex-wrap:wrap;gap:.5em;margin-bottom:1em}.smm-checks{grid-template-columns:repeat(3,minmax(0,1fr))}.smm-filter > .smm-button{width:auto}.smm-filter .smm-reset{width:auto}.smm-dialog{padding:1.5em}}
@media print{.smm-tools,.smm-detail-button,.smm-dialog{display:none!important}.smm .smm-category[hidden],.smm .smm-item[hidden]{display:block!important}.smm-item{break-inside:avoid}.smm-grid{display:block}}



.smm-types>.smm-button{flex:1 1 12em}.smm-types>.smm-button>button{width:100%}.smm-categories{padding:4px;gap:.8em}
@media(min-width:768px){.smm-types>.smm-button{flex:0 1 auto}}

