@media only screen and (max-width: 942px) {
  .small-only-2 {
    display: inline-block !important;
  }

  .not-on-small-2 {
    display: none !important;
  }
}

@media only screen and (max-width: 907px) {
  .padding-on-small {
    display: inline-block !important;
    padding-left: 4px !important;
  }

  .not-on-small-1 {
    display: none !important;
  }
}

@media only screen and (max-width: 686px) {
  .small-only-3 {
    display: inline-block !important;
  }

  .not-on-small-3 {
    display: none !important;
  }
}

@media only screen and (max-device-width: 480px) {
  .padding-on-small {
    padding-left: 5px !important;
  }

  /* Make the “table” real */
  plan-table {
    display: table;
    border-collapse: separate;
    width: auto;
    min-width: unset;
  }

  plan-body {
    display: table-row-group;
    background: var(--soft-bg);
  }

  plan-row {
    display: table-row;
  }

  col-title {
    padding: 16px 16px !important;
  }

  /* Each cell becomes a table cell → columns align and size to max content */
  col-title,
  elements,
  monthly-price,
  recommended-users,
  loc-estimate,
  actions {
    display: table-cell;
    padding: 8px 16px;
    white-space: nowrap;
    vertical-align: start;
  }

  elements,
  monthly-price,
  recommended-users,
  loc-estimate {
    font-size: 16px;
  }

  actions {
    width: 1%;
  }

  plan-row.head {
    position: static;
    background-color: transparent !important;
  }

  .not-on-small {
    display: none;
  }

  a.plan-btn {
    font-size: 14px;
    font-weight: normal;
    height: 40px;
    width: 100%;
    display: flex;
    align-items: center;
    padding-inline: 16px;
  }
}