body[data-menu-theme="classic-theme"] .header-details { min-width: 0; }
body[data-menu-theme="classic-theme"] .header-details h3 { line-height: 1.3; overflow-wrap: anywhere; }
body[data-menu-theme="classic-theme"] .header-details h3 span { margin-top: 6px; font-size: 16px; line-height: 1.5; }
body[data-menu-theme="classic-theme"] .header-details .social-icons { display: flex; flex-wrap: wrap; gap: 8px; }
body[data-menu-theme="classic-theme"] .header-details .social-icons > a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 40px; height: 40px; margin: 0 !important;
}
body[data-menu-theme="classic-theme"] .menu_post { display: flex; align-items: baseline; gap: 12px; }
body[data-menu-theme="classic-theme"] .menu_title { min-width: 0; padding-inline-end: 0; overflow-wrap: anywhere; }
body[data-menu-theme="classic-theme"] .menu_price {
    position: static; flex-shrink: 0; max-width: 45%; margin-inline-start: auto;
    text-align: end; overflow-wrap: anywhere;
}
body[data-menu-theme="classic-theme"] .menu_dots { display: none; }
@media (max-width: 767px) {
    body[data-menu-theme="classic-theme"] .single-page-header { padding: 24px 0; margin-bottom: 24px; }
    body[data-menu-theme="classic-theme"] .single-page-header .container > .row { margin-inline: 0; }
    body[data-menu-theme="classic-theme"] .single-page-header .container > .row > .col-md-12 { padding-inline: 0; }
    body[data-menu-theme="classic-theme"] .single-page-header-inner { margin-inline: 0; }
    body[data-menu-theme="classic-theme"] .header-details h3 { font-size: 24px; }
    body[data-menu-theme="classic-theme"] .single-page-header .container { padding-inline: 20px; }
}

body[data-menu-theme="flipbook"] .header-details { min-width: 0; }
body[data-menu-theme="flipbook"] .header-details h3 { line-height: 1.3; overflow-wrap: anywhere; }
body[data-menu-theme="flipbook"] .social-icons { display: flex; flex-wrap: wrap; gap: 8px; }
body[data-menu-theme="flipbook"] .social-icons > a {
    display: inline-flex; justify-content: center; align-items: center;
    width: 40px; height: 40px; margin: 0 !important;
}
@media (max-width: 767px) {
    body[data-menu-theme="flipbook"] .single-page-header .left-side { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
    body[data-menu-theme="flipbook"] .single-page-header .header-image { margin: 0; flex: none; }
    body[data-menu-theme="flipbook"] .single-page-header .header-details h3 { margin: 0; font-size: 24px; }
}

body[data-menu-theme="modern-theme"] .navbar { padding-inline: 16px; }
body[data-menu-theme="modern-theme"] .navbar .container-fluid { padding-inline: 0; gap: 12px; }
body[data-menu-theme="modern-theme"] .navbar .container-fluid > .d-flex { margin-right: 0 !important; }
body[data-menu-theme="modern-theme"] #sidebarleftbutton { margin: 0 !important; width: 42px; height: 42px; flex-shrink: 0; }
body[data-menu-theme="modern-theme"] .header-details { min-width: 0; }
body[data-menu-theme="modern-theme"] .header-details h3 { line-height: 1.3; overflow-wrap: anywhere; }

body[data-menu-theme="modern-theme-18"] .UpperPart {
    display: grid !important; grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 16px !important; padding: 16px !important; height: auto;
    align-items: center; text-align: start;
}
body[data-menu-theme="modern-theme-18"] .UpperPart.mi-header-rtl { direction: rtl; }
body[data-menu-theme="modern-theme-18"] .UpperPart .logo-row {
    grid-column: 1; grid-row: 1; margin: 0; transform: none; width: auto;
    height: auto; aspect-ratio: auto; justify-content: flex-start; background: transparent;
}
body[data-menu-theme="modern-theme-18"] .UpperPart .logoimageborder { animation: none; transform: none; }
body[data-menu-theme="modern-theme-18"] .UpperPart .logoImage { width: 76px; height: 76px; }
body[data-menu-theme="modern-theme-18"] .UpperPart > h1 {
    grid-column: 1 / -1; grid-row: 2; width: auto; max-width: none;
    margin: 0; padding: 0; font-size: 24px; line-height: 1.3; overflow-wrap: anywhere;
}
body[data-menu-theme="modern-theme-18"] .UpperPart .subtitle {
    display: block !important; margin: 6px 0 0 !important; font-size: 14px !important; line-height: 1.5 !important;
    text-align: start !important; font-weight: 400;
    position: static !important; inset: auto !important; transform: none !important; width: auto !important;
}
body[data-menu-theme="modern-theme-18"] .UpperPart #baku-clock {
    grid-column: 2; grid-row: 1; margin: 0 !important; width: 64px; direction: ltr;
}
body[data-menu-theme="modern-theme-18"] .additionalInfo {
    position: static; display: block; height: auto; margin: 0; padding: 0; transform: none;
}
body[data-menu-theme="modern-theme-18"] .infoPart > .iconList {
    position: static; display: flex; flex-wrap: wrap; justify-content: flex-start;
    align-items: center; gap: 10px; margin: 0 !important; padding: 0 16px 16px; width: 100%; height: auto; transform: none;
}
body[data-menu-theme="modern-theme-18"] .infoPart > .iconList > a {
    display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px;
    width: 42px; height: 42px; margin: 0; padding: 0;
}
body[data-menu-theme="modern-theme-18"] .infoPart > .iconList > a i { margin: 0; font-size: 20px; }
body[data-menu-theme="modern-theme-18"] .infoPart > .iconList > a img { width: 20px; height: 20px; object-fit: contain; }

