/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */

/**
 * ===== Palex language switcher (EN / IT / PT-PT / ES) =====
 * ---------------------------------------------------------------
 */

/* ===== Palex language switcher — dropdown ===== */
.elementor-widget-shortcode .palex-langs {
  position: relative;
  display: inline-block;
  margin: 0 1.5rem;
  outline: none;
  z-index: 1000;                 /* ← sopra la nav sticky */
}
.elementor-widget-shortcode .palex-langs__toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #2fa89a;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-size: inherit;
  font-family: inherit;
}
.elementor-widget-shortcode .palex-langs__caret {
  transition: transform .15s ease;
}
.elementor-widget-shortcode .palex-langs[aria-open="true"] .palex-langs__caret {
  transform: rotate(180deg);
}
.elementor-widget-shortcode .palex-langs__menu {
  position: absolute;
  top: 100%;
  right: 0;
  margin: .6rem 0 0;
  padding: .35rem 0;
  list-style: none;
  min-width: 4.5rem;             /* ← larghezza fissa, non 100% */
  background: #fff;
  border: 1px solid #e4eaea;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(24,60,60,.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility .15s;
  z-index: 1001;                 /* ← il menu sopra tutto */
}
.elementor-widget-shortcode .palex-langs:hover .palex-langs__menu,
.elementor-widget-shortcode .palex-langs:focus-within .palex-langs__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.elementor-widget-shortcode .palex-langs__menu li { margin: 0; }
.elementor-widget-shortcode .palex-langs__menu a {
  display: block;
  padding: .5rem 1.1rem;
  color: #2fa89a;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s ease;
}
.elementor-widget-shortcode .palex-langs__menu a:hover { background: #f4f7f7; }

/* fa uscire il menu dal suo container */
.elementor-element-6e80a053,
.elementor-element-2349ada {
  overflow: visible !important;
  z-index: 1000 !important;
}