.price {
  padding-top: 4.8rem;
}

.price__inner {
  position: relative;
  padding-bottom: 5.6rem;
}

.price__title {
  font-size: 3.2rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: #080E15;
}

.price__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.price__filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  width: fit-content;
  background-color: #F5F5F5;
  padding: 0.6rem;
  border-radius: 0.8rem;
  margin-top: 1.6rem;
}

.price__filter-btn {
  justify-content: center;
  text-align: center;
  cursor: pointer;
  background: transparent;
  border-radius: 0.7rem;
  padding: 1rem 2.3rem;
}

.price__filter-btn.is-active {
  background: #0D253F;
  color: #ffffff;
}

.price__slider {
  position: relative;
  overflow: hidden;
  width: calc(100% + 3.2rem);
  margin: 2.4rem 0 0 -1.6rem;
  padding: 0 1.6rem;
}

.price__item {
  border-radius: 2.7rem;
  display: flex;
  flex-direction: column;
  width: 33.7rem;
  height: auto;
  background-color: #F2F5FC;
  padding: 1.6rem 3.2rem 3.2rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.price__item.is-hidden-slide {
  opacity: 0;
  visibility: hidden;
}

.price__item:hover {
  background-color: #0D253F;
  color: #ffffff;
}

.price__item:hover .price__item-header {
  background-color: #253B52;
}

.price__item:hover .price__item-time {
  background-color: #0D253F;
}

.price__item:hover .price__item-subtitle,
.price__item:hover .price__item-desc {
  color: rgba(255, 255, 255, 0.8);
}

.price__item:hover .price__item-button .btn {
  background-color: #ffffff;
  color: #080E15;
}

.price__item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 1.6rem;
  padding: 1.6rem;
  margin: 0 -1.6rem 3.2rem -1.6rem;
  background-color: #ffffff;
  transition: background-color 0.3s ease-in-out;
}

.price__item-cost {
  font-size: 2rem;
  transition: color 0.3s ease-in-out;
}

.price__item-time {
  border-radius: 0.6rem;
  background-color: #F2F5FC;
  padding: 0.6rem 0.8rem;
  transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.price__item-title {
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: color 0.3s ease-in-out;
}

.price__item-subtitle {
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: rgba(8, 14, 21, 0.8);
  margin-top: 0.8rem;
  transition: color 0.3s ease-in-out;
}

.price__item-desc {
  font-size: 1.6rem;
  line-height: 1.3;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: rgba(8, 14, 21, 0.8);
  margin-top: 2.4rem;
  margin-bottom: auto;
  transition: color 0.3s ease-in-out;
}

.price__item-button {
  margin-top: 6.7rem;
}

.price__item-button .btn {
  width: 100%;
}

.price__nav {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 2rem;
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.price__nav-btn {
  cursor: pointer;
  border-radius: 100%;
  width: 4.4rem;
  height: 4.4rem;
  background-color: #F5F5F5;
  color: #080E15;
}

.price__nav-btn svg {
  width: 2rem;
  height: 2rem;
}

.price__nav-btn:hover {
  background-color: #0D253F;
  color: #ffffff;
}

@media only screen and (min-width: 480px) {
  .price__item-button .btn {
    width: fit-content;
  }
}

@media only screen and (min-width: 600px) {
  .price__filter-btn {
    min-width: 16rem;
  }
}

@media only screen and (min-width: 768px) {
  .price {
    padding-top: 10rem;
  }

  .price__inner {
    padding-bottom: 0;
  }

  .price__title {
    font-size: 4.8rem;
  }

  .price__filter {
    margin-top: 2.4rem;
  }

  .price__filter-btn {
    min-width: 14.2rem;
  }

  .price__item {
    border-radius: 2.4rem;
  }

  .price__item {
    width: 39rem;
  }

  .price__item-cost {
    font-size: 2.4rem;
  }

  .price__nav {
    gap: 0.8rem;
    position: static;
    transform: none;
  }

  .price__nav-btn {
    width: 5.2rem;
    height: 5.2rem;
  }
}

@media only screen and (min-width: 1024px) {
  .price__slider {
    width: calc(100% + 8rem);
    margin: 3.2rem 0 0 -4rem;
    padding: 0 4rem;
  }
}

@media only screen and (min-width: 1440px) {
  .price__slider {
    width: 100%;
    margin: 3.2rem 0 0 0;
    padding: 0;
  }
}