/* normalize-start */

h1,
h2,
h3,
h4,
h5,
h6,
p,
div,
span,
img,
a,
button {
	margin: 0;
	line-height: 110%;
}

a {
	text-decoration: none;
}

/* normalize-end  */

html {
	scroll-behavior: smooth;
}

* {
	box-sizing: border-box;
}

body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	font-family: Arial, Helvetica, sans-serif;
	color: black;
	margin: 0;
}

main {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	width: 100%;
}

body::-webkit-scrollbar {
	width: 0.5rem; /* ширина scrollbar */
}
body::-webkit-scrollbar-track {
	background: #ffffff; /* цвет дорожки */
}
body::-webkit-scrollbar-thumb {
	background-color: #7eac48; /* цвет плашки */
	border-radius: 1rem; /* закругления плашки */
	border: 1px solid rgba(255, 255, 255, 0.208); /* padding вокруг плашки */
}

.container {
	max-width: 1100px;
	width: 100%;
	margin: 0 1.25rem;
	padding: 0 1.25rem;
}

/* header */

.header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 2rem 0;
	text-align: center;
}

.core-title {
	font-size: 3rem;
	line-height: 110%;
	color: black !important;
}
.core-subtitle {
	font-size: 2rem;
	font-weight: 500;
	line-height: 125%;
}

.core-subtitle-promo {
	color: red;
	font-weight: 600;
}

.core-subtitle-promo--bg {
	background-color: red;
	color: white;
	font-weight: 600;
	padding: 0.25rem 0.625rem;
	border-radius: 0.625rem;
}

@media screen and (max-width: 720px) {
	.core-subtitle--br {
		display: none;
	}
}

@media screen and (max-width: 500px) {
	.header {
		gap: 0.5rem;
		padding: 1.25rem;
	}
	.core-title {
		font-size: 1.75rem;
	}

	.core-subtitle {
		font-size: 1.25rem;
	}
}

/* video */

.section-video {
	position: relative;
}

.video {
	max-width: 100%;
	margin: 0 auto;
	border-radius: 1rem;
	overflow: hidden;
}

.vetor-1 {
	position: absolute;
	width: 50%;
	height: 531px;
	top: 20%;
	left: 0;
	background: url('../images/v-left.png');
	background-size: contain;
	z-index: -2;
	opacity: 0.3;
}

.vetor-2 {
	position: absolute;
	width: 50%;
	height: 531px;
	top: 20%;
	right: 0;
	background: url('../images/v-right.png') center right no-repeat;
	background-size: contain;
	z-index: -2;
	opacity: 0.3;
}

@media screen and (max-width: 500px) {
	.vetor-1 {
		display: none;
	}

	.vetor-2 {
		display: none;
	}
}

/* channels */

.channels {
	display: flex;
	justify-content: center;
}

.channels-img-container {
	width: 100%;
	display: flex;
	justify-content: center;
}

.channels-img {
	max-width: 750px;
	width: 100%;
}

@media screen and (max-width: 500px) {
	.comment-answer {
		margin-left: 1.25rem;
	}
}

/* comments */

.comments {
	display: flex;
	flex-direction: column;
	border-radius: 1.25rem;
	border: 1px solid rgba(0, 0, 0, 0.36);
	padding: 1.25em 1.25em;
	gap: 1.25em;
}

.comment {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.comment-answer {
	margin-left: 2.5rem;
}

.commnet-img {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	border-radius: 100%;
}

.comment-img--item {
	width: 100%;
	height: 100%;
	object-fit: contain;
	border-radius: 100%;
}

.comment-container {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-start;
	width: 100%;
}

.comment-info {
	border-radius: 0.75rem;
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	align-items: flex-start;
	background-color: #f0f2f5;
	padding: 0.375em 0.75em 0.75em;
	position: relative;
	width: 100%;
}

.comment-name {
	color: #365899;
	text-decoration: none;
	font-weight: 700;
	font-size: 1rem;
}

.comment-answer--name {
	color: blue;
}

.comment-text {
	font-size: 1rem;
}

.comment-likes {
	display: flex;
	gap: 0.125rem;
	align-items: center;
	background-color: #fff;
	border: 0.125em solid #eaebef;
	border-radius: 6.25em;
	padding: 0.0625em 0.25em 0.0625em 0;
	position: absolute;
	bottom: -1.25rem;
	right: 0;
}

.comment-likes--item {
	width: 45px;
	height: auto;
	flex-shrink: 0;
}

.comment-likes-count {
	font-size: 0.875em;
	color: #888;
	line-height: 100%;
	margin-top: 3px;
}

.comment-more {
	display: flex;
	gap: 0.2rem;
	font-size: 0.75rem;
	color: #888;
	font-weight: 600;
	margin-left: 0.75rem;
}

.time {
	font-weight: 500;
}

/* form */

.form {
	display: flex;
	gap: 1.5rem;
	align-items: center;
	margin-top: 1rem;
	width: 100%;
}

.form.none {
	display: none;
}
.form.none + .hr {
	display: none;
}
.hr:has(+ .form.none) {
	display: none;
}

.form-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	width: 100%;
	border: #22382c 2px solid;
	border-radius: 20px;
	background-color: #ffffff;
	overflow: hidden;
	padding-bottom: 0.75rem;
}

.form-item--best {
	border: #7eac48 2px solid;
	overflow: hidden;
	padding-bottom: 0;
	color: white;
	gap: 0;
}

.form-item-container--best {
	background-color: #42564b;
	margin: 0.25rem;
	width: 98% !important;
	border-radius: 0 0 1rem 1rem;
}

