:root {
  --first-font: 'Gilroy', sans-serif;

  --accent-color: #2f3039;
  --light-color: #ffffff;
  --text-color: #444;
  --yellow: #ffcd00;
  --red-color: #f02119;

  --border-radius: 20px;
  --btn-radius: 50px;

  --section-gap: 40px;

  --shadow: 0 0 11px #000000cc;
}

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

html {
  font-family: var(--first-font);
  font-weight: 400;
  font-style: normal;
  min-width: 390px;
  scroll-behavior: smooth;
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: var(--first-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--text-color);
  gap: var(--section-gap);
  background: #eee;
}

main,
footer {
  width: 100%;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* gap: var(--section-gap); */
}

.wrapper {
  background: var(--light-color);
}

section h2 {
  font-family: var(--first-font);
  font-weight: 700;
  font-size: 30px;
  line-height: 34px;
  text-align: center;
  color: var(--text-color);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  user-select: none;
  pointer-events: none;
}

b {
  font-weight: bold;
}

a {
  text-decoration: none;
}

.btn-reset {
  border: none;
  padding: 0;
  background-color: transparent;
  cursor: pointer;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  font-weight: 700;
  color: var(--text-color);
  text-shadow: 0 2px 0 #ffe42c;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  width: 100%;
  background: var(--yellow);
  border-radius: 40px;
  min-height: 76px;
  line-height: 80px;
  text-align: center;
  box-shadow: 0 5px 0 0 #ff9600;
  font-size: 26px;
  text-decoration: none;
  border: none;
}

.list-reset {
  list-style: none;
  margin: 0;
  padding: 0;
}

.offer {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.offer h1,
.characteristic h2 {
  font-size: 36px;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 40px;
  padding: 15px;
  text-align: center;
  color: var(--light-color);

  background: var(--accent-color);
}

.discount {
  position: absolute;
  left: 20px;
  bottom: 80px;
  background: var(--red-color);
  color: var(--light-color);
  padding: 10px 20px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
}

.offer-slider {
  overflow: hidden;
}

.offer-price {
  display: flex;
  align-items: flex-end;
  height: 66px;
  align-items: center;
  background: url(../images/price-bg-red.png) 50% 0 no-repeat;
}

.offer-price__old,
.offer-price__new {
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.offer-price__old span {
  font-size: 14px;
  line-height: 14px;
  color: var(--text-color);
}

.offer-price__old p {
  text-decoration: line-through;
}

.offer-price__old p,
.offer-price__new p {
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
}

.offer-price__new span {
  color: var(--light-color);
}

.offer-price__new p {
  font-weight: 700;
  color: var(--light-color);
}

.order-btn {
  width: 100%;
  padding: 0 30px;
}

.order-date {
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-direction: column;

  text-align: center;
  color: var(--light-color);
  background: var(--accent-color);
}
.order-date__title {
  position: relative;
  font-size: 18px;
}
.order-date__title::before {
  content: '';
  display: block;
  width: 42px;
  height: 29px;
  background: url(../images/timer_block_arrow.png) 50% 50% no-repeat;
  position: absolute;
  top: -8px;
  left: -64px;
}

.order-date__timer {
  padding: 20px 0;

  display: flex;
  align-items: center;
  gap: 24px;
}
.order-date__timer li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.order-date__diget {
  font-size: 40px;
  font-weight: 700;
}

.order-date__text {
  font-size: 14px;
}

.video {
  padding: 30px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--section-gap);
}

.video_block {
  width: 100%;
}

.video_block iframe,
.video_block img {
  width: 100%;
  min-height: 270px;
}

.description {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.description ul,
.description ul li {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.description ul li p {
  padding: 0 30px;

  text-align: center;
}

.characteristic {
  padding-bottom: 20px;
  display: flex;
  flex-direction: column;

  background: #181b23;
}
.characteristic h2 {
  background: #181b23;
}

.characteristic ul {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;

  color: var(--yellow);
}

.characteristic ul li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.reviews {
  padding: 20px 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 30px;
  background: var(--accent-color);
}

.reviews h2 {
  font-weight: 700;
  line-height: 36px;
  text-transform: uppercase;
  color: var(--light-color);
}

.reviews-rating {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 10px;
  color: var(--light-color);
}

.reviews-rating__stars {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reviews-rating__bar {
  width: 100%;
  max-width: 330px;
  height: 10px;
  border-radius: 5px;
  background: #e6e6e6;
}

.reviews-rating__bar span {
  margin-left: -1px;
  display: block;
  width: 96%;
  height: 10px;
  border-radius: 5px;
  background: #41944b;
}

.reviews-slider {
  margin: 0 auto;
  max-width: 460px;

  overflow: hidden;
}

.reviews-slider img {
  border-radius: var(--border-radius);
}

.delivery {
  width: 100%;
  padding: 30px 0;
}

.delivery ul {
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.delivery ul li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.delivery ul li:nth-child(odd) {
  flex-direction: row-reverse;
}

.delivery ul li img {
  border: 1px solid #d2d2d2;
  min-width: 220px;
  width: 220px;
}

.delivery-text {
  color: var(--light-color);
}

.delivery-text h3 {
  font-weight: 700;

  font-size: 22px;
  color: var(--red-color);
}

.delivery-text p {
  margin-top: 8px;
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
  color: var(--text-color);
}

.form {
  width: 100%;
  background: var(--accent-color);
}

.main-order-form {
  padding: 30px;
  width: 100%;

  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--border-radius);
  background: var(--form-bg-color);
}

.main-order-form input {
  width: 100%;
  padding: 0 20px 0 80px;

  height: 66px;
  border: 1px solid #e6e6e6;
  border-radius: 38px;
  background-color: var(--light-color);
  font-weight: 400;
  font-size: 16px;
  color: var(--text-color);
  box-shadow: 0 0 14px #0000000f;
  background-position: 20px center;
  background-repeat: no-repeat;
}

.main-order-form input[name='name'] {
  background-image: url('../images/offer__name_icon.png');
}

.main-order-form input[name='phone'] {
  background-image: url('../images/offer__phone_icon.png');
}

.footer {
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}
.footer p,
.footer a {
  color: var(--red-color);
}
.footer a {
  text-decoration-line: underline;
}