body[data-menu-theme="modern-theme-20"] .interior-slider-fallback .interior-image-logo {
    object-fit: contain; padding: 20px; box-sizing: border-box;
}

body[data-menu-theme="modern-theme-21"] .img-wrapper { height: auto; }
body[data-menu-theme="modern-theme-21"] .img-container { height: 300px; }
body[data-menu-theme="modern-theme-21"] .header-logo-wrapper {
    position: relative; left: auto; right: auto; bottom: auto; width: auto;
    margin: -38px 20px 0; padding-bottom: 8px; gap: 8px; z-index: 1;
    align-items: flex-start;
}
body[data-menu-theme="modern-theme-21"] .header-logo-wrapper .post-title {
    max-width: 100%; line-height: 1.3; overflow-wrap: anywhere;
}
body[data-menu-theme="modern-theme-21"] .header-logo-wrapper .header-subtitle {
    margin: 0; max-width: 100%; line-height: 1.5; overflow-wrap: anywhere;
}
body[data-menu-theme="modern-theme-21"] .header-right { flex-wrap: wrap; }
body[data-menu-theme="modern-theme-21"] .home-search-section { margin-top: 16px; }

body[data-menu-theme="modern-theme-22"] .search-section-up { gap: 12px; }
body[data-menu-theme="modern-theme-22"] .search-section-up > h1 {
    flex: 1; min-width: 0; margin: 0; font-size: clamp(24px, 7vw, 32px);
    line-height: 1.25; overflow-wrap: anywhere;
}
body[data-menu-theme="modern-theme-22"] .up-section-right { flex-shrink: 0; gap: 8px; }
body[data-menu-theme="modern-theme-22"] .up-section-right .header-btn {
    display: inline-flex; align-items: center; justify-content: center;
    width: 42px; height: 42px; padding: 0; box-sizing: border-box;
}
body[data-menu-theme="modern-theme-22"] .up-section-right .header-btn img {
    width: 24px; height: 24px; object-fit: contain;
}
/* Per-theme refinements from the individual menu and product-dialog audit. */
body[data-menu-theme] .feedback-widget { z-index: 90; }
body[data-menu-theme] :is(.quick-modal-content,.mt23-modal-card) { max-height: calc(100dvh - 32px); overflow-y: auto; }

