/* ==========================================================================
   Event Detail - Fixed Bottom CTA (SP only)
   Figma: Footer Bar (node 1:6451)
   ========================================================================== */

.event-fixed-cta {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	width: 100%;
	display: none;
	z-index: 9000;
	box-sizing: border-box;
	background: #ffffff;
	box-shadow: 0px -2px 12px 0px rgba(0, 0, 0, 0.1);
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

.event-fixed-cta__shadow {
	width: 100%;
	height: 1px;
	background: linear-gradient(270deg, rgba(0, 0, 0, 0.13) 0%, rgba(0, 0, 0, 0) 100%);
}

.event-fixed-cta__bar {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 8px;
	padding: 0 12px;
	padding-bottom: constant(safe-area-inset-bottom);
	padding-bottom: env(safe-area-inset-bottom, 0px);
	width: 100%;
	min-height: 64px;
	height: calc(64px + constant(safe-area-inset-bottom));
	height: calc(64px + env(safe-area-inset-bottom, 0px));
	background: #ffffff;
	box-sizing: border-box;
}

.event-fixed-cta__bar--single .event-fixed-cta__btn--call,
.event-fixed-cta__bar--single .event-fixed-cta__btn--reserve {
	flex: 1;
	width: auto;
	max-width: 100%;
}

.event-fixed-cta__btn {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 6px;
	height: 48px;
	border-radius: 4px;
	text-decoration: none;
	box-sizing: border-box;
	cursor: pointer;
	-webkit-tap-highlight-color: transparent;
	transition: opacity 0.2s ease;
}

.event-fixed-cta__btn:active {
	opacity: 0.88;
}

.event-fixed-cta__btn--call {
	width: 156px;
	flex-shrink: 0;
	background: #2E3033;
	color: #ffffff;
}

.event-fixed-cta__btn--reserve {
	flex: 1;
	min-width: 0;
	background: #EA888F;
	color: #ffffff;
}

.event-fixed-cta__btn-icon {
	width: 16px;
	height: 16px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.event-fixed-cta__btn-icon svg {
	display: block;
	width: 16px;
	height: 16px;
}

.event-fixed-cta__btn-label {
	font-family: 'Inter', 'Noto Sans JP', 'Hiragino Sans', sans-serif;
	font-weight: 600;
	font-size: 14px;
	line-height: 1.2;
	color: #ffffff;
	white-space: nowrap;
}

@media screen and (max-width: 760px) {
	.event-fixed-cta {
		display: block;
	}

	body.has-event-fixed-cta {
		padding-bottom: calc(64px + constant(safe-area-inset-bottom));
		padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
	}
}

@media (prefers-reduced-motion: reduce) {
	.event-fixed-cta__btn {
		transition: none;
	}
}
