.ts-tickets {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: 100%;
	gap: 12px;
	background: #fff;
	border: 1px solid #f2f2f2;
	border-radius: 12px;
	padding: 16px;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
	position: relative;
}

.ts-tickets--compact {
	gap: 8px;
	padding: 12px;
	border-radius: 10px;
}

.ts-tickets--compact .ts-tickets-title {
	font-size: 16px;
}

.ts-tickets--compact .ts-tickets-quantity {
	gap: 4px;
}

.ts-tickets--compact .ts-tickets-btn {
	width: 30px;
	height: 30px;
	font-size: 16px;
}

.ts-tickets--compact .ts-tickets-input {
	width: 56px;
	height: 30px;
	font-size: 14px;
}

.ts-tickets--compact .ts-tickets-slider {
	height: 6px;
}

.ts-tickets--compact .ts-tickets-button {
	height: 42px;
	font-size: 15px;
}

.ts-tickets-title {
	font-size: 18px;
	font-weight: 600;
	color: #111;
}

.ts-tickets-summary {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 6px;
	font-size: 16px;
	font-weight: 600;
	color: #111;
}

.ts-tickets-summary-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ts-tickets-summary--column {
	flex-direction: column;
	align-items: flex-start;
}

.ts-tickets-quantity {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ts-tickets-slider-row {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
}

.ts-tickets-slider-row .ts-tickets-slider {
	flex: 1 1 auto;
	width: auto;
}

.ts-tickets-btn {
	width: 36px;
	height: 36px;
	border-radius: 8px;
	border: 1px solid #e0e0e0;
	background: #fff;
	font-size: 18px;
	font-weight: 600;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
}

.ts-tickets-btn:hover {
	border-color: #ff5f01;
	color: #ff5f01;
}

.ts-tickets-input {
	width: 70px;
	height: 36px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	text-align: center;
	font-size: 16px;
}

.ts-tickets-slider {
	width: 100%;
	--ts-slider-fill: #ff5f01;
	--ts-slider-percent: 0%;
	height: 8px;
	border-radius: 6px;
	appearance: none;
	background: linear-gradient(to right, var(--ts-slider-fill) 0%, var(--ts-slider-fill) var(--ts-slider-percent), #f2f2f2 var(--ts-slider-percent), #f2f2f2 100%);
	outline: none;
}

.ts-tickets-slider::-webkit-slider-thumb {
	appearance: none;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ts-slider-fill);
	border: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.ts-tickets-slider::-moz-range-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ts-slider-fill);
	border: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.ts-tickets-slider::-ms-thumb {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ts-slider-fill);
	border: none;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
	cursor: pointer;
}

.ts-tickets--thumb-sphere .ts-tickets-slider::-webkit-slider-thumb {
	background: radial-gradient(circle at 30% 30%, #ffffff 0%, var(--ts-slider-fill) 55%, color-mix(in srgb, var(--ts-slider-fill) 70%, #000000) 100%);
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), inset 0 -2px 4px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ts-tickets--thumb-sphere .ts-tickets-slider::-moz-range-thumb {
	background: radial-gradient(circle at 30% 30%, #ffffff 0%, var(--ts-slider-fill) 55%, color-mix(in srgb, var(--ts-slider-fill) 70%, #000000) 100%);
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), inset 0 -2px 4px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ts-tickets--thumb-sphere .ts-tickets-slider::-ms-thumb {
	background: radial-gradient(circle at 30% 30%, #ffffff 0%, var(--ts-slider-fill) 55%, color-mix(in srgb, var(--ts-slider-fill) 70%, #000000) 100%);
	box-shadow: inset 0 1px 2px rgba(255, 255, 255, 0.6), inset 0 -2px 4px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ts-tickets-max {
	font-size: 14px;
	color: #717171;
}

.ts-tickets-question {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
}

.ts-tickets-question-label {
	font-size: 14px;
	color: #111;
	font-weight: 600;
}

.ts-tickets-question-select {
	height: 40px;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 0 10px;
	font-size: 14px;
}

.ts-tickets-button {
	width: 100%;
	height: 48px;
	border-radius: 10px;
	border: none;
	background: #ff5f01;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: transform 0.15s ease, box-shadow 0.15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.ts-tickets-actions {
	display: flex;
	flex-direction: column;
	gap: 10px;
	width: 100%;
	flex-wrap: wrap;
}

.ts-tickets-button--secondary {
	background: #ffffff;
	color: #111;
	border: 1px solid #e0e0e0;
}

.ts-tickets-button:active {
	transform: translateY(1px);
}

.ts-tickets-button:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.ts-attn--shimmer {
	overflow: hidden;
}

.ts-attn--shimmer::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(120deg, transparent 0%, var(--ts-attn-shimmer-color, #ffffff) 40%, transparent 70%);
	animation: ts-tickets-shimmer var(--ts-attn-shimmer-speed, 2s) linear infinite;
	pointer-events: none;
	opacity: calc(var(--ts-attn-shimmer-opacity, 30) * 0.01);
}

.ts-attn--pulse {
	animation: ts-tickets-pulse 2s ease-in-out infinite;
}

.ts-attn--glow {
	animation: ts-tickets-glow var(--ts-attn-glow-speed, 2.4s) ease-in-out infinite;
}

.ts-attn--float {
	animation: ts-tickets-float var(--ts-attn-float-speed, 2.4s) ease-in-out infinite;
}

@keyframes ts-tickets-shimmer {
	0% { transform: translateX(-100%); }
	100% { transform: translateX(100%); }
}

@keyframes ts-tickets-pulse {
	0% { transform: scale(1); box-shadow: 0 0 0 0 color-mix(in srgb, var(--ts-attn-pulse-color, #ff5f01) 12%, transparent); }
	50% { transform: scale(var(--ts-attn-pulse-scale, 1.01)); box-shadow: 0 0 0 var(--ts-attn-pulse-size, 12px) transparent; }
	100% { transform: scale(1); box-shadow: 0 0 0 0 transparent; }
}

@keyframes ts-tickets-glow {
	0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ts-attn-glow-color, #ff5f01) calc(var(--ts-attn-glow-opacity, 35) * 1%), transparent); }
	50% { box-shadow: 0 0 0 var(--ts-attn-glow-size, 18px) color-mix(in srgb, var(--ts-attn-glow-color, #ff5f01) calc(var(--ts-attn-glow-opacity, 35) * 1%), transparent); }
	100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--ts-attn-glow-color, #ff5f01) 0%, transparent); }
}

@keyframes ts-tickets-float {
	0% { transform: translateY(0); }
	50% { transform: translateY(calc(var(--ts-attn-float-distance, 4px) * -1)); }
	100% { transform: translateY(0); }
}