body[data-menu-theme="classic-theme"] .menu_excerpt > div:first-child { min-width: 0; overflow-wrap: anywhere; }
body[data-menu-theme="classic-theme"] .menu_excerpt .add-item-button { white-space: normal; min-height: 40px; }
body[data-menu-theme="flipbook"] .header-details h3 span { margin-top: 6px; overflow-wrap: anywhere; }
body[data-menu-theme="flipbook"] .header-image { flex-shrink: 0; }
body[data-menu-theme="modern-theme"] .menu-recipe { overflow-wrap: anywhere; }
body[data-menu-theme="modern-theme"] .single-page-header .header-image { flex-shrink: 0; }
body[data-menu-theme="modern-theme-18"] .ContentWrapper { min-width: 0; }
body[data-menu-theme="modern-theme-18"] .ContentWrapper h3 { overflow-wrap: anywhere; line-height: 1.4; }
body[data-menu-theme="modern-theme-18"] .social-note { margin: 0 16px 16px !important; }
body[data-menu-theme="modern-theme-18"] .social-note > span { white-space: normal !important; overflow-wrap: anywhere; }
body[data-menu-theme="modern-theme-18"] :is(.language_selector_top_right,.waiter-call) { position: absolute !important; z-index: 1100; }

body[data-menu-theme="modern-theme-19"] .home-header { gap: 12px; align-items: center; }
body[data-menu-theme="modern-theme-19"] .home-header > div:first-child { flex: 1; min-width: 0; }
body[data-menu-theme="modern-theme-19"] .home-header > div:last-child { flex-shrink: 0; }
body[data-menu-theme="modern-theme-19"] .partner-name { min-width: 0; }
body[data-menu-theme="modern-theme-19"] .partner-name .name { white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
body[data-menu-theme="modern-theme-19"] .team-logo { flex-shrink: 0; object-fit: contain; }
body[data-menu-theme="modern-theme-19"] .feedback-widget { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
body[data-menu-theme="modern-theme-19"] .menu-item-details { min-width: 0; }
body[data-menu-theme="modern-theme-19"] .menu-items-container:not(.grid-view) .menu-item-details { height: auto; min-height: 105px; }
body[data-menu-theme="modern-theme-19"] .menu-item-name { overflow-wrap: anywhere; white-space: normal; }
body[data-menu-theme="modern-theme-19"] #itemDetailModal .photoModal { max-height: 65dvh; overflow-y: auto; padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)) !important; }
body[data-menu-theme="modern-theme-19"] #itemDetailModal .photoModal h1 { overflow-wrap: anywhere; }

body[data-menu-theme="modern-theme-20"] :is(.menu-item-name,.menu-item-desc,.dish-modal-title) { overflow-wrap: anywhere; }
body[data-menu-theme="modern-theme-20"] .dish-modal-content { justify-content: flex-start; }
body[data-menu-theme="modern-theme-20"] .dish-modal-image-wrapper { flex: 0 0 50dvh; min-height: 0; padding: 58px 16px 0; }
body[data-menu-theme="modern-theme-20"] .dish-modal-image-wrapper img { width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
body[data-menu-theme="modern-theme-20"] .dish-modal-info { flex: 1; min-height: 0; overflow-y: auto; padding-bottom: 100px; }

body[data-menu-theme="modern-theme-21"] .menu-item-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; }
body[data-menu-theme="modern-theme-21"] .menu-item-row { width: auto; height: auto; min-width: 0; aspect-ratio: 3 / 4; }
body[data-menu-theme="modern-theme-21"] .menu-item-image-wrapper img { width: 100%; height: 100%; }
body[data-menu-theme="modern-theme-21"] .menu-item-name { max-width: 100%; white-space: normal; overflow-wrap: anywhere; line-height: 1.35; }
/* Keep Back reachable while long product details scroll inside their card. */
html body[data-menu-theme="modern-theme-21"] #dishModal .dish-modal-close-btn { position: sticky !important; top: 10px !important; right: 10px !important; left: auto !important; align-self: flex-end; flex: none; margin: 10px 10px -44px auto !important; }
html:not([data-mt21-layout="list"]) body[data-menu-theme="modern-theme-21"] :is(.menu-item-row,.filter-result-card) .menu-item-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; max-height: 2.7em; overflow: hidden; }
body[data-menu-theme="modern-theme-21"] .menu-item-qty-badge { position: static; align-self: flex-end; margin-top: 4px; }
@media (max-width: 480px) {
    body[data-menu-theme="modern-theme-21"] .menu-item-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    body[data-menu-theme="modern-theme-21"] .menu-item-row { aspect-ratio: 1 / 1; }
}
body[data-menu-theme="modern-theme-22"] .menu-item-name { white-space: normal; overflow-wrap: anywhere; line-height: 1.4; }
body[data-menu-theme="modern-theme-22"] .menu-item-footer-bottom { flex-wrap: wrap; }
body[data-menu-theme="modern-theme-22"] .up-section-right { align-self: flex-start; }

body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"],[data-menu-theme="modern-theme-25"]) :is(.mt23-item-body,.mt23-item-name,.mt23-item-modal-title) { min-width: 0; overflow-wrap: anywhere; }
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"],[data-menu-theme="modern-theme-25"]) .mt23-item-price { flex-shrink: 0; }
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) :is(.header-lang,.header-call-waiter) { z-index: 100; }
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) .header-call-waiter { right: 76px; }
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) :is(.mt23-hero-title,.mt24-hero-title,.mt23-hero-subtitle,.mt24-hero-subtitle) { overflow-wrap: anywhere; max-width: 100%; }
body[data-menu-theme="modern-theme-24"] .mt24-hero-center { height: auto; flex: 1; min-height: calc(100svh - 72px); padding-block: 64px; }
body[data-menu-theme="modern-theme-24"] .mt23-category-grid:not(.mt23-category-grid--pills) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body[data-menu-theme="modern-theme-24"] .mt23-category-grid:not(.mt23-category-grid--pills) > .mt23-category-card { min-width: 0; padding: 12px; min-height: 56px; }
body[data-menu-theme="modern-theme-24"] .mt23-category-grid:not(.mt23-category-grid--pills) > .mt23-category-card:last-child:nth-child(odd) { grid-column: 1 / -1; justify-content: center; }
body[data-menu-theme="modern-theme-24"] .mt23-category-grid:not(.mt23-category-grid--pills) .mt23-category-label { overflow-wrap: anywhere; line-height: 1.4; }
@media (max-width: 360px) {
    body[data-menu-theme="modern-theme-24"] .mt23-category-grid:not(.mt23-category-grid--pills) > .mt23-category-card { padding-inline: 10px; gap: 6px; letter-spacing: 0.04em; }
    body[data-menu-theme="modern-theme-24"] .mt23-category-grid:not(.mt23-category-grid--pills) .mt23-category-image { width: 24px; height: 24px; }
}

