.pmm-language-switcher {
	display: flex;
	align-items: center;
	max-width: 100%;
}

.pmm-language-select {
	min-width: 150px;
	max-width: 100%;
	height: 40px;
	padding: 0 34px 0 12px;
	border: 1px solid rgba(31, 41, 55, 0.18);
	border-radius: 8px;
	background-color: #fff;
	font: inherit;
	line-height: 1.2;
	color: inherit;
	cursor: pointer;
}

.pmm-language-options {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
}

.pmm-language-option {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 10px;
	border: 1px solid rgba(31, 41, 55, 0.16);
	border-radius: 8px;
	background: transparent;
	text-decoration: none;
	line-height: 1.2;
	color: inherit;
	transition: border-color 0.2s ease, background-color 0.2s ease;
}

.pmm-language-option:hover,
.pmm-language-option:focus,
.pmm-language-option.is-active {
	border-color: currentColor;
	background: rgba(127, 127, 127, 0.08);
}

.pmm-switcher-list .pmm-language-option {
	padding: 3px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

.pmm-switcher-list .pmm-language-option + .pmm-language-option::before {
	margin-inline-end: 8px;
	color: currentColor;
	opacity: 0.35;
	content: "•";
}

.pmm-language-flag {
	line-height: 1;
}

html[dir="rtl"] body.pmm-direction-rtl {
	direction: rtl;
}

body.pmm-direction-ltr {
	direction: ltr;
}

body.pmm-direction-rtl .pmm-language-select {
	padding-right: 12px;
	padding-left: 34px;
	text-align: right;
}

body.pmm-direction-rtl .pmm-language-options,
body.pmm-direction-rtl .pmm-language-option {
	direction: rtl;
}

body.pmm-direction-rtl.pmm-mirror-layout .elementor,
body.pmm-direction-rtl.pmm-mirror-layout .elementor-location-header,
body.pmm-direction-rtl.pmm-mirror-layout .elementor-location-footer,
body.pmm-direction-rtl.pmm-mirror-layout .e-con,
body.pmm-direction-rtl.pmm-mirror-layout .elementor-container,
body.pmm-direction-rtl.pmm-mirror-layout .elementor-row {
	direction: rtl;
}

body.pmm-direction-rtl .elementor-widget-heading,
body.pmm-direction-rtl .elementor-widget-text-editor,
body.pmm-direction-rtl .elementor-widget-button,
body.pmm-direction-rtl .elementor-widget-icon-list,
body.pmm-direction-rtl .elementor-widget-form,
body.pmm-direction-rtl .elementor-widget-image,
body.pmm-direction-rtl .elementor-widget-testimonial,
body.pmm-direction-rtl .elementor-widget-accordion,
body.pmm-direction-rtl .elementor-widget-toggle,
body.pmm-direction-rtl .elementor-widget-tabs {
	text-align: right;
}

body.pmm-direction-ltr .elementor-widget-heading,
body.pmm-direction-ltr .elementor-widget-text-editor,
body.pmm-direction-ltr .elementor-widget-form {
	direction: ltr;
}

body.pmm-direction-rtl .elementor-icon-list-items,
body.pmm-direction-rtl .elementor-nav-menu,
body.pmm-direction-rtl .elementor-field-group,
body.pmm-direction-rtl .elementor-form-fields-wrapper {
	direction: rtl;
}

body.pmm-direction-rtl .elementor-field,
body.pmm-direction-rtl .elementor-field-label,
body.pmm-direction-rtl input,
body.pmm-direction-rtl textarea,
body.pmm-direction-rtl select {
	text-align: right;
}

body.pmm-direction-rtl .elementor-icon-list-icon {
	margin-right: 0;
	margin-left: var(--e-icon-list-icon-margin, 8px);
}

body.pmm-direction-rtl .elementor-button-icon.elementor-align-icon-left {
	order: 2;
	margin-right: var(--e-button-icon-spacing, 5px);
	margin-left: 0;
}

body.pmm-direction-rtl .elementor-button-icon.elementor-align-icon-right {
	order: 0;
	margin-right: 0;
	margin-left: var(--e-button-icon-spacing, 5px);
}

body.pmm-direction-rtl .elementor-nav-menu--dropdown .elementor-sub-item,
body.pmm-direction-rtl .elementor-nav-menu--dropdown a {
	text-align: right;
}

@media (max-width: 767px) {
	.pmm-language-options {
		gap: 6px;
	}

	.pmm-language-option {
		padding: 6px 8px;
	}
}
