/**
 * Eventin Sticky Ticket Button CSS
 */

:root {
	--estb-btn-bg: #ff385c;
	--estb-btn-text: #ffffff;
	--estb-bar-bg: #ffffff;
	--estb-bar-text: #111111;
}

.estb-sticky-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 99999;
	background-color: var(--estb-bar-bg);
	color: var(--estb-bar-text);
	box-shadow: 0 -4px 25px rgba(0, 0, 0, 0.1);
	border-top: 1px solid rgba(0, 0, 0, 0.05);
	transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
	transform: translateY(0);
	opacity: 1;
	font-family: inherit;
	box-sizing: border-box;
}

.estb-sticky-bar.estb-hidden {
	transform: translateY(100%);
	opacity: 0;
	pointer-events: none;
}

.estb-sticky-bar-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 14px 24px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-sizing: border-box;
}

/* Left Column: Price Styling */
.estb-price-wrapper {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.estb-price-amount {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--estb-bar-text);
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.estb-price-amount .woocommerce-Price-amount,
.estb-price-amount bdi {
	color: var(--estb-bar-text);
	font-weight: 800;
}

.estb-price-subtext {
	font-size: 0.78rem;
	font-weight: 500;
	color: var(--estb-bar-text);
	opacity: 0.7;
	margin-top: 2px;
}

/* Right Column: CTA Button Styling */
.estb-button-wrapper {
	display: flex;
	align-items: center;
}

.estb-ticket-btn {
	background-color: var(--estb-btn-bg);
	color: var(--estb-btn-text);
	border: none;
	outline: none;
	padding: 12px 28px;
	font-size: 0.95rem;
	font-weight: 700;
	border-radius: 8px;
	cursor: pointer;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
	transition: all 0.25s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
}

.estb-ticket-btn:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
	filter: brightness(1.06);
}

.estb-ticket-btn:active {
	transform: translateY(0);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
	.estb-sticky-bar-container {
		padding: 10px 16px;
	}

	.estb-price-amount {
		font-size: 1.15rem;
	}

	.estb-price-subtext {
		font-size: 0.72rem;
	}

	.estb-ticket-btn {
		padding: 10px 20px;
		font-size: 0.85rem;
	}
}