.form-header {
	background-color: #22382c;
	display: flex;
	justify-content: center;
	width: 98%;
	padding: 0.25em 0.5em;
	margin: 0.21rem;
	border-radius: 1rem 1rem 0 0;
}

.form-header--best {
	background-color: white;
}

.form-header--text {
	font-size: 1rem;
	color: white;
	font-weight: 700;
	text-align: center;
	line-height: 125%;
}

.form-header--text---best {
	color: #7eac48;
	font-weight: 800;
}

.form-cont {
	max-width: 290px;
}

.form-item-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.5rem;
	width: 100%;
}

.form-benefits {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	align-items: center;
}

.form-benefit {
	text-align: center;
	font-size: 1.75rem;
	font-weight: 600;
}

.form-benefits--best {
	padding-top: 1rem;
}

.form-benefit-sub {
	text-align: center;
	font-size: 1rem;
	font-weight: 400;
}

.form-img {
	height: 200px;
	object-fit: contain;
}

.form-price {
	font-size: 4rem;
	line-height: 1;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	gap: 0.125rem;
}

.form-price sup {
	position: relative;
	font-size: 0.6em;
	top: -0.25em;
}

.form-price--text {
	font-size: 1.25rem;
	display: flex;
	font-weight: 800;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
	font-size: 1rem;
	margin-left: 0.25rem;
	text-transform: uppercase;
}

.advantages {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
}

.save {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.25rem;
	color: #7eac48;
	padding: 1rem;
	border-top: 1px dashed rgba(0, 0, 0, 0.4196078431);
	width: 100%;
}

.save--best {
	color: #ffff7d;
	border-top: 1px dashed rgba(255, 255, 255, 0.42) !important;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.42) !important;
}

.save.guarantes {
	color: black;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.42);
}

.guarantes--best {
	color: white !important;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.42) !important;
}

.save-img {
	width: 0.8rem;
	height: 0.8rem;
	background-color: #7eac48;
	padding: 0.2rem;
	border-radius: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.save-img--best {
	background-color: #ffff7d;
}

.save-img.guarantes-img {
	background-color: black;
}

.guarantes-img--best {
	background-color: white !important;
}

.save-img--item {
	width: 100%;
	height: 100%;
}

.save-text {
	font-size: 0.8em;
	font-weight: 800;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.2);
}

.form-link {
	text-decoration: none;
	display: flex;
	font-size: 1.5rem;
	padding: 0.8rem 0.5rem;
	text-transform: uppercase;
	background: linear-gradient(0deg, #ffff7d, rgb(255, 243, 79));
	margin: 1rem;
	border-radius: 0.5rem;
	cursor: pointer;
	transition: 0.3s;
	width: 100%;
	justify-content: center;
	align-items: center;
}

.form-link--text {
	background: linear-gradient(180deg, #7eac48, #702317);
	font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
	background-clip: text;
	-webkit-background-clip: text;
	text-align: center;
	-webkit-text-fill-color: transparent;
}

.form-link:hover,
.form-link:focus {
	filter: brightness(0.85);
	cursor: pointer;
	transform: scaleX(1.025);
}

.form-link:active {
	filter: brightness(0.85);
}

.form-cards {
	width: 100%;
	max-width: 220px;
}

.from-cards--item {
	width: 100%;
	object-fit: cover;
}

.form-total {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.form-total-text {
	font-size: 0.9rem;
}

.form-total s {
	text-decoration-color: red;
	text-decoration-thickness: 2px;
}

.form-shipping {
	font-weight: 600;
	font-size: 1rem;
	text-transform: uppercase;
}

.form-shipping--best {
	margin-bottom: 0.75rem;
}

.form-shipping--red {
	color: red;
}

.form-shipping--yellow {
	color: #ffff7d;
}

@media screen and (max-width: 993px) {
	.form {
		flex-direction: column;
	}
	.form-item--3 {
		order: 2;
	}
	.form-item--2 {
		order: 1;
	}
	.form-item--1 {
		order: 3;
	}
}

@media screen and (max-width: 500px) {
	.form-item-container {
		gap: 1.25rem;
	}
	.form-img {
		height: 220px;
	}
	.form-price {
		font-size: 2.5rem;
	}
	.sale-top--text {
		font-size: 1.5rem;
	}
	.sale-free {
		gap: 0.75rem;
	}
	.sale-price--old {
		font-size: 1.25rem;
	}
	.sale-price--old---item {
		font-size: 1.25rem;
	}
	.sale-free--text {
		font-size: 2.25rem;
	}
	.sale-img--item {
		height: 100px;
	}
	.form-link {
		font-size: 1.75rem;
		max-width: 90%;
	}
}

/* footer */

.footer {
	background-color: #f28c00;
	padding: 2rem 0;
	color: white;
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 1rem;
}

.footer-container {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	align-items: center;
	text-align: center;
}

.footer-list {
	display: flex;
	align-items: center;
	justify-content: center; /* центрируем по горизонтали */
	gap: 0.75rem;
	font-size: 1rem;
	list-style: none;
	width: fit-content;
	opacity: 0.85;
	flex-wrap: wrap;
	text-align: center;
	margin: 0 auto; /* чтобы весь список тоже был по центру */
	padding: 0;
}

.footer-info {
	font-size: 0.75rem;
}

.footer-info--privacy {
	opacity: 0.5;
}

.hr {
	border: 2px dashed #ffe066;
	opacity: 0.5;
	width: 100%;
}

@media screen and (max-width: 500px) {
	.footer-container {
		gap: 1.5rem;
	}
}