body[data-menu-theme="modern-theme-25"] .mt25-menu-hero__title { font-size: clamp(24px, 6.4vw, 36px); line-height: 1.2; overflow-wrap: anywhere; }
body[data-menu-theme="modern-theme-25"] .mt25-menu-hero__subtitle { white-space: normal; overflow-wrap: anywhere; line-height: 1.5; }
body[data-menu-theme="modern-theme-25"] .mt25-menu-card:not(.is-detailed) { display: flex; flex-direction: column; }
body[data-menu-theme="modern-theme-25"] .mt25-menu-card:not(.is-detailed) .mt25-menu-card__body { display: flex; flex: 1; flex-direction: column; }
body[data-menu-theme="modern-theme-25"] .mt25-menu-card__title { overflow-wrap: anywhere; white-space: normal; min-height: 2.7em; }
body[data-menu-theme="modern-theme-25"] .mt25-menu-card:not(.is-detailed) .mt25-menu-card__price { margin-top: auto; padding-top: 6px; }
body[data-menu-theme="modern-theme-25"] .mt25-menu-card__meta-label { white-space: normal; overflow-wrap: anywhere; }
body[data-menu-theme="modern-theme-25"] .mt25-menu-card__media { flex-shrink: 0; }
body[data-menu-theme="modern-theme-25"] .mt25-menu-favorite { width: 36px; height: 36px; }
@media (max-width: 360px) {
    body[data-menu-theme="modern-theme-25"] .mt25-menu-hero__content { flex-direction: column; align-items: flex-start; }
}

