/*!
 * POLWAX Site 1.6.1.0 – Country & Language selector.
 * Header button (in the POLWAX Mobile Header Buttons widget) and popup; bottom sheet on phones.
 */

/* ------------------------------------------------ header: the buttons widget is now shown on every size */
@media (min-width: 1025px) {
	.pw .elementor-widget-pwx-header-tools { display: block; }
	.pw .pw-header-tools__inner .pw-search-toggle,
	.pw .pw-header-tools__inner .pw-burger { display: none !important; }
}
.pw .pw-header-tools__inner { display: flex; align-items: center; gap: 2px; }

/* ------------------------------------------------ header button */
.pw button.pwx-loc,
.pw button.pwx-loc:focus {
	display: inline-flex; align-items: center; gap: 8px; height: 40px; margin: 0; padding: 0 12px;
	border: 1px solid var(--pw-line, #DCE5EA) !important; border-radius: 8px; background: #fff !important; box-shadow: none !important;
	font-family: var(--pw-ff-body, Poppins, sans-serif); font-size: 14px; font-weight: 500; line-height: 1; color: var(--pw-text, #183B50) !important;
	white-space: nowrap; cursor: pointer; transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.pw button.pwx-loc:hover { border-color: var(--pw-green, #00AB84) !important; background: var(--pw-bg, #F6F9FA) !important; color: var(--pw-navy, #0B3D6B) !important; }
.pw button.pwx-loc:focus-visible { outline: 3px solid var(--pw-yellow, #FDD400); outline-offset: 2px; }
.pwx-loc .pwx-loc__globe { width: 18px; height: 18px; flex: none; color: var(--pw-green-d, #00775C); }
.pwx-loc .pwx-loc__chev { width: 14px; height: 14px; flex: none; color: var(--pw-navy, #0B3D6B); transition: transform .2s ease; }
.pwx-loc[aria-expanded="true"] .pwx-loc__chev { transform: rotate(180deg); }
.pwx-loc__text { display: inline-flex; align-items: center; gap: 7px; }
.pwx-loc__country { font-weight: 600; color: var(--pw-navy, #0B3D6B); }
.pwx-loc__sep { color: #A9BAC5; }
.pwx-loc__short { display: none; font-weight: 600; color: var(--pw-navy, #0B3D6B); letter-spacing: .02em; }
@media (max-width: 1320px) {
	/* small laptops: the topbar is narrower – show the codes ("IN · EN") */
	.pwx-loc__text { display: none; }
	.pwx-loc__short { display: inline; }
}
@media (max-width: 1024px) {
	.pw button.pwx-loc, .pw button.pwx-loc:focus { height: 40px; padding: 0 9px; gap: 6px; font-size: 13px; margin-right: 4px; }
	.pwx-loc .pwx-loc__chev { display: none; }
}
@media (max-width: 380px) {
	.pw button.pwx-loc, .pw button.pwx-loc:focus { padding: 0 7px; }
	.pwx-loc .pwx-loc__globe { width: 16px; height: 16px; }
}

/* ------------------------------------------------ popup */
html.pwx-loc-noscroll { overflow: hidden; }
.pwx-locd { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 24px; font-family: var(--polwax-font, Poppins, Arial, sans-serif); color: #183B50; }
.pwx-locd[hidden] { display: none; }
.pwx-locd *, .pwx-locd *::before, .pwx-locd *::after { box-sizing: border-box; }
.pwx-locd__backdrop { position: absolute; inset: 0; background: rgba(11, 61, 107, .45); opacity: 0; transition: opacity .22s ease; }
.pwx-locd__panel {
	position: relative; display: flex; flex-direction: column; width: min(560px, 100%); max-height: min(720px, calc(100vh - 48px));
	padding: 30px 30px 24px; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(11, 61, 107, .25), 0 2px 8px rgba(11, 61, 107, .08);
	border-top: 4px solid #FDD400; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .22s ease, transform .22s ease;
}
.pwx-locd.is-open .pwx-locd__backdrop { opacity: 1; }
.pwx-locd.is-open .pwx-locd__panel { opacity: 1; transform: none; }
.pwx-locd button.pwx-locd__x, .pwx-locd button.pwx-locd__x:focus {
	position: absolute; top: 14px; right: 14px; display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; padding: 0;
	border: 0 !important; border-radius: 50%; background: transparent !important; color: #0B3D6B !important; box-shadow: none !important; cursor: pointer;
}
.pwx-locd button.pwx-locd__x:hover { background: #F6F9FA !important; }
.pwx-locd__x svg { width: 20px; height: 20px; }
.pwx-locd .pwx-locd__title { margin: 0 40px 6px 0; font-family: inherit; font-size: 22px; font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: #0B3D6B; }
.pwx-locd .pwx-locd__sub { margin: 0 0 20px; font-size: 14.5px; line-height: 1.55; color: #4D6878; }
.pwx-locd__step { display: flex; flex-direction: column; min-height: 0; }
.pwx-locd__step:first-of-type { flex: 1 1 auto; }
.pwx-locd .pwx-locd__label { display: flex; align-items: center; gap: 10px; margin: 0 0 10px; font-size: 14px; font-weight: 600; color: #0B3D6B; }
.pwx-locd__num { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; border-radius: 50%; background: #0B3D6B; color: #fff; font-size: 12px; font-weight: 700; }
.pwx-locd__search { position: relative; }
.pwx-locd__search svg { position: absolute; left: 13px; top: 50%; width: 17px; height: 17px; transform: translateY(-50%); color: #6B8291; pointer-events: none; }
.pwx-locd input.pwx-locd__input[type="search"] {
	width: 100%; height: 44px; margin: 0; padding: 0 14px 0 40px; border: 1.5px solid #DCE5EA; border-radius: 8px; background: #F6F9FA;
	font-family: inherit; font-size: 15px; color: #0B3D6B; box-shadow: none; -webkit-appearance: none; appearance: none;
}
.pwx-locd input.pwx-locd__input[type="search"]:focus { outline: none; border-color: #00AB84; background: #fff; box-shadow: 0 0 0 4px rgba(0, 171, 132, .15); }
.pwx-locd__list {
	margin: 8px 0 0; padding: 4px; list-style: none; max-height: 232px; min-height: 120px; overflow-y: auto; overscroll-behavior: contain;
	border: 1px solid #DCE5EA; border-radius: 10px;
}
.pwx-locd__country { display: flex; align-items: center; gap: 12px; min-height: 42px; margin: 0; padding: 8px 10px; border-radius: 7px; cursor: pointer; font-size: 14.5px; color: #183B50; transition: background-color .15s ease; }
.pwx-locd__country[hidden] { display: none; }
.pwx-locd__country img { width: 24px; height: 18px; flex: none; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 61, 107, .12); }
.pwx-locd__cname { flex: 1 1 auto; }
.pwx-locd__tick { width: 18px; height: 18px; flex: none; color: #00AB84; opacity: 0; }
.pwx-locd__country:hover, .pwx-locd__country.is-active { background: #F6F9FA; }
.pwx-locd__country[aria-selected="true"] { background: #E6F7F2; font-weight: 600; color: #0B3D6B; }
.pwx-locd__country[aria-selected="true"] .pwx-locd__tick { opacity: 1; }
.pwx-locd .pwx-locd__empty { margin: 8px 0 0; font-size: 14px; color: #6B8291; }
.pwx-locd__step + .pwx-locd__step { margin-top: 20px; }
.pwx-locd .pwx-locd__hint { margin: 0; font-size: 14px; color: #6B8291; }
.pwx-locd__langs { display: flex; flex-wrap: wrap; gap: 10px; }
.pwx-locd button.pwx-locd__lang, .pwx-locd button.pwx-locd__lang:focus {
	position: relative; display: inline-flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 150px; margin: 0; padding: 11px 40px 11px 14px;
	border: 1.5px solid #DCE5EA !important; border-radius: 10px; background: #fff !important; box-shadow: none !important; cursor: pointer;
	font-family: inherit; text-align: left; color: #183B50 !important; transition: border-color .15s ease, background-color .15s ease;
}
.pwx-locd button.pwx-locd__lang:hover { border-color: #00AB84 !important; }
.pwx-locd button.pwx-locd__lang[aria-checked="true"] { border-color: #00AB84 !important; background: #E6F7F2 !important; }
.pwx-locd button.pwx-locd__lang::after {
	content: ""; position: absolute; right: 13px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 2px solid #C5D3DC; border-radius: 50%; background: #fff;
}
.pwx-locd button.pwx-locd__lang[aria-checked="true"]::after { border-color: #00AB84; background: #00AB84; box-shadow: inset 0 0 0 3px #fff; }
.pwx-locd button.pwx-locd__lang:focus-visible { outline: 3px solid #FDD400; outline-offset: 2px; }
.pwx-locd__lname { font-size: 15px; font-weight: 600; color: #0B3D6B; line-height: 1.3; }
.pwx-locd__lnative { font-size: 12.5px; color: #6B8291; line-height: 1.3; }
.pwx-locd__lbadge { margin-top: 4px; padding: 2px 7px; border-radius: 4px; background: #FFF6C2; color: #6A5600; font-size: 11px; font-weight: 600; line-height: 1.4; }
.pwx-locd__lbadge--live { background: #E3F6F1; color: #00775C; }
.pwx-locd__foot { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 18px; border-top: 1px solid #EDF2F5; }
.pwx-locd a.pwx-locd__go {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px; flex: 1 1 auto; min-height: 50px; padding: 0 22px; border-radius: 8px;
	background: #FDD400; color: #0B3D6B !important; font-size: 15.5px; font-weight: 700; text-decoration: none !important; transition: background-color .2s ease, box-shadow .2s ease;
}
.pwx-locd a.pwx-locd__go svg { width: 18px; height: 18px; transition: transform .2s ease; }
.pwx-locd a.pwx-locd__go:hover { background: #F2C900; box-shadow: 0 6px 16px rgba(253, 212, 0, .35); }
.pwx-locd a.pwx-locd__go:hover svg { transform: translateX(3px); }
.pwx-locd a.pwx-locd__go:focus-visible { outline: 3px solid #0B3D6B; outline-offset: 2px; }
.pwx-locd a.pwx-locd__go[aria-disabled="true"] { background: #EDF2F5; color: #8AA0AE !important; box-shadow: none; cursor: not-allowed; }
.pwx-locd a.pwx-locd__go[aria-disabled="true"] svg { transform: none; }
.pwx-locd button.pwx-locd__cancel, .pwx-locd button.pwx-locd__cancel:focus {
	min-height: 50px; margin: 0; padding: 0 20px; border: 1.5px solid #DCE5EA !important; border-radius: 8px; background: #fff !important;
	color: #0B3D6B !important; box-shadow: none !important; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.pwx-locd button.pwx-locd__cancel:hover { border-color: #0B3D6B !important; }
.pwx-locd button.pwx-locd__cancel:focus-visible { outline: 3px solid #FDD400; outline-offset: 2px; }

/* phones: bottom sheet */
@media (max-width: 640px) {
	.pwx-locd { align-items: flex-end; padding: 0; }
	.pwx-locd__panel {
		width: 100%; max-height: calc(100% - 24px); padding: 22px 18px calc(16px + env(safe-area-inset-bottom)); border-radius: 18px 18px 0 0;
		transform: translateY(40px);
	}
	.pwx-locd__panel::before { content: ""; position: absolute; top: 8px; left: 50%; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: #DCE5EA; }
	.pwx-locd .pwx-locd__title { font-size: 19px; margin-top: 6px; }
	.pwx-locd .pwx-locd__sub { font-size: 13.5px; margin-bottom: 14px; }
	.pwx-locd__list { max-height: 34vh; }
	.pwx-locd__country { min-height: 46px; }
	.pwx-locd button.pwx-locd__lang { flex: 1 1 140px; min-height: 52px; }
	.pwx-locd__foot { position: sticky; bottom: 0; margin-top: 16px; padding-top: 14px; background: #fff; }
	.pwx-locd a.pwx-locd__go { font-size: 15px; padding: 0 14px; }
	.pwx-locd button.pwx-locd__cancel { padding: 0 16px; }
}
@media (prefers-reduced-motion: reduce) {
	.pwx-locd__panel, .pwx-locd__backdrop, .pwx-loc .pwx-loc__chev { transition: none !important; }
}

/* editors: unpublished language preview note */
.pwx-locale-preview { position: relative; z-index: 99; padding: 8px 16px; background: #FFF6C2; color: #4A3D00; font: 600 13px/1.4 var(--polwax-font, Poppins, Arial, sans-serif); text-align: center; border-bottom: 1px solid #F0DA6A; }
.pwx-locale-preview a { color: #0B3D6B; text-decoration: underline; }
