.geo-country-switcher {
	position: relative;
	display: inline-block;
	text-align: left;
}

.home .geo-country-switcher__trigger {
	background: #fff;
    border: 1px solid rgba(255, 255, 255, .1);
    color: #1b1b1b;
}

.scrolled .geo-country-switcher__trigger,
.geo-country-switcher__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	max-width: 100%;
	padding: 0.25rem 0.5rem !important;
	margin: 0;
	font: inherit;
	line-height: 1.2;
	border: 1px solid #1b1b1b !important;
	background: #1b1b1b;
    border: 1px solid rgba(255, 255, 255, .1) !important;
    color: #fff;
	cursor: pointer;
}

body.logged-in.woocommerce-account .geo-country-switcher__trigger,
body.logged-in.woocommerce-account .geo-country-switcher__trigger:hover {
    background: #1B1B1B;
    border-radius: 0 !important;
    color: #ffffff;
}

.geo-country-switcher__list {
	position: absolute;
	left: 0;
	top: 100%;
	margin: 0.15rem 0 0;
	padding: 0;
	list-style: none;
	z-index: 5000;
	min-width: 100%;
	width: max-content;
	max-width: min(100vw - 2rem, 20rem);
	max-height: 16rem;
	overflow: auto;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.geo-country-switcher__list[hidden] {
	display: none !important;
}

.geo-country-switcher__option {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.4rem 0.6rem;
	cursor: pointer;
}

.geo-country-switcher__option:hover,
.geo-country-switcher__option:focus {
	outline: none;
	background: #f2f2f2;
}

.geo-country-switcher__option[aria-selected="true"] {
	background: #e8e8e8;
}

.geo-country-switcher__opt-flag {
	flex-shrink: 0;
	width: 18px;
	height: 12px;
	object-fit: contain;
}

/* Loading / race: disable interaction until redirect */
.geo-country-switcher[data-loading] .geo-country-switcher__list,
.geo-country-switcher__trigger.is-loading,
.geo-country-switcher__trigger:disabled {
	pointer-events: none;
	cursor: wait;
	opacity: 0.78;
}

.pd-geo-currency-switcher.is-loading,
.pd-geo-currency-switcher:disabled {
	pointer-events: none;
	cursor: wait;
	opacity: 0.78;
}

/* WPML language switcher (same visual language as country) */
.pd-wpml-lang-switcher {
	position: relative;
	display: inline-block;
	text-align: left;
}

.home .pd-wpml-lang-switcher__trigger {
	background: #fff;
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #1b1b1b;
}

.scrolled .pd-wpml-lang-switcher__trigger,
.pd-wpml-lang-switcher__trigger {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	max-width: 100%;
	padding: 0.25rem 0.5rem !important;
	margin: 0;
	font: inherit;
	line-height: 1.2;
	border: 1px solid #1b1b1b !important;
	background: #1b1b1b;
	border: 1px solid rgba(255, 255, 255, 0.1) !important;
	color: #fff;
	cursor: pointer;
}

body.logged-in.woocommerce-account .pd-wpml-lang-switcher__trigger,
body.logged-in.woocommerce-account .pd-wpml-lang-switcher__trigger:hover {
	background: #1b1b1b;
	border-radius: 0 !important;
	color: #ffffff;
}

.pd-wpml-lang-switcher__list {
	position: absolute;
	left: 0;
	top: 100%;
	margin: 0.15rem 0 0;
	padding: 0;
	list-style: none;
	z-index: 5000;
	min-width: 100%;
	width: max-content;
	max-width: min(100vw - 2rem, 20rem);
	max-height: 16rem;
	overflow: auto;
	background: #fff;
	border: 1px solid #ccc;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.pd-wpml-lang-switcher__list[hidden] {
	display: none !important;
}

.pd-wpml-lang-switcher__option {
	display: flex;
	align-items: center;
	gap: 0.35rem;
	padding: 0.7rem 0.6rem;
	cursor: pointer;
}

.pd-wpml-lang-switcher__option:hover,
.pd-wpml-lang-switcher__option:focus {
	outline: none;
	background: #f2f2f2;
}

.pd-wpml-lang-switcher__option[aria-selected="true"] {
	background: #e8e8e8;
}

.pd-wpml-lang-switcher__opt-flag {
	flex-shrink: 0;
	width: 18px;
	height: 12px;
	object-fit: contain;
}

/* Primary nav: language (left) + currency (not menu text links) */
.site-navi > li.pd-menu-item--language,
.site-navi > li.pd-menu-item--currency {
	list-style: none;
	text-transform: none;
	display: flex;
	align-items: center;
	margin: 0;
	padding: 0 6px;
}

.site-navi > li.pd-menu-item--language > .pd-wpml-lang-switcher,
.site-navi > li.pd-menu-item--currency > .pd-geo-currency-switcher {
	flex-shrink: 0;
}

.site-navi .pd-geo-currency-switcher {
	font: inherit;
	line-height: 1.2;
	padding: 0.25rem 0.5rem;
	border-radius: 0;
	background: #1b1b1b;
	border: 1px solid rgba(255, 255, 255, 0.1);
	color: #fff;
	cursor: pointer;
	max-width: min(100vw - 2rem, 10rem);
}

.home .site-navi .pd-geo-currency-switcher {
	background: #fff;
	border: 1px solid rgba(27, 27, 27, 0.2);
	color: #1b1b1b;
}


/* Adjustments */

/* Translator */
.header__container button#pd-wpml-lang-switcher-nav-trigger {
    text-transform: uppercase;
}

