/* ============================================================
 * WooCommerce Geo Product Filter – Frontend Styles
 * ============================================================ */

/* ---------- Location Banner ---------- */
.woo-geo-banner {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	color: #fff;
	padding: 14px 20px;
	margin-bottom: 20px;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
	animation: wooGeoSlideDown 0.35s ease-out;
}

.woo-geo-banner__inner {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
	max-width: 1200px;
	margin: 0 auto;
}

.woo-geo-banner__flag {
	font-size: 1.5em;
	line-height: 1;
}

.woo-geo-banner__text {
	flex: 1 1 auto;
	font-size: 0.95em;
}

.woo-geo-banner__text strong {
	font-weight: 700;
}

.woo-geo-banner__select {
	padding: 6px 30px 6px 12px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.18);
	color: #fff;
	font-size: 0.88em;
	cursor: pointer;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%23fff'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 10px center;
	transition: border-color 0.2s, background 0.2s;
}

.woo-geo-banner__select:hover,
.woo-geo-banner__select:focus {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.3);
	outline: none;
}

.woo-geo-banner__select option {
	color: #333;
	background: #fff;
}

.woo-geo-banner__reset {
	padding: 6px 14px;
	border: 2px solid rgba(255, 255, 255, 0.4);
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.12);
	color: #fff;
	font-size: 0.85em;
	cursor: pointer;
	transition: border-color 0.2s, background 0.2s;
}

.woo-geo-banner__reset:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, 0.25);
}

/* ---------- Product Badge ---------- */
.woo-geo-product-badge {
	display: inline-block;
	background: #f0f0f1;
	color: #555;
	font-size: 0.82em;
	padding: 4px 12px;
	border-radius: 20px;
	margin-bottom: 14px;
}

/* ---------- Slide-in Animation ---------- */
@keyframes wooGeoSlideDown {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
	.woo-geo-banner__inner {
		flex-direction: column;
		align-items: flex-start;
	}

	.woo-geo-banner__select,
	.woo-geo-banner__reset {
		width: 100%;
	}
}
