/* Scope the full-screen layout to the main menu, preserving other popups. */
.mfp-wrap:has(#main-menu) .mfp-container { padding: 0; }
.mfp-wrap:has(#main-menu) .mfp-content { width: 100%; max-width: none; height: 100%; margin: 0; overflow: hidden; background: #fff; }
.mfp-wrap:has(#main-menu) .mfp-close { display: none; }
.mfp-content #main-menu { display: flex; flex-direction: column; width: 100%; height: 100vh; height: 100dvh; min-height: 0; padding: 0; background: #fff; color: #111; }
#main-menu .tts-mobile-menu-header { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 20px; border-bottom: 1px solid #eee; }
#main-menu .tts-mobile-menu-logo { display: block; max-width: calc(100% - 56px); }
#main-menu .tts-mobile-menu-logo img { display: block; width: 190px; max-width: 100%; height: 36px; object-fit: contain; object-position: left center; }
#main-menu .tts-mobile-menu-close { display: flex; align-items: center; justify-content: center; flex: 0 0 40px; width: 40px; height: 40px; min-height: 0; margin: 0; padding: 8px; border: 0; border-radius: 0; background: transparent; color: #111; line-height: 1; box-shadow: none; }
#main-menu .sidebar-menu { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 0; }
#main-menu .nav-sidebar { margin: 0; padding: 0; }
#main-menu .nav-sidebar li { position: relative; display: block; border: 0; margin: 0; padding: 0; background: transparent; }
#main-menu .nav-sidebar > li > a { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 12px 64px 12px 20px; color: #111; font-size: 16px; font-weight: 700; line-height: 1.4; letter-spacing: normal; text-transform: none; }
#main-menu .tts-mobile-category-icon { display: flex; flex: 0 0 24px; color: #c9252c; }
#main-menu .tts-mobile-category-icon svg { display: block; width: 24px; height: 24px; }
#main-menu :is(.tts-mobile-category-icon img, .ux-sidebar-menu-icon) { display: block; flex: 0 0 24px; width: 24px; height: 24px; margin: 0; object-fit: contain; }
#main-menu .nav-sidebar .sub-menu > li > a:has(.tts-mobile-category-icon) { display: flex; align-items: center; gap: 10px; }
#main-menu .nav-sidebar > li[id^="tts-mobile-top-item-"] > a { font-size: 15px; }
#main-menu .nav-sidebar > li[id^="tts-mobile-top-item-"]:not([id^="tts-mobile-top-item-"] ~ li) { border-top: 1px solid #eee; margin-top: 8px; }
#main-menu .nav-sidebar .toggle { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; top: 4px; right: 12px; width: 44px; height: 44px; margin: 0; padding: 0; border: 0; background: transparent; color: #111; opacity: 1; transform: none; }
#main-menu .nav-sidebar .toggle > i { display: none; }
#main-menu .nav-sidebar .toggle::after { content: ''; display: block; width: 9px; height: 9px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translate(-2px, -2px); }
#main-menu .nav-sidebar li.active > .toggle::after { transform: rotate(225deg) translate(-2px, -2px); }
#main-menu .nav-sidebar .sub-menu { position: static; float: none; width: auto; min-width: 0; margin: 0; padding: 0; border: 0; background: #fafafa; box-shadow: none; }
#main-menu .nav-sidebar li:not(.active) > .sub-menu { display: none; }
#main-menu .nav-sidebar li.active > .sub-menu { display: block; }
#main-menu .nav-sidebar .sub-menu > li + li { border-top: 1px solid #eee; }
#main-menu .nav-sidebar .sub-menu > li > a { display: block; width: 100%; min-height: 36px; margin: 0; padding: 7px 64px 7px 20px; color: #333; background: transparent; font-size: 14px; font-weight: 400; line-height: 1.5; letter-spacing: normal; text-transform: none; }
#main-menu .nav-sidebar .sub-menu > li:not(.menu-item-has-children) > a { padding-right: 20px; }
#main-menu .nav-sidebar .sub-menu > li.menu-item-has-children > a { font-weight: 600; }
#main-menu .nav-sidebar .sub-menu .sub-menu { background: #fff; }
#main-menu .nav-sidebar .sub-menu .toggle { top: 2px; right: 18px; width: 32px; height: 32px; }
#main-menu .nav-sidebar .sub-menu .toggle::after { width: 7px; height: 7px; }
#main-menu .tts-mobile-menu-footer { flex: 0 0 auto; padding-top: 8px; background: #fff; }
#main-menu .tts-mobile-menu-actions { display: flex; align-items: stretch; gap: 8px; margin: 0 20px; padding: 16px 0; border-top: 1px solid #eee; }
#main-menu .tts-mobile-menu-actions > :is(a, button) { display: flex; flex: 1 1 0; flex-direction: column; align-items: center; gap: 8px; min-width: 0; min-height: 0; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; color: #111; box-shadow: none; font-family: inherit; font-size: 13px; font-weight: 700; line-height: 1.35; text-align: center; letter-spacing: normal; text-transform: none; }
#main-menu .tts-mobile-action-icon { display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #f5f6f8; color: #c9252c; }
#main-menu .tts-mobile-menu-actions strong { display: block; color: #c9252c; font-size: 12px; white-space: nowrap; }
#main-menu .tts-mobile-menu-social { display: flex; padding-bottom: env(safe-area-inset-bottom, 0px); background: #111; }
#main-menu .tts-mobile-menu-social a { display: flex; flex: 1; align-items: center; justify-content: center; min-height: 46px; padding: 10px; color: #fff; font-size: 14px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }
#main-menu .tts-mobile-menu-facebook { background: #c9252c; }
#main-menu :is(a, button):focus-visible { outline: 2px solid #c9252c; outline-offset: -2px; }