/* The bundled React theme uses utility classes; scope refinements to observed card structures. */
body[data-menu-theme="modern-theme-26"] #root .grid.grid-cols-3:has(> button:only-child) { grid-template-columns: minmax(0,1fr); }
body[data-menu-theme="modern-theme-26"] #root .grid.grid-cols-3:has(> button:nth-child(2):last-child) { grid-template-columns: repeat(2,minmax(0,1fr)); }
body[data-menu-theme="modern-theme-26"] #root [class~="aspect-[4/5]"] > .absolute.bottom-2 { left: 12px; right: 12px; bottom: 12px; padding: 0; }
body[data-menu-theme="modern-theme-26"] #root [class~="aspect-[4/5]"] h3 { overflow-wrap: anywhere; line-height: 1.3; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; max-height: 2.6em; overflow: hidden; }
body[data-menu-theme="modern-theme-26"] .feedback-widget { z-index: 40; }
body[data-menu-theme] .qi-wifi-widget { z-index: 40; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
body[data-menu-theme="modern-theme-26"] #root .fixed[class~="z-[80]"] > .flex { overflow: hidden; }
body[data-menu-theme="modern-theme-26"] #root .fixed[class~="z-[80]"] > .flex > .flex-1 { flex: 0 0 55dvh; }
body[data-menu-theme="modern-theme-26"] #root .fixed[class~="z-[80]"] > .flex > .flex-1 > img { object-fit: contain; }
body[data-menu-theme="modern-theme-26"] #root .fixed[class~="z-[80]"] > .flex > div.bottom-0 { position: relative; flex: 1; min-height: 0; overflow-y: auto; }
body[data-menu-theme="modern-theme-26"] #root .fixed[class~="z-[80]"] h3 { min-width: 0; overflow-wrap: anywhere; font-size: clamp(20px, 6vw, 26px) !important; line-height: 1.3 !important; }
body[data-menu-theme="modern-theme-26"] #root .fixed[class~="z-[80]"] > .flex:has(> div[style*="pointer-events: none"]) > .flex-1 { flex-basis: 100%; }
body[data-menu-theme="modern-theme-26"] #root .fixed[class~="z-[80]"] > .flex:has(> div[style*="pointer-events: none"]) > div.bottom-0 { position: absolute; }
@media (prefers-reduced-motion: reduce) {
    body[data-menu-theme] :is(.menu-item-row,.mt23-item-card,.mt23-category-card) { animation-delay: 0s; animation-duration: 0.01ms; transition-duration: 0.01ms; }
}
/* Product-list descriptions are previews; details keep the complete text. */
body[data-menu-theme="classic-theme"] .ajax-item-listing .mi-card-description,
body[data-menu-theme="modern-theme"] :is(.menu-content > .menu-recipe,.mi-description-disclosure .mi-card-description),
body[data-menu-theme="modern-theme-18"] :is(.MealsItem .menu-desc,.menu-content > .menu-recipe),
body[data-menu-theme="modern-theme-19"] :is(.menu-item .itemDesc,.menu-content > .menu-recipe),
body[data-menu-theme="modern-theme-20"] .menu-item-info > .menu-item-desc,
body[data-menu-theme="modern-theme-21"] :is(.menu-item-row .menu-item-desc,.search-result-desc),
body[data-menu-theme="modern-theme-22"]:not(.menu-layout-grid) .menu-item-desc,
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) .mt23-item-card .mt23-item-desc {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    line-height: 1.5;
    max-height: 3em;
    min-width: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    white-space: normal;
}

body:is([data-menu-theme="classic-theme"],[data-menu-theme="modern-theme"]) .mi-description-disclosure {
    flex: 1; min-width: 0; max-width: 100%;
}
body:is([data-menu-theme="classic-theme"],[data-menu-theme="modern-theme"]) .mi-description-disclosure > summary {
    display: flex; align-items: flex-start; gap: 6px; cursor: pointer; list-style: none;
}
body:is([data-menu-theme="classic-theme"],[data-menu-theme="modern-theme"]) .mi-description-disclosure > summary::-webkit-details-marker { display: none; }
body:is([data-menu-theme="classic-theme"],[data-menu-theme="modern-theme"]) .mi-description-disclosure > summary::before { content: "›"; flex: none; line-height: 1.5; }
body:is([data-menu-theme="classic-theme"],[data-menu-theme="modern-theme"]) .mi-description-disclosure[open] > summary::before { transform: rotate(90deg); }
body:is([data-menu-theme="classic-theme"],[data-menu-theme="modern-theme"]) .mi-description-disclosure .mi-card-description { flex: 1; }
body:is([data-menu-theme="classic-theme"],[data-menu-theme="modern-theme"]) .mi-description-disclosure[open] .mi-card-description {
    display: block; -webkit-line-clamp: unset; line-clamp: none; max-height: none;
    overflow: visible; white-space: pre-line;
}

