/* 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.4rem; /* ширина scrollbar */
}
body::-webkit-scrollbar-track {
	background: #ffffff; /* цвет дорожки */
}
body::-webkit-scrollbar-thumb {
	background-color: black; /* цвет плашки */
	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;
}

/* top-views */

.top-views {
	background-color: #880b0b;
	padding: 1.5rem;
	width: 100%;
	display: flex;
	justify-content: center;
}

.top-views-container {
	align-items: center;
	color: white;
	align-items: center;
	justify-content: center;
	text-align: center; /* чтобы и при переносах текст красиво центрировался */
	word-break: break-word; /* на всякий случай, если экран очень узкий */
	margin: 0;
	padding: 0;
}

.views-count {
	display: inline-block;
	font-weight: bold;
	font-size: 1.2rem;
	transition: opacity 0.4s ease, transform 0.4s ease;
	text-decoration: underline;
}

.views-count.fade-out {
	opacity: 0;
	transform: translateY(-0.4em);
}

.views-count.fade-in {
	opacity: 1;
	transform: translateY(0);
}

@media screen and (max-width: 500px) {
	.top-views {
		padding: 1rem 1.25rem;
	}
	.top-views-container {
		font-size: 1rem;
	}
}

/* header */

.header {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 0 2rem;
	text-align: center;
}

.core-title {
	font-size: 3rem;
	line-height: 110%;
	color: black;
}

.core-title-promo {
	color: #d545b5;
	font-weight: 600;
}

@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;
	}
}

/* sound */

.sound {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.375rem;
}

.sound-text {
	font-size: 1rem;
	font-weight: 500;
}

.sound-img {
	width: 1.25rem;
	height: 1.25rem;
}

/* channels */

.channels {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin: 1.5rem 0 0;
}

.channels-text {
	color: #7a7a7a;
	font-size: 1.75em;
	margin-bottom: 1em;
	text-align: center;
}

.channels-img-container {
	width: 100%;
	display: flex;
	justify-content: center;
	gap: 1rem;
	align-items: center;
}

.channel-img {
	width: 100%;
}

.channel-img--item {
	width: 100%;
	height: auto;
}

@media screen and (max-width: 993px) {
	.channels-img-container {
		display: grid;
		grid-template-columns: 1fr 1fr;
		margin-bottom: 1rem;
	}
}

.section-form {
	display: flex;
	flex-direction: column;
	align-items: center;
}

/* promo */

.promo {
	background-color: #db0000;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
	text-align: center;
	padding: 1.25rem;
	border-radius: 1rem;
	margin-bottom: 0.5rem;
	margin-top: 0.25rem;
}

.promo-main {
	font-size: 2.5rem;
	margin: 0;
	text-transform: uppercase;
	color: yellow;
}

.promo-submain {
	font-size: 1rem;
	text-transform: uppercase;
	color: white;
	font-weight: 600;
}

@media screen and (max-width: 993px) {
	.promo-main {
		font-size: 2rem;
	}
	.promo-submain {
		font-size: 1rem;
	}
}

@media screen and (max-width: 500px) {
	.promo-main {
		font-size: 1.75rem;
	}
}

/* dilivery */

.delivery {
	display: flex;
	align-items: center;
	border-radius: 1rem;
	max-width: 710px;
	border: 2px solid #22382c;
	border-radius: 1rem;
	padding: 0;
	overflow: hidden;
	gap: 1rem;
	margin-bottom: 0.5rem;
}

.delivery-texts {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
}

.delivery-texts--main {
	font-weight: 600;
	font-size: 1.25rem;
}

.delivery-texts--main span {
	color: #22382c;
	text-transform: uppercase;
}

.delivery-texts--submain {
	font-size: 1rem;
}

.delivery-img {
	position: relative;
	width: 112px;
	height: auto;
	padding: 19px 5px 19px 7px;
	background-color: #22382c;
}

.delivery-img::after {
	content: '';
	position: absolute;
	right: -14px;
	top: 0;
	width: 0;
	height: 0;
	border-top: 45px solid transparent;
	border-left: 15px solid #22382c;
	border-bottom: 45px solid transparent;
}

.delivery-img--item {
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 993px) {
	.delivery {
		max-width: 370px;
	}
	.delivery-img {
		padding: 55px 5px 55px 7px;
	}
	.delivery-img::after {
		border-top: 70px solid transparent;
		border-bottom: 70px solid transparent;
	}
	.delivery-texts--main {
		font-size: 1.125rem;
		line-height: 135%;
	}
	.delivery-texts--submain {
		font-size: 0.85rem;
		line-height: 135%;
	}
}

