/* Language switcher */
.rs-lang-switcher {
  position: relative;
  z-index: 50;
  flex-shrink: 0;
}

.rs-lang-switcher__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 6px 12px 6px 8px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  background: #fff;
  color: #1f1f1f;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.rs-lang-switcher__btn:hover,
.rs-lang-switcher.is-open .rs-lang-switcher__btn {
  border-color: rgba(234, 85, 1, 0.45);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.08);
}

.rs-lang-switcher__btn i {
  font-size: 16px;
  color: #616161;
  transition: transform 0.2s ease;
}

.rs-lang-switcher.is-open .rs-lang-switcher__btn i {
  transform: rotate(180deg);
}

.rs-lang-switcher__flag {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

.rs-lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  inset-inline-end: 0;
  min-width: 180px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.rs-lang-switcher.is-open .rs-lang-switcher__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.rs-lang-switcher__option {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #1f1f1f;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.rs-lang-switcher__option:hover,
.rs-lang-switcher__option.is-active {
  background: rgba(234, 85, 1, 0.08);
  color: #ea5501;
}

.rs-lang-switcher__option img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08);
}

/* Hide Google Translate chrome */
#google_translate_element,
.goog-te-banner-frame,
.skiptranslate,
body > .skiptranslate {
  display: none !important;
}

body {
  top: 0 !important;
}

.goog-te-gadget {
  display: none !important;
}

@media only screen and (max-width: 991px) {
  .rs-lang-switcher__btn {
    min-height: 38px;
    padding: 5px 10px 5px 6px;
    font-size: 11px;
  }

  .rs-lang-switcher__label {
    max-width: 62px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
}

@media only screen and (max-width: 480px) {
  .rs-lang-switcher__label {
    display: none;
  }

  .rs-lang-switcher__btn {
    padding: 6px 8px;
  }
}

.smf-whatsapp {
  position: fixed;
  left: 22px;
  right: auto;
  bottom: 30px;
  z-index: 9997;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  font-size: 28px;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.45);
  text-decoration: none;
}
.smf-whatsapp:hover {
  color: #fff;
  background: #1ebe5d;
}
.smf-quote-widget p {
  color: #555;
  margin-bottom: 14px;
  line-height: 1.6;
}
.rs-contact-input select {
  width: 100%;
  min-height: 56px;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 0 16px;
  background: #fff;
  color: #333;
}
