/* Science Ticket Tabs - Front End Styles */

.stt-wrapper {
	--stt-orange: #f5821f;
	--stt-orange-dark: #e06d0a;
	--stt-text: #1f2430;
	--stt-muted: #6b7280;
	--stt-border: #ececf2;
	--stt-img-bg: #f3f2fb;
	--stt-success: #1a9e5c;
	--stt-error: #d3352f;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
	box-sizing: border-box;
}

.stt-wrapper *,
.stt-wrapper *::before,
.stt-wrapper *::after {
	box-sizing: border-box;
}

.stt-heading {
	font-size: 26px;
	font-weight: 800;
	color: var(--stt-text);
	margin: 0 0 20px;
	text-align: left;
}

.stt-error {
	padding: 16px;
	background: #fff4f4;
	border: 1px solid #ffd6d6;
	color: #b42318;
	border-radius: 8px;
}
.stt-date-tabs-wrapper{
    display:none !important;
}

.stt-date-tabs-wrapper.active{
    display:block !important;
}
/* ===================== Week Tabs (Level 1) ===================== */
.stt-week-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 20px;
}

.stt-week-btn {
	background: #ffffff;
	color: var(--stt-text);
	border: 2px solid var(--stt-border);
	border-radius: 10px;
	padding: 11px 26px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.stt-week-btn:hover {
	border-color: var(--stt-orange);
	color: var(--stt-orange-dark);
	transform: translateY(-1px);
}

.stt-week-btn.active {
	background: var(--stt-orange);
	color: #ffffff;
	border-color: var(--stt-orange);
	box-shadow: 0 8px 16px rgba(245, 130, 31, 0.28);
}

.stt-week-btn:focus-visible,
.stt-date-btn:focus-visible {
	outline: 2px solid var(--stt-orange-dark);
	outline-offset: 2px;
}

/* ===================== Date Tabs (Level 2) ===================== */
.stt-date-tabs-wrapper {
	margin-bottom: 26px;
}

.stt-date-tabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	-webkit-overflow-scrolling: auto;
	scrollbar-width: thin;
	padding-bottom: 6px;
}

.stt-date-btn {
	flex: 0 0 auto;
	background: #f4f5f7;
	color: var(--stt-text);
	border: 1px solid var(--stt-border);
	border-radius: 999px;
	padding: 9px 18px;
	font-size: 13.5px;
	font-weight: 600;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
}

.stt-date-btn:hover {
	background: #ffe3cc;
	color: var(--stt-orange-dark);
	transform: translateY(-1px);
}

.stt-date-btn.active {
	background: var(--stt-text);
	color: #ffffff;
	border-color: var(--stt-text);
	box-shadow: 0 6px 14px rgba(31, 36, 48, 0.22);
}

/* ===================== Tab Panels ===================== */

.stt-tabs-content {
	display: flow-root;
}

.stt-tab-panel {
	display: none;
	width: 100%;
	animation: stt-fade-in 0.3s ease;
}

.stt-tab-panel.active {
	display: block;
}

@keyframes stt-fade-in {
	from {
		opacity: 0;
		transform: translateY(6px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* ===================== Cards Grid ===================== */
.stt-cards-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.stt-card {
	background: #ffffff;
	border: none;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: none;
	transition: transform 0.25s ease;
	display: flex;
	flex-direction: column;
}

.stt-card:hover {
	transform: translateY(-4px);
	box-shadow: none;
}

.stt-card-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--stt-img-bg);
	display: flex;
	align-items: center;
	justify-content: center;
}

.stt-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.4s ease;
}

.stt-card:hover .stt-card-image img {
	transform: scale(1.06);
}

.stt-card-body {
	padding: 14px 0 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.stt-card-title {
	margin: 0;
	font-size: 15px;
	font-weight: 700;
	color: var(--stt-text);
	line-height: 1.3;
}

.stt-card-price {
	font-size: 14px;
	font-weight: 400;
	color: var(--stt-muted);
	margin-bottom: 10px;
}

.stt-card-price del {
	color: var(--stt-muted);
	font-weight: 400;
	font-size: 14px;
	margin-right: 6px;
	opacity: 0.7;
}

.stt-card-price ins {
	text-decoration: none;
}

.stt-book-now-btn {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: auto;
	background: var(--stt-orange);
	color: #ffffff;
	border: none;
	border-radius: 4px;
	padding: 9px 20px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.2px;
	cursor: pointer;
	transition: background 0.2s ease;
	box-shadow: none;
}

.stt-book-now-btn:hover:not(:disabled):not(.stt-added) {
	background: var(--stt-orange-dark);
	transform: none;
	box-shadow: none;
}

.stt-book-now-btn:active:not(:disabled):not(.stt-added) {
	transform: translateY(0);
}

.stt-book-now-btn:disabled,
.stt-book-now-btn.stt-disabled {
	background: #cfd3da;
	color: #6b7280;
	cursor: not-allowed;
	box-shadow: none;
}

.stt-book-now-btn.stt-loading {
	opacity: 0.85;
	pointer-events: none;
}

.stt-book-now-btn.stt-added {
	background: #9ca3af;
	color: #ffffff;
	cursor: not-allowed;
	box-shadow: none;
	transform: none;
}

/* ===================== Toast Notification ===================== */
.stt-toast {
	position: fixed;
	bottom: 26px;
	right: 26px;
	left: auto;
	background: var(--stt-success);
	color: #ffffff;
	padding: 15px 22px;
	border-radius: 10px;
	font-size: 14.5px;
	font-weight: 700;
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
	z-index: 99999;
	opacity: 0;
	transform: translateY(16px) scale(0.98);
	transition: opacity 0.3s ease, transform 0.3s ease;
	pointer-events: none;
	max-width: 340px;
}

.stt-toast.stt-toast-success {
	background: var(--stt-success);
}

.stt-toast.stt-toast-error {
	background: var(--stt-error);
}

.stt-toast.stt-show {
	opacity: 1;
	transform: translateY(0) scale(1);
}

.stt-toast.stt-hide {
	opacity: 0;
	transform: translateY(10px) scale(0.98);
}

/* ===================== Responsive Grid ===================== */
@media (max-width: 992px) {
	.stt-cards-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}
}
@media (max-width: 600px) {
	.stt-cards-grid {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.stt-heading {
		font-size: 22px;
	}

	.stt-week-btn {
		padding: 9px 20px;
		font-size: 14px;
	}

	.stt-date-tabs {
		flex-wrap: nowrap;
	}

	.stt-date-btn {
		padding: 8px 14px;
		font-size: 13px;
	}

	.stt-card-title {
		font-size: 16px;
	}

	.stt-toast {
		left: 16px;
		right: 16px;
		bottom: 16px;
		max-width: none;
		text-align: center;
	}
}