.ssm-frontend-map {
	margin: 20px 0 30px;
	max-width: 900px;
}
.ssm-instructions {
	font-size: 0.95em;
	color: #555;
	margin-bottom: 10px;
}
.ssm-stage-fe {
	position: relative;
	display: inline-block;
	width: 100%;
	line-height: 0;
	background: #fafafa;
	border-radius: 8px;
	overflow: visible;
}
.ssm-base-img-fe {
	width: 100%;
	height: auto;
	display: block;
	border-radius: 8px;
	user-select: none;
	-webkit-user-drag: none;
}
.ssm-svg-fe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.ssm-sector-fe {
	fill-opacity: 0.16;
	stroke-width: 2.5;
	stroke-opacity: 0.85;
	cursor: pointer;
	transition: fill-opacity 0.15s ease, stroke-width 0.15s ease;
}
.ssm-sector-fe:hover,
.ssm-sector-fe.ssm-active {
	fill-opacity: 0.42;
	stroke-width: 3.5;
}
.ssm-sector-label-fe {
	pointer-events: none;
	font-weight: 700;
	text-anchor: middle;
	fill: #1d2327;
	paint-order: stroke;
	stroke: #fff;
	stroke-width: 3px;
}

.ssm-bubble {
	position: absolute;
	z-index: 20;
	width: 280px;
	background: #fff;
	border-radius: 10px;
	box-shadow: 0 8px 28px rgba( 0, 0, 0, 0.22 );
	overflow: hidden;
	transform: scale( 0.85 );
	opacity: 0;
	transition: transform 0.18s ease, opacity 0.18s ease;
	pointer-events: none;
}
.ssm-bubble.ssm-visible {
	transform: scale( 1 );
	opacity: 1;
	pointer-events: auto;
}
.ssm-bubble-img-wrap {
	width: 100%;
	height: 130px;
	overflow: hidden;
	background: #eee;
}
.ssm-bubble-img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ssm-bubble-info {
	padding: 12px 14px 14px;
}
.ssm-bubble-top-row {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 12px;
}
.ssm-bubble-text {
	min-width: 0;
}
.ssm-bubble-label {
	margin: 0 0 4px;
	font-size: 16px;
	font-weight: 700;
	color: #1d2327;
}
.ssm-bubble-price {
	margin: 0;
	font-weight: 600;
	font-size: 14px;
}
.ssm-availability-badge {
	flex: 0 0 auto;
	border: 2px solid #1d2327;
	border-radius: 6px;
	padding: 4px 8px;
	font-size: 11px;
	font-weight: 700;
	text-align: center;
	line-height: 1.3;
	white-space: nowrap;
}
.ssm-qty-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 12px;
}
.ssm-qty-label {
	font-size: 13px;
	font-weight: 600;
	color: #1d2327;
}
.ssm-qty-stepper {
	display: flex;
	align-items: center;
	border: 1px solid #dcdcde;
	border-radius: 6px;
	overflow: hidden;
	flex: 0 0 auto;
}
.ssm-qty-stepper button {
	width: 30px;
	height: 30px;
	border: none;
	background-color: #f6f7f7;
	color: #1d2327;
	font-size: 16px;
	line-height: 1;
	cursor: pointer;
	box-shadow: none;
	appearance: none;
	-webkit-appearance: none;
}
.ssm-qty-stepper button:hover,
.ssm-qty-stepper button:focus,
.ssm-qty-stepper button:focus-visible,
.ssm-qty-stepper button:active {
	background-color: #e2e4e7 !important;
	color: #1d2327 !important;
	border-color: transparent !important;
	outline: none;
	box-shadow: inset 0 0 0 2px #c3c4c7;
}
.ssm-qty-input {
	width: 40px;
	height: 30px;
	border: none;
	border-left: 1px solid #dcdcde;
	border-right: 1px solid #dcdcde;
	text-align: center;
	font-size: 14px;
	color: #1d2327;
	background-color: #fff;
	-moz-appearance: textfield;
}
.ssm-qty-input:focus,
.ssm-qty-input:focus-visible {
	outline: none;
	box-shadow: inset 0 0 0 2px #c3c4c7;
	border-color: #dcdcde;
}
.ssm-qty-input::-webkit-outer-spin-button,
.ssm-qty-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.ssm-grouping-warning {
	margin: 0 0 12px;
	padding: 8px 10px;
	background: #fcf3e3;
	border: 1px solid #f0c33c;
	border-radius: 6px;
	font-size: 12.5px;
	line-height: 1.5;
	color: #6b5108;
}

.ssm-bubble .ssm-reserve-btn {
	display: block;
	width: 100%;
	text-align: center;
	cursor: pointer;
	background: #46b450;
	border-color: #3a9d43;
	color: #fff;
	font-weight: 700;
	text-transform: none;
	padding: 10px 12px;
	border-radius: 6px;
}
.ssm-bubble .ssm-reserve-btn:hover {
	background: #3a9d43;
}
.ssm-bubble .ssm-reserve-btn:disabled {
	opacity: 0.7;
	cursor: default;
}
.ssm-bubble-close {
	position: absolute;
	top: 6px;
	right: 6px;
	background: rgba( 0, 0, 0, 0.55 );
	color: #fff;
	border: none;
	border-radius: 50%;
	width: 24px;
	height: 24px;
	line-height: 22px;
	font-size: 16px;
	cursor: pointer;
	z-index: 2;
}

/* --- Sold-out: inline message + link button, no popup --- */
.ssm-soldout-block {
	text-align: left;
}
.ssm-soldout-message {
	margin: 0 0 10px;
	font-size: 13px;
	line-height: 1.5;
	color: #50575e;
}
.ssm-bubble .ssm-soldout-btn {
	display: block;
	width: 100%;
	text-align: center;
	cursor: pointer;
	background: #1d2327;
	border-color: #1d2327;
	color: #fff;
	font-weight: 700;
	text-transform: none;
	padding: 10px 12px;
	border-radius: 6px;
	text-decoration: none;
}
.ssm-bubble .ssm-soldout-btn:hover {
	background: #32373c;
	color: #fff;
}
.ssm-soldout-error {
	margin: 8px 0 0;
	font-size: 12px;
	color: #d63638;
	text-align: center;
}

@media ( max-width: 600px ) {
	.ssm-bubble {
		width: 230px;
	}
	.ssm-bubble-img-wrap {
		height: 100px;
	}
}
