.top-bar.top-bar-with-languages { grid-template-columns: minmax(0,1fr) minmax(0,1.5fr) auto; gap: 16px; }
.locale-flags { display: flex; align-items: center; gap: 6px; justify-self: end; }
.locale-flags a { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid rgba(255,200,50,.45); border-radius: 9px; }
.locale-flags a:hover, .locale-flags a[aria-current] { background: rgba(255,200,50,.22); border-color: var(--btn, #FFC832); }
.locale-flags a:focus-visible { outline: 2px solid var(--btn, #FFC832); outline-offset: 3px; }
.locale-flags img { width: 26px; height: 18px; object-fit: cover; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.top-bar-with-languages > .tb { min-width: 0; overflow-wrap: anywhere; }
.locale-switch { display: none; position: relative; justify-self: end; flex-shrink: 0; letter-spacing: normal; text-transform: none; z-index: 80; }
.locale-switch summary { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 11px; border: 1px solid rgba(255,253,247,.3); border-radius: 999px; color: #fffdf7; font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1.2; cursor: pointer; list-style: none; white-space: nowrap; }
.locale-switch summary::-webkit-details-marker { display: none; }
.locale-switch summary:hover, .locale-switch[open] summary { background: rgba(255,253,247,.1); }
.locale-switch img { width: 22px; height: 15px; object-fit: cover; border-radius: 2px; flex: 0 0 22px; box-shadow: 0 0 0 1px rgba(255,255,255,.2); }
.locale-switch summary > svg { width: 10px; height: 10px; flex: none; }
.locale-switch[open] summary > svg { transform: rotate(180deg); }
.locale-switch-list { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); width: 190px; max-width: calc(100vw - 28px); padding: 6px; border: 1px solid #ded5cc; border-radius: 14px; background: #fffdf7; color: #2e1919; box-shadow: 0 12px 32px rgba(46,25,25,.2); }
.locale-switch-list a { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 7px 10px; border-radius: 9px; text-decoration: none; font-size: 14px; line-height: 1.5; font-weight: 600; color: inherit; }
.locale-switch-list a small { margin-inline-start: auto; font-size: 10px; opacity: .65; }
.locale-switch-list a:hover, .locale-switch-list a[aria-current] { background: #efe6d7; }
.locale-switch :is(summary,a):focus-visible { outline: 2px solid #dba659; outline-offset: 3px; }
@media (max-width: 1280px) { .top-bar.top-bar-with-languages { grid-template-columns: minmax(0,1fr) auto; } .top-bar-with-languages > .tb-mid { display: none; } }
@media (max-width: 720px) { .top-bar.top-bar-with-languages { grid-template-columns: minmax(0,1fr) auto; gap: 12px; padding: 6px 14px; } .locale-flags { display: none; } .locale-switch { display: block; } .locale-switch summary { font-size: 11px; } }
