.price__wrapper {
  display: flex;
  justify-content: space-between;
}

.price__item {
  padding: 40px 20px 40px 35px;
  border-radius: 10px;
  width: calc(50% - 15px);
}

@media (max-width: 1250px) {
  .price__item {
    max-width: 100%;
    width: 100%;
  }

  .price__wrapper {
    flex-direction: column;
  }
}

@media (max-width: 768px) {
  .price__item {
    padding: 30px 20px;
  }
}

.price__top {
  position: relative;
  padding: 15px 30px;
  border-radius: 5px;
  color: white;
  text-align: right;
  font-size: 20px;
  margin-bottom: 30px;
}

.price__top span {
  text-transform: uppercase;
}

.price__top::before {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  padding: 5px 30px;
  font-size: 26px;
  font-weight: bold;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
  height: calc(100% + 0px);
  line-height: calc(100% + 20px);
  letter-spacing: 0.05em;
}

.price__back {
  position: relative;
  font-size: 22px;
  line-height: 1em;
  font-weight: 600;
}

.price__inner {
  position: relative;
  padding-left: 25px;
}

.price__inner ul,
.price__inner span {
  margin: 15px 0;
  line-height: 1.7em;
  font-size: 18px;
  padding-left: 30px;
}

.price__inner span {
  display: block;
}

.price__inner::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 13px;
  width: 2px;
  height: calc(100% - 18px);
  z-index: 1;
}

.price__right .price__inner::before {
  left: 11px;
}

.price__inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.price__back::after {
  content: '';
  position: absolute;
  top: 10px;
  left: -15px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

@media (max-width: 980px) {
  .price__top {
    font-size: 18px;
    margin-bottom: 20px;
  }

  .price__back {
    font-size: 20px;
  }

  .price__top::before {
    font-size: 23px;
  }
}

@media (max-width: 768px) {
  .price__top {
    font-size: 16px;
    padding: 10px;
    line-height: 1em;
  }

  .price__back {
    font-size: 18px;
  }

  .price__top::before {
    font-size: 19px;
    padding: 0 15px;
  }

  .price__inner {
    padding-left: 15px;
  }

  .price__inner:before {
    left: 3px;
  }
  .price__right .price__inner::before {
  left: 1px;
}
  .price__inner::after {
    left: 0;
  }

  .price__inner ul,
  .price__inner span {
    font-size: 16px;
    padding-left: 20px;
  }
}

@media (max-width: 430px) {
  .price__top {
    font-size: 14px;
    right: -15px;
  }

  .price__top::before {
    left: -35px;
  }
}

.price__left.price__item {
  background-color: #e7f6f7;
}

.price__left .price__top {
  background-color: #2c5c81;
}

.price__left .price__top::before {
  content: '300 EUR';
}

.price__left .price__top::before {
  background-color: #4085ba;
}

.price__left .price__back {
  color: #4085ba;
}

.price__left .price__inner::before {
  border-left: 2px dashed #4085ba;
}

.price__left .price__inner::after {
  background-color: #4085ba;
}

.price__left .price__back::after {
  background-color: #4085ba;
}

.price__right.price__item {
  background-color: #e7f6f7;
}

.price__right .price__top {
  background-color: #27725d;
}

.price__right .price__top::before {
  content: '1000 EUR';
}

.price__right .price__top::before {
  background-color: #308D72;
}

.price__right .price__back {
  color: #308D72;
}

.price__right .price__inner::before {
  border-right: 2px dashed #308D72;
}

.price__right .price__inner::after {
  background-color: #308D72;
}

.price__right .price__back::after {
  background-color: #308D72;
}
