/* Map tooltip styles - shared between map and register_shop pages */

.leaflet-popup-content-wrapper {
	width: 210px;
}

.leaflet-popup-content h3 {
	margin-top: 0;
	margin-bottom: 0.5rem;
	font-size: 1.1rem;
}

.toggle-icon {
	display: inline-block;
	transition: transform 0.3s ease;
}

.toggle-icon.collapsed {
	transform: rotate(-90deg);
}

.hours-content {
	overflow: hidden;
	transition: max-height 0.3s ease, opacity 0.3s ease;
	max-height: 500px;
	opacity: 1;
}

.hours-content.collapsed {
	max-height: 0;
	opacity: 0;
}

.shop-pin-wrap {
	background: none !important;
	border: none !important;
}

.shop-pin {
	position: relative;
	width: 36px;
	height: 36px;
	margin: 0 auto;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--pin, #0f766e);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.28);
	display: flex;
	align-items: center;
	justify-content: center;
}

.shop-pin-emoji {
	font-size: 18px;
	line-height: 1;
}

.shop-pin-tail {
	position: absolute;
	left: 50%;
	bottom: -7px;
	width: 10px;
	height: 10px;
	background: #fff;
	border-right: 3px solid var(--pin, #0f766e);
	border-bottom: 3px solid var(--pin, #0f766e);
	transform: translateX(-50%) rotate(45deg);
}

.shop-pin-car {
	position: relative;
	width: 78px;
	height: 42px;
	filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.28));
}

.shop-pin-car-svg {
	display: block;
	width: 78px;
	height: 42px;
}

.shop-pin-car .shop-pin-emoji {
	position: absolute;
	left: 36px;
	top: 11px;
	font-size: 13px;
}

.shop-pin-wrap.shop-pin-fading {
	transition: opacity 0.9s ease;
	opacity: 0;
	pointer-events: none;
}

.shop-type-filter {
	position: fixed;
	z-index: 1000;
	top: 0.75rem;
	left: 50%;
	transform: translateX(-50%);
	width: max-content;
	max-width: calc(100vw - 5.5rem);
	background: rgba(255, 255, 255, 0.96);
	border-radius: 12px;
	padding: 0.5rem 0.6rem 0.6rem;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	text-align: left;
}

.shop-type-filter-title {
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #6b7280;
	margin-bottom: 0.35rem;
}

.shop-type-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
}

.shop-type-filter button.shop-type-chip {
	margin: 0;
	border: 2px solid transparent;
	border-radius: 999px;
	padding: 0.35rem 0.7rem;
	font: 600 0.85rem/1.2 Calibri, sans-serif;
	background: #f3f4f6;
	color: #6b7280;
	cursor: pointer;
	opacity: 0.72;
}

.shop-type-filter button.shop-type-chip.is-on {
	opacity: 1;
	background: #fff;
	color: #111827;
	border-color: var(--pin, #0f766e);
}
