.lilac-aha-step {
	padding: 32px 0;
}

.lilac-aha-step__header {
	text-align: center;
	max-width: 640px;
	margin: 0 auto 32px;
}

.lilac-aha-step__heading {
	margin: 0 0 12px;
}

.lilac-aha-step__heading-highlight {
	color: #b08d57;
	border-bottom: 2px solid #b08d57;
}

.lilac-aha-step__description {
	margin: 0;
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

/* Hàng chính: nav (danh sách step dọc) bên trái + ảnh của step đang active
   bên phải - thay cho khối text lặp lại trước đây (nav đã hiện đủ tiêu đề +
   mô tả cho từng step nên không cần lặp lại trong stage nữa). */
.lilac-aha-step__row {
	display: flex;
	align-items: flex-start;
	gap: 40px;
}

.lilac-aha-step__nav {
	flex: 1 1 40%;
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 24px;
	aspect-ratio: 18 / 12;
	overflow: auto;
	scrollbar-width: thin;
	scrollbar-color: rgba(34, 34, 34, 0.3) transparent;
}

.lilac-aha-step__nav::-webkit-scrollbar {
	width: 6px;
}

.lilac-aha-step__nav::-webkit-scrollbar-track {
	background: transparent;
}

.lilac-aha-step__nav::-webkit-scrollbar-thumb {
	background-color: rgba(34, 34, 34, 0.3);
	border-radius: 3px;
}

.lilac-aha-step__stage {
	position: relative;
	flex: 1 1 50%;
}

.lilac-aha-step__panel {
	display: none;
}

.lilac-aha-step__panel.is-active {
	display: block;
	animation: lilacAhaStepFadeIn 0.35s ease;
}

@keyframes lilacAhaStepFadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.lilac-aha-step__media {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	border-radius: 10px;
}

.lilac-aha-step__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

@media (max-width: 768px) {
	.lilac-aha-step__row {
		flex-direction: column-reverse;
	}
}

/* Thanh điều hướng step (dots + prev/next). Danh sách dọc: mỗi step hiện
   luôn cả tiêu đề lẫn mô tả, không cần bấm mới thấy (yêu cầu user). */
.lilac-aha-step__dots {
	display: flex;
	flex-direction: column;
	flex-shrink: 0;
}

/* Tham chiếu thêm ".lilac-aha-step" (class widget cha) + !important cho
   display: nút <button> dễ bị style button mặc định của theme/trình duyệt
   (thường display:inline-block) thắng vì specificity cao hơn hoặc load sau. */
.lilac-aha-step .lilac-aha-step__dot {
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	display: flex !important;
	align-items: flex-start;
	gap: 16px;
	width: 100%;
	padding: 1rem;
	color: #222;
	font-size: 12px;
	line-height: 1.4;
	border-radius: 8px;
}

.lilac-aha-step__dot-text {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.lilac-aha-step__dot-label {
	font-size: 12px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.lilac-aha-step__dot-description {
	font-size: 12px;
	font-weight: 400;
	color: #777;
	line-height: 1.5;
}

/* Chấm tròn 3 lớp: vòng nền (tách khỏi đường kẻ ngang phía sau) + vòng mờ
   (nhấp nháy khi active) + lõi đặc ở giữa - theo đúng cấu trúc tham khảo. */
.lilac-aha-step__dot-spot {
	flex-shrink: 0;
	margin-top: 2px;
	position: relative;
	width: 20px;
	height: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.lilac-aha-step__dot-ring,
.lilac-aha-step__dot-core {
	position: absolute;
	border-radius: 50%;
	transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
}

.lilac-aha-step__dot-ring {
	width: 16px;
	height: 16px;
	background: rgba(34, 34, 34, 0.15);
}

.lilac-aha-step__dot-core {
	width: 16px;
	height: 16px;
	background: rgba(34, 34, 34, 0.5);
}

.lilac-aha-step__dot:hover .lilac-aha-step__dot-core {
	background: #555555;
}

/* Nền xám nhạt cho step đang chọn + khi hover. !important + ".lilac-aha-step"
   để thắng style hover mặc định của theme cho mọi <button> (đổi nền + màu chữ). */
.lilac-aha-step .lilac-aha-step__dot.is-active,
.lilac-aha-step .lilac-aha-step__dot:hover {
	background: #00000030 !important;
	color: #222;
}

.lilac-aha-step__dot.is-active {
	font-weight: 600;
}

.lilac-aha-step__dot.is-active .lilac-aha-step__dot-ring {
	width: 20px;
	height: 20px;
	animation: lilacAhaStepPulse 2s ease-in-out infinite;
}

.lilac-aha-step__dot.is-active .lilac-aha-step__dot-core {
	width: 20px;
	height: 20px;
	background: #555555;
}

/* Nền active giờ là xám nhạt (không còn đen) -> chữ đen, chữ trắng cũ không đọc được. */
.lilac-aha-step__dot.is-active .lilac-aha-step__dot-description {
	color: #000000;
}

.lilac-aha-step__dot.is-active .lilac-aha-step__dot-label {
	color: #000000;
}

@keyframes lilacAhaStepPulse {
	0%, 100% { opacity: 0.6; transform: scale(1); }
	50% { opacity: 0.2; transform: scale(1.3); }
}

/* Nội dung chữ dưới ảnh + nút prev/next: chỉ dùng ở mobile */
.lilac-aha-step__panel-content,
.lilac-aha-step__arrows {
	display: none;
}

/*
 * Mobile giống ahava.com: ảnh step đang chọn -> "• Step N", tiêu đề, mô tả,
 * nút -> thanh timeline ngang (chấm + tên step bên dưới, 1 đường kẻ ngang chạy
 * qua các chấm) -> 2 nút tròn prev/next.
 * Hàng chính đã đảo column-reverse ở 768px (stage lên trên, nav xuống dưới).
 */
@media (max-width: 768px) {
	.lilac-aha-step__panel-content {
		display: block;
		padding: 20px 4px 0;
	}

	.lilac-aha-step__panel-step {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		font-size: 13px;
		font-weight: 700;
		color: #000;
	}

	.lilac-aha-step__panel-step::before {
		content: "";
		width: 5px;
		height: 5px;
		border-radius: 50%;
		background: currentColor;
	}

	.lilac-aha-step__panel-title {
		margin: 12px 0;
		font-size: 22px;
		font-weight: 400;
		text-transform: uppercase;
		color: #000;
	}

	.lilac-aha-step__panel-description {
		margin: 0 0 20px;
		font-size: 14px;
		line-height: 1.6;
		color: #222;
	}

	.lilac-aha-step a.lilac-aha-step__panel-button,
	.lilac-aha-step a.lilac-aha-step__panel-button:hover {
		display: inline-block;
		padding: 12px 24px;
		border-radius: 30px;
		background: #000;
		color: #fff;
		font-size: 14px;
		font-weight: 700;
		text-decoration: none;
	}

	/* Timeline ngang */
	.lilac-aha-step__nav {
		aspect-ratio: auto;
		overflow: visible;
		width: 100%;
	}

	.lilac-aha-step__dots {
		position: relative;
		flex-direction: row;
		justify-content: space-between;
	}

	/* Đường kẻ ngang chạy qua tâm các chấm (chấm cao 32px -> tâm ở 16px) */
	.lilac-aha-step__dots::before {
		content: "";
		position: absolute;
		top: 16px;
		left: 0;
		right: 0;
		height: 1px;
		background: #ddd;
	}

	/* Bỏ nền khối của bản desktop: ở timeline chỉ chấm active có vòng xám */
	.lilac-aha-step .lilac-aha-step__dot,
	.lilac-aha-step .lilac-aha-step__dot.is-active,
	.lilac-aha-step .lilac-aha-step__dot:hover {
		position: relative;
		flex: 1 1 0;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		margin: 0; /* theme đặt margin-top 10px cho mọi <button> -> lệch đường kẻ */
		padding: 0 4px;
		text-align: center;
		background: none !important;
		border-radius: 0;
	}

	.lilac-aha-step__dot-description {
		display: none;
	}

	.lilac-aha-step__dot-label {
		font-size: 11px;
		letter-spacing: 0;
		text-transform: none;
		color: #222;
	}

	.lilac-aha-step__dot.is-active .lilac-aha-step__dot-label {
		font-weight: 700;
	}

	.lilac-aha-step__dot-spot {
		width: 32px;
		height: 32px;
		margin-top: 0;
	}

	.lilac-aha-step__dot-ring {
		width: 0;
		height: 0;
	}

	.lilac-aha-step__dot-core {
		width: 12px;
		height: 12px;
		background: #555;
	}

	.lilac-aha-step__dot.is-active .lilac-aha-step__dot-ring {
		width: 32px;
		height: 32px;
		background: #d4d4d4;
		opacity: 1;
		animation: none;
	}

	.lilac-aha-step__dot.is-active .lilac-aha-step__dot-core {
		width: 16px;
		height: 16px;
		background: #000;
	}

	/* 2 nút tròn prev/next. Đè style <button> mặc định của theme. */
	.lilac-aha-step__arrows {
		display: flex;
		justify-content: center;
		gap: 12px;
		margin-top: 32px;
	}

	.lilac-aha-step button.lilac-aha-step__arrow,
	.lilac-aha-step button.lilac-aha-step__arrow:hover,
	.lilac-aha-step button.lilac-aha-step__arrow:focus {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 36px;
		height: 36px;
		margin: 0;
		padding: 0;
		border: 1px solid #ddd;
		border-radius: 50%;
		background: #fff;
		color: #222;
		cursor: pointer;
	}
}

