@font-face { 
	font-family: "TabletGothicBold";
	src: url("../fonts/TabletGothicBold.woff") format("woff"),
	url("../fonts/TabletGothicBold.woff2") format("woff2");
	font-style: normal;
	font-weight: bold;
	font-display: swap;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	font-family: sans-serif;
	background-color: #e9eff4;
	color: #16212D;
}

header {
	background-color: #ed1c24;
}

.container {
	width: 100%;
	max-width: 1080px;
	margin: 0 auto;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'TabletGothicBold', sans-serif;
}

.center {
	display: flex;
	justify-content: center;
}

.center img {
	width: 100%;
	margin-bottom: 20px;
}

.form > .center img.product {
	width: 100%;
	margin-bottom: 0;
}

ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

a {
	text-decoration: none;
	color: inherit;
}

.header-bottom {
	display: flex;
	justify-content: space-between;
	padding: 10px 0;
}

.dropdown-icon {
	display: inline-block;
	position: relative;
	padding-right: 12px;
}
.dropdown-icon::after {
	content: "";
	position: absolute;
	top: 3px;
	right: 0;
	width: 5px;
	height: 5px;
	border-bottom: 2px solid #16212D;
	border-left: 2px solid #16212D;
	transform: rotate(-45deg);
}


.header__channels {
	padding: 10px 0;
	border-bottom: 1px solid rgba(0, 0, 0, .3);
}

@media (max-width: 1080px) {
	.header__channels {
		display: none;
	}

	.header-bottom {
		padding: 10px 20px;
	}
}

.header__channels .dropdown-icon{
	display: inline-block;
	padding-right: 10px;
}

.header__channels .dropdown-icon::after{
	top: 2px;
	border-left: 1px solid #fff;
	border-bottom: 1px solid #fff;
}

.header__left-side,
.header__right-side {
	display: flex;
	align-items: center;
}

.header__logo {
	display: inline-block;
	margin-right: 10px;
}

.header__date {
	color: #fff;
}

.channels__list li {
		display: inline-block;
}

.channels__list li:not(:last-child) {
	border-right: 1px solid rgba(0, 0, 0, .3);
}

.channels__list li a {
	display: inline-block;
	padding: 0px 20px;
	font-size: 12px;
	line-height: 12px;
	color: rgba(255, 255, 255, 0.6);
}

.channels__list li a:hover {
	color: rgba(255, 255, 255, 1);
	text-decoration: underline;
}

.header__icons li {
	display: inline-block;
	margin-left: 10px;
}


/* MENU */
.menu	{
	background-color: #fff;
}

.menu-list {
	display: flex;
	padding: 10px 0;
}
.menu-list .menu-list__item {
	display: inline-block;
	margin-right: 10px;
	font-weight: bold;
	font-size: 14px;
}

.menu-list .menu-list__item.mobile-visible {
	display: none;
}

.menu-list .menu-list__item:last-child {
	margin: 0;
}

.menu-list .menu-list__item:not(:first-child) a:hover {
	text-decoration: underline;
}

.menu-list .menu-list__item .menu-burger {
	position: relative;
	display: inline-block;
	width: 15px;
	height: 2px;
	background-color: #16212D;
	margin-right: 5px;
	margin-bottom: 4px;
}

.menu-list .menu-list__item .menu-burger::after,
.menu-list .menu-list__item .menu-burger::before {
	position: absolute;
	content: "";
	width: 100%;
	height: 2px;
	background-color: #16212D;
}

.menu-list .menu-list__item .menu-burger::before {
	top: -5px;
}

.menu-list .menu-list__item .menu-burger::after {
	bottom: -5px;
}
.menu-list .menu-list__item.cart {
	margin-left: auto;
}

.menu-list .menu-list__item.premium a,
.news-premium{
	display: inline-block;
	padding: 2px 3px;
	background-color: #cca550;
	color: #fff;
	font-family: 'TabletGothicBold', sans-serif;
}

@media (max-width: 1080px) {
	.menu-list {
		padding: 10px 20px;
	}
	.menu-list .menu-list__item:nth-child(6) ~ .menu-list__item:not(.cart, .premium, .mobile-visible) {
		display: none;
	}

	.menu-list .menu-list__item.mobile-visible {
		display: inline-block;
	}
}

.header-mobile {
	display: none;
	justify-content: space-between;
	align-items: center;
	padding: 10px 10px;
	background-color: #ed1c24;
}

.header-mobile__burger {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 40px;
	height: 40px;
}

.header-mobile__burger span {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 3px;
	background-color: #fff;
}

.header-mobile__burger span:before,
.header-mobile__burger span:after {
	content: "";
	position: absolute;
	width: 100%;
	height: 3px;
	background-color: #fff;
}

.header-mobile__burger span:before {
	top: -10px;
}

