.ps-price-history {
  margin-top: 1.25rem;
  padding: 1.25rem;
  border: 1px solid #edf0e6;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdf7 100%);
  box-shadow: 0 10px 30px rgba(53, 66, 38, .08);
  color: #263238;
}

.ps-price-history--move {
  display: none;
}

.ps-price-history__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.ps-price-history__title {
  margin: 0;
  color: #263238;
  font-size: 1.125rem;
  font-weight: 700;
}

.ps-price-history__subtitle {
  margin: .25rem 0 0;
  color: #6b7280;
  font-size: .875rem;
}

.ps-price-history__current {
  min-width: 132px;
  padding: .75rem .875rem;
  border-radius: 12px;
  background: #f4faeb;
  text-align: right;
}

.ps-price-history__current span {
  display: block;
  color: #6b7280;
  font-size: .75rem;
  line-height: 1.2;
}

.ps-price-history__current strong {
  display: block;
  margin-top: .25rem;
  color: #f18700;
  font-size: 1.15rem;
  line-height: 1.1;
}

.ps-price-history__chart {
  position: relative;
  min-height: 220px;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.ps-price-history__svg {
  display: block;
  width: 100%;
  height: 242px;
}

.ps-price-history__grid {
  stroke: #e8efdc;
  stroke-width: 1;
}

.ps-price-history__axis {
  stroke: #dfe7d1;
  stroke-width: 1.5;
}

.ps-price-history__area {
  fill: url(#ps-price-history-fill);
}

.ps-price-history__line {
  fill: none;
  stroke: #89c540;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 5;
}

.ps-price-history__line--single {
  stroke-dasharray: 10 9;
}

.ps-price-history__dot {
  fill: #fff;
  stroke: #89c540;
  stroke-width: 4;
}

.ps-price-history__scale {
  position: absolute;
  left: 0;
  color: #6b7280;
  font-size: .8125rem;
  line-height: 1;
  pointer-events: none;
}

.ps-price-history__scale--max {
  top: 12px;
}

.ps-price-history__scale--min {
  bottom: 36px;
}

.ps-price-history__dates {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .75rem;
  color: #6b7280;
  font-size: .8125rem;
}

@media (max-width: 576px) {
  .ps-price-history {
    padding: 1rem;
    border-radius: 12px;
  }

  .ps-price-history__header {
    display: block;
  }

  .ps-price-history__current {
    margin-top: .75rem;
    text-align: left;
  }

  .ps-price-history__chart {
    min-height: 190px;
  }

  .ps-price-history__svg {
    height: 205px;
  }

  .ps-price-history__scale,
  .ps-price-history__dates {
    font-size: .75rem;
  }

  .ps-price-history__dates {
    display: block;
  }

  .ps-price-history__dates span {
    display: block;
  }

  .ps-price-history__dates span + span {
    margin-top: .25rem;
  }
}
