:root {
  --rediesa-font: "Montserrat", sans-serif;
  --rediesa-copy: 1rem;
  --rediesa-small: .875rem;
  --rediesa-card: clamp(1.0625rem, 1rem + .35vw, 1.25rem);
  --rediesa-section: clamp(1.5rem, 1.23rem + 1.12vw, 2.25rem);
  --rediesa-title: clamp(1.875rem, 1.35rem + 2.2vw, 3rem);
}

body,
body :is(div, section, article, nav, header, footer, main, a, p, span, label, li, strong, em, h1, h2, h3, h4, h5, h6, input, select, textarea, button):not(:is(.eicon, [class^="eicon-"], [class*=" eicon-"], .fa, .fas, .fab, .far, .fal, [class^="fa-"], [class*=" fa-"])) {
  font-family: var(--rediesa-font) !important;
}

body,
body .elementor :is(.elementor-widget-text-editor, .elementor-widget-text-editor p, .elementor-widget-text-editor li, .elementor-image-box-description, .elementor-icon-box-description, .elementor-tab-content, .elementor-tab-content p, .elementor-tab-content li, .elementor-field) {
  font-size: var(--rediesa-copy) !important;
  line-height: 1.6 !important;
}

body :is(h1, .rediesa-page-title) {
  font-size: var(--rediesa-title) !important;
  line-height: 1.16 !important;
}

body h2,
body .elementor .elementor-counter-number-wrapper {
  font-size: var(--rediesa-section) !important;
  line-height: 1.22 !important;
}

body :is(h3, h4, h5, h6),
body .elementor .woocommerce-loop-product__title {
  font-size: var(--rediesa-card) !important;
  line-height: 1.35 !important;
}

body :is(h1, h2, h3, h4, h5, h6) :is(p, span, a, strong, em) {
  font-size: inherit !important;
  line-height: inherit !important;
}

body .elementor :is(.elementor-button, .elementor-counter-title, .elementor-field-label, .elementor-tab-title) {
  font-size: var(--rediesa-small) !important;
  line-height: 1.4 !important;
}

body .elementor-location-header :is(.elementor-item, .elementor-icon-box-title, .elementor-icon-box-description, .elementor-heading-title),
body .elementor-location-footer :is(.elementor-heading-title, .elementor-icon-box-title, .elementor-icon-box-description) {
  font-size: var(--rediesa-small) !important;
  line-height: 1.4 !important;
}

.rediesa-language {
  display: inline-flex;
  align-items: center;
  width: max-content;
  padding: 2px;
  border: 1px solid #d9dde1;
  border-radius: 5px;
  background: #fff;
  white-space: nowrap;
  vertical-align: middle;
}

.rediesa-language :is(a, span) {
  display: block;
  padding: 6px 8px;
  border-radius: 3px;
  color: #28323b;
  font-size: .75rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
}

.rediesa-language [aria-current="true"],
.rediesa-language a:hover {
  color: #18212a;
  background: #eef0f2;
}

.rediesa-language a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 1px;
}

@media (max-width: 767px) {
  .rediesa-language :is(a, span) {
    padding-inline: 6px;
  }
}
