/**
 * Online menu display themes (website, QR, takeaway).
 */

.maca-dish-menu-shell {
    --maca-dm-bg: transparent;
    --maca-dm-surface: #f7f8fa;
    --maca-dm-text: #222;
    --maca-dm-text-muted: #666;
    --maca-dm-text-soft: #777;
    --maca-dm-accent: #0073aa;
    --maca-dm-accent-hover: #005177;
    --maca-dm-accent-contrast: #fff;
    --maca-dm-border: #e5e5e5;
    --maca-dm-category-border: #0073aa;
    --maca-dm-image-bg: #f0f0f0;
    --maca-dm-filter-bg: #fff;
    --maca-dm-filter-border: #0073aa;
    --maca-dm-filter-text: #0073aa;
    --maca-dm-filter-active-bg: #0073aa;
    --maca-dm-filter-active-text: #fff;
    --maca-dm-sticky-bg: #fff;
    --maca-dm-font-heading: inherit;
    --maca-dm-font-body: inherit;
    --maca-dm-radius: 8px;
    --maca-dm-item-shadow: none;
    --maca-dm-shell-padding: 0;
    --maca-dm-shell-bg: transparent;
    --maca-dm-category-transform: none;
    --maca-dm-category-spacing: 0.04em;
    --maca-dm-page-bg: #f5f5f5;
    --maca-dm-page-surface: #fff;
    --maca-dm-page-title: #333;
    --maca-dm-page-subtitle: #666;

    padding: var(--maca-dm-shell-padding);
    background: var(--maca-dm-shell-bg);
    color: var(--maca-dm-text);
    font-family: var(--maca-dm-font-body);
}

/* Theme presets */
.maca-dish-menu-shell--theme-light {
    --maca-dm-bg: #fff;
    --maca-dm-menu-bg: #fff;
}

.maca-dish-menu-shell--theme-dark {
    --maca-dm-bg: #161616;
    --maca-dm-surface: #222;
    --maca-dm-text: #f2f2f2;
    --maca-dm-text-muted: #b8b8b8;
    --maca-dm-text-soft: #9a9a9a;
    --maca-dm-accent: #6eb6ff;
    --maca-dm-accent-hover: #9dceff;
    --maca-dm-accent-contrast: #111;
    --maca-dm-border: #333;
    --maca-dm-category-border: #6eb6ff;
    --maca-dm-image-bg: #2a2a2a;
    --maca-dm-filter-bg: #222;
    --maca-dm-filter-border: #6eb6ff;
    --maca-dm-filter-text: #6eb6ff;
    --maca-dm-filter-active-bg: #6eb6ff;
    --maca-dm-filter-active-text: #111;
    --maca-dm-sticky-bg: #161616;
    --maca-dm-shell-padding: 16px;
    --maca-dm-shell-bg: #161616;
    --maca-dm-radius: 10px;
    --maca-dm-page-bg: #0f0f0f;
    --maca-dm-page-surface: #161616;
    --maca-dm-page-title: #f2f2f2;
    --maca-dm-page-subtitle: #b8b8b8;
}

.maca-dish-menu-shell--theme-classic {
    --maca-dm-accent: #2c2416;
    --maca-dm-accent-hover: #1a140c;
    --maca-dm-category-border: #2c2416;
    --maca-dm-filter-border: #2c2416;
    --maca-dm-filter-text: #2c2416;
    --maca-dm-filter-active-bg: #2c2416;
    --maca-dm-text: #2c2416;
    --maca-dm-text-muted: #5c4f3a;
    --maca-dm-border: #d8cfc0;
    --maca-dm-surface: #faf7f2;
    --maca-dm-font-heading: Georgia, "Times New Roman", serif;
    --maca-dm-font-body: Georgia, "Times New Roman", serif;
    --maca-dm-category-transform: uppercase;
    --maca-dm-category-spacing: 0.08em;
    --maca-dm-shell-padding: 12px 0;
    --maca-dm-sticky-bg: #faf7f2;
    --maca-dm-bg: #faf7f2;
    --maca-dm-menu-bg: #faf7f2;
    --maca-dm-shell-bg: #faf7f2;
    --maca-dm-filter-bg: #fff;
    --maca-dm-image-bg: #ebe4d9;
    --maca-dm-page-bg: #f0ebe3;
    --maca-dm-page-surface: #faf7f2;
    --maca-dm-page-title: #2c2416;
    --maca-dm-page-subtitle: #5c4f3a;
}

.maca-dish-menu-shell--theme-modern {
    --maca-dm-accent: #0073aa;
    --maca-dm-accent-hover: #005177;
    --maca-dm-category-border: #0073aa;
    --maca-dm-text: #1d2327;
    --maca-dm-text-muted: #50575e;
    --maca-dm-border: #dcdcde;
    --maca-dm-surface: #f6f7f7;
    --maca-dm-font-heading: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --maca-dm-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --maca-dm-radius: 12px;
    --maca-dm-item-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --maca-dm-category-transform: uppercase;
    --maca-dm-category-spacing: 0.1em;
    --maca-dm-shell-padding: 8px 0;
    --maca-dm-sticky-bg: #f6f7f7;
    --maca-dm-bg: #fff;
    --maca-dm-menu-bg: #fff;
    --maca-dm-filter-bg: #fff;
    --maca-dm-page-bg: #f0f0f1;
    --maca-dm-page-surface: #fff;
    --maca-dm-page-title: #1d2327;
    --maca-dm-page-subtitle: #50575e;
}

.maca-dish-menu-shell--theme-minimal {
    --maca-dm-accent: #111;
    --maca-dm-accent-hover: #333;
    --maca-dm-category-border: #ddd;
    --maca-dm-filter-border: #ccc;
    --maca-dm-filter-text: #333;
    --maca-dm-filter-active-bg: #111;
    --maca-dm-filter-active-text: #fff;
    --maca-dm-text: #111;
    --maca-dm-text-muted: #666;
    --maca-dm-border: #eee;
    --maca-dm-surface: #fafafa;
    --maca-dm-font-heading: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --maca-dm-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --maca-dm-radius: 0;
    --maca-dm-category-transform: none;
    --maca-dm-category-spacing: 0.02em;
    --maca-dm-shell-padding: 4px 0;
    --maca-dm-sticky-bg: #fafafa;
    --maca-dm-bg: #fff;
    --maca-dm-menu-bg: #fff;
    --maca-dm-filter-bg: #fff;
    --maca-dm-page-bg: #fff;
    --maca-dm-page-surface: #fff;
    --maca-dm-page-title: #111;
    --maca-dm-page-subtitle: #666;
}

