#tb-lang-country-switcher {
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--tb-border, rgba(17, 17, 17, 0.12));
}

.tb-market-strip {
	background: linear-gradient(90deg, rgba(78, 205, 196, 0.18), rgba(26, 75, 82, 0.06));
	border-bottom: 1px solid var(--tb-border, rgba(17, 17, 17, 0.12));
}

.tb-market-strip__inner {
	align-items: center;
	color: var(--tb-teal-4, #12342f);
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem 0.6rem;
	margin-inline: auto;
	max-width: var(--tb-container, min(100% - 2rem, 1180px));
	padding: 0.5rem 1rem;
}

.tb-market-strip__flag {
	font-size: 1.15rem;
	line-height: 1;
}

.tb-market-strip__text {
	font-size: var(--tb-step--1, 0.925rem);
	font-weight: 800;
}

.tb-market-strip__sub {
	background: var(--tb-mint, #4ecdc4);
	border-radius: var(--tb-radius-pill, 999px);
	color: var(--tb-teal-4, #12342f);
	font-size: var(--tb-step--2, 0.82rem);
	font-weight: 900;
	margin-inline-start: auto;
	padding: 0.3rem 0.7rem;
	white-space: nowrap;
}

@media (max-width: 720px) {
	.tb-market-strip__sub {
		margin-inline-start: 0;
	}
}

.tb-geo-switcher {
	align-items: center;
	display: flex;
	gap: 0.5rem;
	justify-content: flex-end;
	margin-inline: auto;
	max-width: var(--tb-container, min(100% - 2rem, 1180px));
	padding: 0.55rem 1rem;
}

/* Region + Language split selector (two dropdowns) */
.tb-geo-dd {
	position: relative;
}

.tb-geo-dd__trigger {
	align-items: center;
	background: #fff;
	border: 1px solid var(--tb-border, rgba(17, 17, 17, 0.12));
	border-radius: var(--tb-radius-pill, 999px);
	color: var(--tb-teal-4, #12342f);
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: var(--tb-step--1, 0.925rem);
	font-weight: 800;
	gap: 0.4rem;
	line-height: 1.2;
	min-height: 2.35rem;
	padding: 0.45rem 0.8rem;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
	white-space: nowrap;
}

.tb-geo-dd__trigger:hover,
.tb-geo-dd__trigger:focus-visible,
.tb-geo-dd__trigger[aria-expanded="true"] {
	background: rgba(78, 205, 196, 0.16);
	border-color: rgba(78, 205, 196, 0.45);
	color: var(--tb-teal-2, #1a6b63);
	outline: none;
}

.tb-geo-dd__flag {
	font-size: 1rem;
	line-height: 1;
}

.tb-geo-dd__car {
	font-size: 0.7rem;
	transition: transform 150ms ease;
}

.tb-geo-dd__trigger[aria-expanded="true"] .tb-geo-dd__car {
	transform: rotate(180deg);
}

.tb-geo-dd__menu {
	background: #fff;
	border: 1px solid var(--tb-border, rgba(17, 17, 17, 0.12));
	border-radius: 12px;
	box-shadow: var(--tb-shadow-soft, 0 18px 50px rgba(18, 52, 47, 0.12));
	display: none;
	list-style: none;
	margin: 0.4rem 0 0;
	min-width: 200px;
	padding: 0.35rem;
	position: absolute;
	right: 0;
	top: 100%;
	z-index: 95;
}

.tb-geo-dd__trigger[aria-expanded="true"] ~ .tb-geo-dd__menu {
	display: block;
}

.tb-geo-dd__li {
	margin: 0;
}

.tb-geo-dd__item {
	border-radius: 8px;
	color: var(--tb-text, #111);
	display: block;
	font-size: var(--tb-step--1, 0.925rem);
	font-weight: 700;
	padding: 0.5rem 0.6rem;
	text-decoration: none;
	white-space: nowrap;
}

.tb-geo-dd__item:hover,
.tb-geo-dd__item:focus-visible {
	background: rgba(78, 205, 196, 0.12);
	outline: none;
}

.tb-geo-dd__item.is-selected {
	background: rgba(78, 205, 196, 0.18);
	color: var(--tb-teal-2, #1a6b63);
}

.tb-geo-switcher__language,
.tb-geo-switcher__country {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.tb-geo-switcher__link,
.tb-geo-switcher__country-button,
.tb-shopee-cta {
	align-items: center;
	border-radius: var(--tb-radius-pill, 999px);
	display: inline-flex;
	font-size: var(--tb-step--1, 0.925rem);
	font-weight: 800;
	justify-content: center;
	line-height: 1.2;
	min-height: 2.35rem;
	text-decoration: none;
	transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
	white-space: nowrap;
}

.tb-geo-switcher__link,
.tb-geo-switcher__country-button {
	background: transparent;
	border: 1px solid transparent;
	color: var(--tb-teal-4, #12342f);
	padding: 0.45rem 0.75rem;
}

.tb-geo-switcher__country-button {
	cursor: pointer;
}

.tb-geo-switcher__link:hover,
.tb-geo-switcher__link:focus-visible,
.tb-geo-switcher__country-button:hover,
.tb-geo-switcher__country-button:focus-visible,
.tb-geo-switcher__link.is-selected,
.tb-geo-switcher__country-button.is-selected {
	background: rgba(78, 205, 196, 0.16);
	border-color: rgba(78, 205, 196, 0.45);
	color: var(--tb-teal-2, #1a6b63);
	outline: none;
}

.tb-shopee-cta {
	background: var(--tb-teal, #1a4b52);
	border: 1px solid var(--tb-teal, #1a4b52);
	color: var(--tb-white, #ffffff);
	cursor: pointer;
	padding: 0.75rem 1.2rem;
}

.tb-shopee-cta:hover,
.tb-shopee-cta:focus-visible {
	background: var(--tb-teal-2, #1a6b63);
	border-color: var(--tb-teal-2, #1a6b63);
	color: var(--tb-white, #ffffff);
	outline: none;
	transform: translateY(-1px);
}

.tb-shopee-cta--soon {
	background: rgba(17, 17, 17, 0.08);
	border-color: rgba(17, 17, 17, 0.12);
	color: rgba(17, 17, 17, 0.58);
	cursor: not-allowed;
	transform: none;
}

.tb-shopee-cta--soon:hover,
.tb-shopee-cta--soon:focus-visible {
	background: rgba(17, 17, 17, 0.08);
	border-color: rgba(17, 17, 17, 0.12);
	color: rgba(17, 17, 17, 0.58);
	transform: none;
}

.tb-geo-suggestion-root {
	bottom: 1rem;
	left: 50%;
	max-width: min(100% - 2rem, 680px);
	pointer-events: none;
	position: fixed;
	transform: translateX(-50%);
	width: max-content;
	z-index: 90;
}

.tb-geo-banner {
	align-items: center;
	background: var(--tb-white, #ffffff);
	border: 1px solid var(--tb-border, rgba(17, 17, 17, 0.12));
	border-radius: 8px;
	box-shadow: var(--tb-shadow-soft, 0 18px 50px rgba(18, 52, 47, 0.12));
	color: var(--tb-text, #111111);
	display: flex;
	gap: 0.7rem;
	padding: 0.75rem 0.85rem 0.75rem 1rem;
	pointer-events: auto;
}

.tb-geo-banner__text {
	font-size: var(--tb-step--1, 0.925rem);
	font-weight: 800;
	line-height: 1.25;
}

.tb-geo-banner__link {
	background: var(--tb-mint, #4ecdc4);
	border-radius: var(--tb-radius-pill, 999px);
	color: var(--tb-teal-4, #12342f);
	font-size: var(--tb-step--1, 0.925rem);
	font-weight: 900;
	line-height: 1;
	padding: 0.55rem 0.8rem;
	text-decoration: none;
	white-space: nowrap;
}

.tb-geo-banner__link:hover,
.tb-geo-banner__link:focus-visible {
	background: var(--tb-teal, #1a4b52);
	color: var(--tb-white, #ffffff);
	outline: none;
}

.tb-geo-banner__close,
.tb-country-modal__close {
	align-items: center;
	background: transparent;
	border: 0;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font-weight: 900;
	justify-content: center;
	line-height: 1;
}

.tb-geo-banner__close {
	border-radius: 999px;
	font-size: 1.25rem;
	height: 2rem;
	width: 2rem;
}

.tb-geo-banner__close:hover,
.tb-geo-banner__close:focus-visible,
.tb-country-modal__close:hover,
.tb-country-modal__close:focus-visible {
	background: rgba(17, 17, 17, 0.08);
	outline: none;
}

.tb-country-modal {
	display: grid;
	inset: 0;
	padding: 1rem;
	place-items: center;
	position: fixed;
	z-index: 100;
}

.tb-country-modal[hidden] {
	display: none;
}

.tb-country-modal__backdrop {
	background: rgba(18, 52, 47, 0.42);
	inset: 0;
	position: absolute;
}

.tb-country-modal__panel {
	background: var(--tb-white, #ffffff);
	border: 1px solid var(--tb-border, rgba(17, 17, 17, 0.12));
	border-radius: 8px;
	box-shadow: var(--tb-shadow-soft, 0 18px 50px rgba(18, 52, 47, 0.12));
	color: var(--tb-text, #111111);
	max-width: 100%;
	padding: 1.5rem;
	position: relative;
	width: 420px;
}

.tb-country-modal__close {
	border-radius: 999px;
	font-size: 1.4rem;
	height: 2.25rem;
	position: absolute;
	right: 0.75rem;
	top: 0.75rem;
	width: 2.25rem;
}

.tb-country-modal h2 {
	color: var(--tb-teal-4, #12342f);
	font-size: var(--tb-step-1, 1.35rem);
	line-height: 1.2;
	margin: 0 2.5rem 0.45rem 0;
}

.tb-country-modal p {
	color: rgba(17, 17, 17, 0.7);
	font-size: var(--tb-step--1, 0.925rem);
	margin: 0;
}

.tb-country-modal__options {
	display: grid;
	gap: 0.5rem;
	margin-top: 1rem;
}

.tb-country-modal__options button {
	background: var(--tb-bg-2, #fbfaf3);
	border: 1px solid var(--tb-border, rgba(17, 17, 17, 0.12));
	border-radius: 8px;
	color: var(--tb-teal-4, #12342f);
	cursor: pointer;
	font-weight: 900;
	min-height: 2.75rem;
	padding: 0.7rem 0.9rem;
	text-align: left;
}

.tb-country-modal__options button:hover,
.tb-country-modal__options button:focus-visible {
	background: rgba(78, 205, 196, 0.16);
	border-color: rgba(78, 205, 196, 0.55);
	outline: none;
}

.tb-country-modal__status {
	font-weight: 800;
	margin-top: 0.9rem;
}

.tb-country-modal-open {
	overflow: hidden;
}

@media (max-width: 720px) {
	.tb-geo-switcher {
		align-items: flex-start;
		flex-direction: column;
	}

	/* Triggers are left-aligned on mobile, so anchor menus to the LEFT edge of
	   the trigger (not right:0, which pushes a 200px menu off-screen left). */
	.tb-geo-dd__menu {
		left: 0;
		max-width: calc(100vw - 2rem);
		right: auto;
	}

	.tb-geo-suggestion-root {
		bottom: 0.75rem;
		max-width: calc(100% - 1rem);
		width: calc(100% - 1rem);
	}

	.tb-geo-banner {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.tb-geo-banner__text {
		flex: 1 1 100%;
	}

	.tb-country-modal__panel {
		padding: 1.25rem;
	}
}
