.ypf-lang-switcher,
.ypf-lang-switcher * {
  box-sizing: border-box;
  font-family: Montserrat, Inter, Arial, sans-serif;
}

.ypf-lang-switcher {
  position: relative;
  display: inline-block;
  min-width: 160px;
  z-index: 9999;
}

.ypf-lang-current {
  width: 100%;
  min-height: 40px;
  border: 1px solid #E9DDF5;
  background: #ffffff;
  color: #2F185B;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
}

.ypf-lang-current svg {
  width: 16px;
  height: 16px;
}

.ypf-lang-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 6px);
  width: 100%;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  box-shadow: 0 18px 42px rgba(91, 58, 145, 0.16);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all .18s ease;
}

.ypf-lang-switcher.is-open .ypf-lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ypf-lang-option {
  display: block;
  width: 100%;
  padding: 12px 18px;
  color: #2F185B !important;
  text-decoration: none !important;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  background: #ffffff;
}

.ypf-lang-option:hover,
.ypf-lang-option.is-active {
  background: #5B3A91;
  color: #ffffff !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
.goog-te-gadget,
.goog-te-combo,
#goog-gt-tt,
.skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

@media (max-width: 767px) {
  .ypf-lang-switcher {
    min-width: 150px;
  }
  .ypf-lang-current,
  .ypf-lang-option {
    font-size: 16px;
  }
}

.ypf-lang-current:hover,
.ypf-lang-current:focus,
.ypf-lang-current[aria-expanded="true"] {
  background: #5B3A91 !important;
  color: #ffffff !important;
  border-color: #5B3A91 !important;
}

.ypf-lang-current:hover span,
.ypf-lang-current:focus span,
.ypf-lang-current[aria-expanded="true"] span,
.ypf-lang-current:hover svg,
.ypf-lang-current:focus svg,
.ypf-lang-current[aria-expanded="true"] svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}


/* Awaken More brand styling */
.ypf-lang-current {
  border-radius: 999px;
  box-shadow: 0 10px 25px rgba(91, 58, 145, 0.10);
}

.ypf-lang-current svg {
  color: #00A6B2;
}

.ypf-lang-menu {
  border-color: #E9DDF5;
}

.ypf-lang-option:hover,
.ypf-lang-option.is-active {
  background: linear-gradient(135deg, #5B3A91 0%, #00A6B2 100%) !important;
  color: #ffffff !important;
}

.ypf-lang-current:hover,
.ypf-lang-current:focus,
.ypf-lang-current[aria-expanded="true"] {
  background: linear-gradient(135deg, #5B3A91 0%, #00A6B2 100%) !important;
  color: #ffffff !important;
  border-color: #5B3A91 !important;
}