@media screen and (max-width: 500px) {
	.delivery-texts--main {
		font-size: 1rem;
	}
	.delivery-texts--submain {
		font-size: 0.8rem;
	}
}

/* promise */

.promise {
	width: 100%;
}

.promise-container {
	display: flex;
	align-items: center;
	gap: 2rem;
	background-color: #fff4cf;
	border-radius: 0.5rem;
	border: 1px solid #c2c2c2;
	padding: 1.5rem;
}

.promise-img {
	width: 227px;
	aspect-ratio: 1;
	flex-shrink: 0;
}

.promise-img--item {
	width: 100%;
	height: 100%;
}

.promise-texts {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.promise-texts--main {
	font-weight: bold;
	font-size: 1.8rem;
	text-align: center;
}

.promise-texts--submain {
	font-weight: 400;
	font-size: 1.25rem;
	text-align: justify;
	line-height: 115%;
}

@media screen and (max-width: 993px) {
	.promise-container {
		flex-direction: column;
	}
}

@media screen and (max-width: 500px) {
	.promise-img {
		width: 200px;
	}
}

/* questions */

.questions {
	width: 100%;
	border: 1px solid #a2a2a2;
	padding: 0;
}

.questions-container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.questions-header {
	display: flex;
	justify-content: center;
	align-items: center;
	background-color: #226198;
	color: white;
	padding: 1.25rem;
	width: 100%;
}

.questions-header--text {
	font-size: 2rem;
}

.questions-items {
	background-color: #f5f5f5;
	padding: 1rem;
	display: flex;
	flex-direction: column;
	width: 100%;
}

.question {
	border-bottom: 1px dashed #a2a2a2 !important;
}

.question-container {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	padding: 1rem 0;
}

.question-text {
	font-weight: 700;
	font-size: 1.5rem;
	text-align: left;
	margin-left: 0.5rem;
	width: 100%;
	cursor: pointer;
}

.question-answer {
	color: #333;
	font-size: 1.25rem;
	max-height: 0; /* Изначально скрыт */
	overflow: hidden;
	transition: max-height 0.75s ease;
}

.question-answer.show {
	max-height: 500px; /* Достаточно большое значение, чтобы вместить текст */
}

.question-hr {
	margin: 0.35rem 0;
	border: 1px solid rgba(0, 0, 0, 0);
}

@media screen and (max-width: 993px) {
	.questions-header--text {
		font-size: 1.375rem;
	}
	.question-text {
		font-size: 1.25rem;
		text-align: center;
	}
	.question-answer {
		font-size: 1rem;
		text-align: center;
	}
}

/* form */

.form {
	display: flex;
	gap: 2.5rem;
	align-items: center;
	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;
		gap: 2rem;
	}
	.form-item--3 {
		order: 2;
	}
	.form-item--2 {
		order: 1;
	}
	.form-item--1 {
		order: 3;
	}
}

@media screen and (max-width: 500px) {
	.form {
		gap: 1.5rem;
	}
	.form-item-container {
		gap: 1.25rem;
	}
	.form-img {
		height: 220px;
	}
	.form-price {
		font-size: 3.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: black;
	padding: 2rem 0;
	color: white;
	width: 100%;
	display: flex;
	justify-content: center;
	margin-top: 1rem;
}

.footer-container {
	display: flex;
	gap: 5rem;
	align-items: center;
	text-align: center;
}

.footer-list {
	width: 20%;
	display: flex;
	align-items: flex-start;
	flex-direction: column;
	justify-content: space-between; /* центрируем по горизонтали */
	gap: 1.25rem;
	font-size: 1rem;
	list-style: none;
	width: fit-content;
	opacity: 0.85;
	flex-wrap: wrap;
	text-align: left;
	margin: 0 auto; /* чтобы весь список тоже был по центру */
	padding: 0;
}

.footer-info {
	font-size: 0.75rem;
	width: 80%;
	text-align: left;
}

.footer-info--privacy {
	opacity: 0.5;
}

.hr {
	border: 2px dashed #d545b5;
	opacity: 0.5;
	width: 100%;
}

@media screen and (max-width: 993px) {
	.footer-container {
		padding: 1.5rem 0;
		gap: 2.25rem;
		flex-direction: column;
		align-items: center;
	}
	.footer-list {
		align-items: center;
	}
	.footer-info {
		text-align: center;
		width: 100%;
	}
}
