/* Country switcher in the footer and the «version for your country» banner (decker-geo, Switcher/Banner.php). */
/* Footer switcher: <details> dropdown without JS; the list opens upward (the footer ends the page). */
.decker-geo-switcher { font-size: 14px; }
.decker-geo-switcher__menu { position: relative; display: inline-block; max-width: 100%; }
.decker-geo-switcher__summary { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 4px; color: inherit; cursor: pointer; list-style: none; user-select: none; }
.decker-geo-switcher__summary::-webkit-details-marker { display: none; }
.decker-geo-switcher__summary::marker { content: ""; }
.decker-geo-switcher__summary::after { content: ""; width: 7px; height: 7px; margin: -4px 2px 0 4px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-135deg); transition: transform .2s; }
.decker-geo-switcher__menu[open] > .decker-geo-switcher__summary::after { margin-top: 4px; transform: rotate(45deg); }
.decker-geo-switcher__summary:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.decker-geo-switcher__list { position: absolute; bottom: calc(100% + 4px); left: 0; z-index: 20; min-width: 220px; max-width: calc(100vw - 32px); max-height: 60vh; overflow-y: auto; margin: 0; padding: 6px 0; list-style: none; background: var(--color-bg, #fff); color: var(--color-text, #121212); border-radius: 8px; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); }
.decker-geo-switcher__item { margin: 0; }
.decker-geo-switcher__link, .decker-geo-switcher__current { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.decker-geo-switcher__link:hover, .decker-geo-switcher__link:focus-visible { background: var(--color-bg-light, #f3f3f3); text-decoration: underline; }
.decker-geo-switcher__link:focus-visible { outline: 2px solid currentColor; outline-offset: -2px; }
.decker-geo-switcher__current { font-weight: 600; }
.decker-geo-switcher__flag { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
@media (prefers-reduced-motion: reduce) { .decker-geo-switcher__summary::after { transition: none; } }

.decker-geo-banner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 10px 16px; background: var(--color-accent, #fff04e); color: var(--color-text, #121212); font-size: 15px; line-height: 1.4; }
.decker-geo-banner__text { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.decker-geo-banner__link { color: inherit; font-weight: 600; text-decoration: underline; }
.decker-geo-banner__close { flex: none; min-width: 44px; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font-size: 24px; line-height: 1; cursor: pointer; }
.decker-geo-banner__link:focus-visible, .decker-geo-banner__close:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