body[data-menu-theme="classic-theme"] #add-extras .menu_desc,
body[data-menu-theme="modern-theme"] .customize-item-description,
body[data-menu-theme="modern-theme-18"] #imageModalDesc,
body[data-menu-theme="modern-theme-19"] #itemDetailModal .photoModal h1,
body:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"],[data-menu-theme="modern-theme-22"]) .dish-modal-description,
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"],[data-menu-theme="modern-theme-25"]) .mt23-item-modal-desc {
    overflow-wrap: anywhere;
}

/* Icon rows keep their existing action order and theme colors. */
body:is([data-menu-theme="classic-theme"],[data-menu-theme="flipbook"]) .header-details .social-icons,
body[data-menu-theme="modern-theme"] .header-details > ul {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
    padding-inline: 0; list-style: none;
}
body[data-menu-theme="modern-theme"] .header-details > ul > li { display: flex !important; margin: 0; padding: 0; }
body[data-menu-theme="modern-theme"] .navbar .btn { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; gap: 6px; line-height: 1; }
body[data-menu-theme="modern-theme"] .navbar .container-fluid > .d-flex { align-items: center; gap: 8px; }
body:is([data-menu-theme="classic-theme"],[data-menu-theme="flipbook"]) .header-details .social-icons > a,
body[data-menu-theme="modern-theme"] .header-details > ul > li > a,
body[data-menu-theme="modern-theme-18"] .infoPart > .iconList > a {
    display: inline-flex; align-items: center; justify-content: center;
    box-sizing: border-box; flex: 0 0 42px; width: 42px; height: 42px;
    padding: 0; margin: 0 !important; line-height: 1;
}
body:is([data-menu-theme="classic-theme"],[data-menu-theme="flipbook"]) .social-icons > a > i,
body[data-menu-theme="modern-theme"] .header-details > ul > li > a > i,
body[data-menu-theme="modern-theme-18"] .infoPart > .iconList > a > i {
    display: inline-flex; align-items: center; justify-content: center;
    width: 22px; height: 22px; font-size: 20px; line-height: 1; margin: 0;
}
body[data-menu-theme="modern-theme-18"] .infoPart > .iconList { gap: 8px !important; }
body[data-menu-theme="modern-theme-18"] .infoPart > .iconList > a > img { display: block; width: 22px; height: 22px; object-fit: contain; }

/* Header action groups: one baseline, equal targets, no accumulated margins. */
body[data-menu-theme="modern-theme-19"] .home-header > .d-flex,
body[data-menu-theme="modern-theme-19"] .menu-header-icons,
body:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"],[data-menu-theme="modern-theme-22"]) .header-right,
body[data-menu-theme="modern-theme-22"] .up-section-right,
body[data-menu-theme="modern-theme-25"] .mt25-topbar-actions {
    display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 8px;
}
body[data-menu-theme="modern-theme-19"] .home-header > .d-flex > app-button { display: flex; margin: 0 !important; }
body[data-menu-theme="modern-theme-19"] .home-header app-button > button,
body[data-menu-theme="modern-theme-19"] .menu-header-icons > button,
body:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"],[data-menu-theme="modern-theme-22"]) .header-right .header-icon-btn,
body[data-menu-theme="modern-theme-22"] .up-section-right .header-btn,
body[data-menu-theme="modern-theme-25"] .mt25-topbar-actions .mt25-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    flex-shrink: 0; width: 42px; min-width: 42px; height: 42px; min-height: 42px;
    padding: 0 !important; margin: 0; gap: 4px; line-height: 1;
}
body:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"]) .header-right .header-icon-btn:has(.icon-label),
body[data-menu-theme="modern-theme-22"] .header-right .lang-dropdown-btn { width: 56px; min-width: 56px; }
body:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"],[data-menu-theme="modern-theme-22"]) .header-right .icon-symbol {
    display: inline-flex; width: 22px; height: 22px; align-items: center; justify-content: center; line-height: 1; font-size: 22px;
}
body:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"],[data-menu-theme="modern-theme-22"]) .header-right .icon-symbol > svg,
body[data-menu-theme="modern-theme-22"] .up-section-right .header-btn > img { display: block; width: 22px; height: 22px; object-fit: contain; }
body[data-menu-theme="modern-theme-19"] .home-header app-button:not(.language) > button > img { width: 22px !important; height: 22px !important; object-fit: contain; }
body[data-menu-theme="modern-theme-19"] .home-header app-button.language > button > img { width: 24px !important; height: 16px !important; object-fit: contain; }
body[data-menu-theme="modern-theme-19"] .footer > div { flex: 1 1 0; min-width: 0; min-height: 48px; justify-content: center; text-align: center; }
body[data-menu-theme="modern-theme-19"] .footer > div > svg { width: 24px !important; height: 24px !important; flex-shrink: 0; }
body[data-menu-theme="modern-theme-19"] .footer > div > span { line-height: 1.3; }

