.sms-menu {
    --sms-accent: #111318;
    --sms-ink: #15171c;
    --sms-muted: #667085;
    --sms-page: #fff;
    --sms-line: #ececec;
    --sms-soft: #f6f6f6;
    background: var(--sms-page);
    border: 0;
    border-radius: 0;
    box-shadow: none;
    color: var(--sms-ink);
    container-type: inline-size;
    font-family: inherit;
    margin: 0;
    max-width: none;
    overflow: visible;
    width: 100%;
}

/* App-style menu skin inspired by modern delivery apps. */
.sms-menu {
    --sms-accent: #49a7e8;
    --sms-ink: #f7f7f8;
    --sms-muted: #a5a5aa;
    --sms-page: #000;
    --sms-line: #242428;
    --sms-soft: #171719;
    background: #000;
    color: var(--sms-ink);
}

.sms-menu-topbar {
    background: #202022;
    border-bottom: 0;
    gap: 16px;
    padding: 22px clamp(14px, 3vw, 32px) 16px;
}

.sms-menu-kicker {
    color: var(--sms-accent);
    font-size: 12px;
    letter-spacing: 0.05em;
}

.sms-menu-title {
    color: #fff;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.02;
}

.sms-menu-search p {
    display: none;
}

.sms-menu-search input {
    background: #343436;
    border: 0;
    border-radius: 999px;
    color: #fff;
    font-size: 17px;
    min-height: 52px;
    padding: 0 22px;
}

.sms-menu-search input::placeholder {
    color: #b6b6bb;
}

.sms-menu-search input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sms-accent) 35%, transparent);
}

.sms-mode-picker {
    background: #000;
    border-bottom: 1px solid #242428;
    gap: 10px;
    padding: 14px clamp(14px, 3vw, 32px);
}

.sms-mode-picker button {
    background: #141416;
    border: 1px solid #303036;
    border-radius: 18px;
    color: #fff;
    min-height: 70px;
}

.sms-mode-picker button:hover,
.sms-mode-picker button:focus {
    border-color: var(--sms-accent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--sms-accent) 22%, transparent);
}

.sms-mode-picker span {
    color: var(--sms-muted);
}

.sms-order-widget {
    background: #000;
    border-bottom: 1px solid #242428;
    padding: 14px clamp(14px, 3vw, 32px);
}

.sms-order-code-form input,
.sms-cart-note input {
    background: #151517;
    border: 1px solid #343438;
    border-radius: 14px;
    color: #fff;
}

.sms-order-code-form button,
.sms-cart-footer button {
    background: var(--sms-accent);
    color: #06111b;
    font-weight: 900;
}

.sms-cart-fab {
    background: var(--sms-accent);
    box-shadow: 0 16px 36px color-mix(in srgb, var(--sms-accent) 28%, transparent);
    color: #06111b;
}

.sms-cart-fab-count {
    background: #06111b;
    color: #fff;
}

.sms-cart-panel {
    background: #111113;
    border-color: #2a2a2f;
    color: #fff;
}

.sms-cart-head strong,
.sms-cart-row strong,
.sms-cart-footer strong {
    color: #fff;
}

.sms-cart-close,
.sms-cart-row,
.sms-cart-qty {
    background: #1b1b1f;
    border-color: #303036;
}

.sms-cart-row span,
.sms-cart-items > p,
.sms-cart-status,
.sms-cart-note span {
    color: var(--sms-muted);
}

.sms-menu-nav {
    background: #202022;
    border-bottom: 1px solid #242428;
    gap: 26px;
    padding: 0 clamp(14px, 3vw, 32px);
    top: var(--wp-admin--admin-bar--height, 0);
}

.sms-menu-nav a {
    background: transparent;
    border: 0;
    border-radius: 0;
    color: #a8a8ad;
    font-size: 16px;
    font-weight: 850;
    min-height: 58px;
    padding: 0 0 10px;
    position: relative;
}

.sms-menu-nav a::after {
    background: transparent;
    border-radius: 999px 999px 0 0;
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
}

.sms-menu-nav a:hover,
.sms-menu-nav a:focus {
    color: #fff;
}

.sms-menu-nav a.is-active {
    background: transparent;
    border-color: transparent;
    color: var(--sms-accent);
}

.sms-menu-nav a.is-active::after {
    background: var(--sms-accent);
}

.sms-menu-nav-count {
    background: #313137;
    color: #d7d7db;
    margin-left: 6px;
}

.sms-menu-nav a.is-active .sms-menu-nav-count {
    background: color-mix(in srgb, var(--sms-accent) 18%, transparent);
    color: var(--sms-accent);
}

.sms-menu-sections {
    background: #000;
    gap: 0;
    padding: 26px clamp(14px, 4vw, 38px) 110px;
}

.sms-category {
    border-top: 1px solid #242428;
    padding-top: 26px;
}

.sms-single-root .sms-menu-sections > .sms-category:first-child {
    border-top: 0;
    padding-top: 0;
}

.sms-category-header {
    display: block;
    margin-bottom: 22px;
}

.sms-category-header > div {
    display: block;
}

.sms-category-icon {
    display: none;
}

.sms-category h3 {
    color: #fff;
    font-size: clamp(24px, 4vw, 38px);
    font-weight: 950;
    line-height: 1.05;
}

.sms-category-header p {
    color: var(--sms-muted);
    font-size: 17px;
    margin-top: 10px;
}

.sms-dish-list {
    background: transparent;
    border: 0;
    border-radius: 0;
    overflow: visible;
}

.sms-dish,
.sms-dish.is-open,
.sms-dish.is-popular,
.sms-dish:hover {
    background: transparent;
}

.sms-dish + .sms-dish {
    border-top: 1px solid #242428;
}