.header__container .pd-wpml-lang-switcher__list{
	width: 100%;
    min-width: 200px;
    top: calc(100% + 17px);
    box-shadow: none;
    border: none;
}

.header__container .pd-wpml-lang-switcher__option,
.header__container .pd-wpml-lang-switcher__option[aria-selected="true"]{
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 15px 20px 12px;
    cursor: pointer;
    z-index: 2;
    color: #000;
    font-size: clamp(11px, .875vw, 14px);
    font-weight: 500;
    background: linear-gradient(87deg, #999 .77%, #eee 40.06%, #ccc 99.23%);
    text-transform: uppercase;
}

.header__container .pd-wpml-lang-switcher__option[aria-selected="true"],
.header__container .pd-wpml-lang-switcher__option:hover{
    background: linear-gradient(87deg, #999 .77%, #eee 40.06%, #ccc 99.23%);
}

.header__container .pd-wpml-lang-switcher__option span {
    position: relative;
}

.header__container .pd-wpml-lang-switcher__option span::before{
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background: #000;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%);
    transition: all .5s;
    opacity: 0;
}

.header__container .pd-wpml-lang-switcher__option:hover span::before{
    opacity: 1;
    width: 100%;
}
/* Translator */

/* Currency */

.pd-geo-currency-mask {}

.pd-geo-currency-mask button.pd-geo-currency-mask-trigger {
    color: #fff;
    font-size: 16px;
    font-size: clamp(12px, 1vw, 16px);
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    letter-spacing: 1.5px;
    text-align: center;
    border-radius: 50px;
    height: 36px;
    display: flex;
    align-items: center;
    padding: 0 15px !important;
    position: relative;
    overflow: hidden;
    background: transparent;
    border: 0 !important;
    transition: all .5s;
	text-transform: uppercase;
}

.pd-geo-currency-mask button.pd-geo-currency-mask-trigger:hover {
    background: linear-gradient(87deg, #999 .77%, #eee 40.06%, #ccc 99.23%);
    transition: all .5s;
    color: #333;
}

.pd-geo-currency-mask .pd-geo-currency-mask-dropdown {
    position: absolute;
    left: 0;
    margin: 0.15rem 0 0;
    padding: 0;
    list-style: none;
    z-index: 5000;
    background: #fff;
    width: 100%;
    min-width: 120px;
    top: calc(100% + 17px);
    box-shadow: none;
    border: none;
}

.pd-geo-currency-mask .pd-geo-currency-mask-dropdown:not(.open) {
    display: none;
}

.pd-geo-currency-mask .pd-geo-currency-mask-dropdown li {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    padding: 15px 20px 12px;
    cursor: pointer;
    z-index: 2;
    color: #000;
    font-size: clamp(11px, .875vw, 14px);
    font-weight: 500;
    background: linear-gradient(87deg, #999 .77%, #eee 40.06%, #ccc 99.23%);
    text-transform: uppercase;
}

.pd-geo-currency-mask .pd-geo-currency-mask-dropdown li span {
    position: relative;
}

.pd-geo-currency-mask .pd-geo-currency-mask-dropdown li span::before{
    content: "";
    position: absolute;
    width: 0;
    height: 1px;
    background: #000;
    bottom: -3px;
    left: 50%;
    transform: translate(-50%);
    transition: all .5s;
    opacity: 0;
}

.pd-geo-currency-mask .pd-geo-currency-mask-dropdown li span[selected="selected"]::before,
.pd-geo-currency-mask .pd-geo-currency-mask-dropdown li:hover span::before{
    opacity: 1;
    width: 100%;
}



/* Currency */
/* Adjustments */

