@media print {
  h1 {
    text-align: center;
    margin: 1rem;
  }

  .pricing-table-section {
    max-width: 75rem; /* 1200px */
    margin: 0 auto;
    padding: 1rem;
  }

  .table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* smooth scrolling on iOS */
  }

  .pricing-table {
    width: 100%;
    min-width: 20rem; /* 320px */
    border-collapse: collapse;
    margin: 0 auto;
    text-align: center;
    background-color: var(--secondary-color);
    border-radius: 0.5rem; /* 8px */
    overflow: hidden;
  }

  .pricing-table thead {
    background-color: #273549;
  }

  .pricing-table th,
  .pricing-table td {
    padding: 1rem;
    border: 0.0625rem solid #334155; /* 1px */
  }

  .pricing-table th {
    color: var(--text-color);
    font-weight: bold;
  }

  .pricing-table td:first-child {
    text-align: left;
    color: var(--muted-text-color);
  }

  .checkmark {
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
  }

  .pricing-cards-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin: 2rem auto;
    margin-bottom: 0;
    padding: 1rem;
    background-color: var(--primary-color);
  }

  .pricing-card {
    background-color: var(--secondary-color);
    border: 0.0625rem solid #334155; /* 1px */
    border-radius: 0.5rem; /* 8px */
    width: 100%;
    max-width: 18.75rem; /* 300px */
    padding: 2rem 1.5rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    page-break-inside: avoid;
    break-inside: avoid;
    height: 18.75rem;
    margin-bottom: 1rem;
  }

  .pricing-card h2 {
    margin-top: 0;
  }

  .pricing-card img {
    margin: 0 auto;
    border-radius: 0.25rem; /* 4px */
    width: 100%;
    height: 100%;
  }

  .cta-btn {
    background-color: var(--accent-color);
    color: #000;
    padding: 0.75rem 1.5rem;
    border: none;
    font-size: 1rem;
    border-radius: 0.25rem; /* 4px */
    cursor: pointer;
    transition: opacity 0.3s ease;
  }

  .cta-btn:hover {
    opacity: 0.8;
  }

  @media (max-width: 48rem) {
    /* 768px */
    .pricing-table td:first-child {
      text-align: center;
    }

    .pricing-cards-section {
      flex-direction: column;
      align-items: center;
      width: 100%;
    }

    .pricing-card {
      max-width: 31.25rem; /* 500px */
      width: 100%;
    }
  }
}
