/**
 * GeoPricing Pro Frontend Styles
 */

.geopricing-switcher-container {
	display: inline-block;
	position: relative;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	color: #1e293b;
}

/* Dropdown Layout */
.geopricing-dropdown-wrapper {
	position: relative;
	display: inline-block;
}

.geopricing-dropdown-trigger {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: #ffffff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	padding: 6px 12px;
	font-size: 13px;
	font-weight: 500;
	color: #0f172a;
	cursor: pointer;
	transition: all 0.2s ease;
	outline: none;
}

.geopricing-dropdown-trigger:hover {
	border-color: #2563eb;
	background: #f8fafc;
}

.geopricing-flag {
	font-size: 16px;
	line-height: 1;
}

.geopricing-chevron {
	transition: transform 0.2s ease;
}

.geopricing-dropdown-wrapper.is-open .geopricing-chevron {
	transform: rotate(180deg);
}

.geopricing-dropdown-menu {
	display: none;
	position: absolute;
	top: 100%;
	right: 0;
	margin-top: 6px;
	min-width: 180px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
	padding: 6px;
	z-index: 99999;
}

.geopricing-dropdown-wrapper.is-open .geopricing-dropdown-menu {
	display: block;
}

.geopricing-dropdown-item {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 8px 10px;
	border-radius: 6px;
	color: #334155;
	text-decoration: none;
	font-size: 13px;
	transition: background 0.15s ease;
}

.geopricing-dropdown-item:hover {
	background: #f1f5f9;
	color: #2563eb;
}

.geopricing-dropdown-item.is-active {
	background: #eff6ff;
	color: #2563eb;
	font-weight: 600;
}

.geopricing-check {
	margin-left: auto;
	color: #2563eb;
	font-size: 12px;
}

/* Pill / Inline Layout */
.geopricing-inline-list {
	display: inline-flex;
	gap: 6px;
	background: #f1f5f9;
	padding: 4px;
	border-radius: 9999px;
}

.geopricing-pill-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: transparent;
	border: none;
	padding: 4px 10px;
	border-radius: 9999px;
	font-size: 12px;
	font-weight: 500;
	color: #64748b;
	cursor: pointer;
	transition: all 0.2s ease;
}

.geopricing-pill-btn:hover {
	color: #0f172a;
}

.geopricing-pill-btn.is-active {
	background: #ffffff;
	color: #2563eb;
	font-weight: 600;
	box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Cart & Checkout Notices */
.geopricing-checkout-notice {
	animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(4px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Variable Product "Starting from" Prefix */
.geopricing-from-prefix {
	font-weight: 500;
	font-size: 0.9em;
	opacity: 0.85;
	margin-inline-end: 4px;
	display: inline-block;
}
