/* Choose Your Location — mirrors header.scss handoff styles; safe without gulp rebuild */

.o-header__location-picker {
	position: relative;
	display: inline-flex;
	align-items: center;
	margin-right: auto;
	font-family: bliss-pro-regular, sans-serif;
	user-select: none;
}

.o-header__location-picker-trigger {
	display: inline-flex;
	align-items: center;
	gap: 11px;
	margin: 0;
	padding: 6px 0;
	border: 0;
	background: transparent;
	color: #ffffff;
	cursor: pointer;
	font-family: bliss-pro-regular, sans-serif;
}

.o-header__location-picker-trigger-flag {
	width: 30px;
	height: 20px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 3px;
	transition: transform 0.2s ease;
}

.o-header__location-picker-trigger:hover .o-header__location-picker-trigger-flag {
	transform: scale(1.07);
}

.o-header__location-picker-trigger-icon {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.o-header__location-picker-trigger-label {
	color: #ffffff;
	font-size: 15px;
	font-weight: 500;
	letter-spacing: 0.02em;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.o-header__location-picker-trigger-affordance {
	display: flex;
	width: 13px;
	height: 13px;
	flex: 0 0 auto;
}

.o-header__location-picker-trigger-affordance svg {
	width: 100%;
	height: 100%;
	display: block;
	stroke: rgba(255, 255, 255, 0.6);
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.o-header__location-picker-panel {
	position: absolute;
	top: calc(100% + 10px);
	left: -8px;
	z-index: 999;
	width: fit-content;
	min-width: 0;
	max-width: min(360px, calc(100vw - 32px));
	padding: 16px 18px 14px;
	border-radius: 20px;
	background: #ffffff;
	box-shadow:
		8px 16px 40px rgba(29, 31, 48, 0.28),
		0 2px 8px rgba(0, 0, 0, 0.10);
	font-family: bliss-pro-regular, sans-serif;
}

.o-header__location-picker-panel[hidden] {
	display: none;
}

.o-header__location-picker-flag-wrap {
	width: 28px;
	height: 19px;
	flex-shrink: 0;
	overflow: hidden;
	border-radius: 3px;
	transition: transform 0.15s ease;
}

.o-header__location-picker-flag-wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.o-header__location-picker-current {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 4px 10px 11px;
	margin: 0 -10px 4px;
	border-bottom: 1px solid #eaeaef;
}

.o-header__location-picker-current-text {
	display: flex;
	flex-direction: column;
	gap: 1px;
	min-width: 0;
}

.o-header__location-picker-status {
	font-family: bliss-pro-bold, sans-serif;
	font-size: 8px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #00b5e2;
	line-height: 1;
}

.o-header__location-picker-name {
	font-size: 15px;
	font-weight: 700;
	color: #353649;
	white-space: nowrap;
	line-height: 1.25;
}

.o-header__location-picker-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.o-header__location-picker-option {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 11px 10px;
	margin: 0 -10px;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
	transition: background 0.15s ease;
}

.o-header__location-picker-list li + li .o-header__location-picker-option {
	border-top: 1px solid #f0f0f5;
	border-radius: 0 0 12px 12px;
}

.o-header__location-picker-list li:first-child .o-header__location-picker-option {
	border-radius: 12px 12px 0 0;
}

.o-header__location-picker-option:hover {
	background: #f0fafd;
}

.o-header__location-picker-option:hover .o-header__location-picker-option-name {
	color: #00b5e2;
}

.o-header__location-picker-option:hover .o-header__location-picker-flag-wrap {
	transform: scale(1.08);
}

.o-header__location-picker-option:hover .o-header__location-picker-option-arrow {
	opacity: 1;
	transform: translateX(0);
}

.o-header__location-picker-option-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	flex: 1;
	min-width: 0;
}

.o-header__location-picker-option-name {
	font-size: 15px;
	font-weight: 600;
	color: #353649;
	white-space: nowrap;
	transition: color 0.15s ease;
}

.o-header__location-picker-option-sub {
	font-size: 11px;
	color: #a0a2b4;
	text-decoration: none;
}

.o-header__location-picker-option-arrow {
	display: none; /* temporarily hidden */
	flex-shrink: 0;
	width: 22px;
	height: 22px;
	background: #00b5e2;
	border-radius: 50%;
	align-items: center;
	justify-content: center;
	color: #ffffff;
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.o-header__location-picker-option-arrow svg {
	display: block;
	width: 12px;
	height: 12px;
}
