/**
 * Store Sync Hub — frontend styles.
 * Country switcher + pickup branch selector. Plain, functional, matches
 * the site's existing form conventions rather than inventing a new visual
 * language for two small widgets.
 */

.swsh-country-switcher {
	position: relative;
	display: inline-block;
}

.swsh-country-switcher__trigger {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: none;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	padding: 6px 12px;
	font-size: 14px;
	cursor: pointer;
}

.swsh-country-switcher__trigger:hover {
	border-color: #b0b0b0;
}

.swsh-country-switcher__menu {
	position: absolute;
	top: calc(100% + 6px);
	right: 0;
	min-width: 180px;
	background: #fff;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
	padding: 4px;
	z-index: 50;
	display: none;
}

.swsh-country-switcher.is-open .swsh-country-switcher__menu {
	display: block;
}

.swsh-country-switcher__item {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: none;
	padding: 8px 10px;
	border-radius: 6px;
	font-size: 14px;
	cursor: pointer;
}

.swsh-country-switcher__item:hover {
	background: #f5f5f5;
}

.swsh-country-switcher__item.is-active {
	color: #4a3800;
	font-weight: 600;
	background: #fff8e6;
}

.swsh-pickup-branch {
	margin: 16px 0;
	padding: 12px 14px;
	border: 1px solid #d0d0d0;
	border-radius: 8px;
	background: #fafafa;
}

.swsh-pickup-branch--single {
	font-size: 14px;
}

.swsh-pickup-branch--multi label {
	display: block;
	margin-bottom: 6px;
}

.swsh-pickup-branch select {
	width: 100%;
	max-width: 420px;
	padding: 8px 10px;
	border-radius: 8px;
	border: 1px solid #d0d0d0;
}
