:root {
  --first-font: Arial, 'Helvetica Neue', sans-serif;
  --second-font: Arial, 'Helvetica Neue', sans-serif;

  --accent-color: linear-gradient(348deg, #000000d9, #3c8acd);
  --light-color: #ffffff;
  --text-color: #333;
  --subtitle-color: #ffd800;
  --red-color: #ee3737;
  --form-bg-color: linear-gradient(325deg, #55555529, #00000012);

  --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;
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  overflow-x: hidden;
  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 {
  width: 100%;
  max-width: 480px;
  background: var(--light-color);
  overflow: hidden;
}

section h2 {
  font-family: var(--first-font);
  font-weight: 700;
  font-size: 20px;
  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;
}

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

.offer {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 460px;
}

.offer img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.offer-price {
  display: flex;
  align-items: flex-end;
}

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

.offer-price__old span {
  font-size: 14px;
  line-height: 14px;
  color: rgba(32, 32, 32, 0.5);
}

.offer-price__old p {
  font-weight: 700;
  font-size: 32px;
  text-decoration: line-through;
  color: rgba(32, 32, 32, 0.5);
}

.offer-price__new span {
  padding: 6px 14px 4px;
  border-radius: 4px;
  background: var(--red-color);
  color: var(--light-color);
  font-weight: 400;
  line-height: 12px;
}

.offer-price__new p {
  font-weight: 700;
  font-size: 42px;
  color: var(--text-color);
}

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

.btn {
    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 80px;
    padding: 15px 20px;

    font-family: var(--first-font);
    font-weight: 700;
    font-size: clamp(18px, 4vw, 24px);
    line-height: 1.2;
    letter-spacing: 1px;

    text-align: center;
    cursor: pointer;
    border-radius: var(--btn-radius);

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

    text-transform: uppercase;
    box-shadow: 0px 0px 10px rgb(0 0 0 / 43%);
}

.order-date {
  text-align: center;
}

.date {
  font-family: var(--second-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #333;
}

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

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

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

.description ul li img {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

.description ul li p {
  padding: 0 30px;
  font-size: 20px;
  text-align: center;
}

.characteristic {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.characteristic img {
  margin: 0 20px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

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

.characteristic ul li {
  padding-left: 30px;
  background-repeat: no-repeat;
  background-position: left 5px;
  background-image: url('../images/tick.svg');
}

.reviews {
  margin: 0 10px;
  padding: 30px 10px;
  width: 100%;
  max-width: 460px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  border-radius: var(--border-radius);
  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 {
  --review-gap: 18px;
  position: relative;
  width: 100%;
  padding: 0 42px 28px;
  box-sizing: border-box;
}

.reviews-slider__viewport {
  width: 100%;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: #fff;
}

.reviews-slider__track {
  display: flex;
  align-items: flex-start;
  gap: var(--review-gap);
  width: 100%;
  transition: transform 0.35s ease;
  will-change: transform;
}

.reviews-slider__slide {
  display: block;
  flex: 0 0 100%;
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  object-fit: contain;
  background: #fff;
}

.reviews-slider__btn {
  position: absolute;
  top: 45%;
  z-index: 2;
  width: 34px;
  height: 50px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #222;
  font-size: 36px;
  line-height: 46px;
  cursor: pointer;
}

.reviews-slider__btn--prev {
  left: 0;
}

.reviews-slider__btn--next {
  right: 0;
}

.reviews-slider__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.reviews-slider__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.reviews-slider__dot.is-active {
  background: #fff;
}

.delivery {
  width: 100%;
}

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

.delivery ul li {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--accent-color);
  border-radius: var(--border-radius);
}

.delivery ul li:nth-child(even) {
  flex-direction: row-reverse;
}

.delivery ul li img {
  border-radius: 0 20px 20px 0;
  height: 100px;
}

.delivery ul li:nth-child(even) img {
  border-radius: 20px 0 0 20px;
}

.delivery-text {
  max-width: 160px;
  margin: 12px 20px;
  color: var(--light-color);
}

.delivery-text h3 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: 18px;
}

.delivery-text p {
  font-weight: 400;
  font-size: 14px;
  line-height: 16px;
}

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

    display: flex;
    flex-direction: column;
    gap: 20px;

    border-radius: var(--border-radius);
    background: var(--form-bg-color);

    box-sizing: border-box;
    overflow: hidden;
}

.main-order-form button {
    width: 100%;
    height: 66px;
    min-height: unset;

    margin: 0;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 25px;

    position: static;
    transform: none;
    line-height: 1;
}

.main-order-form input {
  padding: 0 20px 0 80px;
  width: 100%;
  height: 66px;
  border: 1px solid #e6e6e6;
  border-radius: 25px;
  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 select {
    padding: 0 20px;
    width: 100%;
    height: 66px;

    border: 1px solid #e6e6e6;
    border-radius: 25px;

    background-color: var(--light-color);
    box-shadow: 0 0 14px #0000000f;

    font-weight: 400;
    font-size: 16px;
    color: var(--text-color);

    text-align: center;
    text-align-last: center;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    outline: none;
    cursor: pointer;
}

/* Убирает стрелку в IE */
.main-order-form select::-ms-expand {
    display: none;
}

.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;
}

@media (max-width: 390px) {
  .btn {
    font-size: 20px;
    letter-spacing: 1px;
  }

  .main-order-form {
    padding: 20px 12px;
  }

  .reviews-rating__stars {
    flex-wrap: wrap;
    justify-content: center;
  }
}

.wrapper,
main,
footer,
section,
.offer,
.main-order-form {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
}

.offer {
  max-width: 100%;
  padding-left: 10px;
  padding-right: 10px;
}

.main-order-form {
  width: calc(100% - 20px);
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
  padding: 24px 14px;
  overflow: visible;
}

.main-order-form input,
.main-order-form select,
.main-order-form button,
.main-order-form .btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.main-order-form button {
  padding-left: 10px;
  padding-right: 10px;
  font-size: clamp(18px, 5vw, 24px);
}

@media (max-width: 390px) {
  .main-order-form {
    width: calc(100% - 16px);
    padding: 20px 10px;
  }

  .main-order-form input {
    padding-left: 60px;
    padding-right: 12px;
    background-position: 16px center;
  }

  .main-order-form select {
    padding-left: 10px;
    padding-right: 10px;
  }
}