.maca-dish-menu-shell--theme-premium {
    --maca-dm-bg: #121018;
    --maca-dm-surface: #1c1824;
    --maca-dm-text: #f5f0e8;
    --maca-dm-text-muted: #c8bfb0;
    --maca-dm-text-soft: #a69888;
    --maca-dm-accent: #c9a962;
    --maca-dm-accent-hover: #ddbf78;
    --maca-dm-accent-contrast: #121018;
    --maca-dm-border: #3a3344;
    --maca-dm-category-border: #c9a962;
    --maca-dm-image-bg: #2a2433;
    --maca-dm-filter-bg: #1c1824;
    --maca-dm-filter-border: #c9a962;
    --maca-dm-filter-text: #c9a962;
    --maca-dm-filter-active-bg: #c9a962;
    --maca-dm-filter-active-text: #121018;
    --maca-dm-sticky-bg: #14111c;
    --maca-dm-font-heading: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --maca-dm-font-body: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --maca-dm-radius: 12px;
    --maca-dm-item-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    --maca-dm-shell-padding: 0;
    --maca-dm-shell-bg: transparent;
    --maca-dm-outer-bg: #06050a;
    --maca-dm-frame-bg: linear-gradient(165deg, #13101a 0%, #1b1726 48%, #14101b 100%);
    --maca-dm-category-transform: uppercase;
    --maca-dm-category-spacing: 0.12em;
    --maca-dm-page-bg: #06050a;
    --maca-dm-page-surface: transparent;
    --maca-dm-page-title: #f5f0e8;
    --maca-dm-page-subtitle: #c8bfb0;
}

/* Apply variables */
.maca-dish-menu-shell .maca-dish-menu {
    color: var(--maca-dm-text);
    background: var(--maca-dm-menu-bg, var(--maca-dm-bg, transparent));
    border-radius: var(--maca-dm-radius);
}

.maca-dish-menu-shell--theme-dark .maca-dish-menu {
    background: var(--maca-dm-bg, #161616);
}

.maca-dish-menu-shell--theme-premium .maca-dish-menu {
    background-color: #14111c;
    background-image: var(--maca-dm-frame-bg, none);
}

.maca-dish-menu-shell .maca-opening-hours-notice,
.maca-dish-menu-shell .maca-takeaway-hours-notice {
    background: var(--maca-dm-surface, #f7f8fa);
    border-color: var(--maca-dm-border, #e2e6ea);
    color: var(--maca-dm-text-muted, #666);
}

.maca-dish-menu-shell .maca-lang-btn {
    background: var(--maca-dm-filter-bg, #fff);
    border-color: var(--maca-dm-border);
}

.maca-dish-menu-shell .maca-lang-btn.is-active,
.maca-dish-menu-shell .maca-lang-btn:hover {
    border-color: var(--maca-dm-accent);
    box-shadow: 0 0 0 1px var(--maca-dm-accent);
}

.maca-dish-menu-shell .maca-dish-category-title,
.maca-dish-menu-shell .maca-dish-campaign-title {
    color: var(--maca-dm-text);
    border-bottom-color: var(--maca-dm-category-border);
    font-family: var(--maca-dm-font-heading);
    text-transform: var(--maca-dm-category-transform);
    letter-spacing: var(--maca-dm-category-spacing);
}

.maca-dish-menu-shell--theme-modern .maca-dish-category-title,
.maca-dish-menu-shell--theme-modern .maca-dish-campaign-title {
    border-bottom-width: 3px;
    padding-bottom: 10px;
}

.maca-dish-menu-shell--theme-minimal .maca-dish-category-title,
.maca-dish-menu-shell--theme-minimal .maca-dish-campaign-title {
    font-weight: 500;
    font-size: 20px;
    border-bottom-width: 1px;
}

/* Category heading ornaments */
.maca-dish-category-heading .maca-dish-category-ornament {
    display: none;
}

.maca-dish-menu-shell .maca-dish-category-heading {
    margin-bottom: 16px;
}

.maca-dish-menu-shell .maca-dish-category-heading .maca-dish-category-title {
    margin-bottom: 0;
}

.maca-dish-menu-shell .maca-dish-category-heading .maca-dish-category-ornament {
    display: flex;
    align-items: center;
    gap: 10px;
    width: min(260px, 88%);
    margin: 0 auto 8px;
}

.maca-dish-menu-shell .maca-dish-category-ornament__arm {
    flex: 1;
    height: 1px;
    min-width: 24px;
}

.maca-dish-menu-shell .maca-dish-category-ornament__mark {
    flex-shrink: 0;
}

.maca-dish-menu-shell .maca-dish-category-heading--sub .maca-dish-category-ornament {
    width: min(200px, 72%);
    margin-bottom: 6px;
}

.maca-dish-menu-shell .maca-dish-category-heading--sub {
    margin-bottom: 12px;
}

.maca-dish-menu-shell--theme-light .maca-dish-category-ornament__arm--left {
    background: linear-gradient(90deg, transparent, var(--maca-dm-category-border, #0073aa));
}

.maca-dish-menu-shell--theme-light .maca-dish-category-ornament__arm--right {
    background: linear-gradient(270deg, transparent, var(--maca-dm-category-border, #0073aa));
}

.maca-dish-menu-shell--theme-light .maca-dish-category-ornament__mark {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--maca-dm-category-border, #0073aa);
}

.maca-dish-menu-shell--theme-light .maca-dish-category-heading .maca-dish-category-title {
    border-bottom: none;
    padding-bottom: 0;
}

.maca-dish-menu-shell--theme-dark .maca-dish-category-ornament__arm--left {
    background: linear-gradient(90deg, transparent, var(--maca-dm-accent, #d4af37));
}

.maca-dish-menu-shell--theme-dark .maca-dish-category-ornament__arm--right {
    background: linear-gradient(270deg, transparent, var(--maca-dm-accent, #d4af37));
}

.maca-dish-menu-shell--theme-dark .maca-dish-category-ornament__mark {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--maca-dm-accent, #d4af37);
    box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.maca-dish-menu-shell--theme-dark .maca-dish-category-heading .maca-dish-category-title {
    border-bottom: none;
    padding-bottom: 0;
}

.maca-dish-menu-shell--theme-classic .maca-dish-category-heading {
    text-align: center;
}

.maca-dish-menu-shell--theme-classic .maca-dish-category-ornament__arm--left {
    background: linear-gradient(90deg, transparent, rgba(120, 90, 50, 0.55));
}

.maca-dish-menu-shell--theme-classic .maca-dish-category-ornament__arm--right {
    background: linear-gradient(270deg, transparent, rgba(120, 90, 50, 0.55));
}

.maca-dish-menu-shell--theme-classic .maca-dish-category-ornament__mark {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--maca-dm-accent, #8b6914);
    box-shadow: 0 0 0 3px rgba(139, 105, 20, 0.12);
}

.maca-dish-menu-shell--theme-classic .maca-dish-category-heading .maca-dish-category-title {
    border-bottom: none;
    padding-bottom: 0;
}

.maca-dish-menu-shell--theme-classic .maca-dish-category-heading::after {
    content: "";
    display: block;
    width: min(140px, 50%);
    height: 1px;
    margin: 10px auto 0;
    background: linear-gradient(90deg, transparent, var(--maca-dm-category-border, #c4a574), transparent);
}

.maca-dish-menu-shell--theme-modern .maca-dish-category-heading {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 12px;
}

.maca-dish-menu-shell--theme-modern .maca-dish-category-heading .maca-dish-category-ornament {
    order: -1;
    width: auto;
    margin: 0;
    gap: 0;
}

.maca-dish-menu-shell--theme-modern .maca-dish-category-ornament__arm {
    display: none;
}

.maca-dish-menu-shell--theme-modern .maca-dish-category-ornament__mark {
    width: 4px;
    height: 26px;
    border-radius: 2px;
    background: var(--maca-dm-accent, #0073aa);
    transform: none;
}

.maca-dish-menu-shell--theme-modern .maca-dish-category-heading .maca-dish-category-title {
    flex: 1;
    min-width: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.maca-dish-menu-shell--theme-minimal .maca-dish-category-heading .maca-dish-category-ornament {
    width: min(180px, 60%);
    margin-bottom: 6px;
}

.maca-dish-menu-shell--theme-minimal .maca-dish-category-ornament__mark {
    display: none;
}

.maca-dish-menu-shell--theme-minimal .maca-dish-category-ornament__arm--left,
.maca-dish-menu-shell--theme-minimal .maca-dish-category-ornament__arm--right {
    background: var(--maca-dm-category-border, #ddd);
}

.maca-dish-menu-shell--theme-minimal .maca-dish-category-heading .maca-dish-category-title {
    border-bottom: none;
    padding-bottom: 0;
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 22px;
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-heading .maca-dish-category-ornament {
    width: min(300px, 92%);
    margin-bottom: 10px;
    gap: 14px;
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-ornament__arm--left {
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.82));
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-ornament__arm--right {
    background: linear-gradient(270deg, transparent, rgba(201, 169, 98, 0.82));
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-ornament__mark {
    width: 9px;
    height: 9px;
    transform: rotate(45deg);
    background: linear-gradient(135deg, #f0e0b8 0%, #c9a962 48%, #8f7340 100%);
    box-shadow: 0 0 12px rgba(201, 169, 98, 0.45);
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-heading .maca-dish-category-title,
.maca-dish-menu-shell--theme-premium .maca-dish-category-heading .maca-dish-campaign-title {
    width: 100%;
    border-bottom: none;
    padding-bottom: 0;
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-heading::after {
    content: "";
    display: block;
    width: min(130px, 42%);
    height: 1px;
    margin-top: 10px;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.62), transparent);
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-heading--sub .maca-dish-category-ornament__mark {
    width: 6px;
    height: 6px;
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-heading--sub::after {
    width: min(90px, 34%);
    margin-top: 8px;
}

.maca-dish-menu-shell .maca-dish-category-subtitle {
    font-size: 17px;
    font-weight: 600;
    color: var(--maca-dm-text, #333);
}

.maca-dish-item {
    border-bottom-color: var(--maca-dm-border);
    box-shadow: var(--maca-dm-item-shadow);
}

.maca-dish-menu-shell--theme-modern .maca-dish-item,
.maca-dish-menu-shell--theme-premium .maca-dish-item {
    margin-bottom: 12px;
    padding: 16px;
    border-bottom: none;
    border-radius: var(--maca-dm-radius);
    background: var(--maca-dm-surface);
}

.maca-dish-menu-shell--theme-premium .maca-dish-item {
    border: 1px solid var(--maca-dm-border);
}

.maca-dish-menu-shell--theme-dark.maca-dish-menu-shell--layout-rows .maca-dish-item,
.maca-dish-menu-shell--theme-classic.maca-dish-menu-shell--layout-rows .maca-dish-item {
    padding: 16px;
    margin-bottom: 8px;
    border-bottom: none;
    border-radius: var(--maca-dm-radius);
    background: var(--maca-dm-surface);
}

.maca-dish-menu-shell--theme-dark.maca-dish-menu-shell--layout-rows .maca-dish-item:last-child,
.maca-dish-menu-shell--theme-classic.maca-dish-menu-shell--layout-rows .maca-dish-item:last-child {
    margin-bottom: 0;
}

.maca-dish-menu-shell .maca-dish-title {
    color: var(--maca-dm-text);
    font-family: var(--maca-dm-font-heading);
}

.maca-dish-menu-shell .maca-dish-description,
.maca-dish-menu-shell .maca-dish-allergens,
.maca-dish-menu-shell .maca-dish-rating-meta {
    color: var(--maca-dm-text-muted);
}

.maca-dish-menu-shell .maca-dish-allergens-label,
.maca-dish-menu-shell .maca-dish-rating-label {
    color: var(--maca-dm-text-soft);
}

.maca-dish-menu-shell .maca-dish-price,
.maca-dish-menu-shell .maca-dish-rating-average {
    color: var(--maca-dm-accent);
}

.maca-dish-menu-shell .maca-dish-image {
    background: var(--maca-dm-image-bg);
    border-radius: var(--maca-dm-radius);
}

.maca-dish-menu-shell .maca-dish-filter,
.maca-dish-menu-shell .maca-filter-bar .maca-category-button,
.maca-dish-menu-shell .maca-filter-bar .category-button {
    background: var(--maca-dm-filter-bg);
    border-color: var(--maca-dm-filter-border);
    color: var(--maca-dm-filter-text);
}

.maca-dish-menu-shell .maca-dish-filter:hover,
.maca-dish-menu-shell .maca-dish-filter.active,
.maca-dish-menu-shell .maca-filter-bar .maca-category-button:hover,
.maca-dish-menu-shell .maca-filter-bar .maca-category-button.active,
.maca-dish-menu-shell .maca-filter-bar .category-button:hover {
    background: var(--maca-dm-filter-active-bg);
    border-color: var(--maca-dm-filter-active-bg);
    color: var(--maca-dm-filter-active-text);
}

.maca-dish-menu-shell .maca-filter-bar .maca-category-button:hover .maca-category-name,
.maca-dish-menu-shell .maca-filter-bar .maca-category-button.active .maca-category-name {
    color: var(--maca-dm-filter-active-text);
}

.maca-dish-menu-shell .maca-dish-filters {
    z-index: 50;
    background: var(--maca-dm-sticky-bg);
}

.maca-dish-menu-shell .maca-dish-category-select {
    background-color: var(--maca-dm-filter-bg);
    border-color: var(--maca-dm-filter-border);
    color: var(--maca-dm-filter-text);
    font-family: var(--maca-dm-font-body);
}

.maca-dish-menu-shell .maca-dish-category-select:focus {
    outline-color: var(--maca-dm-filter-border);
}

.maca-dish-menu-shell .maca-dish-filters--dropdown::after {
    border-top-color: var(--maca-dm-filter-text);
}

.maca-dish-menu-shell .maca-dish-filters--dropdown.is-stuck {
    background: var(--maca-dm-sticky-bg);
    border-bottom-color: var(--maca-dm-border);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.maca-dish-menu-shell .maca-dish-category-heading {
    background: var(--maca-dm-sticky-bg, transparent);
}

.maca-dish-menu-shell--theme-premium .maca-dish-category-heading {
    background-color: #14111c;
    background-image: var(--maca-dm-frame-bg, none);
}

.maca-dish-menu-shell--theme-dark .maca-dish-category-heading {
    background: var(--maca-dm-shell-bg, #161616);
}

.maca-dish-menu-shell--theme-classic .maca-dish-category-heading {
    background: var(--maca-dm-surface, #faf7f2);
}

.maca-dish-menu-shell--theme-modern .maca-dish-category-heading {
    background: var(--maca-dm-surface, #f6f7f7);
}

.maca-dish-menu-shell--theme-minimal .maca-dish-category-heading {
    background: var(--maca-dm-surface, #fafafa);
}

.maca-dish-menu-shell .maca-dish-filters.is-stuck {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.maca-dish-menu-shell .maca-menu-footer {
    background: var(--maca-dm-surface);
    border-color: var(--maca-dm-border);
    border-radius: var(--maca-dm-radius);
}

.maca-dish-menu-shell .maca-menu-footer-heading {
    color: var(--maca-dm-accent);
}

.maca-dish-menu-shell .maca-menu-footer-text {
    color: var(--maca-dm-text-muted);
}

.maca-dish-menu-shell .maca-menu-footer-name,
.maca-dish-menu-shell .maca-menu-footer-company-line,
.maca-dish-menu-shell .maca-menu-footer-contact-row {
    color: var(--maca-dm-text);
}

.maca-dish-menu-shell .maca-menu-footer-phone a,
.maca-dish-menu-shell .maca-menu-footer-email a,
.maca-dish-menu-shell .maca-menu-footer-website a,
.maca-dish-menu-shell .maca-menu-footer-contact-item a {
    color: var(--maca-dm-accent);
}

.maca-dish-menu-shell .maca-menu-footer-phone a:hover,
.maca-dish-menu-shell .maca-menu-footer-phone a:focus,
.maca-dish-menu-shell .maca-menu-footer-email a:hover,
.maca-dish-menu-shell .maca-menu-footer-email a:focus,
.maca-dish-menu-shell .maca-menu-footer-website a:hover,
.maca-dish-menu-shell .maca-menu-footer-website a:focus,
.maca-dish-menu-shell .maca-menu-footer-contact-item a:hover,
.maca-dish-menu-shell .maca-menu-footer-contact-item a:focus {
    color: var(--maca-dm-accent-hover);
}

.maca-dish-menu-shell .maca-menu-footer-icon {
    color: var(--maca-dm-accent);
}

.maca-dish-menu-shell .maca-menu-footer-contact-sep {
    color: var(--maca-dm-text-soft);
}

.maca-dish-menu-shell .maca-menu-footer-contact {
    border-top-color: var(--maca-dm-border);
}

.maca-dish-menu-shell .maca-dish-image--clickable .maca-dish-image-button:focus-visible {
    outline-color: var(--maca-dm-accent);
}

.maca-dish-menu-shell .maca-dish-add-to-order,
.maca-dish-menu-shell .maca-dish-add-btn,
.maca-dish-menu-shell .maca-dish-qty-btn {
    border: 2px solid var(--maca-dm-filter-border, var(--maca-dm-accent));
    color: var(--maca-dm-filter-text, var(--maca-dm-accent));
    background: var(--maca-dm-filter-bg, #fff);
    border-radius: 999px;
    font-family: var(--maca-dm-font-body);
    font-weight: 600;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.maca-dish-menu-shell--theme-minimal .maca-dish-add-to-order,
.maca-dish-menu-shell--theme-minimal .maca-dish-add-btn,
.maca-dish-menu-shell--theme-minimal .maca-dish-qty-btn {
    border-radius: var(--maca-dm-radius, 0);
    border-width: 1px;
    font-weight: 500;
}

.maca-dish-menu-shell--theme-classic .maca-dish-add-to-order,
.maca-dish-menu-shell--theme-classic .maca-dish-add-btn,
.maca-dish-menu-shell--theme-classic .maca-dish-qty-btn {
    font-family: var(--maca-dm-font-body);
    letter-spacing: 0.02em;
}

.maca-dish-menu-shell--theme-premium .maca-dish-add-to-order,
.maca-dish-menu-shell--theme-premium .maca-dish-add-btn,
.maca-dish-menu-shell--theme-premium .maca-dish-qty-btn {
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-size: 12px;
}

.maca-dish-menu-shell .maca-dish-add-to-order:hover,
.maca-dish-menu-shell .maca-dish-add-to-order:focus-visible,
.maca-dish-menu-shell .maca-dish-add-btn:hover,
.maca-dish-menu-shell .maca-dish-add-btn:focus-visible,
.maca-dish-menu-shell .maca-dish-qty-btn:hover,
.maca-dish-menu-shell .maca-dish-qty-btn:focus-visible {
    background: var(--maca-dm-filter-active-bg, var(--maca-dm-accent));
    border-color: var(--maca-dm-filter-active-bg, var(--maca-dm-accent));
    color: var(--maca-dm-filter-active-text, var(--maca-dm-accent-contrast));
    outline: none;
}

.maca-dish-menu-shell .maca-dish-add-to-order.is-added,
.maca-dish-menu-shell .maca-dish-add-btn.is-added {
    background: var(--maca-dm-filter-active-bg, var(--maca-dm-accent));
    border-color: var(--maca-dm-filter-active-bg, var(--maca-dm-accent));
    color: var(--maca-dm-filter-active-text, var(--maca-dm-accent-contrast));
}

/* Premium — dark outer stage + double gold frame around the menu */
.maca-dish-menu-shell--theme-premium {
    position: relative;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
    padding: 28px 24px 32px;
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 169, 98, 0.14) 0%, transparent 42%),
        var(--maca-dm-outer-bg, #06050a);
    border: 1px solid rgba(201, 169, 98, 0.3);
    border-radius: 6px;
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.52),
        inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.maca-dish-menu-shell--theme-premium::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 3px double rgba(201, 169, 98, 0.72);
    border-radius: 4px;
    pointer-events: none;
    z-index: 0;
}

.maca-dish-menu-shell--theme-premium .maca-dish-menu {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 22px 20px 10px;
    background-color: #14111c;
    background-image: var(--maca-dm-frame-bg, none);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.maca-dish-menu-shell--theme-premium .maca-menu-footer {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    border: 1px solid rgba(201, 169, 98, 0.24);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Grid (card) layout — works with all online menu themes */
.maca-dish-menu-shell--layout-grid .maca-dish-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    align-items: stretch;
}

.maca-dish-menu-shell--layout-grid .maca-dish-item {
    flex-direction: column;
    align-items: stretch;
    height: 100%;
    margin-bottom: 0;
    padding: 0;
    border-bottom: none;
    background: var(--maca-dm-surface, #fff);
    border: 1px solid var(--maca-dm-border, #e5e5e5);
    border-radius: var(--maca-dm-radius, 8px);
    overflow: hidden;
    box-shadow: var(--maca-dm-item-shadow, 0 1px 3px rgba(0, 0, 0, 0.06));
}

.maca-dish-menu-shell--layout-grid .maca-dish-image {
    flex: none;
    width: 100%;
    max-width: none;
    min-width: 0;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 0;
}

.maca-dish-menu-shell--layout-grid .maca-dish-image img {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
}

.maca-dish-menu-shell--layout-grid .maca-dish-image--clickable,
.maca-dish-menu-shell--layout-grid .maca-dish-image--clickable .maca-dish-image-button {
    height: 100%;
}

.maca-dish-menu-shell--layout-grid .maca-dish-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 14px 16px 16px;
}

.maca-dish-menu-shell--layout-grid .maca-dish-item:not(:has(.maca-dish-image)) .maca-dish-details {
    padding-top: 16px;
}

.maca-dish-menu-shell--layout-grid .maca-dish-order-actions {
    margin-top: auto;
    padding-top: 12px;
}

.maca-dish-menu-shell--layout-grid.maca-dish-menu-shell--theme-modern .maca-dish-item,
.maca-dish-menu-shell--layout-grid.maca-dish-menu-shell--theme-premium .maca-dish-item {
    padding: 0;
}

.maca-dish-menu-shell--layout-grid.maca-dish-menu-shell--theme-modern .maca-dish-image,
.maca-dish-menu-shell--layout-grid.maca-dish-menu-shell--theme-premium .maca-dish-image {
    border-radius: var(--maca-dm-radius, 8px) var(--maca-dm-radius, 8px) 0 0;
}

@media (max-width: 520px) {
    .maca-dish-menu-shell--layout-grid .maca-dish-list {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   Standalone QR / takeaway dish pages
   ========================================================================== */

/* Base layout + safe light defaults (overridden per theme below) */
body.maca-qr-dish-page,
body.maca-takeaway-dish-page {
    margin: 0;
    font-family: Arial, sans-serif;
    padding: 20px;
    background-color: #f5f5f5;
    color: #222;
}

body.maca-qr-dish-page .menu-container,
body.maca-takeaway-dish-page .menu-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    color: #222;
}

body.maca-qr-dish-page .menu-title,
body.maca-takeaway-dish-page .menu-title {
    text-align: center;
    font-size: clamp(24px, 5vw, 32px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 18px;
    padding: 0;
    border: 0;
    color: var(--maca-dm-page-title, #333);
}

body.maca-qr-dish-page .menu-subtitle,
body.maca-takeaway-dish-page .menu-subtitle {
    text-align: center;
    margin-bottom: 24px;
    color: var(--maca-dm-page-subtitle, #666);
}

body.maca-qr-dish-page .maca-menulist-wrap-qr,
body.maca-takeaway-dish-page .maca-menulist-wrap-takeaway {
    max-width: 100%;
}

body.maca-qr-dish-page .maca-menulist-wrap-qr .maca-dish-menu,
body.maca-takeaway-dish-page .maca-menulist-wrap-takeaway .maca-dish-menu {
    margin: 0;
}

body.maca-qr-dish-page .maca-dishes-empty,
body.maca-takeaway-dish-page .maca-dishes-empty {
    color: var(--maca-dm-page-subtitle, #666);
}

@media (max-width: 600px) {
    body.maca-qr-dish-page,
    body.maca-takeaway-dish-page {
        padding: 12px 12px 0;
    }

    body.maca-qr-dish-page .menu-container,
    body.maca-takeaway-dish-page .menu-container {
        padding: 20px 16px 28px;
    }
}

/* Body-level theme tokens for page chrome + order UI */
body.maca-dish-menu-theme-light.maca-qr-dish-page,
body.maca-dish-menu-theme-light.maca-takeaway-dish-page {
    --maca-dm-page-bg: #f5f5f5;
    --maca-dm-page-surface: #fff;
    --maca-dm-page-title: #333;
    --maca-dm-page-subtitle: #666;
    --maca-dm-text: #333;
    --maca-dm-accent: #0073aa;
    --maca-dm-accent-hover: #005177;
    --maca-dm-accent-contrast: #fff;
    --maca-dm-border: #e5e5e5;
    --maca-dm-surface: #f7f8fa;
    --maca-dm-filter-bg: #fff;
    --maca-dm-filter-border: #0073aa;
    --maca-dm-filter-text: #0073aa;
    --maca-dm-sticky-bg: #fff;
    --maca-dm-font-heading: inherit;
    --maca-dm-font-body: inherit;
}

body.maca-dish-menu-theme-classic.maca-qr-dish-page,
body.maca-dish-menu-theme-classic.maca-takeaway-dish-page {
    --maca-dm-page-bg: #f0ebe3;
    --maca-dm-page-surface: #faf7f2;
    --maca-dm-page-title: #2c2416;
    --maca-dm-page-subtitle: #5c4f3a;
    --maca-dm-text: #2c2416;
    --maca-dm-accent: #2c2416;
    --maca-dm-accent-hover: #1a140c;
    --maca-dm-accent-contrast: #fff;
    --maca-dm-border: #d8cfc0;
    --maca-dm-surface: #faf7f2;
    --maca-dm-filter-bg: #fff;
    --maca-dm-filter-border: #2c2416;
    --maca-dm-filter-text: #2c2416;
    --maca-dm-sticky-bg: #faf7f2;
    --maca-dm-font-heading: Georgia, "Times New Roman", serif;
    --maca-dm-font-body: Georgia, "Times New Roman", serif;
}

body.maca-dish-menu-theme-modern.maca-qr-dish-page,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page {
    --maca-dm-page-bg: #f0f0f1;
    --maca-dm-page-surface: #fff;
    --maca-dm-page-title: #1d2327;
    --maca-dm-page-subtitle: #50575e;
    --maca-dm-text: #1d2327;
    --maca-dm-accent: #0073aa;
    --maca-dm-accent-hover: #005177;
    --maca-dm-accent-contrast: #fff;
    --maca-dm-border: #dcdcde;
    --maca-dm-surface: #f6f7f7;
    --maca-dm-filter-bg: #fff;
    --maca-dm-filter-border: #0073aa;
    --maca-dm-filter-text: #0073aa;
    --maca-dm-sticky-bg: #f6f7f7;
    --maca-dm-font-heading: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --maca-dm-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.maca-dish-menu-theme-minimal.maca-qr-dish-page,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page {
    --maca-dm-page-bg: #fff;
    --maca-dm-page-surface: #fff;
    --maca-dm-page-title: #111;
    --maca-dm-page-subtitle: #666;
    --maca-dm-text: #111;
    --maca-dm-accent: #111;
    --maca-dm-accent-hover: #333;
    --maca-dm-accent-contrast: #fff;
    --maca-dm-border: #eee;
    --maca-dm-surface: #fafafa;
    --maca-dm-filter-bg: #fff;
    --maca-dm-filter-border: #ccc;
    --maca-dm-filter-text: #333;
    --maca-dm-sticky-bg: #fafafa;
    --maca-dm-font-heading: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --maca-dm-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.maca-dish-menu-theme-dark.maca-qr-dish-page,
body.maca-dish-menu-theme-dark.maca-takeaway-dish-page {
    --maca-dm-page-bg: #0f0f0f;
    --maca-dm-page-surface: #161616;
    --maca-dm-page-title: #f2f2f2;
    --maca-dm-page-subtitle: #b8b8b8;
    --maca-dm-text: #f2f2f2;
    --maca-dm-accent: #6eb6ff;
    --maca-dm-accent-hover: #9dceff;
    --maca-dm-accent-contrast: #111;
    --maca-dm-border: #333;
    --maca-dm-surface: #222;
    --maca-dm-filter-bg: #2a2a2a;
    --maca-dm-filter-border: #6eb6ff;
    --maca-dm-filter-text: #6eb6ff;
    --maca-dm-sticky-bg: #161616;
    --maca-dm-font-heading: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --maca-dm-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page {
    --maca-dm-page-bg: #06050a;
    --maca-dm-page-surface: transparent;
    --maca-dm-page-title: #f5f0e8;
    --maca-dm-page-subtitle: #c8bfb0;
    --maca-dm-text: #f5f0e8;
    --maca-dm-accent: #c9a962;
    --maca-dm-accent-hover: #ddbf78;
    --maca-dm-accent-contrast: #121018;
    --maca-dm-border: #3a3344;
    --maca-dm-surface: #1c1824;
    --maca-dm-filter-bg: #14111c;
    --maca-dm-filter-border: #c9a962;
    --maca-dm-filter-text: #c9a962;
    --maca-dm-sticky-bg: #14111c;
    --maca-dm-font-heading: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    --maca-dm-font-body: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
}

/* Themed page chrome (tokens above must be defined first) */
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page {
    background-color: var(--maca-dm-page-bg, #f5f5f5);
    color: var(--maca-dm-page-title, #222);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .menu-container,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .menu-container {
    background-color: var(--maca-dm-page-surface, #fff);
    color: var(--maca-dm-page-title, #222);
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page {
    background:
        radial-gradient(circle at 50% 0%, rgba(201, 169, 98, 0.1) 0%, transparent 45%),
        var(--maca-dm-page-bg, #06050a);
    color: var(--maca-dm-page-title, #f5f0e8);
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page .menu-container,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .menu-container {
    background-color: transparent;
    box-shadow: none;
    border: none;
    padding: 12px 10px 28px;
    max-width: 960px;
}

body.maca-dish-menu-theme-dark.maca-qr-dish-page .menu-container,
body.maca-dish-menu-theme-dark.maca-takeaway-dish-page .menu-container {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

/* Page menu title (e.g. Vår meny / Our menu) */
body.maca-dish-menu-theme-light.maca-qr-dish-page .menu-title,
body.maca-dish-menu-theme-light.maca-takeaway-dish-page .menu-title {
    color: var(--maca-dm-page-title, #333);
    font-weight: 700;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--maca-dm-accent, #0073aa);
}

body.maca-dish-menu-theme-dark.maca-qr-dish-page .menu-title,
body.maca-dish-menu-theme-dark.maca-takeaway-dish-page .menu-title {
    color: var(--maca-dm-page-title, #f2f2f2);
    font-weight: 600;
    letter-spacing: 0.04em;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--maca-dm-accent, #6eb6ff);
}

body.maca-dish-menu-theme-classic.maca-qr-dish-page .menu-title,
body.maca-dish-menu-theme-classic.maca-takeaway-dish-page .menu-title {
    color: var(--maca-dm-page-title, #2c2416);
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 4.5vw, 30px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 22px;
}

body.maca-dish-menu-theme-classic.maca-qr-dish-page .menu-title::after,
body.maca-dish-menu-theme-classic.maca-takeaway-dish-page .menu-title::after {
    content: "";
    display: block;
    width: min(220px, 72%);
    height: 1px;
    margin: 14px auto 0;
    background: linear-gradient(90deg, transparent, var(--maca-dm-accent, #2c2416), transparent);
}

body.maca-dish-menu-theme-modern.maca-qr-dish-page .menu-title,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page .menu-title {
    color: var(--maca-dm-page-title, #1d2327);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(20px, 4vw, 28px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--maca-dm-accent, #0073aa);
}

body.maca-dish-menu-theme-minimal.maca-qr-dish-page .menu-title,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .menu-title {
    color: var(--maca-dm-page-title, #111);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    font-size: clamp(22px, 4vw, 28px);
    font-weight: 500;
    letter-spacing: 0.03em;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--maca-dm-border, #eee);
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page .menu-title,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .menu-title {
    color: #f5f0e8;
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    font-size: clamp(24px, 5vw, 34px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 24px;
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page .menu-title::before,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .menu-title::before,
body.maca-dish-menu-theme-premium.maca-qr-dish-page .menu-title::after,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .menu-title::after {
    content: "";
    display: block;
    width: min(260px, 82%);
    height: 1px;
    margin-inline: auto;
    background: linear-gradient(90deg, transparent, rgba(201, 169, 98, 0.85), transparent);
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page .menu-title::before,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .menu-title::before {
    margin-bottom: 12px;
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page .menu-title::after,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .menu-title::after {
    margin-top: 12px;
}

body.maca-dish-menu-theme-minimal.maca-qr-dish-page .menu-container,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .menu-container {
    box-shadow: none;
    border-radius: 0;
}

body.maca-dish-menu-theme-minimal.maca-qr-dish-page,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page {
    padding-left: 0;
    padding-right: 0;
}

/* Table ordering chrome on standalone dish pages (always opaque — never page-surface) */
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-bar,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-bar {
    background-color: var(--maca-dm-surface, #fff);
    border-top-color: var(--maca-dm-border, #ddd);
    color: var(--maca-dm-page-title, #333);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-bar-button,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-bar-button {
    background: var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-accent-contrast, #fff);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-panel,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-panel,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-panel-body,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-panel-body,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-panel-footer,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-panel-footer,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-waiter,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-waiter,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status {
    background-color: var(--maca-dm-surface, #fff);
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-panel-header,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-panel-header,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-line,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-line,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-waiter-item,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-waiter-item,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-total-wrap,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-total-wrap,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-waiter-header,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-waiter-header {
    border-color: var(--maca-dm-border, #ddd);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-table-select,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-table-select,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-table-input,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-table-input,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-note-input,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-note-input,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-line-note,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-line-note,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-pickup-name,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-pickup-name,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-pickup-phone,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-pickup-phone {
    background-color: var(--maca-dm-filter-bg, var(--maca-dm-surface, #fff));
    border-color: var(--maca-dm-border, #ccc);
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-close,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-close,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-qty-btn,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-qty-btn,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-clear,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-clear {
    background-color: var(--maca-dm-filter-bg, var(--maca-dm-surface, #fff));
    border-color: var(--maca-dm-border, #ccc);
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-qty-btn,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-qty-btn {
    border-color: var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-field > span,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-field > span,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-empty,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-empty,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-line-note-label > span,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-line-note-label > span,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-waiter-note,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-waiter-note,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-waiter-price,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-waiter-price {
    color: var(--maca-dm-page-subtitle, #666);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-line-title,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-line-title,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-waiter-title,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-waiter-title {
    color: var(--maca-dm-page-title, #222);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-line-price,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-line-price,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-waiter-qty,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-waiter-qty,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-waiter-table,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-waiter-table {
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-show-waiter,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-show-waiter,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-more,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-more,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-back,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-back {
    background: var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-accent-contrast, #fff);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-remove,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-remove {
    background: transparent;
    border-color: var(--maca-dm-border, #ccc);
    color: var(--maca-dm-page-subtitle, #666);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-remove:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-remove:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-remove:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-remove:focus-visible {
    color: var(--maca-dm-accent, #0073aa);
    border-color: var(--maca-dm-accent, #0073aa);
    background-color: var(--maca-dm-filter-bg, var(--maca-dm-surface, #fff));
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-table-order-total-wrap,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-table-order-total-wrap {
    border-top-color: var(--maca-dm-accent, #0073aa);
}

/* Guest order status — follow menu theme on QR / takeaway */
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-header h2,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-header h2,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-card-title,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-card-title {
    color: var(--maca-dm-page-title, #333);
    font-family: var(--maca-dm-font-heading, inherit);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-table,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-table,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-card-status,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-card-status,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-card-message,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-card-message {
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-hint,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-hint,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-payment-message,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-payment-message,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-payment-wait,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-payment-wait,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-payment-manual,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-payment-manual {
    color: var(--maca-dm-page-subtitle, #666);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-steps li,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-steps li {
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #f5f5f5));
    color: var(--maca-dm-page-subtitle, #888);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-steps li::before,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-steps li::before {
    background: var(--maca-dm-border, #ccc);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-steps li.is-done,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-steps li.is-done {
    background: color-mix(in srgb, var(--maca-dm-accent, #0073aa) 14%, var(--maca-dm-surface, #fff));
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-steps li.is-done::before,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-steps li.is-done::before {
    background: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-steps li.is-current,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-steps li.is-current {
    background: color-mix(in srgb, var(--maca-dm-accent, #0073aa) 20%, var(--maca-dm-surface, #fff));
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-steps li.is-current::before,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-steps li.is-current::before {
    background: var(--maca-dm-accent, #0073aa);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--maca-dm-accent, #0073aa) 24%, transparent);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-eta,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-eta {
    background: color-mix(in srgb, var(--maca-dm-accent, #0073aa) 16%, var(--maca-dm-surface, #fff));
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-lines,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-lines,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-lines li,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-lines li,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-payment,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-payment {
    border-color: var(--maca-dm-border, #eee);
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-card,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-card {
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #fafafa));
    border-color: var(--maca-dm-border, #e0e0e0);
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-payment-done,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-payment-done,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-payment-summary,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-payment-summary {
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-message--success,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-message--success {
    background: color-mix(in srgb, var(--maca-dm-accent, #0073aa) 14%, var(--maca-dm-surface, #fff));
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-message--cancel,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-message--cancel {
    background: color-mix(in srgb, var(--maca-dm-accent, #0073aa) 10%, var(--maca-dm-surface, #fff));
    color: var(--maca-dm-page-subtitle, #666);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-more,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-more,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-session-button,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-session-button,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-online,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-online {
    background: var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-accent-contrast, #fff);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-dismiss,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-dismiss {
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #f0f0f0));
    border: 1px solid var(--maca-dm-border, #ddd);
    color: var(--maca-dm-page-title, #333);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-dismiss:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-status-dismiss:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-dismiss:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-status-dismiss:focus-visible {
    border-color: var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-waiter,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-waiter {
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #f5f5f5));
    border-color: var(--maca-dm-border, #ccc);
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-payment-transactions,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-payment-transactions {
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #f8fafc));
    border-color: var(--maca-dm-border, #e2e8f0);
    color: var(--maca-dm-page-title, #333);
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page .maca-guest-order-status-header h2,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .maca-guest-order-status-header h2,
body.maca-dish-menu-theme-premium.maca-qr-dish-page .maca-guest-order-card-title,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .maca-guest-order-card-title {
    font-family: "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
    letter-spacing: 0.06em;
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-toggle,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-toggle {
    border: 1px dashed var(--maca-dm-border, #ccc);
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #fff));
    color: var(--maca-dm-page-title, #333);
    font-family: var(--maca-dm-font-body, inherit);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-toggle:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-toggle:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-toggle:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-toggle:focus-visible {
    background: color-mix(in srgb, var(--maca-dm-accent, #0073aa) 8%, var(--maca-dm-filter-bg, var(--maca-dm-surface, #fff)));
    border-color: var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split--inactive.is-open .maca-guest-bill-split-toggle,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split--inactive.is-open .maca-guest-bill-split-toggle {
    border: 1px solid var(--maca-dm-accent, #0073aa);
    background: color-mix(in srgb, var(--maca-dm-accent, #0073aa) 10%, var(--maca-dm-filter-bg, var(--maca-dm-surface, #f5f5f5)));
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-body,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-body {
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #fafafa));
    border: 1px solid var(--maca-dm-border, #e0e0e0);
    color: var(--maca-dm-page-title, #333);
    font-family: var(--maca-dm-font-body, inherit);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-title,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-title {
    color: var(--maca-dm-page-title, #333);
    font-family: var(--maca-dm-font-heading, var(--maca-dm-font-body, inherit));
}
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-hint,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-hint,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-active,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-active,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-progress,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-progress,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-field,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-field,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-mode-option,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-mode-option {
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-share,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-share {
    color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-total-hint,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-total-hint {
    color: var(--maca-dm-page-subtitle, #666);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-count,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-count,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-fixed-amount,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-fixed-amount,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-tip-select,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-tip-select,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-tip-custom-input,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-tip-custom-input,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-confirmation-email-input,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-confirmation-email-input {
    background: var(--maca-dm-page-surface, var(--maca-dm-filter-bg, #fff));
    border: 1px solid var(--maca-dm-border, #ccc);
    color: var(--maca-dm-page-title, #333);
    font-family: var(--maca-dm-font-body, inherit);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-tip-select:disabled,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-tip-select:disabled,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-tip-custom-input:disabled,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-tip-custom-input:disabled {
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #f5f5f5));
    color: var(--maca-dm-page-subtitle, #666);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-tips-title,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-tips-title,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-tip-custom-label,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-tip-custom-label,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-order-payment-email label,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-order-payment-email label {
    color: var(--maca-dm-page-title, #333);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-tip-custom-apply,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-tip-custom-apply,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-apply,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-apply,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-combined-online,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-combined-online {
    background: var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-accent-contrast, #fff);
    border: 0;
    font-family: var(--maca-dm-font-body, inherit);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-clear,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-clear,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-combined-waiter,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-combined-waiter {
    background: var(--maca-dm-filter-bg, var(--maca-dm-surface, #f5f5f5));
    border: 1px solid var(--maca-dm-border, #ccc);
    color: var(--maca-dm-page-title, #333);
    font-family: var(--maca-dm-font-body, inherit);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-combined-payment,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-combined-payment {
    background: color-mix(in srgb, var(--maca-dm-accent, #0073aa) 10%, var(--maca-dm-filter-bg, var(--maca-dm-surface, #fff)));
    border: 2px solid var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-page-title, #333);
    font-family: var(--maca-dm-font-body, inherit);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-combined-payment-count,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-combined-payment-count {
    color: var(--maca-dm-page-subtitle, #666);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-combined-payment-title,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-combined-payment-title {
    color: var(--maca-dm-page-title, #333);
    font-family: var(--maca-dm-font-heading, var(--maca-dm-font-body, inherit));
}

body.maca-dish-menu-theme-premium.maca-qr-dish-page .maca-guest-bill-split-title,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .maca-guest-bill-split-title,
body.maca-dish-menu-theme-premium.maca-qr-dish-page .maca-guest-combined-payment-title,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .maca-guest-combined-payment-title {
    letter-spacing: 0.04em;
}

body.maca-dish-menu-theme-dark.maca-qr-dish-page .maca-guest-order-status,
body.maca-dish-menu-theme-dark.maca-takeaway-dish-page .maca-guest-order-status,
body.maca-dish-menu-theme-premium.maca-qr-dish-page .maca-guest-order-status,
body.maca-dish-menu-theme-premium.maca-takeaway-dish-page .maca-guest-order-status {
    color-scheme: dark;
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-mode-option input,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-mode-option input {
    accent-color: var(--maca-dm-accent, #0073aa);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-online:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-online:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-online:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-online:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-apply:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-apply:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-apply:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-apply:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-tip-custom-apply:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-tip-custom-apply:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-tip-custom-apply:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-tip-custom-apply:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-combined-online:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-combined-online:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-combined-online:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-combined-online:focus-visible {
    background: var(--maca-dm-accent-hover, var(--maca-dm-accent, #0073aa));
    color: var(--maca-dm-accent-contrast, #fff);
}

body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-waiter:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-waiter:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-waiter:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-waiter:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-clear:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-bill-split-clear:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-clear:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-bill-split-clear:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-combined-waiter:hover,
body[class*="maca-dish-menu-theme-"].maca-qr-dish-page .maca-guest-pay-combined-waiter:focus-visible,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-combined-waiter:hover,
body[class*="maca-dish-menu-theme-"].maca-takeaway-dish-page .maca-guest-pay-combined-waiter:focus-visible {
    border-color: var(--maca-dm-accent, #0073aa);
    color: var(--maca-dm-accent, #0073aa);
}

body.maca-dish-menu-theme-minimal.maca-qr-dish-page .maca-guest-bill-split-toggle,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .maca-guest-bill-split-toggle,
body.maca-dish-menu-theme-minimal.maca-qr-dish-page .maca-guest-bill-split-body,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .maca-guest-bill-split-body,
body.maca-dish-menu-theme-minimal.maca-qr-dish-page .maca-guest-pay-online,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .maca-guest-pay-online,
body.maca-dish-menu-theme-minimal.maca-qr-dish-page .maca-guest-pay-waiter,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .maca-guest-pay-waiter,
body.maca-dish-menu-theme-minimal.maca-qr-dish-page .maca-guest-pay-combined-online,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .maca-guest-pay-combined-online,
body.maca-dish-menu-theme-minimal.maca-qr-dish-page .maca-guest-pay-combined-waiter,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .maca-guest-pay-combined-waiter,
body.maca-dish-menu-theme-minimal.maca-qr-dish-page .maca-guest-combined-payment,
body.maca-dish-menu-theme-minimal.maca-takeaway-dish-page .maca-guest-combined-payment {
    border-radius: 0;
}

body.maca-dish-menu-theme-modern.maca-qr-dish-page .maca-guest-bill-split-toggle,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page .maca-guest-bill-split-toggle,
body.maca-dish-menu-theme-modern.maca-qr-dish-page .maca-guest-bill-split-body,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page .maca-guest-bill-split-body,
body.maca-dish-menu-theme-modern.maca-qr-dish-page .maca-guest-pay-online,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page .maca-guest-pay-online,
body.maca-dish-menu-theme-modern.maca-qr-dish-page .maca-guest-pay-waiter,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page .maca-guest-pay-waiter,
body.maca-dish-menu-theme-modern.maca-qr-dish-page .maca-guest-pay-combined-online,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page .maca-guest-pay-combined-online,
body.maca-dish-menu-theme-modern.maca-qr-dish-page .maca-guest-pay-combined-waiter,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page .maca-guest-pay-combined-waiter,
body.maca-dish-menu-theme-modern.maca-qr-dish-page .maca-guest-combined-payment,
body.maca-dish-menu-theme-modern.maca-takeaway-dish-page .maca-guest-combined-payment {
    border-radius: 12px;
}
