* {
  padding: 0;
  margin: 0;
  border: 0
}

*,
:after,
:before {
  -webkit-box-sizing: border-box;
  box-sizing: border-box
}

:active,
:focus {
  outline: 0
}

a:active,
a:focus {
  outline: 0
}

aside,
footer,
header,
nav {
  display: block
}

body,
html {
  width: 100%;
  font-size: 16px;
  line-height: 1;
  scroll-behavior: smooth;
  scrollbar-gutter: stable
}

button,
input,
textarea {
  font-family: inherit
}

input::-ms-clear {
  display: none
}

input,
textarea {
  -moz-appearance: none;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0
}

input::-webkit-input-placeholder,
textarea::-webkit-input-placeholder {
  color: inherit
}

input::-moz-placeholder,
textarea::-moz-placeholder {
  color: inherit
}

input:-ms-input-placeholder,
textarea:-ms-input-placeholder {
  color: inherit
}

input::-ms-input-placeholder,
textarea::-ms-input-placeholder {
  color: inherit
}

input::placeholder,
textarea::placeholder {
  color: inherit
}

textarea {
  resize: none
}

button {
  cursor: pointer;
  background-color: transparent
}

button::-moz-focus-inner {
  padding: 0;
  border: 0
}

a {
  display: inline-block;
  color: inherit
}

a,
a:visited {
  text-decoration: none
}

a:hover {
  text-decoration: none
}

ul li {
  list-style: none
}

img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  -o-object-position: center;
  object-position: center;
  vertical-align: top
}

svg {
  display: block;
  width: 100%;
  height: 100%
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit
}

picture {
  display: block;
  width: 100%;
  height: 100%
}

input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0
}

input[type=number] {
  -moz-appearance: textfield
}

address {
  font-style: normal
}

strong {
  display: block
}

@font-face {
  font-family: PublicSans;
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url(../fonts/PublicSans-Light.woff2) format("woff2")
}

@font-face {
  font-family: PublicSans;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/PublicSans-Regular.woff2) format("woff2")
}

@font-face {
  font-family: PublicSans;
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/PublicSans-Medium.woff2) format("woff2")
}

@font-face {
  font-family: PublicSans;
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/PublicSans-SemiBold.woff2) format("woff2")
}

@font-face {
  font-family: PublicSans;
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/PublicSans-Bold.woff2) format("woff2")
}

:root {
  --font-main: "PublicSans", sans-serif;
  --container-width: 1170px;
  --container-step: 20px;
  --container-step-tablet: 15px;
  --container-step-mobile: 10px;
  --container: calc(var(--container-width) + (var(--container-step) * 2));
  --background-page: #FDF8F6;
  --background-inpit: #FFFDFD;
  --placeholder: #808080;
  --gray: #636363;
  --black-gray: #414141;
  --main: #000000;
  --black: #000000;
  --white: #ffffff;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--container-step)
}

.page {
  display: flex;
  flex-direction: column;
  font-family: var(--font-main);
  min-height: 100vh;
  overflow: hidden;
  color: var(--main);
  background-color: var(--background-page);
  overflow-x: hidden;
}

.main {
  -webkit-box-flex: 1;
  -ms-flex: 1 1 auto;
  flex: 1 1 auto
}

.header {
  background-color: #880a17;
  box-shadow: 0 4px 20px 0 rgba(176, 117, 112, 0.4);
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.color-red {
  color: #ef4444;
}

.tx-main {
  font-weight: 600;
  font-size: 16px;
  color: #000;
}

.input {
  background: #fffdfd;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  height: 50px;
  width: 100%;
  padding: 12px 15px;
  font-weight: 300;
  font-size: 14px;
  color: #000;
}

.input::placeholder {
  color: #808080;
}

.header__img {
  height: 25px;
}

.checkout {
  position: relative;
  margin-top: 27px;
}

.hero__img-left {
  width: 150px;
  height: 150px;
  position: absolute;
  left: -90px;
}

.hero__img-right {
  width: 125px;
  height: 270px;
  overflow: hidden;
  position: absolute;
  right: -105px;
  bottom: 10%;
}

.hero__img-right img {
  width: 270px;
  object-position: -350%;
}

.checkout__inner {
  background-color: #fff;
  border-radius: 36px;
  padding: 20px 30px;
}

.checkout__wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.checkout h2 {
  font-weight: 600;
  font-size: 24px;
  text-transform: uppercase;
}

.checkout__left {
  width: 100%;
}

.checkout__right {
  flex: 1 0 376px;
}

.checkout__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 40px;
  padding: 30px;
}

.checkout-form__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  width: 100%;
}

.checkout-form__label span {
  width: 100%;
}

.checkout-form__label .checkout-form__icon {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 9px;
  height: 5px;
  transform: translateY(-50%);
  z-index: 2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  cursor: pointer;
  pointer-events: none;
}