.header-mobile__burger span:after {
	bottom: -10px;
}

.header-mobile .mobile-logo {
	display: inline-block;
}

.header-mobile .mobile-logo img {
	width: 152px;
}

.header-mobile .mobile-login img {
	width: 35px;
}


@media (max-width: 624px) {
	header,
	.menu {
		display: none;
	}

	.header-mobile {
		display: flex;
	}
}

@media (max-width: 480px) {
	.header-mobile .mobile-logo img {
		width: 102px;
	}

	.header-mobile .mobile-login img {
		width: 30px;
	}

	.header-mobile__burger {
		width: 30px;
		height: 30px;
	}
	
}

/* CHAPTER */

.chapter-body {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	/* padding-bottom: 10px; */
	margin-top: -10px;
	border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.chapter__title {
	font-family: 'TabletGothicBold', sans-serif;
	font-size: 60px;
	line-height: 67px;
	margin-bottom: 10px;
	padding-top: 18px;
}

.chapter__title:hover {
	text-decoration: underline;
}

.chapter-list li {
	display: inline-block;
	padding: 10px 10px;
	font-weight: bold;
	font-size: 14px;
}

@media (max-width: 1080px) {
	.chapter {
		display: none;
	}
}

/* Nav */

.nav {
	padding: 15px 0;
}

.nav-list {
	display: flex;
	align-items: center;
}

.nav-list li {
	position: relative;
	display: inline-block;
	padding: 0 15px;
}

.nav-list li a {
	color: #999;
	font-weight: normal;
}

.nav-list li:not(:last-child):after {
	content: "";
	position: absolute;
	top: 5px;
	right: -5px;
	width: 5px;
	height: 5px;
	/* background-color: #444; */
	border-bottom: 2px solid#999;
	border-right: 2px solid#999;
	transform: rotate(-45deg)
}

.nav-list li:first-child{
	padding-left: 0;
}

.nav-list li:last-child {
	width: 250px;
	overflow: hidden;
	text-overflow: ellipsis;

}

.nav-list li:last-child a {
	white-space: nowrap;
}


@media (max-width: 1080px) {
	.nav-list li a {
		font-size: 14px;
	}
}

@media (max-width: 568px) {
	.nav {
		display: none;
	}
}

/* CONTENT */
.content {
	margin: 20px 0;
}

.content > .container {
	display: flex;
}

.content > .container main {
	flex: 2;
}

@media (max-width: 1080px) {
	.content > .container main {
		max-width: 100%;
		flex: 1;
	}
}

@media (max-width: 568px) {
	.content {
		margin-top: 0;
	}
}

.content > .container aside {
	flex: 1;
}

.content .publish-info {
	color: #98a3af;
	padding: 15px 0;
	border-bottom: 1px solid #98a3af;
	margin-bottom: 20px;
	font-size: 14px;
}

@media (max-width: 1080px) {
	.content .publish-info {
		padding: 15px 20px;
	}
}

.content > .container main h1{
	font-size: 50px;
	line-height: 60px;
}

@media (max-width: 1080px) {
	.content > .container main h1{
		margin-top: 0;
		font-size: 40px;
		line-height: 50px;
	}
}

@media (max-width: 567px) {
	.content main > h1 {
		font-size: 30px;
	line-height: 40px;
	}
}

.content main > p {
	font-size: 17px;
	line-height: 26px;
	margin: 0 0 30px;
}


@media (max-width: 567px) {
	.content main > p {
		font-size: 15px;
		line-height: 22px;
		margin: 0 0 20px;
	}
}

/* publication margin  отступ слевой стороны для текста*/
.content > .container main .pb-m {
	margin-left: 73px;
}

@media (max-width: 1080px) {
	.content > .container main .pb-m {
		margin: 0 20px 50px;
	}
}

@media (max-width: 767px) {
	.content > .container main .pb-m {
		margin: 0 20px 30px;
	}
}

.content > .container main .product {
	max-width: 250px;
}

@media (max-width: 567px) {
	.content > .container main .product {
		max-width: 200px;
	}
}
/* FORM */
.visually-hidden:not(:focus):not(:active),
input[type="checkbox"].visually-hidden,
input[type="radio"].visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  white-space: nowrap;
  border: 0;
  -webkit-clip-path: inset(100%);
          clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}


.form {
  position: relative;
  z-index: 100;
  width: 430px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  color: #000;
  background-color: #fff;
  padding: 0 40px 20px;
  -webkit-box-shadow: 0 0 0 1px #d8d8d8, 0 0 0 15px #fff;
          box-shadow: 0 0 0 1px #d8d8d8, 0 0 0 15px #fff;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
	margin: 0 auto 40px;
}
.form__title {
  font-size: 22px;
  line-height: 26px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  color: #16212D;
  margin-bottom: 20px;
}
.form__title span {
  color: #ed1c24;
}
.form__price {
  font-size: 22px;
  line-height: 26px;
  font-weight: 900;
  text-align: center;
	margin: 0;
}

