/* Orderable Simple Store Picker - front-end styles */

.ossp-picker {
	border: 1px solid #e4e4e4;
	border-radius: 10px;
	overflow: hidden;
	background: #fff;
	max-width: 480px;
}

.ossp-picker__option {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	width: 100%;
	padding: 16px 18px;
	border: none;
	border-bottom: 1px solid #ececec;
	background: #fff;
	cursor: pointer;
	text-align: left;
	font-family: inherit;
	font-size: 15px;
	color: #1e1e1e;
	transition: background-color 0.15s ease;
}

.ossp-picker__option:last-child {
	border-bottom: none;
}

.ossp-picker__option:hover {
	background-color: #fafafa;
}

.ossp-picker__option:focus-visible {
	outline: 2px solid #2271b1;
	outline-offset: -2px;
}

.ossp-picker__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.ossp-picker__name {
	font-weight: 600;
}

.ossp-picker__address {
	font-size: 13px;
	color: #6b6b6b;
}

.ossp-picker__check {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #1e1e1e;
	opacity: 0;
	transform: scale(0.7);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

.ossp-picker__option--selected .ossp-picker__check {
	opacity: 1;
	transform: scale(1);
}

.ossp-picker__option--selected {
	background-color: #f5f9fd;
}

.ossp-picker__option.is-loading {
	opacity: 0.6;
	cursor: wait;
	pointer-events: none;
}