#checkout-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout-form__labels {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  width: 100%;
}

select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none
}

.checkout__info-secure {
  position: relative;
  padding-left: 32px;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #636363;
}

.checkout__info-secure::before {
  position: absolute;
  content: "";
  background-image: url(../images/icons/lock-icon.webp);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  width: 20px;
  height: 20px;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.divider {
  border-top: 1px solid #e5e7eb;
  height: 1px;
  width: 70%;
}

.checkout__info-delivery {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: 16px;
  line-height: 150%;
  color: #000;
}

.checkout__info-delivery-img {
  height: 40px;
  width: 40px;
}

.checkout__summary {
  padding: 30px;
}

.checkout__summary-wrapper {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout__summary-order {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.checkout__summary-order--img {
  width: 248px;
  height: 248px;
  flex: 1 0 248px;
}

.checkout__summary-order--text {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-weight: 600;
  font-size: 16px;
  color: #000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  padding-bottom: 7px;
}

.checkout__summary-order--info {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.checkout__summary-item.img {
  height: 78px;
}

.checkout__payment {
  padding: 30px;
  border-radius: 36px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checkout__payment-title {
  margin-bottom: 10px;
}

.checkout__payment-info p {
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #6e6e6e;
  margin-bottom: 10px;
}

.checkout__payment-info-img {
  height: 35px;
  margin-bottom: 10px;
}

.checkout-form__labels .checkout-form__label {
  width: calc(50% - 10px);

}

.checkout-form__labels p {
  font-weight: 300;
  font-size: 14px;
  color: #808080;
  margin-bottom: 10px;
  flex: 1 0 148px;
}

.tx-gray {
  font-weight: 400;
  font-size: 14px;
  text-align: center;
  color: #6e6e6e;
}

.wrapper-checkbox {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  position: relative
}

.wrapper-checkbox__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #666;
  border-radius: 5px;
  width: 28px;
  height: 28px;
  position: relative
}

.wrapper-checkbox__icon span {
  position: relative;
  display: none;
  width: 6px;
  height: 6px;
  -webkit-transform: rotate(-45deg) translate(1px, -2px);
  transform: rotate(-45deg) translate(1px, -2px)
}

.wrapper-checkbox__icon span::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 15px;
  height: 2px;
  background-color: #999397;
  z-index: 1
}

.wrapper-checkbox__icon span::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: -2px;
  width: 2px;
  height: 10px;
  background-color: #999397;
  z-index: 1
}

.wrapper-checkbox__checkbox {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  cursor: pointer
}

.wrapper-checkbox__checkbox:checked+.wrapper-checkbox__icon {
  background-color: var(--white)
}

.wrapper-checkbox__checkbox:checked+.wrapper-checkbox__icon span {
  display: block
}

.btn {
  border: 1px solid #c02718;
  border-radius: 26px;
  background: #c02718;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  white-space: nowrap;
  height: 50px;
  transition: opacity 0.2s ease-in;
}

.btn img {
  width: 20px;
  height: 20px;
}

.checkout__payment .divider {
  width: 100%;
}

.checkout__who {
  padding: 30px;
  padding-right: 27px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.checkout__who,
.checkout__who-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
}

.checkout__who-items {
  max-width: 500px;
  margin: 0 auto;
}

.checkout__who-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout__who-item--left {
  max-width: 77px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.checkout__who-item-img {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
}

.checkout__who-item p {
  font-weight: 600;
  font-size: 12px;
  text-align: center;
  color: #414141;
}

.checkout__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  max-width: 870px;
  margin: 10px auto 0;
}

.checkout__bottom-img {
  width: 90px;
  height: 90px;
}

.checkout__bottom-text {
  font-size: 12px;
  text-align: center;
  color: #6e6e6e;
}

.featured-title {
  font-weight: 600;
  font-size: 48px;
  text-align: center;
  color: #000;
  margin-top: 20px;
  margin-bottom: 40px;
}

.featured {
  margin-bottom: 80px;
}

.featured-items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
}

.featured-items .item-1 {
  max-width: 260px;
  max-height: 40px;
}

.featured-items .item-2 {
  max-width: 127px;
  max-height: 60px;
}

.featured-items .item-3 {
  max-width: 137px;
  max-height: 40px;
}

.featured-items .item-4 {
  max-width: 149px;
  max-height: 40px;
}

.featured-items .item-5 {
  max-width: 189px;
  max-height: 60px;
}

.reviews__title {
  font-weight: 600;
  font-size: 48px;
  text-align: center;
}

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
  margin-bottom: 25px;
}