.form__price .old-price{
	color: #ed1c24;
	text-decoration: line-through;
}

.form__price .new-price{
	font-size: 120%;
}

.form__text {
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  margin-bottom: 25px;
}
.timer {
  margin-bottom: 25px;
}
.timer__controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  font-size: 30px;
  line-height: 35px;
  font-weight: 900;
  color: #16212D;
}
.hour-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.hour-container span {
  border: 2px dotted #ed1c24;
  border-radius: 50%;
  padding: 10px;
  margin: 0 10px;
}
.hour-container p {
  font-size: 12px;
  line-height: 15px;
  color: #000;
  margin-top: 20px;
}
.form__input-container {
  position: relative;
	max-width: 100%;
}
.form__input-container::before {
  position: absolute;
  content: '';
  width: 20px;
  height: 20px;
  top: 20px;
  left: 20px;
  background-image: url('../img/name.png');
}
.form__input-container--tel::before {
  background-image: url('../img/phone.png');
}
.form__input {
	width: 100%;
  font-size: 19px;
  line-height: 22px;
  color: #000;
  text-align: center;
  border: none;
  padding: 20px;
  background-color: #fff;
  margin-bottom: 10px;
	border: 1px solid #000;
	border-radius: 4px;
}
::-webkit-input-placeholder {
  color: #000;
  opacity: 1;
}
::-ms-input-placeholder {
  color: #000;
  opacity: 1;
}
::placeholder {
  color: #000;
  opacity: 1;
}
.form__btn {
  font-size: 23px;
  line-height: 26px;
  font-weight: 990;
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #ef3138;
  border-radius: 5px;
  padding: 20px;
  margin-bottom: 20px;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ed1c24), to(#d00008));
  background-image: linear-gradient(180deg, #ed1c24 0%, #d00008 100%);
  cursor: pointer;
}
.form__left-pack {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.form__left-pack p {
  width: 20%;
  font-size: 12px;
  line-height: 15px;
  text-align: right;
}
.form__left-pack .number-pack {
  text-align: center;
  color: #ed1c24;
  font-size: 50px;
  line-height: 55px;
  font-weight: 900;
  margin: 0 10px;
}
.form__left-pack .left-align {
  text-align: left;
}

@media (max-width: 480px) {
  .form {
    width: auto;
    padding: 10px;
  }
  .form__title {
    font-size: 19px;
    line-height: 22px;
    margin-bottom: 15px;
  }
  .form__date {
    font-size: 19px;
    line-height: 22px;
  }
  .timer {
    margin-bottom: 20px;
  }
  .form__input-container::before {
    top: 15px;
  }
  .form__input {
    font-size: 15px;
    line-height: 17px;
    padding: 15px;
  }
  .form__btn {
    font-size: 20px;
    line-height: 23px;
    padding: 15px;
  }
  .form__left-pack p {
    width: 30%;
  }
}


/* Tags */

.tags {
	background-color: #fff;
	border: 1px solid rgb(214, 214, 214);
	margin-left: 130px;
	padding: 10px 100px 20px 20px;
}

.tags h4 {
	font-size: 16px;
	color: #ed1c24;
}

.tags h4 a {
	position: relative;
}

.tags h4 a:hover:before {
	position: absolute;
	content: "";
	left: 0;
	bottom: 0;
	width: 100%;
	height: 2px;
	background-color: #ed1c24;
}

.tags .tags__item {
	display: inline-block;
	padding: 2px 5px;
	border-radius: 3px;
	border: 1px solid rgb(214, 214, 214);
	margin: 0 10px 10px 0;
}

@media (max-width: 1080px) {
	.tags {
		margin: 0 20px;
	}
}

@media (max-width: 567px) {
	.tags {
		display: none;
	}
}

/* Comments */
.comments {
	margin-top: 20px;
	border-top: 1px solid #ccc;
}

.comments__title {
	font-size: 20px;
}
@media (max-width: 1080px) {
	.comments__title {
		margin-left: 20px;
	}
}

@media (max-width: 567px) {
	.comments__title {
		font-size: 16px;
	}

	.comments {
		margin-top: 0;
		border-top: none;
	}
}

.comments-items {
	padding: 20px 0;
	background-color: #fff;
	border: 1px solid #ccc;
}

.comment-item {
	display: flex;
	padding: 10px 20px;
}

@media (max-width: 576px) {
	.comment-item {
		padding: 10px 10px;
	}
}

.comment-item.comment-item--reply {
	margin-left: 60px;
}

.comment-item .comment-avatar {
	width: 50px;
	height: 50px;
}

.comment-item .comment-avatar img {
	width: 50px;
}

@media (max-width: 567px) {
	.comment-item .comment-avatar {
		width: 40px;
		height: 40px;
	}
	
	.comment-item .comment-avatar img {
		width: 40px;
	}
}

.comment-item .comment-body {
	margin-left: 10px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
	width: 100%;
}

.comment-item .comment-body .comment-info {
	display: flex;
	justify-content: space-between;
	margin-bottom: 10px;
}

.comment-item .comment-body .comment-name {
	font-size: 16px;
	font-weight: bold;
}

.comment-item .comment-body .comment-date {
	font-size: 14px;
	color: #ccc;
}

.comment-img {
	width: 100%;
	margin-top: 10px;
}

.comment-live {
	display: block;
	margin-top: 10px;
	width: 100%;
	max-width: 250px;
}

@media (max-width: 567px) {
	.comment-live {
		max-width: 200px;
	}
}

@media (max-width: 567px) {
	.comment-item .comment-body .comment-name {
		font-size: 14px;
	}

	.comment-item .comment-body .comment-date {
		font-size: 12px;
	}

	.comment-item .comment-body .comment-text {
		font-size: 14px;
	} 

	.comment-item.comment-item--reply {
		margin-left: 50px;
	}

}

.under-btn {
	display: inline-block;
	font-size: 23px;
  line-height: 26px;
  font-weight: 990;
  color: #fff;
  text-transform: uppercase;
  border: 1px solid #ef3138;
  border-radius: 5px;
  padding: 20px;
  margin: 20px 0;
  background-image: -webkit-gradient(linear, left top, left bottom, from(#ed1c24), to(#d00008));
  background-image: linear-gradient(180deg, #ed1c24 0%, #d00008 100%);
  cursor: pointer;
}

@media (max-width: 567px) {
	.under-btn {
		font-size: 18px;
		line-height: 22px;
	}
}

/* SIDEBAR */

.news {
	margin-left: 20px;
	font-family: 'TabletGothicBold', sans-serif;
}

.news-header {
	background-color: #ed1c24;
	color: #fff;
}

.news-header a {
	position: relative;
	display: inline-block;
	width: 100%;
	padding: 4px 10px;
	color: #fff;
	font-size: 15px;

}

.news-header a::after {
	content: '';
	position: absolute;
	top: 6px;
	right: 5px;
	width: 0;
	height: 0;
	border-left: 7px solid #fff;
	border-top: 7px solid transparent;
	border-bottom: 7px solid transparent;
}

.news__item {
	display: flex;
	padding: 20px 0;
	gap: 10px;
	border-bottom: 1px solid #ccc;
	margin-right: 20px;
}

.news__item .news__item-text {
	display: flex;
	flex-direction: column;
}

.news__item .news__item-text .news-premium {
	margin-right: auto;
	font-size: 14px;
}

.news__item .news__item-text a {
	font-size: 20px;
}

@media (max-width: 1080px) {
	.content > .container aside {
		display: none;
	}
}

/* FOOTER */

.footer-body {
	padding: 20px 30px;
	background-color: #fff;
	border: 1px solid #ccc;
	color: #aaa;
}

.footer-body .footer-line-1 {
	display: flex;
	justify-content: center;
	margin-bottom: 10px;
}

.footer-body .footer-line-1 a {
	display: inline-block;
	position: relative;
	font-weight: normal;
	padding: 2px 5px;
	color: #aaa;
}


.footer-body .footer-line-1 a:not(:last-child):after {
	position: absolute;
	content: '';
	width: 1px;
	height: 80%;
	top: 2px;
	right: 0;
	background-color: #aaa;
}

.footer-body .footer-line-2 {
	text-align: center;
	font-size: 14px;
}

.footer-body .footer-line-2 a {
	display: inline-block;
	position: relative;
	font-weight: normal;
	padding: 2px 5px;
	color: #aaa;
}

.footer-body .footer-line-2 a:before {
	position: absolute;
	content: '';
	width: 1px;
	height: 80%;
	top: 2px;
	left: -1px;
	background-color: #aaa;
}

@media (max-width: 576px) {
	.footer-body .footer-line-1 {
		font-size: 12px;
	}

	.footer-body .footer-line-2 {
		font-size: 12px;
	}
}

.blue {
	color: blue;
}

.red {
	color: red;
	font-weight: 600;
}

.form__info {
	text-align: center;
	padding: 15px;
	border: 2px dashed red;
}

.form__star {
	text-align: center;
	font-size: 14px;
	font-style: italic;
}

.form__discount {
	font-size: 26px;
	font-weight: 900;
	text-align: center;
	display: inline;
}

.form__discount p {
	background-color: rgba(239, 71, 71, 0.807);
	display: inline-block;
	padding: 10px;
}
