/* Portugality Languages — dropdown language switcher.
   Colors and size are inherited from the insertion point; the theme may override them via --ptl-* variables. */
.ptl-switcher { position: relative; display: inline-block; font-size: 13px; line-height: 1.2; }
.ptl-switcher__toggle {
  display: inline-flex; align-items: center; gap: 7px; min-height: 32px; padding: 4px 8px; margin: 0;
  font: inherit; font-weight: 600; letter-spacing: .06em; color: inherit; cursor: pointer;
  background: transparent; border: 1px solid transparent; border-radius: 4px;
}
.ptl-switcher__toggle:hover, .ptl-switcher.ptl-open .ptl-switcher__toggle { border-color: currentColor; }
.ptl-switcher__toggle:focus-visible { outline: 2px solid var(--ptl-focus, #c9a227); outline-offset: 2px; }
.ptl-switcher .ptl-flag { display: block; width: 21px; height: 14px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); }
.ptl-switcher__caret { flex: none; transition: transform .2s; }
.ptl-switcher.ptl-open .ptl-switcher__caret { transform: rotate(180deg); }
.ptl-switcher__list {
  position: absolute; z-index: 1100; top: calc(100% + 6px); right: 0; min-width: 168px;
  margin: 0 !important; padding: 6px !important; list-style: none !important;
  background: var(--ptl-bg, #fff); border-radius: 6px; box-shadow: 0 10px 30px rgba(19, 33, 72, .18), 0 0 0 1px rgba(19, 33, 72, .08);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.ptl-switcher.ptl-open .ptl-switcher__list { opacity: 1; visibility: visible; transform: none; }
.ptl-switcher__list li { margin: 0; padding: 0; list-style: none; }
.ptl-switcher__list li::before { content: none !important; }
.ptl-switcher__list a {
  display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 4px;
  font-size: 14px; font-weight: 400; letter-spacing: 0; text-transform: none; white-space: nowrap;
  color: var(--ptl-text, #132148) !important; text-decoration: none !important;
}
.ptl-switcher__list a:hover, .ptl-switcher__list a:focus-visible { background: var(--ptl-hover, #f1f3f8); outline: none; }
@media (prefers-reduced-motion: reduce) { .ptl-switcher__list, .ptl-switcher__caret { transition: none; } }
