@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

.second-part {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 100%;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: 'Poppins', sans-serif;
}

body {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
}

header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background-color: red;
	padding: 10px;

	h1 {
		color: white;
		font-size: 24px;
	}

	img {
		width: 25px;
		height: 25px;
		font-size: 14px;
	}
}

section.container {
	display: flex;
	width: 100%;
	max-width: 620px;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	padding: 20px;
	gap: 10px;

	h1 {
		line-height: 1.2;
		text-align: start;
		font-size: 24px;

		span {
			color: red;
		}
	}

	h2 {
		font-weight: 400;
		color: black;
		font-size: 14px;
		text-align: start;
	}

	img {
		max-width: 500px;
		width: 100%;
	}
}

.video-expire-notice {
	width: 100%;
	max-width: 600px;
	margin: 28px auto 64px;
	padding: 0 10px;
	color: #111;
	font-size: clamp(26px, 5vw, 42px);
	font-weight: 800;
	line-height: 1.16;
	text-align: center;
}

.video-expire-notice span {
	color: red;
	white-space: nowrap;
}

.none {
	display: none !important;
}

/* NOTE: These legacy form styles are for the "second-part" template form only.
   Exclude embedded landing form (.order_form), otherwise it breaks layout/colors. */
.second-part form:not(.order_form) {
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	height: auto;
	gap: 20px;
	padding: 20px;
	max-width: 500px;
	background-color: beige;
	border: 2px solid red;
	border-radius: 20px;

	h1 {
		text-align: center;
		font-weight: 600;
		font-size: 22px;
	}

	h2 {
		text-align: center !important;
		font-weight: bold !important;
		font-size: 22px !important;
	}

	small {
		margin-top: -10px;
		margin-bottom: -10px;
		text-align: center;
		font-size: 16px;
		font-weight: 500;
	}

	h3 {
		color: red;
		font-weight: 400;
		font-size: 16px !important;

		span {
			font-weight: 900;
		}
	}

	h6 {
		border-radius: 10px;
		color: #00af6b;
		font-weight: bold;
		font-size: 24px;

		span {
			font-weight: lighter;
			color: red;
			text-decoration: line-through;
		}
	}

	p {
		text-align: center;
	}

	div {
		display: flex;
		justify-content: flex-start;
		align-items: flex-start;
		flex-direction: column;
		width: 100%;
		gap: 10px;

		label {
			font-weight: 600;
			font-size: 16px;
		}

		input {
			outline: none;
			border: 2px solid;
			display: flex;
			justify-content: center;
			align-items: center;
			padding: 20px;
			border-radius: 10px;
			width: 100%;
		}
	}

	button {
		display: flex;
		justify-content: center;
		align-items: center;
		text-align: center;
		padding: 20px;
		width: 100%;
		border-radius: 10px;
		color: white;
		font-size: 20px;
		font-weight: 600;
		background-color: red;
		outline: none;
		border: none;
		cursor: pointer;
		margin-top: 10px;
	}
}

section.comments-container {
	margin-top: -40px !important;
	max-width: 600px;
	margin: 0 auto;
	font-family: Arial, sans-serif;

	.comment {
		display: flex;
		padding: 10px;
		gap: 10px;
		border-bottom: 1px solid #ccc;

		.avatar {
			width: 40px;
			height: 40px;

			border-radius: 50%;
			margin-right: 10px;

			img {
				border-radius: 50%;
				border: 3px solid #fff;
				box-shadow: 0 0 0 1px #d8d8d8;
				object-fit: cover;
				height: 50px;
				width: 50px;
			}
		}
	}

	.comment-content {
		flex: 1;
		min-width: 0;

		div.elements {
			display: flex;
			justify-content: flex-start;
			align-items: center;
			flex-wrap: wrap;
			gap: 10px;
		}

		h4 {
			font-size: 16px;
			color: #3b5998;
		}

		p {
			font-size: 14px;
			line-height: 1.35;
			overflow-wrap: anywhere;
		}

		.comment-photo {
			display: block;
			width: min(100%, 360px);
			height: auto;
			margin: 10px auto 6px;
			border-radius: 14px;
			pointer-events: none;
			user-select: none;
		}

		.comment-photo--portrait {
			width: min(100%, 240px);
		}

		.date {
			font-size: 12px;
			color: #999;
		}

		.likes {
			display: flex;
			justify-content: center;
			align-items: center;
			gap: 5px;
			font-size: 12px;
			color: #3b5998;

			img {
				width: 12px;
				height: 12px;
			}
		}
	}

	h6 {
		font-size: 16px;
		padding: 10px;
		text-align: center;
	}
}

section.comments-container .watch-video-cta {
	width: 100%;
	padding: 8px 16px 28px;
	box-sizing: border-box;
}

section.comments-container .watch-video-button {
	display: block;
	width: 88%;
	max-width: 520px;
	margin: 0 auto;
	padding: 16px 22px;
	border: 0;
	border-radius: 999px;
	background: #e53935;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.15;
	text-align: center;
	box-shadow: 0 10px 28px rgba(229, 57, 53, 0.22);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

@media (max-width: 420px) {
	section.comments-container .watch-video-button {
		width: 90%;
		font-size: 24px;
		padding: 14px 18px;
	}
}

/* Product website button styles */
.product-website-button {
	display: none !important;
	max-width: 600px;
	width: 100%;
	margin: 20px auto;
	padding: 15px 30px;
	font-size: 18px;
	font-weight: 600;
	color: white;
	background-color: #ff6100;
	border: none;
	border-radius: 10px;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.3s ease;
}

.product-website-button:hover {
	background-color: #e55500;
}

.product-website-button:active {
	background-color: #cc4a00;
}

.product-website-button.show {
	display: block !important;
}