.sms-dish.is-popular::before {
    display: none;
}

.sms-dish.has-image {
    grid-template-columns: minmax(0, 1fr) 90px;
}

.sms-dish-media {
    background: #19191c;
    border-radius: 12px;
    margin: 16px 0;
    overflow: hidden;
}

.sms-dish-summary {
    min-height: 112px;
    padding: 22px 0;
}

.sms-dish h4 {
    color: #fff;
    font-size: clamp(19px, 2.6vw, 26px);
    font-weight: 900;
    line-height: 1.12;
}

.sms-dish-subtitle {
    color: #a6a6aa;
    font-size: clamp(15px, 2vw, 20px);
    line-height: 1.35;
}

.sms-dish-price {
    color: var(--sms-accent);
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 800;
}

.sms-dish-price-wrap i {
    display: none;
}

.sms-add-dish {
    background: #25252a;
    color: #fff;
    height: 42px;
    width: 42px;
}

.sms-dish-quick {
    margin-top: 6px;
}

.sms-dish-quick span {
    background: color-mix(in srgb, var(--sms-accent) 16%, transparent);
    border: 0;
    color: color-mix(in srgb, var(--sms-accent) 78%, #fff);
    font-size: 12px;
    font-weight: 900;
    padding: 6px 9px;
}

.sms-dish.is-popular .sms-dish-quick span:first-child {
    background: var(--sms-accent);
    color: #06111b;
}

.sms-dish-details {
    border-top: 1px solid #242428;
    color: var(--sms-muted);
    margin: 0 0 18px;
}

.sms-dish-description {
    color: #b1b1b6;
    font-size: 16px;
}

.sms-dish-meta {
    border-top-color: #242428;
    color: #8d8d93;
}

.sms-menu-empty,
.sms-menu-empty-state {
    background: #111113;
    border-color: #242428;
    color: var(--sms-muted);
}

@container (max-width: 760px) {
    .sms-menu-topbar {
        background: #202022;
        padding: 22px 16px 14px;
    }

    .sms-menu-title {
        font-size: 34px;
    }

    .sms-menu-search input {
        min-height: 54px;
    }

    .sms-mode-picker,
    .sms-order-widget,
    .sms-menu-nav {
        padding-left: 16px;
        padding-right: 16px;
    }

    .sms-menu-nav {
        gap: 24px;
    }

    .sms-menu-nav a {
        font-size: 16px;
        min-height: 56px;
    }

    .sms-menu-sections {
        padding: 26px 16px 112px;
    }

    .sms-dish-summary {
        min-height: 118px;
        padding: 22px 0;
    }

    .sms-dish h4 {
        font-size: 22px;
    }

    .sms-dish-subtitle {
        font-size: 18px;
    }
}

.sms-dish-modal[hidden] {
    display: none;
}

.sms-dish-modal {
    align-items: end;
    display: grid;
    inset: 0;
    position: fixed;
    z-index: 10000;
}

.sms-dish-modal-backdrop {
    appearance: none;
    background: rgba(0, 0, 0, 0.72);
    border: 0;
    cursor: pointer;
    inset: 0;
    position: fixed;
}

.sms-dish-modal-card {
    background: #111113;
    border: 1px solid #2a2a2f;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -24px 70px rgba(0, 0, 0, 0.48);
    color: #fff;
    margin: 0 auto;
    max-height: min(82vh, 720px);
    max-width: 720px;
    overflow: auto;
    padding: 22px clamp(18px, 4vw, 30px) 26px;
    position: relative;
    width: 100%;
}

.sms-dish-modal-close {
    align-items: center;
    appearance: none;
    background: #25252a;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    font: inherit;
    font-size: 24px;
    font-weight: 700;
    height: 38px;
    justify-content: center;
    line-height: 1;
    position: absolute;
    right: 16px;
    top: 16px;
    width: 38px;
}

.sms-dish-modal-main {
    display: grid;
    gap: 14px;
    padding-right: 42px;
}

.sms-dish-modal-main h3 {
    color: #fff;
    font-size: clamp(28px, 5vw, 42px);
    font-weight: 950;
    letter-spacing: 0;
    line-height: 1.02;
    margin: 0;
}

.sms-dish-modal-subtitle,
.sms-dish-modal-empty {
    color: #aaaab0;
    font-size: 18px;
    line-height: 1.42;
    margin: 0;
}

.sms-dish-modal-badges,
.sms-dish-modal-badges .sms-dish-quick {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sms-dish-modal-badges span {
    background: color-mix(in srgb, var(--sms-accent) 16%, transparent);
    border: 0;
    border-radius: 999px;
    color: color-mix(in srgb, var(--sms-accent) 78%, #fff);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    padding: 7px 10px;
}

.sms-dish-modal-details {
    border-top: 1px solid #2a2a2f;
    color: #b8b8bd;
    display: grid;
    gap: 14px;
    padding-top: 16px;
}

.sms-dish-modal-details .sms-dish-description {
    color: #c6c6ca;
    font-size: 17px;
    line-height: 1.55;
}

.sms-dish-modal-details .sms-dish-meta {
    border-top-color: #2a2a2f;
    color: #92929a;
}

.sms-dish-modal-extras,
.sms-dish-extras-preview {
    display: grid;
    gap: 8px;
}

.sms-dish-extras-preview {
    border-top: 1px solid var(--sms-line);
    padding-top: 12px;
}

.sms-dish-extras-preview strong,
.sms-dish-modal-extras h4 {
    color: var(--sms-ink);
    font-size: 14px;
    font-weight: 950;
    margin: 0;
}

.sms-dish-extras-preview span {
    color: var(--sms-muted);
    font-size: 14px;
}

.sms-dish-modal-extras label {
    align-items: center;
    background: color-mix(in srgb, var(--sms-accent) 8%, transparent);
    border: 1px solid var(--sms-line);
    border-radius: 14px;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: 12px;
}

.sms-dish-modal-extras input {
    height: 20px;
    margin: 0;
    width: 20px;
}

.sms-dish-modal-extras span {
    color: var(--sms-ink);
    font-size: 15px;
    font-weight: 850;
}

.sms-dish-modal-extras strong {
    color: var(--sms-accent);
    font-size: 14px;
    font-weight: 950;
}

.sms-dish-modal-note {
    display: grid;
    gap: 8px;
}

.sms-dish-modal-note span {
    color: var(--sms-ink);
    font-size: 14px;
    font-weight: 950;
}

.sms-dish-modal-note textarea {
    background: color-mix(in srgb, var(--sms-accent) 8%, transparent);
    border: 1px solid var(--sms-line);
    border-radius: 14px;
    color: var(--sms-ink);
    font: inherit;
    min-height: 74px;
    padding: 12px;
    resize: vertical;
    width: 100%;
}

.sms-dish-modal-actions {
    align-items: center;
    border-top: 1px solid #2a2a2f;
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 18px;
}

.sms-dish-modal-actions strong {
    color: var(--sms-accent);
    font-size: 24px;
    font-weight: 950;
}

.sms-dish-modal-actions .sms-add-dish {
    background: var(--sms-accent);
    color: #06111b;
    height: 52px;
    width: 52px;
}

.sms-menu *,
.sms-menu *::before,
.sms-menu *::after {
    box-sizing: border-box;
}

.sms-menu-topbar {
    align-items: center;
    background: #fff;
    border-bottom: 1px solid var(--sms-line);
    display: grid;
    gap: 14px;
    grid-template-columns: minmax(0, 1fr) minmax(220px, 340px);
    padding: 18px 16px;
}

.sms-menu-title {
    color: var(--sms-ink);
    display: block;
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 0.98;
    margin-top: 5px;
}

.sms-menu-kicker {
    color: #8a6a2d;
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    margin: 0;
    text-transform: uppercase;
}

.sms-menu-search {
    display: grid;
    gap: 7px;
}

.sms-menu-search p {
    color: var(--sms-muted);
    font-size: 12px;
    font-weight: 700;
    margin: 0;
}

.sms-menu-search input {
    appearance: none;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    color: var(--sms-ink);
    font: inherit;
    min-height: 44px;
    outline: none;
    padding: 0 14px;
    width: 100%;
}

.sms-menu-search input:focus {
    border-color: var(--sms-ink);
    box-shadow: 0 0 0 4px rgba(17, 19, 24, 0.08);
}

.sms-mode-picker[hidden],
.sms-order-widget[hidden] {
    display: none;
}

.sms-mode-picker {
    background: #fff;
    border-bottom: 1px solid var(--sms-line);
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 12px 16px;
}

.sms-mode-picker button {
    appearance: none;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 10px;
    color: var(--sms-ink);
    cursor: pointer;
    display: grid;
    font: inherit;
    gap: 4px;
    min-height: 64px;
    padding: 13px 15px;
    text-align: left;
}

.sms-mode-picker button:hover,
.sms-mode-picker button:focus {
    border-color: var(--sms-ink);
    box-shadow: 0 0 0 4px rgba(17, 19, 24, 0.06);
    outline: none;
}

.sms-mode-picker strong {
    font-size: 16px;
    font-weight: 800;
    line-height: 1.15;
}

.sms-mode-picker span {
    color: var(--sms-muted);
    font-size: 13px;
    line-height: 1.25;
}

.sms-menu.is-mode-start .sms-menu-browser {
    display: none;
}

.sms-menu.is-view-mode .sms-add-dish {
    display: none;
}

.sms-order-widget {
    background: #fff;
    border-bottom: 1px solid var(--sms-line);
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    padding: 12px 16px;
}

.sms-order-code-form {
    align-content: start;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
}

.sms-order-code-form label,
.sms-cart-note {
    display: grid;
    gap: 5px;
}

.sms-order-code-form span,
.sms-cart-note span {
    color: var(--sms-muted);
    font-size: 11px;
    font-weight: 750;
}

.sms-order-code-form input,
.sms-cart-note input {
    appearance: none;
    border: 1px solid #dedede;
    border-radius: 10px;
    color: var(--sms-ink);
    font: inherit;
    min-height: 42px;
    padding: 0 12px;
}

.sms-order-code-form input {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.sms-order-code-form button,
.sms-cart-footer button,
.sms-cart-fab,
.sms-cart-close,
.sms-add-dish,
.sms-cart-qty button {
    appearance: none;
    border: 0;
    cursor: pointer;
    font: inherit;
}

.sms-order-code-form button,
.sms-cart-footer button {
    background: var(--sms-ink);
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 750;
    min-height: 42px;
    padding: 0 18px;
}

.sms-cart {
    background: transparent;
    border: 0;
    display: block;
    padding: 0;
}

.sms-cart-fab {
    align-items: center;
    background: var(--sms-ink);
    border-radius: 999px;
    bottom: 18px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.22);
    color: #fff;
    display: none;
    gap: 10px;
    min-height: 54px;
    padding: 0 16px;
    position: fixed;
    right: 18px;
    z-index: 9998;
}

.sms-menu.has-cart-items .sms-cart-fab {
    display: inline-flex;
}

.sms-cart-icon {
    border: 2px solid currentColor;
    border-radius: 3px 3px 6px 6px;
    display: inline-block;
    height: 19px;
    position: relative;
    width: 18px;
}

.sms-cart-icon::before {
    border: 2px solid currentColor;
    border-bottom: 0;
    border-radius: 999px 999px 0 0;
    content: "";
    height: 8px;
    left: 3px;
    position: absolute;
    top: -8px;
    width: 8px;
}

.sms-cart-fab-count {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: var(--sms-ink);
    display: inline-flex;
    font-size: 12px;
    font-weight: 850;
    justify-content: center;
    min-height: 24px;
    min-width: 24px;
    padding: 0 7px;
}

.sms-cart-fab strong {
    font-size: 14px;
    font-weight: 850;
    line-height: 1;
    white-space: nowrap;
}

.sms-cart-panel {
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14);
    display: grid;
    gap: 9px;
    max-height: min(70vh, 520px);
    overflow: auto;
    padding: 12px;
    position: fixed;
    right: 18px;
    bottom: 84px;
    width: min(390px, calc(100vw - 36px));
    z-index: 9999;
}

.sms-cart-panel[hidden] {
    display: none;
}

.sms-cart-head,
.sms-cart-footer,
.sms-cart-row {
    align-items: center;
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.sms-cart-head strong {
    color: var(--sms-ink);
    font-size: 13px;
}

.sms-cart-close {
    align-items: center;
    background: #f4f4f4;
    border-radius: 999px;
    color: var(--sms-ink);
    display: inline-flex;
    font-size: 18px;
    font-weight: 750;
    height: 30px;
    justify-content: center;
    line-height: 1;
    width: 30px;
}

.sms-cart-items {
    display: grid;
    gap: 6px;
}

.sms-cart-items > p,
.sms-cart-status {
    color: var(--sms-muted);
    font-size: 12px;
    margin: 0;
}

.sms-cart-status:empty {
    display: none;
}

.sms-cart-row {
    background: #fff;
    border: 1px solid #eee8dd;
    border-radius: 8px;
    padding: 8px;
}

.sms-cart-row div:first-child {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.sms-cart-row strong {
    color: var(--sms-ink);
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sms-cart-row span {
    color: var(--sms-muted);
    font-size: 12px;
}

.sms-cart-row-extras {
    color: var(--sms-muted);
    display: block;
    font-size: 11px;
    font-style: normal;
    line-height: 1.35;
}

.sms-cart-qty {
    align-items: center;
    background: #f4f0e8;
    border-radius: 999px;
    display: inline-flex;
    gap: 8px;
    padding: 3px;
}

.sms-cart-qty button {
    align-items: center;
    background: #fff;
    border-radius: 999px;
    color: var(--sms-ink);
    display: inline-flex;
    font-size: 16px;
    font-weight: 800;
    height: 26px;
    justify-content: center;
    line-height: 1;
    width: 26px;
}

.sms-cart-footer strong {
    color: var(--sms-ink);
    font-size: 15px;
}

.sms-cart-status.is-success {
    color: #008a20;
}

.sms-cart-status.is-order-success {
    align-items: center;
    background: #ecfdf3;
    border: 1px solid #abe7c2;
    border-radius: 14px;
    color: #067647;
    display: grid;
    font-size: 18px;
    font-weight: 850;
    gap: 10px;
    grid-template-columns: 34px minmax(0, 1fr);
    line-height: 1.2;
    margin-top: 2px;
    padding: 14px;
}

.sms-cart-status.is-order-success::before {
    align-items: center;
    background: #067647;
    border-radius: 999px;
    color: #fff;
    content: "✓";
    display: inline-flex;
    font-size: 20px;
    font-weight: 900;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.sms-cart-status.is-error {
    color: #b32d2e;
}

.sms-menu-browser {
    display: block;
}

.sms-menu-nav {
    align-items: center;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--sms-line);
    display: flex;
    flex-direction: row;
    gap: 8px;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 10px 16px;
    position: sticky;
    scrollbar-width: none;
    top: var(--wp-admin--admin-bar--height, 0);
    z-index: 4;
}

.sms-menu-nav::-webkit-scrollbar {
    display: none;
}

.sms-menu-nav a {
    align-items: center;
    background: #fff;
    border: 1px solid #dedede;
    border-radius: 999px;
    color: var(--sms-ink);
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 13px;
    font-weight: 760;
    justify-content: space-between;
    letter-spacing: 0;
    line-height: 1;
    min-height: 36px;
    padding: 0 11px;
    text-decoration: none;
    width: auto;
}

.sms-menu-nav-name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sms-menu-nav-count {
    align-items: center;
    background: #f2f2f2;
    border-radius: 999px;
    color: #756850;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: 11px;
    font-weight: 760;
    justify-content: center;
    min-height: 22px;
    min-width: 24px;
    padding: 0 7px;
}

.sms-menu-nav a:hover,
.sms-menu-nav a:focus {
    border-color: var(--sms-ink);
    outline: none;
}

.sms-menu-nav a.is-active {
    background: var(--sms-ink);
    border-color: var(--sms-ink);
    box-shadow: none;
    color: #fff;
}

.sms-menu-nav a.is-active .sms-menu-nav-count {
    background: var(--sms-ink);
    color: #fff;
}

.sms-menu-sections {
    align-content: start;
    display: grid;
    gap: 18px;
    margin: 0;
    max-width: none;
    padding: 14px 16px 80px;
    width: 100%;
}

.sms-category {
    scroll-margin-top: 92px;
}

.sms-single-root .sms-menu-sections > .sms-category:first-child > .sms-category-header {
    display: none;
}

.sms-depth-1,
.sms-depth-2 {
    margin-left: 0;
}

.sms-category.is-filter-hidden,
.sms-dish.is-filter-hidden {
    display: none;
}

.sms-category-header {
    align-items: end;
    display: grid;
    gap: 10px 20px;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 360px);
    margin-bottom: 10px;
}

.sms-category-header > div {
    align-items: center;
    display: flex;
    gap: 10px;
    min-width: 0;
}

.sms-category-icon {
    align-items: center;
    background: #fff;
    border: 1px solid var(--sms-line);
    border-radius: 10px;
    display: inline-flex;
    flex: 0 0 36px;
    font-size: 21px;
    height: 36px;
    justify-content: center;
    line-height: 1;
    width: 36px;
}

.sms-category h3 {
    color: var(--sms-ink);
    font-weight: 760;
    letter-spacing: 0;
    line-height: 1;
    margin: 0;
}

.sms-depth-1 h3 {
    font-size: clamp(20px, 1.7vw, 24px);
}

.sms-category-header p {
    color: var(--sms-muted);
    font-size: 14px;
    line-height: 1.48;
    margin: 0;
}

.sms-dish-list {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    display: grid;
    gap: 0;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.sms-dish {
    background: #fff;
    border: 0;
    border-radius: 0;
    display: grid;
    min-width: 0;
    overflow: hidden;
    position: relative;
}

.sms-dish + .sms-dish {
    border-top: 1px solid var(--sms-line);
}

.sms-dish:hover {
    background: #fafafa;
}

.sms-dish.is-open,
.sms-dish.is-popular {
    background: #fff;
}

.sms-dish.is-popular::before {
    background: #111318;
    content: "";
    inset: 12px auto 12px 0;
    position: absolute;
    width: 4px;
}

.sms-dish.has-image {
    grid-template-columns: minmax(0, 1fr) 96px;
}

.sms-dish-media {
    background: #eceff3;
    min-height: 100%;
    order: 2;
}

.sms-dish-image {
    aspect-ratio: 1 / 1;
    display: block;
    height: 100%;
    object-fit: cover;
    width: 100%;
}

.sms-dish-body {
    min-width: 0;
    order: 1;
}

.sms-dish-summary {
    align-items: center;
    background: transparent;
    color: inherit;
    cursor: pointer;
    display: grid;
    gap: 10px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 66px;
    padding: 13px 16px;
    text-align: left;
    width: 100%;
}

.sms-dish-summary:focus {
    outline: 2px solid var(--sms-accent);
    outline-offset: -2px;
}

.sms-dish-title {
    display: grid;
    gap: 5px;
    min-width: 0;
}

.sms-dish h4 {
    color: var(--sms-ink);
    font-size: 16px;
    font-weight: 780;
    letter-spacing: 0;
    line-height: 1.18;
    margin: 0;
}

.sms-dish-subtitle {
    color: var(--sms-muted);
    font-size: 12.5px;
    line-height: 1.35;
    margin: 0;
}

.sms-dish-quick {
    align-items: center;
    color: var(--sms-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    min-width: 0;
}

.sms-dish-quick span {
    background: #f4f4f4;
    border: 1px solid #ededed;
    border-radius: 999px;
    color: #647084;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    max-width: 220px;
    overflow: hidden;
    padding: 5px 7px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sms-dish.is-popular .sms-dish-quick span:first-child {
    background: #111318;
    border-color: #111318;
    color: #fff;
}

.sms-dish-price-wrap {
    align-items: center;
    display: inline-flex;
    gap: 8px;
}

.sms-add-dish {
    align-items: center;
    background: var(--sms-ink);
    border-radius: 999px;
    color: #fff;
    display: inline-flex;
    font-size: 19px;
    font-weight: 700;
    height: 34px;
    justify-content: center;
    line-height: 1;
    width: 34px;
}

.sms-dish-price {
    color: var(--sms-ink);
    font-size: 14px;
    font-weight: 780;
    line-height: 1;
    margin: 0;
    white-space: nowrap;
}

.sms-dish-price-wrap i {
    border-bottom: 2px solid currentColor;
    border-right: 2px solid currentColor;
    color: #9aa3af;
    display: block;
    height: 8px;
    transform: rotate(45deg);
    transition: transform 160ms ease;
    width: 8px;
}

.sms-dish.is-open .sms-dish-price-wrap i {
    transform: rotate(225deg);
}

.sms-dish-details {
    border-top: 1px solid var(--sms-line);
    margin: 0 16px 13px;
    padding-top: 10px;
}

.sms-dish-details[hidden] {
    display: none;
}

.sms-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 10px;
}

.sms-badges span {
    background: #eef3f4;
    border: 1px solid #dde8ea;
    border-radius: 999px;
    color: #2f5761;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 5px 7px;
}

.sms-dish-description {
    color: var(--sms-muted);
    line-height: 1.62;
    max-width: 74ch;
}

.sms-dish-description p {
    margin: 0 0 8px;
}

.sms-dish-description p:last-child {
    margin-bottom: 0;
}

.sms-dish-meta {
    border-top: 1px solid var(--sms-line);
    color: #867765;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    font-size: 12px;
    font-weight: 650;
    line-height: 1.35;
    margin-top: 12px;
    padding-top: 10px;
}

.sms-dish-meta p {
    margin: 0;
}

.sms-layout-compact {
    box-shadow: none;
}

.sms-menu-empty,
.sms-menu-empty-state {
    background: #fff;
    border: 1px solid var(--sms-line, #d9dde3);
    border-radius: 8px;
    color: var(--sms-muted, #667085);
    padding: 18px;
}

@container (max-width: 760px) {
    .sms-menu-topbar {
        align-items: start;
        gap: 12px;
        grid-template-columns: 1fr;
        padding: 18px 12px 12px;
    }

    .sms-menu-kicker,
    .sms-menu-search p {
        display: none;
    }

    .sms-menu-title {
        font-size: 30px;
        line-height: 1.05;
        margin: 0;
    }

    .sms-menu-search {
        gap: 0;
    }

    .sms-menu-search input {
        border-radius: 12px;
        font-size: 16px;
        min-height: 46px;
        padding: 0 14px;
    }

    .sms-mode-picker {
        grid-template-columns: 1fr;
        padding: 10px 12px;
    }

    .sms-mode-picker button {
        min-height: 56px;
        padding: 12px 14px;
    }

    .sms-order-widget {
        padding: 10px 12px;
    }

    .sms-order-code-form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .sms-order-code-form span {
        display: none;
    }

    .sms-menu-nav {
        padding: 9px 12px;
    }

    .sms-menu-nav a {
        font-size: 12px;
        min-height: 34px;
        padding: 0 10px;
    }

    .sms-menu-sections {
        gap: 10px;
        padding: 12px 12px 92px;
    }

    .sms-category-header {
        align-items: start;
        grid-template-columns: 1fr;
        margin-bottom: 8px;
    }

    .sms-dish-list {
        border-radius: 12px;
    }

    .sms-dish.has-image {
        grid-template-columns: minmax(0, 1fr) 82px;
    }

    .sms-dish-summary {
        min-height: 62px;
        padding: 12px 14px;
    }

    .sms-dish h4 {
        font-size: 16px;
    }

    .sms-dish-price-wrap {
        gap: 8px;
    }

    .sms-cart-fab {
        bottom: 14px;
        min-height: 52px;
        padding: 0 14px;
        right: 14px;
    }

    .sms-cart-panel {
        bottom: 78px;
        max-height: min(68vh, 520px);
        right: 12px;
        width: calc(100vw - 24px);
    }
}

@media (max-width: 760px) {
    .sms-menu {
        background: #fff;
        border: 0;
        border-radius: 0;
        box-shadow: none;
        max-width: none;
        overflow: visible;
    }

    .sms-menu-topbar {
        align-items: start;
        gap: 12px;
        grid-template-columns: 1fr;
        padding: 18px 12px 12px;
    }

    .sms-menu-kicker,
    .sms-menu-search p {
        display: none;
    }

    .sms-menu-title {
        font-size: 30px;
        line-height: 1.05;
        margin: 0;
    }

    .sms-menu-search {
        gap: 0;
    }

    .sms-menu-search input {
        font-size: 16px;
        min-height: 46px;
        padding: 0 14px;
    }

    .sms-mode-picker {
        grid-template-columns: 1fr;
        padding: 10px 12px;
    }

    .sms-mode-picker button {
        min-height: 58px;
    }

    .sms-menu-browser {
        display: block;
    }

    .sms-order-widget {
        gap: 7px;
        grid-template-columns: 1fr;
        padding: 10px 12px;
    }

    .sms-order-code-form {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .sms-order-code-form label {
        gap: 0;
    }

    .sms-order-code-form span {
        display: none;
    }

    .sms-cart {
        gap: 7px;
    }

    .sms-cart-fab {
        bottom: 14px;
        min-height: 52px;
        padding: 0 14px;
        right: 14px;
    }

    .sms-cart-panel {
        bottom: 78px;
        max-height: min(68vh, 520px);
        right: 12px;
        width: calc(100vw - 24px);
    }

    .sms-menu-nav {
        align-items: center;
        border-bottom: 1px solid var(--sms-line);
        border-right: 0;
        flex-direction: row;
        max-height: none;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 9px 12px;
        position: sticky;
        top: var(--wp-admin--admin-bar--height, 0);
    }

    .sms-menu-nav a {
        border-radius: 999px;
        flex: 0 0 auto;
        font-size: 12px;
        min-height: 32px;
        padding: 0 10px;
        width: auto;
    }

    .sms-menu-sections {
        gap: 10px;
        max-width: none;
        padding: 12px 12px 92px;
    }

    .sms-category-header {
        align-items: start;
        grid-template-columns: 1fr;
        margin-bottom: 8px;
    }

    .sms-single-root .sms-menu-sections > .sms-category:first-child > .sms-category-header {
        display: none;
    }

    .sms-dish-list {
        grid-template-columns: 1fr;
    }

    .sms-dish.has-image {
        grid-template-columns: minmax(0, 1fr) 82px;
    }

    .sms-dish-image {
        aspect-ratio: 1 / 1;
        height: 100%;
    }

    .sms-dish-summary {
        gap: 8px;
        min-height: 60px;
        padding: 10px 11px;
    }

    .sms-dish h4 {
        font-size: 15px;
    }

    .sms-dish-subtitle {
        font-size: 12.5px;
    }

    .sms-dish-quick span {
        max-width: 160px;
    }

    .sms-dish-price-wrap {
        gap: 7px;
    }

    .sms-dish-details {
        margin: 0 11px 11px;
        padding-top: 9px;
    }
}

/* Final theme layer: keeps app logic identical while switching surface colors. */
.sms-menu.sms-theme-dark,
.sms-menu.sms-theme-light {
    --sms-action-text: #06111b;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    container-type: inline-size;
    max-width: none;
    overflow: visible;
    width: 100%;
}

.sms-menu.sms-theme-dark {
    --sms-ink: #f7f7f8;
    --sms-muted: #a7a7ad;
    --sms-page: #000;
    --sms-line: #242428;
    --sms-soft: #171719;
    background: #000;
    color: var(--sms-ink);
}

.sms-menu.sms-theme-light {
    --sms-ink: #101217;
    --sms-muted: #6b7280;
    --sms-page: #fff;
    --sms-line: #e8e8ea;
    --sms-soft: #f5f5f6;
    --sms-action-text: #fff;
    background: #fff;
    color: var(--sms-ink);
}

.sms-theme-dark .sms-menu-topbar,
.sms-theme-dark .sms-menu-nav,
.sms-theme-dark .sms-mode-picker,
.sms-theme-dark .sms-order-widget {
    background: #202022;
    border-color: #242428;
}

.sms-theme-light .sms-menu-topbar,
.sms-theme-light .sms-menu-nav,
.sms-theme-light .sms-mode-picker,
.sms-theme-light .sms-order-widget {
    background: #fff;
    border-color: #e8e8ea;
}

.sms-theme-dark .sms-menu-title,
.sms-theme-dark .sms-category h3,
.sms-theme-dark .sms-dish h4,
.sms-theme-dark .sms-cart-head strong,
.sms-theme-dark .sms-cart-row strong,
.sms-theme-dark .sms-cart-footer strong {
    color: #fff;
}

.sms-theme-light .sms-menu-title,
.sms-theme-light .sms-category h3,
.sms-theme-light .sms-dish h4,
.sms-theme-light .sms-cart-head strong,
.sms-theme-light .sms-cart-row strong,
.sms-theme-light .sms-cart-footer strong {
    color: #101217;
}

.sms-theme-dark .sms-menu-search input,
.sms-theme-dark .sms-order-code-form input,
.sms-theme-dark .sms-cart-note input {
    background: #343436;
    border: 0;
    color: #fff;
}

.sms-theme-light .sms-menu-search input,
.sms-theme-light .sms-order-code-form input,
.sms-theme-light .sms-cart-note input {
    background: #f3f4f6;
    border: 1px solid #e1e3e8;
    color: #101217;
}

.sms-theme-dark .sms-menu-search input::placeholder,
.sms-theme-dark .sms-order-code-form input::placeholder,
.sms-theme-dark .sms-cart-note input::placeholder {
    color: #b6b6bb;
}

.sms-theme-light .sms-menu-search input::placeholder,
.sms-theme-light .sms-order-code-form input::placeholder,
.sms-theme-light .sms-cart-note input::placeholder {
    color: #7d8491;
}

.sms-theme-dark .sms-mode-picker button {
    background: #141416;
    border-color: #303036;
    color: #fff;
}

.sms-theme-light .sms-mode-picker button {
    background: #fff;
    border-color: #e1e3e8;
    color: #101217;
}

.sms-theme-dark .sms-menu-nav a,
.sms-theme-light .sms-menu-nav a {
    background: transparent;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 850;
    min-height: 58px;
    padding: 0 0 10px;
    position: relative;
}

.sms-theme-dark .sms-menu-nav a {
    color: #a8a8ad;
}

.sms-theme-light .sms-menu-nav a {
    color: #6b7280;
}

.sms-theme-dark .sms-menu-nav a::after,
.sms-theme-light .sms-menu-nav a::after {
    background: transparent;
    border-radius: 999px 999px 0 0;
    bottom: 0;
    content: "";
    height: 4px;
    left: 0;
    position: absolute;
    right: 0;
}

.sms-theme-dark .sms-menu-nav a.is-active,
.sms-theme-light .sms-menu-nav a.is-active {
    background: transparent;
    border-color: transparent;
    color: var(--sms-accent);
}

.sms-theme-dark .sms-menu-nav a.is-active::after,
.sms-theme-light .sms-menu-nav a.is-active::after {
    background: var(--sms-accent);
}

.sms-theme-dark .sms-menu-nav-count {
    background: #313137;
    color: #d7d7db;
}

.sms-theme-light .sms-menu-nav-count {
    background: #eef0f3;
    color: #596171;
}

.sms-theme-dark .sms-menu-sections,
.sms-theme-dark .sms-dish,
.sms-theme-dark .sms-dish:hover,
.sms-theme-dark .sms-dish.is-open,
.sms-theme-dark .sms-dish.is-popular {
    background: #000;
}

.sms-theme-light .sms-menu-sections,
.sms-theme-light .sms-dish,
.sms-theme-light .sms-dish:hover,
.sms-theme-light .sms-dish.is-open,
.sms-theme-light .sms-dish.is-popular {
    background: #fff;
}

.sms-theme-dark .sms-category,
.sms-theme-dark .sms-dish + .sms-dish,
.sms-theme-dark .sms-dish-details,
.sms-theme-dark .sms-dish-meta {
    border-color: #242428;
}

.sms-theme-light .sms-category,
.sms-theme-light .sms-dish + .sms-dish,
.sms-theme-light .sms-dish-details,
.sms-theme-light .sms-dish-meta {
    border-color: #e8e8ea;
}

.sms-theme-dark .sms-dish-list,
.sms-theme-light .sms-dish-list {
    background: transparent;
    border: 0;
    border-radius: 0;
}

.sms-theme-dark .sms-dish-subtitle,
.sms-theme-dark .sms-dish-description,
.sms-theme-dark .sms-dish-meta,
.sms-theme-dark .sms-cart-row span,
.sms-theme-dark .sms-cart-items > p,
.sms-theme-dark .sms-cart-status,
.sms-theme-dark .sms-cart-note span {
    color: #a7a7ad;
}

.sms-theme-light .sms-dish-subtitle,
.sms-theme-light .sms-dish-description,
.sms-theme-light .sms-dish-meta,
.sms-theme-light .sms-cart-row span,
.sms-theme-light .sms-cart-items > p,
.sms-theme-light .sms-cart-status,
.sms-theme-light .sms-cart-note span {
    color: #6b7280;
}

.sms-theme-dark .sms-dish-price,
.sms-theme-light .sms-dish-price {
    color: var(--sms-accent);
}

.sms-theme-dark .sms-dish-quick span,
.sms-theme-light .sms-dish-quick span,
.sms-theme-dark .sms-dish-modal-badges span,
.sms-theme-light .sms-dish-modal-badges span {
    background: color-mix(in srgb, var(--sms-accent) 16%, transparent);
    color: var(--sms-accent);
}

.sms-theme-dark .sms-dish.is-popular .sms-dish-quick span:first-child,
.sms-theme-light .sms-dish.is-popular .sms-dish-quick span:first-child {
    background: var(--sms-accent);
    color: var(--sms-action-text);
}

.sms-theme-dark .sms-order-code-form button,
.sms-theme-dark .sms-cart-footer button,
.sms-theme-dark .sms-cart-fab,
.sms-theme-dark .sms-dish-modal-actions .sms-add-dish {
    background: var(--sms-accent);
    color: #06111b;
}

.sms-theme-light .sms-order-code-form button,
.sms-theme-light .sms-cart-footer button,
.sms-theme-light .sms-cart-fab,
.sms-theme-light .sms-dish-modal-actions .sms-add-dish {
    background: var(--sms-accent);
    color: #fff;
}

.sms-theme-dark .sms-add-dish {
    background: #25252a;
    color: #fff;
}

.sms-theme-light .sms-add-dish {
    background: #101217;
    color: #fff;
}

.sms-theme-dark .sms-cart-panel,
.sms-theme-dark .sms-dish-modal-card {
    background: #111113;
    border-color: #2a2a2f;
    color: #fff;
}

.sms-theme-light .sms-cart-panel,
.sms-theme-light .sms-dish-modal-card {
    background: #fff;
    border-color: #e1e3e8;
    color: #101217;
}

.sms-theme-dark .sms-cart-close,
.sms-theme-dark .sms-cart-row,
.sms-theme-dark .sms-cart-qty,
.sms-theme-dark .sms-dish-modal-close {
    background: #1b1b1f;
    border-color: #303036;
    color: #fff;
}

.sms-theme-light .sms-cart-close,
.sms-theme-light .sms-cart-row,
.sms-theme-light .sms-cart-qty,
.sms-theme-light .sms-dish-modal-close {
    background: #f3f4f6;
    border-color: #e1e3e8;
    color: #101217;
}

.sms-theme-dark .sms-dish-modal-main h3 {
    color: #fff;
}

.sms-theme-light .sms-dish-modal-main h3 {
    color: #101217;
}

.sms-theme-dark .sms-dish-modal-subtitle,
.sms-theme-dark .sms-dish-modal-empty,
.sms-theme-dark .sms-dish-modal-details,
.sms-theme-dark .sms-dish-modal-details .sms-dish-description,
.sms-theme-dark .sms-dish-modal-details .sms-dish-meta,
.sms-theme-dark .sms-dish-extras-preview,
.sms-theme-dark .sms-dish-modal-extras label,
.sms-theme-dark .sms-dish-modal-note textarea {
    color: #b8b8bd;
    border-color: #2a2a2f;
}

.sms-theme-light .sms-dish-modal-subtitle,
.sms-theme-light .sms-dish-modal-empty,
.sms-theme-light .sms-dish-modal-details,
.sms-theme-light .sms-dish-modal-details .sms-dish-description,
.sms-theme-light .sms-dish-modal-details .sms-dish-meta,
.sms-theme-light .sms-dish-extras-preview,
.sms-theme-light .sms-dish-modal-extras label,
.sms-theme-light .sms-dish-modal-note textarea {
    color: #606876;
    border-color: #e8e8ea;
}

.sms-theme-dark .sms-dish-modal-actions,
.sms-theme-light .sms-dish-modal-actions {
    border-color: var(--sms-line);
}

.sms-theme-dark .sms-dish-modal-actions strong,
.sms-theme-light .sms-dish-modal-actions strong {
    color: var(--sms-accent);
}

/* Darkmode hardening: scoped last so older white surface rules cannot leak through. */
.sms-menu.sms-theme-dark .sms-menu-sections,
.sms-menu.sms-theme-dark .sms-category,
.sms-menu.sms-theme-dark .sms-dish-list,
.sms-menu.sms-theme-dark .sms-dish,
.sms-menu.sms-theme-dark .sms-dish:hover,
.sms-menu.sms-theme-dark .sms-dish.is-open,
.sms-menu.sms-theme-dark .sms-dish.is-popular,
.sms-menu.sms-theme-dark .sms-dish-summary,
.sms-menu.sms-theme-dark .sms-dish-body,
.sms-menu.sms-theme-dark .sms-dish-details,
.sms-menu.sms-theme-dark .sms-menu-empty,
.sms-menu.sms-theme-dark .sms-menu-empty-state {
    background: #000;
    color: #f7f7f8;
}

.sms-menu.sms-theme-dark .sms-cart-panel,
.sms-menu.sms-theme-dark .sms-dish-modal-card,
.sms-menu.sms-theme-dark .sms-cart-row,
.sms-menu.sms-theme-dark .sms-order-widget {
    background: #111113;
    border-color: #2a2a2f;
    color: #f7f7f8;
}

.sms-menu.sms-theme-dark .sms-dish-media,
.sms-menu.sms-theme-dark .sms-mode-picker button,
.sms-menu.sms-theme-dark .sms-cart-close,
.sms-menu.sms-theme-dark .sms-dish-modal-close,
.sms-menu.sms-theme-dark .sms-cart-qty {
    background: #1b1b1f;
    border-color: #303036;
    color: #fff;
}

.sms-menu.sms-theme-dark input,
.sms-menu.sms-theme-dark textarea,
.sms-menu.sms-theme-dark select {
    background-color: #343436;
    border-color: #303036;
    color: #fff;
}
