/**
 * @file
 * Price table component.
 */

.price-table {
  overflow-x: auto;
  align-self: start;
  border: 1px solid var(--jh-border);
  border-radius: var(--jh-radius-card);
  background: var(--jh-white);
  box-shadow: var(--jh-shadow-card);
}

.price-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.price-table th,
.price-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--jh-rule);
  text-align: left;
  vertical-align: top;
}

.price-table tbody tr:last-child td {
  border-bottom: 0;
}

.price-table th {
  color: var(--jh-muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.price-table .price-table__price {
  text-align: right;
  white-space: nowrap;
}

.price-table__description {
  display: block;
  color: var(--jh-muted);
  font-size: 0.875rem;
}

@media (max-width: 820px) {
  .price-table th,
  .price-table td {
    padding: 0.625rem 0.5rem;
  }
}