/* Social tiles in the information sheet keep icons and labels aligned. */
body[data-menu-theme="modern-theme-20"] .social-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
body[data-menu-theme="modern-theme-20"] .social-item { min-width: 0; display: flex; align-items: center; gap: 10px; }
body[data-menu-theme="modern-theme-20"] .social-icon { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; width: 36px; height: 36px; }
body[data-menu-theme="modern-theme-20"] .social-icon > i { font-size: 20px; line-height: 1; margin: 0; }
body[data-menu-theme="modern-theme-20"] .social-label { min-width: 0; overflow-wrap: anywhere; }
body:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"],[data-menu-theme="modern-theme-22"]) .contact-content > a:has(> i) { display: inline-flex; align-items: center; gap: 10px; min-height: 36px; }
body:is([data-menu-theme="modern-theme-20"],[data-menu-theme="modern-theme-21"],[data-menu-theme="modern-theme-22"]) .contact-content > a > i { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 22px; width: 22px; font-size: 20px; line-height: 1; margin: 0; }

body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) :is(.mt23-hero-socials,.mt24-hero-socials) { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; }
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) .mt23-social-link {
    display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box;
    flex: 0 0 42px; width: 42px; height: 42px; padding: 0; margin: 0; line-height: 1;
}
body:is([data-menu-theme="modern-theme-23"],[data-menu-theme="modern-theme-24"]) .mt23-social-link > i,
body[data-menu-theme="modern-theme-25"] .mt25-icon-btn > i { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; font-size: 20px; line-height: 1; margin: 0; }
body[data-menu-theme="modern-theme-25"] .mt25-dropdown-item__meta { display: inline-flex; align-items: center; min-width: 0; gap: 10px; }
body[data-menu-theme="modern-theme-25"] .mt25-dropdown-item__meta > i { flex: 0 0 22px; width: 22px; text-align: center; font-size: 18px; line-height: 1; }
body[data-menu-theme="modern-theme-25"] .mt25-dropdown-item > i { flex: 0 0 16px; width: 16px; text-align: center; }

/* React theme: balanced rows even when all five actions are enabled. */
body[data-menu-theme="modern-theme-26"] #root .mt-5.grid.place-items-center:has(> .flex > button > svg.lucide-globe) { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 12px; }
body[data-menu-theme="modern-theme-26"] #root .mt-5.grid.place-items-center:has(> .flex > button > svg.lucide-globe) > .flex { flex: 0 0 calc((100% - 24px) / 3); min-width: 0; gap: 6px; }
body[data-menu-theme="modern-theme-26"] #root .mt-5.grid.place-items-center:has(> .flex > button > svg.lucide-globe) > .flex > :is(button,a) { flex-shrink: 0; width: 56px; height: 56px; padding: 0; }
body[data-menu-theme="modern-theme-26"] #root .mt-5.grid.place-items-center > .flex > span { display: block; min-height: 2.6em; max-width: 100%; line-height: 1.3; text-align: center; overflow-wrap: anywhere; }
