* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background-color: #fcfcfc;
  font-family: sans-serif, "Times New Roman", Times, serif;
}
img {
  max-width: 100%;
}
.price-modal {
  background-color: #fff;
  max-width: 527px;
  width: 95%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: 0.3s ease-in-out;
  padding: 23px;
  border-radius: 12px;
  z-index: 999;
  max-height: 596px;
  overflow: scroll;
  scrollbar-width: none;
}
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.price-modal-logo {
  width: 66px;
}
.close-price-modal {
  width: 24px;
  cursor: pointer;
}
.price-modal-heading {
  font-size: 0.9rem;
  font-weight: 600;
  margin: 15px 0;
}

.price-modal-overlay {
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  opacity: 0.3;
  z-index: 99;
}
.price-modal-txt {
  color: #656c73;
  font-size: 0.8rem;
  line-height: 1.4;
}
.price-modal-features {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  margin: 15px 0;
}

.price-modal-feature {
  max-width: 140px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 1px 1px 8px #d7d6d6;
}

.price-modal-feature p {
  font-size: 0.8rem;
  color: #656c73;
  text-align: center;
  padding: 8px 10px;
  line-height: 1.4;
}

.pm-updated-price {
  max-width: 307px;
}

.pm-updated-price-txt {
  width: 100%;
  background-color: #f4a832;
  padding: 4px 1rem;
  border-radius: 4px;
}
.pm-updated-price-txt p {
  font-weight: 600;
  font-size: 0.8rem;
}
.prices {
  display: flex;
  width: 100%;
  margin-top: 0.1rem;
  gap: 0.1rem;
}

.prices > .price {
  width: 100%;
  background-color: #a74920;
  border-radius: 4px;
  color: #fff;
  padding: 18px 1rem;
}

.prices > .price:nth-child(2) {
  padding: 8px 1rem;
}

.prices > .price h2 {
  font-size: 1.2rem;
  margin: 4px 0;
}

del {
  text-decoration-color: red;
}

.per-month {
  font-size: 14px;
}

.price-txt {
  font-size: 12px;
}

.got-it-btn {
  margin-top: 20px;
  display: flex;
  margin-left: auto;
  background-color: #F4A832;
  padding: 10px 18px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
}

@media screen and (max-width: 370px) {
  .price-modal-features {
    gap: 10px;
  }
}
@media screen and (max-width: 355px) {
  .price-modal-feature {
    max-width: 200px;
  }
}