.review {
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  padding: 20px;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.rating--review {
  align-items: start;
}

.rating--review .rating__stars {
  width: 104px
}

.review__title {
  font-weight: 700;
  font-size: 20px;
}

.review__text {
  font-weight: 400;
  font-size: 14px;
  color: #6e6e6e;
}

.review__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review__footer {
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #e5e7eb;
  margin-top: auto;
}

.author__name {
  margin-bottom: 4px;
  font-weight: 700;
  font-size: 16px;
  color: #000
}

.author__wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
  font-size: 12px;
  color: #727272
}

.author__wrap img {
  width: 20px;
  height: 20px;
}

.verif {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 14px;
  color: #1ebf8d;
  gap: 6px
}

.verif svg {
  width: 20px;
  height: 20px;
}

.reviews__score-img {
  width: 202px;
  height: 40px;
  margin: 20px auto 8px;
}

.reviews__score-text {
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  color: #6e6e6e;
}

.reviews__score-text span {
  font-weight: 700;
}

.footer {
  background: #880a17;
}

.footer__wrapper {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer__links {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
  border-bottom: 1px solid #fff;
  white-space: nowrap;
}

.footer__copyright {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: #fff;
}

.footer__img {
  max-width: 198px;
  max-height: 25px;
}

@media (any-hover:hover) {
  .btn:hover {
    opacity: 0.7;
  }
}

@media (max-width:1400px) {
  .hero__img-right {
    display: none;
  }

  .hero__img-left {
    left: -25px;
    top: -90px;
  }
}

@media (max-width:1023px) {
  .checkout__right {
    width: 100%;
  }

  .checkout__wrapper {
    flex-direction: column;
  }

  .reviews__grid {
    grid-template-columns: 1fr 1fr;
  }

  .checkout__summary-title,
  .checkout__who-title {
    text-align: center;
  }

  .footer__links,
  .footer__copyright {
    font-size: 14px;
  }

  .featured-title,
  .reviews__title {
    font-size: 36px;
  }

  .divider {
    width: 100%;
  }
}

@media (max-width:767px) {
  .checkout .checkout__info--title {
    text-transform: capitalize;
  }

  .checkout .checkout__payment-title {
    font-size: 20px;
  }

  .checkout__summary-order {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .checkout__inner {
    padding: 20px 12px;
  }

  .checkout__summary,
  .checkout__info,
  .checkout__payment,
  .checkout__who {
    padding: 30px 15px;
  }

  .featured-title,
  .reviews__title {
    font-size: 24px;
  }

  .container {
    padding: 0 var(--container-step-mobile);
  }

  .checkout.container {
    padding: 0;
  }

  .reviews__grid {
    grid-template-columns: 1fr;
  }

  .featured-items {
    gap: 10px;
  }

  .featured-items .item-1 {
    max-width: 163px;
    max-height: 25px;
  }

  .featured-items .item-2 {
    max-width: 85px;
    max-height: 40px;
  }

  .featured-items .item-3 {
    max-width: 103px;
    max-height: 30px;
  }

  .featured-items .item-4 {
    max-width: 100px;
    max-height: 20px;
  }

  .featured-items .item-5 {
    max-width: 94px;
    max-height: 30px;
  }

  .footer__wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "c c"
      "a b"
      "d d";
    height: auto;
    margin-top: 24px;
    margin-bottom: 20px;
  }

  .footer__links {
    text-align: center;
    border: none;
  }

  .footer__img {
    width: 100%;
    grid-area: c;
    grid-column: 1 / -1;
    justify-self: center;
  }

  .footer__copyright {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .checkout__info-secure,
  .checkout__info-delivery,
  .tx-gray {
    font-size: 12px;
  }
}

.pop-up {
    position: fixed;
    padding: 143px 20px 20px 20px;
    top: 0;
    left: 0;
    width: -webkit-fill-available;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    z-index: 1000;
    overflow-y: auto;
    display: none;
    -webkit-transition: opacity .2s ease-in-out;
    transition: opacity .2s ease-in-out
}

.pop-up.click-active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex
}

.pop-up-card {
    position: relative;
    padding: 30px 20px;
    margin: 0 auto;
    max-width: 453px;
    min-height: 166px;
    height: fit-content;
    width: 100%;
    display: flex;
    gap: 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f7f7f7;
    z-index: 3
}

@media (max-width:600px) {
    .pop-up-card {
        padding: 20px 20px
    }
}

.pop-up-close {
    position: absolute;
    width: 24px;
    height: 24px;
    right: 16px;
    top: 16px;
    z-index: 2;
    cursor: pointer
}

.pop-up-close::after {
    position: relative;
    display: block;
    content: "";
    background-color: #000000;
    width: 100%;
    height: 1px;
    left: 0;
    top: 3px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg)
}

.pop-up-close::before {
    position: relative;
    display: block;
    content: "";
    background-color: #000000;
    width: 100%;
    height: 1px;
    top: 4px;
    right: 0;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg)
}

.pop-up-exit {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0
}