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

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

.ypf-lang-current {
  width: 100%;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: #202124;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 14px;
  cursor: pointer;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 400;
}

.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: 8px;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
  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: #202124 !important;
  text-decoration: none !important;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 400;
  background: #ffffff;
}

.ypf-lang-option:hover,
.ypf-lang-option.is-active {
  background: #bc2c2e;
  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: #bc2c2e !important;
  color: #ffffff !important;
  border-color: #bc2c2e !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;
}
